Pull request #371 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0fa255ea661a9aca33b5441a86ea33af4c6c6b88+96614595ba73594199dee70385f2da41578defd7 (12829e1a59d398145eb915969dd64ea0f344cda3) 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-ssh13298556511622988942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh127326683182419056.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-371/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-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7366566485291252882.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-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7004307273023617543.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16161997906214780600.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-371/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-371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3275303148895516515.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24101 in /w/workspace/gexfoundry_device-rest-go_PR-371 [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-371 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96614595ba73594199dee70385f2da41578defd7 into PR head commit 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 Merge succeeded, producing 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 Checking out Revision 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 (PR-371) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 # 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 96614595ba73594199dee70385f2da41578defd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:13 ========================================================= 20:29:13 EdgeX Global Pipelines Version Info 20:29:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:29:14 ------------------- 20:29:14 stable info: 20:29:14 ------------------- 20:29:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:14 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:29:14 Message: update stable to v1.0.258 20:29:15 ------------------- 20:29:15 experimental info: 20:29:15 ------------------- 20:29:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:29:15 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:29:15 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-371 [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-371 [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-371 [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fa255e [Pipeline] echo 20:29:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:17 provisioning config files... 20:29:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/config1973676859580259284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:18 ---> ****-login.sh 20:29:18 nexus3.edgexfoundry.org:10001 20:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:18 Configure a credential helper to remove this warning. See 20:29:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:18 20:29:18 Login Succeeded 20:29:18 nexus3.edgexfoundry.org:10002 20:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:18 Configure a credential helper to remove this warning. See 20:29:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:18 20:29:18 Login Succeeded 20:29:18 nexus3.edgexfoundry.org:10003 20:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:19 Configure a credential helper to remove this warning. See 20:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:19 20:29:19 Login Succeeded 20:29:19 nexus3.edgexfoundry.org:10004 20:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:19 Configure a credential helper to remove this warning. See 20:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:19 20:29:19 Login Succeeded 20:29:19 ****.io 20:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:19 Configure a credential helper to remove this warning. See 20:29:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:19 20:29:19 Login Succeeded 20:29:19 ---> ****-login.sh ends [Pipeline] } 20:29:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:29:20 + git rev-list -1 --merges 0fa255ea661a9aca33b5441a86ea33af4c6c6b88~1..0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [Pipeline] echo 20:29:20 -----------> git rev-list -1 --merges 0fa255ea661a9aca33b5441a86ea33af4c6c6b88~1..0fa255ea661a9aca33b5441a86ea33af4c6c6b88 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [false] [Pipeline] sh 20:29:20 + git log --format=format:%s -1 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [Pipeline] echo 20:29:20 ========================================================= 20:29:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:21 + git log --format=format:%s -1 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [Pipeline] echo 20:29:21 [semverPrep] GIT_COMMIT: 0fa255ea661a9aca33b5441a86ea33af4c6c6b88, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:29:21 [semverPrep] This is not a build commit. [Pipeline] sh 20:29:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:29:21 + grep -v github /etc/ssh/ssh_known_hosts 20:29:21 + [ -e /tmp/ssh_known_hosts ] 20:29:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:29:21 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:22 20:29:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:22 0.1.4: Pulling from edgex-devops/py-git-semver 20:29:22 b85a868b505f: Pulling fs layer 20:29:22 e2be974225ed: Pulling fs layer 20:29:22 339a4e72a1f5: Pulling fs layer 20:29:22 988bab9f4d93: Pulling fs layer 20:29:22 1469e6f7b9e6: Pulling fs layer 20:29:22 eaf3925da568: Pulling fs layer 20:29:22 bab4dde63d76: Pulling fs layer 20:29:22 bde34c3a00c8: Pulling fs layer 20:29:22 b352a97aabf1: Pulling fs layer 20:29:22 4872d77fe225: Pulling fs layer 20:29:22 5851b861e8e6: Pulling fs layer 20:29:22 b352a97aabf1: Waiting 20:29:22 4872d77fe225: Waiting 20:29:22 bab4dde63d76: Waiting 20:29:22 bde34c3a00c8: Waiting 20:29:22 5851b861e8e6: Waiting 20:29:22 988bab9f4d93: Waiting 20:29:22 1469e6f7b9e6: Waiting 20:29:22 eaf3925da568: Waiting 20:29:22 e2be974225ed: Verifying Checksum 20:29:22 e2be974225ed: Download complete 20:29:22 988bab9f4d93: Verifying Checksum 20:29:22 988bab9f4d93: Download complete 20:29:22 1469e6f7b9e6: Verifying Checksum 20:29:22 1469e6f7b9e6: Download complete 20:29:22 eaf3925da568: Verifying Checksum 20:29:22 eaf3925da568: Download complete 20:29:22 339a4e72a1f5: Verifying Checksum 20:29:22 339a4e72a1f5: Download complete 20:29:22 bde34c3a00c8: Verifying Checksum 20:29:22 bde34c3a00c8: Download complete 20:29:22 4872d77fe225: Verifying Checksum 20:29:22 4872d77fe225: Download complete 20:29:22 5851b861e8e6: Verifying Checksum 20:29:22 b85a868b505f: Verifying Checksum 20:29:22 b85a868b505f: Download complete 20:29:23 bab4dde63d76: Verifying Checksum 20:29:23 bab4dde63d76: Download complete 20:29:24 b85a868b505f: Pull complete 20:29:24 e2be974225ed: Pull complete 20:29:24 339a4e72a1f5: Pull complete 20:29:24 988bab9f4d93: Pull complete 20:29:25 1469e6f7b9e6: Pull complete 20:29:25 eaf3925da568: Pull complete 20:29:27 bab4dde63d76: Pull complete 20:29:27 bde34c3a00c8: Pull complete 20:29:27 b352a97aabf1: Pull complete 20:29:27 4872d77fe225: Pull complete 20:29:27 5851b861e8e6: Pull complete 20:29:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:27 prd-ubuntu20.04-docker-8c-8g-24101 does not seem to be running inside a container 20:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-371 -v /w/workspace/gexfoundry_device-rest-go_PR-371:/w/workspace/gexfoundry_device-rest-go_PR-371:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-371@tmp:/w/workspace/gexfoundry_device-rest-go_PR-371@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:29:31 $ docker top be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 -eo pid,comm 20:29:31 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:29:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:31 [ssh-agent] Looking for ssh-agent implementation... 20:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:31 $ docker exec be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 ssh-agent 20:29:31 SSH_AUTH_SOCK=/tmp/ssh-Ku9N0bRtSfGD/agent.31 20:29:31 SSH_AGENT_PID=37 20:29:31 Running ssh-add (command line suppressed) 20:29:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-371@tmp/private_key_2887654946462033273.key (/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/private_key_2887654946462033273.key) 20:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:31 + git tag --points-at HEAD [Pipeline] } 20:29:31 $ docker exec --env ******** --env ******** be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 ssh-agent -k 20:29:32 unset SSH_AUTH_SOCK; 20:29:32 unset SSH_AGENT_PID; 20:29:32 echo Agent pid 37 killed; 20:29:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:32 [ssh-agent] Looking for ssh-agent implementation... 20:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:32 $ docker exec be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 ssh-agent 20:29:32 SSH_AUTH_SOCK=/tmp/ssh-2UHE471zmfyy/agent.69 20:29:32 SSH_AGENT_PID=75 20:29:32 Running ssh-add (command line suppressed) 20:29:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-371@tmp/private_key_627235373991781674.key (/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/private_key_627235373991781674.key) 20:29:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:32 + git semver init 20:29:33 2023-12-05 20:29:33,086 [run_init] DEBUG init version:0.0.0 force:False 20:29:33 2023-12-05 20:29:33,087 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-371/.semver 20:29:33 2023-12-05 20:29:33,087 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-371/.semver 20:29:33 2023-12-05 20:29:33,088 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-371/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-371, universal_newlines=False, shell=None, istream=None) 20:29:35 2023-12-05 20:29:34,631 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-371/.git/info/exclude 20:29:35 2023-12-05 20:29:34,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-371/.semver/PR-371 with force:False 20:29:35 2023-12-05 20:29:34,632 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-371/.semver/PR-371 20:29:35 2023-12-05 20:29:34,635 [execute] INFO git cat-file --batch-check 20:29:35 2023-12-05 20:29:34,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-371/.semver, universal_newlines=False, shell=None, istream=) 20:29:35 2023-12-05 20:29:34,641 [execute] INFO git cat-file --batch 20:29:35 2023-12-05 20:29:34,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-371/.semver, universal_newlines=False, shell=None, istream=) 20:29:35 2023-12-05 20:29:34,647 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-371/.semver/PR-371 20:29:35 0.0.0 [Pipeline] } 20:29:35 $ docker exec --env ******** --env ******** be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 ssh-agent -k 20:29:35 unset SSH_AUTH_SOCK; 20:29:35 unset SSH_AGENT_PID; 20:29:35 echo Agent pid 75 killed; 20:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:35 + git semver [Pipeline] } 20:29:36 $ docker stop --time=1 be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 20:29:37 $ docker rm -f --volumes be5347c820207097faac24a0acdd909928de7b65fa40816721a1c44e72415071 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:38 Stashed 1 file(s) [Pipeline] echo 20:29:38 [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:29:39 provisioning config files... 20:29:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/config2280629684217906356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:39 ---> ****-login.sh 20:29:39 nexus3.edgexfoundry.org:10001 20:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:39 Configure a credential helper to remove this warning. See 20:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:39 20:29:39 Login Succeeded 20:29:39 nexus3.edgexfoundry.org:10002 20:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:39 Configure a credential helper to remove this warning. See 20:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:39 20:29:39 Login Succeeded 20:29:39 nexus3.edgexfoundry.org:10003 20:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:39 Configure a credential helper to remove this warning. See 20:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:39 20:29:39 Login Succeeded 20:29:39 nexus3.edgexfoundry.org:10004 20:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:39 Configure a credential helper to remove this warning. See 20:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:39 20:29:39 Login Succeeded 20:29:39 ****.io 20:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:40 Configure a credential helper to remove this warning. See 20:29:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:40 20:29:40 Login Succeeded 20:29:40 ---> ****-login.sh ends [Pipeline] } 20:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:40 ========================================================= 20:29:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:29:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29: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:29:41 Sending build context to Docker daemon 16.35MB 20:29:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:29:41 Step 2/12 : FROM ${BASE} AS builder 20:29:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:41 7264a8db6415: Pulling fs layer 20:29:41 c4d48a809fc2: Pulling fs layer 20:29:41 4f1c88b9dad5: Pulling fs layer 20:29:41 ad3a456e5733: Pulling fs layer 20:29:41 69c7f0334f64: Pulling fs layer 20:29:41 ad3a456e5733: Waiting 20:29:41 69c7f0334f64: Waiting 20:29:41 1f1c1a5573a3: Pulling fs layer 20:29:41 1f1c1a5573a3: Waiting 20:29:41 ce7588e14bc9: Pulling fs layer 20:29:41 b5e4710f87ac: Pulling fs layer 20:29:41 ce7588e14bc9: Waiting 20:29:41 c4d48a809fc2: Download complete 20:29:41 ad3a456e5733: Download complete 20:29:41 69c7f0334f64: Verifying Checksum 20:29:41 69c7f0334f64: Download complete 20:29:41 7264a8db6415: Verifying Checksum 20:29:41 7264a8db6415: Download complete 20:29:41 1f1c1a5573a3: Verifying Checksum 20:29:41 1f1c1a5573a3: Download complete 20:29:41 7264a8db6415: Pull complete 20:29:41 b5e4710f87ac: Verifying Checksum 20:29:41 b5e4710f87ac: Download complete 20:29:41 c4d48a809fc2: Pull complete 20:29:41 4f1c88b9dad5: Download complete 20:29:42 ce7588e14bc9: Verifying Checksum 20:29:42 ce7588e14bc9: Download complete 20:29:45 4f1c88b9dad5: Pull complete 20:29:45 ad3a456e5733: Pull complete 20:29:45 69c7f0334f64: Pull complete 20:29:45 1f1c1a5573a3: Pull complete 20:29:48 ce7588e14bc9: Pull complete 20:29:48 b5e4710f87ac: Pull complete 20:29:48 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:29:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:48 ---> 88b5674ff536 20:29:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:29:53 Still waiting to schedule task 20:29:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:29:55 ---> Running in 5bb381f23341 20:29:55 Removing intermediate container 5bb381f23341 20:29:55 ---> 357728d933ab 20:29:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:55 ---> Running in 140bda565107 20:29:55 Removing intermediate container 140bda565107 20:29:55 ---> 2c4f2fb2174d 20:29:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:55 ---> Running in 0460b69c67c4 20:29:55 Removing intermediate container 0460b69c67c4 20:29:55 ---> a43f35a5c7b4 20:29:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:29:55 ---> Running in 7098554e7a15 20:29:55 Removing intermediate container 7098554e7a15 20:29:55 ---> 02ff28fa077b 20:29:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:55 ---> Running in 207c81c08dea 20:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:56 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:29:56 (2/4) Installing libedit (20221030.3.1-r1) 20:29:56 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:29:56 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:29:56 Executing busybox-1.36.1-r5.trigger 20:29:56 OK: 268 MiB in 56 packages 20:29:57 Removing intermediate container 207c81c08dea 20:29:57 ---> 149dbb4da614 20:29:57 Step 8/12 : WORKDIR /device-rest-go 20:29:57 ---> Running in 01a856be4e7a 20:29:57 Removing intermediate container 01a856be4e7a 20:29:57 ---> d3dfd5b9e137 20:29:57 Step 9/12 : COPY go.mod vendor* ./ 20:29:57 ---> 86f20b9c8dae 20:29:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:57 ---> Running in 32a009d8f323 20:30:36 Removing intermediate container 32a009d8f323 20:30:36 ---> 2c0d83f949eb 20:30:36 Step 11/12 : COPY . . 20:30:37 ---> 9cc3aac528a3 20:30:37 Step 12/12 : RUN $MAKE 20:30:37 ---> Running in 9cfe52c689c0 20:30:37 noop 20:30:37 Removing intermediate container 9cfe52c689c0 20:30:37 ---> 63cae2124c60 20:30:37 Successfully built 63cae2124c60 20:30:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:38 + docker inspect -f . ci-base-image-x86_64 20:30:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:38 prd-ubuntu20.04-docker-8c-8g-24101 does not seem to be running inside a container 20:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-371 -v /w/workspace/gexfoundry_device-rest-go_PR-371:/w/workspace/gexfoundry_device-rest-go_PR-371:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-371@tmp:/w/workspace/gexfoundry_device-rest-go_PR-371@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:30:38 $ docker top ceb51c142e2818b54b758a348bd3b296ecaf1c57265c9532fc0799f176db7700 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:39 + go version 20:30:39 go version go1.21.0 linux/amd64 [Pipeline] } 20:30:39 $ docker stop --time=1 ceb51c142e2818b54b758a348bd3b296ecaf1c57265c9532fc0799f176db7700 20:30:40 $ docker rm -f --volumes ceb51c142e2818b54b758a348bd3b296ecaf1c57265c9532fc0799f176db7700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:41 + docker inspect -f . ci-base-image-x86_64 20:30:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:41 prd-ubuntu20.04-docker-8c-8g-24101 does not seem to be running inside a container 20:30:41 $ 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-371 -v /w/workspace/gexfoundry_device-rest-go_PR-371:/w/workspace/gexfoundry_device-rest-go_PR-371:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-371@tmp:/w/workspace/gexfoundry_device-rest-go_PR-371@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:30:42 $ docker top dbde5f46152b675f8e1b328380df79b249f381725bd6517ec9dadf49cb420574 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-371 [Pipeline] fileExists [Pipeline] sh 20:30:43 + make test 20:30:43 go test ./... -coverprofile=coverage.out ./... 20:30:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:30:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:30:54 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 20:31:01 go vet ./... 20:31:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:31:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:31:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:31:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:31:05 $ docker stop --time=1 dbde5f46152b675f8e1b328380df79b249f381725bd6517ec9dadf49cb420574 20:31:10 $ docker rm -f --volumes dbde5f46152b675f8e1b328380df79b249f381725bd6517ec9dadf49cb420574 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:31:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:31:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:31:12 + ls -al . 20:31:12 total 180 20:31:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 20:30 . 20:31:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 20:29 .. 20:31:12 -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 20:29 .dockerignore 20:31:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 20:30 .git 20:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:29 .github 20:31:12 -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 20:29 .gitignore 20:31:12 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 20:29 .golangci.yml 20:31:12 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 20:29 .semver 20:31:12 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 20:29 Attribution.txt 20:31:12 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 20:29 CHANGELOG.md 20:31:12 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 20:29 Dockerfile 20:31:12 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 20:29 GOVERNANCE.md 20:31:12 -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 20:29 Jenkinsfile 20:31:12 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 20:29 LICENSE 20:31:12 -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 20:29 Makefile 20:31:12 -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 20:29 OWNERS.md 20:31:12 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 20:29 README.md 20:31:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 20:29 VERSION 20:31:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 20:29 bin 20:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:29 cmd 20:31:12 -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 20:30 coverage.out 20:31:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 20:29 driver 20:31:12 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 20:29 go.mod 20:31:12 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 20:29 go.sum 20:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:29 openapi 20:31:12 -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:13 + 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=0fa255ea661a9aca33b5441a86ea33af4c6c6b88 --label arch=amd64 --label version=0.0.0 . 20:31:13 Sending build context to Docker daemon 16.37MB 20:31:13 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:31:13 Step 2/26 : FROM ${BASE} AS builder 20:31:13 ---> 63cae2124c60 20:31:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:31:13 ---> Running in d8c0235a3468 20:31:13 Removing intermediate container d8c0235a3468 20:31:13 ---> f2c9d7ab955b 20:31:13 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:13 ---> Running in ce2d99949b7b 20:31:13 Removing intermediate container ce2d99949b7b 20:31:13 ---> 156b6a8b0b51 20:31:13 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:31:13 ---> Running in f6a2d1fd78f4 20:31:13 Removing intermediate container f6a2d1fd78f4 20:31:13 ---> 83f3c662f7ae 20:31:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:31:13 ---> Running in 2145ad6b3bc2 20:31:13 Removing intermediate container 2145ad6b3bc2 20:31:13 ---> b9f53f246400 20:31:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:13 ---> Running in 1314be3b8ea6 20:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:14 OK: 268 MiB in 56 packages 20:31:14 Removing intermediate container 1314be3b8ea6 20:31:14 ---> 6275a1c8d642 20:31:14 Step 8/26 : WORKDIR /device-rest-go 20:31:15 ---> Running in eee0b1e82549 20:31:15 Removing intermediate container eee0b1e82549 20:31:15 ---> c36fe5ea860c 20:31:15 Step 9/26 : COPY go.mod vendor* ./ 20:31:15 ---> cdb5479a033a 20:31:15 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:15 ---> Running in b07a00c3d8c9 20:31:15 Removing intermediate container b07a00c3d8c9 20:31:15 ---> 4a53fea8ed7b 20:31:15 Step 11/26 : COPY . . 20:31:16 ---> e21807e99d33 20:31:16 Step 12/26 : RUN $MAKE 20:31:16 ---> Running in 147fb5cb5b31 20:31:16 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.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:31:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24102 in /w/workspace/gexfoundry_device-rest-go_PR-371 [Pipeline] { [Pipeline] ws 20:31:32 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:31:35 The recommended git tool is: git 20:31:38 Removing intermediate container 147fb5cb5b31 20:31:38 ---> 6cc08ae40029 20:31:38 Step 13/26 : FROM alpine:3.18 20:31:38 3.18: Pulling from library/alpine 20:31:38 c926b61bad3b: Pulling fs layer 20:31:39 c926b61bad3b: Download complete 20:31:39 c926b61bad3b: Pull complete 20:31:39 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:31:39 Status: Downloaded newer image for alpine:3.18 20:31:39 ---> b541f2080109 20:31:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:31:39 ---> Running in 73210243e5cc 20:31:40 Removing intermediate container 73210243e5cc 20:31:40 ---> 8ca4f90d39f3 20:31:40 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:31:40 ---> Running in 3c8e9ad24bd6 20:31:40 Removing intermediate container 3c8e9ad24bd6 20:31:40 ---> 40d9ec2a3848 20:31:40 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:31:40 ---> Running in 01de6af30d3d 20:31:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:40 using credential edgex-jenkins-ssh 20:31:40 Cloning the remote Git repository 20:31:41 (1/1) Installing dumb-init (1.2.5-r2) 20:31:41 Executing busybox-1.36.1-r5.trigger 20:31:41 OK: 7 MiB in 16 packages 20:31:41 Removing intermediate container 01de6af30d3d 20:31:41 ---> 31ce3114dd83 20:31:41 Step 17/26 : RUN apk --no-cache upgrade 20:31:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:31:40 > git init /w/workspace/device-rest-go/1 # timeout=10 20:31:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:41 > git --version # timeout=10 20:31:41 > git --version # 'git version 2.25.1' 20:31:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:41 ---> Running in bcbf0a28d8c7 20:31:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:42 OK: 7 MiB in 16 packages 20:31:42 Removing intermediate container bcbf0a28d8c7 20:31:42 ---> 1ccaaec5f670 20:31:42 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:31:43 ---> 80e5dfc5d01d 20:31:43 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:31:43 ---> a416965c0489 20:31:43 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:31:43 ---> bc39ceb5c15a 20:31:43 Step 21/26 : EXPOSE 59986 20:31:43 ---> Running in 94c3bc432b22 20:31:43 Removing intermediate container 94c3bc432b22 20:31:43 ---> c1c2d942758e 20:31:43 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:31:43 ---> Running in 9d20b017011e 20:31:43 Removing intermediate container 9d20b017011e 20:31:43 ---> 0ff33cb32b76 20:31:43 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:31:43 ---> Running in 2faa37ceeaa7 20:31:43 Removing intermediate container 2faa37ceeaa7 20:31:43 ---> 89de79165e28 20:31:43 Step 24/26 : LABEL arch=amd64 20:31:43 ---> Running in 569b07de6909 20:31:43 Removing intermediate container 569b07de6909 20:31:43 ---> 521e6fdc44d5 20:31:43 Step 25/26 : LABEL git_sha=0fa255ea661a9aca33b5441a86ea33af4c6c6b88 20:31:43 ---> Running in fd202be048eb 20:31:44 Removing intermediate container fd202be048eb 20:31:44 ---> f3c401986742 20:31:44 Step 26/26 : LABEL version=0.0.0 20:31:44 ---> Running in fca7d0a6d1c7 20:31:44 Removing intermediate container fca7d0a6d1c7 20:31:44 ---> 7865e0631a3f 20:31:44 [Warning] One or more build-args [ARCH] were not consumed 20:31:44 Successfully built 7865e0631a3f 20:31:44 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:45 20:31:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 20:31:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 20:31:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:45 latest: Pulling from edgex-lftools-log-publisher 20:31:45 5eb5b503b376: Pulling fs layer 20:31:45 5c69ac0246d0: Pulling fs layer 20:31:45 ec43610c2a17: Pulling fs layer 20:31:45 3a2ae6a8a46f: Pulling fs layer 20:31:45 33b1e0a273af: Pulling fs layer 20:31:45 5d3b04190fa2: Pulling fs layer 20:31:45 2f39f015ded8: Pulling fs layer 20:31:45 3a2ae6a8a46f: Waiting 20:31:45 33b1e0a273af: Waiting 20:31:45 5d3b04190fa2: Waiting 20:31:45 2f39f015ded8: Waiting 20:31:45 5c69ac0246d0: Download complete 20:31:45 3a2ae6a8a46f: Download complete 20:31:45 33b1e0a273af: Verifying Checksum 20:31:45 33b1e0a273af: Download complete 20:31:45 5d3b04190fa2: Verifying Checksum 20:31:45 5d3b04190fa2: Download complete 20:31:45 ec43610c2a17: Verifying Checksum 20:31:45 ec43610c2a17: Download complete 20:31:46 5eb5b503b376: Verifying Checksum 20:31:46 5eb5b503b376: Download complete 20:31:46 2f39f015ded8: Download complete 20:31:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:47 5eb5b503b376: Pull complete 20:31:47 5c69ac0246d0: Pull complete 20:31:48 ec43610c2a17: Pull complete 20:31:48 3a2ae6a8a46f: Pull complete 20:31:48 33b1e0a273af: Pull complete 20:31:48 5d3b04190fa2: Pull complete 20:31:48 Merging remotes/origin/main commit 96614595ba73594199dee70385f2da41578defd7 into PR head commit 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 20:31:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:31:48 > git config core.sparsecheckout # timeout=10 20:31:48 > git checkout -f 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 # timeout=10 20:31:48 Merge succeeded, producing 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 20:31:48 Checking out Revision 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 (PR-371) 20:31:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:31:49 > git --version # timeout=10 20:31:49 > git --version # 'git version 2.25.1' 20:31:49 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:31:49 20:31:49 GitHub has been notified of this commit’s build result 20:31:49 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:31:48 > git remote # timeout=10 20:31:48 > git config --get remote.origin.url # timeout=10 20:31:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:48 > git merge 96614595ba73594199dee70385f2da41578defd7 # timeout=10 20:31:48 > git rev-parse HEAD^{commit} # timeout=10 20:31:48 > git config core.sparsecheckout # timeout=10 20:31:48 > git checkout -f 0fa255ea661a9aca33b5441a86ea33af4c6c6b88 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:50 Dload Upload Total Spent Left Speed 20:31:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 97553 [Pipeline] sh 20:31:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 20:31:51 sudo tee /etc/docker/daemon.new 20:31:51 { 20:31:51 "registry-mirrors": [ 20:31:51 "https://nexus3.edgexfoundry.org:10001" 20:31:51 ], 20:31:51 "bip": "10.250.0.254/24", 20:31:51 "hosts": [ 20:31:51 "tcp://0.0.0.0:5555", 20:31:51 "unix:///var/run/docker.sock" 20:31:51 ], 20:31:51 "mtu": 1458, 20:31:51 "selinux-enabled": true, 20:31:51 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:51 } [Pipeline] sh 20:31:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:52 + sudo service docker restart 20:31:52 2f39f015ded8: Pull complete 20:31:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:31:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:52 prd-ubuntu20.04-docker-8c-8g-24101 does not seem to be running inside a container 20:31:52 $ 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-371 -v /w/workspace/gexfoundry_device-rest-go_PR-371:/w/workspace/gexfoundry_device-rest-go_PR-371:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-371@tmp:/w/workspace/gexfoundry_device-rest-go_PR-371@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:32:01 $ docker top 221d7310b373bc84d48ccd763d19c5909121238c67153a8ed394b89ec86af944 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:01 ---> job-cost.sh 20:32:01 lf-activate-venv: SKIPPING 20:32:01 INFO: No Stack... 20:32:01 INFO: Retrieving Pricing Info for: v3-standard-8 20:32:02 INFO: Archiving Costs [Pipeline] sh 20:32:02 + + cat /w/workspace/gexfoundry_device-rest-go_PR-371/archives/cost.csv 20:32:02 cut -d, -f6 [Pipeline] lock 20:32:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] 20:32:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] did not exist. Created. 20:32:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:32:03 + echo total: 0.2199999988079071 [Pipeline] stash 20:32:03 Stashed 1 file(s) [Pipeline] } 20:32:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:32:03 $ docker stop --time=1 221d7310b373bc84d48ccd763d19c5909121238c67153a8ed394b89ec86af944 20:32:05 $ docker rm -f --volumes 221d7310b373bc84d48ccd763d19c5909121238c67153a8ed394b89ec86af944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:14 provisioning config files... 20:32:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4316687705969139940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:14 ---> ****-login.sh 20:32:14 nexus3.edgexfoundry.org:10001 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:32:15 Configure a credential helper to remove this warning. See 20:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:32:15 20:32:15 Login Succeeded 20:32:15 nexus3.edgexfoundry.org:10002 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:32:15 Configure a credential helper to remove this warning. See 20:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:32:15 20:32:15 Login Succeeded 20:32:15 nexus3.edgexfoundry.org:10003 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:32:15 Configure a credential helper to remove this warning. See 20:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:32:15 20:32:15 Login Succeeded 20:32:15 nexus3.edgexfoundry.org:10004 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:32:16 Configure a credential helper to remove this warning. See 20:32:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:32:16 20:32:16 Login Succeeded 20:32:16 ****.io 20:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:32:16 Configure a credential helper to remove this warning. See 20:32:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:32:16 20:32:16 Login Succeeded 20:32:16 ---> ****-login.sh ends [Pipeline] } 20:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:32:17 ========================================================= 20:32:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:32:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:18 + 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:32:19 #0 building with "default" instance using docker driver 20:32:19 20:32:19 #1 [internal] load build definition from Dockerfile 20:32:19 #1 transferring dockerfile: 20:32:19 #1 transferring dockerfile: 1.73kB 0.0s done 20:32:19 #1 DONE 0.1s 20:32:19 20:32:19 #2 [internal] load .dockerignore 20:32:19 #2 transferring context: 193B done 20:32:19 #2 DONE 0.1s 20:32:19 20:32:19 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:32:19 #3 DONE 0.1s 20:32:19 20:32:19 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:32:19 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:32:19 #4 ... 20:32:19 20:32:19 #5 [internal] load build context 20:32:19 #5 transferring context: 95.79kB 0.0s done 20:32:19 #5 DONE 0.1s 20:32:19 20:32:19 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:32:19 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s 20:32:19 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 20:32:19 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:32:19 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:32:19 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:32:19 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 20:32:19 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.3s 20:32:19 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:32:19 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 20:32:19 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:32:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s 20:32:19 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.06MB / 11.40MB 0.3s 20:32:19 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.4s 20:32:19 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.4s 20:32:19 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s 20:32:19 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.87MB / 63.99MB 0.5s 20:32:19 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.5s 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.7s 20:32:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.7s 20:32:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 0.8s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 0.9s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s 20:32:20 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.0s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.0s 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.2s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.2s 20:32:20 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.3s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.3s 20:32:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.4s 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.30MB / 97.63MB 1.6s 20:32:20 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:32:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 1.7s 20:32:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.08MB / 97.63MB 1.8s 20:32:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.32MB / 97.63MB 2.0s 20:32:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 20:32:27 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 20:32:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 20:32:39 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.4s done 20:32:39 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:32:39 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 20:32:39 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:32:39 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20:32:45 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 20:32:49 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 20:32:49 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:32:50 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 20:32:51 #4 DONE 31.6s 20:32:51 20:32:51 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:32:51 #6 0.672 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:51 #6 1.049 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:53 #6 2.048 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:32:53 #6 2.075 (2/4) Installing libedit (20221030.3.1-r1) 20:32:53 #6 2.088 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:32:53 #6 2.152 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:32:53 #6 2.178 Executing busybox-1.36.1-r5.trigger 20:32:53 #6 2.215 OK: 271 MiB in 56 packages 20:32:55 #6 DONE 4.0s 20:32:55 20:32:55 #7 [builder 3/7] WORKDIR /device-rest-go 20:32:55 #7 DONE 0.1s 20:32:55 20:32:55 #8 [builder 4/7] COPY go.mod vendor* ./ 20:32:55 #8 DONE 0.1s 20:32:55 20:32:55 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:21 #9 DONE 23.1s 20:33:21 20:33:21 #10 [builder 6/7] COPY . . 20:33:21 #10 DONE 0.1s 20:33:21 20:33:21 #11 [builder 7/7] RUN echo noop 20:33:21 #11 0.604 noop 20:33:21 #11 DONE 0.7s 20:33:21 20:33:21 #12 exporting to image 20:33:21 #12 exporting layers 20:33:44 #12 exporting layers 22.4s done 20:33:44 #12 writing image sha256:342a85133fea2cce564e059b622019cc4bf75f398ebf8af35aa9df430db4fbc7 done 20:33:44 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 20:33:44 #12 DONE 22.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:44 + docker inspect -f . ci-base-image-arm64 20:33:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:45 prd-ubuntu20.04-docker-arm64-4c-16g-24102 does not seem to be running inside a container 20:33:45 $ 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:33:46 $ docker top c78fa625d22e76ed13d19b4e2bf8afb766a01317f3efdda1779265ae723575e0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:47 + go version 20:33:47 go version go1.21.0 linux/arm64 [Pipeline] } 20:33:47 $ docker stop --time=1 c78fa625d22e76ed13d19b4e2bf8afb766a01317f3efdda1779265ae723575e0 20:33:48 $ docker rm -f --volumes c78fa625d22e76ed13d19b4e2bf8afb766a01317f3efdda1779265ae723575e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:49 + docker inspect -f . ci-base-image-arm64 20:33:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:50 prd-ubuntu20.04-docker-arm64-4c-16g-24102 does not seem to be running inside a container 20:33:50 $ 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:33:51 $ docker top 4abcfe647818ca7b4628949190cd7038981b02687ca9e278948687b1e4b749e4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:51 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:33:52 + make test 20:33:52 go test ./... -coverprofile=coverage.out ./... 20:33:58 ? github.com/edgexfoundry/device-rest-go [no test files] 20:34:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:34:55 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 20:34:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:34:55 go vet ./... 20:35:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:03 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:35:03 $ docker stop --time=1 4abcfe647818ca7b4628949190cd7038981b02687ca9e278948687b1e4b749e4 20:35:06 $ docker rm -f --volumes 4abcfe647818ca7b4628949190cd7038981b02687ca9e278948687b1e4b749e4 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:07 Warning: overwriting stash ‘coverage-report’ 20:35:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:09 + ls -al . 20:35:09 total 176 20:35:09 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 20:33 . 20:35:09 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 20:31 .. 20:35:09 -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 20:31 .dockerignore 20:35:09 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 20:31 .git 20:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:31 .github 20:35:09 -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 20:31 .gitignore 20:35:09 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 20:31 .golangci.yml 20:35:09 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 20:31 Attribution.txt 20:35:09 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 20:31 CHANGELOG.md 20:35:09 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 20:31 Dockerfile 20:35:09 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 20:31 GOVERNANCE.md 20:35:09 -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 20:31 Jenkinsfile 20:35:09 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 20:31 LICENSE 20:35:09 -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 20:31 Makefile 20:35:09 -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 20:31 OWNERS.md 20:35:09 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 20:31 README.md 20:35:09 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 20:29 VERSION 20:35:09 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 20:31 bin 20:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:31 cmd 20:35:09 -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 20:34 coverage.out 20:35:09 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 20:31 driver 20:35:09 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 20:31 go.mod 20:35:09 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 20:31 go.sum 20:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 20:31 openapi 20:35:09 -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:09 + 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=0fa255ea661a9aca33b5441a86ea33af4c6c6b88 --label arch=arm64 --label version=0.0.0 . 20:35:10 #0 building with "default" instance using docker driver 20:35:10 20:35:10 #1 [internal] load .dockerignore 20:35:10 #1 transferring context: 193B 0.0s done 20:35:10 #1 DONE 0.0s 20:35:10 20:35:10 #2 [internal] load build definition from Dockerfile 20:35:10 #2 transferring dockerfile: 1.73kB 0.0s done 20:35:10 #2 DONE 0.0s 20:35:10 20:35:10 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:35:10 #3 DONE 0.0s 20:35:10 20:35:10 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:35:11 #4 DONE 0.4s 20:35:11 20:35:11 #5 [internal] load build context 20:35:11 #5 transferring context: 16.04kB 0.0s done 20:35:11 #5 DONE 0.0s 20:35:11 20:35:11 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:35:11 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:35:11 #6 ... 20:35:11 20:35:11 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:35:11 #7 DONE 0.2s 20:35:11 20:35:11 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:35:11 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:35:11 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 20:35:11 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:35:11 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:35:11 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:35:11 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 20:35:11 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 20:35:12 #6 DONE 0.9s 20:35:12 20:35:12 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:35:12 #8 0.628 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:35:13 #8 0.948 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:35:13 #8 ... 20:35:13 20:35:13 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:35:13 #9 0.721 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:35:13 #9 1.165 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:35:13 #9 2.222 OK: 271 MiB in 56 packages 20:35:13 #9 DONE 2.5s 20:35:13 20:35:13 #10 [builder 3/7] WORKDIR /device-rest-go 20:35:13 #10 DONE 0.1s 20:35:13 20:35:13 #11 [builder 4/7] COPY go.mod vendor* ./ 20:35:14 #11 DONE 0.2s 20:35:14 20:35:14 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:35:14 #8 1.997 (1/1) Installing dumb-init (1.2.5-r2) 20:35:14 #8 2.012 Executing busybox-1.36.1-r5.trigger 20:35:14 #8 2.034 OK: 8 MiB in 16 packages 20:35:14 #8 DONE 2.4s 20:35:14 20:35:14 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:35:15 #12 0.811 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:35:15 #12 ... 20:35:15 20:35:15 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:15 #13 DONE 1.3s 20:35:15 20:35:15 #14 [builder 6/7] COPY . . 20:35:15 #14 DONE 0.1s 20:35:15 20:35:15 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:35:15 #12 1.166 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:35:16 #12 2.271 OK: 8 MiB in 16 packages 20:35:20 #12 DONE 5.6s 20:35:20 20:35:20 #15 [builder 7/7] RUN make build 20:35:20 #15 0.667 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.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:36:27 #15 DONE 62.8s 20:36:27 20:36:27 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:36:27 #16 DONE 0.3s 20:36:27 20:36:27 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:36:27 #17 DONE 0.1s 20:36:27 20:36:27 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:36:27 #18 DONE 0.1s 20:36:27 20:36:27 #19 exporting to image 20:36:27 #19 exporting layers 20:36:27 #19 exporting layers 0.4s done 20:36:27 #19 writing image sha256:e3552c21713db829fe659db3421e3beac5373fa6b745e3a026906274d3769559 done 20:36:27 #19 naming to docker.io/library/device-rest-arm64 0.0s done 20:36:27 #19 DONE 0.5s [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:36:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:29 20:36:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:29 arm64: Pulling from edgex-lftools-log-publisher 20:36:29 8998bd30e6a1: Pulling fs layer 20:36:29 04944245beec: Pulling fs layer 20:36:29 699f458cf7ca: Pulling fs layer 20:36:29 765212b225bb: Pulling fs layer 20:36:29 f23df028b6ca: Pulling fs layer 20:36:29 d65c8cfc05b1: Pulling fs layer 20:36:29 2437ff75d9bd: Pulling fs layer 20:36:29 f23df028b6ca: Waiting 20:36:29 d65c8cfc05b1: Waiting 20:36:29 2437ff75d9bd: Waiting 20:36:29 765212b225bb: Waiting 20:36:29 04944245beec: Verifying Checksum 20:36:29 765212b225bb: Verifying Checksum 20:36:29 765212b225bb: Download complete 20:36:29 f23df028b6ca: Verifying Checksum 20:36:29 f23df028b6ca: Download complete 20:36:29 d65c8cfc05b1: Verifying Checksum 20:36:29 d65c8cfc05b1: Download complete 20:36:30 699f458cf7ca: Verifying Checksum 20:36:30 699f458cf7ca: Download complete 20:36:30 8998bd30e6a1: Verifying Checksum 20:36:30 8998bd30e6a1: Download complete 20:36:32 2437ff75d9bd: Verifying Checksum 20:36:32 2437ff75d9bd: Download complete 20:36:36 8998bd30e6a1: Pull complete 20:36:36 04944245beec: Pull complete 20:36:38 699f458cf7ca: Pull complete 20:36:38 765212b225bb: Pull complete 20:36:39 f23df028b6ca: Pull complete 20:36:39 d65c8cfc05b1: Pull complete 20:37:06 2437ff75d9bd: Pull complete 20:37:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:37:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:07 prd-ubuntu20.04-docker-arm64-4c-16g-24102 does not seem to be running inside a container 20:37:07 $ 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:37:09 $ docker top 1e9be0b62eed35366c933c849ab1dc9d8bfd5a6b4ffbcff94529a3eb594e95b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:09 ---> job-cost.sh 20:37:10 lf-activate-venv: SKIPPING 20:37:10 INFO: No Stack... 20:37:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:11 INFO: Archiving Costs [Pipeline] sh 20:37:11 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:37:11 + cut -d, -f6 [Pipeline] lock 20:37:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] 20:37:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] did not exist. Created. 20:37:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:37:13 /w/workspace/device-rest-go/1@tmp/durable-cead7e7e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:37:13 + echo total: 0.2199999988079071 [Pipeline] stash 20:37:13 Warning: overwriting stash ‘stack-cost’ 20:37:13 Stashed 1 file(s) [Pipeline] } 20:37:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-371-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:37:13 $ docker stop --time=1 1e9be0b62eed35366c933c849ab1dc9d8bfd5a6b4ffbcff94529a3eb594e95b7 20:37:15 $ docker rm -f --volumes 1e9be0b62eed35366c933c849ab1dc9d8bfd5a6b4ffbcff94529a3eb594e95b7 [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:37:17 provisioning config files... 20:37:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/config6225815463156668545tmp [Pipeline] { [Pipeline] sh 20:37:17 + set +x 20:37:17 + bash -s -- 20:37:17 + curl -s https://codecov.io/bash 20:37:17 20:37:17 _____ _ 20:37:17 / ____| | | 20:37:17 | | ___ __| | ___ ___ _____ __ 20:37:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:37:17 | |___| (_) | (_| | __/ (_| (_) \ V / 20:37:17 \_____\___/ \__,_|\___|\___\___/ \_/ 20:37:17 Bash-1.0.6 20:37:17 20:37:17 20:37:17 ==> git version 2.25.1 found 20:37:17 ==> 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:37:17 Release-Date: 2020-01-08 20:37:17 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:37:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:37:17 ==> Jenkins CI detected. 20:37:17 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-371 20:37:17 project root: . 20:37:17 --> token set from env 20:37:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:37:17 ==> Running gcov in . (disable via -X gcov) 20:37:17 ==> Python coveragepy not found 20:37:17 ==> Searching for coverage reports in: 20:37:17 + . 20:37:18 -> Found 1 reports 20:37:18 ==> Detecting git/mercurial file structure 20:37:18 ==> Reading reports 20:37:18 + ./coverage.out bytes=14499 20:37:18 ==> Appending adjustments 20:37:18 https://docs.codecov.io/docs/fixing-reports 20:37:18 + Found adjustments 20:37:18 ==> Gzipping contents 20:37:18 4.0K /tmp/codecov.dR3doa.gz 20:37:18 ==> Uploading reports 20:37:18 url: https://codecov.io 20:37:18 query: branch=PR-371&commit=0fa255ea661a9aca33b5441a86ea33af4c6c6b88&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-371%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=371&job=&cmd_args= 20:37:18 -> Pinging Codecov 20:37:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-371&commit=0fa255ea661a9aca33b5441a86ea33af4c6c6b88&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-371%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=371&job=&cmd_args= 20:37:18 -> Uploading to 20:37:18 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/4E5D53B4F1F92C436F7061BF334D961C/0fa255ea661a9aca33b5441a86ea33af4c6c6b88/fc25607c-de31-467a-8f76-8ab67125ed9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T203718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=674fdf25a92071cd63c5df2a8ba8fab07ce90d10153b635db05305d96220499c 20:37:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:37:18 Dload Upload Total Spent Left Speed 20:37:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 9066 --:--:-- --:--:-- --:--:-- 9031 20:37:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0fa255ea661a9aca33b5441a86ea33af4c6c6b88 [Pipeline] } 20:37:18 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:37:21 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-371/archives ] 20:37:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-371/archives 20:37:21 total 16 20:37:21 drwxr-xr-x 3 root root 4096 Dec 5 20:32 . 20:37:21 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 20:32 .. 20:37:21 drwxr-xr-x 2 root root 4096 Dec 5 20:32 cost 20:37:21 -rw-r--r-- 1 root root 86 Dec 5 20:32 cost.csv 20:37:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-371/archives 20:37:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-371/archives 20:37:21 total 16 20:37:21 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 20:32 . 20:37:21 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 20:32 .. 20:37:21 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 20:32 cost 20:37:21 -rw-r--r-- 1 jenkins jenkins 86 Dec 5 20:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:37:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:23 ---> package-listing.sh 20:37:23 ++ facter osfamily 20:37:23 ++ tr '[:upper:]' '[:lower:]' 20:37:23 + OS_FAMILY=debian 20:37:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-371 20:37:23 + START_PACKAGES=/tmp/packages_start.txt 20:37:23 + END_PACKAGES=/tmp/packages_end.txt 20:37:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:23 + PACKAGES=/tmp/packages_start.txt 20:37:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-371 ']' 20:37:23 + PACKAGES=/tmp/packages_end.txt 20:37:23 + case "${OS_FAMILY}" in 20:37:23 + dpkg -l 20:37:23 + grep '^ii' 20:37:23 + '[' -f /tmp/packages_start.txt ']' 20:37:23 + '[' -f /tmp/packages_end.txt ']' 20:37:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-371 ']' 20:37:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-371/archives/ 20:37:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-371/archives/ [Pipeline] echo 20:37:23 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-371/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:37:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:24 prd-ubuntu20.04-docker-8c-8g-24101 does not seem to be running inside a container 20:37:24 $ 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-371/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-371 -v /w/workspace/gexfoundry_device-rest-go_PR-371:/w/workspace/gexfoundry_device-rest-go_PR-371:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-371@tmp:/w/workspace/gexfoundry_device-rest-go_PR-371@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:37:24 $ docker top a1de941d6233b652f1fe1d2efa6480edf7e09b34c27f1322132874e43a925088 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:37:25 + ls /var/log/sa-host 20:37:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:26 provisioning config files... 20:37:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-371@tmp/config2108970435815913790tmp [Pipeline] { [Pipeline] echo 20:37:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:26 ---> create-netrc.sh [Pipeline] } 20:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> python-tools-install.sh [Pipeline] echo 20:37:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> sudo-logs.sh 20:37:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> job-cost.sh 20:37:27 lf-activate-venv: SKIPPING 20:37:27 DEBUG: total: 0.2199999988079071 20:37:27 INFO: Retrieving Stack Cost... 20:37:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:28 INFO: Archiving Costs [Pipeline] echo 20:37:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:28 ---> logs-deploy.sh 20:37:28 lf-activate-venv: SKIPPING 20:37:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-371/1 20:37:28 INFO: archiving workspace using pattern(s): 20:37:29 Archives upload complete. 20:37:29 INFO: archiving logs to Nexus 20:37:30 ---> uname -a: 20:37:30 Linux prd-ubuntu20-04-docker-8c-8g-24101 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:37:30 20:37:30 20:37:30 ---> lscpu: 20:37:30 Architecture: x86_64 20:37:30 CPU op-mode(s): 32-bit, 64-bit 20:37:30 Byte Order: Little Endian 20:37:30 Address sizes: 40 bits physical, 48 bits virtual 20:37:30 CPU(s): 8 20:37:30 On-line CPU(s) list: 0-7 20:37:30 Thread(s) per core: 1 20:37:30 Core(s) per socket: 1 20:37:30 Socket(s): 8 20:37:30 NUMA node(s): 1 20:37:30 Vendor ID: AuthenticAMD 20:37:30 CPU family: 23 20:37:30 Model: 49 20:37:30 Model name: AMD EPYC-Rome Processor 20:37:30 Stepping: 0 20:37:30 CPU MHz: 2799.998 20:37:30 BogoMIPS: 5599.99 20:37:30 Virtualization: AMD-V 20:37:30 Hypervisor vendor: KVM 20:37:30 Virtualization type: full 20:37:30 L1d cache: 256 KiB 20:37:30 L1i cache: 256 KiB 20:37:30 L2 cache: 4 MiB 20:37:30 L3 cache: 128 MiB 20:37:30 NUMA node0 CPU(s): 0-7 20:37:30 Vulnerability Itlb multihit: Not affected 20:37:30 Vulnerability L1tf: Not affected 20:37:30 Vulnerability Mds: Not affected 20:37:30 Vulnerability Meltdown: Not affected 20:37:30 Vulnerability Mmio stale data: Not affected 20:37:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:37:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:37:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:37:30 Vulnerability Srbds: Not affected 20:37:30 Vulnerability Tsx async abort: Not affected 20:37:30 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:37:30 20:37:30