Pull request #202 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than d6ec2b37c997e05c5428d7ad3e93cb13e582f885 Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh8520578347152551471.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh8044021446676898171.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-202/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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5826106768908017199.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1472926497286947602.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-202/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-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6149612310224082183.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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-16355 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit d6ec2b37c997e05c5428d7ad3e93cb13e582f885 Merge succeeded, producing d6ec2b37c997e05c5428d7ad3e93cb13e582f885 Checking out Revision d6ec2b37c997e05c5428d7ad3e93cb13e582f885 (PR-202) > 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/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6ec2b37c997e05c5428d7ad3e93cb13e582f885 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6ec2b37c997e05c5428d7ad3e93cb13e582f885 # timeout=10 Commit message: "refactor(snap): upgrade configure hook's formatting" > git rev-list --no-walk 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T16:01:52.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T16:01:52.975Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T16:01:52.988Z] ========================================================= [2022-06-29T16:01:52.988Z] EdgeX Global Pipelines Version Info [2022-06-29T16:01:52.988Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:01:53.775Z] ------------------- [2022-06-29T16:01:53.776Z] stable info: [2022-06-29T16:01:53.776Z] ------------------- [2022-06-29T16:01:53.776Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T16:01:53.776Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:01:53.776Z] Message: update stable to v1.0.234 [2022-06-29T16:01:54.349Z] ------------------- [2022-06-29T16:01:54.349Z] experimental info: [2022-06-29T16:01:54.349Z] ------------------- [2022-06-29T16:01:54.349Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T16:01:54.349Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:01:54.349Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T16:01:54.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-29T16:01:54.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-29T16:01:54.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T16:01:54.578Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T16:01:54.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T16:01:54.600Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T16:01:54.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T16:01:54.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T16:01:54.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T16:01:54.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T16:01:54.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T16:01:54.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-29T16:01:54.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T16:01:54.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T16:01:54.709Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:01:54.722Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:01:54.734Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:01:54.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:01:54.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T16:01:54.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T16:01:54.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T16:01:54.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T16:01:54.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T16:01:54.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T16:01:54.861Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T16:01:54.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T16:01:54.887Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T16:01:54.904Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-06-29T16:01:54.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-06-29T16:01:54.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-06-29T16:01:54.946Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [Pipeline] echo [2022-06-29T16:01:54.958Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6ec2b3 [Pipeline] echo [2022-06-29T16:01:54.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:01:55.007Z] provisioning config files... [2022-06-29T16:01:55.021Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config1080995807210283621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:01:55.327Z] ---> docker-login.sh [2022-06-29T16:01:55.328Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:01:55.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:01:55.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:01:55.589Z] Configure a credential helper to remove this warning. See [2022-06-29T16:01:55.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:01:55.589Z] [2022-06-29T16:01:55.589Z] Login Succeeded [2022-06-29T16:01:55.589Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:01:55.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:01:55.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:01:55.851Z] Configure a credential helper to remove this warning. See [2022-06-29T16:01:55.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:01:55.851Z] [2022-06-29T16:01:55.851Z] Login Succeeded [2022-06-29T16:01:55.851Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:01:55.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:01:55.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:01:55.851Z] Configure a credential helper to remove this warning. See [2022-06-29T16:01:55.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:01:55.851Z] [2022-06-29T16:01:55.851Z] Login Succeeded [2022-06-29T16:01:55.851Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:01:56.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:01:56.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:01:56.112Z] Configure a credential helper to remove this warning. See [2022-06-29T16:01:56.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:01:56.112Z] [2022-06-29T16:01:56.112Z] Login Succeeded [2022-06-29T16:01:56.112Z] docker.io [2022-06-29T16:01:56.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:01:56.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:01:56.701Z] Configure a credential helper to remove this warning. See [2022-06-29T16:01:56.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:01:56.701Z] [2022-06-29T16:01:56.701Z] Login Succeeded [2022-06-29T16:01:56.701Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:01:56.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T16:01:57.089Z] + git rev-list -1 --merges d6ec2b37c997e05c5428d7ad3e93cb13e582f885~1..d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [Pipeline] echo [2022-06-29T16:01:57.124Z] -----------> git rev-list -1 --merges d6ec2b37c997e05c5428d7ad3e93cb13e582f885~1..d6ec2b37c997e05c5428d7ad3e93cb13e582f885 d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [false] [Pipeline] sh [2022-06-29T16:01:57.418Z] + git log --format=format:%s -1 d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [Pipeline] echo [2022-06-29T16:01:57.434Z] ========================================================= [2022-06-29T16:01:57.434Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T16:01:57.434Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:01:57.804Z] + git log --format=format:%s -1 d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [Pipeline] echo [2022-06-29T16:01:57.817Z] [semverPrep] GIT_COMMIT: d6ec2b37c997e05c5428d7ad3e93cb13e582f885, Commit Message: refactor(snap): upgrade configure hook's formatting [Pipeline] echo [2022-06-29T16:01:57.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T16:01:58.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T16:01:58.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T16:01:58.175Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T16:01:58.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T16:01:58.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T16:01:58.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T16:01:58.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:01:58.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:01:58.536Z] [2022-06-29T16:01:58.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:01:58.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:01:58.848Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T16:01:58.848Z] 42c077c10790: Pulling fs layer [2022-06-29T16:01:58.848Z] f63e77b7563a: Pulling fs layer [2022-06-29T16:01:58.848Z] bd5fdadae976: Pulling fs layer [2022-06-29T16:01:58.848Z] 205491f53016: Pulling fs layer [2022-06-29T16:01:58.848Z] df18705c85c3: Pulling fs layer [2022-06-29T16:01:58.848Z] bdb3f477010e: Pulling fs layer [2022-06-29T16:01:58.848Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T16:01:58.848Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T16:01:58.848Z] bdb8f0575790: Pulling fs layer [2022-06-29T16:01:58.848Z] df18705c85c3: Waiting [2022-06-29T16:01:58.848Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T16:01:58.848Z] bdb8f0575790: Waiting [2022-06-29T16:01:58.848Z] 2343380bae48: Pulling fs layer [2022-06-29T16:01:58.848Z] 2c6e9b1d212d: Waiting [2022-06-29T16:01:58.848Z] c8a8fc8e1c8f: Waiting [2022-06-29T16:01:58.848Z] 2343380bae48: Waiting [2022-06-29T16:01:58.848Z] 386e3cb2ff24: Waiting [2022-06-29T16:01:58.848Z] 205491f53016: Waiting [2022-06-29T16:01:58.848Z] f63e77b7563a: Download complete [2022-06-29T16:01:58.848Z] 205491f53016: Download complete [2022-06-29T16:01:59.112Z] df18705c85c3: Verifying Checksum [2022-06-29T16:01:59.112Z] df18705c85c3: Download complete [2022-06-29T16:01:59.112Z] bdb3f477010e: Verifying Checksum [2022-06-29T16:01:59.112Z] bdb3f477010e: Download complete [2022-06-29T16:01:59.112Z] bd5fdadae976: Verifying Checksum [2022-06-29T16:01:59.112Z] bd5fdadae976: Download complete [2022-06-29T16:01:59.112Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T16:01:59.112Z] 2c6e9b1d212d: Download complete [2022-06-29T16:01:59.112Z] bdb8f0575790: Download complete [2022-06-29T16:01:59.112Z] 386e3cb2ff24: Download complete [2022-06-29T16:01:59.112Z] 2343380bae48: Download complete [2022-06-29T16:01:59.112Z] 42c077c10790: Verifying Checksum [2022-06-29T16:01:59.112Z] 42c077c10790: Download complete [2022-06-29T16:01:59.371Z] c8a8fc8e1c8f: Download complete [2022-06-29T16:02:00.761Z] 42c077c10790: Pull complete [2022-06-29T16:02:00.761Z] f63e77b7563a: Pull complete [2022-06-29T16:02:01.342Z] bd5fdadae976: Pull complete [2022-06-29T16:02:01.342Z] 205491f53016: Pull complete [2022-06-29T16:02:01.601Z] df18705c85c3: Pull complete [2022-06-29T16:02:01.861Z] bdb3f477010e: Pull complete [2022-06-29T16:02:03.771Z] c8a8fc8e1c8f: Pull complete [2022-06-29T16:02:03.771Z] 2c6e9b1d212d: Pull complete [2022-06-29T16:02:04.034Z] bdb8f0575790: Pull complete [2022-06-29T16:02:04.034Z] 386e3cb2ff24: Pull complete [2022-06-29T16:02:04.034Z] 2343380bae48: Pull complete [2022-06-29T16:02:04.034Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T16:02:04.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:02:04.034Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:02:04.135Z] prd-ubuntu20.04-docker-8c-8g-16355 does not seem to be running inside a container [2022-06-29T16:02:04.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-06-29T16:02:05.530Z] $ docker top 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c -eo pid,comm [2022-06-29T16:02:05.611Z] 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). [2022-06-29T16:02:05.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T16:02:05.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:02:05.648Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:02:05.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:02:05.787Z] $ docker exec 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c ssh-agent [2022-06-29T16:02:05.924Z] SSH_AUTH_SOCK=/tmp/ssh-MbfRhtm2iKM2/agent.32 [2022-06-29T16:02:05.924Z] SSH_AGENT_PID=38 [2022-06-29T16:02:05.931Z] Running ssh-add (command line suppressed) [2022-06-29T16:02:06.050Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6253593127888324757.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6253593127888324757.key) [2022-06-29T16:02:06.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:02:06.371Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T16:02:06.374Z] $ docker exec --env ******** --env ******** 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c ssh-agent -k [2022-06-29T16:02:06.487Z] unset SSH_AUTH_SOCK; [2022-06-29T16:02:06.487Z] unset SSH_AGENT_PID; [2022-06-29T16:02:06.488Z] echo Agent pid 38 killed; [2022-06-29T16:02:06.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T16:02:06.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:02:06.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:02:06.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:02:06.669Z] $ docker exec 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c ssh-agent [2022-06-29T16:02:06.808Z] SSH_AUTH_SOCK=/tmp/ssh-kVLrRgfosYhq/agent.71 [2022-06-29T16:02:06.808Z] SSH_AGENT_PID=78 [2022-06-29T16:02:06.822Z] Running ssh-add (command line suppressed) [2022-06-29T16:02:06.937Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3204522162555278836.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3204522162555278836.key) [2022-06-29T16:02:06.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:02:07.250Z] + git semver init [2022-06-29T16:02:07.511Z] 2022-06-29 16:02:07,489 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T16:02:07.511Z] 2022-06-29 16:02:07,490 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T16:02:07.511Z] 2022-06-29 16:02:07,490 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T16:02:07.511Z] 2022-06-29 16:02:07,490 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,386 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,387 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,387 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,392 [execute] INFO git cat-file --batch-check [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,399 [execute] INFO git cat-file --batch [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T16:02:08.453Z] 2022-06-29 16:02:08,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T16:02:08.453Z] 0.0.0 [Pipeline] } [2022-06-29T16:02:08.458Z] $ docker exec --env ******** --env ******** 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c ssh-agent -k [2022-06-29T16:02:08.595Z] unset SSH_AUTH_SOCK; [2022-06-29T16:02:08.596Z] unset SSH_AGENT_PID; [2022-06-29T16:02:08.596Z] echo Agent pid 78 killed; [2022-06-29T16:02:08.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T16:02:08.917Z] + git semver [Pipeline] } [2022-06-29T16:02:09.184Z] $ docker stop --time=1 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c [2022-06-29T16:02:10.503Z] $ docker rm -f 18d74b6ad98572613a44d7605966454bbf3bfdb7d609d1f5bc3f1911abe94a0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:02:10.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T16:02:11.152Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T16:02:11.155Z] [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 [2022-06-29T16:02:11.295Z] provisioning config files... [2022-06-29T16:02:11.306Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config591677825566395397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:02:11.604Z] ---> docker-login.sh [2022-06-29T16:02:11.604Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:02:11.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:02:11.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:02:11.604Z] Configure a credential helper to remove this warning. See [2022-06-29T16:02:11.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:02:11.604Z] [2022-06-29T16:02:11.604Z] Login Succeeded [2022-06-29T16:02:11.604Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:02:11.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:02:11.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:02:11.868Z] Configure a credential helper to remove this warning. See [2022-06-29T16:02:11.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:02:11.868Z] [2022-06-29T16:02:11.868Z] Login Succeeded [2022-06-29T16:02:11.868Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:02:11.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:02:11.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:02:11.868Z] Configure a credential helper to remove this warning. See [2022-06-29T16:02:11.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:02:11.868Z] [2022-06-29T16:02:11.868Z] Login Succeeded [2022-06-29T16:02:11.868Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:02:12.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:02:12.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:02:12.128Z] Configure a credential helper to remove this warning. See [2022-06-29T16:02:12.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:02:12.128Z] [2022-06-29T16:02:12.128Z] Login Succeeded [2022-06-29T16:02:12.128Z] docker.io [2022-06-29T16:02:12.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:02:12.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:02:12.700Z] Configure a credential helper to remove this warning. See [2022-06-29T16:02:12.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:02:12.700Z] [2022-06-29T16:02:12.700Z] Login Succeeded [2022-06-29T16:02:12.700Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:02:12.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:02:12.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:02:12.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:02:12.796Z] ========================================================= [2022-06-29T16:02:12.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T16:02:12.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:02:13.116Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T16:02:13.116Z] Sending build context to Docker daemon 10.68MB [2022-06-29T16:02:13.116Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:02:13.116Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:02:13.116Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T16:02:13.116Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T16:02:13.116Z] 666ba61612fd: Pulling fs layer [2022-06-29T16:02:13.116Z] 8ed8ca486205: Pulling fs layer [2022-06-29T16:02:13.116Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T16:02:13.116Z] c516ae0d96e1: Pulling fs layer [2022-06-29T16:02:13.116Z] 684cea983483: Pulling fs layer [2022-06-29T16:02:13.116Z] dd3240ac7de5: Pulling fs layer [2022-06-29T16:02:13.116Z] b1e948a4e11c: Pulling fs layer [2022-06-29T16:02:13.116Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T16:02:13.116Z] 646ad004c059: Pulling fs layer [2022-06-29T16:02:13.116Z] c516ae0d96e1: Waiting [2022-06-29T16:02:13.116Z] 684cea983483: Waiting [2022-06-29T16:02:13.116Z] dd3240ac7de5: Waiting [2022-06-29T16:02:13.116Z] 646ad004c059: Waiting [2022-06-29T16:02:13.116Z] b1e948a4e11c: Waiting [2022-06-29T16:02:13.116Z] a8fd76ee1af6: Waiting [2022-06-29T16:02:13.116Z] 8ed8ca486205: Download complete [2022-06-29T16:02:13.116Z] 666ba61612fd: Verifying Checksum [2022-06-29T16:02:13.116Z] 666ba61612fd: Download complete [2022-06-29T16:02:13.378Z] c516ae0d96e1: Verifying Checksum [2022-06-29T16:02:13.378Z] c516ae0d96e1: Download complete [2022-06-29T16:02:13.378Z] 684cea983483: Verifying Checksum [2022-06-29T16:02:13.378Z] 684cea983483: Download complete [2022-06-29T16:02:13.378Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T16:02:13.378Z] 59bf1c3509f3: Download complete [2022-06-29T16:02:13.378Z] dd3240ac7de5: Verifying Checksum [2022-06-29T16:02:13.378Z] dd3240ac7de5: Download complete [2022-06-29T16:02:13.378Z] b1e948a4e11c: Verifying Checksum [2022-06-29T16:02:13.378Z] b1e948a4e11c: Download complete [2022-06-29T16:02:13.378Z] 59bf1c3509f3: Pull complete [2022-06-29T16:02:13.640Z] 666ba61612fd: Pull complete [2022-06-29T16:02:13.640Z] 8ed8ca486205: Pull complete [2022-06-29T16:02:13.640Z] 646ad004c059: Verifying Checksum [2022-06-29T16:02:13.640Z] 646ad004c059: Download complete [2022-06-29T16:02:13.903Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T16:02:13.903Z] a8fd76ee1af6: Download complete [2022-06-29T16:02:14.161Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T16:02:14.161Z] cc1cd167ecdc: Download complete [2022-06-29T16:02:18.368Z] cc1cd167ecdc: Pull complete [2022-06-29T16:02:18.368Z] c516ae0d96e1: Pull complete [2022-06-29T16:02:18.368Z] 684cea983483: Pull complete [2022-06-29T16:02:18.368Z] dd3240ac7de5: Pull complete [2022-06-29T16:02:18.368Z] b1e948a4e11c: Pull complete [2022-06-29T16:02:20.911Z] a8fd76ee1af6: Pull complete [2022-06-29T16:02:21.481Z] 646ad004c059: Pull complete [2022-06-29T16:02:21.481Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T16:02:21.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T16:02:21.481Z] ---> 8f69c11f6b0c [2022-06-29T16:02:21.481Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T16:02:22.867Z] ---> Running in 7befdbb236b4 [2022-06-29T16:02:22.867Z] Removing intermediate container 7befdbb236b4 [2022-06-29T16:02:22.867Z] ---> a12222c8cdd0 [2022-06-29T16:02:22.867Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:02:23.127Z] ---> Running in a58573ca00a2 [2022-06-29T16:02:23.127Z] Removing intermediate container a58573ca00a2 [2022-06-29T16:02:23.127Z] ---> 4ecbe3057a3e [2022-06-29T16:02:23.127Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:02:23.127Z] ---> Running in 482f6b2935be [2022-06-29T16:02:23.127Z] Removing intermediate container 482f6b2935be [2022-06-29T16:02:23.127Z] ---> 3788d66dd3a8 [2022-06-29T16:02:23.127Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:02:23.387Z] ---> Running in bbb9401473dd [2022-06-29T16:02:23.958Z] Removing intermediate container bbb9401473dd [2022-06-29T16:02:23.958Z] ---> 3536489f8ffe [2022-06-29T16:02:23.958Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:02:23.958Z] ---> Running in 8b32e7e569a7 [2022-06-29T16:02:24.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:02:25.166Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:02:25.427Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T16:02:25.427Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T16:02:25.687Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T16:02:25.687Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T16:02:25.948Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:02:25.948Z] OK: 224 MiB in 56 packages [2022-06-29T16:02:26.208Z] Removing intermediate container 8b32e7e569a7 [2022-06-29T16:02:26.208Z] ---> 9309ad50be39 [2022-06-29T16:02:26.208Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T16:02:26.208Z] ---> Running in 83982dd08018 [2022-06-29T16:02:26.259Z] Still waiting to schedule task [2022-06-29T16:02:26.260Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16353’ [2022-06-29T16:02:26.473Z] Removing intermediate container 83982dd08018 [2022-06-29T16:02:26.473Z] ---> 49d341f78454 [2022-06-29T16:02:26.473Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T16:02:26.473Z] ---> bc2784e115ac [2022-06-29T16:02:26.473Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:02:26.473Z] ---> Running in 080e99a51a33 [2022-06-29T16:02:41.388Z] Removing intermediate container 080e99a51a33 [2022-06-29T16:02:41.388Z] ---> 4514da154713 [2022-06-29T16:02:41.388Z] Step 11/12 : COPY . . [2022-06-29T16:02:41.388Z] ---> e74b13951bec [2022-06-29T16:02:41.388Z] Step 12/12 : RUN $MAKE [2022-06-29T16:02:41.388Z] ---> Running in d07d492ae7d0 [2022-06-29T16:02:41.388Z] noop [2022-06-29T16:02:41.388Z] Removing intermediate container d07d492ae7d0 [2022-06-29T16:02:41.388Z] ---> ef38846f9f0a [2022-06-29T16:02:41.388Z] Successfully built ef38846f9f0a [2022-06-29T16:02:41.388Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:02:41.717Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:02:41.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:02:41.806Z] prd-ubuntu20.04-docker-8c-8g-16355 does not seem to be running inside a container [2022-06-29T16:02:41.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-06-29T16:02:42.277Z] $ docker top 2fb2b1bd3182f72d109fd55ab1f5800efebe8be7ffe6c265b33d6c2e26317ed6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:02:42.638Z] + go version [2022-06-29T16:02:42.638Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T16:02:42.661Z] $ docker stop --time=1 2fb2b1bd3182f72d109fd55ab1f5800efebe8be7ffe6c265b33d6c2e26317ed6 [2022-06-29T16:02:43.985Z] $ docker rm -f 2fb2b1bd3182f72d109fd55ab1f5800efebe8be7ffe6c265b33d6c2e26317ed6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:02:44.425Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:02:44.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:02:44.521Z] prd-ubuntu20.04-docker-8c-8g-16355 does not seem to be running inside a container [2022-06-29T16:02:44.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-06-29T16:02:45.147Z] $ docker top 6288b90784c4f65d69758d9ebeead23ec76d4fb8a36addc3e164ce286e515b1d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:02:45.511Z] + make test [2022-06-29T16:02:45.511Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:02:45.770Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T16:02:55.778Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T16:02:55.778Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-29T16:03:02.359Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:03:06.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:03:06.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:03:06.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:03:06.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:03:06.594Z] $ docker stop --time=1 6288b90784c4f65d69758d9ebeead23ec76d4fb8a36addc3e164ce286e515b1d [2022-06-29T16:03:08.367Z] $ docker rm -f 6288b90784c4f65d69758d9ebeead23ec76d4fb8a36addc3e164ce286e515b1d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:03:08.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:03:08.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T16:03:09.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:03:09.537Z] + ls -al . [2022-06-29T16:03:09.537Z] total 172 [2022-06-29T16:03:09.537Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:03 . [2022-06-29T16:03:09.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:01 .. [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 16:01 .dockerignore [2022-06-29T16:03:09.537Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:02 .git [2022-06-29T16:03:09.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:01 .github [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 16:01 .gitignore [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 16:01 .golangci.yml [2022-06-29T16:03:09.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:02 .semver [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 16:01 Attribution.txt [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 16:01 CHANGELOG.md [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 16:01 Dockerfile [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:01 GOVERNANCE.md [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 16:01 Jenkinsfile [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 16:01 LICENSE [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 16:01 Makefile [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 16:01 OWNERS.md [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 16:01 README.md [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:02 VERSION [2022-06-29T16:03:09.537Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:01 bin [2022-06-29T16:03:09.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:01 cmd [2022-06-29T16:03:09.537Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 16:02 coverage.out [2022-06-29T16:03:09.537Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:01 driver [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 16:01 go.mod [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 16:01 go.sum [2022-06-29T16:03:09.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:01 snap [2022-06-29T16:03:09.537Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:03:09.850Z] + 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=d6ec2b37c997e05c5428d7ad3e93cb13e582f885 --label arch=amd64 --label version=0.0.0 . [2022-06-29T16:03:09.850Z] Sending build context to Docker daemon 10.69MB [2022-06-29T16:03:09.850Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:03:09.850Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T16:03:09.850Z] ---> ef38846f9f0a [2022-06-29T16:03:09.850Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T16:03:10.111Z] ---> Running in 4490e3899312 [2022-06-29T16:03:10.111Z] Removing intermediate container 4490e3899312 [2022-06-29T16:03:10.111Z] ---> e42bd80fa041 [2022-06-29T16:03:10.111Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:03:10.111Z] ---> Running in bc05a456d756 [2022-06-29T16:03:10.111Z] Removing intermediate container bc05a456d756 [2022-06-29T16:03:10.111Z] ---> 3166de179490 [2022-06-29T16:03:10.111Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:03:10.371Z] ---> Running in c671bb694d45 [2022-06-29T16:03:10.371Z] Removing intermediate container c671bb694d45 [2022-06-29T16:03:10.371Z] ---> 6529c9728acd [2022-06-29T16:03:10.371Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:03:10.371Z] ---> Running in 304136b1a6ab [2022-06-29T16:03:10.941Z] Removing intermediate container 304136b1a6ab [2022-06-29T16:03:10.941Z] ---> 698b2ae4c422 [2022-06-29T16:03:10.941Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:03:10.941Z] ---> Running in c9d175f50c95 [2022-06-29T16:03:11.201Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:03:12.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:03:12.713Z] OK: 224 MiB in 56 packages [2022-06-29T16:03:12.974Z] Removing intermediate container c9d175f50c95 [2022-06-29T16:03:12.974Z] ---> c334c10a86db [2022-06-29T16:03:12.974Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T16:03:12.974Z] ---> Running in 93929483bad8 [2022-06-29T16:03:12.974Z] Removing intermediate container 93929483bad8 [2022-06-29T16:03:12.974Z] ---> 6314ea192fe2 [2022-06-29T16:03:12.974Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T16:03:13.234Z] ---> ba7dcca5d93e [2022-06-29T16:03:13.234Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:03:13.234Z] ---> Running in 8a25f0fb9abc [2022-06-29T16:03:13.805Z] Removing intermediate container 8a25f0fb9abc [2022-06-29T16:03:13.805Z] ---> 801f4e8191bd [2022-06-29T16:03:13.805Z] Step 11/25 : COPY . . [2022-06-29T16:03:14.065Z] ---> 77c5d383440c [2022-06-29T16:03:14.065Z] Step 12/25 : RUN $MAKE [2022-06-29T16:03:14.326Z] ---> Running in 78c3bedb2093 [2022-06-29T16:03:14.585Z] 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 [2022-06-29T16:03:36.528Z] Removing intermediate container 78c3bedb2093 [2022-06-29T16:03:36.528Z] ---> 3b0c250beba2 [2022-06-29T16:03:36.528Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T16:03:36.528Z] 3.14: Pulling from library/alpine [2022-06-29T16:03:36.528Z] 8663204ce13b: Pulling fs layer [2022-06-29T16:03:36.528Z] 8663204ce13b: Verifying Checksum [2022-06-29T16:03:36.528Z] 8663204ce13b: Download complete [2022-06-29T16:03:36.528Z] 8663204ce13b: Pull complete [2022-06-29T16:03:36.528Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T16:03:36.528Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T16:03:36.528Z] ---> e04c818066af [2022-06-29T16:03:36.528Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T16:03:36.528Z] ---> Running in bdf29a91628d [2022-06-29T16:03:36.528Z] Removing intermediate container bdf29a91628d [2022-06-29T16:03:36.528Z] ---> 5af1f51d5962 [2022-06-29T16:03:36.528Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T16:03:36.528Z] ---> Running in ba456b832b59 [2022-06-29T16:03:36.528Z] Removing intermediate container ba456b832b59 [2022-06-29T16:03:36.528Z] ---> d41bd246fa5e [2022-06-29T16:03:36.528Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:03:36.528Z] ---> Running in 1f52783975ac [2022-06-29T16:03:36.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:03:36.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:03:36.528Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:03:36.528Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T16:03:36.528Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:03:36.528Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T16:03:36.528Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:03:36.528Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:03:36.528Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T16:03:36.528Z] OK: 8 MiB in 20 packages [2022-06-29T16:03:36.528Z] Removing intermediate container 1f52783975ac [2022-06-29T16:03:36.528Z] ---> b7d707e1d58b [2022-06-29T16:03:36.528Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T16:03:36.528Z] ---> 0f54a6184e44 [2022-06-29T16:03:36.528Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T16:03:36.528Z] ---> d9f1b5360db0 [2022-06-29T16:03:36.528Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T16:03:36.787Z] ---> 08709ba40576 [2022-06-29T16:03:36.787Z] Step 20/25 : EXPOSE 59986 [2022-06-29T16:03:36.787Z] ---> Running in edb1e80ff51b [2022-06-29T16:03:36.787Z] Removing intermediate container edb1e80ff51b [2022-06-29T16:03:36.787Z] ---> ddc367e4a0e7 [2022-06-29T16:03:36.787Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T16:03:36.787Z] ---> Running in 413e49bcb976 [2022-06-29T16:03:37.045Z] Removing intermediate container 413e49bcb976 [2022-06-29T16:03:37.045Z] ---> ac9de93506a2 [2022-06-29T16:03:37.045Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T16:03:37.045Z] ---> Running in 097e8afbe6bf [2022-06-29T16:03:37.045Z] Removing intermediate container 097e8afbe6bf [2022-06-29T16:03:37.045Z] ---> 707a19fdd21b [2022-06-29T16:03:37.045Z] Step 23/25 : LABEL arch=amd64 [2022-06-29T16:03:37.045Z] ---> Running in e705bcf50655 [2022-06-29T16:03:37.304Z] Removing intermediate container e705bcf50655 [2022-06-29T16:03:37.304Z] ---> 8a2072181c3b [2022-06-29T16:03:37.304Z] Step 24/25 : LABEL git_sha=d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [2022-06-29T16:03:37.304Z] ---> Running in c51adb9b438c [2022-06-29T16:03:37.304Z] Removing intermediate container c51adb9b438c [2022-06-29T16:03:37.304Z] ---> 6c2c61003e80 [2022-06-29T16:03:37.304Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T16:03:37.304Z] ---> Running in 0b49caeaeb9c [2022-06-29T16:03:37.565Z] Removing intermediate container 0b49caeaeb9c [2022-06-29T16:03:37.565Z] ---> 035ab4854530 [2022-06-29T16:03:37.565Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:03:37.565Z] Successfully built 035ab4854530 [2022-06-29T16:03:37.565Z] 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 [2022-06-29T16:03:38.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:03:38.012Z] [2022-06-29T16:03:38.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:03:38.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:03:38.324Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T16:03:38.324Z] 5eb5b503b376: Pulling fs layer [2022-06-29T16:03:38.324Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T16:03:38.324Z] ec43610c2a17: Pulling fs layer [2022-06-29T16:03:38.324Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T16:03:38.324Z] 33b1e0a273af: Pulling fs layer [2022-06-29T16:03:38.324Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T16:03:38.324Z] 2f39f015ded8: Pulling fs layer [2022-06-29T16:03:38.324Z] 33b1e0a273af: Waiting [2022-06-29T16:03:38.324Z] 5d3b04190fa2: Waiting [2022-06-29T16:03:38.324Z] 2f39f015ded8: Waiting [2022-06-29T16:03:38.324Z] 5c69ac0246d0: Download complete [2022-06-29T16:03:38.324Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T16:03:38.324Z] 3a2ae6a8a46f: Download complete [2022-06-29T16:03:38.324Z] 33b1e0a273af: Verifying Checksum [2022-06-29T16:03:38.324Z] 33b1e0a273af: Download complete [2022-06-29T16:03:38.324Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T16:03:38.324Z] 5d3b04190fa2: Download complete [2022-06-29T16:03:38.324Z] ec43610c2a17: Verifying Checksum [2022-06-29T16:03:38.324Z] ec43610c2a17: Download complete [2022-06-29T16:03:38.584Z] 5eb5b503b376: Verifying Checksum [2022-06-29T16:03:38.584Z] 5eb5b503b376: Download complete [2022-06-29T16:03:39.153Z] 2f39f015ded8: Download complete [2022-06-29T16:03:39.721Z] 5eb5b503b376: Pull complete [2022-06-29T16:03:39.981Z] 5c69ac0246d0: Pull complete [2022-06-29T16:03:40.549Z] ec43610c2a17: Pull complete [2022-06-29T16:03:40.549Z] 3a2ae6a8a46f: Pull complete [2022-06-29T16:03:40.807Z] 33b1e0a273af: Pull complete [2022-06-29T16:03:40.807Z] 5d3b04190fa2: Pull complete [2022-06-29T16:03:45.000Z] 2f39f015ded8: Pull complete [2022-06-29T16:03:45.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T16:03:45.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:03:45.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:03:45.092Z] prd-ubuntu20.04-docker-8c-8g-16355 does not seem to be running inside a container [2022-06-29T16:03:45.137Z] $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-06-29T16:03:46.840Z] $ docker top 0cc2d53672d58eece65bb57cf89e71252f6b2effb6d1420ae64a19ae3991ab46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:03:47.212Z] ---> job-cost.sh [2022-06-29T16:03:47.212Z] lf-activate-venv: SKIPPING [2022-06-29T16:03:47.212Z] INFO: No Stack... [2022-06-29T16:03:47.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:03:48.043Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:03:48.333Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-06-29T16:03:48.333Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:03:48.348Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [2022-06-29T16:03:48.356Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] did not exist. Created. [2022-06-29T16:03:48.356Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:03:48.659Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T16:03:48.681Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:03:48.688Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:03:48.717Z] $ docker stop --time=1 0cc2d53672d58eece65bb57cf89e71252f6b2effb6d1420ae64a19ae3991ab46 [2022-06-29T16:03:49.921Z] $ docker rm -f 0cc2d53672d58eece65bb57cf89e71252f6b2effb6d1420ae64a19ae3991ab46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T16:05:18.529Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16358 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-06-29T16:05:18.540Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-06-29T16:05:18.596Z] The recommended git tool is: git [2022-06-29T16:05:25.412Z] using credential edgex-jenkins-ssh [2022-06-29T16:05:25.432Z] Cloning the remote Git repository [2022-06-29T16:05:25.491Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T16:05:25.575Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-06-29T16:05:25.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T16:05:25.681Z] > git --version # timeout=10 [2022-06-29T16:05:25.717Z] > git --version # 'git version 2.25.1' [2022-06-29T16:05:25.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:05:25.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:05:27.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T16:05:27.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:05:27.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T16:05:27.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T16:05:27.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:05:27.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T16:05:28.271Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [2022-06-29T16:05:28.523Z] Merge succeeded, producing d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [2022-06-29T16:05:28.524Z] Checking out Revision d6ec2b37c997e05c5428d7ad3e93cb13e582f885 (PR-202) [2022-06-29T16:05:28.297Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:05:28.315Z] > git checkout -f d6ec2b37c997e05c5428d7ad3e93cb13e582f885 # timeout=10 [2022-06-29T16:05:28.408Z] > git remote # timeout=10 [2022-06-29T16:05:28.431Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T16:05:28.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:05:28.465Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-06-29T16:05:28.493Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T16:05:28.535Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:05:28.554Z] > git checkout -f d6ec2b37c997e05c5428d7ad3e93cb13e582f885 # timeout=10 [2022-06-29T16:05:32.825Z] Commit message: "refactor(snap): upgrade configure hook's formatting" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:05:33.685Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T16:05:33.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:05:33.685Z] Dload Upload Total Spent Left Speed [2022-06-29T16:05:33.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 87521 0 --:--:-- --:--:-- --:--:-- 86900 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh [2022-06-29T16:05:34.339Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T16:05:34.693Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T16:05:34.693Z] + sudo tee /etc/docker/daemon.new [2022-06-29T16:05:34.693Z] { [2022-06-29T16:05:34.693Z] "registry-mirrors": [ [2022-06-29T16:05:34.693Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T16:05:34.693Z] ], [2022-06-29T16:05:34.693Z] "bip": "10.250.0.254/24", [2022-06-29T16:05:34.693Z] "hosts": [ [2022-06-29T16:05:34.693Z] "tcp://0.0.0.0:5555", [2022-06-29T16:05:34.693Z] "unix:///var/run/docker.sock" [2022-06-29T16:05:34.693Z] ], [2022-06-29T16:05:34.693Z] "mtu": 1458, [2022-06-29T16:05:34.693Z] "selinux-enabled": true, [2022-06-29T16:05:34.693Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T16:05:34.693Z] } [Pipeline] sh [2022-06-29T16:05:35.052Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T16:05:35.484Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:05:53.845Z] provisioning config files... [2022-06-29T16:05:53.870Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config621993823365359852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:05:54.234Z] ---> docker-login.sh [2022-06-29T16:05:54.235Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:05:54.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:05:55.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:05:55.134Z] Configure a credential helper to remove this warning. See [2022-06-29T16:05:55.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:05:55.134Z] [2022-06-29T16:05:55.134Z] Login Succeeded [2022-06-29T16:05:55.134Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:05:55.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:05:55.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:05:55.736Z] Configure a credential helper to remove this warning. See [2022-06-29T16:05:55.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:05:55.736Z] [2022-06-29T16:05:55.736Z] Login Succeeded [2022-06-29T16:05:55.736Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:05:56.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:05:56.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:05:56.297Z] Configure a credential helper to remove this warning. See [2022-06-29T16:05:56.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:05:56.297Z] [2022-06-29T16:05:56.297Z] Login Succeeded [2022-06-29T16:05:56.297Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:05:56.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:05:56.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:05:56.853Z] Configure a credential helper to remove this warning. See [2022-06-29T16:05:56.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:05:56.853Z] [2022-06-29T16:05:56.853Z] Login Succeeded [2022-06-29T16:05:56.853Z] docker.io [2022-06-29T16:05:57.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:05:57.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:05:57.724Z] Configure a credential helper to remove this warning. See [2022-06-29T16:05:57.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:05:57.724Z] [2022-06-29T16:05:57.724Z] Login Succeeded [2022-06-29T16:05:57.724Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:05:57.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:05:58.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:05:58.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:05:58.331Z] ========================================================= [2022-06-29T16:05:58.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T16:05:58.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:05:58.715Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T16:05:58.715Z] Sending build context to Docker daemon 128.5kB [2022-06-29T16:05:58.989Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:05:58.989Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:05:59.270Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T16:05:59.270Z] 9b3977197b4f: Pulling fs layer [2022-06-29T16:05:59.270Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T16:05:59.270Z] 94645a83ff95: Pulling fs layer [2022-06-29T16:05:59.270Z] e6fb740bc735: Pulling fs layer [2022-06-29T16:05:59.270Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T16:05:59.270Z] e6fb740bc735: Waiting [2022-06-29T16:05:59.270Z] 355e64cbe906: Pulling fs layer [2022-06-29T16:05:59.270Z] 63ab81a10011: Pulling fs layer [2022-06-29T16:05:59.270Z] 3a77bd46dcc9: Waiting [2022-06-29T16:05:59.270Z] 555d1d1c4555: Pulling fs layer [2022-06-29T16:05:59.270Z] 7d9057610161: Pulling fs layer [2022-06-29T16:05:59.270Z] 355e64cbe906: Waiting [2022-06-29T16:05:59.270Z] 555d1d1c4555: Waiting [2022-06-29T16:05:59.270Z] 63ab81a10011: Waiting [2022-06-29T16:05:59.270Z] 7d9057610161: Waiting [2022-06-29T16:05:59.270Z] 94645a83ff95: Verifying Checksum [2022-06-29T16:05:59.270Z] 94645a83ff95: Download complete [2022-06-29T16:05:59.270Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T16:05:59.270Z] 1a89e8eeedd5: Download complete [2022-06-29T16:05:59.270Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T16:05:59.270Z] 3a77bd46dcc9: Download complete [2022-06-29T16:05:59.270Z] 355e64cbe906: Verifying Checksum [2022-06-29T16:05:59.270Z] 355e64cbe906: Download complete [2022-06-29T16:05:59.270Z] 9b3977197b4f: Download complete [2022-06-29T16:05:59.270Z] 63ab81a10011: Verifying Checksum [2022-06-29T16:05:59.270Z] 63ab81a10011: Download complete [2022-06-29T16:06:00.296Z] 9b3977197b4f: Pull complete [2022-06-29T16:06:00.574Z] 7d9057610161: Verifying Checksum [2022-06-29T16:06:00.574Z] 7d9057610161: Download complete [2022-06-29T16:06:01.182Z] 1a89e8eeedd5: Pull complete [2022-06-29T16:06:01.460Z] 94645a83ff95: Pull complete [2022-06-29T16:06:01.735Z] 555d1d1c4555: Verifying Checksum [2022-06-29T16:06:01.735Z] 555d1d1c4555: Download complete [2022-06-29T16:06:02.335Z] e6fb740bc735: Verifying Checksum [2022-06-29T16:06:02.335Z] e6fb740bc735: Download complete [2022-06-29T16:06:14.770Z] e6fb740bc735: Pull complete [2022-06-29T16:06:14.770Z] 3a77bd46dcc9: Pull complete [2022-06-29T16:06:15.043Z] 355e64cbe906: Pull complete [2022-06-29T16:06:15.321Z] 63ab81a10011: Pull complete [2022-06-29T16:06:22.070Z] 555d1d1c4555: Pull complete [2022-06-29T16:06:24.709Z] 7d9057610161: Pull complete [2022-06-29T16:06:24.709Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T16:06:24.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T16:06:24.709Z] ---> 819e984ddca1 [2022-06-29T16:06:24.709Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T16:06:25.704Z] ---> Running in a2ee558856fe [2022-06-29T16:06:26.307Z] Removing intermediate container a2ee558856fe [2022-06-29T16:06:26.307Z] ---> d875b270a88a [2022-06-29T16:06:26.307Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:06:26.307Z] ---> Running in db69c2980fe6 [2022-06-29T16:06:26.581Z] Removing intermediate container db69c2980fe6 [2022-06-29T16:06:26.581Z] ---> 16215695244f [2022-06-29T16:06:26.581Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:06:26.581Z] ---> Running in e27cc5c68f06 [2022-06-29T16:06:27.180Z] Removing intermediate container e27cc5c68f06 [2022-06-29T16:06:27.180Z] ---> 902a9596df02 [2022-06-29T16:06:27.180Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:06:27.180Z] ---> Running in c1d4806beba7 [2022-06-29T16:06:29.174Z] Removing intermediate container c1d4806beba7 [2022-06-29T16:06:29.174Z] ---> 4d99218e1a27 [2022-06-29T16:06:29.174Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:06:29.174Z] ---> Running in 9982d8cf71c6 [2022-06-29T16:06:30.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:06:31.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:06:32.133Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T16:06:32.133Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T16:06:32.408Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T16:06:32.690Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T16:06:32.690Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:06:32.690Z] OK: 224 MiB in 56 packages [2022-06-29T16:06:33.688Z] Removing intermediate container 9982d8cf71c6 [2022-06-29T16:06:33.688Z] ---> 767af88c3ea6 [2022-06-29T16:06:33.688Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T16:06:33.965Z] ---> Running in 22e5dd7f9308 [2022-06-29T16:06:34.240Z] Removing intermediate container 22e5dd7f9308 [2022-06-29T16:06:34.240Z] ---> dfe5c71e8c0a [2022-06-29T16:06:34.240Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T16:06:34.840Z] ---> 3ad3b3a1b436 [2022-06-29T16:06:34.840Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:06:34.840Z] ---> Running in 3f6bfcaa6dab [2022-06-29T16:07:31.402Z] Removing intermediate container 3f6bfcaa6dab [2022-06-29T16:07:31.402Z] ---> 140cbef52f68 [2022-06-29T16:07:31.402Z] Step 11/12 : COPY . . [2022-06-29T16:07:31.402Z] ---> 8b517dd92fea [2022-06-29T16:07:31.402Z] Step 12/12 : RUN $MAKE [2022-06-29T16:07:31.402Z] ---> Running in 88890e7d7634 [2022-06-29T16:07:31.402Z] noop [2022-06-29T16:07:31.402Z] Removing intermediate container 88890e7d7634 [2022-06-29T16:07:31.402Z] ---> 2636e3518213 [2022-06-29T16:07:31.402Z] Successfully built 2636e3518213 [2022-06-29T16:07:31.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:07:31.773Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:07:31.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:07:32.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-16358 does not seem to be running inside a container [2022-06-29T16:07:32.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-06-29T16:07:33.508Z] $ docker top c9d29b02f7b8d5fe3c70ea2e4f9bccfde9c81ab06e54a9976fbdb3fc41a8859d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:07:34.467Z] + go version [2022-06-29T16:07:34.467Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T16:07:34.496Z] $ docker stop --time=1 c9d29b02f7b8d5fe3c70ea2e4f9bccfde9c81ab06e54a9976fbdb3fc41a8859d [2022-06-29T16:07:36.198Z] $ docker rm -f c9d29b02f7b8d5fe3c70ea2e4f9bccfde9c81ab06e54a9976fbdb3fc41a8859d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:07:36.826Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:07:36.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:07:37.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-16358 does not seem to be running inside a container [2022-06-29T16:07:37.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-06-29T16:07:38.510Z] $ docker top 67d55eaec71c80dcf82592fe91b028518665065e1dde16a85daa2350ca54fc2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:07:39.458Z] + make test [2022-06-29T16:07:39.458Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:07:41.461Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T16:09:03.345Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T16:09:03.345Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-06-29T16:09:03.345Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T16:09:03.345Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:09:30.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:09:30.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:09:30.166Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:09:32.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:09:32.831Z] $ docker stop --time=1 67d55eaec71c80dcf82592fe91b028518665065e1dde16a85daa2350ca54fc2b [2022-06-29T16:09:34.626Z] $ docker rm -f 67d55eaec71c80dcf82592fe91b028518665065e1dde16a85daa2350ca54fc2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:09:35.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:09:35.614Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T16:09:36.112Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:09:36.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:09:36.867Z] + ls -al . [2022-06-29T16:09:36.867Z] total 168 [2022-06-29T16:09:36.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:09 . [2022-06-29T16:09:36.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:05 .. [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 16:05 .dockerignore [2022-06-29T16:09:36.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:05 .git [2022-06-29T16:09:36.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:05 .github [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 16:05 .gitignore [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 16:05 .golangci.yml [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 16:05 Attribution.txt [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 16:05 CHANGELOG.md [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 16:05 Dockerfile [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:05 GOVERNANCE.md [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 16:05 Jenkinsfile [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 16:05 LICENSE [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 16:05 Makefile [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 16:05 OWNERS.md [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 16:05 README.md [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:02 VERSION [2022-06-29T16:09:36.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:05 bin [2022-06-29T16:09:36.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:05 cmd [2022-06-29T16:09:36.867Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 16:09 coverage.out [2022-06-29T16:09:36.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:05 driver [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 16:05 go.mod [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 16:05 go.sum [2022-06-29T16:09:36.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:05 snap [2022-06-29T16:09:36.867Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:09:37.228Z] + 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=d6ec2b37c997e05c5428d7ad3e93cb13e582f885 --label arch=arm64 --label version=0.0.0 . [2022-06-29T16:09:37.228Z] Sending build context to Docker daemon 138.8kB [2022-06-29T16:09:37.506Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:09:37.506Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T16:09:37.506Z] ---> 2636e3518213 [2022-06-29T16:09:37.506Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T16:09:37.780Z] ---> Running in 0a220af4abcf [2022-06-29T16:09:38.054Z] Removing intermediate container 0a220af4abcf [2022-06-29T16:09:38.054Z] ---> b794a11011f1 [2022-06-29T16:09:38.054Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:09:38.054Z] ---> Running in 7b99e561c1ed [2022-06-29T16:09:38.330Z] Removing intermediate container 7b99e561c1ed [2022-06-29T16:09:38.330Z] ---> 04540aead305 [2022-06-29T16:09:38.330Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:09:38.604Z] ---> Running in 3ed942bbe872 [2022-06-29T16:09:38.876Z] Removing intermediate container 3ed942bbe872 [2022-06-29T16:09:38.876Z] ---> 392e814bbb95 [2022-06-29T16:09:38.876Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:09:38.876Z] ---> Running in ccf74602c595 [2022-06-29T16:09:40.855Z] Removing intermediate container ccf74602c595 [2022-06-29T16:09:40.855Z] ---> 9a033d3f1e82 [2022-06-29T16:09:40.855Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:09:40.855Z] ---> Running in e41c8da1c67a [2022-06-29T16:09:41.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:09:42.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:09:43.437Z] OK: 224 MiB in 56 packages [2022-06-29T16:09:44.419Z] Removing intermediate container e41c8da1c67a [2022-06-29T16:09:44.419Z] ---> 5783c133c704 [2022-06-29T16:09:44.419Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T16:09:44.419Z] ---> Running in 6a40d848306e [2022-06-29T16:09:44.695Z] Removing intermediate container 6a40d848306e [2022-06-29T16:09:44.695Z] ---> 52d76d27a356 [2022-06-29T16:09:44.695Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T16:09:45.292Z] ---> f28d7ce3dfec [2022-06-29T16:09:45.292Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:09:45.292Z] ---> Running in 483bfeae40cf [2022-06-29T16:09:47.282Z] Removing intermediate container 483bfeae40cf [2022-06-29T16:09:47.282Z] ---> 7928b129fd29 [2022-06-29T16:09:47.282Z] Step 11/25 : COPY . . [2022-06-29T16:09:47.563Z] ---> cd47d1851277 [2022-06-29T16:09:47.563Z] Step 12/25 : RUN $MAKE [2022-06-29T16:09:47.563Z] ---> Running in 7bd1b57b6c03 [2022-06-29T16:09:48.547Z] 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 [2022-06-29T16:11:55.448Z] Removing intermediate container 7bd1b57b6c03 [2022-06-29T16:11:55.448Z] ---> 2bf3a79c9074 [2022-06-29T16:11:55.448Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T16:11:55.448Z] 3.14: Pulling from library/alpine [2022-06-29T16:11:55.448Z] 455c02918c45: Pulling fs layer [2022-06-29T16:11:55.448Z] 455c02918c45: Verifying Checksum [2022-06-29T16:11:55.448Z] 455c02918c45: Download complete [2022-06-29T16:11:55.448Z] 455c02918c45: Pull complete [2022-06-29T16:11:55.448Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T16:11:55.448Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T16:11:55.448Z] ---> ac73e934f311 [2022-06-29T16:11:55.448Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T16:11:55.448Z] ---> Running in 764859ba8e7c [2022-06-29T16:11:55.448Z] Removing intermediate container 764859ba8e7c [2022-06-29T16:11:55.448Z] ---> 5044d5fd0bee [2022-06-29T16:11:55.448Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T16:11:55.448Z] ---> Running in 66907489d8f7 [2022-06-29T16:11:55.448Z] Removing intermediate container 66907489d8f7 [2022-06-29T16:11:55.448Z] ---> deacaaf83f68 [2022-06-29T16:11:55.448Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:11:55.448Z] ---> Running in a513f2c29a20 [2022-06-29T16:11:55.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:11:55.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:11:56.438Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:11:56.438Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T16:11:56.438Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:11:56.438Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T16:11:56.438Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:11:56.438Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:11:56.438Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T16:11:56.438Z] OK: 8 MiB in 20 packages [2022-06-29T16:11:57.444Z] Removing intermediate container a513f2c29a20 [2022-06-29T16:11:57.444Z] ---> f714e07a932b [2022-06-29T16:11:57.444Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T16:11:58.880Z] ---> 7e32005b45fe [2022-06-29T16:11:58.880Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T16:11:59.479Z] ---> 599b2cba7526 [2022-06-29T16:11:59.479Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T16:12:00.083Z] ---> 446cc083c97f [2022-06-29T16:12:00.083Z] Step 20/25 : EXPOSE 59986 [2022-06-29T16:12:00.083Z] ---> Running in 860b6f628315 [2022-06-29T16:12:00.361Z] Removing intermediate container 860b6f628315 [2022-06-29T16:12:00.361Z] ---> d7af5c57628c [2022-06-29T16:12:00.361Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T16:12:00.361Z] ---> Running in 8f6331f12ceb [2022-06-29T16:12:00.959Z] Removing intermediate container 8f6331f12ceb [2022-06-29T16:12:00.959Z] ---> 3c14a25e9529 [2022-06-29T16:12:00.959Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T16:12:00.959Z] ---> Running in 0c87e6d48070 [2022-06-29T16:12:01.235Z] Removing intermediate container 0c87e6d48070 [2022-06-29T16:12:01.235Z] ---> 8010db7990bf [2022-06-29T16:12:01.235Z] Step 23/25 : LABEL arch=arm64 [2022-06-29T16:12:01.235Z] ---> Running in fc47f9516221 [2022-06-29T16:12:01.510Z] Removing intermediate container fc47f9516221 [2022-06-29T16:12:01.510Z] ---> 60f509c7bf14 [2022-06-29T16:12:01.510Z] Step 24/25 : LABEL git_sha=d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [2022-06-29T16:12:01.786Z] ---> Running in 79f99791a0c4 [2022-06-29T16:12:02.061Z] Removing intermediate container 79f99791a0c4 [2022-06-29T16:12:02.061Z] ---> d39fd375c388 [2022-06-29T16:12:02.061Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T16:12:02.061Z] ---> Running in f4d135ba52bf [2022-06-29T16:12:02.337Z] Removing intermediate container f4d135ba52bf [2022-06-29T16:12:02.337Z] ---> 8061291dc761 [2022-06-29T16:12:02.337Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:12:02.337Z] Successfully built 8061291dc761 [2022-06-29T16:12:02.337Z] 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 [2022-06-29T16:12:02.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:12:02.821Z] [2022-06-29T16:12:02.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:12:03.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:12:03.448Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T16:12:03.449Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T16:12:03.449Z] 04944245beec: Pulling fs layer [2022-06-29T16:12:03.449Z] 699f458cf7ca: Pulling fs layer [2022-06-29T16:12:03.449Z] 765212b225bb: Pulling fs layer [2022-06-29T16:12:03.449Z] f23df028b6ca: Pulling fs layer [2022-06-29T16:12:03.449Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T16:12:03.449Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T16:12:03.449Z] d65c8cfc05b1: Waiting [2022-06-29T16:12:03.449Z] 765212b225bb: Waiting [2022-06-29T16:12:03.449Z] 2437ff75d9bd: Waiting [2022-06-29T16:12:03.449Z] f23df028b6ca: Waiting [2022-06-29T16:12:03.449Z] 04944245beec: Verifying Checksum [2022-06-29T16:12:03.449Z] 04944245beec: Download complete [2022-06-29T16:12:03.449Z] 765212b225bb: Verifying Checksum [2022-06-29T16:12:03.449Z] 765212b225bb: Download complete [2022-06-29T16:12:03.449Z] f23df028b6ca: Verifying Checksum [2022-06-29T16:12:03.449Z] f23df028b6ca: Download complete [2022-06-29T16:12:03.449Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T16:12:03.449Z] d65c8cfc05b1: Download complete [2022-06-29T16:12:03.727Z] 699f458cf7ca: Verifying Checksum [2022-06-29T16:12:03.727Z] 699f458cf7ca: Download complete [2022-06-29T16:12:04.003Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T16:12:04.003Z] 8998bd30e6a1: Download complete [2022-06-29T16:12:06.648Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T16:12:08.631Z] 8998bd30e6a1: Pull complete [2022-06-29T16:12:08.903Z] 04944245beec: Pull complete [2022-06-29T16:12:10.345Z] 699f458cf7ca: Pull complete [2022-06-29T16:12:10.621Z] 765212b225bb: Pull complete [2022-06-29T16:12:11.222Z] f23df028b6ca: Pull complete [2022-06-29T16:12:11.497Z] d65c8cfc05b1: Pull complete [2022-06-29T16:12:26.599Z] 2437ff75d9bd: Pull complete [2022-06-29T16:12:26.599Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T16:12:26.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:12:26.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:12:26.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-16358 does not seem to be running inside a container [2022-06-29T16:12:26.965Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-06-29T16:12:29.546Z] $ docker top 21109c8f1b847ae623378bbb572e38068c4e936d12eb4117248fcd48bf8d5919 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:30.482Z] ---> job-cost.sh [2022-06-29T16:12:30.482Z] lf-activate-venv: SKIPPING [2022-06-29T16:12:30.482Z] INFO: No Stack... [2022-06-29T16:12:30.754Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T16:12:31.726Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:12:32.382Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2022-06-29T16:12:32.382Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:12:32.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [2022-06-29T16:12:32.454Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] did not exist. Created. [2022-06-29T16:12:32.455Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:12:33.134Z] /w/workspace/device-rest-go/3@tmp/durable-765624df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T16:12:33.809Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T16:12:33.835Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T16:12:33.875Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:12:33.882Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:12:33.903Z] $ docker stop --time=1 21109c8f1b847ae623378bbb572e38068c4e936d12eb4117248fcd48bf8d5919 [2022-06-29T16:12:35.348Z] $ docker rm -f 21109c8f1b847ae623378bbb572e38068c4e936d12eb4117248fcd48bf8d5919 [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 [2022-06-29T16:12:35.770Z] provisioning config files... [2022-06-29T16:12:35.779Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2089889971191203954tmp [Pipeline] { [Pipeline] sh [2022-06-29T16:12:36.081Z] + set +x [2022-06-29T16:12:36.082Z] + curl -s https://codecov.io/bash [2022-06-29T16:12:36.082Z] + bash -s -- [2022-06-29T16:12:36.082Z] [2022-06-29T16:12:36.082Z] _____ _ [2022-06-29T16:12:36.082Z] / ____| | | [2022-06-29T16:12:36.082Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T16:12:36.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T16:12:36.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T16:12:36.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T16:12:36.082Z] Bash-1.0.6 [2022-06-29T16:12:36.082Z] [2022-06-29T16:12:36.082Z] [2022-06-29T16:12:36.082Z] ==> git version 2.25.1 found [2022-06-29T16:12:36.082Z] ==> 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 [2022-06-29T16:12:36.082Z] Release-Date: 2020-01-08 [2022-06-29T16:12:36.082Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-29T16:12:36.082Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T16:12:36.082Z] ==> Jenkins CI detected. [2022-06-29T16:12:36.082Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T16:12:36.082Z] project root: . [2022-06-29T16:12:36.082Z] --> token set from env [2022-06-29T16:12:36.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T16:12:36.082Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T16:12:36.082Z] ==> Python coveragepy not found [2022-06-29T16:12:36.082Z] ==> Searching for coverage reports in: [2022-06-29T16:12:36.082Z] + . [2022-06-29T16:12:36.082Z] -> Found 1 reports [2022-06-29T16:12:36.082Z] ==> Detecting git/mercurial file structure [2022-06-29T16:12:36.082Z] ==> Reading reports [2022-06-29T16:12:36.082Z] + ./coverage.out bytes=9355 [2022-06-29T16:12:36.082Z] ==> Appending adjustments [2022-06-29T16:12:36.082Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T16:12:36.341Z] + Found adjustments [2022-06-29T16:12:36.341Z] ==> Gzipping contents [2022-06-29T16:12:36.341Z] 4.0K /tmp/codecov.bw1HpY.gz [2022-06-29T16:12:36.341Z] ==> Uploading reports [2022-06-29T16:12:36.341Z] url: https://codecov.io [2022-06-29T16:12:36.341Z] query: branch=PR-202&commit=d6ec2b37c997e05c5428d7ad3e93cb13e582f885&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T16:12:36.341Z] -> Pinging Codecov [2022-06-29T16:12:36.341Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=d6ec2b37c997e05c5428d7ad3e93cb13e582f885&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T16:12:36.602Z] -> Uploading to [2022-06-29T16:12:36.602Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/4E5D53B4F1F92C436F7061BF334D961C/d6ec2b37c997e05c5428d7ad3e93cb13e582f885/6b415738-e5ff-481d-b11b-618b4aa2ad69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T161236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27ed707be0678d6ecbafd8b511061c88213c3823d71349c5abe6b332f7fb1924 [2022-06-29T16:12:36.602Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:12:36.602Z] Dload Upload Total Spent Left Speed [2022-06-29T16:12:36.863Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1782 0 0 100 1782 0 8136 --:--:-- --:--:-- --:--:-- 8100 [2022-06-29T16:12:36.863Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d6ec2b37c997e05c5428d7ad3e93cb13e582f885 [Pipeline] } [2022-06-29T16:12:36.871Z] 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 [2022-06-29T16:12:37.559Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-06-29T16:12:37.559Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T16:12:37.559Z] total 16 [2022-06-29T16:12:37.560Z] drwxr-xr-x 3 root root 4096 Jun 29 16:03 . [2022-06-29T16:12:37.560Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:03 .. [2022-06-29T16:12:37.560Z] drwxr-xr-x 2 root root 4096 Jun 29 16:03 cost [2022-06-29T16:12:37.560Z] -rw-r--r-- 1 root root 85 Jun 29 16:03 cost.csv [2022-06-29T16:12:37.560Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T16:12:37.560Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T16:12:37.560Z] total 16 [2022-06-29T16:12:37.560Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:03 . [2022-06-29T16:12:37.560Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:03 .. [2022-06-29T16:12:37.560Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:03 cost [2022-06-29T16:12:37.560Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 16:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:37.851Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:38.721Z] ---> package-listing.sh [2022-06-29T16:12:38.721Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T16:12:38.721Z] ++ facter osfamily [2022-06-29T16:12:38.980Z] + OS_FAMILY=debian [2022-06-29T16:12:38.980Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T16:12:38.980Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T16:12:38.980Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T16:12:38.980Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T16:12:38.980Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T16:12:38.980Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T16:12:38.980Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T16:12:38.980Z] + case "${OS_FAMILY}" in [2022-06-29T16:12:38.980Z] + dpkg -l [2022-06-29T16:12:38.980Z] + grep '^ii' [2022-06-29T16:12:38.980Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T16:12:38.980Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T16:12:38.980Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T16:12:38.980Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T16:12:38.980Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-06-29T16:12:38.980Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-06-29T16:12:38.991Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T16:12:39.273Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:12:39.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:12:39.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:12:39.925Z] prd-ubuntu20.04-docker-8c-8g-16355 does not seem to be running inside a container [2022-06-29T16:12:39.977Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-06-29T16:12:40.243Z] $ docker top c1f66e8d471252554c96f4c351ec6bfc90163c4df37482cd0da829937b9e1896 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:12:40.584Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T16:12:40.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T16:12:41.168Z] + ls /var/log/sa-host [2022-06-29T16:12:41.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:12:41.239Z] provisioning config files... [2022-06-29T16:12:41.247Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config7294754569172220547tmp [Pipeline] { [Pipeline] echo [2022-06-29T16:12:41.260Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:41.541Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T16:12:41.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:41.873Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T16:12:41.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:42.169Z] ---> sudo-logs.sh [2022-06-29T16:12:42.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T16:12:42.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:42.482Z] ---> job-cost.sh [2022-06-29T16:12:42.482Z] lf-activate-venv: SKIPPING [2022-06-29T16:12:42.482Z] DEBUG: total: 0.2199999988079071 [2022-06-29T16:12:42.482Z] INFO: Retrieving Stack Cost... [2022-06-29T16:12:42.741Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:12:43.308Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T16:12:43.320Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:43.604Z] ---> logs-deploy.sh [2022-06-29T16:12:43.604Z] lf-activate-venv: SKIPPING [2022-06-29T16:12:43.604Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/3 [2022-06-29T16:12:43.604Z] INFO: archiving workspace using pattern(s): [2022-06-29T16:12:44.544Z] Archives upload complete. [2022-06-29T16:12:44.544Z] INFO: archiving logs to Nexus