Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22dd7cc6891c310929bd15537ed473a29469e419+92c0cb48aec9e6367c7fc89cd27c50580ba6d44f (8e995031af41b8abfd46147a71beaa783607a2fd) 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-ssh9936341916016316428.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh16931318195322287734.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11197415401531428182.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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5758666605524396538.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1274681554588574776.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5163868590768646752.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-504 in /w/workspace/gexfoundry_device-rest-go_PR-190 [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-190 # 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 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 Merge succeeded, producing ef35f4d714e270de2047c75b0cc039ded6f159e4 Checking out Revision ef35f4d714e270de2047c75b0cc039ded6f159e4 (PR-190) > 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/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # 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 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef35f4d714e270de2047c75b0cc039ded6f159e4 # timeout=10 Commit message: "Merge commit '92c0cb48aec9e6367c7fc89cd27c50580ba6d44f' into HEAD" > git rev-list --no-walk 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-31T19:07:16.980Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-31T19:07:17.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-31T19:07:17.049Z] ========================================================= [2022-05-31T19:07:17.049Z] EdgeX Global Pipelines Version Info [2022-05-31T19:07:17.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:07:17.857Z] ------------------- [2022-05-31T19:07:17.857Z] stable info: [2022-05-31T19:07:17.857Z] ------------------- [2022-05-31T19:07:17.857Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T19:07:17.857Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-31T19:07:17.857Z] Message: update stable to v1.0.230 [2022-05-31T19:07:18.429Z] ------------------- [2022-05-31T19:07:18.429Z] experimental info: [2022-05-31T19:07:18.429Z] ------------------- [2022-05-31T19:07:18.429Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T19:07:18.430Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-31T19:07:18.430Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-31T19:07:18.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-31T19:07:18.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-31T19:07:18.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-31T19:07:18.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-31T19:07:18.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-31T19:07:18.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-31T19:07:18.691Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-31T19:07:18.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-31T19:07:18.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-31T19:07:18.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-31T19:07:18.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-31T19:07:18.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-31T19:07:18.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-31T19:07:18.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-31T19:07:18.784Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T19:07:18.795Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T19:07:18.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T19:07:18.813Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T19:07:18.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-31T19:07:18.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-31T19:07:18.839Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-31T19:07:18.847Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-31T19:07:18.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-31T19:07:18.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-31T19:07:18.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-31T19:07:18.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-31T19:07:18.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo [2022-05-31T19:07:18.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo [2022-05-31T19:07:18.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo [2022-05-31T19:07:18.939Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef35f4d714e270de2047c75b0cc039ded6f159e4 [Pipeline] echo [2022-05-31T19:07:18.951Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef35f4d [Pipeline] echo [2022-05-31T19:07:18.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T19:07:19.013Z] provisioning config files... [2022-05-31T19:07:19.027Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config1410248252856668141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:07:19.331Z] ---> docker-login.sh [2022-05-31T19:07:19.331Z] nexus3.edgexfoundry.org:10001 [2022-05-31T19:07:19.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:19.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:19.593Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:19.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:19.593Z] [2022-05-31T19:07:19.593Z] Login Succeeded [2022-05-31T19:07:19.593Z] nexus3.edgexfoundry.org:10002 [2022-05-31T19:07:19.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:19.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:19.856Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:19.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:19.856Z] [2022-05-31T19:07:19.856Z] Login Succeeded [2022-05-31T19:07:19.856Z] nexus3.edgexfoundry.org:10003 [2022-05-31T19:07:19.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:19.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:19.856Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:19.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:19.856Z] [2022-05-31T19:07:19.856Z] Login Succeeded [2022-05-31T19:07:19.856Z] nexus3.edgexfoundry.org:10004 [2022-05-31T19:07:20.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:20.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:20.117Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:20.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:20.117Z] [2022-05-31T19:07:20.117Z] Login Succeeded [2022-05-31T19:07:20.117Z] docker.io [2022-05-31T19:07:20.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:20.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:20.378Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:20.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:20.378Z] [2022-05-31T19:07:20.378Z] Login Succeeded [2022-05-31T19:07:20.378Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T19:07:20.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-31T19:07:20.764Z] + git rev-list -1 --merges ef35f4d714e270de2047c75b0cc039ded6f159e4~1..ef35f4d714e270de2047c75b0cc039ded6f159e4 [Pipeline] echo [2022-05-31T19:07:20.790Z] -----------> git rev-list -1 --merges ef35f4d714e270de2047c75b0cc039ded6f159e4~1..ef35f4d714e270de2047c75b0cc039ded6f159e4 ef35f4d714e270de2047c75b0cc039ded6f159e4 [2022-05-31T19:07:20.790Z] ef35f4d714e270de2047c75b0cc039ded6f159e4 [false] [Pipeline] sh [2022-05-31T19:07:21.086Z] + git log --format=format:%s -1 ef35f4d714e270de2047c75b0cc039ded6f159e4 [Pipeline] echo [2022-05-31T19:07:21.102Z] ========================================================= [2022-05-31T19:07:21.103Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-31T19:07:21.103Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T19:07:21.450Z] + git log --format=format:%s -1 ef35f4d714e270de2047c75b0cc039ded6f159e4 [Pipeline] echo [2022-05-31T19:07:21.464Z] [semverPrep] GIT_COMMIT: ef35f4d714e270de2047c75b0cc039ded6f159e4, Commit Message: Merge commit '92c0cb48aec9e6367c7fc89cd27c50580ba6d44f' into HEAD [Pipeline] echo [2022-05-31T19:07:21.474Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-31T19:07:21.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T19:07:21.838Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-31T19:07:21.838Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-31T19:07:21.838Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-31T19:07:21.838Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-31T19:07:21.838Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-31T19:07:21.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:07:22.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T19:07:22.246Z] [2022-05-31T19:07:22.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:07:22.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T19:07:22.548Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-31T19:07:22.548Z] 1fe172e4850f: Pulling fs layer [2022-05-31T19:07:22.548Z] caf521ccaac6: Pulling fs layer [2022-05-31T19:07:22.548Z] 3ead6fa29328: Pulling fs layer [2022-05-31T19:07:22.548Z] 5c2a1cbceb83: Pulling fs layer [2022-05-31T19:07:22.548Z] a8d5f1318db7: Pulling fs layer [2022-05-31T19:07:22.548Z] c427282e49a2: Pulling fs layer [2022-05-31T19:07:22.548Z] 1827001aaf11: Pulling fs layer [2022-05-31T19:07:22.548Z] 0714d37db230: Pulling fs layer [2022-05-31T19:07:22.548Z] ac28cf19c067: Pulling fs layer [2022-05-31T19:07:22.548Z] ca983d60f3e2: Pulling fs layer [2022-05-31T19:07:22.548Z] 9f894cec8388: Pulling fs layer [2022-05-31T19:07:22.548Z] 0714d37db230: Waiting [2022-05-31T19:07:22.548Z] ac28cf19c067: Waiting [2022-05-31T19:07:22.548Z] ca983d60f3e2: Waiting [2022-05-31T19:07:22.548Z] 9f894cec8388: Waiting [2022-05-31T19:07:22.548Z] 5c2a1cbceb83: Waiting [2022-05-31T19:07:22.548Z] a8d5f1318db7: Waiting [2022-05-31T19:07:22.548Z] c427282e49a2: Waiting [2022-05-31T19:07:22.548Z] 1827001aaf11: Waiting [2022-05-31T19:07:22.548Z] caf521ccaac6: Verifying Checksum [2022-05-31T19:07:22.548Z] caf521ccaac6: Download complete [2022-05-31T19:07:22.548Z] 5c2a1cbceb83: Verifying Checksum [2022-05-31T19:07:22.548Z] 5c2a1cbceb83: Download complete [2022-05-31T19:07:22.810Z] a8d5f1318db7: Verifying Checksum [2022-05-31T19:07:22.810Z] a8d5f1318db7: Download complete [2022-05-31T19:07:22.810Z] 3ead6fa29328: Verifying Checksum [2022-05-31T19:07:22.810Z] 3ead6fa29328: Download complete [2022-05-31T19:07:22.810Z] c427282e49a2: Download complete [2022-05-31T19:07:22.810Z] 0714d37db230: Verifying Checksum [2022-05-31T19:07:22.810Z] 0714d37db230: Download complete [2022-05-31T19:07:22.810Z] ac28cf19c067: Verifying Checksum [2022-05-31T19:07:22.810Z] ac28cf19c067: Download complete [2022-05-31T19:07:22.810Z] ca983d60f3e2: Verifying Checksum [2022-05-31T19:07:22.810Z] ca983d60f3e2: Download complete [2022-05-31T19:07:22.810Z] 9f894cec8388: Verifying Checksum [2022-05-31T19:07:22.810Z] 9f894cec8388: Download complete [2022-05-31T19:07:22.810Z] 1fe172e4850f: Verifying Checksum [2022-05-31T19:07:22.810Z] 1fe172e4850f: Download complete [2022-05-31T19:07:23.070Z] 1827001aaf11: Verifying Checksum [2022-05-31T19:07:23.070Z] 1827001aaf11: Download complete [2022-05-31T19:07:24.012Z] 1fe172e4850f: Pull complete [2022-05-31T19:07:24.275Z] caf521ccaac6: Pull complete [2022-05-31T19:07:24.845Z] 3ead6fa29328: Pull complete [2022-05-31T19:07:24.845Z] 5c2a1cbceb83: Pull complete [2022-05-31T19:07:25.108Z] a8d5f1318db7: Pull complete [2022-05-31T19:07:25.369Z] c427282e49a2: Pull complete [2022-05-31T19:07:27.281Z] 1827001aaf11: Pull complete [2022-05-31T19:07:27.281Z] 0714d37db230: Pull complete [2022-05-31T19:07:27.544Z] ac28cf19c067: Pull complete [2022-05-31T19:07:27.544Z] ca983d60f3e2: Pull complete [2022-05-31T19:07:27.544Z] 9f894cec8388: Pull complete [2022-05-31T19:07:27.544Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-31T19:07:27.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T19:07:27.544Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:07:27.651Z] prd-ubuntu20.04-docker-8c-8g-504 does not seem to be running inside a container [2022-05-31T19:07:27.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T19:07:29.126Z] $ docker top 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef -eo pid,comm [2022-05-31T19:07:29.194Z] 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-31T19:07:29.194Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T19:07:29.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T19:07:29.228Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T19:07:29.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T19:07:29.361Z] $ docker exec 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef ssh-agent [2022-05-31T19:07:29.485Z] SSH_AUTH_SOCK=/tmp/ssh-Khv65K0T4EM6/agent.33 [2022-05-31T19:07:29.485Z] SSH_AGENT_PID=39 [2022-05-31T19:07:29.493Z] Running ssh-add (command line suppressed) [2022-05-31T19:07:29.629Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_4301304318525028391.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_4301304318525028391.key) [2022-05-31T19:07:29.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T19:07:29.936Z] + git tag --points-at HEAD [Pipeline] } [2022-05-31T19:07:29.963Z] $ docker exec --env ******** --env ******** 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef ssh-agent -k [2022-05-31T19:07:30.083Z] unset SSH_AUTH_SOCK; [2022-05-31T19:07:30.083Z] unset SSH_AGENT_PID; [2022-05-31T19:07:30.083Z] echo Agent pid 39 killed; [2022-05-31T19:07:30.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-31T19:07:30.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T19:07:30.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T19:07:30.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T19:07:30.255Z] $ docker exec 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef ssh-agent [2022-05-31T19:07:30.394Z] SSH_AUTH_SOCK=/tmp/ssh-UYGTvDk9NVak/agent.71 [2022-05-31T19:07:30.394Z] SSH_AGENT_PID=78 [2022-05-31T19:07:30.401Z] Running ssh-add (command line suppressed) [2022-05-31T19:07:30.538Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_5747892752182298472.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_5747892752182298472.key) [2022-05-31T19:07:30.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T19:07:30.840Z] + git semver init [2022-05-31T19:07:31.102Z] 2022-05-31 19:07:31,040 [run_init] DEBUG init version:0.0.0 force:False [2022-05-31T19:07:31.102Z] 2022-05-31 19:07:31,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver [2022-05-31T19:07:31.102Z] 2022-05-31 19:07:31,041 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-190/.semver [2022-05-31T19:07:31.102Z] 2022-05-31 19:07:31,041 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190, universal_newlines=False, shell=None, istream=None) [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,909 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.git/info/exclude [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,909 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 with force:False [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,910 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,916 [execute] INFO git cat-file --batch-check [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,924 [execute] INFO git cat-file --batch [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T19:07:32.047Z] 2022-05-31 19:07:31,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 [2022-05-31T19:07:32.047Z] 0.0.0 [Pipeline] } [2022-05-31T19:07:32.065Z] $ docker exec --env ******** --env ******** 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef ssh-agent -k [2022-05-31T19:07:32.188Z] unset SSH_AUTH_SOCK; [2022-05-31T19:07:32.189Z] unset SSH_AGENT_PID; [2022-05-31T19:07:32.189Z] echo Agent pid 78 killed; [2022-05-31T19:07:32.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T19:07:32.500Z] + git semver [Pipeline] } [2022-05-31T19:07:32.784Z] $ docker stop --time=1 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef [2022-05-31T19:07:34.273Z] $ docker rm -f 96f0bf7191ab515ec5c5b768bac7269b6f591212e1b9aa28126b223aba724bef [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T19:07:34.631Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-31T19:07:34.919Z] Stashed 1 file(s) [Pipeline] echo [2022-05-31T19:07:34.920Z] [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-31T19:07:35.063Z] provisioning config files... [2022-05-31T19:07:35.076Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config5231595774636393421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:07:35.378Z] ---> docker-login.sh [2022-05-31T19:07:35.378Z] nexus3.edgexfoundry.org:10001 [2022-05-31T19:07:35.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:35.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:35.378Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:35.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:35.378Z] [2022-05-31T19:07:35.378Z] Login Succeeded [2022-05-31T19:07:35.378Z] nexus3.edgexfoundry.org:10002 [2022-05-31T19:07:35.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:35.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:35.638Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:35.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:35.638Z] [2022-05-31T19:07:35.638Z] Login Succeeded [2022-05-31T19:07:35.638Z] nexus3.edgexfoundry.org:10003 [2022-05-31T19:07:35.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:35.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:35.638Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:35.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:35.638Z] [2022-05-31T19:07:35.638Z] Login Succeeded [2022-05-31T19:07:35.638Z] nexus3.edgexfoundry.org:10004 [2022-05-31T19:07:35.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:35.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:35.898Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:35.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:35.898Z] [2022-05-31T19:07:35.898Z] Login Succeeded [2022-05-31T19:07:35.898Z] docker.io [2022-05-31T19:07:35.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:07:36.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:07:36.158Z] Configure a credential helper to remove this warning. See [2022-05-31T19:07:36.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:07:36.158Z] [2022-05-31T19:07:36.158Z] Login Succeeded [2022-05-31T19:07:36.419Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T19:07:36.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T19:07:36.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T19:07:36.500Z] ========================================================= [2022-05-31T19:07:36.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-31T19:07:36.500Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:07:36.820Z] + 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-31T19:07:36.820Z] Sending build context to Docker daemon 10.61MB [2022-05-31T19:07:36.820Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T19:07:36.820Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T19:07:36.820Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-31T19:07:36.820Z] 59bf1c3509f3: Pulling fs layer [2022-05-31T19:07:36.820Z] 666ba61612fd: Pulling fs layer [2022-05-31T19:07:36.820Z] 8ed8ca486205: Pulling fs layer [2022-05-31T19:07:36.820Z] 4fe6c5a15a65: Pulling fs layer [2022-05-31T19:07:36.820Z] 22a0e8bec74d: Pulling fs layer [2022-05-31T19:07:36.820Z] ca2b28591e48: Pulling fs layer [2022-05-31T19:07:36.820Z] 4fe6c5a15a65: Waiting [2022-05-31T19:07:36.820Z] 22a0e8bec74d: Waiting [2022-05-31T19:07:36.820Z] a51346096db8: Pulling fs layer [2022-05-31T19:07:36.820Z] daebc70d1ce1: Pulling fs layer [2022-05-31T19:07:36.820Z] ca2b28591e48: Waiting [2022-05-31T19:07:36.820Z] 0e18a0eac166: Pulling fs layer [2022-05-31T19:07:36.820Z] daebc70d1ce1: Waiting [2022-05-31T19:07:36.820Z] 0e18a0eac166: Waiting [2022-05-31T19:07:36.820Z] a51346096db8: Waiting [2022-05-31T19:07:36.820Z] 8ed8ca486205: Download complete [2022-05-31T19:07:36.820Z] 666ba61612fd: Verifying Checksum [2022-05-31T19:07:36.820Z] 666ba61612fd: Download complete [2022-05-31T19:07:37.082Z] 22a0e8bec74d: Download complete [2022-05-31T19:07:37.082Z] ca2b28591e48: Verifying Checksum [2022-05-31T19:07:37.082Z] ca2b28591e48: Download complete [2022-05-31T19:07:37.082Z] 59bf1c3509f3: Download complete [2022-05-31T19:07:37.082Z] a51346096db8: Verifying Checksum [2022-05-31T19:07:37.082Z] a51346096db8: Download complete [2022-05-31T19:07:37.082Z] daebc70d1ce1: Verifying Checksum [2022-05-31T19:07:37.082Z] daebc70d1ce1: Download complete [2022-05-31T19:07:37.082Z] 59bf1c3509f3: Pull complete [2022-05-31T19:07:37.354Z] 666ba61612fd: Pull complete [2022-05-31T19:07:37.354Z] 8ed8ca486205: Pull complete [2022-05-31T19:07:37.617Z] 0e18a0eac166: Verifying Checksum [2022-05-31T19:07:37.617Z] 0e18a0eac166: Download complete [2022-05-31T19:07:37.876Z] 4fe6c5a15a65: Verifying Checksum [2022-05-31T19:07:37.876Z] 4fe6c5a15a65: Download complete [2022-05-31T19:07:42.069Z] 4fe6c5a15a65: Pull complete [2022-05-31T19:07:42.069Z] 22a0e8bec74d: Pull complete [2022-05-31T19:07:42.069Z] ca2b28591e48: Pull complete [2022-05-31T19:07:42.069Z] a51346096db8: Pull complete [2022-05-31T19:07:42.069Z] daebc70d1ce1: Pull complete [2022-05-31T19:07:43.984Z] 0e18a0eac166: Pull complete [2022-05-31T19:07:43.984Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-31T19:07:43.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-31T19:07:43.984Z] ---> f018257e8ee9 [2022-05-31T19:07:43.984Z] Step 3/12 : ARG MAKE='make build' [2022-05-31T19:07:45.376Z] ---> Running in fd2c7a6289be [2022-05-31T19:07:45.376Z] Removing intermediate container fd2c7a6289be [2022-05-31T19:07:45.376Z] ---> 78b1bb1da64b [2022-05-31T19:07:45.376Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T19:07:45.376Z] ---> Running in 2f2e95720698 [2022-05-31T19:07:45.641Z] Removing intermediate container 2f2e95720698 [2022-05-31T19:07:45.641Z] ---> 4f911af7c34f [2022-05-31T19:07:45.641Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T19:07:45.641Z] ---> Running in 664f3bd8db13 [2022-05-31T19:07:45.641Z] Removing intermediate container 664f3bd8db13 [2022-05-31T19:07:45.641Z] ---> bd7af50676b0 [2022-05-31T19:07:45.641Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T19:07:45.641Z] ---> Running in e9846123b122 [2022-05-31T19:07:46.580Z] Removing intermediate container e9846123b122 [2022-05-31T19:07:46.580Z] ---> e5120bc14a0f [2022-05-31T19:07:46.580Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T19:07:46.580Z] ---> Running in 035db24e1dff [2022-05-31T19:07:46.580Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T19:07:47.521Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T19:07:48.094Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T19:07:48.094Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T19:07:48.094Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T19:07:48.355Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T19:07:48.355Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T19:07:48.355Z] OK: 224 MiB in 56 packages [2022-05-31T19:07:48.929Z] Removing intermediate container 035db24e1dff [2022-05-31T19:07:48.929Z] ---> 1e1d83076eff [2022-05-31T19:07:48.929Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-31T19:07:48.929Z] ---> Running in 6313bb25fab3 [2022-05-31T19:07:48.929Z] Removing intermediate container 6313bb25fab3 [2022-05-31T19:07:48.929Z] ---> e0ba678aab33 [2022-05-31T19:07:48.929Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-31T19:07:49.190Z] ---> edd2bf2e2c11 [2022-05-31T19:07:49.190Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T19:07:49.190Z] ---> Running in 5ef5a2b3f01f [2022-05-31T19:07:50.023Z] Still waiting to schedule task [2022-05-31T19:07:50.023Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-31T19:08:04.104Z] Removing intermediate container 5ef5a2b3f01f [2022-05-31T19:08:04.105Z] ---> e59612c5545b [2022-05-31T19:08:04.105Z] Step 11/12 : COPY . . [2022-05-31T19:08:04.105Z] ---> 646157e76794 [2022-05-31T19:08:04.105Z] Step 12/12 : RUN $MAKE [2022-05-31T19:08:04.105Z] ---> Running in 57c7d1eb54bc [2022-05-31T19:08:04.105Z] noop [2022-05-31T19:08:04.105Z] Removing intermediate container 57c7d1eb54bc [2022-05-31T19:08:04.105Z] ---> ad759e1feaae [2022-05-31T19:08:04.105Z] Successfully built ad759e1feaae [2022-05-31T19:08:04.105Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:08:04.420Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T19:08:04.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:08:04.505Z] prd-ubuntu20.04-docker-8c-8g-504 does not seem to be running inside a container [2022-05-31T19:08:04.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-31T19:08:04.956Z] $ docker top 4224fa14e221abbe3079d97f352414df64ae6d4bfda6bba728fd62edad5f1f80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T19:08:05.306Z] + go version [2022-05-31T19:08:05.306Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-31T19:08:05.323Z] $ docker stop --time=1 4224fa14e221abbe3079d97f352414df64ae6d4bfda6bba728fd62edad5f1f80 [2022-05-31T19:08:06.624Z] $ docker rm -f 4224fa14e221abbe3079d97f352414df64ae6d4bfda6bba728fd62edad5f1f80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:08:07.056Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T19:08:07.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:08:07.144Z] prd-ubuntu20.04-docker-8c-8g-504 does not seem to be running inside a container [2022-05-31T19:08:07.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-31T19:08:07.613Z] $ docker top 716f0ffa355f3c3670851ee33ecb799f866e43cbffbbdb0cf3c28a124b65cec2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T19:08:07.994Z] + make test [2022-05-31T19:08:07.995Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-31T19:08:08.253Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-31T19:08:18.240Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-31T19:08:18.240Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-31T19:08:23.518Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T19:08:26.803Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T19:08:26.803Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T19:08:26.803Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T19:08:27.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T19:08:27.406Z] $ docker stop --time=1 716f0ffa355f3c3670851ee33ecb799f866e43cbffbbdb0cf3c28a124b65cec2 [2022-05-31T19:08:29.135Z] $ docker rm -f 716f0ffa355f3c3670851ee33ecb799f866e43cbffbbdb0cf3c28a124b65cec2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T19:08:29.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T19:08:29.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-31T19:08:30.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T19:08:30.402Z] + ls -al . [2022-05-31T19:08:30.402Z] total 172 [2022-05-31T19:08:30.402Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 19:08 . [2022-05-31T19:08:30.402Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 19:07 .. [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 19:07 .dockerignore [2022-05-31T19:08:30.402Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 19:07 .git [2022-05-31T19:08:30.402Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:07 .github [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 19:07 .gitignore [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 19:07 .golangci.yml [2022-05-31T19:08:30.402Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 19:07 .semver [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 8596 May 31 19:07 Attribution.txt [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 31 19:07 CHANGELOG.md [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 31 19:07 Dockerfile [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 19:07 GOVERNANCE.md [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 19:07 Jenkinsfile [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 19:07 LICENSE [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 31 19:07 Makefile [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 19:07 OWNERS.md [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 31 19:07 README.md [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 19:07 VERSION [2022-05-31T19:08:30.402Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 19:07 bin [2022-05-31T19:08:30.402Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:07 cmd [2022-05-31T19:08:30.402Z] -rw-r--r-- 1 jenkins jenkins 9355 May 31 19:08 coverage.out [2022-05-31T19:08:30.402Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 19:07 driver [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 31 19:07 go.mod [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 35433 May 31 19:07 go.sum [2022-05-31T19:08:30.402Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:07 snap [2022-05-31T19:08:30.402Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:08:30.714Z] + 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=ef35f4d714e270de2047c75b0cc039ded6f159e4 --label arch=amd64 --label version=0.0.0 . [2022-05-31T19:08:30.714Z] Sending build context to Docker daemon 10.62MB [2022-05-31T19:08:30.714Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T19:08:30.714Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-31T19:08:30.714Z] ---> ad759e1feaae [2022-05-31T19:08:30.714Z] Step 3/25 : ARG MAKE='make build' [2022-05-31T19:08:30.714Z] ---> Running in 77f0baedb4d4 [2022-05-31T19:08:30.974Z] Removing intermediate container 77f0baedb4d4 [2022-05-31T19:08:30.974Z] ---> 2fd085093f6a [2022-05-31T19:08:30.974Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T19:08:30.974Z] ---> Running in 3f8c3e1e0c35 [2022-05-31T19:08:30.974Z] Removing intermediate container 3f8c3e1e0c35 [2022-05-31T19:08:30.974Z] ---> be5926b51f44 [2022-05-31T19:08:30.974Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T19:08:30.974Z] ---> Running in 7dd6f6b46b66 [2022-05-31T19:08:31.236Z] Removing intermediate container 7dd6f6b46b66 [2022-05-31T19:08:31.236Z] ---> 3b4917b0f3d6 [2022-05-31T19:08:31.236Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T19:08:31.236Z] ---> Running in d92e65948010 [2022-05-31T19:08:31.805Z] Removing intermediate container d92e65948010 [2022-05-31T19:08:31.805Z] ---> 215e8852335b [2022-05-31T19:08:31.805Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T19:08:31.805Z] ---> Running in cb1ef5ef815e [2022-05-31T19:08:32.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T19:08:33.011Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T19:08:33.271Z] OK: 224 MiB in 56 packages [2022-05-31T19:08:33.532Z] Removing intermediate container cb1ef5ef815e [2022-05-31T19:08:33.532Z] ---> 0f3674642655 [2022-05-31T19:08:33.532Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-31T19:08:33.795Z] ---> Running in 3bc4e7753305 [2022-05-31T19:08:33.795Z] Removing intermediate container 3bc4e7753305 [2022-05-31T19:08:33.795Z] ---> 7817fe4bce6b [2022-05-31T19:08:33.795Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-31T19:08:33.795Z] ---> fc7b66f0f69d [2022-05-31T19:08:33.795Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T19:08:34.054Z] ---> Running in 5fbf2197e239 [2022-05-31T19:08:34.624Z] Removing intermediate container 5fbf2197e239 [2022-05-31T19:08:34.624Z] ---> 0d8455025350 [2022-05-31T19:08:34.624Z] Step 11/25 : COPY . . [2022-05-31T19:08:34.886Z] ---> c60be4841210 [2022-05-31T19:08:34.886Z] Step 12/25 : RUN $MAKE [2022-05-31T19:08:34.886Z] ---> Running in 4e1cf3cc9c64 [2022-05-31T19:08:35.143Z] 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-31T19:08:57.091Z] Removing intermediate container 4e1cf3cc9c64 [2022-05-31T19:08:57.091Z] ---> 955d8967327f [2022-05-31T19:08:57.091Z] Step 13/25 : FROM alpine:3.14 [2022-05-31T19:08:57.091Z] 3.14: Pulling from library/alpine [2022-05-31T19:08:57.091Z] 8663204ce13b: Pulling fs layer [2022-05-31T19:08:57.091Z] 8663204ce13b: Verifying Checksum [2022-05-31T19:08:57.091Z] 8663204ce13b: Download complete [2022-05-31T19:08:57.091Z] 8663204ce13b: Pull complete [2022-05-31T19:08:57.091Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T19:08:57.091Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T19:08:57.091Z] ---> e04c818066af [2022-05-31T19:08:57.091Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-31T19:08:57.091Z] ---> Running in 89a726977a5c [2022-05-31T19:08:57.091Z] Removing intermediate container 89a726977a5c [2022-05-31T19:08:57.091Z] ---> 5ca4ae700ce5 [2022-05-31T19:08:57.091Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-31T19:08:57.091Z] ---> Running in 2891650f8ebe [2022-05-31T19:08:57.091Z] Removing intermediate container 2891650f8ebe [2022-05-31T19:08:57.091Z] ---> 969a8828a97d [2022-05-31T19:08:57.091Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T19:08:57.091Z] ---> Running in fd8bbf69420a [2022-05-31T19:08:57.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-31T19:08:57.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-31T19:08:57.091Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T19:08:57.091Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T19:08:57.091Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T19:08:57.091Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T19:08:57.091Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T19:08:57.091Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T19:08:57.091Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T19:08:57.091Z] OK: 8 MiB in 20 packages [2022-05-31T19:08:57.091Z] Removing intermediate container fd8bbf69420a [2022-05-31T19:08:57.091Z] ---> 5b4664bbd84e [2022-05-31T19:08:57.091Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-31T19:08:57.091Z] ---> 77482dee4d2b [2022-05-31T19:08:57.091Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-31T19:08:57.091Z] ---> 11045c4d1843 [2022-05-31T19:08:57.091Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-31T19:08:57.091Z] ---> 83e7ae457ad3 [2022-05-31T19:08:57.091Z] Step 20/25 : EXPOSE 59986 [2022-05-31T19:08:57.091Z] ---> Running in 7e7a61a6acf1 [2022-05-31T19:08:57.091Z] Removing intermediate container 7e7a61a6acf1 [2022-05-31T19:08:57.091Z] ---> eb963bd5fe36 [2022-05-31T19:08:57.091Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-31T19:08:57.091Z] ---> Running in db226f368558 [2022-05-31T19:08:57.091Z] Removing intermediate container db226f368558 [2022-05-31T19:08:57.091Z] ---> d7bd30076ac0 [2022-05-31T19:08:57.091Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-31T19:08:57.091Z] ---> Running in 3c6270902383 [2022-05-31T19:08:57.091Z] Removing intermediate container 3c6270902383 [2022-05-31T19:08:57.091Z] ---> 7e3ad90cfdce [2022-05-31T19:08:57.091Z] Step 23/25 : LABEL arch=amd64 [2022-05-31T19:08:57.091Z] ---> Running in 37c7f128246f [2022-05-31T19:08:57.091Z] Removing intermediate container 37c7f128246f [2022-05-31T19:08:57.091Z] ---> 4d30910590a9 [2022-05-31T19:08:57.091Z] Step 24/25 : LABEL git_sha=ef35f4d714e270de2047c75b0cc039ded6f159e4 [2022-05-31T19:08:57.091Z] ---> Running in 36c9df8c3bd4 [2022-05-31T19:08:57.351Z] Removing intermediate container 36c9df8c3bd4 [2022-05-31T19:08:57.351Z] ---> 15ce28a12e18 [2022-05-31T19:08:57.351Z] Step 25/25 : LABEL version=0.0.0 [2022-05-31T19:08:57.351Z] ---> Running in f15709d79324 [2022-05-31T19:08:57.351Z] Removing intermediate container f15709d79324 [2022-05-31T19:08:57.351Z] ---> b1bd19dc44d6 [2022-05-31T19:08:57.351Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T19:08:57.351Z] Successfully built b1bd19dc44d6 [2022-05-31T19:08:57.351Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:08:57.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T19:08:57.818Z] [2022-05-31T19:08:57.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:08:58.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T19:08:58.130Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-31T19:08:58.130Z] 5eb5b503b376: Pulling fs layer [2022-05-31T19:08:58.130Z] 5c69ac0246d0: Pulling fs layer [2022-05-31T19:08:58.130Z] ec43610c2a17: Pulling fs layer [2022-05-31T19:08:58.130Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-31T19:08:58.130Z] 33b1e0a273af: Pulling fs layer [2022-05-31T19:08:58.130Z] 5d3b04190fa2: Pulling fs layer [2022-05-31T19:08:58.130Z] 2f39f015ded8: Pulling fs layer [2022-05-31T19:08:58.130Z] 3a2ae6a8a46f: Waiting [2022-05-31T19:08:58.130Z] 2f39f015ded8: Waiting [2022-05-31T19:08:58.130Z] 5d3b04190fa2: Waiting [2022-05-31T19:08:58.130Z] 33b1e0a273af: Waiting [2022-05-31T19:08:58.130Z] 5c69ac0246d0: Download complete [2022-05-31T19:08:58.130Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-31T19:08:58.130Z] 3a2ae6a8a46f: Download complete [2022-05-31T19:08:58.130Z] 33b1e0a273af: Verifying Checksum [2022-05-31T19:08:58.130Z] 33b1e0a273af: Download complete [2022-05-31T19:08:58.130Z] 5d3b04190fa2: Verifying Checksum [2022-05-31T19:08:58.130Z] 5d3b04190fa2: Download complete [2022-05-31T19:08:58.390Z] ec43610c2a17: Download complete [2022-05-31T19:08:58.390Z] 5eb5b503b376: Download complete [2022-05-31T19:08:58.959Z] 2f39f015ded8: Download complete [2022-05-31T19:08:59.529Z] 5eb5b503b376: Pull complete [2022-05-31T19:08:59.789Z] 5c69ac0246d0: Pull complete [2022-05-31T19:09:00.049Z] ec43610c2a17: Pull complete [2022-05-31T19:09:00.310Z] 3a2ae6a8a46f: Pull complete [2022-05-31T19:09:00.310Z] 33b1e0a273af: Pull complete [2022-05-31T19:09:00.569Z] 5d3b04190fa2: Pull complete [2022-05-31T19:09:04.759Z] 2f39f015ded8: Pull complete [2022-05-31T19:09:04.759Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-31T19:09:04.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T19:09:04.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:09:04.850Z] prd-ubuntu20.04-docker-8c-8g-504 does not seem to be running inside a container [2022-05-31T19:09:04.890Z] $ 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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T19:09:06.870Z] $ docker top 8f947e13d6464ff6e9e41d59a4ac0d9d841e6c74c18cee69ed88486e1f5afbaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:09:07.287Z] ---> job-cost.sh [2022-05-31T19:09:07.287Z] lf-activate-venv: SKIPPING [2022-05-31T19:09:07.287Z] INFO: No Stack... [2022-05-31T19:09:07.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T19:09:08.119Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T19:09:08.413Z] + + cut -d, -f6 [2022-05-31T19:09:08.413Z] cat /w/workspace/gexfoundry_device-rest-go_PR-190/archives/cost.csv [Pipeline] lock [2022-05-31T19:09:08.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [2022-05-31T19:09:08.435Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] did not exist. Created. [2022-05-31T19:09:08.435Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T19:09:08.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-31T19:09:08.777Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T19:09:08.784Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T19:09:08.809Z] $ docker stop --time=1 8f947e13d6464ff6e9e41d59a4ac0d9d841e6c74c18cee69ed88486e1f5afbaa [2022-05-31T19:09:09.995Z] $ docker rm -f 8f947e13d6464ff6e9e41d59a4ac0d9d841e6c74c18cee69ed88486e1f5afbaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-31T19:09:25.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-505 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] ws [2022-05-31T19:09:25.455Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-31T19:09:25.549Z] The recommended git tool is: git [2022-05-31T19:09:31.907Z] using credential edgex-jenkins-ssh [2022-05-31T19:09:31.923Z] Cloning the remote Git repository [2022-05-31T19:09:31.990Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-31T19:09:32.063Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-31T19:09:32.145Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-31T19:09:32.146Z] > git --version # timeout=10 [2022-05-31T19:09:32.169Z] > git --version # 'git version 2.25.1' [2022-05-31T19:09:32.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T19:09:32.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T19:09:33.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-31T19:09:34.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T19:09:34.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-31T19:09:34.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-31T19:09:34.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T19:09:34.108Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-31T19:09:34.552Z] Merging remotes/origin/main commit 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 [2022-05-31T19:09:34.779Z] Merge succeeded, producing 0e70da98cff13cf27bcc98182ddbbd5547590dcc [2022-05-31T19:09:34.780Z] Checking out Revision 0e70da98cff13cf27bcc98182ddbbd5547590dcc (PR-190) [2022-05-31T19:09:34.575Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T19:09:34.594Z] > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 [2022-05-31T19:09:34.677Z] > git remote # timeout=10 [2022-05-31T19:09:34.693Z] > git config --get remote.origin.url # timeout=10 [2022-05-31T19:09:34.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T19:09:34.722Z] > git merge 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 [2022-05-31T19:09:34.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-31T19:09:34.791Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T19:09:34.803Z] > git checkout -f 0e70da98cff13cf27bcc98182ddbbd5547590dcc # timeout=10 [2022-05-31T19:09:38.907Z] Commit message: "Merge commit '92c0cb48aec9e6367c7fc89cd27c50580ba6d44f' into HEAD" [2022-05-31T19:09:38.921Z] > git rev-list --no-walk 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T19:09:39.889Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-31T19:09:39.889Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T19:09:39.889Z] Dload Upload Total Spent Left Speed [2022-05-31T19:09:39.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48816 0 --:--:-- --:--:-- --:--:-- 48816 [Pipeline] sh [2022-05-31T19:09:40.667Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-31T19:09:41.022Z] + sudo tee /etc/docker/daemon.new [2022-05-31T19:09:41.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-31T19:09:41.022Z] { [2022-05-31T19:09:41.022Z] "registry-mirrors": [ [2022-05-31T19:09:41.022Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-31T19:09:41.022Z] ], [2022-05-31T19:09:41.022Z] "bip": "10.250.0.254/24", [2022-05-31T19:09:41.022Z] "hosts": [ [2022-05-31T19:09:41.022Z] "tcp://0.0.0.0:5555", [2022-05-31T19:09:41.022Z] "unix:///var/run/docker.sock" [2022-05-31T19:09:41.022Z] ], [2022-05-31T19:09:41.022Z] "mtu": 1458, [2022-05-31T19:09:41.023Z] "selinux-enabled": true, [2022-05-31T19:09:41.023Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-31T19:09:41.023Z] } [Pipeline] sh [2022-05-31T19:09:41.372Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-31T19:09:41.714Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T19:10:00.050Z] provisioning config files... [2022-05-31T19:10:00.075Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7874437264313330750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:10:00.450Z] ---> docker-login.sh [2022-05-31T19:10:00.450Z] nexus3.edgexfoundry.org:10001 [2022-05-31T19:10:01.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:10:01.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:10:01.326Z] Configure a credential helper to remove this warning. See [2022-05-31T19:10:01.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:10:01.326Z] [2022-05-31T19:10:01.326Z] Login Succeeded [2022-05-31T19:10:01.326Z] nexus3.edgexfoundry.org:10002 [2022-05-31T19:10:01.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:10:01.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:10:01.881Z] Configure a credential helper to remove this warning. See [2022-05-31T19:10:01.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:10:01.881Z] [2022-05-31T19:10:01.881Z] Login Succeeded [2022-05-31T19:10:01.881Z] nexus3.edgexfoundry.org:10003 [2022-05-31T19:10:02.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:10:02.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:10:02.156Z] Configure a credential helper to remove this warning. See [2022-05-31T19:10:02.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:10:02.156Z] [2022-05-31T19:10:02.156Z] Login Succeeded [2022-05-31T19:10:02.156Z] nexus3.edgexfoundry.org:10004 [2022-05-31T19:10:02.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:10:02.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:10:02.714Z] Configure a credential helper to remove this warning. See [2022-05-31T19:10:02.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:10:02.714Z] [2022-05-31T19:10:02.714Z] Login Succeeded [2022-05-31T19:10:02.714Z] docker.io [2022-05-31T19:10:02.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T19:10:03.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T19:10:03.586Z] Configure a credential helper to remove this warning. See [2022-05-31T19:10:03.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T19:10:03.586Z] [2022-05-31T19:10:03.586Z] Login Succeeded [2022-05-31T19:10:03.586Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T19:10:03.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T19:10:03.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T19:10:03.899Z] ========================================================= [2022-05-31T19:10:03.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-31T19:10:03.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:10:04.257Z] + 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-31T19:10:04.257Z] Sending build context to Docker daemon 128.5kB [2022-05-31T19:10:04.538Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T19:10:04.538Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T19:10:04.814Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-31T19:10:04.814Z] 9b3977197b4f: Pulling fs layer [2022-05-31T19:10:04.814Z] 1a89e8eeedd5: Pulling fs layer [2022-05-31T19:10:04.814Z] 94645a83ff95: Pulling fs layer [2022-05-31T19:10:04.814Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-31T19:10:04.814Z] 0c92f367c5e7: Pulling fs layer [2022-05-31T19:10:04.814Z] 3096ccb668a1: Pulling fs layer [2022-05-31T19:10:04.814Z] e8cf19c19ddd: Pulling fs layer [2022-05-31T19:10:04.814Z] a4caa8a26152: Pulling fs layer [2022-05-31T19:10:04.814Z] 3f3a8bcf1eab: Waiting [2022-05-31T19:10:04.814Z] 0c92f367c5e7: Waiting [2022-05-31T19:10:04.814Z] 3096ccb668a1: Waiting [2022-05-31T19:10:04.814Z] e8cf19c19ddd: Waiting [2022-05-31T19:10:04.814Z] a4caa8a26152: Waiting [2022-05-31T19:10:04.814Z] 94645a83ff95: Verifying Checksum [2022-05-31T19:10:04.814Z] 94645a83ff95: Download complete [2022-05-31T19:10:04.814Z] 1a89e8eeedd5: Verifying Checksum [2022-05-31T19:10:04.814Z] 1a89e8eeedd5: Download complete [2022-05-31T19:10:04.814Z] 0c92f367c5e7: Verifying Checksum [2022-05-31T19:10:04.814Z] 0c92f367c5e7: Download complete [2022-05-31T19:10:04.814Z] 3096ccb668a1: Verifying Checksum [2022-05-31T19:10:04.814Z] 3096ccb668a1: Download complete [2022-05-31T19:10:04.814Z] 9b3977197b4f: Download complete [2022-05-31T19:10:04.814Z] e8cf19c19ddd: Verifying Checksum [2022-05-31T19:10:04.814Z] e8cf19c19ddd: Download complete [2022-05-31T19:10:05.423Z] 9b3977197b4f: Pull complete [2022-05-31T19:10:06.026Z] 1a89e8eeedd5: Pull complete [2022-05-31T19:10:06.300Z] 94645a83ff95: Pull complete [2022-05-31T19:10:06.897Z] a4caa8a26152: Verifying Checksum [2022-05-31T19:10:06.897Z] a4caa8a26152: Download complete [2022-05-31T19:10:07.491Z] 3f3a8bcf1eab: Download complete [2022-05-31T19:10:19.900Z] 3f3a8bcf1eab: Pull complete [2022-05-31T19:10:19.900Z] 0c92f367c5e7: Pull complete [2022-05-31T19:10:20.175Z] 3096ccb668a1: Pull complete [2022-05-31T19:10:20.448Z] e8cf19c19ddd: Pull complete [2022-05-31T19:10:27.228Z] a4caa8a26152: Pull complete [2022-05-31T19:10:27.228Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-31T19:10:27.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-31T19:10:27.228Z] ---> 725f1c02e7f9 [2022-05-31T19:10:27.228Z] Step 3/12 : ARG MAKE='make build' [2022-05-31T19:10:27.503Z] ---> Running in e4b92938d30a [2022-05-31T19:10:27.778Z] Removing intermediate container e4b92938d30a [2022-05-31T19:10:27.778Z] ---> 8aa284ca8225 [2022-05-31T19:10:27.778Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T19:10:27.778Z] ---> Running in e10b01481a59 [2022-05-31T19:10:28.051Z] Removing intermediate container e10b01481a59 [2022-05-31T19:10:28.051Z] ---> a4e4f6a2c151 [2022-05-31T19:10:28.052Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T19:10:28.328Z] ---> Running in be012cced638 [2022-05-31T19:10:28.605Z] Removing intermediate container be012cced638 [2022-05-31T19:10:28.605Z] ---> 7778c054491e [2022-05-31T19:10:28.605Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T19:10:28.605Z] ---> Running in 839861bd1df8 [2022-05-31T19:10:30.595Z] Removing intermediate container 839861bd1df8 [2022-05-31T19:10:30.595Z] ---> b2c739d56642 [2022-05-31T19:10:30.595Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T19:10:30.595Z] ---> Running in f34aefb74070 [2022-05-31T19:10:31.573Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T19:10:32.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T19:10:33.160Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T19:10:33.160Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T19:10:33.160Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T19:10:33.432Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T19:10:33.705Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T19:10:33.705Z] OK: 224 MiB in 56 packages [2022-05-31T19:10:34.685Z] Removing intermediate container f34aefb74070 [2022-05-31T19:10:34.685Z] ---> e0d458bdb235 [2022-05-31T19:10:34.685Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-31T19:10:34.685Z] ---> Running in e1e64d60cba3 [2022-05-31T19:10:34.963Z] Removing intermediate container e1e64d60cba3 [2022-05-31T19:10:34.963Z] ---> c7c44f38c4b6 [2022-05-31T19:10:34.963Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-31T19:10:35.558Z] ---> 73416c4675d7 [2022-05-31T19:10:35.558Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T19:10:35.558Z] ---> Running in 843bee159dc3 [2022-05-31T19:11:22.554Z] Removing intermediate container 843bee159dc3 [2022-05-31T19:11:22.554Z] ---> 53f5db9ffea1 [2022-05-31T19:11:22.554Z] Step 11/12 : COPY . . [2022-05-31T19:11:22.554Z] ---> 44b3ddd24a8a [2022-05-31T19:11:22.554Z] Step 12/12 : RUN $MAKE [2022-05-31T19:11:22.554Z] ---> Running in 29af22675f92 [2022-05-31T19:11:22.554Z] noop [2022-05-31T19:11:22.554Z] Removing intermediate container 29af22675f92 [2022-05-31T19:11:22.554Z] ---> 6e2d9ecfc1c3 [2022-05-31T19:11:22.554Z] Successfully built 6e2d9ecfc1c3 [2022-05-31T19:11:22.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:11:22.917Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T19:11:22.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:11:23.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-505 does not seem to be running inside a container [2022-05-31T19:11:23.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T19:11:24.533Z] $ docker top efead6d677bf8198e5ac9b3db7f1523e32868eec287576300f7de7f876d28701 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T19:11:25.443Z] + go version [2022-05-31T19:11:25.443Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-31T19:11:25.476Z] $ docker stop --time=1 efead6d677bf8198e5ac9b3db7f1523e32868eec287576300f7de7f876d28701 [2022-05-31T19:11:27.123Z] $ docker rm -f efead6d677bf8198e5ac9b3db7f1523e32868eec287576300f7de7f876d28701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:11:27.692Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T19:11:27.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:11:27.913Z] prd-ubuntu20.04-docker-arm64-4c-16g-505 does not seem to be running inside a container [2022-05-31T19:11:27.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T19:11:29.176Z] $ docker top 71641393f39c4b92275c6fbba28ba7280e5cbf5e325399d7dc58c4fa28eaeaee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T19:11:30.105Z] + make test [2022-05-31T19:11:30.105Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-31T19:11:32.089Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-31T19:12:53.921Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-31T19:12:53.921Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-05-31T19:12:53.921Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-31T19:12:53.922Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T19:13:16.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T19:13:16.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T19:13:16.110Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T19:13:17.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T19:13:17.585Z] $ docker stop --time=1 71641393f39c4b92275c6fbba28ba7280e5cbf5e325399d7dc58c4fa28eaeaee [2022-05-31T19:13:19.308Z] $ docker rm -f 71641393f39c4b92275c6fbba28ba7280e5cbf5e325399d7dc58c4fa28eaeaee [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T19:13:20.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T19:13:20.267Z] Warning: overwriting stash ‘coverage-report’ [2022-05-31T19:13:20.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T19:13:21.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T19:13:21.405Z] + ls -al . [2022-05-31T19:13:21.405Z] total 168 [2022-05-31T19:13:21.405Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 19:13 . [2022-05-31T19:13:21.405Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 19:09 .. [2022-05-31T19:13:21.405Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 19:09 .dockerignore [2022-05-31T19:13:21.405Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 19:09 .git [2022-05-31T19:13:21.405Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:09 .github [2022-05-31T19:13:21.405Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 19:09 .gitignore [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 19:09 .golangci.yml [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 8596 May 31 19:09 Attribution.txt [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 31 19:09 CHANGELOG.md [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 31 19:09 Dockerfile [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 19:09 GOVERNANCE.md [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 19:09 Jenkinsfile [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 19:09 LICENSE [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 31 19:09 Makefile [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 19:09 OWNERS.md [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 31 19:09 README.md [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 19:07 VERSION [2022-05-31T19:13:21.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 19:09 bin [2022-05-31T19:13:21.406Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:09 cmd [2022-05-31T19:13:21.406Z] -rw-r--r-- 1 jenkins jenkins 9355 May 31 19:12 coverage.out [2022-05-31T19:13:21.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 19:09 driver [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 31 19:09 go.mod [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 35433 May 31 19:09 go.sum [2022-05-31T19:13:21.406Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 19:09 snap [2022-05-31T19:13:21.406Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:13:21.763Z] + 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=0e70da98cff13cf27bcc98182ddbbd5547590dcc --label arch=arm64 --label version=0.0.0 . [2022-05-31T19:13:21.763Z] Sending build context to Docker daemon 138.8kB [2022-05-31T19:13:22.036Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T19:13:22.036Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-31T19:13:22.036Z] ---> 6e2d9ecfc1c3 [2022-05-31T19:13:22.036Z] Step 3/25 : ARG MAKE='make build' [2022-05-31T19:13:22.310Z] ---> Running in 2d53cc15b06e [2022-05-31T19:13:22.583Z] Removing intermediate container 2d53cc15b06e [2022-05-31T19:13:22.583Z] ---> 1bbae25b869a [2022-05-31T19:13:22.583Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T19:13:22.583Z] ---> Running in 9a3e772b739b [2022-05-31T19:13:22.856Z] Removing intermediate container 9a3e772b739b [2022-05-31T19:13:22.856Z] ---> 10f521865b0d [2022-05-31T19:13:22.856Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T19:13:22.856Z] ---> Running in 9c6e888bf76e [2022-05-31T19:13:23.129Z] Removing intermediate container 9c6e888bf76e [2022-05-31T19:13:23.129Z] ---> 2f7e1c75ada0 [2022-05-31T19:13:23.129Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T19:13:23.405Z] ---> Running in 7139dafd10df [2022-05-31T19:13:25.392Z] Removing intermediate container 7139dafd10df [2022-05-31T19:13:25.392Z] ---> cc47064bac5c [2022-05-31T19:13:25.392Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T19:13:25.392Z] ---> Running in 8eaaa49710bf [2022-05-31T19:13:25.990Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T19:13:26.970Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T19:13:27.948Z] OK: 224 MiB in 56 packages [2022-05-31T19:13:28.544Z] Removing intermediate container 8eaaa49710bf [2022-05-31T19:13:28.544Z] ---> 1f71cec7bcc8 [2022-05-31T19:13:28.544Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-31T19:13:28.827Z] ---> Running in 68a0f2d461c7 [2022-05-31T19:13:29.103Z] Removing intermediate container 68a0f2d461c7 [2022-05-31T19:13:29.103Z] ---> 49c605ccf4ff [2022-05-31T19:13:29.103Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-31T19:13:29.380Z] ---> 584257887ae4 [2022-05-31T19:13:29.380Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T19:13:29.656Z] ---> Running in 2b90c747be6b [2022-05-31T19:13:31.634Z] Removing intermediate container 2b90c747be6b [2022-05-31T19:13:31.634Z] ---> aeac16fd59a1 [2022-05-31T19:13:31.634Z] Step 11/25 : COPY . . [2022-05-31T19:13:31.916Z] ---> 7f2f325e9977 [2022-05-31T19:13:31.916Z] Step 12/25 : RUN $MAKE [2022-05-31T19:13:31.916Z] ---> Running in 52401d7dac18 [2022-05-31T19:13:32.917Z] 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-31T19:15:39.812Z] Removing intermediate container 52401d7dac18 [2022-05-31T19:15:39.812Z] ---> eb888b944762 [2022-05-31T19:15:39.812Z] Step 13/25 : FROM alpine:3.14 [2022-05-31T19:15:39.812Z] 3.14: Pulling from library/alpine [2022-05-31T19:15:39.812Z] 455c02918c45: Pulling fs layer [2022-05-31T19:15:39.812Z] 455c02918c45: Verifying Checksum [2022-05-31T19:15:39.812Z] 455c02918c45: Download complete [2022-05-31T19:15:39.812Z] 455c02918c45: Pull complete [2022-05-31T19:15:39.812Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T19:15:39.812Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T19:15:39.812Z] ---> ac73e934f311 [2022-05-31T19:15:39.812Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-31T19:15:39.812Z] ---> Running in 90b6055b7160 [2022-05-31T19:15:39.812Z] Removing intermediate container 90b6055b7160 [2022-05-31T19:15:39.812Z] ---> 2dbf99ee48b3 [2022-05-31T19:15:39.812Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-31T19:15:39.812Z] ---> Running in 0a836235386b [2022-05-31T19:15:39.812Z] Removing intermediate container 0a836235386b [2022-05-31T19:15:39.812Z] ---> faa8f034ea94 [2022-05-31T19:15:39.812Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T19:15:39.812Z] ---> Running in 68cd0a7142ec [2022-05-31T19:15:39.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-31T19:15:39.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-31T19:15:39.812Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T19:15:39.812Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T19:15:39.812Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T19:15:39.812Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T19:15:39.812Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T19:15:39.812Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T19:15:39.812Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T19:15:39.812Z] OK: 8 MiB in 20 packages [2022-05-31T19:15:39.812Z] Removing intermediate container 68cd0a7142ec [2022-05-31T19:15:39.812Z] ---> 56e61562c065 [2022-05-31T19:15:39.812Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-31T19:15:39.812Z] ---> 3fefb473200e [2022-05-31T19:15:39.812Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-31T19:15:39.812Z] ---> a2b014567f76 [2022-05-31T19:15:39.812Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-31T19:15:39.812Z] ---> 8dc82d34bc09 [2022-05-31T19:15:39.812Z] Step 20/25 : EXPOSE 59986 [2022-05-31T19:15:39.812Z] ---> Running in 3c239eb8bf80 [2022-05-31T19:15:39.812Z] Removing intermediate container 3c239eb8bf80 [2022-05-31T19:15:39.812Z] ---> 97faeac54124 [2022-05-31T19:15:39.812Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-31T19:15:39.812Z] ---> Running in 212fff965132 [2022-05-31T19:15:39.812Z] Removing intermediate container 212fff965132 [2022-05-31T19:15:39.812Z] ---> 2ac8fe69f4c0 [2022-05-31T19:15:39.812Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-31T19:15:39.812Z] ---> Running in bd3fe7043d46 [2022-05-31T19:15:39.812Z] Removing intermediate container bd3fe7043d46 [2022-05-31T19:15:39.812Z] ---> 7ab5272e0709 [2022-05-31T19:15:39.812Z] Step 23/25 : LABEL arch=arm64 [2022-05-31T19:15:39.812Z] ---> Running in 0e691c6382bc [2022-05-31T19:15:39.812Z] Removing intermediate container 0e691c6382bc [2022-05-31T19:15:39.812Z] ---> e3cd6306352a [2022-05-31T19:15:39.812Z] Step 24/25 : LABEL git_sha=0e70da98cff13cf27bcc98182ddbbd5547590dcc [2022-05-31T19:15:39.812Z] ---> Running in 5336ebfbcdd2 [2022-05-31T19:15:39.812Z] Removing intermediate container 5336ebfbcdd2 [2022-05-31T19:15:39.812Z] ---> 738a4b03d7b0 [2022-05-31T19:15:39.813Z] Step 25/25 : LABEL version=0.0.0 [2022-05-31T19:15:39.813Z] ---> Running in 2758a2f30c4c [2022-05-31T19:15:39.813Z] Removing intermediate container 2758a2f30c4c [2022-05-31T19:15:39.813Z] ---> de32c267fd76 [2022-05-31T19:15:39.813Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T19:15:39.813Z] Successfully built de32c267fd76 [2022-05-31T19:15:39.813Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:15:40.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T19:15:40.250Z] [2022-05-31T19:15:40.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:15:40.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T19:15:40.889Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-31T19:15:40.889Z] 8998bd30e6a1: Pulling fs layer [2022-05-31T19:15:40.889Z] 04944245beec: Pulling fs layer [2022-05-31T19:15:40.889Z] 699f458cf7ca: Pulling fs layer [2022-05-31T19:15:40.889Z] 765212b225bb: Pulling fs layer [2022-05-31T19:15:40.889Z] f23df028b6ca: Pulling fs layer [2022-05-31T19:15:40.889Z] d65c8cfc05b1: Pulling fs layer [2022-05-31T19:15:40.889Z] 2437ff75d9bd: Pulling fs layer [2022-05-31T19:15:40.889Z] f23df028b6ca: Waiting [2022-05-31T19:15:40.889Z] d65c8cfc05b1: Waiting [2022-05-31T19:15:40.889Z] 765212b225bb: Waiting [2022-05-31T19:15:40.889Z] 2437ff75d9bd: Waiting [2022-05-31T19:15:40.889Z] 04944245beec: Verifying Checksum [2022-05-31T19:15:40.889Z] 04944245beec: Download complete [2022-05-31T19:15:40.889Z] 765212b225bb: Verifying Checksum [2022-05-31T19:15:40.889Z] 765212b225bb: Download complete [2022-05-31T19:15:40.889Z] f23df028b6ca: Verifying Checksum [2022-05-31T19:15:40.889Z] d65c8cfc05b1: Verifying Checksum [2022-05-31T19:15:40.889Z] d65c8cfc05b1: Download complete [2022-05-31T19:15:41.165Z] 699f458cf7ca: Verifying Checksum [2022-05-31T19:15:41.165Z] 699f458cf7ca: Download complete [2022-05-31T19:15:41.441Z] 8998bd30e6a1: Verifying Checksum [2022-05-31T19:15:41.441Z] 8998bd30e6a1: Download complete [2022-05-31T19:15:44.069Z] 2437ff75d9bd: Verifying Checksum [2022-05-31T19:15:44.069Z] 2437ff75d9bd: Download complete [2022-05-31T19:15:45.512Z] 8998bd30e6a1: Pull complete [2022-05-31T19:15:46.111Z] 04944245beec: Pull complete [2022-05-31T19:15:47.553Z] 699f458cf7ca: Pull complete [2022-05-31T19:15:47.827Z] 765212b225bb: Pull complete [2022-05-31T19:15:48.812Z] f23df028b6ca: Pull complete [2022-05-31T19:15:49.088Z] d65c8cfc05b1: Pull complete [2022-05-31T19:16:04.187Z] 2437ff75d9bd: Pull complete [2022-05-31T19:16:04.187Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-31T19:16:04.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T19:16:04.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:16:04.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-505 does not seem to be running inside a container [2022-05-31T19:16:04.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-31T19:16:06.971Z] $ docker top 747953e407df30093b1c56a307ec8bd836ba029121726c8a07581d4822f8f00b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:07.875Z] ---> job-cost.sh [2022-05-31T19:16:07.875Z] lf-activate-venv: SKIPPING [2022-05-31T19:16:07.875Z] INFO: No Stack... [2022-05-31T19:16:08.146Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-31T19:16:09.120Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T19:16:09.776Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-05-31T19:16:09.776Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T19:16:09.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [2022-05-31T19:16:09.841Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] did not exist. Created. [2022-05-31T19:16:09.841Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T19:16:10.515Z] /w/workspace/device-rest-go/2@tmp/durable-35eda2ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-31T19:16:11.184Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-31T19:16:11.219Z] Warning: overwriting stash ‘stack-cost’ [2022-05-31T19:16:11.263Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T19:16:11.268Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T19:16:11.288Z] $ docker stop --time=1 747953e407df30093b1c56a307ec8bd836ba029121726c8a07581d4822f8f00b [2022-05-31T19:16:12.743Z] $ docker rm -f 747953e407df30093b1c56a307ec8bd836ba029121726c8a07581d4822f8f00b [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-31T19:16:13.195Z] provisioning config files... [2022-05-31T19:16:13.205Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config6637638296374705330tmp [Pipeline] { [Pipeline] sh [2022-05-31T19:16:13.501Z] + set +x [2022-05-31T19:16:13.501Z] + curl -s https://codecov.io/bash [2022-05-31T19:16:13.501Z] + bash -s -- [2022-05-31T19:16:13.501Z] [2022-05-31T19:16:13.501Z] _____ _ [2022-05-31T19:16:13.501Z] / ____| | | [2022-05-31T19:16:13.501Z] | | ___ __| | ___ ___ _____ __ [2022-05-31T19:16:13.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-31T19:16:13.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-31T19:16:13.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-31T19:16:13.501Z] Bash-1.0.6 [2022-05-31T19:16:13.501Z] [2022-05-31T19:16:13.501Z] [2022-05-31T19:16:13.501Z] ==> git version 2.25.1 found [2022-05-31T19:16:13.501Z] ==> 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-31T19:16:13.501Z] Release-Date: 2020-01-08 [2022-05-31T19:16:13.501Z] 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-31T19:16:13.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-31T19:16:13.501Z] ==> Jenkins CI detected. [2022-05-31T19:16:13.501Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-190 [2022-05-31T19:16:13.501Z] project root: . [2022-05-31T19:16:13.501Z] --> token set from env [2022-05-31T19:16:13.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-31T19:16:13.501Z] ==> Running gcov in . (disable via -X gcov) [2022-05-31T19:16:13.501Z] ==> Python coveragepy not found [2022-05-31T19:16:13.501Z] ==> Searching for coverage reports in: [2022-05-31T19:16:13.501Z] + . [2022-05-31T19:16:13.501Z] -> Found 1 reports [2022-05-31T19:16:13.501Z] ==> Detecting git/mercurial file structure [2022-05-31T19:16:13.501Z] ==> Reading reports [2022-05-31T19:16:13.501Z] + ./coverage.out bytes=9355 [2022-05-31T19:16:13.501Z] ==> Appending adjustments [2022-05-31T19:16:13.501Z] https://docs.codecov.io/docs/fixing-reports [2022-05-31T19:16:13.762Z] + Found adjustments [2022-05-31T19:16:13.762Z] ==> Gzipping contents [2022-05-31T19:16:13.762Z] 4.0K /tmp/codecov.Kly4qK.gz [2022-05-31T19:16:13.762Z] ==> Uploading reports [2022-05-31T19:16:13.762Z] url: https://codecov.io [2022-05-31T19:16:13.762Z] query: branch=PR-190&commit=ef35f4d714e270de2047c75b0cc039ded6f159e4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= [2022-05-31T19:16:13.762Z] -> Pinging Codecov [2022-05-31T19:16:13.762Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-190&commit=ef35f4d714e270de2047c75b0cc039ded6f159e4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= [2022-05-31T19:16:14.023Z] -> Uploading to [2022-05-31T19:16:14.023Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-31/4E5D53B4F1F92C436F7061BF334D961C/ef35f4d714e270de2047c75b0cc039ded6f159e4/2e036dd4-343d-42d1-b80a-c2c128b99c91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T191613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e179870aee11a849b08f800ffadb744235463f3466809fc50222f6f060635378 [2022-05-31T19:16:14.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T19:16:14.023Z] Dload Upload Total Spent Left Speed [2022-05-31T19:16:14.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7818 [2022-05-31T19:16:14.043Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ef35f4d714e270de2047c75b0cc039ded6f159e4 [Pipeline] } [2022-05-31T19:16:14.046Z] 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-31T19:16:14.778Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-190/archives ] [2022-05-31T19:16:14.779Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-05-31T19:16:14.779Z] total 16 [2022-05-31T19:16:14.779Z] drwxr-xr-x 3 root root 4096 May 31 19:09 . [2022-05-31T19:16:14.779Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 19:09 .. [2022-05-31T19:16:14.779Z] drwxr-xr-x 2 root root 4096 May 31 19:09 cost [2022-05-31T19:16:14.779Z] -rw-r--r-- 1 root root 85 May 31 19:09 cost.csv [2022-05-31T19:16:14.779Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-05-31T19:16:14.779Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-05-31T19:16:14.779Z] total 16 [2022-05-31T19:16:14.779Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 19:09 . [2022-05-31T19:16:14.779Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 19:09 .. [2022-05-31T19:16:14.779Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 19:09 cost [2022-05-31T19:16:14.779Z] -rw-r--r-- 1 jenkins jenkins 85 May 31 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:15.075Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:15.939Z] ---> package-listing.sh [2022-05-31T19:16:15.939Z] ++ facter osfamily [2022-05-31T19:16:15.939Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-31T19:16:16.199Z] + OS_FAMILY=debian [2022-05-31T19:16:16.199Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-190 [2022-05-31T19:16:16.199Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-31T19:16:16.199Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-31T19:16:16.199Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-31T19:16:16.199Z] + PACKAGES=/tmp/packages_start.txt [2022-05-31T19:16:16.199Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' [2022-05-31T19:16:16.199Z] + PACKAGES=/tmp/packages_end.txt [2022-05-31T19:16:16.199Z] + case "${OS_FAMILY}" in [2022-05-31T19:16:16.199Z] + dpkg -l [2022-05-31T19:16:16.199Z] + grep '^ii' [2022-05-31T19:16:16.199Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-31T19:16:16.200Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-31T19:16:16.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-31T19:16:16.200Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' [2022-05-31T19:16:16.200Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [2022-05-31T19:16:16.200Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [Pipeline] echo [2022-05-31T19:16:16.212Z] 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-31T19:16:16.492Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T19:16:17.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T19:16:17.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T19:16:17.136Z] prd-ubuntu20.04-docker-8c-8g-504 does not seem to be running inside a container [2022-05-31T19:16:17.181Z] $ 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-190/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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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-31T19:16:17.412Z] $ docker top 1ea9176052c321b8d677ddedf4814c47f7d5b86a7f7f512638f3bf2ef4e80fca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T19:16:17.764Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-31T19:16:18.052Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-31T19:16:18.339Z] + ls /var/log/sa-host [2022-05-31T19:16:18.339Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T19:16:18.465Z] provisioning config files... [2022-05-31T19:16:18.474Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config1555676826133751736tmp [Pipeline] { [Pipeline] echo [2022-05-31T19:16:18.486Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:18.769Z] ---> create-netrc.sh [Pipeline] } [2022-05-31T19:16:18.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:19.108Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-31T19:16:19.116Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:19.401Z] ---> sudo-logs.sh [2022-05-31T19:16:19.401Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-31T19:16:19.423Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:19.712Z] ---> job-cost.sh [2022-05-31T19:16:19.712Z] lf-activate-venv: SKIPPING [2022-05-31T19:16:19.712Z] DEBUG: total: 0.2199999988079071 [2022-05-31T19:16:19.712Z] INFO: Retrieving Stack Cost... [2022-05-31T19:16:20.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T19:16:20.541Z] INFO: Archiving Costs [Pipeline] echo [2022-05-31T19:16:20.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T19:16:20.835Z] ---> logs-deploy.sh [2022-05-31T19:16:20.835Z] lf-activate-venv: SKIPPING [2022-05-31T19:16:20.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-190/2 [2022-05-31T19:16:20.835Z] INFO: archiving workspace using pattern(s): [2022-05-31T19:16:21.776Z] Archives upload complete. [2022-05-31T19:16:21.776Z] INFO: archiving logs to Nexus