Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from d29b9e59c05c044e88d680de2b8346f3f7d9974a+885eff3573f731dbb8051040958eb45753ebbb2c (8f814e12e60e696501b627f76ace0d5fcfedecb1) 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-ssh13109470152567305263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh497911651249371169.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12311908852567295828.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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5612926289961595146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13832354344630065488.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11512200078113847303.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 on ‘prd-ubuntu20.04-docker-8c-8g-916’ Running on prd-ubuntu20.04-docker-8c-8g-918 in /w/workspace/gexfoundry_device-rest-go_PR-232 [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-232 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit d29b9e59c05c044e88d680de2b8346f3f7d9974a Merge succeeded, producing d29b9e59c05c044e88d680de2b8346f3f7d9974a Checking out Revision d29b9e59c05c044e88d680de2b8346f3f7d9974a (PR-232) > git config core.sparsecheckout # timeout=10 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # 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 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:00:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:00:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:00:20 ========================================================= 18:00:20 EdgeX Global Pipelines Version Info 18:00:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:00:21 ------------------- 18:00:21 stable info: 18:00:21 ------------------- 18:00:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:00:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:00:21 Message: update stable to v1.0.244 18:00:22 ------------------- 18:00:22 experimental info: 18:00:22 ------------------- 18:00:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:00:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:00:22 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:00:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d29b9e5 [Pipeline] echo 18:00:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:23 provisioning config files... 18:00:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config3661584674102285284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:24 ---> docker-login.sh 18:00:24 nexus3.edgexfoundry.org:10001 18:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:24 Configure a credential helper to remove this warning. See 18:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:24 18:00:24 Login Succeeded 18:00:24 nexus3.edgexfoundry.org:10002 18:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:24 Configure a credential helper to remove this warning. See 18:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:24 18:00:24 Login Succeeded 18:00:24 nexus3.edgexfoundry.org:10003 18:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:24 Configure a credential helper to remove this warning. See 18:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:24 18:00:24 Login Succeeded 18:00:24 nexus3.edgexfoundry.org:10004 18:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:24 Configure a credential helper to remove this warning. See 18:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:24 18:00:24 Login Succeeded 18:00:24 docker.io 18:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:25 Configure a credential helper to remove this warning. See 18:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:25 18:00:25 Login Succeeded 18:00:25 ---> docker-login.sh ends [Pipeline] } 18:00:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:00:25 + git rev-list -1 --merges d29b9e59c05c044e88d680de2b8346f3f7d9974a~1..d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo 18:00:25 -----------> git rev-list -1 --merges d29b9e59c05c044e88d680de2b8346f3f7d9974a~1..d29b9e59c05c044e88d680de2b8346f3f7d9974a d29b9e59c05c044e88d680de2b8346f3f7d9974a [false] [Pipeline] sh 18:00:26 + git log --format=format:%s -1 d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo 18:00:26 ========================================================= 18:00:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:00:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:26 + git log --format=format:%s -1 d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo 18:00:26 [semverPrep] GIT_COMMIT: d29b9e59c05c044e88d680de2b8346f3f7d9974a, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 18:00:26 [semverPrep] This is not a build commit. [Pipeline] sh 18:00:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:00:26 + grep -v github /etc/ssh/ssh_known_hosts 18:00:26 + [ -e /tmp/ssh_known_hosts ] 18:00:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:00:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:00:26 + sudo tee -a /etc/ssh/ssh_known_hosts 18:00:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:00:27 18:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:00:27 0.1.4: Pulling from edgex-devops/py-git-semver 18:00:27 b85a868b505f: Pulling fs layer 18:00:27 e2be974225ed: Pulling fs layer 18:00:27 339a4e72a1f5: Pulling fs layer 18:00:27 988bab9f4d93: Pulling fs layer 18:00:27 1469e6f7b9e6: Pulling fs layer 18:00:27 eaf3925da568: Pulling fs layer 18:00:27 bab4dde63d76: Pulling fs layer 18:00:27 bde34c3a00c8: Pulling fs layer 18:00:27 b352a97aabf1: Pulling fs layer 18:00:27 4872d77fe225: Pulling fs layer 18:00:27 5851b861e8e6: Pulling fs layer 18:00:27 988bab9f4d93: Waiting 18:00:27 b352a97aabf1: Waiting 18:00:27 4872d77fe225: Waiting 18:00:27 1469e6f7b9e6: Waiting 18:00:27 5851b861e8e6: Waiting 18:00:27 eaf3925da568: Waiting 18:00:27 bde34c3a00c8: Waiting 18:00:27 bab4dde63d76: Waiting 18:00:27 e2be974225ed: Verifying Checksum 18:00:27 988bab9f4d93: Verifying Checksum 18:00:27 988bab9f4d93: Download complete 18:00:28 1469e6f7b9e6: Verifying Checksum 18:00:28 1469e6f7b9e6: Download complete 18:00:28 339a4e72a1f5: Verifying Checksum 18:00:28 339a4e72a1f5: Download complete 18:00:28 eaf3925da568: Verifying Checksum 18:00:28 eaf3925da568: Download complete 18:00:28 bde34c3a00c8: Verifying Checksum 18:00:28 bde34c3a00c8: Download complete 18:00:28 b352a97aabf1: Download complete 18:00:28 4872d77fe225: Download complete 18:00:28 5851b861e8e6: Download complete 18:00:28 b85a868b505f: Verifying Checksum 18:00:28 b85a868b505f: Download complete 18:00:28 bab4dde63d76: Verifying Checksum 18:00:28 bab4dde63d76: Download complete 18:00:29 b85a868b505f: Pull complete 18:00:29 e2be974225ed: Pull complete 18:00:29 339a4e72a1f5: Pull complete 18:00:29 988bab9f4d93: Pull complete 18:00:30 1469e6f7b9e6: Pull complete 18:00:30 eaf3925da568: Pull complete 18:00:32 bab4dde63d76: Pull complete 18:00:32 bde34c3a00c8: Pull complete 18:00:32 b352a97aabf1: Pull complete 18:00:32 4872d77fe225: Pull complete 18:00:32 5851b861e8e6: Pull complete 18:00:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:00:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:32 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 18:00:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@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-devops/py-git-semver:0.1.4 cat 18:00:33 $ docker top 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d -eo pid,comm 18:00:33 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). 18:00:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:00:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:33 [ssh-agent] Looking for ssh-agent implementation... 18:00:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:34 $ docker exec 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent 18:00:34 SSH_AUTH_SOCK=/tmp/ssh-OO8YqCbORVt3/agent.32 18:00:34 SSH_AGENT_PID=38 18:00:34 Running ssh-add (command line suppressed) 18:00:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_8274777332933490722.key (/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_8274777332933490722.key) 18:00:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:34 + git tag --points-at HEAD [Pipeline] } 18:00:34 $ docker exec --env ******** --env ******** 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent -k 18:00:34 unset SSH_AUTH_SOCK; 18:00:34 unset SSH_AGENT_PID; 18:00:34 echo Agent pid 38 killed; 18:00:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:00:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:34 [ssh-agent] Looking for ssh-agent implementation... 18:00:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:35 $ docker exec 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent 18:00:35 SSH_AUTH_SOCK=/tmp/ssh-dvhsCAJda3SC/agent.70 18:00:35 SSH_AGENT_PID=76 18:00:35 Running ssh-add (command line suppressed) 18:00:35 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_11388441032591673129.key (/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_11388441032591673129.key) 18:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:35 + git semver init 18:00:35 2023-01-03 18:00:35,770 [run_init] DEBUG init version:0.0.0 force:False 18:00:35 2023-01-03 18:00:35,770 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver 18:00:35 2023-01-03 18:00:35,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-232/.semver 18:00:35 2023-01-03 18:00:35,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-232/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232, universal_newlines=False, shell=None, istream=None) 18:00:37 2023-01-03 18:00:36,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-232/.git/info/exclude 18:00:37 2023-01-03 18:00:36,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 with force:False 18:00:37 2023-01-03 18:00:36,882 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 18:00:37 2023-01-03 18:00:36,886 [execute] INFO git cat-file --batch-check 18:00:37 2023-01-03 18:00:36,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 18:00:37 2023-01-03 18:00:36,894 [execute] INFO git cat-file --batch 18:00:37 2023-01-03 18:00:36,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 18:00:37 2023-01-03 18:00:36,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 18:00:37 0.0.0 [Pipeline] } 18:00:37 $ docker exec --env ******** --env ******** 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent -k 18:00:37 unset SSH_AUTH_SOCK; 18:00:37 unset SSH_AGENT_PID; 18:00:37 echo Agent pid 76 killed; 18:00:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:00:37 + git semver [Pipeline] } 18:00:38 $ docker stop --time=1 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d 18:00:39 $ docker rm -f --volumes 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d [Pipeline] // withDockerContainer [Pipeline] sh 18:00:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:00:40 Stashed 1 file(s) [Pipeline] echo 18:00:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:40 provisioning config files... 18:00:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config12639035318516311213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:41 ---> docker-login.sh 18:00:41 nexus3.edgexfoundry.org:10001 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 nexus3.edgexfoundry.org:10002 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 nexus3.edgexfoundry.org:10003 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 nexus3.edgexfoundry.org:10004 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 docker.io 18:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:41 Configure a credential helper to remove this warning. See 18:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:41 18:00:41 Login Succeeded 18:00:41 ---> docker-login.sh ends [Pipeline] } 18:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:00:41 ========================================================= 18:00:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:00:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:42 + 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 . 18:00:42 Sending build context to Docker daemon 10.78MB 18:00:42 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:00:42 Step 2/12 : FROM ${BASE} AS builder 18:00:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:00:42 213ec9aee27d: Pulling fs layer 18:00:42 4583459ba037: Pulling fs layer 18:00:42 93c1e223e6f2: Pulling fs layer 18:00:42 53926ce57604: Pulling fs layer 18:00:42 21b2b0c7a3f4: Pulling fs layer 18:00:42 22ff95d597cd: Pulling fs layer 18:00:42 12d6caf4c0d1: Pulling fs layer 18:00:42 96b7cbca73a9: Pulling fs layer 18:00:42 a7acece74701: Pulling fs layer 18:00:42 53926ce57604: Waiting 18:00:42 21b2b0c7a3f4: Waiting 18:00:42 a7acece74701: Waiting 18:00:42 22ff95d597cd: Waiting 18:00:42 96b7cbca73a9: Waiting 18:00:42 12d6caf4c0d1: Waiting 18:00:42 93c1e223e6f2: Verifying Checksum 18:00:42 93c1e223e6f2: Download complete 18:00:42 4583459ba037: Download complete 18:00:42 21b2b0c7a3f4: Verifying Checksum 18:00:42 21b2b0c7a3f4: Download complete 18:00:42 22ff95d597cd: Download complete 18:00:42 213ec9aee27d: Download complete 18:00:42 12d6caf4c0d1: Verifying Checksum 18:00:42 12d6caf4c0d1: Download complete 18:00:42 213ec9aee27d: Pull complete 18:00:42 4583459ba037: Pull complete 18:00:42 93c1e223e6f2: Pull complete 18:00:43 a7acece74701: Verifying Checksum 18:00:43 a7acece74701: Download complete 18:00:43 96b7cbca73a9: Verifying Checksum 18:00:43 96b7cbca73a9: Download complete 18:00:43 53926ce57604: Verifying Checksum 18:00:43 53926ce57604: Download complete 18:00:47 53926ce57604: Pull complete 18:00:47 21b2b0c7a3f4: Pull complete 18:00:47 22ff95d597cd: Pull complete 18:00:47 12d6caf4c0d1: Pull complete 18:00:48 96b7cbca73a9: Pull complete 18:00:49 a7acece74701: Pull complete 18:00:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:00:49 ---> db6d94c90886 18:00:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:00:51 ---> Running in c1bec6826a01 18:00:51 Removing intermediate container c1bec6826a01 18:00:51 ---> 90f67350b540 18:00:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:51 ---> Running in 640d4758aa6f 18:00:51 Removing intermediate container 640d4758aa6f 18:00:51 ---> 8039c4c12cf8 18:00:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:00:51 ---> Running in 632c9c046098 18:00:51 Removing intermediate container 632c9c046098 18:00:51 ---> 77f11c1e3d94 18:00:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:00:51 ---> Running in 9c2e3004affd 18:00:51 Removing intermediate container 9c2e3004affd 18:00:51 ---> bbe6d95d37e8 18:00:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:51 ---> Running in ff2a9d980294 18:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:00:52 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:00:52 (2/4) Installing libedit (20210910.3.1-r0) 18:00:52 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:00:52 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:00:52 Executing busybox-1.35.0-r17.trigger 18:00:52 OK: 216 MiB in 55 packages 18:00:52 Removing intermediate container ff2a9d980294 18:00:52 ---> e4301f656b31 18:00:52 Step 8/12 : WORKDIR /device-rest-go 18:00:52 ---> Running in ba0b39ab4f79 18:00:53 Removing intermediate container ba0b39ab4f79 18:00:53 ---> cf744b5d621e 18:00:53 Step 9/12 : COPY go.mod vendor* ./ 18:00:53 ---> 89ed978d89f4 18:00:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:53 ---> Running in d29f94a25205 18:00:55 Still waiting to schedule task 18:00:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-917’ 18:01:15 Removing intermediate container d29f94a25205 18:01:15 ---> 0eee7dd1d2dc 18:01:15 Step 11/12 : COPY . . 18:01:15 ---> 8316a0fea117 18:01:15 Step 12/12 : RUN $MAKE 18:01:15 ---> Running in 5beddf8881aa 18:01:15 noop 18:01:15 Removing intermediate container 5beddf8881aa 18:01:15 ---> 6d39e7eeb3ec 18:01:15 Successfully built 6d39e7eeb3ec 18:01:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:15 + docker inspect -f . ci-base-image-x86_64 18:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:15 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 18:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:01:16 $ docker top a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:16 + go version 18:01:16 go version go1.18.7 linux/amd64 [Pipeline] } 18:01:16 $ docker stop --time=1 a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c 18:01:17 $ docker rm -f --volumes a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:18 + docker inspect -f . ci-base-image-x86_64 18:01:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:18 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 18:01:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:01:19 $ docker top 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-232 [Pipeline] fileExists [Pipeline] sh 18:01:19 + make test 18:01:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:01:20 ? github.com/edgexfoundry/device-rest-go [no test files] 18:01:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:01:29 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 18:01:36 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." 18:01:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:01:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:01:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:01:40 ./bin/test-attribution-txt.sh [Pipeline] echo 18:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:01:40 $ docker stop --time=1 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a 18:01:42 $ docker rm -f --volumes 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a [Pipeline] // withDockerContainer [Pipeline] sh 18:01:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:01:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:01:43 + ls -al . 18:01:43 total 188 18:01:43 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:01 . 18:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:00 .. 18:01:43 -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:00 .dockerignore 18:01:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:01 .git 18:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:00 .github 18:01:43 -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:00 .gitignore 18:01:43 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:00 .golangci.yml 18:01:43 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:00 .semver 18:01:43 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:00 Attribution.txt 18:01:43 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:00 CHANGELOG.md 18:01:43 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:00 Dockerfile 18:01:43 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:00 GOVERNANCE.md 18:01:43 -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:00 Jenkinsfile 18:01:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:00 LICENSE 18:01:43 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:00 Makefile 18:01:43 -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:00 OWNERS.md 18:01:43 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:00 README.md 18:01:43 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:00 VERSION 18:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:00 bin 18:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:00 cmd 18:01:43 -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:01 coverage.out 18:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:00 driver 18:01:43 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:00 go.mod 18:01:43 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:00 go.sum 18:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:00 snap 18:01:43 -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:44 + 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=d29b9e59c05c044e88d680de2b8346f3f7d9974a --label arch=amd64 --label version=0.0.0 . 18:01:44 Sending build context to Docker daemon 10.79MB 18:01:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:01:44 Step 2/25 : FROM ${BASE} AS builder 18:01:44 ---> 6d39e7eeb3ec 18:01:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:01:44 ---> Running in 8078d8d8c3f0 18:01:44 Removing intermediate container 8078d8d8c3f0 18:01:44 ---> 55581fd49692 18:01:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:01:44 ---> Running in a23cfcdf37cd 18:01:44 Removing intermediate container a23cfcdf37cd 18:01:44 ---> ac14b0e17e12 18:01:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:01:44 ---> Running in 02251183ce83 18:01:44 Removing intermediate container 02251183ce83 18:01:44 ---> f40f965c7463 18:01:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:01:44 ---> Running in 7f8c8d5c1d4c 18:01:44 Removing intermediate container 7f8c8d5c1d4c 18:01:44 ---> d293f918413e 18:01:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:44 ---> Running in f359b1b43685 18:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:01:45 OK: 216 MiB in 55 packages 18:01:45 Removing intermediate container f359b1b43685 18:01:45 ---> 8b4980df18c4 18:01:45 Step 8/25 : WORKDIR /device-rest-go 18:01:45 ---> Running in e34e454d5ab2 18:01:45 Removing intermediate container e34e454d5ab2 18:01:45 ---> ae72a0e6b2ac 18:01:45 Step 9/25 : COPY go.mod vendor* ./ 18:01:45 ---> e91ebda84cc9 18:01:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:45 ---> Running in bfa9844f0682 18:01:46 Removing intermediate container bfa9844f0682 18:01:46 ---> 52fa5d056563 18:01:46 Step 11/25 : COPY . . 18:01:46 ---> 18de9e8637ca 18:01:46 Step 12/25 : RUN $MAKE 18:01:46 ---> Running in 663c82148555 18:01:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 18:02:09 Removing intermediate container 663c82148555 18:02:09 ---> 510ccf7a0ce8 18:02:09 Step 13/25 : FROM alpine:3.16 18:02:09 3.16: Pulling from library/alpine 18:02:09 ca7dd9ec2225: Pulling fs layer 18:02:09 ca7dd9ec2225: Verifying Checksum 18:02:09 ca7dd9ec2225: Download complete 18:02:09 ca7dd9ec2225: Pull complete 18:02:09 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:02:09 Status: Downloaded newer image for alpine:3.16 18:02:09 ---> bfe296a52501 18:02:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:02:09 ---> Running in e3ecd7ef6ffc 18:02:09 Removing intermediate container e3ecd7ef6ffc 18:02:09 ---> 3f4f4fdba1cc 18:02:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:02:09 ---> Running in cecc46c4fd50 18:02:09 Removing intermediate container cecc46c4fd50 18:02:09 ---> 56eb5c1f3a29 18:02:09 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:02:09 ---> Running in 52754cde0b51 18:02:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:02:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:02:09 (1/6) Installing dumb-init (1.2.5-r1) 18:02:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:02:09 (3/6) Installing libsodium (1.0.18-r0) 18:02:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:02:09 (5/6) Installing libzmq (4.3.4-r0) 18:02:09 (6/6) Installing zeromq (4.3.4-r0) 18:02:09 Executing busybox-1.35.0-r17.trigger 18:02:09 OK: 8 MiB in 20 packages 18:02:09 Removing intermediate container 52754cde0b51 18:02:09 ---> 348f0fc131b7 18:02:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:02:09 ---> 0d4dca052a49 18:02:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:02:09 ---> a492e0033905 18:02:09 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:02:10 ---> 11a553d83fdd 18:02:10 Step 20/25 : EXPOSE 59986 18:02:10 ---> Running in 25893be3b927 18:02:10 Removing intermediate container 25893be3b927 18:02:10 ---> 1c675a4515da 18:02:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:02:10 ---> Running in 8cc73cff5bdf 18:02:10 Removing intermediate container 8cc73cff5bdf 18:02:10 ---> c9a18558da44 18:02:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:02:10 ---> Running in bd86fd71e486 18:02:10 Removing intermediate container bd86fd71e486 18:02:10 ---> 7a6c446303a0 18:02:10 Step 23/25 : LABEL arch=amd64 18:02:10 ---> Running in af598d0f6706 18:02:10 Removing intermediate container af598d0f6706 18:02:10 ---> 1a1f7184d193 18:02:10 Step 24/25 : LABEL git_sha=d29b9e59c05c044e88d680de2b8346f3f7d9974a 18:02:10 ---> Running in a80fdf140d29 18:02:10 Removing intermediate container a80fdf140d29 18:02:10 ---> ca3643a2dc7f 18:02:10 Step 25/25 : LABEL version=0.0.0 18:02:10 ---> Running in ce03082a5b18 18:02:10 Removing intermediate container ce03082a5b18 18:02:10 ---> e8e537ebb9ea 18:02:10 [Warning] One or more build-args [ARCH] were not consumed 18:02:10 Successfully built e8e537ebb9ea 18:02:10 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 18:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:02:11 18:02:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:02:11 latest: Pulling from edgex-lftools-log-publisher 18:02:11 5eb5b503b376: Pulling fs layer 18:02:11 5c69ac0246d0: Pulling fs layer 18:02:11 ec43610c2a17: Pulling fs layer 18:02:11 3a2ae6a8a46f: Pulling fs layer 18:02:11 33b1e0a273af: Pulling fs layer 18:02:11 5d3b04190fa2: Pulling fs layer 18:02:11 2f39f015ded8: Pulling fs layer 18:02:11 3a2ae6a8a46f: Waiting 18:02:11 2f39f015ded8: Waiting 18:02:11 33b1e0a273af: Waiting 18:02:11 5d3b04190fa2: Waiting 18:02:11 5c69ac0246d0: Verifying Checksum 18:02:11 5c69ac0246d0: Download complete 18:02:11 3a2ae6a8a46f: Verifying Checksum 18:02:11 3a2ae6a8a46f: Download complete 18:02:11 33b1e0a273af: Verifying Checksum 18:02:11 33b1e0a273af: Download complete 18:02:12 5d3b04190fa2: Verifying Checksum 18:02:12 5d3b04190fa2: Download complete 18:02:12 ec43610c2a17: Verifying Checksum 18:02:12 ec43610c2a17: Download complete 18:02:12 5eb5b503b376: Verifying Checksum 18:02:12 5eb5b503b376: Download complete 18:02:12 2f39f015ded8: Verifying Checksum 18:02:12 2f39f015ded8: Download complete 18:02:13 5eb5b503b376: Pull complete 18:02:13 5c69ac0246d0: Pull complete 18:02:13 ec43610c2a17: Pull complete 18:02:14 3a2ae6a8a46f: Pull complete 18:02:14 33b1e0a273af: Pull complete 18:02:14 5d3b04190fa2: Pull complete 18:02:18 2f39f015ded8: Pull complete 18:02:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:02:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:02:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:18 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 18:02:18 $ 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-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:02:20 $ docker top 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:20 ---> job-cost.sh 18:02:20 lf-activate-venv: SKIPPING 18:02:20 INFO: No Stack... 18:02:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:02:21 INFO: Archiving Costs [Pipeline] sh 18:02:21 + cat /w/workspace/gexfoundry_device-rest-go_PR-232/archives/cost.csv 18:02:21 + cut -d, -f6 [Pipeline] lock 18:02:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] 18:02:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] did not exist. Created. 18:02:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:02:22 + echo total: 0.2199999988079071 [Pipeline] stash 18:02:22 Stashed 1 file(s) [Pipeline] } 18:02:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:02:22 $ docker stop --time=1 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c 18:02:23 $ docker rm -f --volumes 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:03:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-919 in /w/workspace/gexfoundry_device-rest-go_PR-232 [Pipeline] { [Pipeline] ws 18:03:40 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:03:40 The recommended git tool is: git 18:03:46 using credential edgex-jenkins-ssh 18:03:46 Cloning the remote Git repository 18:03:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:03:46 > git init /w/workspace/device-rest-go/1 # timeout=10 18:03:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:03:46 > git --version # timeout=10 18:03:46 > git --version # 'git version 2.25.1' 18:03:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:03:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:03:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:03:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:03:50 Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit d29b9e59c05c044e88d680de2b8346f3f7d9974a 18:03:50 Merge succeeded, producing d29b9e59c05c044e88d680de2b8346f3f7d9974a 18:03:50 Checking out Revision d29b9e59c05c044e88d680de2b8346f3f7d9974a (PR-232) 18:03:50 > git config core.sparsecheckout # timeout=10 18:03:50 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 18:03:50 > git remote # timeout=10 18:03:50 > git config --get remote.origin.url # timeout=10 18:03:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:50 > git merge 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 18:03:50 > git rev-parse HEAD^{commit} # timeout=10 18:03:50 > git config core.sparsecheckout # timeout=10 18:03:50 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 18:03:53 Commit message: "refactor!: Rename command line flags for the sake of consistency" 18:03:53 > git --version # timeout=10 18:03:53 > git --version # 'git version 2.25.1' 18:03:53 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:03:55 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:55 Dload Upload Total Spent Left Speed 18:03:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11880 0 0 80270 0 --:--:-- --:--:-- --:--:-- 79731 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 18:03:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:03:56 + sudo tee /etc/docker/daemon.new 18:03:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:03:56 { 18:03:56 "registry-mirrors": [ 18:03:56 "https://nexus3.edgexfoundry.org:10001" 18:03:56 ], 18:03:56 "bip": "10.250.0.254/24", 18:03:56 "hosts": [ 18:03:56 "tcp://0.0.0.0:5555", 18:03:56 "unix:///var/run/docker.sock" 18:03:56 ], 18:03:56 "mtu": 1458, 18:03:56 "selinux-enabled": true, 18:03:56 "seccomp-profile": "/etc/docker/seccomp.json" 18:03:56 } [Pipeline] sh 18:03:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:03:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:15 provisioning config files... 18:04:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config251346349447207381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:15 ---> docker-login.sh 18:04:15 nexus3.edgexfoundry.org:10001 18:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:16 Configure a credential helper to remove this warning. See 18:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:16 18:04:16 Login Succeeded 18:04:16 nexus3.edgexfoundry.org:10002 18:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:16 Configure a credential helper to remove this warning. See 18:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:16 18:04:16 Login Succeeded 18:04:16 nexus3.edgexfoundry.org:10003 18:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:17 Configure a credential helper to remove this warning. See 18:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:17 18:04:17 Login Succeeded 18:04:17 nexus3.edgexfoundry.org:10004 18:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:17 Configure a credential helper to remove this warning. See 18:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:17 18:04:17 Login Succeeded 18:04:17 docker.io 18:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:17 Configure a credential helper to remove this warning. See 18:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:17 18:04:17 Login Succeeded 18:04:17 ---> docker-login.sh ends [Pipeline] } 18:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:18 ========================================================= 18:04:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:04:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:18 + 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 . 18:04:18 Sending build context to Docker daemon 129.5kB 18:04:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:04:19 Step 2/12 : FROM ${BASE} AS builder 18:04:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:04:19 9b18e9b68314: Pulling fs layer 18:04:19 35d82f9e3411: Pulling fs layer 18:04:19 e16973657156: Pulling fs layer 18:04:19 fc693d55d65f: Pulling fs layer 18:04:19 7e9fc2657dce: Pulling fs layer 18:04:19 dda99020689f: Pulling fs layer 18:04:19 db1c61fa0a46: Pulling fs layer 18:04:19 891c053d2c06: Pulling fs layer 18:04:19 dda99020689f: Waiting 18:04:19 db1c61fa0a46: Waiting 18:04:19 891c053d2c06: Waiting 18:04:19 7e9fc2657dce: Waiting 18:04:19 e16973657156: Verifying Checksum 18:04:19 e16973657156: Download complete 18:04:19 35d82f9e3411: Verifying Checksum 18:04:19 35d82f9e3411: Download complete 18:04:19 7e9fc2657dce: Verifying Checksum 18:04:19 7e9fc2657dce: Download complete 18:04:19 dda99020689f: Download complete 18:04:19 9b18e9b68314: Verifying Checksum 18:04:19 9b18e9b68314: Download complete 18:04:20 891c053d2c06: Verifying Checksum 18:04:20 891c053d2c06: Download complete 18:04:21 db1c61fa0a46: Verifying Checksum 18:04:21 db1c61fa0a46: Download complete 18:04:22 fc693d55d65f: Verifying Checksum 18:04:22 fc693d55d65f: Download complete 18:04:22 9b18e9b68314: Pull complete 18:04:22 35d82f9e3411: Pull complete 18:04:22 e16973657156: Pull complete 18:04:35 fc693d55d65f: Pull complete 18:04:35 7e9fc2657dce: Pull complete 18:04:35 dda99020689f: Pull complete 18:04:42 db1c61fa0a46: Pull complete 18:04:43 891c053d2c06: Pull complete 18:04:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:04:43 ---> f96f9c87975a 18:04:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:04:45 ---> Running in a3d8f0c47719 18:04:46 Removing intermediate container a3d8f0c47719 18:04:46 ---> 930eaed5be74 18:04:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:46 ---> Running in 4cc629ccf48a 18:04:46 Removing intermediate container 4cc629ccf48a 18:04:46 ---> ee55ba16a44b 18:04:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:04:46 ---> Running in 3434e8091fd9 18:04:46 Removing intermediate container 3434e8091fd9 18:04:46 ---> e22c7ccafc1a 18:04:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:04:47 ---> Running in d3719bbcc6d3 18:04:47 Removing intermediate container d3719bbcc6d3 18:04:47 ---> 3c8ee181a178 18:04:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:47 ---> Running in bcea1d208013 18:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:04:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:04:49 (2/4) Installing libedit (20210910.3.1-r0) 18:04:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:04:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:04:49 Executing busybox-1.35.0-r17.trigger 18:04:49 OK: 226 MiB in 55 packages 18:04:50 Removing intermediate container bcea1d208013 18:04:50 ---> 11ae346f8c9e 18:04:50 Step 8/12 : WORKDIR /device-rest-go 18:04:51 ---> Running in 2350f91f3f16 18:04:51 Removing intermediate container 2350f91f3f16 18:04:51 ---> 2a6d3c587b57 18:04:51 Step 9/12 : COPY go.mod vendor* ./ 18:04:51 ---> b535097e757f 18:04:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:51 ---> Running in f6d29735d466 18:05:48 Removing intermediate container f6d29735d466 18:05:48 ---> a3c244eb1367 18:05:48 Step 11/12 : COPY . . 18:05:48 ---> 9bacbe49b433 18:05:48 Step 12/12 : RUN $MAKE 18:05:48 ---> Running in ab8d89ccd5dd 18:05:48 noop 18:05:48 Removing intermediate container ab8d89ccd5dd 18:05:48 ---> fa6be2afbe7a 18:05:48 Successfully built fa6be2afbe7a 18:05:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:48 + docker inspect -f . ci-base-image-arm64 18:05:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:49 prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container 18:05:49 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:05:50 $ docker top b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:51 + go version 18:05:51 go version go1.18.7 linux/arm64 [Pipeline] } 18:05:51 $ docker stop --time=1 b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc 18:05:52 $ docker rm -f --volumes b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:53 + docker inspect -f . ci-base-image-arm64 18:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:53 prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container 18:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:05:55 $ docker top 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:56 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 18:05:56 + make test 18:05:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:05:58 ? github.com/edgexfoundry/device-rest-go [no test files] 18:07:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:07:20 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements 18:07:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:07:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:42 ./bin/test-attribution-txt.sh [Pipeline] echo 18:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:42 $ docker stop --time=1 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 18:07:44 $ docker rm -f --volumes 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:45 Warning: overwriting stash ‘coverage-report’ 18:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:47 + ls -al . 18:07:47 total 184 18:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:05 . 18:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:03 .. 18:07:47 -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:03 .dockerignore 18:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:03 .git 18:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:03 .github 18:07:47 -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:03 .gitignore 18:07:47 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:03 .golangci.yml 18:07:47 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:03 Attribution.txt 18:07:47 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:03 CHANGELOG.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:03 Dockerfile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:03 GOVERNANCE.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:03 Jenkinsfile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:03 LICENSE 18:07:47 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:03 Makefile 18:07:47 -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:03 OWNERS.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:03 README.md 18:07:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:00 VERSION 18:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:03 bin 18:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:03 cmd 18:07:47 -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:07 coverage.out 18:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:03 driver 18:07:47 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:03 go.mod 18:07:47 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:03 go.sum 18:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:03 snap 18:07:47 -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:47 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d29b9e59c05c044e88d680de2b8346f3f7d9974a --label arch=arm64 --label version=0.0.0 . 18:07:47 Sending build context to Docker daemon 139.8kB 18:07:47 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:07:47 Step 2/25 : FROM ${BASE} AS builder 18:07:47 ---> fa6be2afbe7a 18:07:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:07:47 ---> Running in c4b2fdb4541b 18:07:48 Removing intermediate container c4b2fdb4541b 18:07:48 ---> 91a025d21ecb 18:07:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:07:48 ---> Running in bf2325e79e87 18:07:48 Removing intermediate container bf2325e79e87 18:07:48 ---> f4e1a042cf4b 18:07:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:07:48 ---> Running in 7f2d5fdfed58 18:07:48 Removing intermediate container 7f2d5fdfed58 18:07:48 ---> 54985c2fa27d 18:07:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:07:48 ---> Running in e6179c45daff 18:07:49 Removing intermediate container e6179c45daff 18:07:49 ---> 646beb77b505 18:07:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:49 ---> Running in 358a41a00f8c 18:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:07:51 OK: 226 MiB in 55 packages 18:07:52 Removing intermediate container 358a41a00f8c 18:07:52 ---> 922257075455 18:07:52 Step 8/25 : WORKDIR /device-rest-go 18:07:53 ---> Running in 138571c138f1 18:07:53 Removing intermediate container 138571c138f1 18:07:53 ---> c7d3d7b01c54 18:07:53 Step 9/25 : COPY go.mod vendor* ./ 18:07:53 ---> 379072ab1310 18:07:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:53 ---> Running in c093e1bfe1f2 18:07:55 Removing intermediate container c093e1bfe1f2 18:07:55 ---> 1da3c3de5bb2 18:07:55 Step 11/25 : COPY . . 18:07:56 ---> d1abe40e3fab 18:07:56 Step 12/25 : RUN $MAKE 18:07:56 ---> Running in 18a0273bf87f 18:07:57 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 18:10:33 Removing intermediate container 18a0273bf87f 18:10:33 ---> acf048dd001a 18:10:33 Step 13/25 : FROM alpine:3.16 18:10:33 3.16: Pulling from library/alpine 18:10:33 6875df1f5354: Pulling fs layer 18:10:33 6875df1f5354: Verifying Checksum 18:10:33 6875df1f5354: Download complete 18:10:34 6875df1f5354: Pull complete 18:10:34 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:10:34 Status: Downloaded newer image for alpine:3.16 18:10:34 ---> 2b4661558fb8 18:10:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:10:34 ---> Running in 1eb5074143cb 18:10:34 Removing intermediate container 1eb5074143cb 18:10:34 ---> cf142dd21087 18:10:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:10:34 ---> Running in a8069c39e167 18:10:34 Removing intermediate container a8069c39e167 18:10:34 ---> fe423704a04c 18:10:34 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:10:35 ---> Running in 79a31def17c1 18:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:10:37 (1/6) Installing dumb-init (1.2.5-r1) 18:10:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:10:37 (3/6) Installing libsodium (1.0.18-r0) 18:10:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:10:37 (5/6) Installing libzmq (4.3.4-r0) 18:10:37 (6/6) Installing zeromq (4.3.4-r0) 18:10:37 Executing busybox-1.35.0-r17.trigger 18:10:37 OK: 8 MiB in 20 packages 18:10:38 Removing intermediate container 79a31def17c1 18:10:38 ---> 6eb335dc452f 18:10:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:10:40 ---> 2f18796e1114 18:10:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:10:41 ---> 6f4a49e50d3b 18:10:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:10:41 ---> a6c3a6056f3c 18:10:41 Step 20/25 : EXPOSE 59986 18:10:41 ---> Running in 8b2e00a4ba43 18:10:41 Removing intermediate container 8b2e00a4ba43 18:10:41 ---> d086f51bfbb1 18:10:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:10:41 ---> Running in 8669ea23f773 18:10:42 Removing intermediate container 8669ea23f773 18:10:42 ---> b19596981979 18:10:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:10:42 ---> Running in 1796dbfd5501 18:10:42 Removing intermediate container 1796dbfd5501 18:10:42 ---> 97320b980e27 18:10:42 Step 23/25 : LABEL arch=arm64 18:10:42 ---> Running in 76afabf0e1a4 18:10:42 Removing intermediate container 76afabf0e1a4 18:10:42 ---> d5ae32c0d9cf 18:10:42 Step 24/25 : LABEL git_sha=d29b9e59c05c044e88d680de2b8346f3f7d9974a 18:10:42 ---> Running in 9f1c645b7f73 18:10:43 Removing intermediate container 9f1c645b7f73 18:10:43 ---> 57d850ad78ce 18:10:43 Step 25/25 : LABEL version=0.0.0 18:10:43 ---> Running in d95ae0772d89 18:10:43 Removing intermediate container d95ae0772d89 18:10:43 ---> d2343c34e4ef 18:10:43 [Warning] One or more build-args [ARCH] were not consumed 18:10:43 Successfully built d2343c34e4ef 18:10:43 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 18:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:10:44 18:10:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:10:44 arm64: Pulling from edgex-lftools-log-publisher 18:10:44 8998bd30e6a1: Pulling fs layer 18:10:44 04944245beec: Pulling fs layer 18:10:44 699f458cf7ca: Pulling fs layer 18:10:44 765212b225bb: Pulling fs layer 18:10:44 f23df028b6ca: Pulling fs layer 18:10:44 d65c8cfc05b1: Pulling fs layer 18:10:44 2437ff75d9bd: Pulling fs layer 18:10:44 765212b225bb: Waiting 18:10:44 f23df028b6ca: Waiting 18:10:44 2437ff75d9bd: Waiting 18:10:44 d65c8cfc05b1: Waiting 18:10:45 04944245beec: Verifying Checksum 18:10:45 04944245beec: Download complete 18:10:45 765212b225bb: Verifying Checksum 18:10:45 765212b225bb: Download complete 18:10:45 f23df028b6ca: Verifying Checksum 18:10:45 f23df028b6ca: Download complete 18:10:45 d65c8cfc05b1: Verifying Checksum 18:10:45 d65c8cfc05b1: Download complete 18:10:45 699f458cf7ca: Verifying Checksum 18:10:45 699f458cf7ca: Download complete 18:10:45 8998bd30e6a1: Verifying Checksum 18:10:45 8998bd30e6a1: Download complete 18:10:48 2437ff75d9bd: Verifying Checksum 18:10:48 2437ff75d9bd: Download complete 18:10:49 8998bd30e6a1: Pull complete 18:10:49 04944245beec: Pull complete 18:10:51 699f458cf7ca: Pull complete 18:10:51 765212b225bb: Pull complete 18:10:52 f23df028b6ca: Pull complete 18:10:52 d65c8cfc05b1: Pull complete 18:11:04 2437ff75d9bd: Pull complete 18:11:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:11:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container 18:11:05 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:11:07 $ docker top d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:08 ---> job-cost.sh 18:11:08 lf-activate-venv: SKIPPING 18:11:08 INFO: No Stack... 18:11:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:11:09 INFO: Archiving Costs [Pipeline] sh 18:11:09 + cat /w/workspace/device-rest-go/1/archives/cost.csv+ cut -d, -f6 18:11:09 [Pipeline] lock 18:11:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] 18:11:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] did not exist. Created. 18:11:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:10 /w/workspace/device-rest-go/1@tmp/durable-fa06c967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:11:10 + echo total: 0.10999999940395355 [Pipeline] stash 18:11:10 Warning: overwriting stash ‘stack-cost’ 18:11:10 Stashed 1 file(s) [Pipeline] } 18:11:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:11:10 $ docker stop --time=1 d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 18:11:12 $ docker rm -f --volumes d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 [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 18:11:13 provisioning config files... 18:11:13 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config455722371431320827tmp [Pipeline] { [Pipeline] sh 18:11:13 + set +x 18:11:13 + bash -s -- 18:11:13 + curl -s https://codecov.io/bash 18:11:13 18:11:13 _____ _ 18:11:13 / ____| | | 18:11:13 | | ___ __| | ___ ___ _____ __ 18:11:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:11:13 | |___| (_) | (_| | __/ (_| (_) \ V / 18:11:13 \_____\___/ \__,_|\___|\___\___/ \_/ 18:11:13 Bash-1.0.6 18:11:13 18:11:13 18:11:13 ==> git version 2.25.1 found 18:11:13 ==> 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 18:11:13 Release-Date: 2020-01-08 18:11:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:11:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:11:13 ==> Jenkins CI detected. 18:11:13 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-232 18:11:13 project root: . 18:11:13 --> token set from env 18:11:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:11:13 ==> Running gcov in . (disable via -X gcov) 18:11:13 ==> Python coveragepy not found 18:11:13 ==> Searching for coverage reports in: 18:11:13 + . 18:11:13 -> Found 1 reports 18:11:13 ==> Detecting git/mercurial file structure 18:11:13 ==> Reading reports 18:11:13 + ./coverage.out bytes=9355 18:11:13 ==> Appending adjustments 18:11:13 https://docs.codecov.io/docs/fixing-reports 18:11:13 + Found adjustments 18:11:13 ==> Gzipping contents 18:11:13 4.0K /tmp/codecov.eLRUoZ.gz 18:11:13 ==> Uploading reports 18:11:13 url: https://codecov.io 18:11:13 query: branch=PR-232&commit=d29b9e59c05c044e88d680de2b8346f3f7d9974a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=232&job=&cmd_args= 18:11:13 -> Pinging Codecov 18:11:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-232&commit=d29b9e59c05c044e88d680de2b8346f3f7d9974a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=232&job=&cmd_args= 18:11:14 -> Uploading to 18:11:14 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/4E5D53B4F1F92C436F7061BF334D961C/d29b9e59c05c044e88d680de2b8346f3f7d9974a/c1775872-2e3a-4524-9bc2-ec2bc0a463e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T181114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3534e0b14910338ab7aeea9325df4b52b8692a7107f6275ecd73ade449ca98b 18:11:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:11:14 Dload Upload Total Spent Left Speed 18:11:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 7706 --:--:-- --:--:-- --:--:-- 7706 18:11:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] } 18:11:14 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 18:11:16 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-232/archives ] 18:11:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-232/archives 18:11:16 total 16 18:11:16 drwxr-xr-x 3 root root 4096 Jan 3 18:02 . 18:11:16 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:02 .. 18:11:16 drwxr-xr-x 2 root root 4096 Jan 3 18:02 cost 18:11:16 -rw-r--r-- 1 root root 86 Jan 3 18:02 cost.csv 18:11:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-232/archives 18:11:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-232/archives 18:11:16 total 16 18:11:16 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:02 . 18:11:16 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:02 .. 18:11:16 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:02 cost 18:11:16 -rw-r--r-- 1 jenkins jenkins 86 Jan 3 18:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:11:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:11:17 ---> package-listing.sh 18:11:17 ++ facter osfamily 18:11:17 ++ tr '[:upper:]' '[:lower:]' 18:11:17 + OS_FAMILY=debian 18:11:17 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-232 18:11:17 + START_PACKAGES=/tmp/packages_start.txt 18:11:17 + END_PACKAGES=/tmp/packages_end.txt 18:11:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:11:17 + PACKAGES=/tmp/packages_start.txt 18:11:17 + '[' /w/workspace/gexfoundry_device-rest-go_PR-232 ']' 18:11:17 + PACKAGES=/tmp/packages_end.txt 18:11:17 + case "${OS_FAMILY}" in 18:11:17 + dpkg -l 18:11:17 + grep '^ii' 18:11:17 + '[' -f /tmp/packages_start.txt ']' 18:11:17 + '[' -f /tmp/packages_end.txt ']' 18:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:11:17 + '[' /w/workspace/gexfoundry_device-rest-go_PR-232 ']' 18:11:17 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-232/archives/ 18:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-232/archives/ [Pipeline] echo 18:11:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:11:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:18 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 18:11:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-232/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-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:11:19 $ docker top 312e31608d4fa0270764466762f6d6ada358467e8fd8af288d6d0b04b7310877 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:11:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:11:20 + ls /var/log/sa-host 18:11:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:20 provisioning config files... 18:11:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config4875582501022267518tmp [Pipeline] { [Pipeline] echo 18:11:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:11:20 ---> create-netrc.sh [Pipeline] } 18:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:11:21 ---> python-tools-install.sh [Pipeline] echo 18:11:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:11:21 ---> sudo-logs.sh 18:11:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:11:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:11:21 ---> job-cost.sh 18:11:21 lf-activate-venv: SKIPPING 18:11:21 DEBUG: total: 0.2199999988079071 18:11:21 INFO: Retrieving Stack Cost... 18:11:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:11:22 INFO: Archiving Costs [Pipeline] echo 18:11:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:11:22 ---> logs-deploy.sh 18:11:23 lf-activate-venv: SKIPPING 18:11:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-232/1 18:11:23 INFO: archiving workspace using pattern(s): 18:11:23 Archives upload complete. 18:11:23 INFO: archiving logs to Nexus