Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a15ca76430f2bb6894d82c10c041f73ab1419b9+8e1e7cb95d5530821e601db4473f34bcb708dd90 (c599cce8ab486ccc6b6530e558660bb236e39021) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 Running on prd-centos7-docker-4c-2g-1149 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-77 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 Merge succeeded, producing 68120fab848e555981acb1d37d5ac6a9ec36223e Checking out Revision 68120fab848e555981acb1d37d5ac6a9ec36223e (PR-77) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68120fab848e555981acb1d37d5ac6a9ec36223e # timeout=10 Commit message: "Merge commit '8e1e7cb95d5530821e601db4473f34bcb708dd90' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 9421631aadd4c34c19c9882516b7ab8ef52a28c0 # timeout=10 [Pipeline] echo 11:06:25 ========================================================= 11:06:25 EdgeX Global Pipelines Version Info 11:06:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:26 ------------------- 11:06:26 stable info: 11:06:26 ------------------- 11:06:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:26 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 11:06:26 Message: update stable to v1.0.186 11:06:27 ------------------- 11:06:27 experimental info: 11:06:27 ------------------- 11:06:27 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:27 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 11:06:27 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:06:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:06:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68120fab848e555981acb1d37d5ac6a9ec36223e [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68120fa [Pipeline] echo 11:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:06:28 provisioning config files... 11:06:28 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config5687553887937946153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:29 ---> docker-login.sh 11:06:29 nexus3.edgexfoundry.org:10001 11:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:29 Configure a credential helper to remove this warning. See 11:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:29 11:06:29 Login Succeeded 11:06:29 nexus3.edgexfoundry.org:10002 11:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:29 Configure a credential helper to remove this warning. See 11:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:29 11:06:29 Login Succeeded 11:06:29 nexus3.edgexfoundry.org:10003 11:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:29 Configure a credential helper to remove this warning. See 11:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:29 11:06:29 Login Succeeded 11:06:29 nexus3.edgexfoundry.org:10004 11:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:30 Configure a credential helper to remove this warning. See 11:06:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:30 11:06:30 Login Succeeded 11:06:30 docker.io 11:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:30 Configure a credential helper to remove this warning. See 11:06:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:30 11:06:30 Login Succeeded 11:06:30 ---> docker-login.sh ends [Pipeline] } 11:06:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:30 + git log --format=format:%s -1 68120fab848e555981acb1d37d5ac6a9ec36223e [Pipeline] echo 11:06:31 GIT_COMMIT: 68120fab848e555981acb1d37d5ac6a9ec36223e, Commit Message: Merge commit '8e1e7cb95d5530821e601db4473f34bcb708dd90' into HEAD [Pipeline] echo 11:06:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:31 11:06:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:06:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:32 latest: Pulling from edgex-devops/git-semver 11:06:32 31603596830f: Pulling fs layer 11:06:32 2a8b12db71e7: Pulling fs layer 11:06:32 6ca5941a6612: Pulling fs layer 11:06:32 ecc8261a40a4: Pulling fs layer 11:06:32 ecc8261a40a4: Waiting 11:06:32 2a8b12db71e7: Verifying Checksum 11:06:32 2a8b12db71e7: Download complete 11:06:32 31603596830f: Verifying Checksum 11:06:32 31603596830f: Download complete 11:06:32 ecc8261a40a4: Verifying Checksum 11:06:32 ecc8261a40a4: Download complete 11:06:32 6ca5941a6612: Verifying Checksum 11:06:32 6ca5941a6612: Download complete 11:06:32 31603596830f: Pull complete 11:06:32 2a8b12db71e7: Pull complete 11:06:33 6ca5941a6612: Pull complete 11:06:34 ecc8261a40a4: Pull complete 11:06:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:06:34 prd-centos7-docker-4c-2g-1149 does not seem to be running inside a container 11:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:06:36 $ docker top 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:36 [ssh-agent] Looking for ssh-agent implementation... 11:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:37 $ docker exec 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 ssh-agent 11:06:37 SSH_AUTH_SOCK=/tmp/ssh-lmmnyFxmYpgP/agent.11 11:06:37 SSH_AGENT_PID=16 11:06:37 Running ssh-add (command line suppressed) 11:06:37 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_5028753664983936421.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_5028753664983936421.key) 11:06:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:37 + git tag --points-at HEAD [Pipeline] } 11:06:37 $ docker exec --env ******** --env ******** 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 ssh-agent -k 11:06:37 unset SSH_AUTH_SOCK; 11:06:37 unset SSH_AGENT_PID; 11:06:37 echo Agent pid 16 killed; 11:06:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:37 [ssh-agent] Looking for ssh-agent implementation... 11:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:38 $ docker exec 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 ssh-agent 11:06:38 SSH_AUTH_SOCK=/tmp/ssh-1Z3qreNXnEzm/agent.44 11:06:38 SSH_AGENT_PID=49 11:06:38 Running ssh-add (command line suppressed) 11:06:38 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_4182652190759290772.key (/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/private_key_4182652190759290772.key) 11:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:38 + git semver init 11:06:38 # -> Open(): unable to determine branch for HEAD 11:06:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.git 11:06:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-77 11:06:38 # $SEMVER_REMOTE_NAME = origin 11:06:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:06:38 # $SEMVER_USER_NAME = edgex-jenkins 11:06:38 # $SEMVER_BRANCH = PR-77 11:06:38 # $SEMVER_TEMP = /tmp/semver-172059896 11:06:38 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:06:40 # '/tmp/semver-172059896' -> '/w/workspace/dgexfoundry_device-rest-go_PR-77/.semver' 11:06:40 # -> Force: false 11:06:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-77/.semver [Pipeline] } 11:06:40 $ docker exec --env ******** --env ******** 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 ssh-agent -k 11:06:40 unset SSH_AUTH_SOCK; 11:06:40 unset SSH_AGENT_PID; 11:06:40 echo Agent pid 49 killed; 11:06:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:40 + git semver [Pipeline] } 11:06:40 $ docker stop --time=1 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 11:06:42 $ docker rm -f 6cbcd695356661573db9ee414cf897774869a9faa6596c9036246d745be91ec8 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:43 Stashed 1 file(s) [Pipeline] echo 11:06:43 [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] node [Pipeline] node 11:06:58 Still waiting to schedule task 11:06:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:06:58 Still waiting to schedule task 11:06:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:08:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1153 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws 11:08:50 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 11:08:56 using credential edgex-jenkins-ssh 11:08:56 Cloning the remote Git repository 11:08:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:08:56 > git init /w/workspace/device-rest-go/3 # timeout=10 11:08:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:08:56 > git --version # timeout=10 11:08:56 > git --version # 'git version 2.17.1' 11:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:58 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 11:08:59 Merge succeeded, producing bccff6b892ddc09dc6ce1c449c1a68a8d069788d 11:08:59 Checking out Revision bccff6b892ddc09dc6ce1c449c1a68a8d069788d (PR-77) 11:08:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:08:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:08:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:08:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:08:58 > git config core.sparsecheckout # timeout=10 11:08:59 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 11:08:59 > git remote # timeout=10 11:08:59 > git config --get remote.origin.url # timeout=10 11:08:59 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:59 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 11:08:59 > git rev-parse HEAD^{commit} # timeout=10 11:08:59 > git config core.sparsecheckout # timeout=10 11:08:59 > git checkout -f bccff6b892ddc09dc6ce1c449c1a68a8d069788d # timeout=10 11:09:03 Commit message: "Merge commit '8e1e7cb95d5530821e601db4473f34bcb708dd90' into HEAD" 11:09:03 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 11:09:03 > git rev-list --no-walk 9421631aadd4c34c19c9882516b7ab8ef52a28c0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:09:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:09:05 + sudo service docker restart 11:09:05 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:09:08 provisioning config files... 11:09:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5684027785603590544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:08 ---> docker-login.sh 11:09:08 nexus3.edgexfoundry.org:10001 11:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:10 Configure a credential helper to remove this warning. See 11:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:10 11:09:10 Login Succeeded 11:09:10 nexus3.edgexfoundry.org:10002 11:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:10 Configure a credential helper to remove this warning. See 11:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:10 11:09:10 Login Succeeded 11:09:10 nexus3.edgexfoundry.org:10003 11:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:11 Configure a credential helper to remove this warning. See 11:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:11 11:09:11 Login Succeeded 11:09:11 nexus3.edgexfoundry.org:10004 11:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:11 Configure a credential helper to remove this warning. See 11:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:11 11:09:11 Login Succeeded 11:09:11 docker.io 11:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:12 Configure a credential helper to remove this warning. See 11:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:12 11:09:12 Login Succeeded 11:09:12 ---> docker-login.sh ends [Pipeline] } 11:09:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:12 ========================================================= 11:09:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 11:09:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:09:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 11:09:13 Sending build context to Docker daemon 89.09kB 11:09:13 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:09:13 Step 2/10 : FROM ${BASE} 11:09:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:13 5f621e34cdf4: Pulling fs layer 11:09:13 a4357932f1b6: Pulling fs layer 11:09:13 18c013af1878: Pulling fs layer 11:09:13 00ac8860ef70: Pulling fs layer 11:09:13 63d7cb157983: Pulling fs layer 11:09:13 b116817d02f9: Pulling fs layer 11:09:13 745a02a5169b: Pulling fs layer 11:09:13 00ac8860ef70: Waiting 11:09:13 63d7cb157983: Waiting 11:09:13 b116817d02f9: Waiting 11:09:13 745a02a5169b: Waiting 11:09:13 18c013af1878: Download complete 11:09:13 a4357932f1b6: Verifying Checksum 11:09:13 a4357932f1b6: Download complete 11:09:13 63d7cb157983: Verifying Checksum 11:09:13 63d7cb157983: Download complete 11:09:13 5f621e34cdf4: Download complete 11:09:13 b116817d02f9: Download complete 11:09:14 5f621e34cdf4: Pull complete 11:09:14 a4357932f1b6: Pull complete 11:09:15 18c013af1878: Pull complete 11:09:16 745a02a5169b: Verifying Checksum 11:09:16 745a02a5169b: Download complete 11:09:17 00ac8860ef70: Verifying Checksum 11:09:17 00ac8860ef70: Download complete 11:09:27 00ac8860ef70: Pull complete 11:09:27 63d7cb157983: Pull complete 11:09:27 b116817d02f9: Pull complete 11:09:30 745a02a5169b: Pull complete 11:09:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 11:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 11:09:30 ---> b7e6874047d6 11:09:30 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:09:34 ---> Running in 83041eb121e9 11:09:34 Removing intermediate container 83041eb121e9 11:09:34 ---> a74047961fd7 11:09:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:09:34 ---> Running in 8e41df931ccb 11:09:34 Removing intermediate container 8e41df931ccb 11:09:34 ---> 89d97ecccffd 11:09:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:09:35 ---> Running in 6a64c1bec168 11:09:35 Removing intermediate container 6a64c1bec168 11:09:35 ---> 5c9262c19d56 11:09:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:35 ---> Running in 3a12f9f83874 11:09:38 Removing intermediate container 3a12f9f83874 11:09:38 ---> 325cf1af6d9f 11:09:38 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:38 ---> Running in ee597026b6bd 11:09:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:09:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:09:40 OK: 142 MiB in 39 packages 11:09:42 Removing intermediate container ee597026b6bd 11:09:42 ---> 5910dfcce7ee 11:09:42 Step 8/10 : WORKDIR /device-rest-go 11:09:42 ---> Running in 75202e031cbd 11:09:43 Removing intermediate container 75202e031cbd 11:09:43 ---> 5fa2c5708ad8 11:09:43 Step 9/10 : COPY . . 11:09:43 ---> b8b639ae950a 11:09:43 Step 10/10 : RUN go mod download 11:09:43 ---> Running in 629129c67211 11:10:10 Removing intermediate container 629129c67211 11:10:10 ---> 95d57d984918 11:10:10 Successfully built 95d57d984918 11:10:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:10:11 + docker inspect -f . ci-base-image-arm64 11:10:11 . [Pipeline] withDockerContainer 11:10:11 prd-ubuntu18.04-docker-arm64-4c-16g-1153 does not seem to be running inside a container 11:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:12 $ docker top 811c8006044e17217f4b036d4f9d86e1ebdc2a0e45f4990c5d13ac2f9515e5ad -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:13 + go version 11:10:13 go version go1.15.5 linux/arm64 [Pipeline] } 11:10:13 $ docker stop --time=1 811c8006044e17217f4b036d4f9d86e1ebdc2a0e45f4990c5d13ac2f9515e5ad 11:10:15 $ docker rm -f 811c8006044e17217f4b036d4f9d86e1ebdc2a0e45f4990c5d13ac2f9515e5ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:10:16 + docker inspect -f . ci-base-image-arm64 11:10:16 . [Pipeline] withDockerContainer 11:10:16 prd-ubuntu18.04-docker-arm64-4c-16g-1153 does not seem to be running inside a container 11:10:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:17 $ docker top 086901a1e0085ddff9c4b9bb4154492d06d21834eaea575c88d7d95325f6df0d -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:18 + make test 11:10:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:10:19 ? github.com/edgexfoundry/device-rest-go [no test files] 11:10:42 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 11:10:42 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 11:10:42 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 11:10:42 have (string, bool, string, string) 11:10:42 want (string, string) 11:10:50 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 11:10:50 make: *** [Makefile:23: test] Error 2 [Pipeline] } 11:10:50 $ docker stop --time=1 086901a1e0085ddff9c4b9bb4154492d06d21834eaea575c88d7d95325f6df0d 11:10:52 $ docker rm -f 086901a1e0085ddff9c4b9bb4154492d06d21834eaea575c88d7d95325f6df0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 11:10:53 ---> job-cost.sh 11:10:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1Ixq 11:11:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:12:24 Running on prd-centos7-docker-4c-2g-1155 in /w/workspace/dgexfoundry_device-rest-go_PR-77 [Pipeline] { [Pipeline] ws 11:12:24 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 11:12:27 using credential edgex-jenkins-ssh 11:12:27 Cloning the remote Git repository 11:12:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:12:28 > git init /w/workspace/device-rest-go/3 # timeout=10 11:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:12:28 > git --version # timeout=10 11:12:28 > git --version # 'git version 2.24.3' 11:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:12:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:12:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:12:29 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 9a15ca76430f2bb6894d82c10c041f73ab1419b9 11:12:29 Merge succeeded, producing 0bd69ecc46c8cc86a954c2913aa6a4f2989dfe1f 11:12:29 Checking out Revision 0bd69ecc46c8cc86a954c2913aa6a4f2989dfe1f (PR-77) 11:12:29 > git config core.sparsecheckout # timeout=10 11:12:29 > git checkout -f 9a15ca76430f2bb6894d82c10c041f73ab1419b9 # timeout=10 11:12:29 > git remote # timeout=10 11:12:29 > git config --get remote.origin.url # timeout=10 11:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:29 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 11:12:29 > git rev-parse HEAD^{commit} # timeout=10 11:12:29 > git config core.sparsecheckout # timeout=10 11:12:29 > git checkout -f 0bd69ecc46c8cc86a954c2913aa6a4f2989dfe1f # timeout=10 11:12:33 Commit message: "Merge commit '8e1e7cb95d5530821e601db4473f34bcb708dd90' into HEAD" 11:12:33 First time build. Skipping changelog. 11:12:33 11:12:33 GitHub has been notified of this commit’s build result 11:12:33 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:12:33 > git rev-list --no-walk 9421631aadd4c34c19c9882516b7ab8ef52a28c0 # timeout=10 11:12:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:12:35 + sudo service docker restart 11:12:35 + true 11:12:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:12:36 provisioning config files... 11:12:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5657804316506441285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:36 ---> docker-login.sh 11:12:36 nexus3.edgexfoundry.org:10001 11:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:37 Configure a credential helper to remove this warning. See 11:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:37 11:12:37 Login Succeeded 11:12:37 nexus3.edgexfoundry.org:10002 11:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:37 Configure a credential helper to remove this warning. See 11:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:37 11:12:37 Login Succeeded 11:12:37 nexus3.edgexfoundry.org:10003 11:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:37 Configure a credential helper to remove this warning. See 11:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:37 11:12:37 Login Succeeded 11:12:37 nexus3.edgexfoundry.org:10004 11:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:37 Configure a credential helper to remove this warning. See 11:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:37 11:12:37 Login Succeeded 11:12:37 docker.io 11:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:37 Configure a credential helper to remove this warning. See 11:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:37 11:12:37 Login Succeeded 11:12:37 ---> docker-login.sh ends [Pipeline] } 11:12:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:12:38 ========================================================= 11:12:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:12:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:12:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 11:12:38 Sending build context to Docker daemon 89.09kB 11:12:38 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:12:38 Step 2/10 : FROM ${BASE} 11:12:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:12:38 188c0c94c7c5: Pulling fs layer 11:12:38 0ef7d3d256c8: Pulling fs layer 11:12:38 de9db76c5a1d: Pulling fs layer 11:12:38 bca2f99d35d6: Pulling fs layer 11:12:38 93359f2a8cfa: Pulling fs layer 11:12:38 7c6f9722023f: Pulling fs layer 11:12:38 a35cf1a2eb13: Pulling fs layer 11:12:38 93359f2a8cfa: Waiting 11:12:38 7c6f9722023f: Waiting 11:12:38 a35cf1a2eb13: Waiting 11:12:38 bca2f99d35d6: Waiting 11:12:38 de9db76c5a1d: Download complete 11:12:38 0ef7d3d256c8: Download complete 11:12:38 93359f2a8cfa: Verifying Checksum 11:12:38 93359f2a8cfa: Download complete 11:12:38 7c6f9722023f: Verifying Checksum 11:12:38 7c6f9722023f: Download complete 11:12:38 188c0c94c7c5: Verifying Checksum 11:12:38 188c0c94c7c5: Download complete 11:12:39 188c0c94c7c5: Pull complete 11:12:39 0ef7d3d256c8: Pull complete 11:12:39 de9db76c5a1d: Pull complete 11:12:40 a35cf1a2eb13: Verifying Checksum 11:12:40 a35cf1a2eb13: Download complete 11:12:41 bca2f99d35d6: Verifying Checksum 11:12:41 bca2f99d35d6: Download complete 11:12:47 bca2f99d35d6: Pull complete 11:12:47 93359f2a8cfa: Pull complete 11:12:47 7c6f9722023f: Pull complete 11:12:51 a35cf1a2eb13: Pull complete 11:12:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 11:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:12:51 ---> a62c8e92a672 11:12:51 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:12:51 ---> Running in a68383141ebc 11:12:51 Removing intermediate container a68383141ebc 11:12:51 ---> e3cfe51c3fa5 11:12:51 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:12:51 ---> Running in da20ed8a9956 11:12:52 Removing intermediate container da20ed8a9956 11:12:52 ---> e5bf07e06512 11:12:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:12:52 ---> Running in 5c16619b2a8b 11:12:52 Removing intermediate container 5c16619b2a8b 11:12:52 ---> a7ab054f5826 11:12:52 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:52 ---> Running in ff602a75d21b 11:12:53 Removing intermediate container ff602a75d21b 11:12:53 ---> 416e34c0b88b 11:12:53 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:53 ---> Running in 72a020e90aaf 11:12:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:12:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:12:55 OK: 166 MiB in 39 packages 11:12:56 Removing intermediate container 72a020e90aaf 11:12:56 ---> 4525af5b0f7e 11:12:56 Step 8/10 : WORKDIR /device-rest-go 11:12:56 ---> Running in 0a88b58751ac 11:12:56 Removing intermediate container 0a88b58751ac 11:12:56 ---> bc9e76e6eadc 11:12:56 Step 9/10 : COPY . . 11:12:56 ---> d9022567ce98 11:12:56 Step 10/10 : RUN go mod download 11:12:56 ---> Running in 64000d95629f 11:13:14 Removing intermediate container 64000d95629f 11:13:14 ---> bd257b5e4fec 11:13:14 Successfully built bd257b5e4fec 11:13:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:13:15 + docker inspect -f . ci-base-image-x86_64 11:13:15 . [Pipeline] withDockerContainer 11:13:15 prd-centos7-docker-4c-2g-1155 does not seem to be running inside a container 11:13:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:13:16 $ docker top 9857b4107788b3c0ad5752fd990f057af80d2a419982e17c1ffad19d6fd4ccbf -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:17 + go version 11:13:17 go version go1.15.5 linux/amd64 [Pipeline] } 11:13:17 $ docker stop --time=1 9857b4107788b3c0ad5752fd990f057af80d2a419982e17c1ffad19d6fd4ccbf 11:13:17 lf-activate-venv(): INFO: Adding /tmp/venv-1Ixq/bin to PATH 11:13:17 INFO: No Stack... 11:13:17 INFO: Retrieving Pricing Info for: lf-standard-4 11:13:17 INFO: Archiving Costs 11:13:18 $ docker rm -f 9857b4107788b3c0ad5752fd990f057af80d2a419982e17c1ffad19d6fd4ccbf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:13:18 + + cut -d,cat -f6 /w/workspace/device-rest-go/3/archives/cost.csv 11:13:18 11:13:19 + docker inspect -f . ci-base-image-x86_64 11:13:19 . [Pipeline] withDockerContainer 11:13:19 prd-centos7-docker-4c-2g-1155 does not seem to be running inside a container 11:13:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:13:19 $ docker top be85c34a124c3705c1a185497c32575f0084ad2f8a646bcba1a47662306cca68 -eo pid,comm [Pipeline] { [Pipeline] lock 11:13:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] 11:13:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] did not exist. Created. 11:13:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 11:13:20 + make test 11:13:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:13:20 + echo total: 0.20999999344348907 [Pipeline] stash 11:13:21 ? github.com/edgexfoundry/device-rest-go [no test files] 11:13:21 Stashed 1 file(s) [Pipeline] } 11:13:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:13:21 Failed in branch arm64 11:13:28 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 11:13:28 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 11:13:28 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 11:13:28 have (string, bool, string, string) 11:13:28 want (string, string) 11:13:30 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 11:13:30 make: *** [Makefile:23: test] Error 2 [Pipeline] } 11:13:30 $ docker stop --time=1 be85c34a124c3705c1a185497c32575f0084ad2f8a646bcba1a47662306cca68 11:13:33 $ docker rm -f be85c34a124c3705c1a185497c32575f0084ad2f8a646bcba1a47662306cca68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 11:13:34 ---> job-cost.sh 11:13:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sZZj 11:13:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:14:15 lf-activate-venv(): INFO: Adding /tmp/venv-sZZj/bin to PATH 11:14:15 INFO: No Stack... 11:14:16 INFO: Retrieving Pricing Info for: v1-standard-2 11:14:17 INFO: Archiving Costs [Pipeline] sh 11:14:17 + cat /w/workspace/device-rest-go/3/archives/cost.csv 11:14:17 + cut -d, -f6 [Pipeline] lock 11:14:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] 11:14:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] did not exist. Created. 11:14:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:18 /w/workspace/device-rest-go/3@tmp/durable-db0f1462/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 11:14:18 + echo total: 0.029999999329447746 [Pipeline] stash 11:14:18 Warning: overwriting stash ‘stack-cost’ 11:14:18 Stashed 1 file(s) [Pipeline] } 11:14:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-77-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:14:19 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 11:14:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:20 ---> package-listing.sh 11:14:20 ++ facter osfamily 11:14:20 ++ tr '[:upper:]' '[:lower:]' 11:14:20 + OS_FAMILY=redhat 11:14:20 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-77 11:14:20 + START_PACKAGES=/tmp/packages_start.txt 11:14:20 + END_PACKAGES=/tmp/packages_end.txt 11:14:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:20 + PACKAGES=/tmp/packages_start.txt 11:14:20 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' 11:14:20 + PACKAGES=/tmp/packages_end.txt 11:14:20 + case "${OS_FAMILY}" in 11:14:20 + rpm -qa 11:14:20 + sort 11:14:26 + '[' -f /tmp/packages_start.txt ']' 11:14:26 + '[' -f /tmp/packages_end.txt ']' 11:14:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:26 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-77 ']' 11:14:26 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ 11:14:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-77/archives/ [Pipeline] echo 11:14:26 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/dgexfoundry_device-rest-go_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:14:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:14:26 11:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:14:26 alpine: Pulling from edgex-lftools-log-publisher 11:14:26 df20fa9351a1: Pulling fs layer 11:14:26 36b3adc4ff6f: Pulling fs layer 11:14:26 8ad3a11d3b57: Pulling fs layer 11:14:26 46f8f816bc3b: Pulling fs layer 11:14:26 93b61091891f: Pulling fs layer 11:14:26 93b9cdb0e59b: Pulling fs layer 11:14:26 5e14af77c1be: Pulling fs layer 11:14:26 01666e4c0597: Pulling fs layer 11:14:26 aa168da1d23b: Pulling fs layer 11:14:26 93b61091891f: Waiting 11:14:26 93b9cdb0e59b: Waiting 11:14:26 5e14af77c1be: Waiting 11:14:26 01666e4c0597: Waiting 11:14:26 aa168da1d23b: Waiting 11:14:26 46f8f816bc3b: Waiting 11:14:26 36b3adc4ff6f: Download complete 11:14:26 46f8f816bc3b: Verifying Checksum 11:14:26 46f8f816bc3b: Download complete 11:14:26 df20fa9351a1: Download complete 11:14:27 93b61091891f: Verifying Checksum 11:14:27 93b61091891f: Download complete 11:14:27 93b9cdb0e59b: Verifying Checksum 11:14:27 93b9cdb0e59b: Download complete 11:14:27 5e14af77c1be: Verifying Checksum 11:14:27 5e14af77c1be: Download complete 11:14:27 01666e4c0597: Verifying Checksum 11:14:27 01666e4c0597: Download complete 11:14:27 8ad3a11d3b57: Verifying Checksum 11:14:27 8ad3a11d3b57: Download complete 11:14:27 df20fa9351a1: Pull complete 11:14:27 36b3adc4ff6f: Pull complete 11:14:29 8ad3a11d3b57: Pull complete 11:14:29 aa168da1d23b: Verifying Checksum 11:14:29 aa168da1d23b: Download complete 11:14:29 46f8f816bc3b: Pull complete 11:14:30 93b61091891f: Pull complete 11:14:30 93b9cdb0e59b: Pull complete 11:14:30 5e14af77c1be: Pull complete 11:14:30 01666e4c0597: Pull complete 11:14:39 aa168da1d23b: Pull complete 11:14:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:14:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:14:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:14:39 prd-centos7-docker-4c-2g-1149 does not seem to be running inside a container 11:14:39 $ 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/dgexfoundry_device-rest-go_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-77 -v /w/workspace/dgexfoundry_device-rest-go_PR-77:/w/workspace/dgexfoundry_device-rest-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-77@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-77@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:14:42 $ docker top 3caf376fb01cdfeb06d508265ba7ce80b5de2a796a1ae41ca47771027722b6ad -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:42 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:42 + mkdir -p /var/log/sa [Pipeline] sh 11:14:43 + ls /var/log/sa-host 11:14:43 + sadf -c /var/log/sa-host/sa20 11:14:43 file_magic: OK 11:14:43 HZ: Using current value: 100 11:14:43 file_header: OK 11:14:43 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 11:14:43 Statistics: 11:14:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:14:43 File successfully converted to sysstat format version 12.2.1 11:14:43 + sadf -c /var/log/sa-host/sa23 11:14:43 file_magic: OK 11:14:43 HZ: Using current value: 100 11:14:43 file_header: OK 11:14:43 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 11:14:43 Statistics: 11:14:43 Hnuu...uuuununununu... 11:14:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:43 provisioning config files... 11:14:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-77@tmp/config4295911196307134555tmp [Pipeline] { [Pipeline] echo 11:14:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:44 ---> create-netrc.sh [Pipeline] } 11:14:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:14:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:14:44 ---> python-tools-install.sh [Pipeline] echo 11:14:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:44 ---> sudo-logs.sh 11:14:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:45 ---> job-cost.sh 11:14:45 lf-activate-venv: SKIPPING 11:14:45 DEBUG: total: 0.029999999329447746 11:14:45 INFO: Retrieving Stack Cost... 11:14:45 INFO: Retrieving Pricing Info for: v1-standard-2 11:14:46 INFO: Archiving Costs [Pipeline] echo 11:14:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:46 ---> logs-deploy.sh 11:14:46 lf-activate-venv: SKIPPING 11:14:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-77/3 11:14:46 INFO: archiving workspace using pattern(s): 11:14:48 Archives upload complete. 11:14:48 INFO: archiving logs to Nexus