Pull request #374 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66635c1e5c587fcd8409417b619d074d39d777e2+291482f778a08bdc345d5637fe0e8ffcfe52633f (ca91830ca5b89f3af32f4126333a4506a2e2d84a) 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-ssh6296479204279735300.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-ssh17034995866013990297.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-374/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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh623955918636320314.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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18172350886890638610.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-ssh8018369505813542056.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-374/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-374/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh737291167632354057.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 Running on prd-ubuntu20.04-docker-8c-8g-25063 in /w/workspace/gexfoundry_device-rest-go_PR-374 [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-374 # 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 291482f778a08bdc345d5637fe0e8ffcfe52633f into PR head commit 66635c1e5c587fcd8409417b619d074d39d777e2 Merge succeeded, producing 66635c1e5c587fcd8409417b619d074d39d777e2 Checking out Revision 66635c1e5c587fcd8409417b619d074d39d777e2 (PR-374) 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/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # 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 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:18:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:18:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:18:16 ========================================================= 20:18:16 EdgeX Global Pipelines Version Info 20:18:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:18:17 ------------------- 20:18:17 stable info: 20:18:17 ------------------- 20:18:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:18:17 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:18:17 Message: update stable to v1.0.258 20:18:17 ------------------- 20:18:17 experimental info: 20:18:17 ------------------- 20:18:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:18:17 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:18:17 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:18:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo 20:18:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo 20:18:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo 20:18:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo 20:18:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66635c1 [Pipeline] echo 20:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:20 provisioning config files... 20:18:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config14183949081250960362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:20 ---> ****-login.sh 20:18:20 nexus3.edgexfoundry.org:10001 20:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:21 Configure a credential helper to remove this warning. See 20:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:21 20:18:21 Login Succeeded 20:18:21 nexus3.edgexfoundry.org:10002 20:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:21 Configure a credential helper to remove this warning. See 20:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:21 20:18:21 Login Succeeded 20:18:21 nexus3.edgexfoundry.org:10003 20:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:21 Configure a credential helper to remove this warning. See 20:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:21 20:18:21 Login Succeeded 20:18:21 nexus3.edgexfoundry.org:10004 20:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:21 Configure a credential helper to remove this warning. See 20:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:21 20:18:21 Login Succeeded 20:18:21 ****.io 20:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:21 Configure a credential helper to remove this warning. See 20:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:21 20:18:21 Login Succeeded 20:18:21 ---> ****-login.sh ends [Pipeline] } 20:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:18:22 + git rev-list -1 --merges 66635c1e5c587fcd8409417b619d074d39d777e2~1..66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo 20:18:22 -----------> git rev-list -1 --merges 66635c1e5c587fcd8409417b619d074d39d777e2~1..66635c1e5c587fcd8409417b619d074d39d777e2 66635c1e5c587fcd8409417b619d074d39d777e2 [false] [Pipeline] sh 20:18:23 + git log --format=format:%s -1 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo 20:18:23 ========================================================= 20:18:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:18:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:23 + git log --format=format:%s -1 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo 20:18:23 [semverPrep] GIT_COMMIT: 66635c1e5c587fcd8409417b619d074d39d777e2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:18:23 [semverPrep] This is not a build commit. [Pipeline] sh 20:18:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:18:24 + grep -v github /etc/ssh/ssh_known_hosts 20:18:24 + [ -e /tmp/ssh_known_hosts ] 20:18:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:18:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:18:24 + sudo tee -a /etc/ssh/ssh_known_hosts 20:18:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:24 20:18:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:18:25 b85a868b505f: Pulling fs layer 20:18:25 e2be974225ed: Pulling fs layer 20:18:25 339a4e72a1f5: Pulling fs layer 20:18:25 988bab9f4d93: Pulling fs layer 20:18:25 1469e6f7b9e6: Pulling fs layer 20:18:25 eaf3925da568: Pulling fs layer 20:18:25 bab4dde63d76: Pulling fs layer 20:18:25 bde34c3a00c8: Pulling fs layer 20:18:25 b352a97aabf1: Pulling fs layer 20:18:25 4872d77fe225: Pulling fs layer 20:18:25 5851b861e8e6: Pulling fs layer 20:18:25 1469e6f7b9e6: Waiting 20:18:25 b352a97aabf1: Waiting 20:18:25 4872d77fe225: Waiting 20:18:25 eaf3925da568: Waiting 20:18:25 bab4dde63d76: Waiting 20:18:25 bde34c3a00c8: Waiting 20:18:25 988bab9f4d93: Waiting 20:18:25 5851b861e8e6: Waiting 20:18:25 e2be974225ed: Verifying Checksum 20:18:25 e2be974225ed: Download complete 20:18:25 988bab9f4d93: Verifying Checksum 20:18:25 988bab9f4d93: Download complete 20:18:25 1469e6f7b9e6: Verifying Checksum 20:18:25 1469e6f7b9e6: Download complete 20:18:25 339a4e72a1f5: Verifying Checksum 20:18:25 339a4e72a1f5: Download complete 20:18:25 eaf3925da568: Verifying Checksum 20:18:25 eaf3925da568: Download complete 20:18:25 bde34c3a00c8: Download complete 20:18:25 b352a97aabf1: Verifying Checksum 20:18:25 b352a97aabf1: Download complete 20:18:25 4872d77fe225: Download complete 20:18:25 5851b861e8e6: Verifying Checksum 20:18:25 5851b861e8e6: Download complete 20:18:25 b85a868b505f: Download complete 20:18:25 bab4dde63d76: Verifying Checksum 20:18:25 bab4dde63d76: Download complete 20:18:26 b85a868b505f: Pull complete 20:18:26 e2be974225ed: Pull complete 20:18:27 339a4e72a1f5: Pull complete 20:18:27 988bab9f4d93: Pull complete 20:18:27 1469e6f7b9e6: Pull complete 20:18:27 eaf3925da568: Pull complete 20:18:29 bab4dde63d76: Pull complete 20:18:29 bde34c3a00c8: Pull complete 20:18:29 b352a97aabf1: Pull complete 20:18:29 4872d77fe225: Pull complete 20:18:29 5851b861e8e6: Pull complete 20:18:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:29 prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container 20:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:18:32 $ docker top 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:33 [ssh-agent] Looking for ssh-agent implementation... 20:18:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:33 $ docker exec 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent 20:18:33 SSH_AUTH_SOCK=/tmp/ssh-O241PAg6ZJtY/agent.32 20:18:33 SSH_AGENT_PID=38 20:18:33 Running ssh-add (command line suppressed) 20:18:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_7514016022596812211.key (/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_7514016022596812211.key) 20:18:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:33 + git tag --points-at HEAD [Pipeline] } 20:18:33 $ docker exec --env ******** --env ******** 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent -k 20:18:34 unset SSH_AUTH_SOCK; 20:18:34 unset SSH_AGENT_PID; 20:18:34 echo Agent pid 38 killed; 20:18:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:18:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:34 [ssh-agent] Looking for ssh-agent implementation... 20:18:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:34 $ docker exec 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent 20:18:34 SSH_AUTH_SOCK=/tmp/ssh-BJ0oVzrepD8b/agent.70 20:18:34 SSH_AGENT_PID=76 20:18:34 Running ssh-add (command line suppressed) 20:18:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_8011285164242387654.key (/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_8011285164242387654.key) 20:18:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:34 + git semver init 20:18:35 2023-12-14 20:18:35,008 [run_init] DEBUG init version:0.0.0 force:False 20:18:35 2023-12-14 20:18:35,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver 20:18:35 2023-12-14 20:18:35,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-374/.semver 20:18:35 2023-12-14 20:18:35,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-374/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374, universal_newlines=False, shell=None, istream=None) 20:18:37 2023-12-14 20:18:36,807 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-374/.git/info/exclude 20:18:37 2023-12-14 20:18:36,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 with force:False 20:18:37 2023-12-14 20:18:36,808 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 20:18:37 2023-12-14 20:18:36,810 [execute] INFO git cat-file --batch-check 20:18:37 2023-12-14 20:18:36,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 20:18:37 2023-12-14 20:18:36,816 [execute] INFO git cat-file --batch 20:18:37 2023-12-14 20:18:36,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 20:18:37 2023-12-14 20:18:36,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 20:18:37 0.0.0 [Pipeline] } 20:18:37 $ docker exec --env ******** --env ******** 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent -k 20:18:37 unset SSH_AUTH_SOCK; 20:18:37 unset SSH_AGENT_PID; 20:18:37 echo Agent pid 76 killed; 20:18:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:37 + git semver [Pipeline] } 20:18:37 $ docker stop --time=1 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 20:18:39 $ docker rm -f --volumes 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:18:39 Stashed 1 file(s) [Pipeline] echo 20:18:40 [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:18:40 provisioning config files... 20:18:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config349000005865249969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:41 ---> ****-login.sh 20:18:41 nexus3.edgexfoundry.org:10001 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 nexus3.edgexfoundry.org:10002 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 nexus3.edgexfoundry.org:10003 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 nexus3.edgexfoundry.org:10004 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 ****.io 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 ---> ****-login.sh ends [Pipeline] } 20:18:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:18:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:18:42 ========================================================= 20:18:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:18:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:42 + 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:18:42 Sending build context to Docker daemon 16.31MB 20:18:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:18:42 Step 2/12 : FROM ${BASE} AS builder 20:18:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:18:42 7264a8db6415: Pulling fs layer 20:18:42 c4d48a809fc2: Pulling fs layer 20:18:42 4f1c88b9dad5: Pulling fs layer 20:18:42 ad3a456e5733: Pulling fs layer 20:18:42 69c7f0334f64: Pulling fs layer 20:18:42 1f1c1a5573a3: Pulling fs layer 20:18:42 ce7588e14bc9: Pulling fs layer 20:18:42 b5e4710f87ac: Pulling fs layer 20:18:42 1f1c1a5573a3: Waiting 20:18:42 ad3a456e5733: Waiting 20:18:42 ce7588e14bc9: Waiting 20:18:42 b5e4710f87ac: Waiting 20:18:42 69c7f0334f64: Waiting 20:18:43 c4d48a809fc2: Download complete 20:18:43 ad3a456e5733: Download complete 20:18:43 69c7f0334f64: Verifying Checksum 20:18:43 69c7f0334f64: Download complete 20:18:43 7264a8db6415: Verifying Checksum 20:18:43 7264a8db6415: Download complete 20:18:43 1f1c1a5573a3: Verifying Checksum 20:18:43 1f1c1a5573a3: Download complete 20:18:43 7264a8db6415: Pull complete 20:18:43 b5e4710f87ac: Verifying Checksum 20:18:43 b5e4710f87ac: Download complete 20:18:43 c4d48a809fc2: Pull complete 20:18:43 4f1c88b9dad5: Verifying Checksum 20:18:43 4f1c88b9dad5: Download complete 20:18:43 ce7588e14bc9: Verifying Checksum 20:18:43 ce7588e14bc9: Download complete 20:18:46 4f1c88b9dad5: Pull complete 20:18:46 ad3a456e5733: Pull complete 20:18:46 69c7f0334f64: Pull complete 20:18:46 1f1c1a5573a3: Pull complete 20:18:49 ce7588e14bc9: Pull complete 20:18:49 b5e4710f87ac: Pull complete 20:18:49 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:18:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:18:49 ---> 88b5674ff536 20:18:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:18:52 ---> Running in f8b7e9f65f24 20:18:52 Removing intermediate container f8b7e9f65f24 20:18:52 ---> f1a0894f6a54 20:18:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:52 ---> Running in fe5a22c3a1ff 20:18:52 Removing intermediate container fe5a22c3a1ff 20:18:52 ---> 64fd37a72db2 20:18:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:52 ---> Running in dbb8194e32ac 20:18:52 Removing intermediate container dbb8194e32ac 20:18:52 ---> ac18da2e8367 20:18:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:18:52 ---> Running in e43c884e502d 20:18:52 Removing intermediate container e43c884e502d 20:18:52 ---> 5c1e3b5414a5 20:18:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:52 ---> Running in d51af2290240 20:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:18:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:18:53 (2/4) Installing libedit (20221030.3.1-r1) 20:18:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:18:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:18:53 Executing busybox-1.36.1-r5.trigger 20:18:53 OK: 268 MiB in 56 packages 20:18:54 Removing intermediate container d51af2290240 20:18:54 ---> dfafd9646aeb 20:18:54 Step 8/12 : WORKDIR /device-rest-go 20:18:54 ---> Running in 36ebd64e3e5b 20:18:54 Removing intermediate container 36ebd64e3e5b 20:18:54 ---> f254e982cc9d 20:18:54 Step 9/12 : COPY go.mod vendor* ./ 20:18:54 ---> 46558ba6104b 20:18:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:54 ---> Running in aa2086f83c59 20:18:55 Still waiting to schedule task 20:18:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:19:26 Removing intermediate container aa2086f83c59 20:19:26 ---> 0dad43a6db1a 20:19:26 Step 11/12 : COPY . . 20:19:27 ---> d808f3b5f6a4 20:19:27 Step 12/12 : RUN $MAKE 20:19:27 ---> Running in 3022f6422140 20:19:27 noop 20:19:27 Removing intermediate container 3022f6422140 20:19:27 ---> 7079a120f7da 20:19:27 Successfully built 7079a120f7da 20:19:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:28 + docker inspect -f . ci-base-image-x86_64 20:19:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:28 prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container 20:19:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 ******** ci-base-image-x86_64 cat 20:19:28 $ docker top 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:29 + go version 20:19:29 go version go1.21.0 linux/amd64 [Pipeline] } 20:19:29 $ docker stop --time=1 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff 20:19:30 $ docker rm -f --volumes 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:31 + docker inspect -f . ci-base-image-x86_64 20:19:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:31 prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container 20:19:31 $ 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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 ******** ci-base-image-x86_64 cat 20:19:32 $ docker top 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-374 [Pipeline] fileExists [Pipeline] sh 20:19:33 + make test 20:19:33 go test ./... -coverprofile=coverage.out ./... 20:19:34 ? github.com/edgexfoundry/device-rest-go [no test files] 20:19:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:19:44 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 20:19:52 go vet ./... 20:19:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:19:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:19:55 $ docker stop --time=1 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 20:19:58 $ docker rm -f --volumes 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:19:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:20:00 + ls -al . 20:20:00 total 180 20:20:00 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 20:19 . 20:20:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:18 .. 20:20:00 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 20:18 .dockerignore 20:20:00 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:19 .git 20:20:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 .github 20:20:00 -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 20:18 .gitignore 20:20:00 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 20:18 .golangci.yml 20:20:00 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 20:18 .semver 20:20:00 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 14 20:18 Attribution.txt 20:20:00 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 20:18 CHANGELOG.md 20:20:00 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 14 20:18 Dockerfile 20:20:00 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:18 GOVERNANCE.md 20:20:00 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 20:18 Jenkinsfile 20:20:00 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 20:18 LICENSE 20:20:00 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 14 20:18 Makefile 20:20:00 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 20:18 OWNERS.md 20:20:00 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 20:18 README.md 20:20:00 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:18 VERSION 20:20:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:18 bin 20:20:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 cmd 20:20:00 -rw-r--r-- 1 jenkins jenkins 14499 Dec 14 20:19 coverage.out 20:20:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:18 driver 20:20:00 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 14 20:18 go.mod 20:20:00 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 14 20:18 go.sum 20:20:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 openapi 20:20:00 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:00 + 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=66635c1e5c587fcd8409417b619d074d39d777e2 --label arch=amd64 --label version=0.0.0 . 20:20:00 Sending build context to Docker daemon 16.32MB 20:20:00 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:20:00 Step 2/26 : FROM ${BASE} AS builder 20:20:00 ---> 7079a120f7da 20:20:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:20:00 ---> Running in c122f961b3b3 20:20:00 Removing intermediate container c122f961b3b3 20:20:00 ---> 3c565cc67b15 20:20:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:00 ---> Running in ccf7959e7570 20:20:01 Removing intermediate container ccf7959e7570 20:20:01 ---> 44897e8dfabd 20:20:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:20:01 ---> Running in 58c21a67ac31 20:20:01 Removing intermediate container 58c21a67ac31 20:20:01 ---> 707395163c9b 20:20:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:20:01 ---> Running in efad1635cac5 20:20:01 Removing intermediate container efad1635cac5 20:20:01 ---> b02f4094a507 20:20:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:01 ---> Running in a7ca0484f2da 20:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:20:01 OK: 268 MiB in 56 packages 20:20:02 Removing intermediate container a7ca0484f2da 20:20:02 ---> ef1a4d83b9ec 20:20:02 Step 8/26 : WORKDIR /device-rest-go 20:20:02 ---> Running in f0e50c47829d 20:20:02 Removing intermediate container f0e50c47829d 20:20:02 ---> e912a1a26f1d 20:20:02 Step 9/26 : COPY go.mod vendor* ./ 20:20:02 ---> b23b04f5c67e 20:20:02 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:02 ---> Running in b63148bca8e0 20:20:03 Removing intermediate container b63148bca8e0 20:20:03 ---> a33743a7f40a 20:20:03 Step 11/26 : COPY . . 20:20:03 ---> 9eefb7f753a4 20:20:03 Step 12/26 : RUN $MAKE 20:20:03 ---> Running in ccfd37317f0c 20:20:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:20:21 Removing intermediate container ccfd37317f0c 20:20:21 ---> cd8491a56954 20:20:21 Step 13/26 : FROM alpine:3.18 20:20:21 3.18: Pulling from library/alpine 20:20:22 c926b61bad3b: Pulling fs layer 20:20:22 c926b61bad3b: Download complete 20:20:22 c926b61bad3b: Pull complete 20:20:22 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:20:22 Status: Downloaded newer image for alpine:3.18 20:20:22 ---> b541f2080109 20:20:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:20:22 ---> Running in f3597be28c10 20:20:22 Removing intermediate container f3597be28c10 20:20:22 ---> 5584ba6a5b2d 20:20:22 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:20:22 ---> Running in a7b4bfc5b0ef 20:20:22 Removing intermediate container a7b4bfc5b0ef 20:20:22 ---> 0762b82e9284 20:20:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:20:22 ---> Running in 18a61bfc7a39 20:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:20:23 (1/1) Installing dumb-init (1.2.5-r2) 20:20:23 Executing busybox-1.36.1-r5.trigger 20:20:23 OK: 7 MiB in 16 packages 20:20:23 Removing intermediate container 18a61bfc7a39 20:20:23 ---> e6b64a55b618 20:20:23 Step 17/26 : RUN apk --no-cache upgrade 20:20:23 ---> Running in 59c6e2576039 20:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:20:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:20:24 OK: 7 MiB in 16 packages 20:20:24 Removing intermediate container 59c6e2576039 20:20:24 ---> f7e654343656 20:20:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:20:25 ---> c7c2d2a8f8c4 20:20:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:20:25 ---> 2da680eaaab3 20:20:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:20:25 ---> 0c306982d1ff 20:20:25 Step 21/26 : EXPOSE 59986 20:20:25 ---> Running in 58dfc21acdf2 20:20:25 Removing intermediate container 58dfc21acdf2 20:20:25 ---> a93445e9e5fc 20:20:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:20:25 ---> Running in 1486c6172340 20:20:25 Removing intermediate container 1486c6172340 20:20:25 ---> 849e536577df 20:20:25 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:20:25 ---> Running in d82ec516b862 20:20:25 Removing intermediate container d82ec516b862 20:20:25 ---> ce344de0c243 20:20:25 Step 24/26 : LABEL arch=amd64 20:20:25 ---> Running in 6379e13dcb59 20:20:25 Removing intermediate container 6379e13dcb59 20:20:25 ---> 21a35da9d2bf 20:20:25 Step 25/26 : LABEL git_sha=66635c1e5c587fcd8409417b619d074d39d777e2 20:20:25 ---> Running in ac4b6237631b 20:20:25 Removing intermediate container ac4b6237631b 20:20:25 ---> 1c693e33ba11 20:20:25 Step 26/26 : LABEL version=0.0.0 20:20:25 ---> Running in 38c1258eecf0 20:20:25 Removing intermediate container 38c1258eecf0 20:20:25 ---> 041f4b6a482a 20:20:25 [Warning] One or more build-args [ARCH] were not consumed 20:20:25 Successfully built 041f4b6a482a 20:20:25 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:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:26 20:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:27 latest: Pulling from edgex-lftools-log-publisher 20:20:27 5eb5b503b376: Pulling fs layer 20:20:27 5c69ac0246d0: Pulling fs layer 20:20:27 ec43610c2a17: Pulling fs layer 20:20:27 3a2ae6a8a46f: Pulling fs layer 20:20:27 33b1e0a273af: Pulling fs layer 20:20:27 5d3b04190fa2: Pulling fs layer 20:20:27 2f39f015ded8: Pulling fs layer 20:20:27 3a2ae6a8a46f: Waiting 20:20:27 5d3b04190fa2: Waiting 20:20:27 2f39f015ded8: Waiting 20:20:27 5c69ac0246d0: Verifying Checksum 20:20:27 5c69ac0246d0: Download complete 20:20:27 3a2ae6a8a46f: Verifying Checksum 20:20:27 3a2ae6a8a46f: Download complete 20:20:27 33b1e0a273af: Verifying Checksum 20:20:27 33b1e0a273af: Download complete 20:20:27 5d3b04190fa2: Verifying Checksum 20:20:27 5d3b04190fa2: Download complete 20:20:27 ec43610c2a17: Verifying Checksum 20:20:27 ec43610c2a17: Download complete 20:20:27 5eb5b503b376: Verifying Checksum 20:20:27 5eb5b503b376: Download complete 20:20:28 2f39f015ded8: Download complete 20:20:28 5eb5b503b376: Pull complete 20:20:28 5c69ac0246d0: Pull complete 20:20:29 ec43610c2a17: Pull complete 20:20:29 3a2ae6a8a46f: Pull complete 20:20:29 33b1e0a273af: Pull complete 20:20:29 5d3b04190fa2: Pull complete 20:20:33 2f39f015ded8: Pull complete 20:20:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:34 prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container 20:20:34 $ 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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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:20:38 $ docker top f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:38 ---> job-cost.sh 20:20:38 lf-activate-venv: SKIPPING 20:20:38 INFO: No Stack... 20:20:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:39 INFO: Archiving Costs [Pipeline] sh 20:20:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-374/archives/cost.csv 20:20:39 + cut -d, -f6 [Pipeline] lock 20:20:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] 20:20:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] did not exist. Created. 20:20:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25067 in /w/workspace/gexfoundry_device-rest-go_PR-374 [Pipeline] { [Pipeline] ws 20:20:40 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:20:40 + echo total: 0.4399999976158142 20:20:43 The recommended git tool is: git [Pipeline] stash 20:20:43 Stashed 1 file(s) [Pipeline] } 20:20:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:20:43 $ docker stop --time=1 f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b 20:20:44 $ docker rm -f --volumes f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:20:48 using credential edgex-jenkins-ssh 20:20:48 Cloning the remote Git repository 20:20:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:20:48 > git init /w/workspace/device-rest-go/1 # timeout=10 20:20:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:20:48 > git --version # timeout=10 20:20:48 > git --version # 'git version 2.25.1' 20:20:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:20:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:20:53 Merging remotes/origin/main commit 291482f778a08bdc345d5637fe0e8ffcfe52633f into PR head commit 66635c1e5c587fcd8409417b619d074d39d777e2 20:20:53 Merge succeeded, producing 66635c1e5c587fcd8409417b619d074d39d777e2 20:20:53 Checking out Revision 66635c1e5c587fcd8409417b619d074d39d777e2 (PR-374) 20:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:20:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:20:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:20:53 > git config core.sparsecheckout # timeout=10 20:20:53 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 20:20:53 > git remote # timeout=10 20:20:53 > git config --get remote.origin.url # timeout=10 20:20:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:53 > git merge 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 20:20:53 > git rev-parse HEAD^{commit} # timeout=10 20:20:53 > git config core.sparsecheckout # timeout=10 20:20:53 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 20:20:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:20:53 > git --version # timeout=10 20:20:53 > git --version # 'git version 2.25.1' 20:20:53 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:20:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:20:55 Dload Upload Total Spent Left Speed 20:20:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86863 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh 20:20:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:20:56 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 20:20:56 tee /etc/docker/daemon.new 20:20:56 { 20:20:56 "registry-mirrors": [ 20:20:56 "https://nexus3.edgexfoundry.org:10001" 20:20:56 ], 20:20:56 "bip": "10.250.0.254/24", 20:20:56 "hosts": [ 20:20:56 "tcp://0.0.0.0:5555", 20:20:56 "unix:///var/run/docker.sock" 20:20:56 ], 20:20:56 "mtu": 1458, 20:20:56 "selinux-enabled": true, 20:20:56 "seccomp-profile": "/etc/docker/seccomp.json" 20:20:56 } [Pipeline] sh 20:20:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:20:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:15 provisioning config files... 20:21:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5278058052380049394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:15 ---> ****-login.sh 20:21:15 nexus3.edgexfoundry.org:10001 20:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:16 Configure a credential helper to remove this warning. See 20:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:16 20:21:16 Login Succeeded 20:21:16 nexus3.edgexfoundry.org:10002 20:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:16 Configure a credential helper to remove this warning. See 20:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:16 20:21:16 Login Succeeded 20:21:16 nexus3.edgexfoundry.org:10003 20:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:16 Configure a credential helper to remove this warning. See 20:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:16 20:21:16 Login Succeeded 20:21:16 nexus3.edgexfoundry.org:10004 20:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 ****.io 20:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 ---> ****-login.sh ends [Pipeline] } 20:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:18 ========================================================= 20:21:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:21:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21: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:21:19 #0 building with "default" instance using docker driver 20:21:19 20:21:19 #1 [internal] load build definition from Dockerfile 20:21:19 #1 transferring dockerfile: 1.73kB 0.0s done 20:21:20 #1 DONE 0.1s 20:21:20 20:21:20 #2 [internal] load .dockerignore 20:21:20 #2 transferring context: 193B done 20:21:20 #2 DONE 0.1s 20:21:20 20:21:20 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:21:20 #3 DONE 0.1s 20:21:20 20:21:20 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:21:20 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:21:20 #4 ... 20:21:20 20:21:20 #5 [internal] load build context 20:21:20 #5 transferring context: 95.80kB 0.0s done 20:21:20 #5 DONE 0.1s 20:21:20 20:21:20 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:21:20 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:21:20 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:21:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 20:21:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 20:21:20 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:21:20 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:21:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 20:21:20 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:21:20 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 20:21:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s 20:21:20 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:21:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.3s 20:21:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.26MB / 63.99MB 0.4s 20:21:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.4s 20:21:20 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 20:21:20 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.5s 20:21:20 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.7s 20:21:21 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.7s 20:21:21 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.21MB / 97.63MB 0.8s 20:21:21 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.0s 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.1s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.1s 20:21:21 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.3s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.74MB / 97.63MB 1.3s 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.4s 20:21:21 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.5s 20:21:21 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s 20:21:21 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:21:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 1.8s 20:21:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 1.9s 20:21:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.40MB / 97.63MB 2.0s 20:21:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 20:21:27 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 20:21:33 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 20:21:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.5s done 20:21:40 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:21:40 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 20:21:40 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:21:40 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20:21:46 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 20:21:49 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done 20:21:49 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 20:21:51 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 20:21:51 #4 DONE 31.2s 20:21:51 20:21:51 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:21:52 #6 0.645 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:21:52 #6 1.012 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:21:53 #6 1.958 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:21:53 #6 1.984 (2/4) Installing libedit (20221030.3.1-r1) 20:21:53 #6 2.008 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:21:53 #6 2.090 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:21:53 #6 2.148 Executing busybox-1.36.1-r5.trigger 20:21:53 #6 2.182 OK: 271 MiB in 56 packages 20:21:55 #6 DONE 4.0s 20:21:55 20:21:55 #7 [builder 3/7] WORKDIR /device-rest-go 20:21:55 #7 DONE 0.1s 20:21:55 20:21:55 #8 [builder 4/7] COPY go.mod vendor* ./ 20:21:55 #8 DONE 0.1s 20:21:55 20:21:55 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:22 #9 DONE 22.8s 20:22:22 20:22:22 #10 [builder 6/7] COPY . . 20:22:22 #10 DONE 0.1s 20:22:22 20:22:22 #11 [builder 7/7] RUN echo noop 20:22:22 #11 0.621 noop 20:22:22 #11 DONE 0.7s 20:22:22 20:22:22 #12 exporting to image 20:22:22 #12 exporting layers 20:22:44 #12 exporting layers 22.3s done 20:22:44 #12 writing image sha256:fb81b074986364f84897aefea046e7ee943a4dd46f5c77faedb69acc8c12a13d done 20:22:44 #12 naming to docker.io/library/ci-base-image-arm64 done 20:22:44 #12 DONE 22.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:45 + docker inspect -f . ci-base-image-arm64 20:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:45 prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container 20:22: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:22:46 $ docker top ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:47 + go version 20:22:47 go version go1.21.0 linux/arm64 [Pipeline] } 20:22:47 $ docker stop --time=1 ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 20:22:48 $ docker rm -f --volumes ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:49 + docker inspect -f . ci-base-image-arm64 20:22:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container 20:22: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:22:51 $ docker top f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:51 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:22:52 + make test 20:22:52 go test ./... -coverprofile=coverage.out ./... 20:22:56 ? github.com/edgexfoundry/device-rest-go [no test files] 20:23:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:23:52 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 20:23:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:23:52 go vet ./... 20:24:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:24:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:24:01 $ docker stop --time=1 f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 20:24:03 $ docker rm -f --volumes f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:24:04 Warning: overwriting stash ‘coverage-report’ 20:24:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:06 + ls -al . 20:24:06 total 176 20:24:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:22 . 20:24:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:20 .. 20:24:06 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 20:20 .dockerignore 20:24:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:20 .git 20:24:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 .github 20:24:06 -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 20:20 .gitignore 20:24:06 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 20:20 .golangci.yml 20:24:06 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 14 20:20 Attribution.txt 20:24:06 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 20:20 CHANGELOG.md 20:24:06 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 14 20:20 Dockerfile 20:24:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:20 GOVERNANCE.md 20:24:06 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 20:20 Jenkinsfile 20:24:06 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 20:20 LICENSE 20:24:06 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 14 20:20 Makefile 20:24:06 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 20:20 OWNERS.md 20:24:06 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 20:20 README.md 20:24:06 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:18 VERSION 20:24:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:20 bin 20:24:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 cmd 20:24:06 -rw-r--r-- 1 jenkins jenkins 14499 Dec 14 20:23 coverage.out 20:24:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:20 driver 20:24:06 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 14 20:20 go.mod 20:24:06 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 14 20:20 go.sum 20:24:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 openapi 20:24:06 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:06 + 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=66635c1e5c587fcd8409417b619d074d39d777e2 --label arch=arm64 --label version=0.0.0 . 20:24:07 #0 building with "default" instance using docker driver 20:24:07 20:24:07 #1 [internal] load .dockerignore 20:24:07 #1 transferring context: 193B done 20:24:07 #1 DONE 0.0s 20:24:07 20:24:07 #2 [internal] load build definition from Dockerfile 20:24:07 #2 transferring dockerfile: 1.73kB done 20:24:07 #2 DONE 0.0s 20:24:07 20:24:07 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:24:07 #3 DONE 0.0s 20:24:07 20:24:07 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:24:07 #4 DONE 0.3s 20:24:07 20:24:07 #5 [internal] load build context 20:24:07 #5 transferring context: 16.04kB 0.0s done 20:24:07 #5 DONE 0.1s 20:24:07 20:24:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:24:07 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:24:07 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:24:07 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:24:07 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:24:07 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 20:24:08 #6 ... 20:24:08 20:24:08 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:24:08 #7 DONE 0.2s 20:24:08 20:24:08 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:24:08 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 20:24:08 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:24:08 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 20:24:08 #6 DONE 0.9s 20:24:08 20:24:08 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:24:09 #8 0.656 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:24:09 #8 0.980 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:24:10 #8 2.013 (1/1) Installing dumb-init (1.2.5-r2) 20:24:10 #8 2.026 Executing busybox-1.36.1-r5.trigger 20:24:10 #8 2.050 OK: 8 MiB in 16 packages 20:24:12 #8 DONE 3.6s 20:24:12 20:24:12 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:24:12 #9 0.663 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:24:12 #9 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:24:12 #9 2.202 OK: 271 MiB in 56 packages 20:24:12 #9 DONE 4.3s 20:24:12 20:24:12 #10 [builder 3/7] WORKDIR /device-rest-go 20:24:12 #10 DONE 0.1s 20:24:12 20:24:12 #11 [stage-1 3/6] RUN apk --no-cache upgrade 20:24:12 #11 ... 20:24:12 20:24:12 #12 [builder 4/7] COPY go.mod vendor* ./ 20:24:12 #12 DONE 0.2s 20:24:12 20:24:12 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:14 #13 DONE 1.3s 20:24:14 20:24:14 #14 [builder 6/7] COPY . . 20:24:14 #14 DONE 0.1s 20:24:14 20:24:14 #15 [builder 7/7] RUN make build 20:24:14 #15 0.711 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:24:15 #15 ... 20:24:15 20:24:15 #11 [stage-1 3/6] RUN apk --no-cache upgrade 20:24:15 #11 1.078 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:24:15 #11 1.404 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:24:15 #11 2.552 OK: 8 MiB in 16 packages 20:24:15 #11 DONE 2.9s 20:24:15 20:24:15 #15 [builder 7/7] RUN make build 20:25:23 #15 DONE 59.4s 20:25:23 20:25:23 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:25:23 #16 DONE 0.3s 20:25:23 20:25:23 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:25:23 #17 DONE 0.1s 20:25:23 20:25:23 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:25:23 #18 DONE 0.1s 20:25:23 20:25:23 #19 exporting to image 20:25:23 #19 exporting layers 20:25:23 #19 exporting layers 0.3s done 20:25:23 #19 writing image sha256:6fdf688b46e9d9cdb81305c60e8fbc7927d10252521ded949b211f591ee39e33 done 20:25:23 #19 naming to docker.io/library/device-rest-arm64 done 20:25:23 #19 DONE 0.4s [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:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:25:24 20:25:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:25:25 arm64: Pulling from edgex-lftools-log-publisher 20:25:25 8998bd30e6a1: Pulling fs layer 20:25:25 04944245beec: Pulling fs layer 20:25:25 699f458cf7ca: Pulling fs layer 20:25:25 765212b225bb: Pulling fs layer 20:25:25 f23df028b6ca: Pulling fs layer 20:25:25 d65c8cfc05b1: Pulling fs layer 20:25:25 2437ff75d9bd: Pulling fs layer 20:25:25 f23df028b6ca: Waiting 20:25:25 d65c8cfc05b1: Waiting 20:25:25 2437ff75d9bd: Waiting 20:25:25 765212b225bb: Waiting 20:25:25 04944245beec: Verifying Checksum 20:25:25 04944245beec: Download complete 20:25:25 765212b225bb: Verifying Checksum 20:25:25 f23df028b6ca: Verifying Checksum 20:25:25 f23df028b6ca: Download complete 20:25:25 d65c8cfc05b1: Verifying Checksum 20:25:25 d65c8cfc05b1: Download complete 20:25:25 699f458cf7ca: Verifying Checksum 20:25:25 699f458cf7ca: Download complete 20:25:26 8998bd30e6a1: Verifying Checksum 20:25:26 8998bd30e6a1: Download complete 20:25:28 2437ff75d9bd: Verifying Checksum 20:25:28 2437ff75d9bd: Download complete 20:25:32 8998bd30e6a1: Pull complete 20:25:32 04944245beec: Pull complete 20:25:34 699f458cf7ca: Pull complete 20:25:34 765212b225bb: Pull complete 20:25:35 f23df028b6ca: Pull complete 20:25:35 d65c8cfc05b1: Pull complete 20:26:02 2437ff75d9bd: Pull complete 20:26:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:02 prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container 20:26:02 $ 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:26:04 $ docker top 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:05 ---> job-cost.sh 20:26:05 lf-activate-venv: SKIPPING 20:26:05 INFO: No Stack... 20:26:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:26:07 INFO: Archiving Costs [Pipeline] sh 20:26:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:26:07 + cut -d, -f6 [Pipeline] lock 20:26:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] 20:26:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] did not exist. Created. 20:26:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:07 /w/workspace/device-rest-go/1@tmp/durable-8596b3a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:26:08 + echo total: 0.2199999988079071 [Pipeline] stash 20:26:08 Warning: overwriting stash ‘stack-cost’ 20:26:08 Stashed 1 file(s) [Pipeline] } 20:26:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:26:08 $ docker stop --time=1 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 20:26:10 $ docker rm -f --volumes 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 [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:26:11 provisioning config files... 20:26:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config10289554882583891253tmp [Pipeline] { [Pipeline] sh 20:26:12 + set +x 20:26:12 + + bash -scurl -- -s 20:26:12 https://codecov.io/bash 20:26:12 20:26:12 _____ _ 20:26:12 / ____| | | 20:26:12 | | ___ __| | ___ ___ _____ __ 20:26:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:26:12 | |___| (_) | (_| | __/ (_| (_) \ V / 20:26:12 \_____\___/ \__,_|\___|\___\___/ \_/ 20:26:12 Bash-1.0.6 20:26:12 20:26:12 20:26:12 ==> git version 2.25.1 found 20:26:12 ==> 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:26:12 Release-Date: 2020-01-08 20:26:12 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:26:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:26:12 ==> Jenkins CI detected. 20:26:12 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-374 20:26:12 project root: . 20:26:12 --> token set from env 20:26:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:26:12 ==> Running gcov in . (disable via -X gcov) 20:26:12 ==> Python coveragepy not found 20:26:12 ==> Searching for coverage reports in: 20:26:12 + . 20:26:12 -> Found 1 reports 20:26:12 ==> Detecting git/mercurial file structure 20:26:12 ==> Reading reports 20:26:12 + ./coverage.out bytes=14499 20:26:12 ==> Appending adjustments 20:26:12 https://docs.codecov.io/docs/fixing-reports 20:26:12 + Found adjustments 20:26:12 ==> Gzipping contents 20:26:12 4.0K /tmp/codecov.GEtfA0.gz 20:26:12 ==> Uploading reports 20:26:12 url: https://codecov.io 20:26:12 query: branch=PR-374&commit=66635c1e5c587fcd8409417b619d074d39d777e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-374%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=374&job=&cmd_args= 20:26:12 -> Pinging Codecov 20:26:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-374&commit=66635c1e5c587fcd8409417b619d074d39d777e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-374%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=374&job=&cmd_args= 20:26:12 -> Uploading to 20:26:12 https://storage.googleapis.com/codecov/v4/raw/2023-12-14/4E5D53B4F1F92C436F7061BF334D961C/66635c1e5c587fcd8409417b619d074d39d777e2/2ab75ab1-e59a-453c-9dda-d0863e9569d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T202612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d80e442582591d66382e97d622ab79e81eae2b8139dbc788a35a06590ee8082c 20:26:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:26:12 Dload Upload Total Spent Left Speed 20:26:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9793 --:--:-- --:--:-- --:--:-- 9793 20:26:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] } 20:26:12 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:26:16 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-374/archives ] 20:26:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-374/archives 20:26:16 total 16 20:26:16 drwxr-xr-x 3 root root 4096 Dec 14 20:20 . 20:26:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 20:20 .. 20:26:16 drwxr-xr-x 2 root root 4096 Dec 14 20:20 cost 20:26:16 -rw-r--r-- 1 root root 87 Dec 14 20:20 cost.csv 20:26:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-374/archives 20:26:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-374/archives 20:26:16 total 16 20:26:16 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 20:20 . 20:26:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 20:20 .. 20:26:16 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 20:20 cost 20:26:16 -rw-r--r-- 1 jenkins jenkins 87 Dec 14 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:26:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:26:17 ---> package-listing.sh 20:26:17 ++ facter osfamily 20:26:17 ++ tr '[:upper:]' '[:lower:]' 20:26:17 + OS_FAMILY=debian 20:26:17 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-374 20:26:17 + START_PACKAGES=/tmp/packages_start.txt 20:26:17 + END_PACKAGES=/tmp/packages_end.txt 20:26:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:26:17 + PACKAGES=/tmp/packages_start.txt 20:26:17 + '[' /w/workspace/gexfoundry_device-rest-go_PR-374 ']' 20:26:17 + PACKAGES=/tmp/packages_end.txt 20:26:17 + case "${OS_FAMILY}" in 20:26:17 + dpkg -l 20:26:17 + grep '^ii' 20:26:17 + '[' -f /tmp/packages_start.txt ']' 20:26:17 + '[' -f /tmp/packages_end.txt ']' 20:26:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:26:17 + '[' /w/workspace/gexfoundry_device-rest-go_PR-374 ']' 20:26:17 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-374/archives/ 20:26:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-374/archives/ [Pipeline] echo 20:26:17 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-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:26:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:18 prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container 20:26:18 $ 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-374/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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:26:18 $ docker top 9c6abfeb8ae8232130cb6f80cef4a8dcf7ea6c698fcf6b2fa83813ea5d99c88f -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:19 + touch /tmp/pre-build-complete [Pipeline] sh 20:26:19 + mkdir -p /var/log/sysstat [Pipeline] sh 20:26:19 + ls /var/log/sa-host 20:26:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:20 provisioning config files... 20:26:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config528066296222182715tmp [Pipeline] { [Pipeline] echo 20:26:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:26:20 ---> create-netrc.sh [Pipeline] } 20:26:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:26:21 ---> python-tools-install.sh [Pipeline] echo 20:26:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:26:21 ---> sudo-logs.sh 20:26:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:26:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:26:22 ---> job-cost.sh 20:26:22 lf-activate-venv: SKIPPING 20:26:22 DEBUG: total: 0.4399999976158142 20:26:22 INFO: Retrieving Stack Cost... 20:26:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:26:22 INFO: Archiving Costs [Pipeline] echo 20:26:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:26:22 ---> logs-deploy.sh 20:26:22 lf-activate-venv: SKIPPING 20:26:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-374/1 20:26:22 INFO: archiving workspace using pattern(s): 20:26:23 Archives upload complete. 20:26:23 INFO: archiving logs to Nexus