Pull request #209 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at ffd2286d282b3823fe96213d71db487366ab171f rather than 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b Obtained Jenkinsfile from ffd2286d282b3823fe96213d71db487366ab171f 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-ssh11494116105285926675.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2589519482490454282.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-209/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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13583775602092148424.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3897430293306953419.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-209/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-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6528895337743457033.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22584 in /w/workspace/gexfoundry_device-rest-go_PR-209 [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-209 # 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 ffd2286d282b3823fe96213d71db487366ab171f into PR head commit 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b > 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/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b Checking out Revision 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b (PR-209) > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # 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 ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 Commit message: "build(snap): Change name `service` to `app`" > git rev-list --no-walk aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:02 ========================================================= 06:34:02 EdgeX Global Pipelines Version Info 06:34:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:34:03 ------------------- 06:34:03 stable info: 06:34:03 ------------------- 06:34:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:03 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:34:03 Message: update stable to v1.0.238 06:34:03 ------------------- 06:34:03 experimental info: 06:34:03 ------------------- 06:34:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:03 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:34:03 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:34:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93ee19a [Pipeline] echo 06:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:04 provisioning config files... 06:34:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config9048402660103470026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:04 ---> docker-login.sh 06:34:04 nexus3.edgexfoundry.org:10001 06:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:05 Configure a credential helper to remove this warning. See 06:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:05 06:34:05 Login Succeeded 06:34:05 nexus3.edgexfoundry.org:10002 06:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:05 Configure a credential helper to remove this warning. See 06:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:05 06:34:05 Login Succeeded 06:34:05 nexus3.edgexfoundry.org:10003 06:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:05 Configure a credential helper to remove this warning. See 06:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:05 06:34:05 Login Succeeded 06:34:05 nexus3.edgexfoundry.org:10004 06:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:05 Configure a credential helper to remove this warning. See 06:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:05 06:34:05 Login Succeeded 06:34:05 docker.io 06:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:06 Configure a credential helper to remove this warning. See 06:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:06 06:34:06 Login Succeeded 06:34:06 ---> docker-login.sh ends [Pipeline] } 06:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:34:06 + git rev-list -1 --merges 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b~1..93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo 06:34:06 -----------> git rev-list -1 --merges 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b~1..93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [false] [Pipeline] sh 06:34:06 + git log --format=format:%s -1 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo 06:34:06 ========================================================= 06:34:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:34:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:07 + git log --format=format:%s -1 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo 06:34:07 [semverPrep] GIT_COMMIT: 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b, Commit Message: build(snap): Change name `service` to `app` [Pipeline] echo 06:34:07 [semverPrep] This is not a build commit. [Pipeline] sh 06:34:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:34:07 + grep -v github /etc/ssh/ssh_known_hosts 06:34:07 + [ -e /tmp/ssh_known_hosts ] 06:34:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:34:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:34:07 + sudo tee -a /etc/ssh/ssh_known_hosts 06:34:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:08 06:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:08 0.1.4: Pulling from edgex-devops/py-git-semver 06:34:08 b85a868b505f: Pulling fs layer 06:34:08 e2be974225ed: Pulling fs layer 06:34:08 339a4e72a1f5: Pulling fs layer 06:34:08 988bab9f4d93: Pulling fs layer 06:34:08 1469e6f7b9e6: Pulling fs layer 06:34:08 eaf3925da568: Pulling fs layer 06:34:08 bab4dde63d76: Pulling fs layer 06:34:08 bde34c3a00c8: Pulling fs layer 06:34:08 b352a97aabf1: Pulling fs layer 06:34:08 4872d77fe225: Pulling fs layer 06:34:08 5851b861e8e6: Pulling fs layer 06:34:08 1469e6f7b9e6: Waiting 06:34:08 eaf3925da568: Waiting 06:34:08 bab4dde63d76: Waiting 06:34:08 4872d77fe225: Waiting 06:34:08 5851b861e8e6: Waiting 06:34:08 bde34c3a00c8: Waiting 06:34:08 988bab9f4d93: Waiting 06:34:08 b352a97aabf1: Waiting 06:34:08 e2be974225ed: Download complete 06:34:08 988bab9f4d93: Verifying Checksum 06:34:08 988bab9f4d93: Download complete 06:34:08 1469e6f7b9e6: Verifying Checksum 06:34:08 1469e6f7b9e6: Download complete 06:34:08 339a4e72a1f5: Verifying Checksum 06:34:08 339a4e72a1f5: Download complete 06:34:08 eaf3925da568: Verifying Checksum 06:34:08 eaf3925da568: Download complete 06:34:08 bde34c3a00c8: Download complete 06:34:08 b352a97aabf1: Download complete 06:34:08 4872d77fe225: Verifying Checksum 06:34:08 4872d77fe225: Download complete 06:34:08 5851b861e8e6: Download complete 06:34:08 b85a868b505f: Verifying Checksum 06:34:08 b85a868b505f: Download complete 06:34:08 bab4dde63d76: Verifying Checksum 06:34:08 bab4dde63d76: Download complete 06:34:09 b85a868b505f: Pull complete 06:34:09 e2be974225ed: Pull complete 06:34:10 339a4e72a1f5: Pull complete 06:34:10 988bab9f4d93: Pull complete 06:34:10 1469e6f7b9e6: Pull complete 06:34:10 eaf3925da568: Pull complete 06:34:12 bab4dde63d76: Pull complete 06:34:12 bde34c3a00c8: Pull complete 06:34:12 b352a97aabf1: Pull complete 06:34:12 4872d77fe225: Pull complete 06:34:12 5851b861e8e6: Pull complete 06:34:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:34:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:12 prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container 06:34:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:34:15 $ docker top fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 -eo pid,comm 06:34:15 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). 06:34:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:15 [ssh-agent] Looking for ssh-agent implementation... 06:34:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:15 $ docker exec fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent 06:34:15 SSH_AUTH_SOCK=/tmp/ssh-SacRcO8xsCsS/agent.32 06:34:15 SSH_AGENT_PID=38 06:34:15 Running ssh-add (command line suppressed) 06:34:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_4140811653259296793.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_4140811653259296793.key) 06:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:16 + git tag --points-at HEAD [Pipeline] } 06:34:16 $ docker exec --env ******** --env ******** fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent -k 06:34:16 unset SSH_AUTH_SOCK; 06:34:16 unset SSH_AGENT_PID; 06:34:16 echo Agent pid 38 killed; 06:34:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:16 [ssh-agent] Looking for ssh-agent implementation... 06:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:16 $ docker exec fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent 06:34:16 SSH_AUTH_SOCK=/tmp/ssh-MRMpdFFLSUTZ/agent.73 06:34:16 SSH_AGENT_PID=79 06:34:16 Running ssh-add (command line suppressed) 06:34:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6692382844779605829.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6692382844779605829.key) 06:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:17 + git semver init 06:34:17 2022-08-12 06:34:17,420 [run_init] DEBUG init version:0.0.0 force:False 06:34:17 2022-08-12 06:34:17,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver 06:34:17 2022-08-12 06:34:17,421 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-209/.semver 06:34:17 2022-08-12 06:34:17,421 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-209/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209, universal_newlines=False, shell=None, istream=None) 06:34:18 2022-08-12 06:34:18,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.git/info/exclude 06:34:18 2022-08-12 06:34:18,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 with force:False 06:34:18 2022-08-12 06:34:18,355 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 06:34:18 2022-08-12 06:34:18,359 [execute] INFO git cat-file --batch-check 06:34:18 2022-08-12 06:34:18,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 06:34:18 2022-08-12 06:34:18,366 [execute] INFO git cat-file --batch 06:34:18 2022-08-12 06:34:18,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 06:34:18 2022-08-12 06:34:18,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 06:34:18 0.0.0 [Pipeline] } 06:34:18 $ docker exec --env ******** --env ******** fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent -k 06:34:18 unset SSH_AUTH_SOCK; 06:34:18 unset SSH_AGENT_PID; 06:34:18 echo Agent pid 79 killed; 06:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:18 + git semver [Pipeline] } 06:34:19 $ docker stop --time=1 fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 06:34:20 $ docker rm -f fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:34:21 Stashed 1 file(s) [Pipeline] echo 06:34:21 [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 06:34:21 provisioning config files... 06:34:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config8062258644426908728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:21 ---> docker-login.sh 06:34:21 nexus3.edgexfoundry.org:10001 06:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:21 Configure a credential helper to remove this warning. See 06:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:21 06:34:21 Login Succeeded 06:34:21 nexus3.edgexfoundry.org:10002 06:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:21 Configure a credential helper to remove this warning. See 06:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:21 06:34:21 Login Succeeded 06:34:21 nexus3.edgexfoundry.org:10003 06:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:21 Configure a credential helper to remove this warning. See 06:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:21 06:34:21 Login Succeeded 06:34:21 nexus3.edgexfoundry.org:10004 06:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:22 Configure a credential helper to remove this warning. See 06:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:22 06:34:22 Login Succeeded 06:34:22 docker.io 06:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:22 Configure a credential helper to remove this warning. See 06:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:22 06:34:22 Login Succeeded 06:34:22 ---> docker-login.sh ends [Pipeline] } 06:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:22 ========================================================= 06:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:34:22 Sending build context to Docker daemon 10.71MB 06:34:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 06:34:22 Step 2/12 : FROM ${BASE} AS builder 06:34:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:34:22 2408cc74d12b: Pulling fs layer 06:34:22 ea60b727a1ce: Pulling fs layer 06:34:22 30c4a7721957: Pulling fs layer 06:34:22 370296b7ddb6: Pulling fs layer 06:34:22 7c6cee850709: Pulling fs layer 06:34:22 39a5fcdaea64: Pulling fs layer 06:34:22 d94ebbe4e438: Pulling fs layer 06:34:22 bcfd1f05c69d: Pulling fs layer 06:34:22 59ccb84bbe0f: Pulling fs layer 06:34:22 370296b7ddb6: Waiting 06:34:22 7c6cee850709: Waiting 06:34:22 39a5fcdaea64: Waiting 06:34:22 d94ebbe4e438: Waiting 06:34:22 59ccb84bbe0f: Waiting 06:34:23 30c4a7721957: Download complete 06:34:23 ea60b727a1ce: Download complete 06:34:23 7c6cee850709: Verifying Checksum 06:34:23 7c6cee850709: Download complete 06:34:23 39a5fcdaea64: Download complete 06:34:23 2408cc74d12b: Verifying Checksum 06:34:23 d94ebbe4e438: Verifying Checksum 06:34:23 d94ebbe4e438: Download complete 06:34:23 2408cc74d12b: Pull complete 06:34:23 ea60b727a1ce: Pull complete 06:34:23 30c4a7721957: Pull complete 06:34:23 59ccb84bbe0f: Verifying Checksum 06:34:23 59ccb84bbe0f: Download complete 06:34:23 bcfd1f05c69d: Verifying Checksum 06:34:23 bcfd1f05c69d: Download complete 06:34:23 370296b7ddb6: Verifying Checksum 06:34:23 370296b7ddb6: Download complete 06:34:28 370296b7ddb6: Pull complete 06:34:28 7c6cee850709: Pull complete 06:34:28 39a5fcdaea64: Pull complete 06:34:28 d94ebbe4e438: Pull complete 06:34:29 bcfd1f05c69d: Pull complete 06:34:30 59ccb84bbe0f: Pull complete 06:34:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:34:30 ---> a4fb48ad2a94 06:34:30 Step 3/12 : ARG MAKE='make build' 06:34:34 ---> Running in ac11a730fb53 06:34:34 Removing intermediate container ac11a730fb53 06:34:34 ---> 24eeae323311 06:34:34 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:34:34 ---> Running in d0ef73ebd7f6 06:34:34 Removing intermediate container d0ef73ebd7f6 06:34:34 ---> a38662e15360 06:34:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:34:34 ---> Running in 4cb760e06fc7 06:34:34 Removing intermediate container 4cb760e06fc7 06:34:34 ---> 67d81b0e311b 06:34:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:34 ---> Running in 801acf7656af 06:34:35 Removing intermediate container 801acf7656af 06:34:35 ---> 4f529dc5b0d9 06:34:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:35 ---> Running in 745b6731bc90 06:34:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:34:36 Still waiting to schedule task 06:34:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22583’ 06:34:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:34:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:34:36 (2/4) Installing libedit (20210910.3.1-r0) 06:34:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:34:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:34:36 Executing busybox-1.35.0-r13.trigger 06:34:36 OK: 216 MiB in 55 packages 06:34:37 Removing intermediate container 745b6731bc90 06:34:37 ---> 4048e828b385 06:34:37 Step 8/12 : WORKDIR /device-rest-go 06:34:37 ---> Running in c5e61ff76bed 06:34:37 Removing intermediate container c5e61ff76bed 06:34:37 ---> dbec83662cb4 06:34:37 Step 9/12 : COPY go.mod vendor* ./ 06:34:37 ---> 28d70b52feac 06:34:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:37 ---> Running in 91877033eaf1 06:34:55 Removing intermediate container 91877033eaf1 06:34:55 ---> 8bc4ff108e5e 06:34:55 Step 11/12 : COPY . . 06:34:55 ---> e5d089e79436 06:34:55 Step 12/12 : RUN $MAKE 06:34:55 ---> Running in 108da057e180 06:34:55 noop 06:34:56 Removing intermediate container 108da057e180 06:34:56 ---> 2bedfb43f944 06:34:56 Successfully built 2bedfb43f944 06:34:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:56 + docker inspect -f . ci-base-image-x86_64 06:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:56 prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container 06:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:57 $ docker top 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:57 + go version 06:34:57 go version go1.18.3 linux/amd64 [Pipeline] } 06:34:57 $ docker stop --time=1 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c 06:34:58 $ docker rm -f 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:59 + docker inspect -f . ci-base-image-x86_64 06:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:59 prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container 06:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:59 $ docker top 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] fileExists [Pipeline] sh 06:35:00 + make test 06:35:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:35:00 ? github.com/edgexfoundry/device-rest-go [no test files] 06:35:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:35:10 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 06:35:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:35:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:35:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:20 ./bin/test-attribution-txt.sh 06:35:20 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:35:20 $ docker stop --time=1 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 06:35:23 $ docker rm -f 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:24 + ls -al . 06:35:24 total 172 06:35:24 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:35 . 06:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:33 .. 06:35:24 -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 06:33 .dockerignore 06:35:24 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:35 .git 06:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:33 .github 06:35:24 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:33 .gitignore 06:35:24 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:33 .golangci.yml 06:35:24 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:34 .semver 06:35:24 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 06:33 Attribution.txt 06:35:24 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 06:33 CHANGELOG.md 06:35:24 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 06:33 Dockerfile 06:35:24 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:33 GOVERNANCE.md 06:35:24 -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 06:33 Jenkinsfile 06:35:24 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:33 LICENSE 06:35:24 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 06:33 Makefile 06:35:24 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:33 OWNERS.md 06:35:24 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 06:33 README.md 06:35:24 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION 06:35:24 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:33 bin 06:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:33 cmd 06:35:24 -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 06:35 coverage.out 06:35:24 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:33 driver 06:35:24 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 06:33 go.mod 06:35:24 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:33 go.sum 06:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:33 snap 06:35:24 -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 06:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:24 + 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=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b --label arch=amd64 --label version=0.0.0 . 06:35:24 Sending build context to Docker daemon 10.72MB 06:35:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:35:24 Step 2/25 : FROM ${BASE} AS builder 06:35:24 ---> 2bedfb43f944 06:35:24 Step 3/25 : ARG MAKE='make build' 06:35:24 ---> Running in 7e287dcd1d76 06:35:24 Removing intermediate container 7e287dcd1d76 06:35:24 ---> 01a25fbecdbb 06:35:24 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:35:24 ---> Running in bc60a12b7872 06:35:25 Removing intermediate container bc60a12b7872 06:35:25 ---> 7c8a7b289809 06:35:25 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:35:25 ---> Running in d3248c9f1502 06:35:25 Removing intermediate container d3248c9f1502 06:35:25 ---> 928412c3324d 06:35:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:25 ---> Running in ff615d53ef5c 06:35:25 Removing intermediate container ff615d53ef5c 06:35:25 ---> 223198bfd643 06:35:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:25 ---> Running in 6d7899023e4e 06:35:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:35:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:35:27 OK: 216 MiB in 55 packages 06:35:27 Removing intermediate container 6d7899023e4e 06:35:27 ---> c34ad0585817 06:35:27 Step 8/25 : WORKDIR /device-rest-go 06:35:27 ---> Running in 57566b56a2bc 06:35:27 Removing intermediate container 57566b56a2bc 06:35:27 ---> 96ebd8f30271 06:35:27 Step 9/25 : COPY go.mod vendor* ./ 06:35:27 ---> d23586ce63ea 06:35:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:27 ---> Running in 39f32488c14d 06:35:28 Removing intermediate container 39f32488c14d 06:35:28 ---> 46af2a2e9dea 06:35:28 Step 11/25 : COPY . . 06:35:28 ---> e15c184acff6 06:35:28 Step 12/25 : RUN $MAKE 06:35:28 ---> Running in b397643dc8fd 06:35:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:35:51 Removing intermediate container b397643dc8fd 06:35:51 ---> 42a493e64512 06:35:51 Step 13/25 : FROM alpine:3.16 06:35:51 3.16: Pulling from library/alpine 06:35:51 213ec9aee27d: Pulling fs layer 06:35:51 213ec9aee27d: Verifying Checksum 06:35:51 213ec9aee27d: Download complete 06:35:51 213ec9aee27d: Pull complete 06:35:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:35:51 Status: Downloaded newer image for alpine:3.16 06:35:51 ---> 9c6f07244728 06:35:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:35:51 ---> Running in f98a3c784bd5 06:35:51 Removing intermediate container f98a3c784bd5 06:35:51 ---> b39bb98b730a 06:35:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:35:51 ---> Running in 18981cdb9a34 06:35:51 Removing intermediate container 18981cdb9a34 06:35:51 ---> 353dd8bc0ba1 06:35:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 06:35:51 ---> Running in c4d0bd41371e 06:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:35:51 (1/6) Installing dumb-init (1.2.5-r1) 06:35:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:35:51 (3/6) Installing libsodium (1.0.18-r0) 06:35:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:35:51 (5/6) Installing libzmq (4.3.4-r0) 06:35:51 (6/6) Installing zeromq (4.3.4-r0) 06:35:51 Executing busybox-1.35.0-r17.trigger 06:35:51 OK: 8 MiB in 20 packages 06:35:51 Removing intermediate container c4d0bd41371e 06:35:51 ---> fa7ac38d6de7 06:35:51 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:35:52 ---> 51e3befbe0a6 06:35:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:35:52 ---> 98cb34066f02 06:35:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:35:52 ---> 1f5128e3e196 06:35:52 Step 20/25 : EXPOSE 59986 06:35:52 ---> Running in 2c001579d921 06:35:52 Removing intermediate container 2c001579d921 06:35:52 ---> c394be04c9e2 06:35:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:35:52 ---> Running in 014c9414213d 06:35:52 Removing intermediate container 014c9414213d 06:35:52 ---> c7a1dcbfb63f 06:35:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:35:52 ---> Running in a4726cb7a64a 06:35:52 Removing intermediate container a4726cb7a64a 06:35:52 ---> 388844633db7 06:35:52 Step 23/25 : LABEL arch=amd64 06:35:52 ---> Running in c6750957e9ae 06:35:52 Removing intermediate container c6750957e9ae 06:35:52 ---> 0bd0df913fb4 06:35:52 Step 24/25 : LABEL git_sha=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 06:35:52 ---> Running in 58424eaffe37 06:35:52 Removing intermediate container 58424eaffe37 06:35:52 ---> 6ceba500dbff 06:35:52 Step 25/25 : LABEL version=0.0.0 06:35:52 ---> Running in c03e7521ee06 06:35:53 Removing intermediate container c03e7521ee06 06:35:53 ---> dd955c17ff22 06:35:53 [Warning] One or more build-args [ARCH] were not consumed 06:35:53 Successfully built dd955c17ff22 06:35:53 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 06:35:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:53 06:35:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:53 latest: Pulling from edgex-lftools-log-publisher 06:35:53 5eb5b503b376: Pulling fs layer 06:35:53 5c69ac0246d0: Pulling fs layer 06:35:53 ec43610c2a17: Pulling fs layer 06:35:53 3a2ae6a8a46f: Pulling fs layer 06:35:53 33b1e0a273af: Pulling fs layer 06:35:53 3a2ae6a8a46f: Waiting 06:35:53 5d3b04190fa2: Pulling fs layer 06:35:53 2f39f015ded8: Pulling fs layer 06:35:53 5d3b04190fa2: Waiting 06:35:53 2f39f015ded8: Waiting 06:35:53 5c69ac0246d0: Verifying Checksum 06:35:53 5c69ac0246d0: Download complete 06:35:53 3a2ae6a8a46f: Verifying Checksum 06:35:53 3a2ae6a8a46f: Download complete 06:35:53 33b1e0a273af: Verifying Checksum 06:35:53 33b1e0a273af: Download complete 06:35:53 5d3b04190fa2: Verifying Checksum 06:35:53 5d3b04190fa2: Download complete 06:35:54 ec43610c2a17: Verifying Checksum 06:35:54 ec43610c2a17: Download complete 06:35:54 5eb5b503b376: Verifying Checksum 06:35:54 5eb5b503b376: Download complete 06:35:54 2f39f015ded8: Download complete 06:35:55 5eb5b503b376: Pull complete 06:35:55 5c69ac0246d0: Pull complete 06:35:55 ec43610c2a17: Pull complete 06:35:55 3a2ae6a8a46f: Pull complete 06:35:55 33b1e0a273af: Pull complete 06:35:56 5d3b04190fa2: Pull complete 06:36:00 2f39f015ded8: Pull complete 06:36:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:00 prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container 06:36:00 $ 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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:36:03 $ docker top 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:03 ---> job-cost.sh 06:36:03 lf-activate-venv: SKIPPING 06:36:03 INFO: No Stack... 06:36:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:04 INFO: Archiving Costs [Pipeline] sh 06:36:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-209/archives/cost.csv 06:36:04 + cut -d, -f6 [Pipeline] lock 06:36:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] 06:36:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] did not exist. Created. 06:36:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:05 + echo total: 0.2199999988079071 [Pipeline] stash 06:36:05 Stashed 1 file(s) [Pipeline] } 06:36:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:05 $ docker stop --time=1 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 06:36:06 $ docker rm -f 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:37:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22586 in /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] { [Pipeline] ws 06:37:10 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 06:37:10 The recommended git tool is: git 06:37:17 using credential edgex-jenkins-ssh 06:37:17 Cloning the remote Git repository 06:37:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:37:17 > git init /w/workspace/device-rest-go/2 # timeout=10 06:37:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:37:17 > git --version # timeout=10 06:37:17 > git --version # 'git version 2.25.1' 06:37:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:20 Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 06:37:20 Merge succeeded, producing 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 06:37:20 Checking out Revision 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b (PR-209) 06:37:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:37:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:37:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:37:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:37:20 > git config core.sparsecheckout # timeout=10 06:37:20 > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 06:37:20 > git remote # timeout=10 06:37:20 > git config --get remote.origin.url # timeout=10 06:37:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:20 > git merge ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 06:37:20 > git rev-parse HEAD^{commit} # timeout=10 06:37:20 > git config core.sparsecheckout # timeout=10 06:37:20 > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 06:37:24 Commit message: "build(snap): Change name `service` to `app`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:37:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:25 Dload Upload Total Spent Left Speed 06:37:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 89362 [Pipeline] sh 06:37:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:37:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:37:26 + sudo tee /etc/docker/daemon.new 06:37:26 { 06:37:26 "registry-mirrors": [ 06:37:26 "https://nexus3.edgexfoundry.org:10001" 06:37:26 ], 06:37:26 "bip": "10.250.0.254/24", 06:37:26 "hosts": [ 06:37:26 "tcp://0.0.0.0:5555", 06:37:26 "unix:///var/run/docker.sock" 06:37:26 ], 06:37:26 "mtu": 1458, 06:37:26 "selinux-enabled": true, 06:37:26 "seccomp-profile": "/etc/docker/seccomp.json" 06:37:26 } [Pipeline] sh 06:37:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:37:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:46 provisioning config files... 06:37:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8456971488769475626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:46 ---> docker-login.sh 06:37:46 nexus3.edgexfoundry.org:10001 06:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:47 Configure a credential helper to remove this warning. See 06:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:47 06:37:47 Login Succeeded 06:37:47 nexus3.edgexfoundry.org:10002 06:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:48 Configure a credential helper to remove this warning. See 06:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:48 06:37:48 Login Succeeded 06:37:48 nexus3.edgexfoundry.org:10003 06:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:48 Configure a credential helper to remove this warning. See 06:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:48 06:37:48 Login Succeeded 06:37:48 nexus3.edgexfoundry.org:10004 06:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:49 Configure a credential helper to remove this warning. See 06:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:49 06:37:49 Login Succeeded 06:37:49 docker.io 06:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:49 Configure a credential helper to remove this warning. See 06:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:49 06:37:49 Login Succeeded 06:37:49 ---> docker-login.sh ends [Pipeline] } 06:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:50 ========================================================= 06:37:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:37:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:37:50 Sending build context to Docker daemon 126kB 06:37:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 06:37:50 Step 2/12 : FROM ${BASE} AS builder 06:37:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:51 b3c136eddcbf: Pulling fs layer 06:37:51 c0a3192eca97: Pulling fs layer 06:37:51 a050256f5b6f: Pulling fs layer 06:37:51 656be50a0ddc: Pulling fs layer 06:37:51 2bbca73fdf42: Pulling fs layer 06:37:51 46d945488cbd: Pulling fs layer 06:37:51 8a5474983e97: Pulling fs layer 06:37:51 329c88fbcd65: Pulling fs layer 06:37:51 656be50a0ddc: Waiting 06:37:51 2bbca73fdf42: Waiting 06:37:51 46d945488cbd: Waiting 06:37:51 8a5474983e97: Waiting 06:37:51 329c88fbcd65: Waiting 06:37:51 a050256f5b6f: Verifying Checksum 06:37:51 a050256f5b6f: Download complete 06:37:51 c0a3192eca97: Verifying Checksum 06:37:51 c0a3192eca97: Download complete 06:37:51 2bbca73fdf42: Download complete 06:37:51 46d945488cbd: Verifying Checksum 06:37:51 46d945488cbd: Download complete 06:37:51 b3c136eddcbf: Download complete 06:37:52 329c88fbcd65: Verifying Checksum 06:37:52 329c88fbcd65: Download complete 06:37:52 b3c136eddcbf: Pull complete 06:37:52 c0a3192eca97: Pull complete 06:37:52 a050256f5b6f: Pull complete 06:37:53 8a5474983e97: Download complete 06:37:54 656be50a0ddc: Verifying Checksum 06:37:54 656be50a0ddc: Download complete 06:38:09 656be50a0ddc: Pull complete 06:38:09 2bbca73fdf42: Pull complete 06:38:09 46d945488cbd: Pull complete 06:38:14 8a5474983e97: Pull complete 06:38:16 329c88fbcd65: Pull complete 06:38:16 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:38:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:38:16 ---> ff4287adb874 06:38:16 Step 3/12 : ARG MAKE='make build' 06:38:17 ---> Running in 0e08702c0fbe 06:38:17 Removing intermediate container 0e08702c0fbe 06:38:17 ---> 923e7fe5b85a 06:38:17 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:38:17 ---> Running in 741e73180599 06:38:17 Removing intermediate container 741e73180599 06:38:17 ---> cf393d3f4820 06:38:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:38:18 ---> Running in f9d26c61d287 06:38:18 Removing intermediate container f9d26c61d287 06:38:18 ---> 30ec0ba072c6 06:38:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:18 ---> Running in 4f73bc994a42 06:38:20 Removing intermediate container 4f73bc994a42 06:38:20 ---> 6fd32f2d386c 06:38:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:38:20 ---> Running in 5400bd230fdd 06:38:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:38:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:38:24 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:38:24 (2/4) Installing libedit (20210910.3.1-r0) 06:38:24 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:38:24 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:38:24 Executing busybox-1.35.0-r13.trigger 06:38:24 OK: 226 MiB in 55 packages 06:38:25 Removing intermediate container 5400bd230fdd 06:38:25 ---> c9b4891f2eff 06:38:25 Step 8/12 : WORKDIR /device-rest-go 06:38:25 ---> Running in 4d8fd3029eda 06:38:26 Removing intermediate container 4d8fd3029eda 06:38:26 ---> f739ee0d1232 06:38:26 Step 9/12 : COPY go.mod vendor* ./ 06:38:26 ---> f69fce4b9bd0 06:38:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:38:26 ---> Running in db07533a572c 06:39:23 Removing intermediate container db07533a572c 06:39:23 ---> 8186d5dcdcbf 06:39:23 Step 11/12 : COPY . . 06:39:23 ---> 31b0824c3983 06:39:23 Step 12/12 : RUN $MAKE 06:39:23 ---> Running in 709521844b06 06:39:23 noop 06:39:23 Removing intermediate container 709521844b06 06:39:23 ---> 45f00593170c 06:39:23 Successfully built 45f00593170c 06:39:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:23 + docker inspect -f . ci-base-image-arm64 06:39:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:24 prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container 06:39:24 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:25 $ docker top 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:26 + go version 06:39:26 go version go1.18.3 linux/arm64 [Pipeline] } 06:39:26 $ docker stop --time=1 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 06:39:28 $ docker rm -f 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:28 + docker inspect -f . ci-base-image-arm64 06:39:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:29 prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container 06:39:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:30 $ docker top c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:31 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 06:39:32 + make test 06:39:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:39:33 ? github.com/edgexfoundry/device-rest-go [no test files] 06:40:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:40:57 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 06:40:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:40:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:41:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:41:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:41:20 ./bin/test-attribution-txt.sh 06:41:20 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:41:20 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:41:20 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:41:20 $ docker stop --time=1 c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 06:41:22 $ docker rm -f c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:41:23 Warning: overwriting stash ‘coverage-report’ 06:41:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:41:25 + ls -al . 06:41:25 total 168 06:41:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:39 . 06:41:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:37 .. 06:41:25 -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 06:37 .dockerignore 06:41:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:37 .git 06:41:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:37 .github 06:41:25 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:37 .gitignore 06:41:25 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:37 .golangci.yml 06:41:25 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 06:37 Attribution.txt 06:41:25 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 06:37 CHANGELOG.md 06:41:25 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 06:37 Dockerfile 06:41:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:37 GOVERNANCE.md 06:41:25 -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 06:37 Jenkinsfile 06:41:25 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:37 LICENSE 06:41:25 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 06:37 Makefile 06:41:25 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:37 OWNERS.md 06:41:25 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 06:37 README.md 06:41:25 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION 06:41:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:37 bin 06:41:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:37 cmd 06:41:25 -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 06:40 coverage.out 06:41:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:37 driver 06:41:25 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 06:37 go.mod 06:41:25 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:37 go.sum 06:41:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:37 snap 06:41:25 -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:25 + 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=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b --label arch=arm64 --label version=0.0.0 . 06:41:25 Sending build context to Docker daemon 136.2kB 06:41:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:41:26 Step 2/25 : FROM ${BASE} AS builder 06:41:26 ---> 45f00593170c 06:41:26 Step 3/25 : ARG MAKE='make build' 06:41:26 ---> Running in cd53bd957ad6 06:41:26 Removing intermediate container cd53bd957ad6 06:41:26 ---> b51a438e4e81 06:41:26 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:41:26 ---> Running in 528ad69e2d97 06:41:26 Removing intermediate container 528ad69e2d97 06:41:26 ---> 8222e4f90b67 06:41:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:41:26 ---> Running in 413524f930c1 06:41:27 Removing intermediate container 413524f930c1 06:41:27 ---> 96eb22b5ee4c 06:41:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:27 ---> Running in 2992ddebe25e 06:41:28 Removing intermediate container 2992ddebe25e 06:41:28 ---> 0a15d086c6d0 06:41:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:41:28 ---> Running in 4f15190a64b6 06:41:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:41:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:41:31 OK: 226 MiB in 55 packages 06:41:32 Removing intermediate container 4f15190a64b6 06:41:32 ---> a1d53c39a0ea 06:41:32 Step 8/25 : WORKDIR /device-rest-go 06:41:32 ---> Running in 369b99311cd1 06:41:33 Removing intermediate container 369b99311cd1 06:41:33 ---> b0795e9dbac3 06:41:33 Step 9/25 : COPY go.mod vendor* ./ 06:41:33 ---> d4e254ed68e6 06:41:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:33 ---> Running in a8d5e534283d 06:41:35 Removing intermediate container a8d5e534283d 06:41:35 ---> e3d719bff5b2 06:41:35 Step 11/25 : COPY . . 06:41:36 ---> 830478735a6c 06:41:36 Step 12/25 : RUN $MAKE 06:41:36 ---> Running in 1a2898c9d4eb 06:41:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:43:59 Removing intermediate container 1a2898c9d4eb 06:43:59 ---> f2f1a024c0f7 06:43:59 Step 13/25 : FROM alpine:3.16 06:43:59 3.16: Pulling from library/alpine 06:43:59 9b18e9b68314: Pulling fs layer 06:43:59 9b18e9b68314: Verifying Checksum 06:43:59 9b18e9b68314: Download complete 06:43:59 9b18e9b68314: Pull complete 06:43:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:43:59 Status: Downloaded newer image for alpine:3.16 06:43:59 ---> a6215f271958 06:43:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:59 ---> Running in 82b99bc4aae8 06:43:59 Removing intermediate container 82b99bc4aae8 06:43:59 ---> 07bd4fdc265d 06:43:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:43:59 ---> Running in b93b00513e94 06:43:59 Removing intermediate container b93b00513e94 06:43:59 ---> 5623e5fac3a6 06:43:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 06:43:59 ---> Running in ee89d7e435be 06:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:43:59 (1/6) Installing dumb-init (1.2.5-r1) 06:43:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:43:59 (3/6) Installing libsodium (1.0.18-r0) 06:43:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:43:59 (5/6) Installing libzmq (4.3.4-r0) 06:43:59 (6/6) Installing zeromq (4.3.4-r0) 06:43:59 Executing busybox-1.35.0-r17.trigger 06:43:59 OK: 8 MiB in 20 packages 06:43:59 Removing intermediate container ee89d7e435be 06:43:59 ---> 04a6037674dd 06:43:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:43:59 ---> 816c6517a49a 06:43:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:43:59 ---> 335878aca8ca 06:43:59 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:43:59 ---> 55c8fc0c3def 06:43:59 Step 20/25 : EXPOSE 59986 06:43:59 ---> Running in c5d25abfd103 06:43:59 Removing intermediate container c5d25abfd103 06:43:59 ---> 65d2469e8953 06:43:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:43:59 ---> Running in 6ab7c6106ada 06:43:59 Removing intermediate container 6ab7c6106ada 06:43:59 ---> f3e7cf66a65c 06:43:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:43:59 ---> Running in 7aebd92295d3 06:44:00 Removing intermediate container 7aebd92295d3 06:44:00 ---> 3d55aae7d31a 06:44:00 Step 23/25 : LABEL arch=arm64 06:44:00 ---> Running in 348270977cbd 06:44:00 Removing intermediate container 348270977cbd 06:44:00 ---> d2923762e769 06:44:00 Step 24/25 : LABEL git_sha=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 06:44:00 ---> Running in 12c26cbb838c 06:44:00 Removing intermediate container 12c26cbb838c 06:44:00 ---> fd98c59f8fcd 06:44:00 Step 25/25 : LABEL version=0.0.0 06:44:01 ---> Running in f8a5a85cc72e 06:44:01 Removing intermediate container f8a5a85cc72e 06:44:01 ---> 41a838827575 06:44:01 [Warning] One or more build-args [ARCH] were not consumed 06:44:01 Successfully built 41a838827575 06:44:01 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 06:44:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:01 06:44:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:02 arm64: Pulling from edgex-lftools-log-publisher 06:44:02 8998bd30e6a1: Pulling fs layer 06:44:02 04944245beec: Pulling fs layer 06:44:02 699f458cf7ca: Pulling fs layer 06:44:02 765212b225bb: Pulling fs layer 06:44:02 f23df028b6ca: Pulling fs layer 06:44:02 d65c8cfc05b1: Pulling fs layer 06:44:02 2437ff75d9bd: Pulling fs layer 06:44:02 765212b225bb: Waiting 06:44:02 d65c8cfc05b1: Waiting 06:44:02 2437ff75d9bd: Waiting 06:44:02 f23df028b6ca: Waiting 06:44:02 04944245beec: Verifying Checksum 06:44:02 04944245beec: Download complete 06:44:02 765212b225bb: Verifying Checksum 06:44:02 765212b225bb: Download complete 06:44:02 f23df028b6ca: Verifying Checksum 06:44:02 f23df028b6ca: Download complete 06:44:02 d65c8cfc05b1: Verifying Checksum 06:44:02 d65c8cfc05b1: Download complete 06:44:02 699f458cf7ca: Verifying Checksum 06:44:02 699f458cf7ca: Download complete 06:44:03 8998bd30e6a1: Verifying Checksum 06:44:03 8998bd30e6a1: Download complete 06:44:05 2437ff75d9bd: Verifying Checksum 06:44:05 2437ff75d9bd: Download complete 06:44:07 8998bd30e6a1: Pull complete 06:44:07 04944245beec: Pull complete 06:44:09 699f458cf7ca: Pull complete 06:44:09 765212b225bb: Pull complete 06:44:10 f23df028b6ca: Pull complete 06:44:10 d65c8cfc05b1: Pull complete 06:44:25 2437ff75d9bd: Pull complete 06:44:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:26 prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container 06:44:26 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:44:29 $ docker top 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:29 ---> job-cost.sh 06:44:29 lf-activate-venv: SKIPPING 06:44:29 INFO: No Stack... 06:44:30 INFO: Retrieving Pricing Info for: v3-standard-4 06:44:31 INFO: Archiving Costs [Pipeline] sh 06:44:31 + cat /w/workspace/device-rest-go/2/archives/cost.csv 06:44:31 + cut -d, -f6 [Pipeline] lock 06:44:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] 06:44:32 Resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] did not exist. Created. 06:44:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:44:32 /w/workspace/device-rest-go/2@tmp/durable-7321eeab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:44:33 + echo total: 0.10999999940395355 [Pipeline] stash 06:44:33 Warning: overwriting stash ‘stack-cost’ 06:44:33 Stashed 1 file(s) [Pipeline] } 06:44:33 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:44:33 $ docker stop --time=1 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 06:44:35 $ docker rm -f 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 [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 06:44:35 provisioning config files... 06:44:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config5729800456732692018tmp [Pipeline] { [Pipeline] sh 06:44:35 + set +x 06:44:35 + curl -s https://codecov.io/bash 06:44:35 + bash -s -- 06:44:35 06:44:35 _____ _ 06:44:35 / ____| | | 06:44:35 | | ___ __| | ___ ___ _____ __ 06:44:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:44:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:44:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:44:35 Bash-1.0.6 06:44:35 06:44:35 06:44:35 ==> git version 2.25.1 found 06:44:35 ==> 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 06:44:35 Release-Date: 2020-01-08 06:44:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:44:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:44:35 ==> Jenkins CI detected. 06:44:35 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-209 06:44:35 project root: . 06:44:35 --> token set from env 06:44:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:44:35 ==> Running gcov in . (disable via -X gcov) 06:44:35 ==> Python coveragepy not found 06:44:35 ==> Searching for coverage reports in: 06:44:35 + . 06:44:35 -> Found 1 reports 06:44:35 ==> Detecting git/mercurial file structure 06:44:35 ==> Reading reports 06:44:35 + ./coverage.out bytes=9355 06:44:35 ==> Appending adjustments 06:44:35 https://docs.codecov.io/docs/fixing-reports 06:44:36 + Found adjustments 06:44:36 ==> Gzipping contents 06:44:36 4.0K /tmp/codecov.zUsETF.gz 06:44:36 ==> Uploading reports 06:44:36 url: https://codecov.io 06:44:36 query: branch=PR-209&commit=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= 06:44:36 -> Pinging Codecov 06:44:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-209&commit=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= 06:44:36 -> Uploading to 06:44:36 https://storage.googleapis.com/codecov/v4/raw/2022-08-12/4E5D53B4F1F92C436F7061BF334D961C/93ee19a6fa9cb06e6f71add9186dbc3de0c6941b/90781707-c524-4d3d-af1a-c45c9a74b3c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T064436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c62125828b7d6548d1ba91b4d85fca3ed0a8907c3c82cfa7158e6c3fba153f9 06:44:36 % Total % Received % Xferd Average Speed Time Time Time Current 06:44:36 Dload Upload Total Spent Left Speed 06:44:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7528 --:--:-- --:--:-- --:--:-- 7560 06:44:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] } 06:44:36 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 06:44:37 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-209/archives ] 06:44:37 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives 06:44:37 total 16 06:44:37 drwxr-xr-x 3 root root 4096 Aug 12 06:36 . 06:44:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:36 .. 06:44:37 drwxr-xr-x 2 root root 4096 Aug 12 06:36 cost 06:44:37 -rw-r--r-- 1 root root 86 Aug 12 06:36 cost.csv 06:44:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-209/archives 06:44:37 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives 06:44:37 total 16 06:44:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:36 . 06:44:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:36 .. 06:44:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:36 cost 06:44:37 -rw-r--r-- 1 jenkins jenkins 86 Aug 12 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:44:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:44:38 ---> package-listing.sh 06:44:38 ++ facter osfamily 06:44:38 ++ tr '[:upper:]' '[:lower:]' 06:44:38 + OS_FAMILY=debian 06:44:38 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-209 06:44:38 + START_PACKAGES=/tmp/packages_start.txt 06:44:38 + END_PACKAGES=/tmp/packages_end.txt 06:44:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:44:38 + PACKAGES=/tmp/packages_start.txt 06:44:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' 06:44:38 + PACKAGES=/tmp/packages_end.txt 06:44:38 + case "${OS_FAMILY}" in 06:44:38 + dpkg -l 06:44:38 + grep '^ii' 06:44:38 + '[' -f /tmp/packages_start.txt ']' 06:44:38 + '[' -f /tmp/packages_end.txt ']' 06:44:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:44:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' 06:44:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ 06:44:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [Pipeline] echo 06:44:38 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:44:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:39 prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container 06:44:39 $ 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-209/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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:44:40 $ docker top 02c8e01b0ef69da6c863b556fb3f09771b14505e612f4471bbf38272b713db96 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:40 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:40 + mkdir -p /var/log/sysstat [Pipeline] sh 06:44:41 + ls /var/log/sa-host 06:44:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:41 provisioning config files... 06:44:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config6999250697085932406tmp [Pipeline] { [Pipeline] echo 06:44:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:41 ---> create-netrc.sh [Pipeline] } 06:44:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:44:41 ---> python-tools-install.sh [Pipeline] echo 06:44:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:42 ---> sudo-logs.sh 06:44:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:44:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:42 ---> job-cost.sh 06:44:42 lf-activate-venv: SKIPPING 06:44:42 DEBUG: total: 0.2199999988079071 06:44:42 INFO: Retrieving Stack Cost... 06:44:42 INFO: Retrieving Pricing Info for: v3-standard-8 06:44:43 INFO: Archiving Costs [Pipeline] echo 06:44:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:43 ---> logs-deploy.sh 06:44:43 lf-activate-venv: SKIPPING 06:44:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-209/2 06:44:43 INFO: archiving workspace using pattern(s): 06:44:44 Archives upload complete. 06:44:44 INFO: archiving logs to Nexus