Pull request #152 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 06c0ff5c9cf0dea62182c68bfed431589a325a5c+736f30166781926f3db44e01dabdb26e1e8c7632 (0242bcf01c244e3fe613469f77c91ef82b6c82a6) 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-ssh2228047599364340778.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-ssh9695878970904363644.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-152/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-152/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3462397099501083446.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-152/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8828301188452143668.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-ssh13358794190762230799.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-152/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-152/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16464951286200484405.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1850 in /w/workspace/gexfoundry_device-rest-go_PR-152 [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-152 # 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-152@tmp/jenkins-gitclient-ssh4265935293690796380.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-152@tmp/jenkins-gitclient-ssh4500776929293538410.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 736f30166781926f3db44e01dabdb26e1e8c7632 into PR head commit 06c0ff5c9cf0dea62182c68bfed431589a325a5c Merge succeeded, producing 06c0ff5c9cf0dea62182c68bfed431589a325a5c Checking out Revision 06c0ff5c9cf0dea62182c68bfed431589a325a5c (PR-152) > git config core.sparsecheckout # timeout=10 > git checkout -f 06c0ff5c9cf0dea62182c68bfed431589a325a5c # timeout=10 > git remote # timeout=10 > 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-152@tmp/jenkins-gitclient-ssh7793429131726229325.key > git merge 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06c0ff5c9cf0dea62182c68bfed431589a325a5c # timeout=10 Commit message: "ci: Go 1.17 related changes" 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-19T19:52:43.661Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T19:52:43.828Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T19:52:43.926Z] ========================================================= [2022-01-19T19:52:43.926Z] EdgeX Global Pipelines Version Info [2022-01-19T19:52:43.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:52:45.161Z] ------------------- [2022-01-19T19:52:45.161Z] stable info: [2022-01-19T19:52:45.161Z] ------------------- [2022-01-19T19:52:45.161Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T19:52:45.161Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T19:52:45.161Z] Message: update stable to v1.0.219 [2022-01-19T19:52:45.742Z] ------------------- [2022-01-19T19:52:45.742Z] experimental info: [2022-01-19T19:52:45.742Z] ------------------- [2022-01-19T19:52:45.742Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T19:52:45.742Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T19:52:45.742Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T19:52:46.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-19T19:52:46.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-19T19:52:46.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T19:52:46.121Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T19:52:46.169Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T19:52:46.209Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T19:52:46.249Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T19:52:46.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T19:52:46.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T19:52:46.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T19:52:46.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T19:52:46.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-19T19:52:46.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T19:52:46.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T19:52:46.544Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T19:52:46.588Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T19:52:46.625Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T19:52:46.667Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T19:52:46.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T19:52:46.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T19:52:46.782Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T19:52:46.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T19:52:46.859Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T19:52:46.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T19:52:46.940Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T19:52:46.976Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T19:52:47.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2022-01-19T19:52:47.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2022-01-19T19:52:47.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2022-01-19T19:52:47.137Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06c0ff5c9cf0dea62182c68bfed431589a325a5c [Pipeline] echo [2022-01-19T19:52:47.189Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06c0ff5 [Pipeline] echo [2022-01-19T19:52:47.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T19:52:47.351Z] provisioning config files... [2022-01-19T19:52:47.365Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/config7532676043372783725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:52:47.722Z] ---> docker-login.sh [2022-01-19T19:52:47.722Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:52:47.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:47.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:47.995Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:47.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:47.995Z] [2022-01-19T19:52:47.995Z] Login Succeeded [2022-01-19T19:52:47.995Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:52:47.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:47.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:47.995Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:47.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:47.995Z] [2022-01-19T19:52:47.995Z] Login Succeeded [2022-01-19T19:52:47.995Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:52:47.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:48.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:48.258Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:48.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:48.258Z] [2022-01-19T19:52:48.258Z] Login Succeeded [2022-01-19T19:52:48.258Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:52:48.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:48.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:48.258Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:48.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:48.258Z] [2022-01-19T19:52:48.258Z] Login Succeeded [2022-01-19T19:52:48.258Z] docker.io [2022-01-19T19:52:48.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:48.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:48.831Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:48.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:48.831Z] [2022-01-19T19:52:48.831Z] Login Succeeded [2022-01-19T19:52:48.831Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:52:48.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T19:52:49.503Z] + git rev-list -1 --merges 06c0ff5c9cf0dea62182c68bfed431589a325a5c~1..06c0ff5c9cf0dea62182c68bfed431589a325a5c [Pipeline] echo [2022-01-19T19:52:49.551Z] -----------> git rev-list -1 --merges 06c0ff5c9cf0dea62182c68bfed431589a325a5c~1..06c0ff5c9cf0dea62182c68bfed431589a325a5c 06c0ff5c9cf0dea62182c68bfed431589a325a5c [false] [Pipeline] sh [2022-01-19T19:52:49.871Z] + git log --format=format:%s -1 06c0ff5c9cf0dea62182c68bfed431589a325a5c [Pipeline] echo [2022-01-19T19:52:49.910Z] ========================================================= [2022-01-19T19:52:49.910Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T19:52:49.910Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T19:52:50.352Z] + git log --format=format:%s -1 06c0ff5c9cf0dea62182c68bfed431589a325a5c [Pipeline] echo [2022-01-19T19:52:50.391Z] [semverPrep] GIT_COMMIT: 06c0ff5c9cf0dea62182c68bfed431589a325a5c, Commit Message: ci: Go 1.17 related changes [Pipeline] echo [2022-01-19T19:52:50.426Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T19:52:50.867Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T19:52:50.867Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T19:52:50.867Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T19:52:50.867Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T19:52:50.867Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T19:52:50.867Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T19:52:50.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:52:51.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:52:51.251Z] [2022-01-19T19:52:51.251Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:52:51.606Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:52:51.606Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T19:52:51.606Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T19:52:51.606Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T19:52:51.606Z] 4c7163046ea9: Pulling fs layer [2022-01-19T19:52:51.606Z] 0c2d73faf560: Pulling fs layer [2022-01-19T19:52:51.606Z] 0c2d73faf560: Waiting [2022-01-19T19:52:51.606Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T19:52:51.606Z] 3e5f54012d9b: Download complete [2022-01-19T19:52:51.606Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T19:52:51.606Z] a0d0a0d46f8b: Download complete [2022-01-19T19:52:51.606Z] 4c7163046ea9: Verifying Checksum [2022-01-19T19:52:51.606Z] 4c7163046ea9: Download complete [2022-01-19T19:52:51.606Z] 0c2d73faf560: Verifying Checksum [2022-01-19T19:52:51.606Z] 0c2d73faf560: Download complete [2022-01-19T19:52:51.870Z] a0d0a0d46f8b: Pull complete [2022-01-19T19:52:51.870Z] 3e5f54012d9b: Pull complete [2022-01-19T19:52:52.141Z] 4c7163046ea9: Pull complete [2022-01-19T19:52:52.401Z] 0c2d73faf560: Pull complete [2022-01-19T19:52:52.401Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T19:52:52.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:52:52.401Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T19:52:52.500Z] prd-centos7-docker-4c-2g-1850 does not seem to be running inside a container [2022-01-19T19:52:52.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-152 -v /w/workspace/gexfoundry_device-rest-go_PR-152:/w/workspace/gexfoundry_device-rest-go_PR-152:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-152@tmp:/w/workspace/gexfoundry_device-rest-go_PR-152@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-19T19:52:53.287Z] $ docker top ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T19:52:53.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T19:52:53.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T19:52:53.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T19:52:53.604Z] $ docker exec ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 ssh-agent [2022-01-19T19:52:53.702Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghAiEa/agent.14 [2022-01-19T19:52:53.702Z] SSH_AGENT_PID=20 [2022-01-19T19:52:53.709Z] Running ssh-add (command line suppressed) [2022-01-19T19:52:53.791Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-152@tmp/private_key_3243257030750983884.key (/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/private_key_3243257030750983884.key) [2022-01-19T19:52:53.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T19:52:54.142Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T19:52:54.159Z] $ docker exec --env ******** --env ******** ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 ssh-agent -k [2022-01-19T19:52:54.239Z] unset SSH_AUTH_SOCK; [2022-01-19T19:52:54.239Z] unset SSH_AGENT_PID; [2022-01-19T19:52:54.239Z] echo Agent pid 20 killed; [2022-01-19T19:52:54.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T19:52:54.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T19:52:54.396Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T19:52:54.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T19:52:54.500Z] $ docker exec ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 ssh-agent [2022-01-19T19:52:54.596Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJCnolB/agent.54 [2022-01-19T19:52:54.596Z] SSH_AGENT_PID=60 [2022-01-19T19:52:54.601Z] Running ssh-add (command line suppressed) [2022-01-19T19:52:54.693Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-152@tmp/private_key_7319685948438400758.key (/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/private_key_7319685948438400758.key) [2022-01-19T19:52:54.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T19:52:55.049Z] + git semver init [2022-01-19T19:52:55.049Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T19:52:55.049Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-152/.git [2022-01-19T19:52:55.049Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-152 [2022-01-19T19:52:55.049Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T19:52:55.049Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T19:52:55.049Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T19:52:55.049Z] # $SEMVER_BRANCH = PR-152 [2022-01-19T19:52:55.049Z] # $SEMVER_TEMP = /tmp/semver-529739548 [2022-01-19T19:52:55.049Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-19T19:52:56.443Z] # '/tmp/semver-529739548' -> '/w/workspace/gexfoundry_device-rest-go_PR-152/.semver' [2022-01-19T19:52:56.443Z] # -> Force: false [2022-01-19T19:52:56.443Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-152/.semver [Pipeline] } [2022-01-19T19:52:56.467Z] $ docker exec --env ******** --env ******** ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 ssh-agent -k [2022-01-19T19:52:56.556Z] unset SSH_AUTH_SOCK; [2022-01-19T19:52:56.557Z] unset SSH_AGENT_PID; [2022-01-19T19:52:56.557Z] echo Agent pid 60 killed; [2022-01-19T19:52:56.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T19:52:56.989Z] + git semver [Pipeline] } [2022-01-19T19:52:57.016Z] $ docker stop --time=1 ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 [2022-01-19T19:52:58.284Z] $ docker rm -f ef80e6650838c3de436e7e5fc9d451aa3375266c0a3eacded890a9c1b50e20b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T19:52:58.705Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T19:52:59.038Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T19:52:59.059Z] [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-19T19:52:59.629Z] provisioning config files... [2022-01-19T19:52:59.639Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/config9206945428935840251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:53:00.010Z] ---> docker-login.sh [2022-01-19T19:53:00.010Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:53:00.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:00.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:00.010Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:00.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:00.010Z] [2022-01-19T19:53:00.010Z] Login Succeeded [2022-01-19T19:53:00.010Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:53:00.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:00.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:00.010Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:00.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:00.010Z] [2022-01-19T19:53:00.010Z] Login Succeeded [2022-01-19T19:53:00.010Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:53:00.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:00.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:00.270Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:00.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:00.270Z] [2022-01-19T19:53:00.270Z] Login Succeeded [2022-01-19T19:53:00.270Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:53:00.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:00.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:00.270Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:00.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:00.270Z] [2022-01-19T19:53:00.270Z] Login Succeeded [2022-01-19T19:53:00.270Z] docker.io [2022-01-19T19:53:00.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:00.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:00.839Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:00.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:00.839Z] [2022-01-19T19:53:00.839Z] Login Succeeded [2022-01-19T19:53:00.839Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:53:00.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T19:53:01.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T19:53:01.118Z] ========================================================= [2022-01-19T19:53:01.118Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T19:53:01.118Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:01.539Z] + 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-19T19:53:01.539Z] Sending build context to Docker daemon 10.53MB [2022-01-19T19:53:01.539Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T19:53:01.539Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T19:53:01.539Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T19:53:01.539Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T19:53:01.539Z] 666ba61612fd: Pulling fs layer [2022-01-19T19:53:01.539Z] 8ed8ca486205: Pulling fs layer [2022-01-19T19:53:01.539Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T19:53:01.539Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T19:53:01.539Z] f965cba54748: Pulling fs layer [2022-01-19T19:53:01.539Z] 861ffc35075e: Pulling fs layer [2022-01-19T19:53:01.539Z] 4b385c91608e: Pulling fs layer [2022-01-19T19:53:01.539Z] 560528eb2ebb: Pulling fs layer [2022-01-19T19:53:01.539Z] 4fe6c5a15a65: Waiting [2022-01-19T19:53:01.539Z] 22a0e8bec74d: Waiting [2022-01-19T19:53:01.539Z] f965cba54748: Waiting [2022-01-19T19:53:01.539Z] 861ffc35075e: Waiting [2022-01-19T19:53:01.539Z] 4b385c91608e: Waiting [2022-01-19T19:53:01.539Z] 560528eb2ebb: Waiting [2022-01-19T19:53:01.905Z] 8ed8ca486205: Verifying Checksum [2022-01-19T19:53:01.905Z] 8ed8ca486205: Download complete [2022-01-19T19:53:01.905Z] 666ba61612fd: Verifying Checksum [2022-01-19T19:53:01.905Z] 666ba61612fd: Download complete [2022-01-19T19:53:01.905Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T19:53:01.905Z] 22a0e8bec74d: Download complete [2022-01-19T19:53:01.905Z] f965cba54748: Verifying Checksum [2022-01-19T19:53:01.905Z] f965cba54748: Download complete [2022-01-19T19:53:01.905Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T19:53:01.905Z] 59bf1c3509f3: Download complete [2022-01-19T19:53:01.905Z] 861ffc35075e: Verifying Checksum [2022-01-19T19:53:01.905Z] 861ffc35075e: Download complete [2022-01-19T19:53:01.905Z] 4b385c91608e: Verifying Checksum [2022-01-19T19:53:01.905Z] 4b385c91608e: Download complete [2022-01-19T19:53:01.905Z] 59bf1c3509f3: Pull complete [2022-01-19T19:53:02.183Z] 666ba61612fd: Pull complete [2022-01-19T19:53:02.183Z] 8ed8ca486205: Pull complete [2022-01-19T19:53:02.452Z] 4fe6c5a15a65: Download complete [2022-01-19T19:53:02.719Z] 560528eb2ebb: Verifying Checksum [2022-01-19T19:53:02.719Z] 560528eb2ebb: Download complete [2022-01-19T19:53:06.944Z] 4fe6c5a15a65: Pull complete [2022-01-19T19:53:06.945Z] 22a0e8bec74d: Pull complete [2022-01-19T19:53:06.945Z] f965cba54748: Pull complete [2022-01-19T19:53:06.945Z] 861ffc35075e: Pull complete [2022-01-19T19:53:06.945Z] 4b385c91608e: Pull complete [2022-01-19T19:53:08.882Z] 560528eb2ebb: Pull complete [2022-01-19T19:53:08.882Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T19:53:08.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T19:53:08.882Z] ---> dd4a08f94e63 [2022-01-19T19:53:08.882Z] Step 3/12 : ARG MAKE='make build' [2022-01-19T19:53:10.801Z] ---> Running in a4984b477154 [2022-01-19T19:53:10.801Z] Removing intermediate container a4984b477154 [2022-01-19T19:53:10.801Z] ---> 607003e264ba [2022-01-19T19:53:10.801Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T19:53:11.070Z] ---> Running in 059c44173ffd [2022-01-19T19:53:11.070Z] Removing intermediate container 059c44173ffd [2022-01-19T19:53:11.070Z] ---> 370ff530ab2d [2022-01-19T19:53:11.070Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T19:53:11.070Z] ---> Running in c0e745f397ef [2022-01-19T19:53:11.070Z] Removing intermediate container c0e745f397ef [2022-01-19T19:53:11.070Z] ---> 3b79e0b3b4e4 [2022-01-19T19:53:11.070Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T19:53:11.070Z] ---> Running in 6f9a2eb2b4a9 [2022-01-19T19:53:11.645Z] Removing intermediate container 6f9a2eb2b4a9 [2022-01-19T19:53:11.645Z] ---> 7fa78390b46d [2022-01-19T19:53:11.645Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T19:53:11.645Z] ---> Running in 370a697cb853 [2022-01-19T19:53:11.905Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T19:53:12.586Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T19:53:13.160Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T19:53:13.160Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T19:53:13.160Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T19:53:13.419Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T19:53:13.419Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T19:53:13.419Z] OK: 224 MiB in 56 packages [2022-01-19T19:53:13.688Z] Removing intermediate container 370a697cb853 [2022-01-19T19:53:13.688Z] ---> 8cd340e36a39 [2022-01-19T19:53:13.688Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-19T19:53:13.954Z] ---> Running in f711913b2138 [2022-01-19T19:53:13.954Z] Removing intermediate container f711913b2138 [2022-01-19T19:53:13.954Z] ---> 173dff2ed9f7 [2022-01-19T19:53:13.954Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-19T19:53:13.954Z] ---> e2b91434d28e [2022-01-19T19:53:13.954Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T19:53:14.221Z] ---> Running in d26975e24887 [2022-01-19T19:53:14.460Z] Still waiting to schedule task [2022-01-19T19:53:14.460Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1849’ [2022-01-19T19:53:46.412Z] Removing intermediate container d26975e24887 [2022-01-19T19:53:46.412Z] ---> eda5aa2c8cf9 [2022-01-19T19:53:46.412Z] Step 11/12 : COPY . . [2022-01-19T19:53:46.412Z] ---> f2a1f4ed1ee9 [2022-01-19T19:53:46.412Z] Step 12/12 : RUN $MAKE [2022-01-19T19:53:46.412Z] ---> Running in fc9419a6b939 [2022-01-19T19:53:46.412Z] noop [2022-01-19T19:53:46.412Z] Removing intermediate container fc9419a6b939 [2022-01-19T19:53:46.412Z] ---> 2c170cd8f024 [2022-01-19T19:53:46.412Z] Successfully built 2c170cd8f024 [2022-01-19T19:53:46.412Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:46.779Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T19:53:46.780Z] . [Pipeline] withDockerContainer [2022-01-19T19:53:46.875Z] prd-centos7-docker-4c-2g-1850 does not seem to be running inside a container [2022-01-19T19:53:46.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-152 -v /w/workspace/gexfoundry_device-rest-go_PR-152:/w/workspace/gexfoundry_device-rest-go_PR-152:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-152@tmp:/w/workspace/gexfoundry_device-rest-go_PR-152@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-19T19:53:47.230Z] $ docker top 634fc7ab33fe31073a51fb41e48fa521d739e29ad01033b84aeeb6672b7d2cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T19:53:47.634Z] + go version [2022-01-19T19:53:47.634Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T19:53:47.663Z] $ docker stop --time=1 634fc7ab33fe31073a51fb41e48fa521d739e29ad01033b84aeeb6672b7d2cd6 [2022-01-19T19:53:48.834Z] $ docker rm -f 634fc7ab33fe31073a51fb41e48fa521d739e29ad01033b84aeeb6672b7d2cd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:49.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T19:53:49.488Z] . [Pipeline] withDockerContainer [2022-01-19T19:53:49.587Z] prd-centos7-docker-4c-2g-1850 does not seem to be running inside a container [2022-01-19T19:53:49.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-152 -v /w/workspace/gexfoundry_device-rest-go_PR-152:/w/workspace/gexfoundry_device-rest-go_PR-152:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-152@tmp:/w/workspace/gexfoundry_device-rest-go_PR-152@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-19T19:53:49.959Z] $ docker top bc859316828a02b44b6b3cbc7a5c5fd3a1cd03eca608a29f2cbf80880416f744 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T19:53:50.412Z] + make test [2022-01-19T19:53:50.412Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T19:53:50.674Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-19T19:54:05.635Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-19T19:54:06.590Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 56.0% of statements [2022-01-19T19:54:06.590Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T19:54:11.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T19:54:11.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T19:54:11.918Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T19:54:12.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T19:54:12.552Z] $ docker stop --time=1 bc859316828a02b44b6b3cbc7a5c5fd3a1cd03eca608a29f2cbf80880416f744 [2022-01-19T19:54:13.970Z] $ docker rm -f bc859316828a02b44b6b3cbc7a5c5fd3a1cd03eca608a29f2cbf80880416f744 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T19:54:14.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T19:54:14.504Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T19:54:15.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T19:54:15.599Z] + ls -al . [2022-01-19T19:54:15.599Z] total 148 [2022-01-19T19:54:15.599Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 19:54 . [2022-01-19T19:54:15.599Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 19:52 .. [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 19 19:52 Attribution.txt [2022-01-19T19:54:15.599Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 19:52 bin [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 19 19:52 CHANGELOG.md [2022-01-19T19:54:15.599Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 19:52 cmd [2022-01-19T19:54:15.599Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 19 19:54 coverage.out [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 1672 Jan 19 19:52 Dockerfile [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 19 19:52 .dockerignore [2022-01-19T19:54:15.599Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 19 19:52 driver [2022-01-19T19:54:15.599Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 19:52 .git [2022-01-19T19:54:15.599Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 19:52 .github [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 19 19:52 .gitignore [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 277 Jan 19 19:52 go.mod [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 19 19:52 go.sum [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 19:52 GOVERNANCE.md [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 19 19:52 Jenkinsfile [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 19:52 LICENSE [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 19 19:52 Makefile [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 19:52 OWNERS.md [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 19 19:52 README.md [2022-01-19T19:54:15.599Z] drwx------. 3 jenkins jenkins 59 Jan 19 19:52 .semver [2022-01-19T19:54:15.599Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 19 19:52 snap [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 19:52 VERSION [2022-01-19T19:54:15.599Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 19 19:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:54:15.937Z] + 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=06c0ff5c9cf0dea62182c68bfed431589a325a5c --label arch=amd64 --label version=0.0.0 . [2022-01-19T19:54:15.937Z] Sending build context to Docker daemon 10.54MB [2022-01-19T19:54:15.937Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T19:54:15.937Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-19T19:54:15.937Z] ---> 2c170cd8f024 [2022-01-19T19:54:15.937Z] Step 3/25 : ARG MAKE='make build' [2022-01-19T19:54:15.937Z] ---> Running in 4669cb85581c [2022-01-19T19:54:16.201Z] Removing intermediate container 4669cb85581c [2022-01-19T19:54:16.201Z] ---> 67bf234bbd7e [2022-01-19T19:54:16.201Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T19:54:16.201Z] ---> Running in 8b4a0280a8aa [2022-01-19T19:54:16.201Z] Removing intermediate container 8b4a0280a8aa [2022-01-19T19:54:16.201Z] ---> ee1ed99b95aa [2022-01-19T19:54:16.201Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T19:54:16.201Z] ---> Running in 2b16dc831413 [2022-01-19T19:54:16.460Z] Removing intermediate container 2b16dc831413 [2022-01-19T19:54:16.460Z] ---> f4b36b272609 [2022-01-19T19:54:16.460Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T19:54:16.460Z] ---> Running in 4e3026a4381d [2022-01-19T19:54:17.038Z] Removing intermediate container 4e3026a4381d [2022-01-19T19:54:17.038Z] ---> 889128470cfe [2022-01-19T19:54:17.038Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T19:54:17.038Z] ---> Running in 2f6664b7be21 [2022-01-19T19:54:17.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T19:54:17.988Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T19:54:18.258Z] OK: 224 MiB in 56 packages [2022-01-19T19:54:18.833Z] Removing intermediate container 2f6664b7be21 [2022-01-19T19:54:18.833Z] ---> a584e7e404cc [2022-01-19T19:54:18.833Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-19T19:54:18.833Z] ---> Running in cf63ed7d21ca [2022-01-19T19:54:18.833Z] Removing intermediate container cf63ed7d21ca [2022-01-19T19:54:18.833Z] ---> 0cbdabd9f0e4 [2022-01-19T19:54:18.833Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-19T19:54:19.095Z] ---> eb9cc81e1c30 [2022-01-19T19:54:19.095Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T19:54:19.095Z] ---> Running in d19820d8052f [2022-01-19T19:54:19.673Z] Removing intermediate container d19820d8052f [2022-01-19T19:54:19.673Z] ---> ecb5db34d022 [2022-01-19T19:54:19.673Z] Step 11/25 : COPY . . [2022-01-19T19:54:19.937Z] ---> 3ab1503f3f5c [2022-01-19T19:54:19.937Z] Step 12/25 : RUN $MAKE [2022-01-19T19:54:19.937Z] ---> Running in c92d4a0580aa [2022-01-19T19:54:20.201Z] 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-19T19:54:32.511Z] Removing intermediate container c92d4a0580aa [2022-01-19T19:54:32.511Z] ---> b979256947ca [2022-01-19T19:54:32.511Z] Step 13/25 : FROM alpine:3.14 [2022-01-19T19:54:33.081Z] 3.14: Pulling from library/alpine [2022-01-19T19:54:33.081Z] 97518928ae5f: Pulling fs layer [2022-01-19T19:54:33.342Z] 97518928ae5f: Verifying Checksum [2022-01-19T19:54:33.342Z] 97518928ae5f: Download complete [2022-01-19T19:54:33.342Z] 97518928ae5f: Pull complete [2022-01-19T19:54:33.606Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T19:54:33.606Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T19:54:33.606Z] ---> 0a97eee8041e [2022-01-19T19:54:33.606Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-19T19:54:33.606Z] ---> Running in d3069b6470a3 [2022-01-19T19:54:33.606Z] Removing intermediate container d3069b6470a3 [2022-01-19T19:54:33.606Z] ---> 28eab883ffaa [2022-01-19T19:54:33.606Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-19T19:54:33.606Z] ---> Running in 506b4bacca58 [2022-01-19T19:54:33.866Z] Removing intermediate container 506b4bacca58 [2022-01-19T19:54:33.866Z] ---> 280293796364 [2022-01-19T19:54:33.866Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T19:54:33.866Z] ---> Running in 169535af700d [2022-01-19T19:54:34.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-19T19:54:34.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-19T19:54:34.391Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T19:54:34.391Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T19:54:34.391Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T19:54:34.391Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T19:54:34.391Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T19:54:34.391Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T19:54:34.391Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T19:54:34.391Z] OK: 8 MiB in 20 packages [2022-01-19T19:54:34.656Z] Removing intermediate container 169535af700d [2022-01-19T19:54:34.656Z] ---> 474a93e9ea65 [2022-01-19T19:54:34.656Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-19T19:54:35.226Z] ---> cc0763a0779c [2022-01-19T19:54:35.226Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-19T19:54:35.226Z] ---> fb44fab0c3dc [2022-01-19T19:54:35.226Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-19T19:54:35.493Z] ---> 4717cf77d68d [2022-01-19T19:54:35.493Z] Step 20/25 : EXPOSE 59986 [2022-01-19T19:54:35.493Z] ---> Running in 1e40f0d65267 [2022-01-19T19:54:35.493Z] Removing intermediate container 1e40f0d65267 [2022-01-19T19:54:35.493Z] ---> fb5d68ea67cb [2022-01-19T19:54:35.493Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-19T19:54:35.493Z] ---> Running in 96a82422d9ff [2022-01-19T19:54:35.493Z] Removing intermediate container 96a82422d9ff [2022-01-19T19:54:35.493Z] ---> 64984ce478c5 [2022-01-19T19:54:35.493Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-19T19:54:35.493Z] ---> Running in 0ceb87600219 [2022-01-19T19:54:35.764Z] Removing intermediate container 0ceb87600219 [2022-01-19T19:54:35.764Z] ---> 7fdf9c12b9a2 [2022-01-19T19:54:35.764Z] Step 23/25 : LABEL arch=amd64 [2022-01-19T19:54:35.764Z] ---> Running in e782500b309a [2022-01-19T19:54:35.764Z] Removing intermediate container e782500b309a [2022-01-19T19:54:35.764Z] ---> 14cffb2d2bc6 [2022-01-19T19:54:35.764Z] Step 24/25 : LABEL git_sha=06c0ff5c9cf0dea62182c68bfed431589a325a5c [2022-01-19T19:54:35.764Z] ---> Running in 06de9aa143c0 [2022-01-19T19:54:35.764Z] Removing intermediate container 06de9aa143c0 [2022-01-19T19:54:35.764Z] ---> 32a238ad7b6b [2022-01-19T19:54:35.764Z] Step 25/25 : LABEL version=0.0.0 [2022-01-19T19:54:36.037Z] ---> Running in 9c216a1246fc [2022-01-19T19:54:36.037Z] Removing intermediate container 9c216a1246fc [2022-01-19T19:54:36.037Z] ---> 8d4cbe3d4518 [2022-01-19T19:54:36.037Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T19:54:36.037Z] Successfully built 8d4cbe3d4518 [2022-01-19T19:54:36.037Z] 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-19T19:54:36.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:36.814Z] [2022-01-19T19:54:36.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:54:37.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:37.156Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T19:54:37.156Z] b4d181a07f80: Pulling fs layer [2022-01-19T19:54:37.156Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T19:54:37.156Z] ed53099fbce6: Pulling fs layer [2022-01-19T19:54:37.156Z] dc539afda2c1: Pulling fs layer [2022-01-19T19:54:37.156Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T19:54:37.156Z] 9065ff56babe: Pulling fs layer [2022-01-19T19:54:37.156Z] d287ab97295c: Pulling fs layer [2022-01-19T19:54:37.156Z] dc539afda2c1: Waiting [2022-01-19T19:54:37.156Z] 77bc0d833cb6: Waiting [2022-01-19T19:54:37.156Z] 9065ff56babe: Waiting [2022-01-19T19:54:37.156Z] d287ab97295c: Waiting [2022-01-19T19:54:37.156Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T19:54:37.156Z] a1111a8f2ec3: Download complete [2022-01-19T19:54:37.156Z] dc539afda2c1: Download complete [2022-01-19T19:54:37.156Z] ed53099fbce6: Verifying Checksum [2022-01-19T19:54:37.156Z] ed53099fbce6: Download complete [2022-01-19T19:54:37.421Z] 9065ff56babe: Verifying Checksum [2022-01-19T19:54:37.421Z] 9065ff56babe: Download complete [2022-01-19T19:54:37.421Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T19:54:37.421Z] 77bc0d833cb6: Download complete [2022-01-19T19:54:37.421Z] b4d181a07f80: Verifying Checksum [2022-01-19T19:54:37.421Z] b4d181a07f80: Download complete [2022-01-19T19:54:38.003Z] d287ab97295c: Verifying Checksum [2022-01-19T19:54:38.003Z] d287ab97295c: Download complete [2022-01-19T19:54:38.986Z] b4d181a07f80: Pull complete [2022-01-19T19:54:38.986Z] a1111a8f2ec3: Pull complete [2022-01-19T19:54:39.587Z] ed53099fbce6: Pull complete [2022-01-19T19:54:39.587Z] dc539afda2c1: Pull complete [2022-01-19T19:54:39.853Z] 77bc0d833cb6: Pull complete [2022-01-19T19:54:39.853Z] 9065ff56babe: Pull complete [2022-01-19T19:54:45.148Z] d287ab97295c: Pull complete [2022-01-19T19:54:45.148Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T19:54:45.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:45.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T19:54:45.238Z] prd-centos7-docker-4c-2g-1850 does not seem to be running inside a container [2022-01-19T19:54:45.277Z] $ 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-152 -v /w/workspace/gexfoundry_device-rest-go_PR-152:/w/workspace/gexfoundry_device-rest-go_PR-152:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-152@tmp:/w/workspace/gexfoundry_device-rest-go_PR-152@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-19T19:54:47.233Z] $ docker top d208950d3d2f52d4bc6207fab0d8f5b0d699f0d7cfc61632f3212c5d3c0fd00f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:54:47.713Z] ---> job-cost.sh [2022-01-19T19:54:47.713Z] lf-activate-venv: SKIPPING [2022-01-19T19:54:47.713Z] INFO: No Stack... [2022-01-19T19:54:47.974Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T19:54:48.239Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T19:54:48.564Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-152/archives/cost.csv [2022-01-19T19:54:48.564Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T19:54:48.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [2022-01-19T19:54:48.609Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] did not exist. Created. [2022-01-19T19:54:48.609Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T19:54:48.997Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T19:54:49.051Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T19:54:49.081Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T19:54:49.155Z] $ docker stop --time=1 d208950d3d2f52d4bc6207fab0d8f5b0d699f0d7cfc61632f3212c5d3c0fd00f [2022-01-19T19:54:50.282Z] $ docker rm -f d208950d3d2f52d4bc6207fab0d8f5b0d699f0d7cfc61632f3212c5d3c0fd00f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T19:55:36.964Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1863 in /w/workspace/gexfoundry_device-rest-go_PR-152 [Pipeline] { [Pipeline] ws [2022-01-19T19:55:37.004Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-01-19T19:55:37.321Z] The recommended git tool is: git [2022-01-19T19:55:42.995Z] using credential edgex-jenkins-ssh [2022-01-19T19:55:43.016Z] Cloning the remote Git repository [2022-01-19T19:55:43.089Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-19T19:55:43.187Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-01-19T19:55:43.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-19T19:55:43.306Z] > git --version # timeout=10 [2022-01-19T19:55:43.335Z] > git --version # 'git version 2.17.1' [2022-01-19T19:55:43.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:55:43.507Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T19:55:45.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-19T19:55:45.643Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T19:55:45.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-19T19:55:45.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-19T19:55:45.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:55:45.740Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-19T19:55:46.379Z] Merging remotes/origin/main commit 736f30166781926f3db44e01dabdb26e1e8c7632 into PR head commit 06c0ff5c9cf0dea62182c68bfed431589a325a5c [2022-01-19T19:55:46.613Z] Merge succeeded, producing 06c0ff5c9cf0dea62182c68bfed431589a325a5c [2022-01-19T19:55:46.614Z] Checking out Revision 06c0ff5c9cf0dea62182c68bfed431589a325a5c (PR-152) [2022-01-19T19:55:46.397Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T19:55:46.414Z] > git checkout -f 06c0ff5c9cf0dea62182c68bfed431589a325a5c # timeout=10 [2022-01-19T19:55:46.499Z] > git remote # timeout=10 [2022-01-19T19:55:46.527Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T19:55:46.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:55:46.561Z] > git merge 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 [2022-01-19T19:55:46.587Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T19:55:46.618Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T19:55:46.631Z] > git checkout -f 06c0ff5c9cf0dea62182c68bfed431589a325a5c # timeout=10 [2022-01-19T19:55:51.146Z] Commit message: "ci: Go 1.17 related changes" [2022-01-19T19:55:51.214Z] > git --version # timeout=10 [2022-01-19T19:55:51.224Z] > git --version # 'git version 2.17.1' [2022-01-19T19:55:51.240Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T19:55:52.320Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T19:55:52.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T19:55:52.321Z] Dload Upload Total Spent Left Speed [2022-01-19T19:55:52.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-01-19T19:55:52.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T19:55:53.299Z] + sudo tee /etc/docker/daemon.new [2022-01-19T19:55:53.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T19:55:53.299Z] { [2022-01-19T19:55:53.299Z] "registry-mirrors": [ [2022-01-19T19:55:53.299Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T19:55:53.299Z] ], [2022-01-19T19:55:53.299Z] "bip": "10.250.0.254/24", [2022-01-19T19:55:53.299Z] "hosts": [ [2022-01-19T19:55:53.299Z] "tcp://0.0.0.0:5555", [2022-01-19T19:55:53.299Z] "unix:///var/run/docker.sock" [2022-01-19T19:55:53.299Z] ], [2022-01-19T19:55:53.299Z] "mtu": 1458, [2022-01-19T19:55:53.299Z] "selinux-enabled": true, [2022-01-19T19:55:53.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T19:55:53.299Z] } [Pipeline] sh [2022-01-19T19:55:53.687Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T19:55:54.052Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T19:56:12.504Z] provisioning config files... [2022-01-19T19:56:12.563Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5204548681968141470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:56:12.992Z] ---> docker-login.sh [2022-01-19T19:56:12.992Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:56:13.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:13.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:13.885Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:13.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:13.885Z] [2022-01-19T19:56:13.885Z] Login Succeeded [2022-01-19T19:56:13.885Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:56:14.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:14.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:14.485Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:14.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:14.485Z] [2022-01-19T19:56:14.485Z] Login Succeeded [2022-01-19T19:56:14.485Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:56:14.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:14.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:14.939Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:14.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:14.939Z] [2022-01-19T19:56:14.939Z] Login Succeeded [2022-01-19T19:56:14.939Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:56:15.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:15.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:15.487Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:15.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:15.487Z] [2022-01-19T19:56:15.487Z] Login Succeeded [2022-01-19T19:56:15.487Z] docker.io [2022-01-19T19:56:15.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:16.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:16.031Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:16.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:16.031Z] [2022-01-19T19:56:16.031Z] Login Succeeded [2022-01-19T19:56:16.031Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:56:16.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T19:56:16.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T19:56:16.546Z] ========================================================= [2022-01-19T19:56:16.546Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T19:56:16.546Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:56:17.005Z] + 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-19T19:56:17.005Z] Sending build context to Docker daemon 121.9kB [2022-01-19T19:56:17.283Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T19:56:17.283Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T19:56:17.560Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T19:56:17.560Z] 9b3977197b4f: Pulling fs layer [2022-01-19T19:56:17.560Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T19:56:17.560Z] 94645a83ff95: Pulling fs layer [2022-01-19T19:56:17.560Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T19:56:17.560Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T19:56:17.560Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T19:56:17.560Z] 9a6b49a46696: Pulling fs layer [2022-01-19T19:56:17.560Z] cf05db05a679: Pulling fs layer [2022-01-19T19:56:17.560Z] 3f3a8bcf1eab: Waiting [2022-01-19T19:56:17.560Z] 0c92f367c5e7: Waiting [2022-01-19T19:56:17.560Z] 4b8299f9d1f4: Waiting [2022-01-19T19:56:17.560Z] 9a6b49a46696: Waiting [2022-01-19T19:56:17.560Z] cf05db05a679: Waiting [2022-01-19T19:56:17.560Z] 94645a83ff95: Verifying Checksum [2022-01-19T19:56:17.560Z] 94645a83ff95: Download complete [2022-01-19T19:56:17.560Z] 1a89e8eeedd5: Download complete [2022-01-19T19:56:17.840Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T19:56:17.840Z] 0c92f367c5e7: Download complete [2022-01-19T19:56:17.840Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T19:56:17.840Z] 4b8299f9d1f4: Download complete [2022-01-19T19:56:17.840Z] 9b3977197b4f: Verifying Checksum [2022-01-19T19:56:17.840Z] 9b3977197b4f: Download complete [2022-01-19T19:56:17.840Z] 9a6b49a46696: Verifying Checksum [2022-01-19T19:56:17.840Z] 9a6b49a46696: Download complete [2022-01-19T19:56:18.455Z] 9b3977197b4f: Pull complete [2022-01-19T19:56:19.466Z] 1a89e8eeedd5: Pull complete [2022-01-19T19:56:19.746Z] 94645a83ff95: Pull complete [2022-01-19T19:56:20.025Z] cf05db05a679: Verifying Checksum [2022-01-19T19:56:20.025Z] cf05db05a679: Download complete [2022-01-19T19:56:20.630Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T19:56:20.630Z] 3f3a8bcf1eab: Download complete [2022-01-19T19:56:33.101Z] 3f3a8bcf1eab: Pull complete [2022-01-19T19:56:33.101Z] 0c92f367c5e7: Pull complete [2022-01-19T19:56:33.101Z] 4b8299f9d1f4: Pull complete [2022-01-19T19:56:33.101Z] 9a6b49a46696: Pull complete [2022-01-19T19:56:39.856Z] cf05db05a679: Pull complete [2022-01-19T19:56:39.856Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T19:56:39.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T19:56:39.857Z] ---> 0ccda1f7e2ee [2022-01-19T19:56:39.857Z] Step 3/12 : ARG MAKE='make build' [2022-01-19T19:56:40.141Z] ---> Running in 43b7e7e6934d [2022-01-19T19:56:40.749Z] Removing intermediate container 43b7e7e6934d [2022-01-19T19:56:40.749Z] ---> 4049857af25c [2022-01-19T19:56:40.749Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T19:56:41.033Z] ---> Running in aa2e56b6e385 [2022-01-19T19:56:41.315Z] Removing intermediate container aa2e56b6e385 [2022-01-19T19:56:41.315Z] ---> fae0a88bddcb [2022-01-19T19:56:41.315Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T19:56:41.599Z] ---> Running in 44f2e23be22f [2022-01-19T19:56:41.885Z] Removing intermediate container 44f2e23be22f [2022-01-19T19:56:41.885Z] ---> 5b1205d09583 [2022-01-19T19:56:41.885Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T19:56:42.166Z] ---> Running in a512150a0014 [2022-01-19T19:56:44.811Z] Removing intermediate container a512150a0014 [2022-01-19T19:56:44.811Z] ---> 3767b4b979fe [2022-01-19T19:56:44.811Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T19:56:44.811Z] ---> Running in 667b15fa7b44 [2022-01-19T19:56:45.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T19:56:46.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T19:56:48.827Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T19:56:48.827Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T19:56:49.104Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T19:56:49.706Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T19:56:50.313Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T19:56:50.313Z] OK: 224 MiB in 56 packages [2022-01-19T19:56:51.308Z] Removing intermediate container 667b15fa7b44 [2022-01-19T19:56:51.308Z] ---> ea62e0d4bd2e [2022-01-19T19:56:51.308Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-19T19:56:51.591Z] ---> Running in ee0d5727350f [2022-01-19T19:56:51.869Z] Removing intermediate container ee0d5727350f [2022-01-19T19:56:51.869Z] ---> 921ccb566ee1 [2022-01-19T19:56:51.869Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-19T19:56:52.876Z] ---> 883903483b96 [2022-01-19T19:56:52.876Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T19:56:52.876Z] ---> Running in 3b55beeb3b51 [2022-01-19T19:58:14.794Z] Removing intermediate container 3b55beeb3b51 [2022-01-19T19:58:14.794Z] ---> b56b99cc6813 [2022-01-19T19:58:14.794Z] Step 11/12 : COPY . . [2022-01-19T19:58:14.794Z] ---> ec5f6c0b1ac0 [2022-01-19T19:58:14.794Z] Step 12/12 : RUN $MAKE [2022-01-19T19:58:14.794Z] ---> Running in 00518288e2fe [2022-01-19T19:58:15.390Z] noop [2022-01-19T19:58:15.986Z] Removing intermediate container 00518288e2fe [2022-01-19T19:58:15.986Z] ---> 8a9b73de3fa7 [2022-01-19T19:58:15.986Z] Successfully built 8a9b73de3fa7 [2022-01-19T19:58:16.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:58:16.648Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T19:58:16.648Z] . [Pipeline] withDockerContainer [2022-01-19T19:58:16.909Z] prd-ubuntu18.04-docker-arm64-4c-16g-1863 does not seem to be running inside a container [2022-01-19T19:58:17.017Z] $ 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-19T19:58:18.648Z] $ docker top 54f45bbee205f370da3118259887362c3692c671e2f450fbb3e9c153af95bba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T19:58:19.663Z] + go version [2022-01-19T19:58:19.663Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T19:58:19.709Z] $ docker stop --time=1 54f45bbee205f370da3118259887362c3692c671e2f450fbb3e9c153af95bba7 [2022-01-19T19:58:21.495Z] $ docker rm -f 54f45bbee205f370da3118259887362c3692c671e2f450fbb3e9c153af95bba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:58:22.410Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T19:58:22.410Z] . [Pipeline] withDockerContainer [2022-01-19T19:58:22.713Z] prd-ubuntu18.04-docker-arm64-4c-16g-1863 does not seem to be running inside a container [2022-01-19T19:58:22.829Z] $ 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-19T19:58:24.531Z] $ docker top ea8eb18637f0b3fadb73c1bd4f8d5870f7572d44b65535d6500e8b72819ffafa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T19:58:25.650Z] + make test [2022-01-19T19:58:25.650Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T19:58:27.669Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-19T19:59:35.903Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-19T19:59:35.903Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 56.0% of statements [2022-01-19T19:59:36.186Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:00:08.597Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:00:08.597Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:00:08.597Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:00:08.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:00:08.678Z] $ docker stop --time=1 ea8eb18637f0b3fadb73c1bd4f8d5870f7572d44b65535d6500e8b72819ffafa [2022-01-19T20:00:10.510Z] $ docker rm -f ea8eb18637f0b3fadb73c1bd4f8d5870f7572d44b65535d6500e8b72819ffafa [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:00:11.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:00:11.479Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T20:00:12.085Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:00:12.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:00:13.132Z] + ls -al . [2022-01-19T20:00:13.132Z] total 176 [2022-01-19T20:00:13.132Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:00 . [2022-01-19T20:00:13.132Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 19:55 .. [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 19:55 .dockerignore [2022-01-19T20:00:13.132Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 19:55 .git [2022-01-19T20:00:13.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:55 .github [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 19:55 .gitignore [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 19 19:55 Attribution.txt [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 19 19:55 CHANGELOG.md [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jan 19 19:55 Dockerfile [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 19:55 GOVERNANCE.md [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 19:55 Jenkinsfile [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 19:55 LICENSE [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 19 19:55 Makefile [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 19:55 OWNERS.md [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 19 19:55 README.md [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 19:52 VERSION [2022-01-19T20:00:13.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:55 bin [2022-01-19T20:00:13.132Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:55 cmd [2022-01-19T20:00:13.132Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 19 19:59 coverage.out [2022-01-19T20:00:13.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:55 driver [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 277 Jan 19 19:55 go.mod [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 19 19:55 go.sum [2022-01-19T20:00:13.132Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:55 snap [2022-01-19T20:00:13.132Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 19:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:00:13.537Z] + 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=06c0ff5c9cf0dea62182c68bfed431589a325a5c --label arch=arm64 --label version=0.0.0 . [2022-01-19T20:00:13.537Z] Sending build context to Docker daemon 131.6kB [2022-01-19T20:00:13.846Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:00:13.846Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-19T20:00:13.846Z] ---> 8a9b73de3fa7 [2022-01-19T20:00:13.846Z] Step 3/25 : ARG MAKE='make build' [2022-01-19T20:00:14.145Z] ---> Running in 6bbce89b33ea [2022-01-19T20:00:14.753Z] Removing intermediate container 6bbce89b33ea [2022-01-19T20:00:14.753Z] ---> 0db2b61c2a28 [2022-01-19T20:00:14.753Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:00:14.753Z] ---> Running in 3877ebfc7996 [2022-01-19T20:00:15.385Z] Removing intermediate container 3877ebfc7996 [2022-01-19T20:00:15.385Z] ---> d461d8f51975 [2022-01-19T20:00:15.385Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:00:15.385Z] ---> Running in 0388838f91fa [2022-01-19T20:00:15.661Z] Removing intermediate container 0388838f91fa [2022-01-19T20:00:15.661Z] ---> 68be3b3c00e9 [2022-01-19T20:00:15.661Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:00:15.939Z] ---> Running in aa97ca1e6c8f [2022-01-19T20:00:17.947Z] Removing intermediate container aa97ca1e6c8f [2022-01-19T20:00:17.947Z] ---> 446ec154d6c8 [2022-01-19T20:00:17.947Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:00:17.947Z] ---> Running in bce6d656722e [2022-01-19T20:00:19.388Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:00:20.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:00:21.861Z] OK: 224 MiB in 56 packages [2022-01-19T20:00:22.859Z] Removing intermediate container bce6d656722e [2022-01-19T20:00:22.859Z] ---> b7c1b0c80862 [2022-01-19T20:00:22.859Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-19T20:00:22.859Z] ---> Running in 50fd531a5cd5 [2022-01-19T20:00:23.135Z] Removing intermediate container 50fd531a5cd5 [2022-01-19T20:00:23.135Z] ---> 027d2a36a97b [2022-01-19T20:00:23.135Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-19T20:00:24.125Z] ---> e61ade24ad4c [2022-01-19T20:00:24.125Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:00:24.125Z] ---> Running in d997fcb5ee2c [2022-01-19T20:00:26.781Z] Removing intermediate container d997fcb5ee2c [2022-01-19T20:00:26.781Z] ---> 2e6494c2d450 [2022-01-19T20:00:26.781Z] Step 11/25 : COPY . . [2022-01-19T20:00:27.391Z] ---> 7d3efc76a475 [2022-01-19T20:00:27.391Z] Step 12/25 : RUN $MAKE [2022-01-19T20:00:27.391Z] ---> Running in 0136159c4216 [2022-01-19T20:00:28.840Z] 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-19T20:01:25.581Z] Removing intermediate container 0136159c4216 [2022-01-19T20:01:25.581Z] ---> 73421f78323e [2022-01-19T20:01:25.581Z] Step 13/25 : FROM alpine:3.14 [2022-01-19T20:01:25.581Z] 3.14: Pulling from library/alpine [2022-01-19T20:01:25.581Z] be307f383ecc: Pulling fs layer [2022-01-19T20:01:25.581Z] be307f383ecc: Verifying Checksum [2022-01-19T20:01:25.581Z] be307f383ecc: Download complete [2022-01-19T20:01:25.581Z] be307f383ecc: Pull complete [2022-01-19T20:01:25.581Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:01:25.581Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:01:25.581Z] ---> 5b8b7b635229 [2022-01-19T20:01:25.581Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-19T20:01:25.581Z] ---> Running in e72b257073d7 [2022-01-19T20:01:25.581Z] Removing intermediate container e72b257073d7 [2022-01-19T20:01:25.581Z] ---> b8fb41f84a49 [2022-01-19T20:01:25.581Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-19T20:01:25.581Z] ---> Running in c14437a5e4c6 [2022-01-19T20:01:25.581Z] Removing intermediate container c14437a5e4c6 [2022-01-19T20:01:25.581Z] ---> ffbb855e726a [2022-01-19T20:01:25.581Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:01:25.581Z] ---> Running in 736a3a573318 [2022-01-19T20:01:25.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:01:25.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:01:26.846Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:01:26.846Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:01:26.846Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:01:26.846Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:01:26.846Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:01:27.121Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:01:27.121Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:01:27.121Z] OK: 8 MiB in 20 packages [2022-01-19T20:01:28.101Z] Removing intermediate container 736a3a573318 [2022-01-19T20:01:28.101Z] ---> 1ff99cd46f2f [2022-01-19T20:01:28.101Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-19T20:01:29.542Z] ---> 189e320c954c [2022-01-19T20:01:29.542Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-19T20:01:30.141Z] ---> b7c3868a8461 [2022-01-19T20:01:30.142Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-19T20:01:30.744Z] ---> 10336ba225e7 [2022-01-19T20:01:30.744Z] Step 20/25 : EXPOSE 59986 [2022-01-19T20:01:30.744Z] ---> Running in caea817accb7 [2022-01-19T20:01:31.344Z] Removing intermediate container caea817accb7 [2022-01-19T20:01:31.344Z] ---> 083f8918d676 [2022-01-19T20:01:31.344Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-19T20:01:31.344Z] ---> Running in a8546178b2df [2022-01-19T20:01:31.621Z] Removing intermediate container a8546178b2df [2022-01-19T20:01:31.621Z] ---> de9b56bf70c5 [2022-01-19T20:01:31.621Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-19T20:01:31.904Z] ---> Running in d8d6135307d4 [2022-01-19T20:01:32.186Z] Removing intermediate container d8d6135307d4 [2022-01-19T20:01:32.186Z] ---> bf6278a0006b [2022-01-19T20:01:32.186Z] Step 23/25 : LABEL arch=arm64 [2022-01-19T20:01:32.459Z] ---> Running in 3ec65bf6daa5 [2022-01-19T20:01:32.734Z] Removing intermediate container 3ec65bf6daa5 [2022-01-19T20:01:32.734Z] ---> 01618fb94b45 [2022-01-19T20:01:32.734Z] Step 24/25 : LABEL git_sha=06c0ff5c9cf0dea62182c68bfed431589a325a5c [2022-01-19T20:01:33.013Z] ---> Running in a883f004914f [2022-01-19T20:01:33.285Z] Removing intermediate container a883f004914f [2022-01-19T20:01:33.285Z] ---> f2c89247e035 [2022-01-19T20:01:33.285Z] Step 25/25 : LABEL version=0.0.0 [2022-01-19T20:01:33.561Z] ---> Running in cafe11065798 [2022-01-19T20:01:33.839Z] Removing intermediate container cafe11065798 [2022-01-19T20:01:33.839Z] ---> e9ddf79d9515 [2022-01-19T20:01:33.839Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:01:33.839Z] Successfully built e9ddf79d9515 [2022-01-19T20:01:33.839Z] 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-19T20:01:34.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:34.533Z] [2022-01-19T20:01:34.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:01:34.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:35.193Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T20:01:35.193Z] 448f6bf000e3: Pulling fs layer [2022-01-19T20:01:35.193Z] f757da607395: Pulling fs layer [2022-01-19T20:01:35.193Z] 05883995daec: Pulling fs layer [2022-01-19T20:01:35.193Z] 8603b9c90790: Pulling fs layer [2022-01-19T20:01:35.193Z] 1560dd03e051: Pulling fs layer [2022-01-19T20:01:35.193Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T20:01:35.193Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T20:01:35.193Z] 1560dd03e051: Waiting [2022-01-19T20:01:35.193Z] 27f5ce0e4adf: Waiting [2022-01-19T20:01:35.193Z] c2d8d7efcc4b: Waiting [2022-01-19T20:01:35.193Z] 8603b9c90790: Waiting [2022-01-19T20:01:35.193Z] f757da607395: Verifying Checksum [2022-01-19T20:01:35.193Z] f757da607395: Download complete [2022-01-19T20:01:35.193Z] 8603b9c90790: Verifying Checksum [2022-01-19T20:01:35.193Z] 8603b9c90790: Download complete [2022-01-19T20:01:35.473Z] 1560dd03e051: Verifying Checksum [2022-01-19T20:01:35.473Z] 1560dd03e051: Download complete [2022-01-19T20:01:35.473Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T20:01:35.473Z] 27f5ce0e4adf: Download complete [2022-01-19T20:01:35.473Z] 05883995daec: Verifying Checksum [2022-01-19T20:01:35.473Z] 05883995daec: Download complete [2022-01-19T20:01:35.750Z] 448f6bf000e3: Verifying Checksum [2022-01-19T20:01:35.750Z] 448f6bf000e3: Download complete [2022-01-19T20:01:38.377Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T20:01:38.377Z] c2d8d7efcc4b: Download complete [2022-01-19T20:01:40.361Z] 448f6bf000e3: Pull complete [2022-01-19T20:01:40.641Z] f757da607395: Pull complete [2022-01-19T20:01:42.086Z] 05883995daec: Pull complete [2022-01-19T20:01:42.365Z] 8603b9c90790: Pull complete [2022-01-19T20:01:43.345Z] 1560dd03e051: Pull complete [2022-01-19T20:01:43.620Z] 27f5ce0e4adf: Pull complete [2022-01-19T20:01:58.712Z] c2d8d7efcc4b: Pull complete [2022-01-19T20:01:58.712Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T20:01:58.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:58.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T20:01:58.941Z] prd-ubuntu18.04-docker-arm64-4c-16g-1863 does not seem to be running inside a container [2022-01-19T20:01:59.041Z] $ 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-19T20:02:02.244Z] $ docker top d90d21c86908a066b067eb4bbe3f2e4eea05706f00dece66309150dd8ca92d16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:03.199Z] ---> job-cost.sh [2022-01-19T20:02:03.200Z] lf-activate-venv: SKIPPING [2022-01-19T20:02:03.200Z] INFO: No Stack... [2022-01-19T20:02:03.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T20:02:04.074Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:02:04.754Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-01-19T20:02:04.755Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T20:02:04.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [2022-01-19T20:02:04.856Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] did not exist. Created. [2022-01-19T20:02:04.857Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:02:05.618Z] /w/workspace/device-rest-go/1@tmp/durable-ed3d16dc/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-ed3d16dc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T20:02:06.446Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T20:02:06.484Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T20:02:06.541Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:02:06.669Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:02:06.770Z] $ docker stop --time=1 d90d21c86908a066b067eb4bbe3f2e4eea05706f00dece66309150dd8ca92d16 [2022-01-19T20:02:08.332Z] $ docker rm -f d90d21c86908a066b067eb4bbe3f2e4eea05706f00dece66309150dd8ca92d16 [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-19T20:02:09.386Z] provisioning config files... [2022-01-19T20:02:09.426Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/config567929374413925188tmp [Pipeline] { [Pipeline] sh [2022-01-19T20:02:09.763Z] + set +x [2022-01-19T20:02:09.763Z] + curl -s https://codecov.io/bash [2022-01-19T20:02:09.763Z] + bash -s -- [2022-01-19T20:02:09.763Z] [2022-01-19T20:02:09.763Z] _____ _ [2022-01-19T20:02:09.763Z] / ____| | | [2022-01-19T20:02:09.763Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T20:02:09.763Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T20:02:09.763Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T20:02:09.763Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T20:02:09.763Z] Bash-1.0.6 [2022-01-19T20:02:09.763Z] [2022-01-19T20:02:09.763Z] [2022-01-19T20:02:09.763Z] ==> git version 2.24.4 found [2022-01-19T20:02:09.763Z] ==> 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-19T20:02:09.763Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T20:02:09.763Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T20:02:09.763Z] ==> Jenkins CI detected. [2022-01-19T20:02:09.763Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-152 [2022-01-19T20:02:09.763Z] project root: . [2022-01-19T20:02:09.763Z] --> token set from env [2022-01-19T20:02:09.763Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T20:02:09.763Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T20:02:09.763Z] ==> Python coveragepy not found [2022-01-19T20:02:09.763Z] ==> Searching for coverage reports in: [2022-01-19T20:02:09.763Z] + . [2022-01-19T20:02:09.763Z] -> Found 1 reports [2022-01-19T20:02:09.763Z] ==> Detecting git/mercurial file structure [2022-01-19T20:02:09.763Z] ==> Reading reports [2022-01-19T20:02:09.763Z] + ./coverage.out bytes=9215 [2022-01-19T20:02:09.763Z] ==> Appending adjustments [2022-01-19T20:02:09.763Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T20:02:10.023Z] + Found adjustments [2022-01-19T20:02:10.023Z] ==> Gzipping contents [2022-01-19T20:02:10.023Z] 4.0K /tmp/codecov.ecFK9f.gz [2022-01-19T20:02:10.023Z] ==> Uploading reports [2022-01-19T20:02:10.023Z] url: https://codecov.io [2022-01-19T20:02:10.023Z] query: branch=PR-152&commit=06c0ff5c9cf0dea62182c68bfed431589a325a5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-01-19T20:02:10.023Z] -> Pinging Codecov [2022-01-19T20:02:10.023Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-152&commit=06c0ff5c9cf0dea62182c68bfed431589a325a5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-01-19T20:02:10.284Z] -> Uploading to [2022-01-19T20:02:10.284Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-19/4E5D53B4F1F92C436F7061BF334D961C/06c0ff5c9cf0dea62182c68bfed431589a325a5c/5b8b5d0d-45df-4fe2-bf0c-fc4767f6c229.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T200210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84f1574e86b583127ae2394612799f7c7b9ec9ccc7049aa8fcaa8e842e9b27f8 [2022-01-19T20:02:10.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:02:10.284Z] Dload Upload Total Spent Left Speed [2022-01-19T20:02:10.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5746 --:--:-- --:--:-- --:--:-- 5748 100 1805 0 0 100 1805 0 5743 --:--:-- --:--:-- --:--:-- 5730 [2022-01-19T20:02:10.545Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/06c0ff5c9cf0dea62182c68bfed431589a325a5c [Pipeline] } [2022-01-19T20:02:10.576Z] 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-19T20:02:12.317Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-152/archives ']' [2022-01-19T20:02:12.317Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-152/archives [2022-01-19T20:02:12.317Z] total 8 [2022-01-19T20:02:12.317Z] drwxr-xr-x. 3 root root 34 Jan 19 19:54 . [2022-01-19T20:02:12.317Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 19:54 .. [2022-01-19T20:02:12.317Z] drwxr-xr-x. 2 root root 6 Jan 19 19:54 cost [2022-01-19T20:02:12.317Z] -rw-r--r--. 1 root root 85 Jan 19 19:54 cost.csv [2022-01-19T20:02:12.317Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-152/archives [2022-01-19T20:02:12.317Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-152/archives [2022-01-19T20:02:12.317Z] total 8 [2022-01-19T20:02:12.317Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 19:54 . [2022-01-19T20:02:12.317Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 19:54 .. [2022-01-19T20:02:12.317Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 19:54 cost [2022-01-19T20:02:12.317Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 19 19:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:12.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:13.242Z] ---> package-listing.sh [2022-01-19T20:02:13.242Z] ++ facter osfamily [2022-01-19T20:02:13.242Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T20:02:13.506Z] + OS_FAMILY=redhat [2022-01-19T20:02:13.506Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-152 [2022-01-19T20:02:13.506Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T20:02:13.506Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T20:02:13.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T20:02:13.506Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T20:02:13.506Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-152 ']' [2022-01-19T20:02:13.506Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T20:02:13.506Z] + case "${OS_FAMILY}" in [2022-01-19T20:02:13.506Z] + rpm -qa [2022-01-19T20:02:13.506Z] + sort [2022-01-19T20:02:14.075Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T20:02:14.075Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T20:02:14.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T20:02:14.075Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-152 ']' [2022-01-19T20:02:14.075Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-152/archives/ [2022-01-19T20:02:14.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-152/archives/ [Pipeline] echo [2022-01-19T20:02:14.112Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T20:02:14.420Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:02:15.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:02:15.015Z] . [Pipeline] withDockerContainer [2022-01-19T20:02:15.105Z] prd-centos7-docker-4c-2g-1850 does not seem to be running inside a container [2022-01-19T20:02:15.136Z] $ 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-152/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-152 -v /w/workspace/gexfoundry_device-rest-go_PR-152:/w/workspace/gexfoundry_device-rest-go_PR-152:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-152@tmp:/w/workspace/gexfoundry_device-rest-go_PR-152@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-19T20:02:15.351Z] $ docker top 03c6f64f6d4d60d82b67f15994748c0f5c0028ae1426fddd727fe0a930b39fd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:02:15.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T20:02:16.085Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T20:02:16.405Z] + ls /var/log/sa-host [2022-01-19T20:02:16.405Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T20:02:16.405Z] file_magic: OK [2022-01-19T20:02:16.405Z] HZ: Using current value: 100 [2022-01-19T20:02:16.405Z] file_header: OK [2022-01-19T20:02:16.405Z] 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-19T20:02:16.405Z] Statistics: [2022-01-19T20:02:16.405Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:02:16.405Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T20:02:16.405Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T20:02:16.405Z] file_magic: OK [2022-01-19T20:02:16.405Z] HZ: Using current value: 100 [2022-01-19T20:02:16.405Z] file_header: OK [2022-01-19T20:02:16.405Z] 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-19T20:02:16.405Z] Statistics: [2022-01-19T20:02:16.405Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:02:16.405Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:02:16.569Z] provisioning config files... [2022-01-19T20:02:16.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-152@tmp/config5890375134491972742tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:02:16.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:16.995Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T20:02:17.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:17.443Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T20:02:17.475Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:17.797Z] ---> sudo-logs.sh [2022-01-19T20:02:17.797Z] Archiving 'sudo' log.. [2022-01-19T20:02:17.797Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1850.novalocal: Name or service not known [2022-01-19T20:02:17.797Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1850.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T20:02:17.895Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:18.211Z] ---> job-cost.sh [2022-01-19T20:02:18.211Z] lf-activate-venv: SKIPPING [2022-01-19T20:02:18.211Z] DEBUG: total: 0.05999999865889549 [2022-01-19T20:02:18.211Z] INFO: Retrieving Stack Cost... [2022-01-19T20:02:18.473Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:02:19.044Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T20:02:19.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:02:19.405Z] ---> logs-deploy.sh [2022-01-19T20:02:19.405Z] lf-activate-venv: SKIPPING [2022-01-19T20:02:19.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-152/1 [2022-01-19T20:02:19.405Z] INFO: archiving workspace using pattern(s): [2022-01-19T20:02:19.976Z] Archives upload complete. [2022-01-19T20:02:20.239Z] INFO: archiving logs to Nexus