Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-rest-go Obtained Jenkinsfile from 7cdae81832caa7ff51aa672536335ab33271aca3+1b7989097685cbbb7d11325d5e96f20d406e46c7 (176d895e7a18bb244feecfb33afda3a2bcbba5ce) 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-ssh524715724307130560.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh11571697636371618923.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-185/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-185/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1456896190137537692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-185/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2536552498267827807.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh2189160975386006987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-185/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-185/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7092523593744005461.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [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-41429 in /w/workspace/gexfoundry_device-rest-go_PR-185 [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-185 # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 7cdae81832caa7ff51aa672536335ab33271aca3 Merge succeeded, producing 7cdae81832caa7ff51aa672536335ab33271aca3 Checking out Revision 7cdae81832caa7ff51aa672536335ab33271aca3 (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cdae81832caa7ff51aa672536335ab33271aca3 # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cdae81832caa7ff51aa672536335ab33271aca3 # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-08T00:40:23.875Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-08T00:40:24.062Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-08T00:40:24.170Z] ========================================================= [2022-05-08T00:40:24.170Z] EdgeX Global Pipelines Version Info [2022-05-08T00:40:24.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:40:24.963Z] ------------------- [2022-05-08T00:40:24.963Z] stable info: [2022-05-08T00:40:24.963Z] ------------------- [2022-05-08T00:40:24.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T00:40:24.963Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-08T00:40:24.963Z] Message: update stable to v1.0.227 [2022-05-08T00:40:25.535Z] ------------------- [2022-05-08T00:40:25.535Z] experimental info: [2022-05-08T00:40:25.535Z] ------------------- [2022-05-08T00:40:25.535Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T00:40:25.535Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-08T00:40:25.535Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-08T00:40:25.854Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-08T00:40:25.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-08T00:40:25.942Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-08T00:40:25.983Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-08T00:40:26.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-08T00:40:26.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-08T00:40:26.100Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-08T00:40:26.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-08T00:40:26.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-08T00:40:26.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-08T00:40:26.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-08T00:40:26.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-08T00:40:26.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-08T00:40:26.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-08T00:40:26.403Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-08T00:40:26.441Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-08T00:40:26.479Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T00:40:26.522Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T00:40:26.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-08T00:40:26.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-08T00:40:26.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-08T00:40:26.676Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-08T00:40:26.719Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-08T00:40:26.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-08T00:40:26.802Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-08T00:40:26.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-08T00:40:26.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-05-08T00:40:26.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-05-08T00:40:26.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-05-08T00:40:27.015Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cdae81832caa7ff51aa672536335ab33271aca3 [Pipeline] echo [2022-05-08T00:40:27.057Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cdae81 [Pipeline] echo [2022-05-08T00:40:27.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T00:40:27.218Z] provisioning config files... [2022-05-08T00:40:27.233Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config8477957044879785692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:40:27.583Z] ---> docker-login.sh [2022-05-08T00:40:27.583Z] nexus3.edgexfoundry.org:10001 [2022-05-08T00:40:27.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:27.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:27.843Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:27.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:27.843Z] [2022-05-08T00:40:27.843Z] Login Succeeded [2022-05-08T00:40:27.843Z] nexus3.edgexfoundry.org:10002 [2022-05-08T00:40:27.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:28.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:28.102Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:28.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:28.102Z] [2022-05-08T00:40:28.102Z] Login Succeeded [2022-05-08T00:40:28.102Z] nexus3.edgexfoundry.org:10003 [2022-05-08T00:40:28.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:28.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:28.102Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:28.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:28.102Z] [2022-05-08T00:40:28.102Z] Login Succeeded [2022-05-08T00:40:28.102Z] nexus3.edgexfoundry.org:10004 [2022-05-08T00:40:28.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:28.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:28.368Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:28.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:28.368Z] [2022-05-08T00:40:28.368Z] Login Succeeded [2022-05-08T00:40:28.368Z] docker.io [2022-05-08T00:40:28.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:28.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:28.631Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:28.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:28.631Z] [2022-05-08T00:40:28.631Z] Login Succeeded [2022-05-08T00:40:28.631Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T00:40:28.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-08T00:40:29.293Z] + git rev-list -1 --merges 7cdae81832caa7ff51aa672536335ab33271aca3~1..7cdae81832caa7ff51aa672536335ab33271aca3 [Pipeline] echo [2022-05-08T00:40:29.336Z] -----------> git rev-list -1 --merges 7cdae81832caa7ff51aa672536335ab33271aca3~1..7cdae81832caa7ff51aa672536335ab33271aca3 7cdae81832caa7ff51aa672536335ab33271aca3 [false] [Pipeline] sh [2022-05-08T00:40:29.646Z] + git log --format=format:%s -1 7cdae81832caa7ff51aa672536335ab33271aca3 [Pipeline] echo [2022-05-08T00:40:29.685Z] ========================================================= [2022-05-08T00:40:29.685Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-08T00:40:29.685Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T00:40:30.126Z] + git log --format=format:%s -1 7cdae81832caa7ff51aa672536335ab33271aca3 [Pipeline] echo [2022-05-08T00:40:30.159Z] [semverPrep] GIT_COMMIT: 7cdae81832caa7ff51aa672536335ab33271aca3, Commit Message: docs: update CHANGELOG for Kamakura [Pipeline] echo [2022-05-08T00:40:30.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-08T00:40:30.596Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-08T00:40:30.596Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-08T00:40:30.596Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-08T00:40:30.596Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-08T00:40:30.596Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-08T00:40:30.596Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-08T00:40:30.596Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:40:30.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T00:40:30.987Z] [2022-05-08T00:40:30.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:40:31.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T00:40:31.331Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-08T00:40:31.331Z] 1fe172e4850f: Pulling fs layer [2022-05-08T00:40:31.331Z] caf521ccaac6: Pulling fs layer [2022-05-08T00:40:31.331Z] 3ead6fa29328: Pulling fs layer [2022-05-08T00:40:31.331Z] 5c2a1cbceb83: Pulling fs layer [2022-05-08T00:40:31.331Z] a8d5f1318db7: Pulling fs layer [2022-05-08T00:40:31.331Z] c427282e49a2: Pulling fs layer [2022-05-08T00:40:31.331Z] 1827001aaf11: Pulling fs layer [2022-05-08T00:40:31.331Z] 0714d37db230: Pulling fs layer [2022-05-08T00:40:31.331Z] ac28cf19c067: Pulling fs layer [2022-05-08T00:40:31.331Z] ca983d60f3e2: Pulling fs layer [2022-05-08T00:40:31.331Z] 9f894cec8388: Pulling fs layer [2022-05-08T00:40:31.331Z] c427282e49a2: Waiting [2022-05-08T00:40:31.331Z] 1827001aaf11: Waiting [2022-05-08T00:40:31.331Z] 0714d37db230: Waiting [2022-05-08T00:40:31.331Z] ac28cf19c067: Waiting [2022-05-08T00:40:31.331Z] 5c2a1cbceb83: Waiting [2022-05-08T00:40:31.331Z] ca983d60f3e2: Waiting [2022-05-08T00:40:31.331Z] a8d5f1318db7: Waiting [2022-05-08T00:40:31.331Z] 9f894cec8388: Waiting [2022-05-08T00:40:31.331Z] caf521ccaac6: Verifying Checksum [2022-05-08T00:40:31.331Z] caf521ccaac6: Download complete [2022-05-08T00:40:31.331Z] 5c2a1cbceb83: Verifying Checksum [2022-05-08T00:40:31.331Z] 5c2a1cbceb83: Download complete [2022-05-08T00:40:31.593Z] a8d5f1318db7: Verifying Checksum [2022-05-08T00:40:31.593Z] a8d5f1318db7: Download complete [2022-05-08T00:40:31.593Z] c427282e49a2: Download complete [2022-05-08T00:40:31.593Z] 3ead6fa29328: Verifying Checksum [2022-05-08T00:40:31.593Z] 3ead6fa29328: Download complete [2022-05-08T00:40:31.593Z] 0714d37db230: Verifying Checksum [2022-05-08T00:40:31.593Z] 0714d37db230: Download complete [2022-05-08T00:40:31.593Z] ac28cf19c067: Download complete [2022-05-08T00:40:31.593Z] ca983d60f3e2: Verifying Checksum [2022-05-08T00:40:31.593Z] ca983d60f3e2: Download complete [2022-05-08T00:40:31.593Z] 9f894cec8388: Download complete [2022-05-08T00:40:31.593Z] 1fe172e4850f: Verifying Checksum [2022-05-08T00:40:31.593Z] 1fe172e4850f: Download complete [2022-05-08T00:40:32.166Z] 1827001aaf11: Verifying Checksum [2022-05-08T00:40:32.166Z] 1827001aaf11: Download complete [2022-05-08T00:40:33.107Z] 1fe172e4850f: Pull complete [2022-05-08T00:40:33.107Z] caf521ccaac6: Pull complete [2022-05-08T00:40:33.676Z] 3ead6fa29328: Pull complete [2022-05-08T00:40:33.676Z] 5c2a1cbceb83: Pull complete [2022-05-08T00:40:33.937Z] a8d5f1318db7: Pull complete [2022-05-08T00:40:34.198Z] c427282e49a2: Pull complete [2022-05-08T00:40:36.112Z] 1827001aaf11: Pull complete [2022-05-08T00:40:36.112Z] 0714d37db230: Pull complete [2022-05-08T00:40:36.112Z] ac28cf19c067: Pull complete [2022-05-08T00:40:36.112Z] ca983d60f3e2: Pull complete [2022-05-08T00:40:36.375Z] 9f894cec8388: Pull complete [2022-05-08T00:40:36.375Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-08T00:40:36.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T00:40:36.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-08T00:40:36.469Z] prd-ubuntu20.04-docker-8c-8g-41429 does not seem to be running inside a container [2022-05-08T00:40:36.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-08T00:40:37.727Z] $ docker top 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 -eo pid,comm [2022-05-08T00:40:37.786Z] 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-05-08T00:40:37.787Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-08T00:40:37.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T00:40:37.909Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T00:40:38.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T00:40:38.051Z] $ docker exec 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 ssh-agent [2022-05-08T00:40:38.153Z] SSH_AUTH_SOCK=/tmp/ssh-WQkDumKMpbeX/agent.35 [2022-05-08T00:40:38.153Z] SSH_AGENT_PID=41 [2022-05-08T00:40:38.161Z] Running ssh-add (command line suppressed) [2022-05-08T00:40:38.292Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_2063379496994320247.key (/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_2063379496994320247.key) [2022-05-08T00:40:38.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T00:40:38.642Z] + git tag --points-at HEAD [Pipeline] } [2022-05-08T00:40:38.675Z] $ docker exec --env ******** --env ******** 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 ssh-agent -k [2022-05-08T00:40:38.793Z] unset SSH_AUTH_SOCK; [2022-05-08T00:40:38.793Z] unset SSH_AGENT_PID; [2022-05-08T00:40:38.793Z] echo Agent pid 41 killed; [2022-05-08T00:40:38.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-08T00:40:38.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T00:40:38.892Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T00:40:39.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T00:40:39.031Z] $ docker exec 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 ssh-agent [2022-05-08T00:40:39.145Z] SSH_AUTH_SOCK=/tmp/ssh-vbe5X5iLwpSW/agent.74 [2022-05-08T00:40:39.145Z] SSH_AGENT_PID=80 [2022-05-08T00:40:39.151Z] Running ssh-add (command line suppressed) [2022-05-08T00:40:39.281Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_5840448333400205159.key (/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_5840448333400205159.key) [2022-05-08T00:40:39.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T00:40:39.626Z] + git semver init [2022-05-08T00:40:39.889Z] 2022-05-08 00:40:39,825 [run_init] DEBUG init version:0.0.0 force:False [2022-05-08T00:40:39.889Z] 2022-05-08 00:40:39,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver [2022-05-08T00:40:39.889Z] 2022-05-08 00:40:39,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-185/.semver [2022-05-08T00:40:39.889Z] 2022-05-08 00:40:39,827 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185, universal_newlines=False, shell=None, istream=None) [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,795 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-185/.git/info/exclude [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,796 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 with force:False [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,796 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,800 [execute] INFO git cat-file --batch-check [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,805 [execute] INFO git cat-file --batch [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T00:40:40.841Z] 2022-05-08 00:40:40,810 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 [2022-05-08T00:40:40.841Z] 0.0.0 [Pipeline] } [2022-05-08T00:40:40.873Z] $ docker exec --env ******** --env ******** 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 ssh-agent -k [2022-05-08T00:40:40.974Z] unset SSH_AUTH_SOCK; [2022-05-08T00:40:40.975Z] unset SSH_AGENT_PID; [2022-05-08T00:40:40.975Z] echo Agent pid 80 killed; [2022-05-08T00:40:40.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-08T00:40:41.396Z] + git semver [Pipeline] } [2022-05-08T00:40:41.690Z] $ docker stop --time=1 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 [2022-05-08T00:40:42.990Z] $ docker rm -f 38a2e80272c884dfefe94db95b4e8ba2ab6b1c8378a08dc6ecae234c4011f7e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T00:40:43.407Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-08T00:40:43.722Z] Stashed 1 file(s) [Pipeline] echo [2022-05-08T00:40:43.741Z] [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-05-08T00:40:44.315Z] provisioning config files... [2022-05-08T00:40:44.326Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config2938593641453748762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:40:44.672Z] ---> docker-login.sh [2022-05-08T00:40:44.672Z] nexus3.edgexfoundry.org:10001 [2022-05-08T00:40:44.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:44.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:44.672Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:44.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:44.672Z] [2022-05-08T00:40:44.672Z] Login Succeeded [2022-05-08T00:40:44.672Z] nexus3.edgexfoundry.org:10002 [2022-05-08T00:40:44.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:44.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:44.933Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:44.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:44.933Z] [2022-05-08T00:40:44.933Z] Login Succeeded [2022-05-08T00:40:44.933Z] nexus3.edgexfoundry.org:10003 [2022-05-08T00:40:44.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:44.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:44.933Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:44.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:44.933Z] [2022-05-08T00:40:44.933Z] Login Succeeded [2022-05-08T00:40:44.933Z] nexus3.edgexfoundry.org:10004 [2022-05-08T00:40:44.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:45.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:45.194Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:45.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:45.194Z] [2022-05-08T00:40:45.194Z] Login Succeeded [2022-05-08T00:40:45.194Z] docker.io [2022-05-08T00:40:45.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:40:45.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:40:45.458Z] Configure a credential helper to remove this warning. See [2022-05-08T00:40:45.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:40:45.458Z] [2022-05-08T00:40:45.458Z] Login Succeeded [2022-05-08T00:40:45.458Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T00:40:45.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T00:40:45.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T00:40:45.687Z] ========================================================= [2022-05-08T00:40:45.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-08T00:40:45.687Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:40:46.073Z] + 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-05-08T00:40:46.073Z] Sending build context to Docker daemon 10.62MB [2022-05-08T00:40:46.073Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T00:40:46.073Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-08T00:40:46.073Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-08T00:40:46.073Z] 59bf1c3509f3: Pulling fs layer [2022-05-08T00:40:46.073Z] 666ba61612fd: Pulling fs layer [2022-05-08T00:40:46.073Z] 8ed8ca486205: Pulling fs layer [2022-05-08T00:40:46.073Z] 4fe6c5a15a65: Pulling fs layer [2022-05-08T00:40:46.073Z] 22a0e8bec74d: Pulling fs layer [2022-05-08T00:40:46.073Z] ca2b28591e48: Pulling fs layer [2022-05-08T00:40:46.073Z] a51346096db8: Pulling fs layer [2022-05-08T00:40:46.073Z] daebc70d1ce1: Pulling fs layer [2022-05-08T00:40:46.073Z] 0e18a0eac166: Pulling fs layer [2022-05-08T00:40:46.073Z] 4fe6c5a15a65: Waiting [2022-05-08T00:40:46.073Z] 22a0e8bec74d: Waiting [2022-05-08T00:40:46.073Z] a51346096db8: Waiting [2022-05-08T00:40:46.073Z] ca2b28591e48: Waiting [2022-05-08T00:40:46.073Z] 0e18a0eac166: Waiting [2022-05-08T00:40:46.073Z] daebc70d1ce1: Waiting [2022-05-08T00:40:46.073Z] 8ed8ca486205: Verifying Checksum [2022-05-08T00:40:46.073Z] 8ed8ca486205: Download complete [2022-05-08T00:40:46.073Z] 666ba61612fd: Download complete [2022-05-08T00:40:46.337Z] 22a0e8bec74d: Download complete [2022-05-08T00:40:46.337Z] ca2b28591e48: Download complete [2022-05-08T00:40:46.337Z] a51346096db8: Verifying Checksum [2022-05-08T00:40:46.337Z] a51346096db8: Download complete [2022-05-08T00:40:46.337Z] 59bf1c3509f3: Verifying Checksum [2022-05-08T00:40:46.337Z] daebc70d1ce1: Verifying Checksum [2022-05-08T00:40:46.337Z] daebc70d1ce1: Download complete [2022-05-08T00:40:46.337Z] 59bf1c3509f3: Pull complete [2022-05-08T00:40:46.596Z] 666ba61612fd: Pull complete [2022-05-08T00:40:46.596Z] 8ed8ca486205: Pull complete [2022-05-08T00:40:46.854Z] 0e18a0eac166: Verifying Checksum [2022-05-08T00:40:46.854Z] 0e18a0eac166: Download complete [2022-05-08T00:40:46.854Z] 4fe6c5a15a65: Verifying Checksum [2022-05-08T00:40:46.854Z] 4fe6c5a15a65: Download complete [2022-05-08T00:40:51.049Z] 4fe6c5a15a65: Pull complete [2022-05-08T00:40:51.049Z] 22a0e8bec74d: Pull complete [2022-05-08T00:40:51.049Z] ca2b28591e48: Pull complete [2022-05-08T00:40:51.049Z] a51346096db8: Pull complete [2022-05-08T00:40:51.049Z] daebc70d1ce1: Pull complete [2022-05-08T00:40:52.958Z] 0e18a0eac166: Pull complete [2022-05-08T00:40:52.958Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-08T00:40:52.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-08T00:40:52.958Z] ---> f018257e8ee9 [2022-05-08T00:40:52.958Z] Step 3/12 : ARG MAKE='make build' [2022-05-08T00:40:54.344Z] ---> Running in 9c45d7f53e25 [2022-05-08T00:40:54.344Z] Removing intermediate container 9c45d7f53e25 [2022-05-08T00:40:54.344Z] ---> 6f5bf83adf3e [2022-05-08T00:40:54.344Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T00:40:54.344Z] ---> Running in 7f436848b223 [2022-05-08T00:40:54.344Z] Removing intermediate container 7f436848b223 [2022-05-08T00:40:54.344Z] ---> dd4fc2bfcf27 [2022-05-08T00:40:54.344Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T00:40:54.344Z] ---> Running in 2b61c60217f0 [2022-05-08T00:40:54.344Z] Removing intermediate container 2b61c60217f0 [2022-05-08T00:40:54.344Z] ---> 44c444259f3d [2022-05-08T00:40:54.344Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T00:40:54.344Z] ---> Running in e0c98768af14 [2022-05-08T00:40:54.920Z] Removing intermediate container e0c98768af14 [2022-05-08T00:40:54.920Z] ---> 0f903f001032 [2022-05-08T00:40:54.920Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T00:40:54.920Z] ---> Running in 1de4373c36b5 [2022-05-08T00:40:55.182Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T00:40:56.128Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T00:40:56.392Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-08T00:40:56.392Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-08T00:40:56.657Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-08T00:40:56.657Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-08T00:40:56.657Z] Executing busybox-1.34.1-r3.trigger [2022-05-08T00:40:56.657Z] OK: 224 MiB in 56 packages [2022-05-08T00:40:57.235Z] Removing intermediate container 1de4373c36b5 [2022-05-08T00:40:57.235Z] ---> e1dce76f3c12 [2022-05-08T00:40:57.235Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-08T00:40:57.235Z] ---> Running in c325b47eb9b0 [2022-05-08T00:40:57.235Z] Removing intermediate container c325b47eb9b0 [2022-05-08T00:40:57.235Z] ---> 9b0100bc78b3 [2022-05-08T00:40:57.235Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-08T00:40:57.235Z] ---> 9a88bfa86b2e [2022-05-08T00:40:57.235Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T00:40:57.504Z] ---> Running in cc29ac77083a [2022-05-08T00:40:59.144Z] Still waiting to schedule task [2022-05-08T00:40:59.144Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-08T00:41:15.632Z] Removing intermediate container cc29ac77083a [2022-05-08T00:41:15.632Z] ---> 2b39815b24a5 [2022-05-08T00:41:15.632Z] Step 11/12 : COPY . . [2022-05-08T00:41:15.632Z] ---> ac09bbe61ece [2022-05-08T00:41:15.632Z] Step 12/12 : RUN $MAKE [2022-05-08T00:41:15.632Z] ---> Running in 00bae1c21dde [2022-05-08T00:41:15.893Z] noop [2022-05-08T00:41:16.156Z] Removing intermediate container 00bae1c21dde [2022-05-08T00:41:16.156Z] ---> e52b23b029b5 [2022-05-08T00:41:16.156Z] Successfully built e52b23b029b5 [2022-05-08T00:41:16.156Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:41:16.490Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T00:41:16.490Z] . [Pipeline] withDockerContainer [2022-05-08T00:41:16.588Z] prd-ubuntu20.04-docker-8c-8g-41429 does not seem to be running inside a container [2022-05-08T00:41:16.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@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 ******** ci-base-image-x86_64 cat [2022-05-08T00:41:17.032Z] $ docker top 3603d147f9d0e9abdcb5a641385c31fa0870f95abad35ecfd5886a175d9e5c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T00:41:17.438Z] + go version [2022-05-08T00:41:17.438Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-08T00:41:17.480Z] $ docker stop --time=1 3603d147f9d0e9abdcb5a641385c31fa0870f95abad35ecfd5886a175d9e5c0a [2022-05-08T00:41:18.769Z] $ docker rm -f 3603d147f9d0e9abdcb5a641385c31fa0870f95abad35ecfd5886a175d9e5c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:41:19.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T00:41:19.477Z] . [Pipeline] withDockerContainer [2022-05-08T00:41:19.585Z] prd-ubuntu20.04-docker-8c-8g-41429 does not seem to be running inside a container [2022-05-08T00:41:19.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@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 ******** ci-base-image-x86_64 cat [2022-05-08T00:41:20.029Z] $ docker top 52c5c5de1bffa6d8420a43387ca76c686ec3b13866572a4d164cd2dcab2e13d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T00:41:20.477Z] + make test [2022-05-08T00:41:20.477Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-08T00:41:20.736Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-08T00:41:30.723Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-08T00:41:30.723Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-08T00:41:37.298Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-08T00:41:40.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T00:41:40.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T00:41:40.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T00:41:40.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T00:41:40.913Z] $ docker stop --time=1 52c5c5de1bffa6d8420a43387ca76c686ec3b13866572a4d164cd2dcab2e13d4 [2022-05-08T00:41:42.551Z] $ docker rm -f 52c5c5de1bffa6d8420a43387ca76c686ec3b13866572a4d164cd2dcab2e13d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T00:41:43.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T00:41:43.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-08T00:41:43.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T00:41:44.082Z] + ls -al . [2022-05-08T00:41:44.082Z] total 172 [2022-05-08T00:41:44.082Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 00:41 . [2022-05-08T00:41:44.082Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:40 .. [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 00:40 .dockerignore [2022-05-08T00:41:44.082Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:40 .git [2022-05-08T00:41:44.082Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:40 .github [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 00:40 .gitignore [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:40 .golangci.yml [2022-05-08T00:41:44.082Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:40 .semver [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 8 00:40 Attribution.txt [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 9287 May 8 00:40 CHANGELOG.md [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 8 00:40 Dockerfile [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:40 GOVERNANCE.md [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 00:40 Jenkinsfile [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:40 LICENSE [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 8 00:40 Makefile [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:40 OWNERS.md [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 8 00:40 README.md [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:40 VERSION [2022-05-08T00:41:44.082Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:40 bin [2022-05-08T00:41:44.082Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:40 cmd [2022-05-08T00:41:44.082Z] -rw-r--r-- 1 jenkins jenkins 9355 May 8 00:41 coverage.out [2022-05-08T00:41:44.082Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:40 driver [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 8 00:40 go.mod [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 8 00:40 go.sum [2022-05-08T00:41:44.082Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:40 snap [2022-05-08T00:41:44.082Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 00:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:41:44.410Z] + 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=7cdae81832caa7ff51aa672536335ab33271aca3 --label arch=amd64 --label version=0.0.0 . [2022-05-08T00:41:44.410Z] Sending build context to Docker daemon 10.63MB [2022-05-08T00:41:44.410Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T00:41:44.410Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T00:41:44.410Z] ---> e52b23b029b5 [2022-05-08T00:41:44.410Z] Step 3/25 : ARG MAKE='make build' [2022-05-08T00:41:44.410Z] ---> Running in 81b6477c0b53 [2022-05-08T00:41:44.672Z] Removing intermediate container 81b6477c0b53 [2022-05-08T00:41:44.672Z] ---> ee7e9b1b3271 [2022-05-08T00:41:44.672Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T00:41:44.672Z] ---> Running in eda324dfd87c [2022-05-08T00:41:44.672Z] Removing intermediate container eda324dfd87c [2022-05-08T00:41:44.672Z] ---> f1467443c65c [2022-05-08T00:41:44.672Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T00:41:44.672Z] ---> Running in f597b03e7203 [2022-05-08T00:41:44.931Z] Removing intermediate container f597b03e7203 [2022-05-08T00:41:44.931Z] ---> b83511cd5a94 [2022-05-08T00:41:44.931Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T00:41:44.931Z] ---> Running in dd7f41af3ce0 [2022-05-08T00:41:45.502Z] Removing intermediate container dd7f41af3ce0 [2022-05-08T00:41:45.502Z] ---> 59d21a6f99cb [2022-05-08T00:41:45.502Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T00:41:45.502Z] ---> Running in 2f34d455c0f3 [2022-05-08T00:41:45.763Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T00:41:46.704Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T00:41:46.964Z] OK: 224 MiB in 56 packages [2022-05-08T00:41:47.225Z] Removing intermediate container 2f34d455c0f3 [2022-05-08T00:41:47.225Z] ---> d33fffca2039 [2022-05-08T00:41:47.225Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-08T00:41:47.225Z] ---> Running in c1df18843a55 [2022-05-08T00:41:47.225Z] Removing intermediate container c1df18843a55 [2022-05-08T00:41:47.225Z] ---> d4734d547054 [2022-05-08T00:41:47.225Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-08T00:41:47.486Z] ---> 059ad4455c2a [2022-05-08T00:41:47.486Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T00:41:47.486Z] ---> Running in 7c89bae9caa5 [2022-05-08T00:41:48.059Z] Removing intermediate container 7c89bae9caa5 [2022-05-08T00:41:48.059Z] ---> 9ad3bc96c8f4 [2022-05-08T00:41:48.059Z] Step 11/25 : COPY . . [2022-05-08T00:41:48.318Z] ---> 6f7452f510ae [2022-05-08T00:41:48.318Z] Step 12/25 : RUN $MAKE [2022-05-08T00:41:48.318Z] ---> Running in c4064f7f1909 [2022-05-08T00:41:48.578Z] 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-05-08T00:42:10.528Z] Removing intermediate container c4064f7f1909 [2022-05-08T00:42:10.528Z] ---> 8bf0e5263e66 [2022-05-08T00:42:10.528Z] Step 13/25 : FROM alpine:3.14 [2022-05-08T00:42:10.528Z] 3.14: Pulling from library/alpine [2022-05-08T00:42:10.528Z] 8663204ce13b: Pulling fs layer [2022-05-08T00:42:10.528Z] 8663204ce13b: Verifying Checksum [2022-05-08T00:42:10.528Z] 8663204ce13b: Download complete [2022-05-08T00:42:10.528Z] 8663204ce13b: Pull complete [2022-05-08T00:42:10.528Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T00:42:10.528Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T00:42:10.528Z] ---> e04c818066af [2022-05-08T00:42:10.528Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-08T00:42:10.528Z] ---> Running in 6220e55bbcbb [2022-05-08T00:42:10.528Z] Removing intermediate container 6220e55bbcbb [2022-05-08T00:42:10.528Z] ---> a538ebb02655 [2022-05-08T00:42:10.528Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-08T00:42:10.528Z] ---> Running in 0321e1e7c340 [2022-05-08T00:42:10.528Z] Removing intermediate container 0321e1e7c340 [2022-05-08T00:42:10.528Z] ---> 819eb1fdb512 [2022-05-08T00:42:10.528Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-08T00:42:10.528Z] ---> Running in 7d33b1fc1f55 [2022-05-08T00:42:10.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-08T00:42:10.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-08T00:42:10.528Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-08T00:42:10.528Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T00:42:10.528Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-08T00:42:10.528Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T00:42:10.528Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-08T00:42:10.528Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-08T00:42:10.528Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T00:42:10.528Z] OK: 8 MiB in 20 packages [2022-05-08T00:42:10.528Z] Removing intermediate container 7d33b1fc1f55 [2022-05-08T00:42:10.528Z] ---> 1563497e6b66 [2022-05-08T00:42:10.528Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-08T00:42:10.528Z] ---> 0cc4ed590a4e [2022-05-08T00:42:10.528Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-08T00:42:10.790Z] ---> 2a131d57b85c [2022-05-08T00:42:10.790Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-08T00:42:10.790Z] ---> 1dd977121103 [2022-05-08T00:42:10.790Z] Step 20/25 : EXPOSE 59986 [2022-05-08T00:42:11.050Z] ---> Running in 26fcd2f47fbb [2022-05-08T00:42:11.050Z] Removing intermediate container 26fcd2f47fbb [2022-05-08T00:42:11.050Z] ---> 6ea337bf91f5 [2022-05-08T00:42:11.050Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-08T00:42:11.050Z] ---> Running in 2e682c5931dc [2022-05-08T00:42:11.050Z] Removing intermediate container 2e682c5931dc [2022-05-08T00:42:11.050Z] ---> 69f578795f64 [2022-05-08T00:42:11.050Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-08T00:42:11.050Z] ---> Running in 796a3f9a8267 [2022-05-08T00:42:11.313Z] Removing intermediate container 796a3f9a8267 [2022-05-08T00:42:11.313Z] ---> a38aaf62de02 [2022-05-08T00:42:11.313Z] Step 23/25 : LABEL arch=amd64 [2022-05-08T00:42:11.313Z] ---> Running in cc931a4f0a7c [2022-05-08T00:42:11.313Z] Removing intermediate container cc931a4f0a7c [2022-05-08T00:42:11.313Z] ---> 2fbc21250803 [2022-05-08T00:42:11.313Z] Step 24/25 : LABEL git_sha=7cdae81832caa7ff51aa672536335ab33271aca3 [2022-05-08T00:42:11.313Z] ---> Running in bdd6e8d9176f [2022-05-08T00:42:11.313Z] Removing intermediate container bdd6e8d9176f [2022-05-08T00:42:11.313Z] ---> 90434cb214fe [2022-05-08T00:42:11.313Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T00:42:11.573Z] ---> Running in d7be167f71d5 [2022-05-08T00:42:11.573Z] Removing intermediate container d7be167f71d5 [2022-05-08T00:42:11.573Z] ---> 52f7d0c35232 [2022-05-08T00:42:11.573Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T00:42:11.573Z] Successfully built 52f7d0c35232 [2022-05-08T00:42:11.573Z] Successfully tagged device-rest:latest [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] sh [2022-05-08T00:42:12.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T00:42:12.518Z] [2022-05-08T00:42:12.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:42:12.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T00:42:12.860Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-08T00:42:12.860Z] 5eb5b503b376: Pulling fs layer [2022-05-08T00:42:12.860Z] 5c69ac0246d0: Pulling fs layer [2022-05-08T00:42:12.860Z] ec43610c2a17: Pulling fs layer [2022-05-08T00:42:12.860Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-08T00:42:12.860Z] 33b1e0a273af: Pulling fs layer [2022-05-08T00:42:12.860Z] 5d3b04190fa2: Pulling fs layer [2022-05-08T00:42:12.860Z] 2f39f015ded8: Pulling fs layer [2022-05-08T00:42:12.860Z] 3a2ae6a8a46f: Waiting [2022-05-08T00:42:12.860Z] 33b1e0a273af: Waiting [2022-05-08T00:42:12.860Z] 2f39f015ded8: Waiting [2022-05-08T00:42:12.860Z] 5d3b04190fa2: Waiting [2022-05-08T00:42:12.860Z] 5c69ac0246d0: Download complete [2022-05-08T00:42:12.860Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-08T00:42:12.860Z] 3a2ae6a8a46f: Download complete [2022-05-08T00:42:12.860Z] 33b1e0a273af: Verifying Checksum [2022-05-08T00:42:12.860Z] 33b1e0a273af: Download complete [2022-05-08T00:42:12.860Z] 5d3b04190fa2: Verifying Checksum [2022-05-08T00:42:12.860Z] 5d3b04190fa2: Download complete [2022-05-08T00:42:12.860Z] ec43610c2a17: Verifying Checksum [2022-05-08T00:42:12.860Z] ec43610c2a17: Download complete [2022-05-08T00:42:13.119Z] 5eb5b503b376: Verifying Checksum [2022-05-08T00:42:13.119Z] 5eb5b503b376: Download complete [2022-05-08T00:42:13.689Z] 2f39f015ded8: Download complete [2022-05-08T00:42:14.257Z] 5eb5b503b376: Pull complete [2022-05-08T00:42:14.257Z] 5c69ac0246d0: Pull complete [2022-05-08T00:42:14.827Z] ec43610c2a17: Pull complete [2022-05-08T00:42:14.827Z] 3a2ae6a8a46f: Pull complete [2022-05-08T00:42:15.087Z] 33b1e0a273af: Pull complete [2022-05-08T00:42:15.087Z] 5d3b04190fa2: Pull complete [2022-05-08T00:42:20.369Z] 2f39f015ded8: Pull complete [2022-05-08T00:42:20.369Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-08T00:42:20.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T00:42:20.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-08T00:42:20.461Z] prd-ubuntu20.04-docker-8c-8g-41429 does not seem to be running inside a container [2022-05-08T00:42:20.500Z] $ 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-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-08T00:42:21.802Z] $ docker top c805839ab646e45593543f636979af3a12dc0685f0dc8090af953d55911ff136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:42:22.252Z] ---> job-cost.sh [2022-05-08T00:42:22.252Z] lf-activate-venv: SKIPPING [2022-05-08T00:42:22.252Z] INFO: No Stack... [2022-05-08T00:42:22.513Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T00:42:23.082Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T00:42:23.404Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-185/archives/cost.csv [2022-05-08T00:42:23.404Z] + cut -d, -f6 [Pipeline] lock [2022-05-08T00:42:23.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [2022-05-08T00:42:23.451Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] did not exist. Created. [2022-05-08T00:42:23.451Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T00:42:23.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-08T00:42:23.969Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T00:42:23.982Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T00:42:24.063Z] $ docker stop --time=1 c805839ab646e45593543f636979af3a12dc0685f0dc8090af953d55911ff136 [2022-05-08T00:42:25.220Z] $ docker rm -f c805839ab646e45593543f636979af3a12dc0685f0dc8090af953d55911ff136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-08T00:44:48.360Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41430 in /w/workspace/gexfoundry_device-rest-go_PR-185 [Pipeline] { [Pipeline] ws [2022-05-08T00:44:48.399Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-08T00:44:48.798Z] The recommended git tool is: git [2022-05-08T00:44:56.308Z] using credential edgex-jenkins-ssh [2022-05-08T00:44:56.329Z] Cloning the remote Git repository [2022-05-08T00:44:56.416Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T00:44:56.515Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-08T00:44:56.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T00:44:56.639Z] > git --version # timeout=10 [2022-05-08T00:44:56.663Z] > git --version # 'git version 2.25.1' [2022-05-08T00:44:56.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T00:44:56.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T00:44:59.717Z] Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 7cdae81832caa7ff51aa672536335ab33271aca3 [2022-05-08T00:44:59.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-08T00:44:59.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T00:44:59.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-08T00:44:59.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T00:44:59.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T00:44:59.139Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-08T00:44:59.751Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T00:44:59.786Z] > git checkout -f 7cdae81832caa7ff51aa672536335ab33271aca3 # timeout=10 [2022-05-08T00:44:59.913Z] > git remote # timeout=10 [2022-05-08T00:44:59.936Z] > git config --get remote.origin.url # timeout=10 [2022-05-08T00:45:00.030Z] Merge succeeded, producing 7cdae81832caa7ff51aa672536335ab33271aca3 [2022-05-08T00:45:00.031Z] Checking out Revision 7cdae81832caa7ff51aa672536335ab33271aca3 (PR-185) [2022-05-08T00:44:59.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T00:44:59.978Z] > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [2022-05-08T00:45:00.009Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-08T00:45:00.047Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T00:45:00.063Z] > git checkout -f 7cdae81832caa7ff51aa672536335ab33271aca3 # timeout=10 [2022-05-08T00:45:04.401Z] Commit message: "docs: update CHANGELOG for Kamakura" [2022-05-08T00:45:04.469Z] > git --version # timeout=10 [2022-05-08T00:45:04.479Z] > git --version # 'git version 2.25.1' [2022-05-08T00:45:04.492Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T00:45:05.602Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-08T00:45:05.602Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T00:45:05.602Z] Dload Upload Total Spent Left Speed [2022-05-08T00:45:05.602Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh [2022-05-08T00:45:06.140Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-08T00:45:06.499Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-08T00:45:06.499Z] + sudo tee /etc/docker/daemon.new [2022-05-08T00:45:06.499Z] { [2022-05-08T00:45:06.499Z] "registry-mirrors": [ [2022-05-08T00:45:06.499Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-08T00:45:06.499Z] ], [2022-05-08T00:45:06.499Z] "bip": "10.250.0.254/24", [2022-05-08T00:45:06.499Z] "hosts": [ [2022-05-08T00:45:06.499Z] "tcp://0.0.0.0:5555", [2022-05-08T00:45:06.499Z] "unix:///var/run/docker.sock" [2022-05-08T00:45:06.499Z] ], [2022-05-08T00:45:06.499Z] "mtu": 1458, [2022-05-08T00:45:06.499Z] "selinux-enabled": true, [2022-05-08T00:45:06.499Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-08T00:45:06.499Z] } [Pipeline] sh [2022-05-08T00:45:06.866Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-08T00:45:07.251Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T00:45:25.772Z] provisioning config files... [2022-05-08T00:45:25.803Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5457217289878275323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:45:26.428Z] ---> docker-login.sh [2022-05-08T00:45:26.428Z] nexus3.edgexfoundry.org:10001 [2022-05-08T00:45:27.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:45:27.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:45:27.308Z] Configure a credential helper to remove this warning. See [2022-05-08T00:45:27.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:45:27.308Z] [2022-05-08T00:45:27.308Z] Login Succeeded [2022-05-08T00:45:27.308Z] nexus3.edgexfoundry.org:10002 [2022-05-08T00:45:27.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:45:27.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:45:27.858Z] Configure a credential helper to remove this warning. See [2022-05-08T00:45:27.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:45:27.858Z] [2022-05-08T00:45:27.858Z] Login Succeeded [2022-05-08T00:45:27.858Z] nexus3.edgexfoundry.org:10003 [2022-05-08T00:45:28.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:45:28.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:45:28.417Z] Configure a credential helper to remove this warning. See [2022-05-08T00:45:28.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:45:28.417Z] [2022-05-08T00:45:28.417Z] Login Succeeded [2022-05-08T00:45:28.417Z] nexus3.edgexfoundry.org:10004 [2022-05-08T00:45:28.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:45:28.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:45:28.967Z] Configure a credential helper to remove this warning. See [2022-05-08T00:45:28.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:45:28.967Z] [2022-05-08T00:45:28.967Z] Login Succeeded [2022-05-08T00:45:28.967Z] docker.io [2022-05-08T00:45:29.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T00:45:29.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T00:45:29.869Z] Configure a credential helper to remove this warning. See [2022-05-08T00:45:29.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T00:45:29.869Z] [2022-05-08T00:45:29.869Z] Login Succeeded [2022-05-08T00:45:29.869Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T00:45:29.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T00:45:30.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T00:45:30.374Z] ========================================================= [2022-05-08T00:45:30.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-08T00:45:30.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:45:30.855Z] + 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-05-08T00:45:30.855Z] Sending build context to Docker daemon 126.5kB [2022-05-08T00:45:31.129Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T00:45:31.129Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-08T00:45:31.406Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-08T00:45:31.406Z] 9b3977197b4f: Pulling fs layer [2022-05-08T00:45:31.406Z] 1a89e8eeedd5: Pulling fs layer [2022-05-08T00:45:31.406Z] 94645a83ff95: Pulling fs layer [2022-05-08T00:45:31.406Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-08T00:45:31.406Z] 0c92f367c5e7: Pulling fs layer [2022-05-08T00:45:31.406Z] 3096ccb668a1: Pulling fs layer [2022-05-08T00:45:31.406Z] e8cf19c19ddd: Pulling fs layer [2022-05-08T00:45:31.406Z] a4caa8a26152: Pulling fs layer [2022-05-08T00:45:31.406Z] 0c92f367c5e7: Waiting [2022-05-08T00:45:31.406Z] 3096ccb668a1: Waiting [2022-05-08T00:45:31.406Z] 3f3a8bcf1eab: Waiting [2022-05-08T00:45:31.406Z] e8cf19c19ddd: Waiting [2022-05-08T00:45:31.406Z] a4caa8a26152: Waiting [2022-05-08T00:45:31.406Z] 94645a83ff95: Verifying Checksum [2022-05-08T00:45:31.406Z] 94645a83ff95: Download complete [2022-05-08T00:45:31.406Z] 1a89e8eeedd5: Verifying Checksum [2022-05-08T00:45:31.406Z] 1a89e8eeedd5: Download complete [2022-05-08T00:45:31.406Z] 0c92f367c5e7: Download complete [2022-05-08T00:45:31.406Z] 3096ccb668a1: Verifying Checksum [2022-05-08T00:45:31.406Z] 3096ccb668a1: Download complete [2022-05-08T00:45:31.406Z] 9b3977197b4f: Verifying Checksum [2022-05-08T00:45:31.406Z] e8cf19c19ddd: Verifying Checksum [2022-05-08T00:45:31.406Z] e8cf19c19ddd: Download complete [2022-05-08T00:45:32.396Z] 9b3977197b4f: Pull complete [2022-05-08T00:45:33.006Z] 1a89e8eeedd5: Pull complete [2022-05-08T00:45:33.282Z] 94645a83ff95: Pull complete [2022-05-08T00:45:33.574Z] a4caa8a26152: Verifying Checksum [2022-05-08T00:45:33.574Z] a4caa8a26152: Download complete [2022-05-08T00:45:34.174Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-08T00:45:34.174Z] 3f3a8bcf1eab: Download complete [2022-05-08T00:45:46.610Z] 3f3a8bcf1eab: Pull complete [2022-05-08T00:45:46.610Z] 0c92f367c5e7: Pull complete [2022-05-08T00:45:46.610Z] 3096ccb668a1: Pull complete [2022-05-08T00:45:46.610Z] e8cf19c19ddd: Pull complete [2022-05-08T00:45:53.366Z] a4caa8a26152: Pull complete [2022-05-08T00:45:53.366Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-08T00:45:53.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-08T00:45:53.366Z] ---> 725f1c02e7f9 [2022-05-08T00:45:53.366Z] Step 3/12 : ARG MAKE='make build' [2022-05-08T00:45:53.983Z] ---> Running in 22b25f39aa79 [2022-05-08T00:45:54.586Z] Removing intermediate container 22b25f39aa79 [2022-05-08T00:45:54.586Z] ---> ab02ce552f5d [2022-05-08T00:45:54.586Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T00:45:54.586Z] ---> Running in 9adec3057bed [2022-05-08T00:45:54.866Z] Removing intermediate container 9adec3057bed [2022-05-08T00:45:54.866Z] ---> b65c47244083 [2022-05-08T00:45:54.866Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T00:45:55.158Z] ---> Running in ca33bebd6705 [2022-05-08T00:45:56.610Z] Removing intermediate container ca33bebd6705 [2022-05-08T00:45:56.610Z] ---> 8138655e73ea [2022-05-08T00:45:56.610Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T00:45:56.610Z] ---> Running in 0237cbb5350a [2022-05-08T00:45:58.597Z] Removing intermediate container 0237cbb5350a [2022-05-08T00:45:58.597Z] ---> f8a1ce7a4948 [2022-05-08T00:45:58.597Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T00:45:58.597Z] ---> Running in 205c8d3d012d [2022-05-08T00:45:59.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T00:46:00.582Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T00:46:01.571Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-08T00:46:01.844Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-08T00:46:01.844Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-08T00:46:02.121Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-08T00:46:02.121Z] Executing busybox-1.34.1-r3.trigger [2022-05-08T00:46:02.121Z] OK: 224 MiB in 56 packages [2022-05-08T00:46:03.565Z] Removing intermediate container 205c8d3d012d [2022-05-08T00:46:03.565Z] ---> ab0c04e54b5b [2022-05-08T00:46:03.565Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-08T00:46:03.565Z] ---> Running in 911e74c6a432 [2022-05-08T00:46:03.844Z] Removing intermediate container 911e74c6a432 [2022-05-08T00:46:03.844Z] ---> ce3be4c904b2 [2022-05-08T00:46:03.844Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-08T00:46:04.444Z] ---> ad31717b4896 [2022-05-08T00:46:04.444Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T00:46:04.444Z] ---> Running in 09364b091b7e [2022-05-08T00:46:51.468Z] Removing intermediate container 09364b091b7e [2022-05-08T00:46:51.468Z] ---> b8250e8aaf9f [2022-05-08T00:46:51.468Z] Step 11/12 : COPY . . [2022-05-08T00:46:51.468Z] ---> e445dcc1b466 [2022-05-08T00:46:51.468Z] Step 12/12 : RUN $MAKE [2022-05-08T00:46:51.468Z] ---> Running in fb615236e2c4 [2022-05-08T00:46:51.739Z] noop [2022-05-08T00:46:52.724Z] Removing intermediate container fb615236e2c4 [2022-05-08T00:46:52.724Z] ---> d7c7d0b4934c [2022-05-08T00:46:52.724Z] Successfully built d7c7d0b4934c [2022-05-08T00:46:52.724Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:46:53.110Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T00:46:53.110Z] . [Pipeline] withDockerContainer [2022-05-08T00:46:53.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-41430 does not seem to be running inside a container [2022-05-08T00:46:53.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-08T00:46:54.663Z] $ docker top 3cc1914df2e0962b458445fbd4219a392c537c32d385c66b9b3485e8bc878099 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T00:46:55.612Z] + go version [2022-05-08T00:46:55.612Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-08T00:46:55.661Z] $ docker stop --time=1 3cc1914df2e0962b458445fbd4219a392c537c32d385c66b9b3485e8bc878099 [2022-05-08T00:46:57.279Z] $ docker rm -f 3cc1914df2e0962b458445fbd4219a392c537c32d385c66b9b3485e8bc878099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:46:58.115Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T00:46:58.116Z] . [Pipeline] withDockerContainer [2022-05-08T00:46:58.360Z] prd-ubuntu20.04-docker-arm64-4c-16g-41430 does not seem to be running inside a container [2022-05-08T00:46:58.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-08T00:46:59.797Z] $ docker top ed33fc7a846d4dc6876467c61ef7c819f5367f8674df7e36fb2b7be49830f6d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T00:47:00.789Z] + make test [2022-05-08T00:47:00.789Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-08T00:47:02.786Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-08T00:48:39.721Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-08T00:48:39.721Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-05-08T00:48:39.721Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-08T00:48:39.721Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-08T00:49:06.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T00:49:06.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T00:49:06.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T00:49:06.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T00:49:06.666Z] $ docker stop --time=1 ed33fc7a846d4dc6876467c61ef7c819f5367f8674df7e36fb2b7be49830f6d6 [2022-05-08T00:49:08.462Z] $ docker rm -f ed33fc7a846d4dc6876467c61ef7c819f5367f8674df7e36fb2b7be49830f6d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T00:49:09.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T00:49:09.478Z] Warning: overwriting stash ‘coverage-report’ [2022-05-08T00:49:09.934Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T00:49:10.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T00:49:10.877Z] + ls -al . [2022-05-08T00:49:10.877Z] total 168 [2022-05-08T00:49:10.877Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:49 . [2022-05-08T00:49:10.877Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:44 .. [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 00:44 .dockerignore [2022-05-08T00:49:10.877Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:45 .git [2022-05-08T00:49:10.877Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:44 .github [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 00:44 .gitignore [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:44 .golangci.yml [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 8 00:44 Attribution.txt [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 9287 May 8 00:44 CHANGELOG.md [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 8 00:44 Dockerfile [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:44 GOVERNANCE.md [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 00:44 Jenkinsfile [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:44 LICENSE [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 8 00:44 Makefile [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:44 OWNERS.md [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 8 00:44 README.md [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:40 VERSION [2022-05-08T00:49:10.877Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:44 bin [2022-05-08T00:49:10.877Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:44 cmd [2022-05-08T00:49:10.877Z] -rw-r--r-- 1 jenkins jenkins 9355 May 8 00:48 coverage.out [2022-05-08T00:49:10.877Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:44 driver [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 8 00:44 go.mod [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 8 00:44 go.sum [2022-05-08T00:49:10.877Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:44 snap [2022-05-08T00:49:10.877Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 00:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:49:11.251Z] + 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=7cdae81832caa7ff51aa672536335ab33271aca3 --label arch=arm64 --label version=0.0.0 . [2022-05-08T00:49:11.251Z] Sending build context to Docker daemon 136.7kB [2022-05-08T00:49:11.532Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T00:49:11.532Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T00:49:11.532Z] ---> d7c7d0b4934c [2022-05-08T00:49:11.532Z] Step 3/25 : ARG MAKE='make build' [2022-05-08T00:49:11.532Z] ---> Running in f5d7ec04ee3d [2022-05-08T00:49:11.813Z] Removing intermediate container f5d7ec04ee3d [2022-05-08T00:49:11.813Z] ---> fe5f9cf23a93 [2022-05-08T00:49:11.813Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T00:49:12.085Z] ---> Running in e007bba13d32 [2022-05-08T00:49:12.359Z] Removing intermediate container e007bba13d32 [2022-05-08T00:49:12.359Z] ---> abc11d9af6d2 [2022-05-08T00:49:12.359Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T00:49:12.359Z] ---> Running in c386c3e7ffd5 [2022-05-08T00:49:12.632Z] Removing intermediate container c386c3e7ffd5 [2022-05-08T00:49:12.632Z] ---> 3d0645d2a046 [2022-05-08T00:49:12.632Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T00:49:12.632Z] ---> Running in 7e0c7d91143c [2022-05-08T00:49:14.622Z] Removing intermediate container 7e0c7d91143c [2022-05-08T00:49:14.622Z] ---> c33d9c7fcf81 [2022-05-08T00:49:14.622Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T00:49:14.622Z] ---> Running in 9de6fde827fc [2022-05-08T00:49:15.218Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T00:49:16.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T00:49:17.195Z] OK: 224 MiB in 56 packages [2022-05-08T00:49:18.180Z] Removing intermediate container 9de6fde827fc [2022-05-08T00:49:18.180Z] ---> 11e033ba30d7 [2022-05-08T00:49:18.180Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-08T00:49:18.180Z] ---> Running in db77467b2b8f [2022-05-08T00:49:18.455Z] Removing intermediate container db77467b2b8f [2022-05-08T00:49:18.455Z] ---> 416ab77bdc58 [2022-05-08T00:49:18.455Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-08T00:49:19.064Z] ---> d71aa8d52d42 [2022-05-08T00:49:19.064Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T00:49:19.064Z] ---> Running in b1c1e04d56fe [2022-05-08T00:49:21.056Z] Removing intermediate container b1c1e04d56fe [2022-05-08T00:49:21.056Z] ---> 5583f826f88f [2022-05-08T00:49:21.056Z] Step 11/25 : COPY . . [2022-05-08T00:49:21.653Z] ---> f1739753e453 [2022-05-08T00:49:21.653Z] Step 12/25 : RUN $MAKE [2022-05-08T00:49:21.653Z] ---> Running in 896a78d9fb60 [2022-05-08T00:49:22.634Z] 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-05-08T00:51:44.592Z] Removing intermediate container 896a78d9fb60 [2022-05-08T00:51:44.592Z] ---> 434ba2ac959e [2022-05-08T00:51:44.592Z] Step 13/25 : FROM alpine:3.14 [2022-05-08T00:51:44.592Z] 3.14: Pulling from library/alpine [2022-05-08T00:51:44.592Z] 455c02918c45: Pulling fs layer [2022-05-08T00:51:44.592Z] 455c02918c45: Download complete [2022-05-08T00:51:44.592Z] 455c02918c45: Pull complete [2022-05-08T00:51:44.592Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T00:51:44.592Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T00:51:44.592Z] ---> ac73e934f311 [2022-05-08T00:51:44.592Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-08T00:51:44.592Z] ---> Running in f466e0d2d1f6 [2022-05-08T00:51:44.592Z] Removing intermediate container f466e0d2d1f6 [2022-05-08T00:51:44.592Z] ---> d6d32939c01f [2022-05-08T00:51:44.592Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-08T00:51:44.592Z] ---> Running in 2148bb3e1f0e [2022-05-08T00:51:44.592Z] Removing intermediate container 2148bb3e1f0e [2022-05-08T00:51:44.592Z] ---> 2cbd9d59af05 [2022-05-08T00:51:44.592Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-08T00:51:44.592Z] ---> Running in 83a7f05f1b8b [2022-05-08T00:51:44.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-08T00:51:44.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-08T00:51:44.592Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-08T00:51:44.592Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T00:51:44.592Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-08T00:51:44.592Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T00:51:44.592Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-08T00:51:44.592Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-08T00:51:44.592Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T00:51:44.592Z] OK: 8 MiB in 20 packages [2022-05-08T00:51:44.592Z] Removing intermediate container 83a7f05f1b8b [2022-05-08T00:51:44.592Z] ---> 865593dce88c [2022-05-08T00:51:44.592Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-08T00:51:44.592Z] ---> 604d43eb6055 [2022-05-08T00:51:44.592Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-08T00:51:44.592Z] ---> e22823eecf50 [2022-05-08T00:51:44.592Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-08T00:51:44.592Z] ---> a1f143a76a89 [2022-05-08T00:51:44.592Z] Step 20/25 : EXPOSE 59986 [2022-05-08T00:51:44.592Z] ---> Running in 5abdd5079ef3 [2022-05-08T00:51:44.878Z] Removing intermediate container 5abdd5079ef3 [2022-05-08T00:51:44.878Z] ---> b775ee0f026d [2022-05-08T00:51:44.878Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-08T00:51:45.165Z] ---> Running in 4bbddd7d2ece [2022-05-08T00:51:45.439Z] Removing intermediate container 4bbddd7d2ece [2022-05-08T00:51:45.439Z] ---> 449751db23ea [2022-05-08T00:51:45.439Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-08T00:51:45.439Z] ---> Running in 625ba6a789f0 [2022-05-08T00:51:45.714Z] Removing intermediate container 625ba6a789f0 [2022-05-08T00:51:45.714Z] ---> 37dd5dd8b2a5 [2022-05-08T00:51:45.714Z] Step 23/25 : LABEL arch=arm64 [2022-05-08T00:51:45.714Z] ---> Running in 2cda47bbcb67 [2022-05-08T00:51:46.314Z] Removing intermediate container 2cda47bbcb67 [2022-05-08T00:51:46.314Z] ---> 9fc92b18cb04 [2022-05-08T00:51:46.314Z] Step 24/25 : LABEL git_sha=7cdae81832caa7ff51aa672536335ab33271aca3 [2022-05-08T00:51:46.314Z] ---> Running in 4aea737c6973 [2022-05-08T00:51:46.589Z] Removing intermediate container 4aea737c6973 [2022-05-08T00:51:46.589Z] ---> be5e534203a5 [2022-05-08T00:51:46.589Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T00:51:46.589Z] ---> Running in 1d4b180ab2b5 [2022-05-08T00:51:46.864Z] Removing intermediate container 1d4b180ab2b5 [2022-05-08T00:51:46.864Z] ---> 4f4570a7b568 [2022-05-08T00:51:46.864Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T00:51:46.864Z] Successfully built 4f4570a7b568 [2022-05-08T00:51:46.864Z] Successfully tagged device-rest-arm64:latest [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] sh [2022-05-08T00:51:47.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T00:51:47.583Z] [2022-05-08T00:51:47.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:51:47.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T00:51:48.259Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-08T00:51:48.259Z] 8998bd30e6a1: Pulling fs layer [2022-05-08T00:51:48.259Z] 04944245beec: Pulling fs layer [2022-05-08T00:51:48.259Z] 699f458cf7ca: Pulling fs layer [2022-05-08T00:51:48.259Z] 765212b225bb: Pulling fs layer [2022-05-08T00:51:48.259Z] f23df028b6ca: Pulling fs layer [2022-05-08T00:51:48.259Z] d65c8cfc05b1: Pulling fs layer [2022-05-08T00:51:48.259Z] 2437ff75d9bd: Pulling fs layer [2022-05-08T00:51:48.259Z] 765212b225bb: Waiting [2022-05-08T00:51:48.259Z] f23df028b6ca: Waiting [2022-05-08T00:51:48.259Z] d65c8cfc05b1: Waiting [2022-05-08T00:51:48.259Z] 2437ff75d9bd: Waiting [2022-05-08T00:51:48.259Z] 04944245beec: Verifying Checksum [2022-05-08T00:51:48.259Z] 04944245beec: Download complete [2022-05-08T00:51:48.259Z] 765212b225bb: Download complete [2022-05-08T00:51:48.259Z] f23df028b6ca: Download complete [2022-05-08T00:51:48.259Z] d65c8cfc05b1: Verifying Checksum [2022-05-08T00:51:48.259Z] d65c8cfc05b1: Download complete [2022-05-08T00:51:48.542Z] 699f458cf7ca: Verifying Checksum [2022-05-08T00:51:48.816Z] 8998bd30e6a1: Verifying Checksum [2022-05-08T00:51:48.816Z] 8998bd30e6a1: Download complete [2022-05-08T00:51:51.453Z] 2437ff75d9bd: Verifying Checksum [2022-05-08T00:51:51.453Z] 2437ff75d9bd: Download complete [2022-05-08T00:51:53.438Z] 8998bd30e6a1: Pull complete [2022-05-08T00:51:53.714Z] 04944245beec: Pull complete [2022-05-08T00:51:55.165Z] 699f458cf7ca: Pull complete [2022-05-08T00:51:55.771Z] 765212b225bb: Pull complete [2022-05-08T00:51:56.763Z] f23df028b6ca: Pull complete [2022-05-08T00:51:56.763Z] d65c8cfc05b1: Pull complete [2022-05-08T00:52:15.114Z] 2437ff75d9bd: Pull complete [2022-05-08T00:52:15.114Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-08T00:52:15.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T00:52:15.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-08T00:52:15.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-41430 does not seem to be running inside a container [2022-05-08T00:52:15.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-08T00:52:18.419Z] $ docker top c3198d4c0d7c30abd646cf65c6b406ca8b014f430a01d45b2d9422084d9d0a5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:19.418Z] ---> job-cost.sh [2022-05-08T00:52:19.418Z] lf-activate-venv: SKIPPING [2022-05-08T00:52:19.418Z] INFO: No Stack... [2022-05-08T00:52:19.692Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-08T00:52:20.667Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T00:52:21.346Z] + cut -d, -f6 [2022-05-08T00:52:21.346Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-05-08T00:52:21.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [2022-05-08T00:52:21.432Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] did not exist. Created. [2022-05-08T00:52:21.432Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T00:52:22.180Z] /w/workspace/device-rest-go/1@tmp/durable-5ed67c5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-08T00:52:22.883Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-08T00:52:22.918Z] Warning: overwriting stash ‘stack-cost’ [2022-05-08T00:52:22.966Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T00:52:22.982Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T00:52:23.078Z] $ docker stop --time=1 c3198d4c0d7c30abd646cf65c6b406ca8b014f430a01d45b2d9422084d9d0a5c [2022-05-08T00:52:24.587Z] $ docker rm -f c3198d4c0d7c30abd646cf65c6b406ca8b014f430a01d45b2d9422084d9d0a5c [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-05-08T00:52:25.574Z] provisioning config files... [2022-05-08T00:52:25.590Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config9145443581191174332tmp [Pipeline] { [Pipeline] sh [2022-05-08T00:52:25.911Z] + set +x [2022-05-08T00:52:25.911Z] + curl -s https://codecov.io/bash [2022-05-08T00:52:25.911Z] + bash -s -- [2022-05-08T00:52:25.911Z] [2022-05-08T00:52:25.911Z] _____ _ [2022-05-08T00:52:25.911Z] / ____| | | [2022-05-08T00:52:25.911Z] | | ___ __| | ___ ___ _____ __ [2022-05-08T00:52:25.911Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-08T00:52:25.911Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-08T00:52:25.911Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-08T00:52:25.911Z] Bash-1.0.6 [2022-05-08T00:52:25.911Z] [2022-05-08T00:52:25.911Z] [2022-05-08T00:52:25.911Z] ==> git version 2.25.1 found [2022-05-08T00:52:25.911Z] ==> 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-05-08T00:52:25.911Z] Release-Date: 2020-01-08 [2022-05-08T00:52:25.911Z] 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-05-08T00:52:25.911Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-08T00:52:25.911Z] ==> Jenkins CI detected. [2022-05-08T00:52:25.911Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-185 [2022-05-08T00:52:25.911Z] project root: . [2022-05-08T00:52:25.911Z] --> token set from env [2022-05-08T00:52:25.911Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-08T00:52:25.911Z] ==> Running gcov in . (disable via -X gcov) [2022-05-08T00:52:25.911Z] ==> Python coveragepy not found [2022-05-08T00:52:25.911Z] ==> Searching for coverage reports in: [2022-05-08T00:52:25.911Z] + . [2022-05-08T00:52:25.911Z] -> Found 1 reports [2022-05-08T00:52:25.911Z] ==> Detecting git/mercurial file structure [2022-05-08T00:52:25.911Z] ==> Reading reports [2022-05-08T00:52:25.911Z] + ./coverage.out bytes=9355 [2022-05-08T00:52:25.911Z] ==> Appending adjustments [2022-05-08T00:52:25.911Z] https://docs.codecov.io/docs/fixing-reports [2022-05-08T00:52:26.171Z] + Found adjustments [2022-05-08T00:52:26.171Z] ==> Gzipping contents [2022-05-08T00:52:26.171Z] 4.0K /tmp/codecov.wZjIds.gz [2022-05-08T00:52:26.171Z] ==> Uploading reports [2022-05-08T00:52:26.171Z] url: https://codecov.io [2022-05-08T00:52:26.171Z] query: branch=PR-185&commit=7cdae81832caa7ff51aa672536335ab33271aca3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-05-08T00:52:26.171Z] -> Pinging Codecov [2022-05-08T00:52:26.171Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-185&commit=7cdae81832caa7ff51aa672536335ab33271aca3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-05-08T00:52:26.430Z] -> Uploading to [2022-05-08T00:52:26.430Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-08/4E5D53B4F1F92C436F7061BF334D961C/7cdae81832caa7ff51aa672536335ab33271aca3/c471a297-8e2e-4905-a693-569f636f9c17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T005226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=126d1d60c77cbc40e9b944760e02ef02903cead16f2c0b96e5f54b6ee71c7195 [2022-05-08T00:52:26.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T00:52:26.430Z] Dload Upload Total Spent Left Speed [2022-05-08T00:52:26.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 6567 --:--:-- --:--:-- --:--:-- 6567 [2022-05-08T00:52:26.691Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7cdae81832caa7ff51aa672536335ab33271aca3 [Pipeline] } [2022-05-08T00:52:26.720Z] 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-05-08T00:52:28.468Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-185/archives ] [2022-05-08T00:52:28.469Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T00:52:28.469Z] total 16 [2022-05-08T00:52:28.469Z] drwxr-xr-x 3 root root 4096 May 8 00:42 . [2022-05-08T00:52:28.469Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 00:42 .. [2022-05-08T00:52:28.469Z] drwxr-xr-x 2 root root 4096 May 8 00:42 cost [2022-05-08T00:52:28.469Z] -rw-r--r-- 1 root root 85 May 8 00:42 cost.csv [2022-05-08T00:52:28.469Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T00:52:28.469Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T00:52:28.469Z] total 16 [2022-05-08T00:52:28.469Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:42 . [2022-05-08T00:52:28.469Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 00:42 .. [2022-05-08T00:52:28.469Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 00:42 cost [2022-05-08T00:52:28.469Z] -rw-r--r-- 1 jenkins jenkins 85 May 8 00:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:28.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:29.695Z] ---> package-listing.sh [2022-05-08T00:52:29.695Z] ++ facter osfamily [2022-05-08T00:52:29.695Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-08T00:52:29.955Z] + OS_FAMILY=debian [2022-05-08T00:52:29.955Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-185 [2022-05-08T00:52:29.955Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-08T00:52:29.955Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-08T00:52:29.955Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-08T00:52:29.955Z] + PACKAGES=/tmp/packages_start.txt [2022-05-08T00:52:29.955Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-185 ']' [2022-05-08T00:52:29.955Z] + PACKAGES=/tmp/packages_end.txt [2022-05-08T00:52:29.955Z] + case "${OS_FAMILY}" in [2022-05-08T00:52:29.955Z] + dpkg -l [2022-05-08T00:52:29.955Z] + grep '^ii' [2022-05-08T00:52:29.955Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-08T00:52:29.955Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-08T00:52:29.955Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-08T00:52:29.955Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-185 ']' [2022-05-08T00:52:29.955Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-185/archives/ [2022-05-08T00:52:29.955Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-185/archives/ [Pipeline] echo [2022-05-08T00:52:29.989Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-08T00:52:30.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-08T00:52:30.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T00:52:30.867Z] . [Pipeline] withDockerContainer [2022-05-08T00:52:30.953Z] prd-ubuntu20.04-docker-8c-8g-41429 does not seem to be running inside a container [2022-05-08T00:52:30.991Z] $ 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-185/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-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-08T00:52:31.207Z] $ docker top 0ac4aa68493397c66258bbe7757f6edeb19afefddcd7b4ba1c4528c365531b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T00:52:31.611Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-08T00:52:31.919Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-08T00:52:32.230Z] + ls /var/log/sa-host [2022-05-08T00:52:32.230Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T00:52:32.384Z] provisioning config files... [2022-05-08T00:52:32.394Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config388690398703046652tmp [Pipeline] { [Pipeline] echo [2022-05-08T00:52:32.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:32.765Z] ---> create-netrc.sh [Pipeline] } [2022-05-08T00:52:32.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:33.207Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-08T00:52:33.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:33.549Z] ---> sudo-logs.sh [2022-05-08T00:52:33.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-08T00:52:33.635Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:33.965Z] ---> job-cost.sh [2022-05-08T00:52:33.965Z] lf-activate-venv: SKIPPING [2022-05-08T00:52:33.965Z] DEBUG: total: 0.2199999988079071 [2022-05-08T00:52:33.965Z] INFO: Retrieving Stack Cost... [2022-05-08T00:52:34.229Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T00:52:34.802Z] INFO: Archiving Costs [Pipeline] echo [2022-05-08T00:52:34.842Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T00:52:35.157Z] ---> logs-deploy.sh [2022-05-08T00:52:35.157Z] lf-activate-venv: SKIPPING [2022-05-08T00:52:35.157Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-185/1 [2022-05-08T00:52:35.157Z] INFO: archiving workspace using pattern(s): [2022-05-08T00:52:36.095Z] Archives upload complete. [2022-05-08T00:52:36.095Z] INFO: archiving logs to Nexus