Pull request #153 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5bc210e6f011023bf97f2597a6b4a27e68849c3b+7e17efc4e40053c7710c451774e80e9bfae25c24 (7f482142fcd3e06e5d7f24420b40969d4a0f6335) 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-ssh12479244395984815651.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10040187479622910154.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-153/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2952711998112304637.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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10460985420382926041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18120318087451862380.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-153/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3800445851583285895.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2255’ Running on prd-centos7-docker-4c-2g-2258 in /w/workspace/gexfoundry_device-rest-go_PR-153 [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-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/jenkins-gitclient-ssh3889239733031701600.key > 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 7e17efc4e40053c7710c451774e80e9bfae25c24 into PR head commit 5bc210e6f011023bf97f2597a6b4a27e68849c3b > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/jenkins-gitclient-ssh5592201518173321138.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 > git remote # timeout=10 Merge succeeded, producing 5bc210e6f011023bf97f2597a6b4a27e68849c3b Checking out Revision 5bc210e6f011023bf97f2597a6b4a27e68849c3b (PR-153) > 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 /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/jenkins-gitclient-ssh2971423448558298025.key > git merge 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 Commit message: "ci: gomod changes related for Go 1.17" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:02:21.910Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:02:22.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:02:22.130Z] ========================================================= [2022-01-20T18:02:22.130Z] EdgeX Global Pipelines Version Info [2022-01-20T18:02:22.130Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:02:23.297Z] ------------------- [2022-01-20T18:02:23.297Z] stable info: [2022-01-20T18:02:23.297Z] ------------------- [2022-01-20T18:02:23.297Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:02:23.297Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:02:23.297Z] Message: update stable to v1.0.219 [2022-01-20T18:02:23.875Z] ------------------- [2022-01-20T18:02:23.875Z] experimental info: [2022-01-20T18:02:23.875Z] ------------------- [2022-01-20T18:02:23.875Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:02:23.875Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:02:23.875Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:02:24.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-20T18:02:24.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-20T18:02:24.206Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:02:24.251Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:02:24.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:02:24.442Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:02:24.482Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:02:24.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:02:24.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:02:24.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:02:24.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:02:24.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-20T18:02:24.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:02:24.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:02:24.800Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:02:24.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:02:24.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:02:24.916Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:02:24.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:02:24.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-20T18:02:25.035Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:02:25.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:02:25.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:02:25.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:02:25.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:02:25.247Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:02:25.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-01-20T18:02:25.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-01-20T18:02:25.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-01-20T18:02:25.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo [2022-01-20T18:02:25.474Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bc210e [Pipeline] echo [2022-01-20T18:02:25.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:02:25.622Z] provisioning config files... [2022-01-20T18:02:25.636Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config8450353990866200149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:02:26.004Z] ---> docker-login.sh [2022-01-20T18:02:26.004Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:02:26.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:26.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:26.004Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:26.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:26.004Z] [2022-01-20T18:02:26.004Z] Login Succeeded [2022-01-20T18:02:26.267Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:02:26.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:26.267Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:26.267Z] [2022-01-20T18:02:26.267Z] Login Succeeded [2022-01-20T18:02:26.267Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:02:26.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:26.267Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:26.267Z] [2022-01-20T18:02:26.267Z] Login Succeeded [2022-01-20T18:02:26.267Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:02:26.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:26.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:26.532Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:26.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:26.532Z] [2022-01-20T18:02:26.532Z] Login Succeeded [2022-01-20T18:02:26.532Z] docker.io [2022-01-20T18:02:26.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:26.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:26.798Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:26.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:26.798Z] [2022-01-20T18:02:26.798Z] Login Succeeded [2022-01-20T18:02:26.798Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:02:26.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T18:02:27.490Z] + git rev-list -1 --merges 5bc210e6f011023bf97f2597a6b4a27e68849c3b~1..5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo [2022-01-20T18:02:27.544Z] -----------> git rev-list -1 --merges 5bc210e6f011023bf97f2597a6b4a27e68849c3b~1..5bc210e6f011023bf97f2597a6b4a27e68849c3b 5bc210e6f011023bf97f2597a6b4a27e68849c3b [false] [Pipeline] sh [2022-01-20T18:02:27.866Z] + git log --format=format:%s -1 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo [2022-01-20T18:02:27.904Z] ========================================================= [2022-01-20T18:02:27.904Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:02:27.904Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:02:28.348Z] + git log --format=format:%s -1 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo [2022-01-20T18:02:28.381Z] [semverPrep] GIT_COMMIT: 5bc210e6f011023bf97f2597a6b4a27e68849c3b, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo [2022-01-20T18:02:28.414Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:02:28.828Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:02:28.828Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:02:28.828Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:02:28.828Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:02:28.828Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:02:28.828Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:02:28.828Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:29.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:29.220Z] [2022-01-20T18:02:29.220Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:29.571Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:29.572Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:02:29.572Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:02:29.572Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:02:29.572Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:02:29.572Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:02:29.572Z] 0c2d73faf560: Waiting [2022-01-20T18:02:29.572Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:02:29.572Z] 3e5f54012d9b: Download complete [2022-01-20T18:02:29.572Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:02:29.572Z] a0d0a0d46f8b: Download complete [2022-01-20T18:02:29.572Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:02:29.572Z] 4c7163046ea9: Download complete [2022-01-20T18:02:29.572Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:02:29.572Z] 0c2d73faf560: Download complete [2022-01-20T18:02:29.851Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:02:29.851Z] 3e5f54012d9b: Pull complete [2022-01-20T18:02:30.129Z] 4c7163046ea9: Pull complete [2022-01-20T18:02:30.396Z] 0c2d73faf560: Pull complete [2022-01-20T18:02:30.396Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:02:30.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:02:30.396Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:02:30.495Z] prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container [2022-01-20T18:02:30.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:02:31.272Z] $ docker top b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:02:31.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:02:31.476Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:02:31.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:02:31.578Z] $ docker exec b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent [2022-01-20T18:02:31.677Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKlNPbK/agent.16 [2022-01-20T18:02:31.677Z] SSH_AGENT_PID=22 [2022-01-20T18:02:31.684Z] Running ssh-add (command line suppressed) [2022-01-20T18:02:31.774Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_4451520958292863049.key (/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_4451520958292863049.key) [2022-01-20T18:02:31.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:02:32.125Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:02:32.150Z] $ docker exec --env ******** --env ******** b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent -k [2022-01-20T18:02:32.241Z] unset SSH_AUTH_SOCK; [2022-01-20T18:02:32.242Z] unset SSH_AGENT_PID; [2022-01-20T18:02:32.242Z] echo Agent pid 22 killed; [2022-01-20T18:02:32.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:02:32.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:02:32.348Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:02:32.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:02:32.452Z] $ docker exec b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent [2022-01-20T18:02:32.548Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDiaFCo/agent.56 [2022-01-20T18:02:32.548Z] SSH_AGENT_PID=62 [2022-01-20T18:02:32.553Z] Running ssh-add (command line suppressed) [2022-01-20T18:02:32.648Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_7489200489989613625.key (/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_7489200489989613625.key) [2022-01-20T18:02:32.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:02:32.996Z] + git semver init [2022-01-20T18:02:32.997Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:02:32.997Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-153/.git [2022-01-20T18:02:32.997Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-153 [2022-01-20T18:02:32.997Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:02:32.997Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:02:32.997Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:02:32.997Z] # $SEMVER_BRANCH = PR-153 [2022-01-20T18:02:32.997Z] # $SEMVER_TEMP = /tmp/semver-596106634 [2022-01-20T18:02:32.997Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-20T18:02:34.383Z] # '/tmp/semver-596106634' -> '/w/workspace/gexfoundry_device-rest-go_PR-153/.semver' [2022-01-20T18:02:34.383Z] # -> Force: false [2022-01-20T18:02:34.383Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-153/.semver [Pipeline] } [2022-01-20T18:02:34.407Z] $ docker exec --env ******** --env ******** b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent -k [2022-01-20T18:02:34.508Z] unset SSH_AUTH_SOCK; [2022-01-20T18:02:34.508Z] unset SSH_AGENT_PID; [2022-01-20T18:02:34.508Z] echo Agent pid 62 killed; [2022-01-20T18:02:34.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:02:34.954Z] + git semver [Pipeline] } [2022-01-20T18:02:34.983Z] $ docker stop --time=1 b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 [2022-01-20T18:02:36.258Z] $ docker rm -f b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:02:36.674Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:02:36.972Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:02:36.991Z] [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-01-20T18:02:37.653Z] provisioning config files... [2022-01-20T18:02:37.662Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config4609397814362979920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:02:38.029Z] ---> docker-login.sh [2022-01-20T18:02:38.029Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:02:38.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:38.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:38.029Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:38.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:38.029Z] [2022-01-20T18:02:38.029Z] Login Succeeded [2022-01-20T18:02:38.029Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:02:38.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:38.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:38.029Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:38.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:38.029Z] [2022-01-20T18:02:38.029Z] Login Succeeded [2022-01-20T18:02:38.029Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:02:38.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:38.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:38.288Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:38.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:38.288Z] [2022-01-20T18:02:38.288Z] Login Succeeded [2022-01-20T18:02:38.288Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:02:38.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:38.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:38.288Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:38.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:38.288Z] [2022-01-20T18:02:38.288Z] Login Succeeded [2022-01-20T18:02:38.288Z] docker.io [2022-01-20T18:02:38.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:02:38.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:02:38.862Z] Configure a credential helper to remove this warning. See [2022-01-20T18:02:38.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:02:38.862Z] [2022-01-20T18:02:38.862Z] Login Succeeded [2022-01-20T18:02:38.862Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:02:38.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:02:39.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:02:39.116Z] ========================================================= [2022-01-20T18:02:39.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:02:39.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:02:39.532Z] + 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-01-20T18:02:39.532Z] Sending build context to Docker daemon 10.54MB [2022-01-20T18:02:39.532Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:02:39.532Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:02:39.532Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:02:39.532Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:02:39.532Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:02:39.532Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:02:39.532Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:02:39.532Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:02:39.532Z] f965cba54748: Pulling fs layer [2022-01-20T18:02:39.532Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:02:39.532Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:02:39.532Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:02:39.532Z] 4fe6c5a15a65: Waiting [2022-01-20T18:02:39.532Z] 22a0e8bec74d: Waiting [2022-01-20T18:02:39.532Z] f965cba54748: Waiting [2022-01-20T18:02:39.532Z] 861ffc35075e: Waiting [2022-01-20T18:02:39.532Z] 4b385c91608e: Waiting [2022-01-20T18:02:39.532Z] 560528eb2ebb: Waiting [2022-01-20T18:02:39.532Z] 8ed8ca486205: Verifying Checksum [2022-01-20T18:02:39.532Z] 8ed8ca486205: Download complete [2022-01-20T18:02:39.532Z] 666ba61612fd: Verifying Checksum [2022-01-20T18:02:39.532Z] 666ba61612fd: Download complete [2022-01-20T18:02:39.532Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:02:39.532Z] 22a0e8bec74d: Download complete [2022-01-20T18:02:39.813Z] f965cba54748: Verifying Checksum [2022-01-20T18:02:39.813Z] f965cba54748: Download complete [2022-01-20T18:02:39.813Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:02:39.813Z] 59bf1c3509f3: Download complete [2022-01-20T18:02:39.813Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:02:39.813Z] 861ffc35075e: Download complete [2022-01-20T18:02:39.813Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:02:39.813Z] 4b385c91608e: Download complete [2022-01-20T18:02:40.103Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:02:40.103Z] 560528eb2ebb: Download complete [2022-01-20T18:02:40.103Z] 59bf1c3509f3: Pull complete [2022-01-20T18:02:40.376Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:02:40.376Z] 4fe6c5a15a65: Download complete [2022-01-20T18:02:40.376Z] 666ba61612fd: Pull complete [2022-01-20T18:02:40.376Z] 8ed8ca486205: Pull complete [2022-01-20T18:02:44.625Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:02:44.625Z] 22a0e8bec74d: Pull complete [2022-01-20T18:02:44.625Z] f965cba54748: Pull complete [2022-01-20T18:02:44.625Z] 861ffc35075e: Pull complete [2022-01-20T18:02:44.625Z] 4b385c91608e: Pull complete [2022-01-20T18:02:47.201Z] 560528eb2ebb: Pull complete [2022-01-20T18:02:47.201Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:02:47.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:02:47.201Z] ---> dd4a08f94e63 [2022-01-20T18:02:47.201Z] Step 3/12 : ARG MAKE='make build' [2022-01-20T18:02:49.750Z] ---> Running in 00133902375f [2022-01-20T18:02:49.750Z] Removing intermediate container 00133902375f [2022-01-20T18:02:49.750Z] ---> 89e0073fad5d [2022-01-20T18:02:49.750Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:02:49.750Z] ---> Running in 071dbd62ca99 [2022-01-20T18:02:49.750Z] Removing intermediate container 071dbd62ca99 [2022-01-20T18:02:49.750Z] ---> bd6416c1e6ad [2022-01-20T18:02:49.750Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:02:49.750Z] ---> Running in e07b82c8201a [2022-01-20T18:02:49.750Z] Removing intermediate container e07b82c8201a [2022-01-20T18:02:49.750Z] ---> f91a6e811d79 [2022-01-20T18:02:49.750Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:02:49.750Z] ---> Running in 337f904e7e6c [2022-01-20T18:02:50.010Z] Removing intermediate container 337f904e7e6c [2022-01-20T18:02:50.010Z] ---> 6a4ba843924e [2022-01-20T18:02:50.010Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:02:50.010Z] ---> Running in 9682eb195ad9 [2022-01-20T18:02:50.270Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:02:51.209Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:02:51.473Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:02:51.733Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:02:51.733Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:02:51.733Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:02:51.999Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:02:51.999Z] OK: 224 MiB in 56 packages [2022-01-20T18:02:52.265Z] Removing intermediate container 9682eb195ad9 [2022-01-20T18:02:52.265Z] ---> 045cf42aaafc [2022-01-20T18:02:52.265Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-20T18:02:52.265Z] ---> Running in a022da8403b0 [2022-01-20T18:02:52.265Z] Removing intermediate container a022da8403b0 [2022-01-20T18:02:52.265Z] ---> bdede7c0a6e2 [2022-01-20T18:02:52.265Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-20T18:02:52.454Z] Still waiting to schedule task [2022-01-20T18:02:52.454Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2256’ [2022-01-20T18:02:52.526Z] ---> 29ce663a0420 [2022-01-20T18:02:52.526Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:02:52.526Z] ---> Running in 5e97d7fd45c6 [2022-01-20T18:03:31.372Z] Removing intermediate container 5e97d7fd45c6 [2022-01-20T18:03:31.372Z] ---> 9d2a3892abde [2022-01-20T18:03:31.372Z] Step 11/12 : COPY . . [2022-01-20T18:03:31.372Z] ---> 901c6f2f770d [2022-01-20T18:03:31.372Z] Step 12/12 : RUN $MAKE [2022-01-20T18:03:31.372Z] ---> Running in 257012a6b9a1 [2022-01-20T18:03:31.372Z] noop [2022-01-20T18:03:31.372Z] Removing intermediate container 257012a6b9a1 [2022-01-20T18:03:31.372Z] ---> 1146a3b43ccd [2022-01-20T18:03:31.372Z] Successfully built 1146a3b43ccd [2022-01-20T18:03:31.372Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:03:31.702Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:03:31.702Z] . [Pipeline] withDockerContainer [2022-01-20T18:03:31.796Z] prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container [2022-01-20T18:03:31.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T18:03:32.160Z] $ docker top 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:03:32.560Z] + go version [2022-01-20T18:03:32.560Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:03:32.591Z] $ docker stop --time=1 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 [2022-01-20T18:03:33.968Z] $ docker rm -f 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:03:34.654Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:03:34.655Z] . [Pipeline] withDockerContainer [2022-01-20T18:03:34.752Z] prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container [2022-01-20T18:03:34.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T18:03:35.141Z] $ docker top f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:03:35.600Z] + make test [2022-01-20T18:03:35.600Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-20T18:03:35.865Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-20T18:03:57.912Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-20T18:03:57.912Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-01-20T18:03:57.912Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:03:59.843Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:03:59.843Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:03:59.843Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:04:00.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:04:00.490Z] $ docker stop --time=1 f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e [2022-01-20T18:04:01.955Z] $ docker rm -f f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:04:02.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:04:02.456Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:04:03.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:04:03.607Z] + ls -al . [2022-01-20T18:04:03.607Z] total 148 [2022-01-20T18:04:03.607Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:04 . [2022-01-20T18:04:03.607Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:02 .. [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 20 18:02 Attribution.txt [2022-01-20T18:04:03.607Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:02 bin [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 20 18:02 CHANGELOG.md [2022-01-20T18:04:03.607Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:02 cmd [2022-01-20T18:04:03.607Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 20 18:03 coverage.out [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 1672 Jan 20 18:02 Dockerfile [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 18:02 .dockerignore [2022-01-20T18:04:03.607Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 20 18:02 driver [2022-01-20T18:04:03.607Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:02 .git [2022-01-20T18:04:03.607Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:02 .github [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:02 .gitignore [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 2894 Jan 20 18:02 go.mod [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 20 18:02 go.sum [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:02 GOVERNANCE.md [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 18:02 Jenkinsfile [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:02 LICENSE [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 20 18:02 Makefile [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:02 OWNERS.md [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 20 18:02 README.md [2022-01-20T18:04:03.607Z] drwx------. 3 jenkins jenkins 59 Jan 20 18:02 .semver [2022-01-20T18:04:03.607Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:02 snap [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:02 VERSION [2022-01-20T18:04:03.607Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:04:03.944Z] + 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=5bc210e6f011023bf97f2597a6b4a27e68849c3b --label arch=amd64 --label version=0.0.0 . [2022-01-20T18:04:03.944Z] Sending build context to Docker daemon 10.55MB [2022-01-20T18:04:03.944Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:04:03.944Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-20T18:04:03.944Z] ---> 1146a3b43ccd [2022-01-20T18:04:03.944Z] Step 3/25 : ARG MAKE='make build' [2022-01-20T18:04:03.944Z] ---> Running in b0ac1237409f [2022-01-20T18:04:04.205Z] Removing intermediate container b0ac1237409f [2022-01-20T18:04:04.205Z] ---> 0f651f40f57e [2022-01-20T18:04:04.205Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:04:04.205Z] ---> Running in b72403f4fb45 [2022-01-20T18:04:04.205Z] Removing intermediate container b72403f4fb45 [2022-01-20T18:04:04.205Z] ---> 793df57ee0d6 [2022-01-20T18:04:04.205Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:04:04.205Z] ---> Running in 520384fa3ed3 [2022-01-20T18:04:04.470Z] Removing intermediate container 520384fa3ed3 [2022-01-20T18:04:04.470Z] ---> 41e85ecef8fc [2022-01-20T18:04:04.470Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:04:04.470Z] ---> Running in 76f0e9be7faa [2022-01-20T18:04:04.783Z] Removing intermediate container 76f0e9be7faa [2022-01-20T18:04:04.783Z] ---> a5c8d34deafa [2022-01-20T18:04:04.783Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:04:04.783Z] ---> Running in 3d27c260a9a1 [2022-01-20T18:04:05.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:04:06.073Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:04:06.335Z] OK: 224 MiB in 56 packages [2022-01-20T18:04:06.595Z] Removing intermediate container 3d27c260a9a1 [2022-01-20T18:04:06.595Z] ---> 9cf4968a24a1 [2022-01-20T18:04:06.595Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-20T18:04:06.595Z] ---> Running in be1d02fbf034 [2022-01-20T18:04:06.595Z] Removing intermediate container be1d02fbf034 [2022-01-20T18:04:06.595Z] ---> b436af9a58e8 [2022-01-20T18:04:06.595Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-20T18:04:06.861Z] ---> 576ff98413c8 [2022-01-20T18:04:06.861Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:04:06.861Z] ---> Running in 54917eefd2c4 [2022-01-20T18:04:07.441Z] Removing intermediate container 54917eefd2c4 [2022-01-20T18:04:07.441Z] ---> b481f7c0ae14 [2022-01-20T18:04:07.441Z] Step 11/25 : COPY . . [2022-01-20T18:04:07.702Z] ---> 2caa45d6e481 [2022-01-20T18:04:07.702Z] Step 12/25 : RUN $MAKE [2022-01-20T18:04:07.702Z] ---> Running in 8001103a7f27 [2022-01-20T18:04:07.966Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-01-20T18:04:20.298Z] Removing intermediate container 8001103a7f27 [2022-01-20T18:04:20.298Z] ---> 5bb9fd06e357 [2022-01-20T18:04:20.298Z] Step 13/25 : FROM alpine:3.14 [2022-01-20T18:04:20.560Z] 3.14: Pulling from library/alpine [2022-01-20T18:04:20.831Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:04:20.831Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:04:20.831Z] 97518928ae5f: Download complete [2022-01-20T18:04:21.096Z] 97518928ae5f: Pull complete [2022-01-20T18:04:21.096Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:04:21.096Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:04:21.096Z] ---> 0a97eee8041e [2022-01-20T18:04:21.096Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-20T18:04:21.096Z] ---> Running in a8bc9a733302 [2022-01-20T18:04:21.357Z] Removing intermediate container a8bc9a733302 [2022-01-20T18:04:21.357Z] ---> 30a9bf7ccddf [2022-01-20T18:04:21.357Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-20T18:04:21.357Z] ---> Running in 4766a1f16730 [2022-01-20T18:04:21.357Z] Removing intermediate container 4766a1f16730 [2022-01-20T18:04:21.357Z] ---> 25f9536ea48d [2022-01-20T18:04:21.357Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:04:21.620Z] ---> Running in d09f6cd2bac3 [2022-01-20T18:04:21.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:04:22.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:04:22.139Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:04:22.139Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:04:22.139Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:04:22.139Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:04:22.139Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:04:22.139Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:04:22.398Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:04:22.398Z] OK: 8 MiB in 20 packages [2022-01-20T18:04:22.658Z] Removing intermediate container d09f6cd2bac3 [2022-01-20T18:04:22.658Z] ---> 12844ad4af72 [2022-01-20T18:04:22.658Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-20T18:04:23.231Z] ---> bff8abd149df [2022-01-20T18:04:23.231Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-20T18:04:23.492Z] ---> f9566e68f93b [2022-01-20T18:04:23.492Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-20T18:04:23.755Z] ---> fdba494961a5 [2022-01-20T18:04:23.755Z] Step 20/25 : EXPOSE 59986 [2022-01-20T18:04:23.755Z] ---> Running in 0cd56351ed84 [2022-01-20T18:04:24.018Z] Removing intermediate container 0cd56351ed84 [2022-01-20T18:04:24.018Z] ---> 6830bf239192 [2022-01-20T18:04:24.018Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-20T18:04:24.018Z] ---> Running in 0162645159d3 [2022-01-20T18:04:24.282Z] Removing intermediate container 0162645159d3 [2022-01-20T18:04:24.282Z] ---> 035b6545bd7b [2022-01-20T18:04:24.282Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-20T18:04:24.282Z] ---> Running in 9914d8cf26ae [2022-01-20T18:04:24.540Z] Removing intermediate container 9914d8cf26ae [2022-01-20T18:04:24.540Z] ---> edf745509a28 [2022-01-20T18:04:24.540Z] Step 23/25 : LABEL arch=amd64 [2022-01-20T18:04:24.540Z] ---> Running in 3143b37ed4be [2022-01-20T18:04:24.540Z] Removing intermediate container 3143b37ed4be [2022-01-20T18:04:24.540Z] ---> dd90d4791349 [2022-01-20T18:04:24.540Z] Step 24/25 : LABEL git_sha=5bc210e6f011023bf97f2597a6b4a27e68849c3b [2022-01-20T18:04:24.540Z] ---> Running in ccf48699fbd2 [2022-01-20T18:04:24.540Z] Removing intermediate container ccf48699fbd2 [2022-01-20T18:04:24.540Z] ---> 57fc8179b93c [2022-01-20T18:04:24.540Z] Step 25/25 : LABEL version=0.0.0 [2022-01-20T18:04:24.801Z] ---> Running in 070f277f48a4 [2022-01-20T18:04:24.801Z] Removing intermediate container 070f277f48a4 [2022-01-20T18:04:24.801Z] ---> facdcbdb4280 [2022-01-20T18:04:24.801Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:04:24.801Z] Successfully built facdcbdb4280 [2022-01-20T18:04:24.801Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:04:25.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:04:25.536Z] [2022-01-20T18:04:25.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:04:25.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:04:25.890Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:04:25.890Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:04:25.891Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:04:25.891Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:04:25.891Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:04:25.891Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:04:25.891Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:04:25.891Z] d287ab97295c: Pulling fs layer [2022-01-20T18:04:25.891Z] dc539afda2c1: Waiting [2022-01-20T18:04:25.891Z] 77bc0d833cb6: Waiting [2022-01-20T18:04:25.891Z] 9065ff56babe: Waiting [2022-01-20T18:04:25.891Z] d287ab97295c: Waiting [2022-01-20T18:04:25.891Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:04:25.891Z] a1111a8f2ec3: Download complete [2022-01-20T18:04:25.891Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:04:25.891Z] dc539afda2c1: Download complete [2022-01-20T18:04:25.891Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:04:25.891Z] ed53099fbce6: Download complete [2022-01-20T18:04:25.891Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:04:25.891Z] 9065ff56babe: Download complete [2022-01-20T18:04:25.891Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:04:25.891Z] 77bc0d833cb6: Download complete [2022-01-20T18:04:26.154Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:04:26.154Z] b4d181a07f80: Download complete [2022-01-20T18:04:26.734Z] d287ab97295c: Verifying Checksum [2022-01-20T18:04:26.734Z] d287ab97295c: Download complete [2022-01-20T18:04:27.682Z] b4d181a07f80: Pull complete [2022-01-20T18:04:27.682Z] a1111a8f2ec3: Pull complete [2022-01-20T18:04:28.281Z] ed53099fbce6: Pull complete [2022-01-20T18:04:28.281Z] dc539afda2c1: Pull complete [2022-01-20T18:04:28.540Z] 77bc0d833cb6: Pull complete [2022-01-20T18:04:28.540Z] 9065ff56babe: Pull complete [2022-01-20T18:04:33.878Z] d287ab97295c: Pull complete [2022-01-20T18:04:33.878Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:04:33.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:04:33.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:04:33.968Z] prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container [2022-01-20T18:04:34.003Z] $ 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-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@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-01-20T18:04:36.913Z] $ docker top 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:04:37.438Z] ---> job-cost.sh [2022-01-20T18:04:37.438Z] lf-activate-venv: SKIPPING [2022-01-20T18:04:37.438Z] INFO: No Stack... [2022-01-20T18:04:38.004Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:04:38.265Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:04:38.582Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-153/archives/cost.csv [2022-01-20T18:04:38.582Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:04:38.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [2022-01-20T18:04:38.622Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] did not exist. Created. [2022-01-20T18:04:38.622Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:04:39.025Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:04:39.079Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:04:39.102Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:04:39.182Z] $ docker stop --time=1 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e [2022-01-20T18:04:40.313Z] $ docker rm -f 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:05:40.349Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2264 in /w/workspace/gexfoundry_device-rest-go_PR-153 [Pipeline] { [Pipeline] ws [2022-01-20T18:05:40.395Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-01-20T18:05:40.632Z] The recommended git tool is: git [2022-01-20T18:05:46.058Z] using credential edgex-jenkins-ssh [2022-01-20T18:05:46.077Z] Cloning the remote Git repository [2022-01-20T18:05:46.154Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-20T18:05:46.248Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-01-20T18:05:46.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-20T18:05:46.351Z] > git --version # timeout=10 [2022-01-20T18:05:46.376Z] > git --version # 'git version 2.17.1' [2022-01-20T18:05:46.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:05:46.538Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:05:49.213Z] Merging remotes/origin/main commit 7e17efc4e40053c7710c451774e80e9bfae25c24 into PR head commit 5bc210e6f011023bf97f2597a6b4a27e68849c3b [2022-01-20T18:05:48.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-20T18:05:48.503Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:05:48.529Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-20T18:05:48.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-20T18:05:48.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:05:48.591Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-20T18:05:49.234Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:05:49.268Z] > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 [2022-01-20T18:05:49.357Z] > git remote # timeout=10 [2022-01-20T18:05:49.380Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T18:05:49.465Z] Merge succeeded, producing 5bc210e6f011023bf97f2597a6b4a27e68849c3b [2022-01-20T18:05:49.465Z] Checking out Revision 5bc210e6f011023bf97f2597a6b4a27e68849c3b (PR-153) [2022-01-20T18:05:49.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:05:49.416Z] > git merge 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 [2022-01-20T18:05:49.443Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T18:05:49.473Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:05:49.485Z] > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 [2022-01-20T18:05:53.907Z] Commit message: "ci: gomod changes related for Go 1.17" [2022-01-20T18:05:53.985Z] > git --version # timeout=10 [2022-01-20T18:05:54.003Z] > git --version # 'git version 2.17.1' [2022-01-20T18:05:54.024Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:05:55.152Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:05:55.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:05:55.152Z] Dload Upload Total Spent Left Speed [2022-01-20T18:05:55.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-01-20T18:05:55.675Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:05:56.029Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-01-20T18:05:56.029Z] [2022-01-20T18:05:56.029Z] { [2022-01-20T18:05:56.029Z] "registry-mirrors": [ [2022-01-20T18:05:56.029Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:05:56.029Z] ], [2022-01-20T18:05:56.029Z] "bip": "10.250.0.254/24", [2022-01-20T18:05:56.029Z] "hosts": [ [2022-01-20T18:05:56.029Z] "tcp://0.0.0.0:5555", [2022-01-20T18:05:56.029Z] "unix:///var/run/docker.sock" [2022-01-20T18:05:56.029Z] ], [2022-01-20T18:05:56.029Z] "mtu": 1458, [2022-01-20T18:05:56.029Z] "selinux-enabled": true, [2022-01-20T18:05:56.029Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:05:56.029Z] } [Pipeline] sh [2022-01-20T18:05:56.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:05:56.805Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:06:15.181Z] provisioning config files... [2022-01-20T18:06:15.211Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8826023341535535842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:06:15.810Z] ---> docker-login.sh [2022-01-20T18:06:15.810Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:06:16.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:06:16.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:06:16.679Z] Configure a credential helper to remove this warning. See [2022-01-20T18:06:16.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:06:16.679Z] [2022-01-20T18:06:16.679Z] Login Succeeded [2022-01-20T18:06:16.679Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:06:16.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:06:17.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:06:17.227Z] Configure a credential helper to remove this warning. See [2022-01-20T18:06:17.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:06:17.227Z] [2022-01-20T18:06:17.227Z] Login Succeeded [2022-01-20T18:06:17.227Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:06:17.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:06:17.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:06:17.502Z] Configure a credential helper to remove this warning. See [2022-01-20T18:06:17.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:06:17.502Z] [2022-01-20T18:06:17.502Z] Login Succeeded [2022-01-20T18:06:17.502Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:06:17.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:06:18.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:06:18.051Z] Configure a credential helper to remove this warning. See [2022-01-20T18:06:18.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:06:18.051Z] [2022-01-20T18:06:18.051Z] Login Succeeded [2022-01-20T18:06:18.051Z] docker.io [2022-01-20T18:06:18.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:06:18.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:06:18.595Z] Configure a credential helper to remove this warning. See [2022-01-20T18:06:18.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:06:18.595Z] [2022-01-20T18:06:18.595Z] Login Succeeded [2022-01-20T18:06:18.595Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:06:18.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:06:19.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:06:19.073Z] ========================================================= [2022-01-20T18:06:19.073Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:06:19.073Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:06:19.528Z] + 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-01-20T18:06:19.528Z] Sending build context to Docker daemon 124.4kB [2022-01-20T18:06:19.799Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:06:19.799Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:06:20.074Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:06:20.074Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:06:20.074Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:06:20.074Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:06:20.074Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:06:20.074Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:06:20.074Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:06:20.074Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:06:20.074Z] cf05db05a679: Pulling fs layer [2022-01-20T18:06:20.074Z] 0c92f367c5e7: Waiting [2022-01-20T18:06:20.074Z] 4b8299f9d1f4: Waiting [2022-01-20T18:06:20.074Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:06:20.074Z] 9a6b49a46696: Waiting [2022-01-20T18:06:20.074Z] cf05db05a679: Waiting [2022-01-20T18:06:20.074Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:06:20.074Z] 94645a83ff95: Download complete [2022-01-20T18:06:20.074Z] 1a89e8eeedd5: Download complete [2022-01-20T18:06:20.074Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:06:20.074Z] 0c92f367c5e7: Download complete [2022-01-20T18:06:20.074Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T18:06:20.074Z] 4b8299f9d1f4: Download complete [2022-01-20T18:06:20.074Z] 9b3977197b4f: Verifying Checksum [2022-01-20T18:06:20.074Z] 9b3977197b4f: Download complete [2022-01-20T18:06:20.074Z] 9a6b49a46696: Verifying Checksum [2022-01-20T18:06:20.074Z] 9a6b49a46696: Download complete [2022-01-20T18:06:20.673Z] 9b3977197b4f: Pull complete [2022-01-20T18:06:21.272Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:06:21.549Z] 94645a83ff95: Pull complete [2022-01-20T18:06:21.821Z] cf05db05a679: Verifying Checksum [2022-01-20T18:06:21.821Z] cf05db05a679: Download complete [2022-01-20T18:06:22.413Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T18:06:22.413Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:06:34.814Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:06:34.814Z] 0c92f367c5e7: Pull complete [2022-01-20T18:06:34.814Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:06:35.091Z] 9a6b49a46696: Pull complete [2022-01-20T18:06:40.499Z] cf05db05a679: Pull complete [2022-01-20T18:06:40.499Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:06:40.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:06:40.499Z] ---> 0ccda1f7e2ee [2022-01-20T18:06:40.499Z] Step 3/12 : ARG MAKE='make build' [2022-01-20T18:06:42.486Z] ---> Running in 722bbaa0d865 [2022-01-20T18:06:43.091Z] Removing intermediate container 722bbaa0d865 [2022-01-20T18:06:43.091Z] ---> 687474d753cd [2022-01-20T18:06:43.091Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:06:43.091Z] ---> Running in 462834380f16 [2022-01-20T18:06:43.686Z] Removing intermediate container 462834380f16 [2022-01-20T18:06:43.686Z] ---> 947682325af9 [2022-01-20T18:06:43.686Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:06:43.686Z] ---> Running in 1a0a25eb2c85 [2022-01-20T18:06:44.282Z] Removing intermediate container 1a0a25eb2c85 [2022-01-20T18:06:44.282Z] ---> de8d952fdc4b [2022-01-20T18:06:44.282Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:06:44.282Z] ---> Running in 5b2d760e47ac [2022-01-20T18:06:46.904Z] Removing intermediate container 5b2d760e47ac [2022-01-20T18:06:46.904Z] ---> 8ce537a9e2b4 [2022-01-20T18:06:46.904Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:06:46.904Z] ---> Running in 6d9daa1fcbed [2022-01-20T18:06:47.891Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:06:48.872Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:06:49.471Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:06:49.747Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:06:49.747Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:06:50.027Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:06:50.027Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:06:50.027Z] OK: 224 MiB in 56 packages [2022-01-20T18:06:51.478Z] Removing intermediate container 6d9daa1fcbed [2022-01-20T18:06:51.478Z] ---> ffacd3743433 [2022-01-20T18:06:51.478Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-20T18:06:51.478Z] ---> Running in b21d59ae2a73 [2022-01-20T18:06:51.766Z] Removing intermediate container b21d59ae2a73 [2022-01-20T18:06:51.766Z] ---> 5057e1e5bb76 [2022-01-20T18:06:51.766Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-20T18:06:52.765Z] ---> 8b7c75ef5ad7 [2022-01-20T18:06:52.765Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:06:52.765Z] ---> Running in 1501b5447bd7 [2022-01-20T18:08:14.587Z] Removing intermediate container 1501b5447bd7 [2022-01-20T18:08:14.587Z] ---> 294f3f660a3a [2022-01-20T18:08:14.587Z] Step 11/12 : COPY . . [2022-01-20T18:08:14.587Z] ---> b3ffed13850d [2022-01-20T18:08:14.587Z] Step 12/12 : RUN $MAKE [2022-01-20T18:08:14.587Z] ---> Running in a79dd41e7cca [2022-01-20T18:08:14.587Z] noop [2022-01-20T18:08:14.587Z] Removing intermediate container a79dd41e7cca [2022-01-20T18:08:14.587Z] ---> 0522f8fcf7bc [2022-01-20T18:08:14.587Z] Successfully built 0522f8fcf7bc [2022-01-20T18:08:14.587Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:08:14.971Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:08:14.971Z] . [Pipeline] withDockerContainer [2022-01-20T18:08:15.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container [2022-01-20T18:08:15.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:08:16.861Z] $ docker top 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:08:17.871Z] + go version [2022-01-20T18:08:17.871Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:08:17.917Z] $ docker stop --time=1 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b [2022-01-20T18:08:19.639Z] $ docker rm -f 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:08:20.552Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:08:20.552Z] . [Pipeline] withDockerContainer [2022-01-20T18:08:20.817Z] prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container [2022-01-20T18:08:20.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:08:22.335Z] $ docker top 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:08:23.386Z] + make test [2022-01-20T18:08:23.386Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-20T18:08:24.845Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-20T18:09:21.432Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-20T18:09:21.432Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.0% of statements [2022-01-20T18:09:21.432Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:09:43.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:09:43.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:09:43.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:09:43.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:09:43.673Z] $ docker stop --time=1 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 [2022-01-20T18:09:45.432Z] $ docker rm -f 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:09:46.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:09:46.428Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:09:46.953Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:09:47.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:09:47.922Z] + ls -al . [2022-01-20T18:09:47.923Z] total 176 [2022-01-20T18:09:47.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:09 . [2022-01-20T18:09:47.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:05 .. [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 18:05 .dockerignore [2022-01-20T18:09:47.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:05 .git [2022-01-20T18:09:47.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 .github [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:05 .gitignore [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 20 18:05 Attribution.txt [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 20 18:05 CHANGELOG.md [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jan 20 18:05 Dockerfile [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:05 GOVERNANCE.md [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 18:05 Jenkinsfile [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:05 LICENSE [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 20 18:05 Makefile [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:05 OWNERS.md [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 20 18:05 README.md [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:02 VERSION [2022-01-20T18:09:47.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 bin [2022-01-20T18:09:47.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:05 cmd [2022-01-20T18:09:47.923Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 20 18:09 coverage.out [2022-01-20T18:09:47.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 driver [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 2894 Jan 20 18:05 go.mod [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 20 18:05 go.sum [2022-01-20T18:09:47.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:05 snap [2022-01-20T18:09:47.923Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 18:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:09:48.296Z] + 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=5bc210e6f011023bf97f2597a6b4a27e68849c3b --label arch=arm64 --label version=0.0.0 . [2022-01-20T18:09:48.297Z] Sending build context to Docker daemon 134.1kB [2022-01-20T18:09:48.584Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:09:48.584Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-20T18:09:48.584Z] ---> 0522f8fcf7bc [2022-01-20T18:09:48.584Z] Step 3/25 : ARG MAKE='make build' [2022-01-20T18:09:48.584Z] ---> Running in 52bf85b86051 [2022-01-20T18:09:49.181Z] Removing intermediate container 52bf85b86051 [2022-01-20T18:09:49.181Z] ---> 801f658b75e2 [2022-01-20T18:09:49.181Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:09:49.181Z] ---> Running in d247f71fcb48 [2022-01-20T18:09:49.454Z] Removing intermediate container d247f71fcb48 [2022-01-20T18:09:49.454Z] ---> 9bf266fa9f1d [2022-01-20T18:09:49.454Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:09:49.726Z] ---> Running in ebdd17c97ed5 [2022-01-20T18:09:50.004Z] Removing intermediate container ebdd17c97ed5 [2022-01-20T18:09:50.004Z] ---> 768f9b9b1f29 [2022-01-20T18:09:50.004Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:09:50.004Z] ---> Running in ebe9fe928547 [2022-01-20T18:09:51.986Z] Removing intermediate container ebe9fe928547 [2022-01-20T18:09:51.986Z] ---> 16a6f7580b08 [2022-01-20T18:09:51.986Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:09:51.986Z] ---> Running in 1dc2315c5645 [2022-01-20T18:09:53.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:09:54.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:09:55.381Z] OK: 224 MiB in 56 packages [2022-01-20T18:09:56.377Z] Removing intermediate container 1dc2315c5645 [2022-01-20T18:09:56.377Z] ---> 956a30373197 [2022-01-20T18:09:56.377Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-20T18:09:56.377Z] ---> Running in 910dbf8b53f1 [2022-01-20T18:09:56.659Z] Removing intermediate container 910dbf8b53f1 [2022-01-20T18:09:56.659Z] ---> 7344b629ee08 [2022-01-20T18:09:56.659Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-20T18:09:57.651Z] ---> f3f24a8e90f6 [2022-01-20T18:09:57.651Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:09:57.651Z] ---> Running in 516acdac9bd1 [2022-01-20T18:10:00.295Z] Removing intermediate container 516acdac9bd1 [2022-01-20T18:10:00.295Z] ---> ad7e602640e5 [2022-01-20T18:10:00.295Z] Step 11/25 : COPY . . [2022-01-20T18:10:00.571Z] ---> 0bcf7140c4c7 [2022-01-20T18:10:00.571Z] Step 12/25 : RUN $MAKE [2022-01-20T18:10:00.857Z] ---> Running in 7b6ebaadeee4 [2022-01-20T18:10:01.856Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-01-20T18:10:48.870Z] Removing intermediate container 7b6ebaadeee4 [2022-01-20T18:10:48.870Z] ---> 13e74ed54675 [2022-01-20T18:10:48.870Z] Step 13/25 : FROM alpine:3.14 [2022-01-20T18:10:48.870Z] 3.14: Pulling from library/alpine [2022-01-20T18:10:48.870Z] be307f383ecc: Pulling fs layer [2022-01-20T18:10:48.870Z] be307f383ecc: Verifying Checksum [2022-01-20T18:10:48.870Z] be307f383ecc: Download complete [2022-01-20T18:10:48.870Z] be307f383ecc: Pull complete [2022-01-20T18:10:48.870Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:10:48.870Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:10:48.870Z] ---> 5b8b7b635229 [2022-01-20T18:10:48.870Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-20T18:10:48.870Z] ---> Running in e91a305d8ddb [2022-01-20T18:10:49.469Z] Removing intermediate container e91a305d8ddb [2022-01-20T18:10:49.469Z] ---> f0dd638b3523 [2022-01-20T18:10:49.469Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-20T18:10:49.469Z] ---> Running in 3a0867835972 [2022-01-20T18:10:49.744Z] Removing intermediate container 3a0867835972 [2022-01-20T18:10:49.744Z] ---> 8b7099854703 [2022-01-20T18:10:49.744Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:10:50.021Z] ---> Running in 23ee7fd835f0 [2022-01-20T18:10:51.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:10:51.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:10:52.294Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:10:52.294Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:10:52.294Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:10:52.294Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:10:52.294Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:10:52.294Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:10:52.294Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:10:52.294Z] OK: 8 MiB in 20 packages [2022-01-20T18:10:53.278Z] Removing intermediate container 23ee7fd835f0 [2022-01-20T18:10:53.278Z] ---> 00bce007e52d [2022-01-20T18:10:53.278Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-20T18:10:54.722Z] ---> 9c4bd4503cce [2022-01-20T18:10:54.722Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-20T18:10:54.993Z] ---> d7106f62f625 [2022-01-20T18:10:54.993Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-20T18:10:55.587Z] ---> 0970a4287bc2 [2022-01-20T18:10:55.587Z] Step 20/25 : EXPOSE 59986 [2022-01-20T18:10:55.859Z] ---> Running in aef55a86728b [2022-01-20T18:10:56.130Z] Removing intermediate container aef55a86728b [2022-01-20T18:10:56.130Z] ---> 3011f0d43231 [2022-01-20T18:10:56.130Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-20T18:10:56.130Z] ---> Running in 759c1c144ad1 [2022-01-20T18:10:56.409Z] Removing intermediate container 759c1c144ad1 [2022-01-20T18:10:56.409Z] ---> 653411b15b14 [2022-01-20T18:10:56.409Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-20T18:10:56.682Z] ---> Running in 6892c77c38b0 [2022-01-20T18:10:56.956Z] Removing intermediate container 6892c77c38b0 [2022-01-20T18:10:56.956Z] ---> 51185686f75b [2022-01-20T18:10:56.956Z] Step 23/25 : LABEL arch=arm64 [2022-01-20T18:10:56.956Z] ---> Running in e0671158e73f [2022-01-20T18:10:57.558Z] Removing intermediate container e0671158e73f [2022-01-20T18:10:57.558Z] ---> 77dbd78a6567 [2022-01-20T18:10:57.558Z] Step 24/25 : LABEL git_sha=5bc210e6f011023bf97f2597a6b4a27e68849c3b [2022-01-20T18:10:57.558Z] ---> Running in 11e4db8cef47 [2022-01-20T18:10:57.832Z] Removing intermediate container 11e4db8cef47 [2022-01-20T18:10:57.832Z] ---> 72cba7419a53 [2022-01-20T18:10:57.832Z] Step 25/25 : LABEL version=0.0.0 [2022-01-20T18:10:58.106Z] ---> Running in f1ca26725c31 [2022-01-20T18:10:58.381Z] Removing intermediate container f1ca26725c31 [2022-01-20T18:10:58.381Z] ---> 706e452d7eed [2022-01-20T18:10:58.381Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:10:58.381Z] Successfully built 706e452d7eed [2022-01-20T18:10:58.381Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:10:59.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:10:59.073Z] [2022-01-20T18:10:59.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:10:59.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:10:59.729Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:10:59.729Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:10:59.729Z] f757da607395: Pulling fs layer [2022-01-20T18:10:59.729Z] 05883995daec: Pulling fs layer [2022-01-20T18:10:59.729Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:10:59.729Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:10:59.729Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:10:59.729Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:10:59.729Z] 8603b9c90790: Waiting [2022-01-20T18:10:59.729Z] 1560dd03e051: Waiting [2022-01-20T18:10:59.729Z] f757da607395: Verifying Checksum [2022-01-20T18:10:59.729Z] f757da607395: Download complete [2022-01-20T18:10:59.729Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:10:59.729Z] 8603b9c90790: Download complete [2022-01-20T18:11:00.004Z] 1560dd03e051: Verifying Checksum [2022-01-20T18:11:00.004Z] 1560dd03e051: Download complete [2022-01-20T18:11:00.004Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:11:00.004Z] 27f5ce0e4adf: Download complete [2022-01-20T18:11:00.004Z] 05883995daec: Verifying Checksum [2022-01-20T18:11:00.004Z] 05883995daec: Download complete [2022-01-20T18:11:00.283Z] 448f6bf000e3: Verifying Checksum [2022-01-20T18:11:00.283Z] 448f6bf000e3: Download complete [2022-01-20T18:11:02.918Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:11:02.918Z] c2d8d7efcc4b: Download complete [2022-01-20T18:11:04.360Z] 448f6bf000e3: Pull complete [2022-01-20T18:11:04.956Z] f757da607395: Pull complete [2022-01-20T18:11:06.398Z] 05883995daec: Pull complete [2022-01-20T18:11:06.671Z] 8603b9c90790: Pull complete [2022-01-20T18:11:07.661Z] 1560dd03e051: Pull complete [2022-01-20T18:11:07.661Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:11:22.718Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:11:22.718Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:11:22.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:11:22.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:11:22.944Z] prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container [2022-01-20T18:11:23.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T18:11:25.977Z] $ docker top 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:26.961Z] ---> job-cost.sh [2022-01-20T18:11:26.961Z] lf-activate-venv: SKIPPING [2022-01-20T18:11:26.961Z] INFO: No Stack... [2022-01-20T18:11:27.234Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:11:27.508Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:11:28.188Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/1/archives/cost.csv [2022-01-20T18:11:28.189Z] [Pipeline] lock [2022-01-20T18:11:28.282Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [2022-01-20T18:11:28.287Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] did not exist. Created. [2022-01-20T18:11:28.287Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:11:29.046Z] /w/workspace/device-rest-go/1@tmp/durable-6a3f5619/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-6a3f5619/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:11:29.759Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:11:29.797Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:11:29.851Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:11:29.867Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:11:29.948Z] $ docker stop --time=1 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 [2022-01-20T18:11:31.477Z] $ docker rm -f 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 [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-01-20T18:11:32.498Z] provisioning config files... [2022-01-20T18:11:32.506Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config4470262790758903770tmp [Pipeline] { [Pipeline] sh [2022-01-20T18:11:32.836Z] + set +x [2022-01-20T18:11:32.836Z] + curl -s https://codecov.io/bash [2022-01-20T18:11:32.836Z] + bash -s -- [2022-01-20T18:11:32.836Z] [2022-01-20T18:11:32.836Z] _____ _ [2022-01-20T18:11:32.836Z] / ____| | | [2022-01-20T18:11:32.836Z] | | ___ __| | ___ ___ _____ __ [2022-01-20T18:11:32.836Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-20T18:11:32.836Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-20T18:11:32.836Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-20T18:11:32.836Z] Bash-1.0.6 [2022-01-20T18:11:32.836Z] [2022-01-20T18:11:32.836Z] [2022-01-20T18:11:32.836Z] ==> git version 2.24.4 found [2022-01-20T18:11:32.836Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-20T18:11:32.836Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-20T18:11:32.836Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-20T18:11:32.836Z] ==> Jenkins CI detected. [2022-01-20T18:11:32.836Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-153 [2022-01-20T18:11:32.836Z] project root: . [2022-01-20T18:11:32.836Z] --> token set from env [2022-01-20T18:11:32.836Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-20T18:11:32.836Z] ==> Running gcov in . (disable via -X gcov) [2022-01-20T18:11:32.836Z] ==> Python coveragepy not found [2022-01-20T18:11:32.836Z] ==> Searching for coverage reports in: [2022-01-20T18:11:32.836Z] + . [2022-01-20T18:11:32.836Z] -> Found 1 reports [2022-01-20T18:11:32.836Z] ==> Detecting git/mercurial file structure [2022-01-20T18:11:32.836Z] ==> Reading reports [2022-01-20T18:11:32.836Z] + ./coverage.out bytes=9215 [2022-01-20T18:11:32.836Z] ==> Appending adjustments [2022-01-20T18:11:32.836Z] https://docs.codecov.io/docs/fixing-reports [2022-01-20T18:11:33.097Z] + Found adjustments [2022-01-20T18:11:33.097Z] ==> Gzipping contents [2022-01-20T18:11:33.098Z] 4.0K /tmp/codecov.WsMlJk.gz [2022-01-20T18:11:33.098Z] ==> Uploading reports [2022-01-20T18:11:33.098Z] url: https://codecov.io [2022-01-20T18:11:33.098Z] query: branch=PR-153&commit=5bc210e6f011023bf97f2597a6b4a27e68849c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-01-20T18:11:33.098Z] -> Pinging Codecov [2022-01-20T18:11:33.098Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-153&commit=5bc210e6f011023bf97f2597a6b4a27e68849c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-01-20T18:11:33.362Z] -> Uploading to [2022-01-20T18:11:33.362Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-20/4E5D53B4F1F92C436F7061BF334D961C/5bc210e6f011023bf97f2597a6b4a27e68849c3b/bb381272-2aed-48e2-8c77-50d80fe2c56e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T181133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a98b7f79c54540864e1e629fcc631100875cf831fe96a30640d979f2b6d3b487 [2022-01-20T18:11:33.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:11:33.362Z] Dload Upload Total Spent Left Speed [2022-01-20T18:11:33.625Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5507 --:--:-- --:--:-- --:--:-- 5503 [2022-01-20T18:11:33.625Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] } [2022-01-20T18:11:33.652Z] 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-01-20T18:11:35.344Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-153/archives ']' [2022-01-20T18:11:35.345Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-153/archives [2022-01-20T18:11:35.345Z] total 8 [2022-01-20T18:11:35.345Z] drwxr-xr-x. 3 root root 34 Jan 20 18:04 . [2022-01-20T18:11:35.345Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:04 .. [2022-01-20T18:11:35.345Z] drwxr-xr-x. 2 root root 6 Jan 20 18:04 cost [2022-01-20T18:11:35.345Z] -rw-r--r--. 1 root root 85 Jan 20 18:04 cost.csv [2022-01-20T18:11:35.345Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-153/archives [2022-01-20T18:11:35.345Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-153/archives [2022-01-20T18:11:35.345Z] total 8 [2022-01-20T18:11:35.345Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:04 . [2022-01-20T18:11:35.345Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:04 .. [2022-01-20T18:11:35.345Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:04 cost [2022-01-20T18:11:35.345Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 20 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:35.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:36.272Z] ---> package-listing.sh [2022-01-20T18:11:36.272Z] ++ facter osfamily [2022-01-20T18:11:36.272Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:11:36.531Z] + OS_FAMILY=redhat [2022-01-20T18:11:36.531Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-153 [2022-01-20T18:11:36.531Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:11:36.531Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:11:36.531Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:11:36.531Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:11:36.531Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-153 ']' [2022-01-20T18:11:36.531Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:11:36.531Z] + case "${OS_FAMILY}" in [2022-01-20T18:11:36.531Z] + rpm -qa [2022-01-20T18:11:36.531Z] + sort [2022-01-20T18:11:37.107Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:11:37.107Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:11:37.107Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:11:37.107Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-153 ']' [2022-01-20T18:11:37.107Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-153/archives/ [2022-01-20T18:11:37.367Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-153/archives/ [Pipeline] echo [2022-01-20T18:11:37.400Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-20T18:11:37.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:11:38.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:11:38.282Z] . [Pipeline] withDockerContainer [2022-01-20T18:11:38.371Z] prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container [2022-01-20T18:11:38.407Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-153/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-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:11:38.623Z] $ docker top bdcb17f51512c2de8f523073479b6c1ad8ce19a8aeb2544b9a468fdf833056b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:11:39.042Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:11:39.361Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:11:39.674Z] + ls /var/log/sa-host [2022-01-20T18:11:39.674Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:11:39.674Z] file_magic: OK [2022-01-20T18:11:39.674Z] HZ: Using current value: 100 [2022-01-20T18:11:39.674Z] file_header: OK [2022-01-20T18:11:39.674Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-20T18:11:39.674Z] Statistics: [2022-01-20T18:11:39.674Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:11:39.674Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:11:39.674Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:11:39.674Z] file_magic: OK [2022-01-20T18:11:39.674Z] HZ: Using current value: 100 [2022-01-20T18:11:39.674Z] file_header: OK [2022-01-20T18:11:39.674Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-20T18:11:39.674Z] Statistics: [2022-01-20T18:11:39.674Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:11:39.674Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:11:39.813Z] provisioning config files... [2022-01-20T18:11:39.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config252618020169100800tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:11:39.870Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:40.183Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:11:40.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:40.616Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:11:40.649Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:40.968Z] ---> sudo-logs.sh [2022-01-20T18:11:40.968Z] Archiving 'sudo' log.. [2022-01-20T18:11:40.968Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2258.novalocal: Name or service not known [2022-01-20T18:11:40.968Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2258.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:11:41.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:41.384Z] ---> job-cost.sh [2022-01-20T18:11:41.384Z] lf-activate-venv: SKIPPING [2022-01-20T18:11:41.384Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:11:41.384Z] INFO: Retrieving Stack Cost... [2022-01-20T18:11:41.644Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:11:42.215Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:11:42.277Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:11:42.607Z] ---> logs-deploy.sh [2022-01-20T18:11:42.607Z] lf-activate-venv: SKIPPING [2022-01-20T18:11:42.607Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-153/1 [2022-01-20T18:11:42.607Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:11:43.178Z] Archives upload complete. [2022-01-20T18:11:43.461Z] INFO: archiving logs to Nexus