Pull request #208 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 726a0862c151fa004b64a68a5edba4d6c226587e+573a93dc585fd2e24dadc7fb4d4ae830a990380c (af208766ccc0a3e6946ec161ff7c1778117efd41) 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-ssh5783420839647942098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13997465443545275248.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-208/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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8827637574025974679.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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10374308895476769276.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11074662983846855531.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-208/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-208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6889678848214089354.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21701 in /w/workspace/gexfoundry_device-rest-go_PR-208 [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-208 # 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 573a93dc585fd2e24dadc7fb4d4ae830a990380c into PR head commit 726a0862c151fa004b64a68a5edba4d6c226587e Merge succeeded, producing 726a0862c151fa004b64a68a5edba4d6c226587e Checking out Revision 726a0862c151fa004b64a68a5edba4d6c226587e (PR-208) > 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/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # 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 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:10 ========================================================= 20:04:10 EdgeX Global Pipelines Version Info 20:04:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:10 ------------------- 20:04:10 stable info: 20:04:10 ------------------- 20:04:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:10 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:04:10 Message: update stable to v1.0.238 20:04:11 ------------------- 20:04:11 experimental info: 20:04:11 ------------------- 20:04:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:11 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:04:11 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 726a086 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:13 provisioning config files... 20:04:13 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config6719683641889359747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:13 ---> docker-login.sh 20:04:13 nexus3.edgexfoundry.org:10001 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10002 20:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:14 Configure a credential helper to remove this warning. See 20:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:14 20:04:14 Login Succeeded 20:04:14 nexus3.edgexfoundry.org:10003 20:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:14 Configure a credential helper to remove this warning. See 20:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:14 20:04:14 Login Succeeded 20:04:14 nexus3.edgexfoundry.org:10004 20:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:14 Configure a credential helper to remove this warning. See 20:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:14 20:04:14 Login Succeeded 20:04:14 docker.io 20:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:15 Configure a credential helper to remove this warning. See 20:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:15 20:04:15 Login Succeeded 20:04:15 ---> docker-login.sh ends [Pipeline] } 20:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:15 + git rev-list -1 --merges 726a0862c151fa004b64a68a5edba4d6c226587e~1..726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo 20:04:15 -----------> git rev-list -1 --merges 726a0862c151fa004b64a68a5edba4d6c226587e~1..726a0862c151fa004b64a68a5edba4d6c226587e 726a0862c151fa004b64a68a5edba4d6c226587e [false] [Pipeline] sh 20:04:16 + git log --format=format:%s -1 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo 20:04:16 ========================================================= 20:04:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:16 + git log --format=format:%s -1 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo 20:04:16 [semverPrep] GIT_COMMIT: 726a0862c151fa004b64a68a5edba4d6c226587e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:04:16 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:17 + grep -v github /etc/ssh/ssh_known_hosts 20:04:17 + [ -e /tmp/ssh_known_hosts ] 20:04:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:17 20:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:17 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:17 b85a868b505f: Pulling fs layer 20:04:17 e2be974225ed: Pulling fs layer 20:04:17 339a4e72a1f5: Pulling fs layer 20:04:17 988bab9f4d93: Pulling fs layer 20:04:17 1469e6f7b9e6: Pulling fs layer 20:04:17 eaf3925da568: Pulling fs layer 20:04:17 bab4dde63d76: Pulling fs layer 20:04:17 bde34c3a00c8: Pulling fs layer 20:04:17 b352a97aabf1: Pulling fs layer 20:04:17 4872d77fe225: Pulling fs layer 20:04:17 5851b861e8e6: Pulling fs layer 20:04:17 bab4dde63d76: Waiting 20:04:17 bde34c3a00c8: Waiting 20:04:17 b352a97aabf1: Waiting 20:04:17 4872d77fe225: Waiting 20:04:17 5851b861e8e6: Waiting 20:04:17 988bab9f4d93: Waiting 20:04:17 1469e6f7b9e6: Waiting 20:04:17 eaf3925da568: Waiting 20:04:17 e2be974225ed: Verifying Checksum 20:04:17 e2be974225ed: Download complete 20:04:17 988bab9f4d93: Verifying Checksum 20:04:17 988bab9f4d93: Download complete 20:04:18 1469e6f7b9e6: Verifying Checksum 20:04:18 1469e6f7b9e6: Download complete 20:04:18 339a4e72a1f5: Verifying Checksum 20:04:18 339a4e72a1f5: Download complete 20:04:18 eaf3925da568: Verifying Checksum 20:04:18 eaf3925da568: Download complete 20:04:18 bde34c3a00c8: Download complete 20:04:18 b352a97aabf1: Download complete 20:04:18 4872d77fe225: Download complete 20:04:18 5851b861e8e6: Verifying Checksum 20:04:18 5851b861e8e6: Download complete 20:04:18 b85a868b505f: Verifying Checksum 20:04:18 b85a868b505f: Download complete 20:04:18 bab4dde63d76: Verifying Checksum 20:04:19 b85a868b505f: Pull complete 20:04:19 e2be974225ed: Pull complete 20:04:19 339a4e72a1f5: Pull complete 20:04:20 988bab9f4d93: Pull complete 20:04:20 1469e6f7b9e6: Pull complete 20:04:20 eaf3925da568: Pull complete 20:04:22 bab4dde63d76: Pull complete 20:04:22 bde34c3a00c8: Pull complete 20:04:22 b352a97aabf1: Pull complete 20:04:22 4872d77fe225: Pull complete 20:04:22 5851b861e8e6: Pull complete 20:04:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:22 prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container 20:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:24 $ docker top 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 -eo pid,comm 20:04:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:04:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:24 [ssh-agent] Looking for ssh-agent implementation... 20:04:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:24 $ docker exec 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent 20:04:24 SSH_AUTH_SOCK=/tmp/ssh-f4K86ni8lUN4/agent.34 20:04:24 SSH_AGENT_PID=40 20:04:24 Running ssh-add (command line suppressed) 20:04:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8149550404362866339.key (/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8149550404362866339.key) 20:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:25 + git tag --points-at HEAD [Pipeline] } 20:04:25 $ docker exec --env ******** --env ******** 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent -k 20:04:25 unset SSH_AUTH_SOCK; 20:04:25 unset SSH_AGENT_PID; 20:04:25 echo Agent pid 40 killed; 20:04:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:25 [ssh-agent] Looking for ssh-agent implementation... 20:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:25 $ docker exec 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent 20:04:25 SSH_AUTH_SOCK=/tmp/ssh-oS2UaMC7CK45/agent.73 20:04:25 SSH_AGENT_PID=79 20:04:25 Running ssh-add (command line suppressed) 20:04:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8471160779914845370.key (/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8471160779914845370.key) 20:04:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:26 + git semver init 20:04:26 2022-08-01 20:04:26,468 [run_init] DEBUG init version:0.0.0 force:False 20:04:26 2022-08-01 20:04:26,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver 20:04:26 2022-08-01 20:04:26,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-208/.semver 20:04:26 2022-08-01 20:04:26,469 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-208/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208, universal_newlines=False, shell=None, istream=None) 20:04:27 2022-08-01 20:04:27,359 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-208/.git/info/exclude 20:04:27 2022-08-01 20:04:27,360 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 with force:False 20:04:27 2022-08-01 20:04:27,360 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 20:04:27 2022-08-01 20:04:27,364 [execute] INFO git cat-file --batch-check 20:04:27 2022-08-01 20:04:27,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) 20:04:27 2022-08-01 20:04:27,370 [execute] INFO git cat-file --batch 20:04:27 2022-08-01 20:04:27,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) 20:04:27 2022-08-01 20:04:27,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 20:04:27 0.0.0 [Pipeline] } 20:04:27 $ docker exec --env ******** --env ******** 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent -k 20:04:27 unset SSH_AUTH_SOCK; 20:04:27 unset SSH_AGENT_PID; 20:04:27 echo Agent pid 79 killed; 20:04:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:28 + git semver [Pipeline] } 20:04:28 $ docker stop --time=1 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 20:04:29 $ docker rm -f 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:30 Stashed 1 file(s) [Pipeline] echo 20:04:30 [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:04:31 provisioning config files... 20:04:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config1026307911499354921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:31 ---> docker-login.sh 20:04:31 nexus3.edgexfoundry.org:10001 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 nexus3.edgexfoundry.org:10002 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 nexus3.edgexfoundry.org:10003 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 nexus3.edgexfoundry.org:10004 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 docker.io 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:32 Configure a credential helper to remove this warning. See 20:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:32 20:04:32 Login Succeeded 20:04:32 ---> docker-login.sh ends [Pipeline] } 20:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:32 ========================================================= 20:04:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:33 Sending build context to Docker daemon 10.69MB 20:04:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:04:33 Step 2/12 : FROM ${BASE} AS builder 20:04:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:33 2408cc74d12b: Pulling fs layer 20:04:33 ea60b727a1ce: Pulling fs layer 20:04:33 30c4a7721957: Pulling fs layer 20:04:33 370296b7ddb6: Pulling fs layer 20:04:33 7c6cee850709: Pulling fs layer 20:04:33 39a5fcdaea64: Pulling fs layer 20:04:33 d94ebbe4e438: Pulling fs layer 20:04:33 bcfd1f05c69d: Pulling fs layer 20:04:33 59ccb84bbe0f: Pulling fs layer 20:04:33 370296b7ddb6: Waiting 20:04:33 59ccb84bbe0f: Waiting 20:04:33 39a5fcdaea64: Waiting 20:04:33 d94ebbe4e438: Waiting 20:04:33 bcfd1f05c69d: Waiting 20:04:33 30c4a7721957: Verifying Checksum 20:04:33 30c4a7721957: Download complete 20:04:33 ea60b727a1ce: Verifying Checksum 20:04:33 ea60b727a1ce: Download complete 20:04:33 7c6cee850709: Verifying Checksum 20:04:33 7c6cee850709: Download complete 20:04:33 39a5fcdaea64: Verifying Checksum 20:04:33 39a5fcdaea64: Download complete 20:04:33 2408cc74d12b: Verifying Checksum 20:04:33 2408cc74d12b: Download complete 20:04:33 d94ebbe4e438: Verifying Checksum 20:04:33 d94ebbe4e438: Download complete 20:04:33 2408cc74d12b: Pull complete 20:04:33 ea60b727a1ce: Pull complete 20:04:33 30c4a7721957: Pull complete 20:04:33 59ccb84bbe0f: Verifying Checksum 20:04:33 59ccb84bbe0f: Download complete 20:04:34 bcfd1f05c69d: Verifying Checksum 20:04:34 bcfd1f05c69d: Download complete 20:04:34 370296b7ddb6: Verifying Checksum 20:04:34 370296b7ddb6: Download complete 20:04:38 370296b7ddb6: Pull complete 20:04:38 7c6cee850709: Pull complete 20:04:38 39a5fcdaea64: Pull complete 20:04:38 d94ebbe4e438: Pull complete 20:04:40 bcfd1f05c69d: Pull complete 20:04:41 59ccb84bbe0f: Pull complete 20:04:41 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:04:41 ---> a4fb48ad2a94 20:04:41 Step 3/12 : ARG MAKE='make build' 20:04:43 ---> Running in 10a76a26df16 20:04:43 Removing intermediate container 10a76a26df16 20:04:43 ---> 372b33aafd4a 20:04:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:43 ---> Running in b4b6ec7712d6 20:04:43 Removing intermediate container b4b6ec7712d6 20:04:43 ---> 83bc4d066b7f 20:04:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:04:43 ---> Running in ffbec2dee878 20:04:43 Removing intermediate container ffbec2dee878 20:04:43 ---> 523d6b2a0cbc 20:04:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:43 ---> Running in b58576e52bb8 20:04:44 Removing intermediate container b58576e52bb8 20:04:44 ---> 462648356a11 20:04:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:44 ---> Running in e56d7b2d58b0 20:04:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:45 Still waiting to schedule task 20:04:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:04:46 (2/4) Installing libedit (20210910.3.1-r0) 20:04:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:04:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:04:46 Executing busybox-1.35.0-r13.trigger 20:04:46 OK: 216 MiB in 55 packages 20:04:47 Removing intermediate container e56d7b2d58b0 20:04:47 ---> 7c4bf81076d8 20:04:47 Step 8/12 : WORKDIR /device-rest-go 20:04:47 ---> Running in e56c84e9a261 20:04:47 Removing intermediate container e56c84e9a261 20:04:47 ---> a03efce057f5 20:04:47 Step 9/12 : COPY go.mod vendor* ./ 20:04:47 ---> 045b159fd130 20:04:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:47 ---> Running in ea3fb8061dd9 20:05:10 Removing intermediate container ea3fb8061dd9 20:05:10 ---> 71b1e87663da 20:05:10 Step 11/12 : COPY . . 20:05:10 ---> b623799f3ad5 20:05:10 Step 12/12 : RUN $MAKE 20:05:10 ---> Running in c0f10320ba6c 20:05:10 noop 20:05:10 Removing intermediate container c0f10320ba6c 20:05:10 ---> 56890c3459af 20:05:10 Successfully built 56890c3459af 20:05:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:10 + docker inspect -f . ci-base-image-x86_64 20:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:11 prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container 20:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:11 $ docker top 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:11 + go version 20:05:11 go version go1.18.3 linux/amd64 [Pipeline] } 20:05:11 $ docker stop --time=1 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 20:05:13 $ docker rm -f 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:14 + docker inspect -f . ci-base-image-x86_64 20:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:14 prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container 20:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:14 $ docker top a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-208 [Pipeline] fileExists [Pipeline] sh 20:05:15 + make test 20:05:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:15 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:25 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 20:05:32 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:05:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:34 ./bin/test-attribution-txt.sh 20:05:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:05:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:05:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:05:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:34 $ docker stop --time=1 a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d 20:05:36 $ docker rm -f a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d [Pipeline] // withDockerContainer [Pipeline] sh 20:05:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:38 + ls -al . 20:05:38 total 172 20:05:38 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 20:05 . 20:05:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:04 .. 20:05:38 -rw-rw-r-- 1 jenkins jenkins 151 Aug 1 20:04 .dockerignore 20:05:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:05 .git 20:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:04 .github 20:05:38 -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 20:04 .gitignore 20:05:38 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 20:04 .golangci.yml 20:05:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 20:04 .semver 20:05:38 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 1 20:04 Attribution.txt 20:05:38 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 1 20:04 CHANGELOG.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 1 20:04 Dockerfile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 20:04 GOVERNANCE.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 20:04 Jenkinsfile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 20:04 LICENSE 20:05:38 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 1 20:04 Makefile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 20:04 OWNERS.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 1 20:04 README.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 20:04 VERSION 20:05:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:04 bin 20:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:04 cmd 20:05:38 -rw-r--r-- 1 jenkins jenkins 9355 Aug 1 20:05 coverage.out 20:05:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:04 driver 20:05:38 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 1 20:04 go.mod 20:05:38 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 20:04 go.sum 20:05:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:04 snap 20:05:38 -rw-rw-r-- 1 jenkins jenkins 713 Aug 1 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:38 + 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=726a0862c151fa004b64a68a5edba4d6c226587e --label arch=amd64 --label version=0.0.0 . 20:05:38 Sending build context to Docker daemon 10.7MB 20:05:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:05:38 Step 2/25 : FROM ${BASE} AS builder 20:05:38 ---> 56890c3459af 20:05:38 Step 3/25 : ARG MAKE='make build' 20:05:38 ---> Running in dbe4d00be445 20:05:38 Removing intermediate container dbe4d00be445 20:05:38 ---> f5e083d7d41c 20:05:38 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:38 ---> Running in 43578d2181ed 20:05:38 Removing intermediate container 43578d2181ed 20:05:38 ---> cf2bd7bdca65 20:05:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:05:38 ---> Running in 482053e731d0 20:05:39 Removing intermediate container 482053e731d0 20:05:39 ---> 8eef0fe5ef92 20:05:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:39 ---> Running in 504eb3208a50 20:05:39 Removing intermediate container 504eb3208a50 20:05:39 ---> dd32bf08de98 20:05:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:39 ---> Running in 4bab225110ba 20:05:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:41 OK: 216 MiB in 55 packages 20:05:41 Removing intermediate container 4bab225110ba 20:05:41 ---> 131888f81e9d 20:05:41 Step 8/25 : WORKDIR /device-rest-go 20:05:41 ---> Running in a4c9bd434d03 20:05:41 Removing intermediate container a4c9bd434d03 20:05:41 ---> 157d176f49d2 20:05:41 Step 9/25 : COPY go.mod vendor* ./ 20:05:41 ---> 31103d32a049 20:05:41 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:41 ---> Running in 95d8d8948c9c 20:05:42 Removing intermediate container 95d8d8948c9c 20:05:42 ---> 2c483098b737 20:05:42 Step 11/25 : COPY . . 20:05:42 ---> 0a275eefeb87 20:05:42 Step 12/25 : RUN $MAKE 20:05:42 ---> Running in f6fb9f66502c 20:05:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:06:01 Removing intermediate container f6fb9f66502c 20:06:01 ---> c110ee70ebf4 20:06:01 Step 13/25 : FROM alpine:3.16 20:06:01 3.16: Pulling from library/alpine 20:06:01 530afca65e2e: Pulling fs layer 20:06:01 530afca65e2e: Verifying Checksum 20:06:01 530afca65e2e: Download complete 20:06:01 530afca65e2e: Pull complete 20:06:01 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:06:01 Status: Downloaded newer image for alpine:3.16 20:06:01 ---> d7d3d98c851f 20:06:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:01 ---> Running in d1261a3be7e8 20:06:02 Removing intermediate container d1261a3be7e8 20:06:02 ---> 5e557453b120 20:06:02 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:06:02 ---> Running in 664da2e2fced 20:06:02 Removing intermediate container 664da2e2fced 20:06:02 ---> b0c297087bf1 20:06:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:06:02 ---> Running in 829946e272b6 20:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:03 (1/6) Installing dumb-init (1.2.5-r1) 20:06:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:03 (3/6) Installing libsodium (1.0.18-r0) 20:06:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:03 (5/6) Installing libzmq (4.3.4-r0) 20:06:03 (6/6) Installing zeromq (4.3.4-r0) 20:06:03 Executing busybox-1.35.0-r15.trigger 20:06:03 OK: 8 MiB in 20 packages 20:06:03 Removing intermediate container 829946e272b6 20:06:03 ---> 5b006c0b0867 20:06:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:06:03 ---> 14d9c347b2eb 20:06:03 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:06:04 ---> 44fb123cbd1c 20:06:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:04 ---> 97a632fd139e 20:06:04 Step 20/25 : EXPOSE 59986 20:06:04 ---> Running in ba016caea667 20:06:04 Removing intermediate container ba016caea667 20:06:04 ---> d8f729d9f39f 20:06:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:06:04 ---> Running in 14c06a2458a5 20:06:04 Removing intermediate container 14c06a2458a5 20:06:04 ---> fbc79196111d 20:06:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:04 ---> Running in bed9e1769519 20:06:04 Removing intermediate container bed9e1769519 20:06:04 ---> 116834dae9e0 20:06:04 Step 23/25 : LABEL arch=amd64 20:06:04 ---> Running in 5444abee09a7 20:06:04 Removing intermediate container 5444abee09a7 20:06:04 ---> 10911275a3cc 20:06:04 Step 24/25 : LABEL git_sha=726a0862c151fa004b64a68a5edba4d6c226587e 20:06:04 ---> Running in b033b0c1f013 20:06:04 Removing intermediate container b033b0c1f013 20:06:04 ---> 0ab279066dab 20:06:04 Step 25/25 : LABEL version=0.0.0 20:06:04 ---> Running in 1bc8649fe338 20:06:04 Removing intermediate container 1bc8649fe338 20:06:04 ---> 7a435171f4cb 20:06:04 [Warning] One or more build-args [ARCH] were not consumed 20:06:04 Successfully built 7a435171f4cb 20:06:04 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:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:05 20:06:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:06 latest: Pulling from edgex-lftools-log-publisher 20:06:06 5eb5b503b376: Pulling fs layer 20:06:06 5c69ac0246d0: Pulling fs layer 20:06:06 ec43610c2a17: Pulling fs layer 20:06:06 3a2ae6a8a46f: Pulling fs layer 20:06:06 33b1e0a273af: Pulling fs layer 20:06:06 5d3b04190fa2: Pulling fs layer 20:06:06 2f39f015ded8: Pulling fs layer 20:06:06 5d3b04190fa2: Waiting 20:06:06 2f39f015ded8: Waiting 20:06:06 5c69ac0246d0: Verifying Checksum 20:06:06 5c69ac0246d0: Download complete 20:06:06 3a2ae6a8a46f: Download complete 20:06:06 33b1e0a273af: Verifying Checksum 20:06:06 33b1e0a273af: Download complete 20:06:06 5d3b04190fa2: Verifying Checksum 20:06:06 5d3b04190fa2: Download complete 20:06:06 ec43610c2a17: Verifying Checksum 20:06:06 ec43610c2a17: Download complete 20:06:06 5eb5b503b376: Download complete 20:06:07 2f39f015ded8: Download complete 20:06:07 5eb5b503b376: Pull complete 20:06:07 5c69ac0246d0: Pull complete 20:06:08 ec43610c2a17: Pull complete 20:06:08 3a2ae6a8a46f: Pull complete 20:06:08 33b1e0a273af: Pull complete 20:06:08 5d3b04190fa2: Pull complete 20:06:12 2f39f015ded8: Pull complete 20:06:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:13 prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container 20:06:13 $ 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-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:15 $ docker top 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:15 ---> job-cost.sh 20:06:15 lf-activate-venv: SKIPPING 20:06:15 INFO: No Stack... 20:06:15 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:16 INFO: Archiving Costs [Pipeline] sh 20:06:16 + + catcut /w/workspace/gexfoundry_device-rest-go_PR-208/archives/cost.csv -d, 20:06:16 -f6 [Pipeline] lock 20:06:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] 20:06:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] did not exist. Created. 20:06:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:17 Stashed 1 file(s) [Pipeline] } 20:06:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:17 $ docker stop --time=1 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f 20:06:18 $ docker rm -f 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21702 in /w/workspace/gexfoundry_device-rest-go_PR-208 [Pipeline] { [Pipeline] ws 20:06:28 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:28 The recommended git tool is: git 20:06:35 using credential edgex-jenkins-ssh 20:06:35 Cloning the remote Git repository 20:06:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:35 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:35 > git --version # timeout=10 20:06:35 > git --version # 'git version 2.25.1' 20:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:38 Merging remotes/origin/main commit 573a93dc585fd2e24dadc7fb4d4ae830a990380c into PR head commit 726a0862c151fa004b64a68a5edba4d6c226587e 20:06:38 Merge succeeded, producing 726a0862c151fa004b64a68a5edba4d6c226587e 20:06:38 Checking out Revision 726a0862c151fa004b64a68a5edba4d6c226587e (PR-208) 20:06:38 > git config core.sparsecheckout # timeout=10 20:06:38 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 20:06:38 > git remote # timeout=10 20:06:38 > git config --get remote.origin.url # timeout=10 20:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:38 > git merge 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 20:06:38 > git rev-parse HEAD^{commit} # timeout=10 20:06:38 > git config core.sparsecheckout # timeout=10 20:06:38 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 20:06:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:06:42 > git --version # timeout=10 20:06:42 > git --version # 'git version 2.25.1' 20:06:42 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:43 Dload Upload Total Spent Left Speed 20:06:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 12332 96 11880 0 0 94285 0 --:--:-- --:--:-- --:--:-- 93543 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh 20:06:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:45 + sudo tee /etc/docker/daemon.new 20:06:45 { 20:06:45 "registry-mirrors": [ 20:06:45 "https://nexus3.edgexfoundry.org:10001" 20:06:45 ], 20:06:45 "bip": "10.250.0.254/24", 20:06:45 "hosts": [ 20:06:45 "tcp://0.0.0.0:5555", 20:06:45 "unix:///var/run/docker.sock" 20:06:45 ], 20:06:45 "mtu": 1458, 20:06:45 "selinux-enabled": true, 20:06:45 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:45 } [Pipeline] sh 20:06:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:04 provisioning config files... 20:07:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4952842678652099710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:04 ---> docker-login.sh 20:07:04 nexus3.edgexfoundry.org:10001 20:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:05 Configure a credential helper to remove this warning. See 20:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:05 20:07:05 Login Succeeded 20:07:05 nexus3.edgexfoundry.org:10002 20:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 nexus3.edgexfoundry.org:10003 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 nexus3.edgexfoundry.org:10004 20:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:06 Configure a credential helper to remove this warning. See 20:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:06 20:07:06 Login Succeeded 20:07:06 docker.io 20:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:07 Configure a credential helper to remove this warning. See 20:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:07 20:07:07 Login Succeeded 20:07:07 ---> docker-login.sh ends [Pipeline] } 20:07:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:08 ========================================================= 20:07:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:07:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:07:08 Sending build context to Docker daemon 126.5kB 20:07:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:07:09 Step 2/12 : FROM ${BASE} AS builder 20:07:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:09 b3c136eddcbf: Pulling fs layer 20:07:09 c0a3192eca97: Pulling fs layer 20:07:09 a050256f5b6f: Pulling fs layer 20:07:09 656be50a0ddc: Pulling fs layer 20:07:09 2bbca73fdf42: Pulling fs layer 20:07:09 46d945488cbd: Pulling fs layer 20:07:09 8a5474983e97: Pulling fs layer 20:07:09 329c88fbcd65: Pulling fs layer 20:07:09 2bbca73fdf42: Waiting 20:07:09 46d945488cbd: Waiting 20:07:09 8a5474983e97: Waiting 20:07:09 329c88fbcd65: Waiting 20:07:09 656be50a0ddc: Waiting 20:07:09 a050256f5b6f: Verifying Checksum 20:07:09 a050256f5b6f: Download complete 20:07:09 c0a3192eca97: Verifying Checksum 20:07:09 c0a3192eca97: Download complete 20:07:09 2bbca73fdf42: Verifying Checksum 20:07:09 2bbca73fdf42: Download complete 20:07:09 46d945488cbd: Verifying Checksum 20:07:09 46d945488cbd: Download complete 20:07:09 b3c136eddcbf: Verifying Checksum 20:07:10 b3c136eddcbf: Pull complete 20:07:10 329c88fbcd65: Verifying Checksum 20:07:10 329c88fbcd65: Download complete 20:07:10 c0a3192eca97: Pull complete 20:07:10 a050256f5b6f: Pull complete 20:07:11 8a5474983e97: Verifying Checksum 20:07:11 8a5474983e97: Download complete 20:07:12 656be50a0ddc: Verifying Checksum 20:07:12 656be50a0ddc: Download complete 20:07:24 656be50a0ddc: Pull complete 20:07:24 2bbca73fdf42: Pull complete 20:07:25 46d945488cbd: Pull complete 20:07:31 8a5474983e97: Pull complete 20:07:33 329c88fbcd65: Pull complete 20:07:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:07:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:33 ---> ff4287adb874 20:07:33 Step 3/12 : ARG MAKE='make build' 20:07:35 ---> Running in 1917ec0e5cba 20:07:36 Removing intermediate container 1917ec0e5cba 20:07:36 ---> f2b95693dc32 20:07:36 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:36 ---> Running in 5e5f7ec650e4 20:07:36 Removing intermediate container 5e5f7ec650e4 20:07:36 ---> 651ad47e1a88 20:07:36 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:07:36 ---> Running in 3329d373c91c 20:07:37 Removing intermediate container 3329d373c91c 20:07:37 ---> 0e55c0cbedeb 20:07:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:37 ---> Running in a1d2234c1966 20:07:39 Removing intermediate container a1d2234c1966 20:07:39 ---> 8b9842e1b6a1 20:07:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:39 ---> Running in 4888c0a9fd9e 20:07:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:41 (2/4) Installing libedit (20210910.3.1-r0) 20:07:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:42 Executing busybox-1.35.0-r13.trigger 20:07:42 OK: 226 MiB in 55 packages 20:07:43 Removing intermediate container 4888c0a9fd9e 20:07:43 ---> c3754fc012f4 20:07:43 Step 8/12 : WORKDIR /device-rest-go 20:07:43 ---> Running in 534f76a75a83 20:07:43 Removing intermediate container 534f76a75a83 20:07:43 ---> dab823c87069 20:07:43 Step 9/12 : COPY go.mod vendor* ./ 20:07:43 ---> 006bb2eba70a 20:07:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:43 ---> Running in 8a6c04648bdb 20:08:30 Removing intermediate container 8a6c04648bdb 20:08:30 ---> c43b8f884cb4 20:08:30 Step 11/12 : COPY . . 20:08:30 ---> af3f89c5f421 20:08:30 Step 12/12 : RUN $MAKE 20:08:30 ---> Running in 6f7e3b93ae2b 20:08:31 noop 20:08:32 Removing intermediate container 6f7e3b93ae2b 20:08:32 ---> 50b22ad2f98f 20:08:32 Successfully built 50b22ad2f98f 20:08:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:33 + docker inspect -f . ci-base-image-arm64 20:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:33 prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container 20:08:33 $ 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:08:34 $ docker top d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:35 + go version 20:08:35 go version go1.18.3 linux/arm64 [Pipeline] } 20:08:35 $ docker stop --time=1 d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 20:08:37 $ docker rm -f d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:38 + docker inspect -f . ci-base-image-arm64 20:08:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:38 prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container 20:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:08:39 $ docker top 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:40 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:41 + make test 20:08:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:42 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:04 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 55.2% of statements 20:10:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:19 ./bin/test-attribution-txt.sh 20:10:19 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:10:19 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:10:19 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:19 $ docker stop --time=1 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 20:10:21 $ docker rm -f 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:22 Warning: overwriting stash ‘coverage-report’ 20:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:23 + ls -al . 20:10:23 total 168 20:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:08 . 20:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:06 .. 20:10:23 -rw-rw-r-- 1 jenkins jenkins 151 Aug 1 20:06 .dockerignore 20:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:06 .git 20:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:06 .github 20:10:23 -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 20:06 .gitignore 20:10:23 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 20:06 .golangci.yml 20:10:23 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 1 20:06 Attribution.txt 20:10:23 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 1 20:06 CHANGELOG.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 1 20:06 Dockerfile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 20:06 GOVERNANCE.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 20:06 Jenkinsfile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 20:06 LICENSE 20:10:23 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 1 20:06 Makefile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 20:06 OWNERS.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 1 20:06 README.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 20:04 VERSION 20:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:06 bin 20:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:06 cmd 20:10:23 -rw-r--r-- 1 jenkins jenkins 9355 Aug 1 20:09 coverage.out 20:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:06 driver 20:10:23 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 1 20:06 go.mod 20:10:23 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 20:06 go.sum 20:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:06 snap 20:10:23 -rw-rw-r-- 1 jenkins jenkins 713 Aug 1 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:24 + 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=726a0862c151fa004b64a68a5edba4d6c226587e --label arch=arm64 --label version=0.0.0 . 20:10:24 Sending build context to Docker daemon 136.7kB 20:10:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:10:24 Step 2/25 : FROM ${BASE} AS builder 20:10:24 ---> 50b22ad2f98f 20:10:24 Step 3/25 : ARG MAKE='make build' 20:10:24 ---> Running in 1ee705d7fbb8 20:10:25 Removing intermediate container 1ee705d7fbb8 20:10:25 ---> 02b3a8d8012f 20:10:25 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:25 ---> Running in 17d9fea797ba 20:10:25 Removing intermediate container 17d9fea797ba 20:10:25 ---> 7434ca002660 20:10:25 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:10:25 ---> Running in 23cf2d60d3d2 20:10:25 Removing intermediate container 23cf2d60d3d2 20:10:25 ---> 7e33e3d54bb7 20:10:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:25 ---> Running in 7f0eef814f73 20:10:27 Removing intermediate container 7f0eef814f73 20:10:27 ---> 820360527cf3 20:10:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:27 ---> Running in 637b107e26ea 20:10:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:30 OK: 226 MiB in 55 packages 20:10:31 Removing intermediate container 637b107e26ea 20:10:31 ---> 731f5bd3995a 20:10:31 Step 8/25 : WORKDIR /device-rest-go 20:10:31 ---> Running in d37f6bab8070 20:10:31 Removing intermediate container d37f6bab8070 20:10:31 ---> 3e94e8ba0e92 20:10:31 Step 9/25 : COPY go.mod vendor* ./ 20:10:31 ---> 0303bfcd2a74 20:10:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:32 ---> Running in e09ffe456ec8 20:10:34 Removing intermediate container e09ffe456ec8 20:10:34 ---> ee05ce963f89 20:10:34 Step 11/25 : COPY . . 20:10:34 ---> 3a2ff729dd5d 20:10:34 Step 12/25 : RUN $MAKE 20:10:34 ---> Running in c634864d9219 20:10:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:12:42 Removing intermediate container c634864d9219 20:12:42 ---> c940e2625a16 20:12:42 Step 13/25 : FROM alpine:3.16 20:12:42 3.16: Pulling from library/alpine 20:12:42 f97344484467: Pulling fs layer 20:12:42 f97344484467: Verifying Checksum 20:12:42 f97344484467: Download complete 20:12:42 f97344484467: Pull complete 20:12:42 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:12:42 Status: Downloaded newer image for alpine:3.16 20:12:42 ---> 3d81c46cd875 20:12:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:12:42 ---> Running in e509f0c44a31 20:12:42 Removing intermediate container e509f0c44a31 20:12:42 ---> 4bfa8e2e9e4b 20:12:42 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:12:42 ---> Running in 63cdebbd30b1 20:12:42 Removing intermediate container 63cdebbd30b1 20:12:42 ---> a7e630dbfb35 20:12:42 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:12:42 ---> Running in 2075e361a83f 20:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:42 (1/6) Installing dumb-init (1.2.5-r1) 20:12:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:12:42 (3/6) Installing libsodium (1.0.18-r0) 20:12:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:12:42 (5/6) Installing libzmq (4.3.4-r0) 20:12:42 (6/6) Installing zeromq (4.3.4-r0) 20:12:42 Executing busybox-1.35.0-r15.trigger 20:12:42 OK: 8 MiB in 20 packages 20:12:42 Removing intermediate container 2075e361a83f 20:12:42 ---> 881ba0273ec7 20:12:42 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:12:42 ---> 394aca9b49ed 20:12:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:12:42 ---> 8d2c5335641d 20:12:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:12:42 ---> 7beb3a3b5f70 20:12:42 Step 20/25 : EXPOSE 59986 20:12:42 ---> Running in b7c237f1318d 20:12:42 Removing intermediate container b7c237f1318d 20:12:42 ---> ae918bfbdbf6 20:12:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:12:42 ---> Running in e2c4f3d8fb12 20:12:42 Removing intermediate container e2c4f3d8fb12 20:12:42 ---> 4f6800f85c3e 20:12:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:12:42 ---> Running in 136e6994ba6f 20:12:43 Removing intermediate container 136e6994ba6f 20:12:43 ---> 6246b8a99ccb 20:12:43 Step 23/25 : LABEL arch=arm64 20:12:43 ---> Running in c088a12892f2 20:12:43 Removing intermediate container c088a12892f2 20:12:43 ---> 11b072fc88a5 20:12:43 Step 24/25 : LABEL git_sha=726a0862c151fa004b64a68a5edba4d6c226587e 20:12:43 ---> Running in cea12b6fb467 20:12:43 Removing intermediate container cea12b6fb467 20:12:43 ---> fbd682fc1747 20:12:43 Step 25/25 : LABEL version=0.0.0 20:12:43 ---> Running in a0bc1d57de6d 20:12:44 Removing intermediate container a0bc1d57de6d 20:12:44 ---> 260ebf19bb1f 20:12:44 [Warning] One or more build-args [ARCH] were not consumed 20:12:44 Successfully built 260ebf19bb1f 20:12:44 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:44 20:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:45 arm64: Pulling from edgex-lftools-log-publisher 20:12:45 8998bd30e6a1: Pulling fs layer 20:12:45 04944245beec: Pulling fs layer 20:12:45 699f458cf7ca: Pulling fs layer 20:12:45 765212b225bb: Pulling fs layer 20:12:45 f23df028b6ca: Pulling fs layer 20:12:45 d65c8cfc05b1: Pulling fs layer 20:12:45 2437ff75d9bd: Pulling fs layer 20:12:45 f23df028b6ca: Waiting 20:12:45 d65c8cfc05b1: Waiting 20:12:45 2437ff75d9bd: Waiting 20:12:45 765212b225bb: Waiting 20:12:45 04944245beec: Verifying Checksum 20:12:45 04944245beec: Download complete 20:12:45 765212b225bb: Verifying Checksum 20:12:45 765212b225bb: Download complete 20:12:45 f23df028b6ca: Verifying Checksum 20:12:45 f23df028b6ca: Download complete 20:12:45 d65c8cfc05b1: Verifying Checksum 20:12:45 d65c8cfc05b1: Download complete 20:12:45 699f458cf7ca: Verifying Checksum 20:12:46 8998bd30e6a1: Verifying Checksum 20:12:46 8998bd30e6a1: Download complete 20:12:48 2437ff75d9bd: Verifying Checksum 20:12:48 2437ff75d9bd: Download complete 20:12:50 8998bd30e6a1: Pull complete 20:12:51 04944245beec: Pull complete 20:12:52 699f458cf7ca: Pull complete 20:12:52 765212b225bb: Pull complete 20:12:53 f23df028b6ca: Pull complete 20:12:53 d65c8cfc05b1: Pull complete 20:13:08 2437ff75d9bd: Pull complete 20:13:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container 20:13:09 $ 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:13:11 $ docker top ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:12 ---> job-cost.sh 20:13:12 lf-activate-venv: SKIPPING 20:13:12 INFO: No Stack... 20:13:13 INFO: Retrieving Pricing Info for: v3-standard-4 20:13:14 INFO: Archiving Costs [Pipeline] sh 20:13:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:13:15 + cut -d, -f6 [Pipeline] lock 20:13:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] 20:13:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] did not exist. Created. 20:13:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:15 /w/workspace/device-rest-go/1@tmp/durable-bee76c6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:13:16 + echo total: 0.10999999940395355 [Pipeline] stash 20:13:16 Warning: overwriting stash ‘stack-cost’ 20:13:16 Stashed 1 file(s) [Pipeline] } 20:13:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:16 $ docker stop --time=1 ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab 20:13:18 $ docker rm -f ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab [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:13:19 provisioning config files... 20:13:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config3335592069622411667tmp [Pipeline] { [Pipeline] sh 20:13:19 + set +x 20:13:19 + curl -s https://codecov.io/bash 20:13:19 + bash -s -- 20:13:19 20:13:19 _____ _ 20:13:19 / ____| | | 20:13:19 | | ___ __| | ___ ___ _____ __ 20:13:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:13:19 | |___| (_) | (_| | __/ (_| (_) \ V / 20:13:19 \_____\___/ \__,_|\___|\___\___/ \_/ 20:13:19 Bash-1.0.6 20:13:19 20:13:19 20:13:19 ==> git version 2.25.1 found 20:13:19 ==> 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:13:19 Release-Date: 2020-01-08 20:13:19 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:13:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:13:19 ==> Jenkins CI detected. 20:13:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-208 20:13:19 project root: . 20:13:19 --> token set from env 20:13:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:13:19 ==> Running gcov in . (disable via -X gcov) 20:13:19 ==> Python coveragepy not found 20:13:19 ==> Searching for coverage reports in: 20:13:19 + . 20:13:19 -> Found 1 reports 20:13:19 ==> Detecting git/mercurial file structure 20:13:19 ==> Reading reports 20:13:19 + ./coverage.out bytes=9355 20:13:19 ==> Appending adjustments 20:13:19 https://docs.codecov.io/docs/fixing-reports 20:13:19 + Found adjustments 20:13:19 ==> Gzipping contents 20:13:19 4.0K /tmp/codecov.CuBlMt.gz 20:13:19 ==> Uploading reports 20:13:19 url: https://codecov.io 20:13:19 query: branch=PR-208&commit=726a0862c151fa004b64a68a5edba4d6c226587e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=208&job=&cmd_args= 20:13:19 -> Pinging Codecov 20:13:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-208&commit=726a0862c151fa004b64a68a5edba4d6c226587e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=208&job=&cmd_args= 20:13:20 -> Uploading to 20:13:20 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/4E5D53B4F1F92C436F7061BF334D961C/726a0862c151fa004b64a68a5edba4d6c226587e/33cad564-567a-44c7-95e7-fc1f62b7a8b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T201319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec9b3b8f97b06076e1a9b1bdb7ce6259de1f9092388c9b8f7a70126888f8765e 20:13:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:20 Dload Upload Total Spent Left Speed 20:13:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7434 --:--:-- --:--:-- --:--:-- 7434 20:13:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] } 20:13:20 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:13:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-208/archives ] 20:13:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-208/archives 20:13:22 total 16 20:13:22 drwxr-xr-x 3 root root 4096 Aug 1 20:06 . 20:13:22 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 20:06 .. 20:13:22 drwxr-xr-x 2 root root 4096 Aug 1 20:06 cost 20:13:22 -rw-r--r-- 1 root root 86 Aug 1 20:06 cost.csv 20:13:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-208/archives 20:13:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-208/archives 20:13:22 total 16 20:13:22 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 20:06 . 20:13:22 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 20:06 .. 20:13:22 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 20:06 cost 20:13:22 -rw-r--r-- 1 jenkins jenkins 86 Aug 1 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:13:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:13:23 ---> package-listing.sh 20:13:23 ++ facter osfamily 20:13:23 ++ tr '[:upper:]' '[:lower:]' 20:13:23 + OS_FAMILY=debian 20:13:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-208 20:13:23 + START_PACKAGES=/tmp/packages_start.txt 20:13:23 + END_PACKAGES=/tmp/packages_end.txt 20:13:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:13:23 + PACKAGES=/tmp/packages_start.txt 20:13:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-208 ']' 20:13:23 + PACKAGES=/tmp/packages_end.txt 20:13:23 + case "${OS_FAMILY}" in 20:13:23 + dpkg -l 20:13:23 + grep '^ii' 20:13:23 + '[' -f /tmp/packages_start.txt ']' 20:13:23 + '[' -f /tmp/packages_end.txt ']' 20:13:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:13:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-208 ']' 20:13:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-208/archives/ 20:13:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-208/archives/ [Pipeline] echo 20:13:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:13:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:24 prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container 20:13:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-208/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-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@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:13:25 $ docker top 65657b74065b4bd34e75fb331e2e70222d95be2c923f7421c42fa34e7a4f5247 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:13:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:13:26 + ls /var/log/sa-host 20:13:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:26 provisioning config files... 20:13:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config800452573146247941tmp [Pipeline] { [Pipeline] echo 20:13:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:13:26 ---> create-netrc.sh [Pipeline] } 20:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:13:27 ---> python-tools-install.sh [Pipeline] echo 20:13:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:13:27 ---> sudo-logs.sh 20:13:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:13:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:13:27 ---> job-cost.sh 20:13:27 lf-activate-venv: SKIPPING 20:13:27 DEBUG: total: 0.2199999988079071 20:13:27 INFO: Retrieving Stack Cost... 20:13:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:28 INFO: Archiving Costs [Pipeline] echo 20:13:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:13:28 ---> logs-deploy.sh 20:13:28 lf-activate-venv: SKIPPING 20:13:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-208/1 20:13:28 INFO: archiving workspace using pattern(s): 20:13:29 Archives upload complete. 20:13:29 INFO: archiving logs to Nexus