Pull request #370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ae01c1c7c56035e6f21f3b472a9399ec9002438+990d379436bad360529865c6b1e601239e616fa1 (16c4d933a40966397d3f581f7248678f88102449) 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-ssh2813416077569989838.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-ssh8403845809567328203.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-370/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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14973194204412604701.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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15616554193234982693.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-ssh9712350376052711738.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-370/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-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7197155223318132186.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5004 in /w/workspace/gexfoundry_device-rest-go_PR-370 [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-370 # 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 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 8ae01c1c7c56035e6f21f3b472a9399ec9002438 Merge succeeded, producing 8ae01c1c7c56035e6f21f3b472a9399ec9002438 Checking out Revision 8ae01c1c7c56035e6f21f3b472a9399ec9002438 (PR-370) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" 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/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ae01c1c7c56035e6f21f3b472a9399ec9002438 # 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ae01c1c7c56035e6f21f3b472a9399ec9002438 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:42 ========================================================= 20:13:42 EdgeX Global Pipelines Version Info 20:13:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:43 ------------------- 20:13:43 stable info: 20:13:43 ------------------- 20:13:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:43 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:13:43 Message: update stable to v1.0.258 20:13:44 ------------------- 20:13:44 experimental info: 20:13:44 ------------------- 20:13:44 Commited By: **** collab-it+edgex@linuxfoundation.org 20:13:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:13:44 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:13:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ae01c1c7c56035e6f21f3b472a9399ec9002438 [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ae01c1 [Pipeline] echo 20:13:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:46 provisioning config files... 20:13:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config4526417742892202293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:47 ---> ****-login.sh 20:13:47 nexus3.edgexfoundry.org:10001 20:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:47 Configure a credential helper to remove this warning. See 20:13:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:47 20:13:47 Login Succeeded 20:13:47 nexus3.edgexfoundry.org:10002 20:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:47 Configure a credential helper to remove this warning. See 20:13:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:47 20:13:47 Login Succeeded 20:13:47 nexus3.edgexfoundry.org:10003 20:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:47 Configure a credential helper to remove this warning. See 20:13:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:47 20:13:47 Login Succeeded 20:13:47 nexus3.edgexfoundry.org:10004 20:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:47 Configure a credential helper to remove this warning. See 20:13:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:47 20:13:47 Login Succeeded 20:13:47 ****.io 20:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:48 Configure a credential helper to remove this warning. See 20:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:48 20:13:48 Login Succeeded 20:13:48 ---> ****-login.sh ends [Pipeline] } 20:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:48 + git rev-list -1 --merges 8ae01c1c7c56035e6f21f3b472a9399ec9002438~1..8ae01c1c7c56035e6f21f3b472a9399ec9002438 [Pipeline] echo 20:13:48 -----------> git rev-list -1 --merges 8ae01c1c7c56035e6f21f3b472a9399ec9002438~1..8ae01c1c7c56035e6f21f3b472a9399ec9002438 8ae01c1c7c56035e6f21f3b472a9399ec9002438 [false] [Pipeline] sh 20:13:49 + git log --format=format:%s -1 8ae01c1c7c56035e6f21f3b472a9399ec9002438 [Pipeline] echo 20:13:49 ========================================================= 20:13:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:49 + git log --format=format:%s -1 8ae01c1c7c56035e6f21f3b472a9399ec9002438 [Pipeline] echo 20:13:49 [semverPrep] GIT_COMMIT: 8ae01c1c7c56035e6f21f3b472a9399ec9002438, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0 [Pipeline] echo 20:13:49 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:13:50 + grep -v github /etc/ssh/ssh_known_hosts 20:13:50 + [ -e /tmp/ssh_known_hosts ] 20:13:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:13:50 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:50 20:13:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:51 0.1.4: Pulling from edgex-devops/py-git-semver 20:13:51 b85a868b505f: Pulling fs layer 20:13:51 e2be974225ed: Pulling fs layer 20:13:51 339a4e72a1f5: Pulling fs layer 20:13:51 988bab9f4d93: Pulling fs layer 20:13:51 1469e6f7b9e6: Pulling fs layer 20:13:51 eaf3925da568: Pulling fs layer 20:13:51 bab4dde63d76: Pulling fs layer 20:13:51 bde34c3a00c8: Pulling fs layer 20:13:51 b352a97aabf1: Pulling fs layer 20:13:51 4872d77fe225: Pulling fs layer 20:13:51 5851b861e8e6: Pulling fs layer 20:13:51 bde34c3a00c8: Waiting 20:13:51 bab4dde63d76: Waiting 20:13:51 4872d77fe225: Waiting 20:13:51 b352a97aabf1: Waiting 20:13:51 1469e6f7b9e6: Waiting 20:13:51 5851b861e8e6: Waiting 20:13:51 eaf3925da568: Waiting 20:13:51 e2be974225ed: Download complete 20:13:51 988bab9f4d93: Download complete 20:13:51 1469e6f7b9e6: Verifying Checksum 20:13:51 1469e6f7b9e6: Download complete 20:13:51 339a4e72a1f5: Verifying Checksum 20:13:51 339a4e72a1f5: Download complete 20:13:51 eaf3925da568: Verifying Checksum 20:13:51 eaf3925da568: Download complete 20:13:51 bde34c3a00c8: Verifying Checksum 20:13:51 bde34c3a00c8: Download complete 20:13:51 b352a97aabf1: Download complete 20:13:51 4872d77fe225: Download complete 20:13:51 5851b861e8e6: Verifying Checksum 20:13:51 5851b861e8e6: Download complete 20:13:51 b85a868b505f: Download complete 20:13:51 bab4dde63d76: Verifying Checksum 20:13:51 bab4dde63d76: Download complete 20:13:52 b85a868b505f: Pull complete 20:13:52 e2be974225ed: Pull complete 20:13:53 339a4e72a1f5: Pull complete 20:13:53 988bab9f4d93: Pull complete 20:13:53 1469e6f7b9e6: Pull complete 20:13:53 eaf3925da568: Pull complete 20:13:55 bab4dde63d76: Pull complete 20:13:55 bde34c3a00c8: Pull complete 20:13:55 b352a97aabf1: Pull complete 20:13:55 4872d77fe225: Pull complete 20:13:55 5851b861e8e6: Pull complete 20:13:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:56 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 20:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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:13:59 $ docker top 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 -eo pid,comm 20:13:59 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:13:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:13:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:59 [ssh-agent] Looking for ssh-agent implementation... 20:13:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:59 $ docker exec 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 ssh-agent 20:13:59 SSH_AUTH_SOCK=/tmp/ssh-PgVAXZsRXVjl/agent.33 20:13:59 SSH_AGENT_PID=39 20:13:59 Running ssh-add (command line suppressed) 20:13:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_12906455851150653711.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_12906455851150653711.key) 20:13:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:00 + git tag --points-at HEAD [Pipeline] } 20:14:00 $ docker exec --env ******** --env ******** 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 ssh-agent -k 20:14:00 unset SSH_AUTH_SOCK; 20:14:00 unset SSH_AGENT_PID; 20:14:00 echo Agent pid 39 killed; 20:14:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:00 [ssh-agent] Looking for ssh-agent implementation... 20:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:00 $ docker exec 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 ssh-agent 20:14:00 SSH_AUTH_SOCK=/tmp/ssh-NtfAf5oOVQQS/agent.71 20:14:00 SSH_AGENT_PID=77 20:14:00 Running ssh-add (command line suppressed) 20:14:00 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2535589668572198858.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2535589668572198858.key) 20:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:01 + git semver init 20:14:01 2023-11-28 20:14:01,451 [run_init] DEBUG init version:0.0.0 force:False 20:14:01 2023-11-28 20:14:01,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver 20:14:01 2023-11-28 20:14:01,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-370/.semver 20:14:01 2023-11-28 20:14:01,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-370/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370, universal_newlines=False, shell=None, istream=None) 20:14:02 2023-11-28 20:14:02,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.git/info/exclude 20:14:02 2023-11-28 20:14:02,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 with force:False 20:14:02 2023-11-28 20:14:02,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 20:14:02 2023-11-28 20:14:02,815 [execute] INFO git cat-file --batch-check 20:14:02 2023-11-28 20:14:02,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 20:14:02 2023-11-28 20:14:02,821 [execute] INFO git cat-file --batch 20:14:02 2023-11-28 20:14:02,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 20:14:02 2023-11-28 20:14:02,826 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 20:14:02 0.0.0 [Pipeline] } 20:14:02 $ docker exec --env ******** --env ******** 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 ssh-agent -k 20:14:03 unset SSH_AUTH_SOCK; 20:14:03 unset SSH_AGENT_PID; 20:14:03 echo Agent pid 77 killed; 20:14:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:03 + git semver [Pipeline] } 20:14:03 $ docker stop --time=1 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 20:14:05 $ docker rm -f --volumes 2dedd2529d904949828d1daf749d6f090295da249f12757139e89eeb773cb649 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:05 Stashed 1 file(s) [Pipeline] echo 20:14:05 [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:14:06 provisioning config files... 20:14:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config10716915679855103321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:07 ---> ****-login.sh 20:14:07 nexus3.edgexfoundry.org:10001 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 nexus3.edgexfoundry.org:10002 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 nexus3.edgexfoundry.org:10003 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 nexus3.edgexfoundry.org:10004 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 ****.io 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 ---> ****-login.sh ends [Pipeline] } 20:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:14:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:14:08 ========================================================= 20:14:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:14:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:08 + 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:14:08 Sending build context to Docker daemon 16.35MB 20:14:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:14:08 Step 2/12 : FROM ${BASE} AS builder 20:14:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:08 7264a8db6415: Pulling fs layer 20:14:08 c4d48a809fc2: Pulling fs layer 20:14:08 4f1c88b9dad5: Pulling fs layer 20:14:08 ad3a456e5733: Pulling fs layer 20:14:08 69c7f0334f64: Pulling fs layer 20:14:08 1f1c1a5573a3: Pulling fs layer 20:14:08 ce7588e14bc9: Pulling fs layer 20:14:08 b5e4710f87ac: Pulling fs layer 20:14:08 ce7588e14bc9: Waiting 20:14:08 b5e4710f87ac: Waiting 20:14:08 69c7f0334f64: Waiting 20:14:08 1f1c1a5573a3: Waiting 20:14:08 ad3a456e5733: Waiting 20:14:09 c4d48a809fc2: Download complete 20:14:09 ad3a456e5733: Verifying Checksum 20:14:09 ad3a456e5733: Download complete 20:14:09 69c7f0334f64: Verifying Checksum 20:14:09 69c7f0334f64: Download complete 20:14:09 7264a8db6415: Verifying Checksum 20:14:09 7264a8db6415: Download complete 20:14:09 1f1c1a5573a3: Verifying Checksum 20:14:09 1f1c1a5573a3: Download complete 20:14:09 7264a8db6415: Pull complete 20:14:09 b5e4710f87ac: Verifying Checksum 20:14:09 b5e4710f87ac: Download complete 20:14:09 c4d48a809fc2: Pull complete 20:14:09 4f1c88b9dad5: Verifying Checksum 20:14:09 4f1c88b9dad5: Download complete 20:14:09 ce7588e14bc9: Verifying Checksum 20:14:09 ce7588e14bc9: Download complete 20:14:13 4f1c88b9dad5: Pull complete 20:14:13 ad3a456e5733: Pull complete 20:14:13 69c7f0334f64: Pull complete 20:14:13 1f1c1a5573a3: Pull complete 20:14:15 ce7588e14bc9: Pull complete 20:14:15 b5e4710f87ac: Pull complete 20:14:15 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:14:15 ---> 88b5674ff536 20:14:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:14:21 ---> Running in b16b91ccf3ac 20:14:21 Removing intermediate container b16b91ccf3ac 20:14:21 ---> 687dda4aa2d3 20:14:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:21 ---> Running in f26b139d181e 20:14:21 Removing intermediate container f26b139d181e 20:14:21 ---> af861e1da911 20:14:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:14:21 ---> Running in 5ed506ac5d5b 20:14:21 Removing intermediate container 5ed506ac5d5b 20:14:21 ---> 16bd5701a26e 20:14:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:14:21 ---> Running in c095b703b676 20:14:21 Removing intermediate container c095b703b676 20:14:21 ---> 1aef7d0b0d75 20:14:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:21 ---> Running in c4454a28fbf3 20:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:14:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:14:21 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:14:21 (2/4) Installing libedit (20221030.3.1-r1) 20:14:21 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:14:21 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:14:21 Executing busybox-1.36.1-r5.trigger 20:14:21 OK: 268 MiB in 56 packages 20:14:21 Still waiting to schedule task 20:14:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:14:22 Removing intermediate container c4454a28fbf3 20:14:22 ---> 3046834f394a 20:14:22 Step 8/12 : WORKDIR /device-rest-go 20:14:22 ---> Running in 6785d310f628 20:14:22 Removing intermediate container 6785d310f628 20:14:22 ---> 789be34bcb3f 20:14:22 Step 9/12 : COPY go.mod vendor* ./ 20:14:22 ---> 13d9cf03e635 20:14:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:22 ---> Running in a6c983fc32a1 20:15:00 Removing intermediate container a6c983fc32a1 20:15:00 ---> ccfdc23e6732 20:15:00 Step 11/12 : COPY . . 20:15:00 ---> 77d893136f0f 20:15:00 Step 12/12 : RUN $MAKE 20:15:00 ---> Running in d8930db32571 20:15:00 noop 20:15:00 Removing intermediate container d8930db32571 20:15:00 ---> 26a743431b4b 20:15:00 Successfully built 26a743431b4b 20:15:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:01 + docker inspect -f . ci-base-image-x86_64 20:15:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:01 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 20:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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:15:02 $ docker top 5ae1508b52b1a18b4bfe039b38b2932756b8664aa1613c0c7292a487c79455cd -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:02 + go version 20:15:02 go version go1.21.0 linux/amd64 [Pipeline] } 20:15:02 $ docker stop --time=1 5ae1508b52b1a18b4bfe039b38b2932756b8664aa1613c0c7292a487c79455cd 20:15:03 $ docker rm -f --volumes 5ae1508b52b1a18b4bfe039b38b2932756b8664aa1613c0c7292a487c79455cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:04 + docker inspect -f . ci-base-image-x86_64 20:15:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:04 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 20:15:04 $ 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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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:15:05 $ docker top 11ad111256b5399054288a761d2c3051540b03d0238840405839cb2d4d14cac7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:05 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] fileExists [Pipeline] sh 20:15:06 + make test 20:15:06 go test ./... -coverprofile=coverage.out ./... 20:15:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:15:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:15:17 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 20:15:22 go vet ./... 20:15:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:26 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:15:26 $ docker stop --time=1 11ad111256b5399054288a761d2c3051540b03d0238840405839cb2d4d14cac7 20:15:29 $ docker rm -f --volumes 11ad111256b5399054288a761d2c3051540b03d0238840405839cb2d4d14cac7 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:31 + ls -al . 20:15:31 total 180 20:15:31 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:15 . 20:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:13 .. 20:15:31 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 20:13 .dockerignore 20:15:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:15 .git 20:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:13 .github 20:15:31 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:13 .gitignore 20:15:31 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:13 .golangci.yml 20:15:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:14 .semver 20:15:31 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 20:13 Attribution.txt 20:15:31 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 20:13 CHANGELOG.md 20:15:31 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 20:13 Dockerfile 20:15:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:13 GOVERNANCE.md 20:15:31 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 20:13 Jenkinsfile 20:15:31 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:13 LICENSE 20:15:31 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 20:13 Makefile 20:15:31 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:13 OWNERS.md 20:15:31 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 20:13 README.md 20:15:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 20:14 VERSION 20:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:13 bin 20:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:13 cmd 20:15:31 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:15 coverage.out 20:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:13 driver 20:15:31 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 28 20:13 go.mod 20:15:31 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 28 20:13 go.sum 20:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:13 openapi 20:15:31 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:31 + 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=8ae01c1c7c56035e6f21f3b472a9399ec9002438 --label arch=amd64 --label version=0.0.0 . 20:15:31 Sending build context to Docker daemon 16.36MB 20:15:31 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:15:31 Step 2/26 : FROM ${BASE} AS builder 20:15:31 ---> 26a743431b4b 20:15:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:15:32 ---> Running in da4f8abb5980 20:15:32 Removing intermediate container da4f8abb5980 20:15:32 ---> 44a276da8231 20:15:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:32 ---> Running in 56a67ab07ac7 20:15:32 Removing intermediate container 56a67ab07ac7 20:15:32 ---> bbd2537e0e23 20:15:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:15:32 ---> Running in cf592de70826 20:15:32 Removing intermediate container cf592de70826 20:15:32 ---> 5eab76ac819d 20:15:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:15:32 ---> Running in aaa4a3f2ee9a 20:15:32 Removing intermediate container aaa4a3f2ee9a 20:15:32 ---> db291d736cfa 20:15:32 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:32 ---> Running in f8b2b04233cb 20:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:15:33 OK: 268 MiB in 56 packages 20:15:33 Removing intermediate container f8b2b04233cb 20:15:33 ---> c513e61814e8 20:15:33 Step 8/26 : WORKDIR /device-rest-go 20:15:33 ---> Running in aa497f6cb66e 20:15:33 Removing intermediate container aa497f6cb66e 20:15:33 ---> 29972c2c4b9f 20:15:33 Step 9/26 : COPY go.mod vendor* ./ 20:15:33 ---> 619b0967e2bb 20:15:33 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:33 ---> Running in 36eccb7fda52 20:15:34 Removing intermediate container 36eccb7fda52 20:15:34 ---> c6ecef629c42 20:15:34 Step 11/26 : COPY . . 20:15:34 ---> fd766ace26da 20:15:34 Step 12/26 : RUN $MAKE 20:15:34 ---> Running in 66d5494d4b30 20:15:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:15:53 Removing intermediate container 66d5494d4b30 20:15:53 ---> 2d94b89838bb 20:15:53 Step 13/26 : FROM alpine:3.18 20:15:53 3.18: Pulling from library/alpine 20:15:53 96526aa774ef: Pulling fs layer 20:15:54 96526aa774ef: Download complete 20:15:54 96526aa774ef: Pull complete 20:15:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:15:54 Status: Downloaded newer image for alpine:3.18 20:15:54 ---> 8ca4688f4f35 20:15:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:15:54 ---> Running in f5720f000baf 20:15:54 Removing intermediate container f5720f000baf 20:15:54 ---> 2643b4baaa93 20:15:54 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:15:54 ---> Running in c384b3333c94 20:15:54 Removing intermediate container c384b3333c94 20:15:54 ---> 5304e706f3f7 20:15:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:15:54 ---> Running in 8bda330c1f19 20:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:15:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:15:55 (1/1) Installing dumb-init (1.2.5-r2) 20:15:55 Executing busybox-1.36.1-r2.trigger 20:15:55 OK: 7 MiB in 16 packages 20:15:55 Removing intermediate container 8bda330c1f19 20:15:55 ---> 1d38afa61d8e 20:15:55 Step 17/26 : RUN apk --no-cache upgrade 20:15:55 ---> Running in 96e2385857c0 20:15:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:15:56 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:15:56 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:15:56 Executing busybox-1.36.1-r5.post-upgrade 20:15:56 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:15:56 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:15:56 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:15:56 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:15:56 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:15:56 Executing busybox-1.36.1-r5.trigger 20:15:56 OK: 7 MiB in 16 packages 20:15:56 Removing intermediate container 96e2385857c0 20:15:56 ---> cc50824c47ff 20:15:56 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:15:57 ---> 73eedd69507c 20:15:57 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:15:57 ---> 91a5678e5eae 20:15:57 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:57 ---> 9b4c47d95e0c 20:15:57 Step 21/26 : EXPOSE 59986 20:15:57 ---> Running in 576806bb5d67 20:15:57 Removing intermediate container 576806bb5d67 20:15:57 ---> 1ed9cd850927 20:15:57 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:15:57 ---> Running in 59a7084b2a8d 20:15:57 Removing intermediate container 59a7084b2a8d 20:15:57 ---> b3f537e9887e 20:15:57 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:15:57 ---> Running in 31fed1fb8ffa 20:15:57 Removing intermediate container 31fed1fb8ffa 20:15:57 ---> b65debc39adf 20:15:57 Step 24/26 : LABEL arch=amd64 20:15:57 ---> Running in 1f7ea15499d0 20:15:58 Removing intermediate container 1f7ea15499d0 20:15:58 ---> 29736c0bceb3 20:15:58 Step 25/26 : LABEL git_sha=8ae01c1c7c56035e6f21f3b472a9399ec9002438 20:15:58 ---> Running in 312e34fd1fee 20:15:58 Removing intermediate container 312e34fd1fee 20:15:58 ---> 4cc6070fc927 20:15:58 Step 26/26 : LABEL version=0.0.0 20:15:58 ---> Running in f5ebbbedf2f7 20:15:58 Removing intermediate container f5ebbbedf2f7 20:15:58 ---> 101338b6afb8 20:15:58 [Warning] One or more build-args [ARCH] were not consumed 20:15:58 Successfully built 101338b6afb8 20:15:58 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:15:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:59 20:15:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:59 latest: Pulling from edgex-lftools-log-publisher 20:15:59 5eb5b503b376: Pulling fs layer 20:15:59 5c69ac0246d0: Pulling fs layer 20:15:59 ec43610c2a17: Pulling fs layer 20:15:59 3a2ae6a8a46f: Pulling fs layer 20:15:59 33b1e0a273af: Pulling fs layer 20:15:59 5d3b04190fa2: Pulling fs layer 20:15:59 2f39f015ded8: Pulling fs layer 20:15:59 3a2ae6a8a46f: Waiting 20:15:59 33b1e0a273af: Waiting 20:15:59 2f39f015ded8: Waiting 20:15:59 5d3b04190fa2: Waiting 20:15:59 5c69ac0246d0: Verifying Checksum 20:15:59 5c69ac0246d0: Download complete 20:15:59 3a2ae6a8a46f: Verifying Checksum 20:15:59 3a2ae6a8a46f: Download complete 20:15:59 33b1e0a273af: Verifying Checksum 20:15:59 33b1e0a273af: Download complete 20:15:59 5d3b04190fa2: Verifying Checksum 20:15:59 5d3b04190fa2: Download complete 20:15:59 ec43610c2a17: Verifying Checksum 20:15:59 ec43610c2a17: Download complete 20:16:00 5eb5b503b376: Verifying Checksum 20:16:00 5eb5b503b376: Download complete 20:16:00 2f39f015ded8: Download complete 20:16:01 5eb5b503b376: Pull complete 20:16:01 5c69ac0246d0: Pull complete 20:16:01 ec43610c2a17: Pull complete 20:16:01 3a2ae6a8a46f: Pull complete 20:16:01 33b1e0a273af: Pull complete 20:16:01 5d3b04190fa2: Pull complete 20:16:06 2f39f015ded8: Pull complete 20:16:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:06 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 20:16:06 $ 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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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:16:11 $ docker top 9ea8f444a690a3676cd8035df2cc4c525e2d29a862b4f467562756fa59e1001b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:11 ---> job-cost.sh 20:16:11 lf-activate-venv: SKIPPING 20:16:11 INFO: No Stack... 20:16:12 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:12 INFO: Archiving Costs [Pipeline] sh 20:16:12 + cat /w/workspace/gexfoundry_device-rest-go_PR-370/archives/cost.csv 20:16:12 + cut -d, -f6 [Pipeline] lock 20:16:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-370-1-stack-cost] 20:16:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-370-1-stack-cost] did not exist. Created. 20:16:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:13 + echo total: 0.2199999988079071 [Pipeline] stash 20:16:13 Stashed 1 file(s) [Pipeline] } 20:16:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:13 $ docker stop --time=1 9ea8f444a690a3676cd8035df2cc4c525e2d29a862b4f467562756fa59e1001b 20:16:14 $ docker rm -f --volumes 9ea8f444a690a3676cd8035df2cc4c525e2d29a862b4f467562756fa59e1001b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:37:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5424 in /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] { [Pipeline] ws 20:37:05 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:37:09 The recommended git tool is: git 20:37:16 using credential edgex-jenkins-ssh 20:37:16 Cloning the remote Git repository 20:37:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:37:16 > git init /w/workspace/device-rest-go/1 # timeout=10 20:37:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:37:16 > git --version # timeout=10 20:37:16 > git --version # 'git version 2.25.1' 20:37:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:37:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:37:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:37:21 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:37:21 Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 8ae01c1c7c56035e6f21f3b472a9399ec9002438 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:37:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } 20:37:21 > git config core.sparsecheckout # timeout=10 20:37:21 > git checkout -f 8ae01c1c7c56035e6f21f3b472a9399ec9002438 # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:25 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-370/archives ] 20:37:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives 20:37:25 total 16 20:37:25 drwxr-xr-x 3 root root 4096 Nov 28 20:16 . 20:37:25 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:16 .. 20:37:25 drwxr-xr-x 2 root root 4096 Nov 28 20:16 cost 20:37:25 -rw-r--r-- 1 root root 86 Nov 28 20:16 cost.csv 20:37:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-370/archives 20:37:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives 20:37:25 total 16 20:37:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:16 . 20:37:25 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:16 .. 20:37:25 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:16 cost 20:37:25 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:37:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:26 ---> package-listing.sh 20:37:26 ++ facter osfamily 20:37:26 ++ tr '[:upper:]' '[:lower:]' 20:37:27 + OS_FAMILY=debian 20:37:27 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-370 20:37:27 + START_PACKAGES=/tmp/packages_start.txt 20:37:27 + END_PACKAGES=/tmp/packages_end.txt 20:37:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:27 + PACKAGES=/tmp/packages_start.txt 20:37:27 + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' 20:37:27 + PACKAGES=/tmp/packages_end.txt 20:37:27 + case "${OS_FAMILY}" in 20:37:27 + dpkg -l 20:37:27 + grep '^ii' 20:37:27 + '[' -f /tmp/packages_start.txt ']' 20:37:27 + '[' -f /tmp/packages_end.txt ']' 20:37:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:27 + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' 20:37:27 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ 20:37:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ [Pipeline] echo 20:37:27 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:37:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:28 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 20:37:28 $ 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-370/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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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:28 $ docker top 0430d25f6a9ea65ca4b06be589c576527d183d6669f73d8290b79506a57444f1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:29 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:29 + mkdir -p /var/log/sysstat [Pipeline] sh 20:37:29 + ls /var/log/sa-host 20:37:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:29 provisioning config files... 20:37:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config2428583720152780329tmp [Pipeline] { [Pipeline] echo 20:37:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:30 ---> create-netrc.sh [Pipeline] } 20:37:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:37:30 ---> python-tools-install.sh [Pipeline] echo 20:37:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:31 ---> sudo-logs.sh 20:37:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:31 ---> job-cost.sh 20:37:31 lf-activate-venv: SKIPPING 20:37:31 DEBUG: total: 0.2199999988079071 20:37:31 INFO: Retrieving Stack Cost... 20:37:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:32 INFO: Archiving Costs [Pipeline] echo 20:37:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:32 ---> logs-deploy.sh 20:37:32 lf-activate-venv: SKIPPING 20:37:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-370/1 20:37:32 INFO: archiving workspace using pattern(s): 20:37:33 Archives upload complete. 20:37:33 INFO: archiving logs to Nexus