Pull request #370 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d+0e4c43928dd74877e01497a451c4b89b2b600e8c (e4160ce56aa1c1bb8173c669595e28cba7ed017f) 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-ssh13068982831220956703.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3660331455339570183.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4348205631736577087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13022516745583000738.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3122597617511872799.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5772 in /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-370 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0e4c43928dd74877e01497a451c4b89b2b600e8c into PR head commit a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d Merge succeeded, producing a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d Checking out Revision a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d (PR-370) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # 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 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 > git rev-list --no-walk 8ae01c1c7c56035e6f21f3b472a9399ec9002438 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:53 ========================================================= 20:41:53 EdgeX Global Pipelines Version Info 20:41:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:41:54 ------------------- 20:41:54 stable info: 20:41:54 ------------------- 20:41:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:41:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:41:54 Message: update stable to v1.0.258 20:41:54 ------------------- 20:41:54 experimental info: 20:41:54 ------------------- 20:41:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:41:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:41:54 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0b8a7e [Pipeline] echo 20:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:55 provisioning config files... 20:41:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config15671560278026923176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:55 ---> ****-login.sh 20:41:55 nexus3.edgexfoundry.org:10001 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 nexus3.edgexfoundry.org:10002 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 nexus3.edgexfoundry.org:10003 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 nexus3.edgexfoundry.org:10004 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 ****.io 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 ---> ****-login.sh ends [Pipeline] } 20:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:57 + git rev-list -1 --merges a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d~1..a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo 20:41:57 -----------> git rev-list -1 --merges a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d~1..a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [false] [Pipeline] sh 20:41:57 + git log --format=format:%s -1 a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo 20:41:57 ========================================================= 20:41:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:58 + git log --format=format:%s -1 a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo 20:41:58 [semverPrep] GIT_COMMIT: a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0 [Pipeline] echo 20:41:58 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:58 + grep -v github /etc/ssh/ssh_known_hosts 20:41:58 + [ -e /tmp/ssh_known_hosts ] 20:41:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:41:58 + sudo tee -a /etc/ssh/ssh_known_hosts 20:41:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:59 20:41:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:59 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:59 b85a868b505f: Pulling fs layer 20:41:59 e2be974225ed: Pulling fs layer 20:41:59 339a4e72a1f5: Pulling fs layer 20:41:59 988bab9f4d93: Pulling fs layer 20:41:59 1469e6f7b9e6: Pulling fs layer 20:41:59 eaf3925da568: Pulling fs layer 20:41:59 bab4dde63d76: Pulling fs layer 20:41:59 bde34c3a00c8: Pulling fs layer 20:41:59 b352a97aabf1: Pulling fs layer 20:41:59 4872d77fe225: Pulling fs layer 20:41:59 5851b861e8e6: Pulling fs layer 20:41:59 988bab9f4d93: Waiting 20:41:59 1469e6f7b9e6: Waiting 20:41:59 eaf3925da568: Waiting 20:41:59 bab4dde63d76: Waiting 20:41:59 bde34c3a00c8: Waiting 20:41:59 5851b861e8e6: Waiting 20:41:59 4872d77fe225: Waiting 20:41:59 b352a97aabf1: Waiting 20:41:59 e2be974225ed: Download complete 20:41:59 988bab9f4d93: Verifying Checksum 20:41:59 988bab9f4d93: Download complete 20:41:59 1469e6f7b9e6: Verifying Checksum 20:41:59 1469e6f7b9e6: Download complete 20:41:59 eaf3925da568: Verifying Checksum 20:41:59 339a4e72a1f5: Verifying Checksum 20:41:59 eaf3925da568: Download complete 20:41:59 339a4e72a1f5: Download complete 20:41:59 bde34c3a00c8: Verifying Checksum 20:41:59 bde34c3a00c8: Download complete 20:41:59 b352a97aabf1: Verifying Checksum 20:41:59 b352a97aabf1: Download complete 20:41:59 4872d77fe225: Verifying Checksum 20:41:59 4872d77fe225: Download complete 20:41:59 5851b861e8e6: Verifying Checksum 20:41:59 5851b861e8e6: Download complete 20:41:59 b85a868b505f: Download complete 20:42:00 bab4dde63d76: Verifying Checksum 20:42:00 bab4dde63d76: Download complete 20:42:01 b85a868b505f: Pull complete 20:42:01 e2be974225ed: Pull complete 20:42:01 339a4e72a1f5: Pull complete 20:42:01 988bab9f4d93: Pull complete 20:42:02 1469e6f7b9e6: Pull complete 20:42:02 eaf3925da568: Pull complete 20:42:04 bab4dde63d76: Pull complete 20:42:04 bde34c3a00c8: Pull complete 20:42:05 b352a97aabf1: Pull complete 20:42:05 4872d77fe225: Pull complete 20:42:05 5851b861e8e6: Pull complete 20:42:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:42:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:06 prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container 20:42:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:42:11 $ docker top a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee -eo pid,comm 20:42:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:42:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:11 [ssh-agent] Looking for ssh-agent implementation... 20:42:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:11 $ docker exec a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent 20:42:11 SSH_AUTH_SOCK=/tmp/ssh-I77DgVnMjIow/agent.32 20:42:11 SSH_AGENT_PID=38 20:42:11 Running ssh-add (command line suppressed) 20:42:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_950253059297032811.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_950253059297032811.key) 20:42:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:12 + git tag --points-at HEAD [Pipeline] } 20:42:12 $ docker exec --env ******** --env ******** a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent -k 20:42:12 unset SSH_AUTH_SOCK; 20:42:12 unset SSH_AGENT_PID; 20:42:12 echo Agent pid 38 killed; 20:42:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:42:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:12 [ssh-agent] Looking for ssh-agent implementation... 20:42:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:12 $ docker exec a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent 20:42:12 SSH_AUTH_SOCK=/tmp/ssh-cJzNqtz6T1t9/agent.71 20:42:12 SSH_AGENT_PID=77 20:42:12 Running ssh-add (command line suppressed) 20:42:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2846915802208154831.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2846915802208154831.key) 20:42:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:12 + git semver init 20:42:13 2023-11-28 20:42:13,162 [run_init] DEBUG init version:0.0.0 force:False 20:42:13 2023-11-28 20:42:13,163 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver 20:42:13 2023-11-28 20:42:13,163 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-370/.semver 20:42:13 2023-11-28 20:42:13,164 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-370/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370, universal_newlines=False, shell=None, istream=None) 20:42:15 2023-11-28 20:42:15,099 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.git/info/exclude 20:42:15 2023-11-28 20:42:15,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 with force:False 20:42:15 2023-11-28 20:42:15,100 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 20:42:15 2023-11-28 20:42:15,104 [execute] INFO git cat-file --batch-check 20:42:15 2023-11-28 20:42:15,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 20:42:15 2023-11-28 20:42:15,112 [execute] INFO git cat-file --batch 20:42:15 2023-11-28 20:42:15,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 20:42:15 2023-11-28 20:42:15,118 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 20:42:15 0.0.0 [Pipeline] } 20:42:15 $ docker exec --env ******** --env ******** a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent -k 20:42:15 unset SSH_AUTH_SOCK; 20:42:15 unset SSH_AGENT_PID; 20:42:15 echo Agent pid 77 killed; 20:42:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:15 + git semver [Pipeline] } 20:42:15 $ docker stop --time=1 a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee 20:42:17 $ docker rm -f --volumes a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee [Pipeline] // withDockerContainer [Pipeline] sh 20:42:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:42:17 Stashed 1 file(s) [Pipeline] echo 20:42:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:18 provisioning config files... 20:42:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config4373850308721964345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:18 ---> ****-login.sh 20:42:18 nexus3.edgexfoundry.org:10001 20:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:18 Configure a credential helper to remove this warning. See 20:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:18 20:42:18 Login Succeeded 20:42:18 nexus3.edgexfoundry.org:10002 20:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:18 Configure a credential helper to remove this warning. See 20:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:18 20:42:18 Login Succeeded 20:42:18 nexus3.edgexfoundry.org:10003 20:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:18 Configure a credential helper to remove this warning. See 20:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:18 20:42:18 Login Succeeded 20:42:18 nexus3.edgexfoundry.org:10004 20:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:18 Configure a credential helper to remove this warning. See 20:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:18 20:42:18 Login Succeeded 20:42:18 ****.io 20:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:19 Configure a credential helper to remove this warning. See 20:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:19 20:42:19 Login Succeeded 20:42:19 ---> ****-login.sh ends [Pipeline] } 20:42:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:42:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:42:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:42:19 ========================================================= 20:42:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:42:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:42:20 Sending build context to Docker daemon 16.35MB 20:42:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:42:20 Step 2/12 : FROM ${BASE} AS builder 20:42:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:42:20 7264a8db6415: Pulling fs layer 20:42:20 c4d48a809fc2: Pulling fs layer 20:42:20 4f1c88b9dad5: Pulling fs layer 20:42:20 ad3a456e5733: Pulling fs layer 20:42:20 69c7f0334f64: Pulling fs layer 20:42:20 1f1c1a5573a3: Pulling fs layer 20:42:20 ce7588e14bc9: Pulling fs layer 20:42:20 b5e4710f87ac: Pulling fs layer 20:42:20 ad3a456e5733: Waiting 20:42:20 69c7f0334f64: Waiting 20:42:20 b5e4710f87ac: Waiting 20:42:20 ce7588e14bc9: Waiting 20:42:20 c4d48a809fc2: Verifying Checksum 20:42:20 c4d48a809fc2: Download complete 20:42:20 ad3a456e5733: Verifying Checksum 20:42:20 ad3a456e5733: Download complete 20:42:20 69c7f0334f64: Download complete 20:42:20 7264a8db6415: Verifying Checksum 20:42:20 7264a8db6415: Download complete 20:42:20 1f1c1a5573a3: Verifying Checksum 20:42:20 1f1c1a5573a3: Download complete 20:42:20 7264a8db6415: Pull complete 20:42:20 b5e4710f87ac: Verifying Checksum 20:42:20 b5e4710f87ac: Download complete 20:42:20 c4d48a809fc2: Pull complete 20:42:20 4f1c88b9dad5: Verifying Checksum 20:42:20 4f1c88b9dad5: Download complete 20:42:21 ce7588e14bc9: Verifying Checksum 20:42:21 ce7588e14bc9: Download complete 20:42:24 4f1c88b9dad5: Pull complete 20:42:24 ad3a456e5733: Pull complete 20:42:24 69c7f0334f64: Pull complete 20:42:24 1f1c1a5573a3: Pull complete 20:42:26 ce7588e14bc9: Pull complete 20:42:27 b5e4710f87ac: Pull complete 20:42:27 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:42:27 ---> 88b5674ff536 20:42:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:42:31 ---> Running in d22ae383ac8a 20:42:31 Removing intermediate container d22ae383ac8a 20:42:31 ---> 8647686dce0a 20:42:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:31 ---> Running in 838ad3a34903 20:42:31 Removing intermediate container 838ad3a34903 20:42:31 ---> af8e1b62935e 20:42:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:31 ---> Running in 85c9f14105b8 20:42:31 Removing intermediate container 85c9f14105b8 20:42:31 ---> fa00c196e5b0 20:42:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:42:31 ---> Running in 70819a794740 20:42:31 Removing intermediate container 70819a794740 20:42:31 ---> f235091998ec 20:42:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:31 ---> Running in 5bdc5eaaf7bc 20:42:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:42:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:42:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:42:32 (2/4) Installing libedit (20221030.3.1-r1) 20:42:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:42:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:42:32 Executing busybox-1.36.1-r5.trigger 20:42:32 OK: 268 MiB in 56 packages 20:42:32 Removing intermediate container 5bdc5eaaf7bc 20:42:32 ---> a9378822c7bc 20:42:32 Step 8/12 : WORKDIR /device-rest-go 20:42:33 ---> Running in ce35b750be97 20:42:33 Removing intermediate container ce35b750be97 20:42:33 ---> 6570f98cf0fd 20:42:33 Step 9/12 : COPY go.mod vendor* ./ 20:42:33 ---> 0650b1ce32c7 20:42:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:33 ---> Running in 9d65e4abe237 20:42:33 Still waiting to schedule task 20:42:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:23 Removing intermediate container 9d65e4abe237 20:43:23 ---> 84b532b5fa1c 20:43:23 Step 11/12 : COPY . . 20:43:23 ---> 1d6b327a437a 20:43:23 Step 12/12 : RUN $MAKE 20:43:23 ---> Running in feb61de2a32b 20:43:23 noop 20:43:23 Removing intermediate container feb61de2a32b 20:43:23 ---> c60481de589e 20:43:23 Successfully built c60481de589e 20:43:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:23 + docker inspect -f . ci-base-image-x86_64 20:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:23 prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container 20:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:43:23 $ docker top ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:24 + go version 20:43:24 go version go1.21.0 linux/amd64 [Pipeline] } 20:43:24 $ docker stop --time=1 ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 20:43:25 $ docker rm -f --volumes ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:26 + docker inspect -f . ci-base-image-x86_64 20:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:26 prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container 20:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:43:26 $ docker top 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] fileExists [Pipeline] sh 20:43:27 + make test 20:43:27 go test ./... -coverprofile=coverage.out ./... 20:43:28 ? github.com/edgexfoundry/device-rest-go [no test files] 20:43:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:43:38 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:43:45 go vet ./... 20:43:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:43:48 $ docker stop --time=1 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf 20:43:51 $ docker rm -f --volumes 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf [Pipeline] // withDockerContainer [Pipeline] sh 20:43:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:52 + ls -al . 20:43:52 total 180 20:43:52 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:43 . 20:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:41 .. 20:43:52 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 20:41 .dockerignore 20:43:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:43 .git 20:43:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 .github 20:43:52 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:41 .gitignore 20:43:52 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:41 .golangci.yml 20:43:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:42 .semver 20:43:52 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 20:41 Attribution.txt 20:43:52 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 20:41 CHANGELOG.md 20:43:52 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 20:41 Dockerfile 20:43:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:41 GOVERNANCE.md 20:43:52 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 20:41 Jenkinsfile 20:43:52 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:41 LICENSE 20:43:52 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 20:41 Makefile 20:43:52 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:41 OWNERS.md 20:43:52 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 20:41 README.md 20:43:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 20:42 VERSION 20:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:41 bin 20:43:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 cmd 20:43:52 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:43 coverage.out 20:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:41 driver 20:43:52 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 20:41 go.mod 20:43:52 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:41 go.sum 20:43:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 openapi 20:43:52 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:53 + 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=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d --label arch=amd64 --label version=0.0.0 . 20:43:53 Sending build context to Docker daemon 16.36MB 20:43:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:43:53 Step 2/26 : FROM ${BASE} AS builder 20:43:53 ---> c60481de589e 20:43:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:43:53 ---> Running in 6ef383646f62 20:43:53 Removing intermediate container 6ef383646f62 20:43:53 ---> fcb6f3ba8cf2 20:43:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:53 ---> Running in 0304d18885f6 20:43:53 Removing intermediate container 0304d18885f6 20:43:53 ---> b32ec9b88dc4 20:43:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:53 ---> Running in cc31c281fc9c 20:43:53 Removing intermediate container cc31c281fc9c 20:43:53 ---> aef91ac12277 20:43:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:43:53 ---> Running in c8b248ab1a97 20:43:53 Removing intermediate container c8b248ab1a97 20:43:53 ---> aba275fd2023 20:43:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:53 ---> Running in dab0b7f3a51a 20:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:54 OK: 268 MiB in 56 packages 20:43:54 Removing intermediate container dab0b7f3a51a 20:43:54 ---> 8f23432577a3 20:43:54 Step 8/26 : WORKDIR /device-rest-go 20:43:55 ---> Running in 5116ee0a2559 20:43:55 Removing intermediate container 5116ee0a2559 20:43:55 ---> 6a41afd1cd43 20:43:55 Step 9/26 : COPY go.mod vendor* ./ 20:43:55 ---> 36a75935016f 20:43:55 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:55 ---> Running in 7126e28c288e 20:43:56 Removing intermediate container 7126e28c288e 20:43:56 ---> d0652cbd4519 20:43:56 Step 11/26 : COPY . . 20:43:56 ---> d2e00aaf06d5 20:43:56 Step 12/26 : RUN $MAKE 20:43:56 ---> Running in 195ed46ac83a 20:43:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:44:19 Removing intermediate container 195ed46ac83a 20:44:19 ---> eeb628852b2e 20:44:19 Step 13/26 : FROM alpine:3.18 20:44:19 3.18: Pulling from library/alpine 20:44:19 96526aa774ef: Pulling fs layer 20:44:19 96526aa774ef: Verifying Checksum 20:44:19 96526aa774ef: Download complete 20:44:19 96526aa774ef: Pull complete 20:44:19 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:44:19 Status: Downloaded newer image for alpine:3.18 20:44:19 ---> 8ca4688f4f35 20:44:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:44:19 ---> Running in 27b094317b0e 20:44:19 Removing intermediate container 27b094317b0e 20:44:19 ---> fe7c04246547 20:44:19 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:44:19 ---> Running in 6b4a9cc67873 20:44:19 Removing intermediate container 6b4a9cc67873 20:44:19 ---> 76f06409354c 20:44:19 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:44:19 ---> Running in 1a231147ad8f 20:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:19 (1/1) Installing dumb-init (1.2.5-r2) 20:44:19 Executing busybox-1.36.1-r2.trigger 20:44:19 OK: 7 MiB in 16 packages 20:44:19 Removing intermediate container 1a231147ad8f 20:44:19 ---> 18eea1a9a619 20:44:19 Step 17/26 : RUN apk --no-cache upgrade 20:44:19 ---> Running in 484b7b6d0c4f 20:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:19 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:44:19 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:44:19 Executing busybox-1.36.1-r5.post-upgrade 20:44:19 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:44:19 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:44:19 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:44:19 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:44:19 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:44:19 Executing busybox-1.36.1-r5.trigger 20:44:19 OK: 7 MiB in 16 packages 20:44:19 Removing intermediate container 484b7b6d0c4f 20:44:19 ---> d9162ad75daa 20:44:19 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:44:20 ---> 505a4a8197d3 20:44:20 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:44:20 ---> 55d4ef04d368 20:44:20 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:44:20 ---> 04f21a98d2d6 20:44:20 Step 21/26 : EXPOSE 59986 20:44:20 ---> Running in 7db1a59a7492 20:44:20 Removing intermediate container 7db1a59a7492 20:44:20 ---> 7537810cb290 20:44:20 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:44:20 ---> Running in 135fb4603e2a 20:44:20 Removing intermediate container 135fb4603e2a 20:44:20 ---> c4e8c0d22c50 20:44:20 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:44:20 ---> Running in e8c226e91784 20:44:20 Removing intermediate container e8c226e91784 20:44:20 ---> af12c70873f0 20:44:20 Step 24/26 : LABEL arch=amd64 20:44:20 ---> Running in 771858d5a2a4 20:44:20 Removing intermediate container 771858d5a2a4 20:44:20 ---> 352776401ad5 20:44:20 Step 25/26 : LABEL git_sha=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d 20:44:20 ---> Running in 62aa51d5105c 20:44:20 Removing intermediate container 62aa51d5105c 20:44:20 ---> eebffde507e7 20:44:20 Step 26/26 : LABEL version=0.0.0 20:44:20 ---> Running in 18998d9af43c 20:44:20 Removing intermediate container 18998d9af43c 20:44:20 ---> ea96c6ce4401 20:44:20 [Warning] One or more build-args [ARCH] were not consumed 20:44:20 Successfully built ea96c6ce4401 20:44:20 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:21 20:44:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:21 latest: Pulling from edgex-lftools-log-publisher 20:44:21 5eb5b503b376: Pulling fs layer 20:44:21 5c69ac0246d0: Pulling fs layer 20:44:21 ec43610c2a17: Pulling fs layer 20:44:21 3a2ae6a8a46f: Pulling fs layer 20:44:21 33b1e0a273af: Pulling fs layer 20:44:21 5d3b04190fa2: Pulling fs layer 20:44:21 2f39f015ded8: Pulling fs layer 20:44:21 3a2ae6a8a46f: Waiting 20:44:21 33b1e0a273af: Waiting 20:44:21 5d3b04190fa2: Waiting 20:44:21 2f39f015ded8: Waiting 20:44:21 5c69ac0246d0: Verifying Checksum 20:44:21 5c69ac0246d0: Download complete 20:44:21 3a2ae6a8a46f: Verifying Checksum 20:44:21 3a2ae6a8a46f: Download complete 20:44:21 33b1e0a273af: Verifying Checksum 20:44:21 33b1e0a273af: Download complete 20:44:21 5d3b04190fa2: Download complete 20:44:21 ec43610c2a17: Verifying Checksum 20:44:21 ec43610c2a17: Download complete 20:44:22 5eb5b503b376: Verifying Checksum 20:44:22 5eb5b503b376: Download complete 20:44:22 2f39f015ded8: Download complete 20:44:23 5eb5b503b376: Pull complete 20:44:23 5c69ac0246d0: Pull complete 20:44:23 ec43610c2a17: Pull complete 20:44:23 3a2ae6a8a46f: Pull complete 20:44:24 33b1e0a273af: Pull complete 20:44:24 5d3b04190fa2: Pull complete 20:44:28 2f39f015ded8: Pull complete 20:44:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:28 prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container 20:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:44:33 $ docker top 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:33 ---> job-cost.sh 20:44:33 lf-activate-venv: SKIPPING 20:44:33 INFO: No Stack... 20:44:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:44:34 INFO: Archiving Costs [Pipeline] sh 20:44:34 + cat /w/workspace/gexfoundry_device-rest-go_PR-370/archives/cost.csv 20:44:34 + cut -d, -f6 [Pipeline] lock 20:44:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] 20:44:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] did not exist. Created. 20:44:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:44:34 + echo total: 0.2199999988079071 [Pipeline] stash 20:44:35 Stashed 1 file(s) [Pipeline] } 20:44:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:44:35 $ docker stop --time=1 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 20:44:36 $ docker rm -f --volumes 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:06:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8880 in /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] { [Pipeline] ws 22:06:56 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 22:06:59 The recommended git tool is: git 22:07:04 using credential edgex-jenkins-ssh 22:07:04 Cloning the remote Git repository 22:07:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:07:04 > git init /w/workspace/device-rest-go/2 # timeout=10 22:07:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:07:04 > git --version # timeout=10 22:07:04 > git --version # 'git version 2.25.1' 22:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:07:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:08 Merging remotes/origin/main commit 0e4c43928dd74877e01497a451c4b89b2b600e8c into PR head commit a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d 22:07:09 Merge succeeded, producing a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d 22:07:09 Checking out Revision a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d (PR-370) 22:07:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:07:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:07:09 > git config core.sparsecheckout # timeout=10 22:07:09 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 22:07:09 > git remote # timeout=10 22:07:09 > git config --get remote.origin.url # timeout=10 22:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:09 > git merge 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 22:07:09 > git rev-parse HEAD^{commit} # timeout=10 22:07:09 > git config core.sparsecheckout # timeout=10 22:07:09 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 22:07:09 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:10 Dload Upload Total Spent Left Speed 22:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh 22:07:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:07:11 + sudo tee /etc/docker/daemon.new 22:07:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:07:11 { 22:07:11 "registry-mirrors": [ 22:07:11 "https://nexus3.edgexfoundry.org:10001" 22:07:11 ], 22:07:11 "bip": "10.250.0.254/24", 22:07:11 "hosts": [ 22:07:11 "tcp://0.0.0.0:5555", 22:07:11 "unix:///var/run/docker.sock" 22:07:11 ], 22:07:11 "mtu": 1458, 22:07:11 "selinux-enabled": true, 22:07:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:07:11 } [Pipeline] sh 22:07:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:07:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:30 provisioning config files... 22:07:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config17146510924805157189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:31 ---> ****-login.sh 22:07:31 nexus3.edgexfoundry.org:10001 22:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:31 Configure a credential helper to remove this warning. See 22:07:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:31 22:07:31 Login Succeeded 22:07:31 nexus3.edgexfoundry.org:10002 22:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:31 Configure a credential helper to remove this warning. See 22:07:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:31 22:07:31 Login Succeeded 22:07:32 nexus3.edgexfoundry.org:10003 22:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:32 Configure a credential helper to remove this warning. See 22:07:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:32 22:07:32 Login Succeeded 22:07:32 nexus3.edgexfoundry.org:10004 22:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:32 Configure a credential helper to remove this warning. See 22:07:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:32 22:07:32 Login Succeeded 22:07:32 ****.io 22:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:33 Configure a credential helper to remove this warning. See 22:07:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:33 22:07:33 Login Succeeded 22:07:33 ---> ****-login.sh ends [Pipeline] } 22:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:07:33 ========================================================= 22:07:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:07:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:07:34 Sending build context to Docker daemon 127.5kB 22:07:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:07:34 Step 2/12 : FROM ${BASE} AS builder 22:07:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:07:34 9fda8d8052c6: Pulling fs layer 22:07:34 5d54e960e981: Pulling fs layer 22:07:34 c4a7e357bf2a: Pulling fs layer 22:07:34 f0e02332f6b5: Pulling fs layer 22:07:34 872ee5b61b7b: Pulling fs layer 22:07:34 872ee5b61b7b: Waiting 22:07:34 f0e02332f6b5: Waiting 22:07:34 0c6a40ed1a82: Pulling fs layer 22:07:34 94ae7d8d031c: Pulling fs layer 22:07:34 0c6a40ed1a82: Waiting 22:07:34 94ae7d8d031c: Waiting 22:07:34 5d54e960e981: Verifying Checksum 22:07:34 5d54e960e981: Download complete 22:07:34 f0e02332f6b5: Verifying Checksum 22:07:34 f0e02332f6b5: Download complete 22:07:34 872ee5b61b7b: Verifying Checksum 22:07:34 872ee5b61b7b: Download complete 22:07:34 9fda8d8052c6: Verifying Checksum 22:07:34 9fda8d8052c6: Download complete 22:07:35 94ae7d8d031c: Verifying Checksum 22:07:35 94ae7d8d031c: Download complete 22:07:35 9fda8d8052c6: Pull complete 22:07:36 5d54e960e981: Pull complete 22:07:36 c4a7e357bf2a: Verifying Checksum 22:07:36 c4a7e357bf2a: Download complete 22:07:37 0c6a40ed1a82: Verifying Checksum 22:07:37 0c6a40ed1a82: Download complete 22:07:49 c4a7e357bf2a: Pull complete 22:07:49 f0e02332f6b5: Pull complete 22:07:49 872ee5b61b7b: Pull complete 22:07:59 0c6a40ed1a82: Pull complete 22:08:00 94ae7d8d031c: Pull complete 22:08:01 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 22:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:08:01 ---> 86de565de09d 22:08:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:08:02 ---> Running in 6235b4546b70 22:08:02 Removing intermediate container 6235b4546b70 22:08:02 ---> 500af96ff146 22:08:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:08:02 ---> Running in 1a6d5c2b856a 22:08:03 Removing intermediate container 1a6d5c2b856a 22:08:03 ---> 523a2acf39c8 22:08:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:08:03 ---> Running in 1d55081c860e 22:08:03 Removing intermediate container 1d55081c860e 22:08:03 ---> 2dbed3039ea4 22:08:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:08:03 ---> Running in 764b57e68df2 22:08:04 Removing intermediate container 764b57e68df2 22:08:04 ---> dee1917c77a2 22:08:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:08:04 ---> Running in 1737b2ce8356 22:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:08:06 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:08:06 (2/4) Installing libedit (20221030.3.1-r1) 22:08:06 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:08:06 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:08:06 Executing busybox-1.36.1-r5.trigger 22:08:06 OK: 271 MiB in 56 packages 22:08:07 Removing intermediate container 1737b2ce8356 22:08:07 ---> c394bce87313 22:08:07 Step 8/12 : WORKDIR /device-rest-go 22:08:08 ---> Running in f2db1fba2993 22:08:08 Removing intermediate container f2db1fba2993 22:08:08 ---> 288ac4d2bf4b 22:08:08 Step 9/12 : COPY go.mod vendor* ./ 22:08:08 ---> af9b2cd4e662 22:08:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:08:09 ---> Running in ee0db2eefedc 22:09:30 Removing intermediate container ee0db2eefedc 22:09:30 ---> 8433888a339c 22:09:30 Step 11/12 : COPY . . 22:09:30 ---> cbc51cb538d1 22:09:30 Step 12/12 : RUN $MAKE 22:09:30 ---> Running in 8a7eb653e3cb 22:09:30 noop 22:09:30 Removing intermediate container 8a7eb653e3cb 22:09:30 ---> 615b89ea09f3 22:09:30 Successfully built 615b89ea09f3 22:09:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:31 + docker inspect -f . ci-base-image-arm64 22:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:31 prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container 22:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 22:09:32 $ docker top 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:33 + go version 22:09:33 go version go1.21.0 linux/arm64 [Pipeline] } 22:09:33 $ docker stop --time=1 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 22:09:35 $ docker rm -f --volumes 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:36 + docker inspect -f . ci-base-image-arm64 22:09:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:36 prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container 22:09:36 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 22:09:40 $ docker top 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:41 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 22:09:42 + make test 22:09:42 go test ./... -coverprofile=coverage.out ./... 22:09:46 ? github.com/edgexfoundry/device-rest-go [no test files] 22:11:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:11:23 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements 22:11:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:11:23 go vet ./... 22:11:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:49 ./bin/test-attribution-txt.sh [Pipeline] echo 22:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:11:49 $ docker stop --time=1 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 22:11:52 $ docker rm -f --volumes 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:53 Warning: overwriting stash ‘coverage-report’ 22:11:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:55 + ls -al . 22:11:55 total 176 22:11:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 22:09 . 22:11:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 22:07 .. 22:11:55 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 22:07 .dockerignore 22:11:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 22:07 .git 22:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 .github 22:11:55 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 22:07 .gitignore 22:11:55 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 22:07 .golangci.yml 22:11:55 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 22:07 Attribution.txt 22:11:55 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 22:07 CHANGELOG.md 22:11:55 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 22:07 Dockerfile 22:11:55 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 22:07 GOVERNANCE.md 22:11:55 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 22:07 Jenkinsfile 22:11:55 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 22:07 LICENSE 22:11:55 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 22:07 Makefile 22:11:55 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 22:07 OWNERS.md 22:11:55 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 22:07 README.md 22:11:55 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 20:42 VERSION 22:11:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 22:07 bin 22:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 cmd 22:11:55 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 22:11 coverage.out 22:11:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 22:07 driver 22:11:55 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 22:07 go.mod 22:11:55 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 22:07 go.sum 22:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 openapi 22:11:55 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:55 + 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=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d --label arch=arm64 --label version=0.0.0 . 22:11:55 Sending build context to Docker daemon 142.8kB 22:11:56 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:11:56 Step 2/26 : FROM ${BASE} AS builder 22:11:56 ---> 615b89ea09f3 22:11:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:11:56 ---> Running in 38affe697e1f 22:11:56 Removing intermediate container 38affe697e1f 22:11:56 ---> cf93a03b2be4 22:11:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:56 ---> Running in 186b702eeac1 22:11:58 Removing intermediate container 186b702eeac1 22:11:58 ---> 0c8890df8f61 22:11:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:11:58 ---> Running in 7b947f0de7e9 22:11:58 Removing intermediate container 7b947f0de7e9 22:11:58 ---> 81f8c3380690 22:11:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:11:58 ---> Running in 3625f266461d 22:12:00 Removing intermediate container 3625f266461d 22:12:00 ---> 18af765a8144 22:12:00 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:00 ---> Running in cb019d170f5d 22:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:12:03 OK: 271 MiB in 56 packages 22:12:04 Removing intermediate container cb019d170f5d 22:12:04 ---> 7f3690bdc487 22:12:04 Step 8/26 : WORKDIR /device-rest-go 22:12:04 ---> Running in 0acfaed10942 22:12:04 Removing intermediate container 0acfaed10942 22:12:04 ---> 1d25ad5275f4 22:12:04 Step 9/26 : COPY go.mod vendor* ./ 22:12:04 ---> 874ec31a36d8 22:12:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:05 ---> Running in 96dcf2ef61e2 22:12:07 Removing intermediate container 96dcf2ef61e2 22:12:07 ---> de361a278ebc 22:12:07 Step 11/26 : COPY . . 22:12:07 ---> dd0d97caf4cc 22:12:07 Step 12/26 : RUN $MAKE 22:12:07 ---> Running in 8f7621824f65 22:12:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:14:00 Removing intermediate container 8f7621824f65 22:14:00 ---> 064ea5991b0d 22:14:00 Step 13/26 : FROM alpine:3.18 22:14:00 3.18: Pulling from library/alpine 22:14:00 579b34f0a95b: Pulling fs layer 22:14:00 579b34f0a95b: Verifying Checksum 22:14:00 579b34f0a95b: Download complete 22:14:00 579b34f0a95b: Pull complete 22:14:00 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:14:00 Status: Downloaded newer image for alpine:3.18 22:14:00 ---> 3cc203321400 22:14:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:14:00 ---> Running in 46ef312f3bc1 22:14:00 Removing intermediate container 46ef312f3bc1 22:14:00 ---> 7ce96551c1e7 22:14:00 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:14:00 ---> Running in 32945e6bb5fb 22:14:00 Removing intermediate container 32945e6bb5fb 22:14:00 ---> c6109a389995 22:14:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:00 ---> Running in b7cc4b286972 22:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:00 (1/1) Installing dumb-init (1.2.5-r2) 22:14:00 Executing busybox-1.36.1-r2.trigger 22:14:00 OK: 8 MiB in 16 packages 22:14:01 Removing intermediate container b7cc4b286972 22:14:01 ---> 85ef5da6f7db 22:14:01 Step 17/26 : RUN apk --no-cache upgrade 22:14:01 ---> Running in 4259284b2b20 22:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:03 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:14:03 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:14:03 Executing busybox-1.36.1-r5.post-upgrade 22:14:03 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:14:03 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:14:03 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:14:03 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:14:03 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:14:03 Executing busybox-1.36.1-r5.trigger 22:14:03 OK: 8 MiB in 16 packages 22:14:04 Removing intermediate container 4259284b2b20 22:14:04 ---> b6f1e9e1d4c3 22:14:04 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:14:06 ---> cc0150794c8d 22:14:06 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:14:07 ---> 73a4bd9df074 22:14:07 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:14:07 ---> e8e6920d7830 22:14:07 Step 21/26 : EXPOSE 59986 22:14:07 ---> Running in 93a6d0e52f13 22:14:08 Removing intermediate container 93a6d0e52f13 22:14:08 ---> 5b2b5d39940c 22:14:08 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:14:08 ---> Running in 9db723fe0390 22:14:08 Removing intermediate container 9db723fe0390 22:14:08 ---> 3416d11f0704 22:14:08 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:14:08 ---> Running in 96bae44b23ba 22:14:08 Removing intermediate container 96bae44b23ba 22:14:08 ---> e6915ca726f4 22:14:08 Step 24/26 : LABEL arch=arm64 22:14:08 ---> Running in f91e48758a23 22:14:09 Removing intermediate container f91e48758a23 22:14:09 ---> a3c5d4b1bd73 22:14:09 Step 25/26 : LABEL git_sha=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d 22:14:09 ---> Running in af2385123c36 22:14:09 Removing intermediate container af2385123c36 22:14:09 ---> 8d46c574dc6a 22:14:09 Step 26/26 : LABEL version=0.0.0 22:14:09 ---> Running in 3900b99b1625 22:14:09 Removing intermediate container 3900b99b1625 22:14:09 ---> bc8ac3b87415 22:14:09 [Warning] One or more build-args [ARCH] were not consumed 22:14:09 Successfully built bc8ac3b87415 22:14:09 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 22:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:10 22:14:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:11 arm64: Pulling from edgex-lftools-log-publisher 22:14:11 8998bd30e6a1: Pulling fs layer 22:14:11 04944245beec: Pulling fs layer 22:14:11 699f458cf7ca: Pulling fs layer 22:14:11 765212b225bb: Pulling fs layer 22:14:11 f23df028b6ca: Pulling fs layer 22:14:11 d65c8cfc05b1: Pulling fs layer 22:14:11 2437ff75d9bd: Pulling fs layer 22:14:11 f23df028b6ca: Waiting 22:14:11 765212b225bb: Waiting 22:14:11 d65c8cfc05b1: Waiting 22:14:11 2437ff75d9bd: Waiting 22:14:11 04944245beec: Verifying Checksum 22:14:11 04944245beec: Download complete 22:14:11 765212b225bb: Verifying Checksum 22:14:11 765212b225bb: Download complete 22:14:11 f23df028b6ca: Verifying Checksum 22:14:11 f23df028b6ca: Download complete 22:14:11 d65c8cfc05b1: Verifying Checksum 22:14:11 d65c8cfc05b1: Download complete 22:14:11 699f458cf7ca: Verifying Checksum 22:14:11 699f458cf7ca: Download complete 22:14:11 8998bd30e6a1: Download complete 22:14:16 8998bd30e6a1: Pull complete 22:14:16 04944245beec: Pull complete 22:14:18 2437ff75d9bd: Verifying Checksum 22:14:18 2437ff75d9bd: Download complete 22:14:18 699f458cf7ca: Pull complete 22:14:18 765212b225bb: Pull complete 22:14:19 f23df028b6ca: Pull complete 22:14:20 d65c8cfc05b1: Pull complete 22:14:38 2437ff75d9bd: Pull complete 22:14:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:14:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:38 prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container 22:14:38 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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:arm64 cat 22:14:41 $ docker top 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:42 ---> job-cost.sh 22:14:42 lf-activate-venv: SKIPPING 22:14:42 INFO: No Stack... 22:14:42 INFO: Retrieving Pricing Info for: v3-standard-4 22:14:43 INFO: Archiving Costs [Pipeline] sh 22:14:44 + cat /w/workspace/device-rest-go/2/archives/cost.csv 22:14:44 + cut -d, -f6 [Pipeline] lock 22:14:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] 22:14:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] did not exist. Created. 22:14:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:45 /w/workspace/device-rest-go/2@tmp/durable-2efed744/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:14:45 + echo total: 0.10999999940395355 [Pipeline] stash 22:14:45 Warning: overwriting stash ‘stack-cost’ 22:14:45 Stashed 1 file(s) [Pipeline] } 22:14:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:46 $ docker stop --time=1 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f 22:14:47 $ docker rm -f --volumes 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f [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 22:14:48 provisioning config files... 22:14:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config11293041281252297556tmp [Pipeline] { [Pipeline] sh 22:14:49 + set +x 22:14:49 + + curlbash -s -s https://codecov.io/bash -- 22:14:49 22:14:49 22:14:49 _____ _ 22:14:49 / ____| | | 22:14:49 | | ___ __| | ___ ___ _____ __ 22:14:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:14:49 | |___| (_) | (_| | __/ (_| (_) \ V / 22:14:49 \_____\___/ \__,_|\___|\___\___/ \_/ 22:14:49 Bash-1.0.6 22:14:49 22:14:49 22:14:49 ==> git version 2.25.1 found 22:14:49 ==> 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 22:14:49 Release-Date: 2020-01-08 22:14:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:14:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:14:49 ==> Jenkins CI detected. 22:14:49 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-370 22:14:49 project root: . 22:14:49 --> token set from env 22:14:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:14:49 ==> Running gcov in . (disable via -X gcov) 22:14:49 ==> Python coveragepy not found 22:14:49 ==> Searching for coverage reports in: 22:14:49 + . 22:14:49 -> Found 1 reports 22:14:49 ==> Detecting git/mercurial file structure 22:14:49 ==> Reading reports 22:14:49 + ./coverage.out bytes=14499 22:14:49 ==> Appending adjustments 22:14:49 https://docs.codecov.io/docs/fixing-reports 22:14:49 + Found adjustments 22:14:49 ==> Gzipping contents 22:14:49 4.0K /tmp/codecov.TvdBy0.gz 22:14:49 ==> Uploading reports 22:14:49 url: https://codecov.io 22:14:49 query: branch=PR-370&commit=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-370%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=370&job=&cmd_args= 22:14:49 -> Pinging Codecov 22:14:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-370&commit=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-370%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=370&job=&cmd_args= 22:14:49 -> Uploading to 22:14:49 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d/e6818b4e-6524-462a-9a0e-8e44a34d738d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T221449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7080031cd2caeb5aab356acdc4a26dca7f1676c4d40b79f69c07e810c756f55f 22:14:49 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:49 Dload Upload Total Spent Left Speed 22:14:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10550 --:--:-- --:--:-- --:--:-- 10502 100 2321 0 0 100 2321 0 9173 --:--:-- --:--:-- --:--:-- 9137 22:14:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] } 22:14:49 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 22:14:51 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-370/archives ] 22:14:51 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives 22:14:51 total 16 22:14:51 drwxr-xr-x 3 root root 4096 Nov 28 20:44 . 22:14:51 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:44 .. 22:14:51 drwxr-xr-x 2 root root 4096 Nov 28 20:44 cost 22:14:51 -rw-r--r-- 1 root root 86 Nov 28 20:44 cost.csv 22:14:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-370/archives 22:14:51 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives 22:14:51 total 16 22:14:51 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:44 . 22:14:51 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:44 .. 22:14:51 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:44 cost 22:14:51 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:14:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:14:52 ---> package-listing.sh 22:14:52 ++ facter osfamily 22:14:52 ++ tr '[:upper:]' '[:lower:]' 22:14:53 + OS_FAMILY=debian 22:14:53 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-370 22:14:53 + START_PACKAGES=/tmp/packages_start.txt 22:14:53 + END_PACKAGES=/tmp/packages_end.txt 22:14:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:14:53 + PACKAGES=/tmp/packages_start.txt 22:14:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' 22:14:53 + PACKAGES=/tmp/packages_end.txt 22:14:53 + case "${OS_FAMILY}" in 22:14:53 + dpkg -l 22:14:53 + grep '^ii' 22:14:53 + '[' -f /tmp/packages_start.txt ']' 22:14:53 + '[' -f /tmp/packages_end.txt ']' 22:14:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:14:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' 22:14:53 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ 22:14:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ [Pipeline] echo 22:14:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:14:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:54 prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container 22:14:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:54 $ docker top 43eb930a241a2526955e16592afdd0e61dc51ec95c0ee14d6a67f57ec8b3a9d6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:54 + touch /tmp/pre-build-complete [Pipeline] sh 22:14:55 + mkdir -p /var/log/sysstat [Pipeline] sh 22:14:55 + ls /var/log/sa-host 22:14:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:55 provisioning config files... 22:14:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config9502810850417095742tmp [Pipeline] { [Pipeline] echo 22:14:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:14:55 ---> create-netrc.sh [Pipeline] } 22:14:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:14:56 ---> python-tools-install.sh [Pipeline] echo 22:14:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:14:56 ---> sudo-logs.sh 22:14:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:14:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:14:56 ---> job-cost.sh 22:14:56 lf-activate-venv: SKIPPING 22:14:56 DEBUG: total: 0.2199999988079071 22:14:56 INFO: Retrieving Stack Cost... 22:14:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:57 INFO: Archiving Costs [Pipeline] echo 22:14:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:14:58 ---> logs-deploy.sh 22:14:58 lf-activate-venv: SKIPPING 22:14:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-370/2 22:14:58 INFO: archiving workspace using pattern(s): 22:14:58 Archives upload complete. 22:14:58 INFO: archiving logs to Nexus