Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from af6f8d9db1b2339f9c436b10c553719ef06671b5+f67542ccb051b13986f5f41838b922d5b9b125ad (49e15f416f23ce46934351e08590ab81221d2156) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3823 in /w/workspace/dgexfoundry_device-rest-go_PR-84 [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-84 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit af6f8d9db1b2339f9c436b10c553719ef06671b5 > 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/84/head:refs/remotes/origin/PR-84 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing fa75c7c247b7b9742e276ec94319ac5a7afb4da8 Checking out Revision fa75c7c247b7b9742e276ec94319ac5a7afb4da8 (PR-84) > git config core.sparsecheckout # timeout=10 > git checkout -f af6f8d9db1b2339f9c436b10c553719ef06671b5 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa75c7c247b7b9742e276ec94319ac5a7afb4da8 # timeout=10 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" > git rev-list --no-walk af6f8d9db1b2339f9c436b10c553719ef06671b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:08:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:08:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:08:15 ========================================================= 11:08:15 EdgeX Global Pipelines Version Info 11:08:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:08:16 ------------------- 11:08:16 stable info: 11:08:16 ------------------- 11:08:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:08:16 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:08:16 Message: update stable to v1.0.191 11:08:17 ------------------- 11:08:17 experimental info: 11:08:17 ------------------- 11:08:17 Commited By: **** collab-it+edgex@linuxfoundation.org 11:08:17 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:08:17 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:08:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:08:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:08:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:08:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:08:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-84 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-84 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-84 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa75c7c247b7b9742e276ec94319ac5a7afb4da8 [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa75c7c [Pipeline] echo 11:08:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:08:18 provisioning config files... 11:08:18 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/config1985206925026175880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:19 ---> docker-login.sh 11:08:19 nexus3.edgexfoundry.org:10001 11:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:19 Configure a credential helper to remove this warning. See 11:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:19 11:08:19 Login Succeeded 11:08:19 nexus3.edgexfoundry.org:10002 11:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:19 Configure a credential helper to remove this warning. See 11:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:19 11:08:19 Login Succeeded 11:08:19 nexus3.edgexfoundry.org:10003 11:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:20 Configure a credential helper to remove this warning. See 11:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:20 11:08:20 Login Succeeded 11:08:20 nexus3.edgexfoundry.org:10004 11:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:20 Configure a credential helper to remove this warning. See 11:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:20 11:08:20 Login Succeeded 11:08:20 docker.io 11:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:20 Configure a credential helper to remove this warning. See 11:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:20 11:08:20 Login Succeeded 11:08:20 ---> docker-login.sh ends [Pipeline] } 11:08:20 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:08:21 + git log --format=format:%s -1 fa75c7c247b7b9742e276ec94319ac5a7afb4da8 [Pipeline] echo 11:08:21 GIT_COMMIT: fa75c7c247b7b9742e276ec94319ac5a7afb4da8, Commit Message: Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD [Pipeline] echo 11:08:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:21 11:08:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:08:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:22 latest: Pulling from edgex-devops/git-semver 11:08:22 31603596830f: Pulling fs layer 11:08:22 54011a49482f: Pulling fs layer 11:08:22 a6820b24f6d8: Pulling fs layer 11:08:22 f581987b2513: Pulling fs layer 11:08:22 f581987b2513: Waiting 11:08:22 54011a49482f: Download complete 11:08:22 31603596830f: Verifying Checksum 11:08:22 31603596830f: Download complete 11:08:22 f581987b2513: Verifying Checksum 11:08:22 f581987b2513: Download complete 11:08:22 a6820b24f6d8: Verifying Checksum 11:08:22 a6820b24f6d8: Download complete 11:08:22 31603596830f: Pull complete 11:08:22 54011a49482f: Pull complete 11:08:23 a6820b24f6d8: Pull complete 11:08:24 f581987b2513: Pull complete 11:08:24 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 11:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:08:24 prd-centos7-docker-4c-2g-3823 does not seem to be running inside a container 11:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-84 -v /w/workspace/dgexfoundry_device-rest-go_PR-84:/w/workspace/dgexfoundry_device-rest-go_PR-84:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-84@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-84@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:08:26 $ docker top c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:08:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:26 [ssh-agent] Looking for ssh-agent implementation... 11:08:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:26 $ docker exec c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 ssh-agent 11:08:26 SSH_AUTH_SOCK=/tmp/ssh-3LKo8RmeiRho/agent.11 11:08:26 SSH_AGENT_PID=16 11:08:26 Running ssh-add (command line suppressed) 11:08:26 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/private_key_4933175242952183426.key (/w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/private_key_4933175242952183426.key) 11:08:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:27 + git tag --points-at HEAD [Pipeline] } 11:08:27 $ docker exec --env ******** --env ******** c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 ssh-agent -k 11:08:27 unset SSH_AUTH_SOCK; 11:08:27 unset SSH_AGENT_PID; 11:08:27 echo Agent pid 16 killed; 11:08:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:08:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:27 [ssh-agent] Looking for ssh-agent implementation... 11:08:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:27 $ docker exec c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 ssh-agent 11:08:27 SSH_AUTH_SOCK=/tmp/ssh-6oEot7EL2eLt/agent.45 11:08:27 SSH_AGENT_PID=51 11:08:27 Running ssh-add (command line suppressed) 11:08:27 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/private_key_8072702811083783118.key (/w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/private_key_8072702811083783118.key) 11:08:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:28 + git semver init 11:08:28 # -> Open(): unable to determine branch for HEAD 11:08:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-84/.git 11:08:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-84 11:08:28 # $SEMVER_REMOTE_NAME = origin 11:08:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:08:28 # $SEMVER_USER_NAME = edgex-jenkins 11:08:28 # $SEMVER_BRANCH = PR-84 11:08:28 # $SEMVER_TEMP = /tmp/semver-269629602 11:08:28 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:08:29 # '/tmp/semver-269629602' -> '/w/workspace/dgexfoundry_device-rest-go_PR-84/.semver' 11:08:29 # -> Force: false 11:08:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-84/.semver [Pipeline] } 11:08:29 $ docker exec --env ******** --env ******** c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 ssh-agent -k 11:08:29 unset SSH_AUTH_SOCK; 11:08:29 unset SSH_AGENT_PID; 11:08:29 echo Agent pid 51 killed; 11:08:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:08:30 + git semver [Pipeline] } 11:08:30 $ docker stop --time=1 c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 11:08:31 $ docker rm -f c3957e1dadd1b2ee9bef968ea42d454a6509e146a6f5dfc82ffb133f28515197 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:08:32 Stashed 1 file(s) [Pipeline] echo 11:08:32 [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:08:47 Still waiting to schedule task 11:08:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:08:47 Still waiting to schedule task 11:08:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 11:10:14 Running on prd-centos7-docker-4c-2g-3826 in /w/workspace/dgexfoundry_device-rest-go_PR-84 [Pipeline] { [Pipeline] ws 11:10:14 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:10:17 using credential edgex-jenkins-ssh 11:10:17 Cloning the remote Git repository 11:10:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:10:17 > git init /w/workspace/device-rest-go/2 # timeout=10 11:10:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:17 > git --version # timeout=10 11:10:17 > git --version # 'git version 2.24.3' 11:10:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:18 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit af6f8d9db1b2339f9c436b10c553719ef06671b5 11:10:19 Merge succeeded, producing 1656eab2b023b5b1c95d364f515c037bc399fa6a 11:10:19 Checking out Revision 1656eab2b023b5b1c95d364f515c037bc399fa6a (PR-84) 11:10:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/84/head:refs/remotes/origin/PR-84 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:10:18 > git config core.sparsecheckout # timeout=10 11:10:18 > git checkout -f af6f8d9db1b2339f9c436b10c553719ef06671b5 # timeout=10 11:10:18 > git remote # timeout=10 11:10:18 > git config --get remote.origin.url # timeout=10 11:10:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:19 > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 11:10:19 > git rev-parse HEAD^{commit} # timeout=10 11:10:19 > git config core.sparsecheckout # timeout=10 11:10:19 > git checkout -f 1656eab2b023b5b1c95d364f515c037bc399fa6a # timeout=10 11:10:22 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" 11:10:22 > git rev-list --no-walk af6f8d9db1b2339f9c436b10c553719ef06671b5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:10:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:10:24 + sudo service docker restart 11:10:24 + true 11:10:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:10:25 provisioning config files... 11:10:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6376855387949032509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:26 ---> docker-login.sh 11:10:26 nexus3.edgexfoundry.org:10001 11:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:26 Configure a credential helper to remove this warning. See 11:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:26 11:10:26 Login Succeeded 11:10:26 nexus3.edgexfoundry.org:10002 11:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:26 Configure a credential helper to remove this warning. See 11:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:26 11:10:26 Login Succeeded 11:10:26 nexus3.edgexfoundry.org:10003 11:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:27 Configure a credential helper to remove this warning. See 11:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:27 11:10:27 Login Succeeded 11:10:27 nexus3.edgexfoundry.org:10004 11:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:27 Configure a credential helper to remove this warning. See 11:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:27 11:10:27 Login Succeeded 11:10:27 docker.io 11:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:27 Configure a credential helper to remove this warning. See 11:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:27 11:10:27 Login Succeeded 11:10:27 ---> docker-login.sh ends [Pipeline] } 11:10:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:27 ========================================================= 11:10:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:10:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:10:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 11:10:28 Sending build context to Docker daemon 93.18kB 11:10:28 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:10:28 Step 2/10 : FROM ${BASE} 11:10:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:10:28 540db60ca938: Pulling fs layer 11:10:28 adcc1eea9eea: Pulling fs layer 11:10:28 4c4ab2625f07: Pulling fs layer 11:10:28 0510c868ecb4: Pulling fs layer 11:10:28 afea3b2eda06: Pulling fs layer 11:10:28 7809a108b3ef: Pulling fs layer 11:10:28 f706445af74f: Pulling fs layer 11:10:28 0510c868ecb4: Waiting 11:10:28 afea3b2eda06: Waiting 11:10:28 7809a108b3ef: Waiting 11:10:28 f706445af74f: Waiting 11:10:28 4c4ab2625f07: Verifying Checksum 11:10:28 4c4ab2625f07: Download complete 11:10:28 adcc1eea9eea: Verifying Checksum 11:10:28 adcc1eea9eea: Download complete 11:10:28 afea3b2eda06: Verifying Checksum 11:10:28 afea3b2eda06: Download complete 11:10:28 7809a108b3ef: Verifying Checksum 11:10:28 7809a108b3ef: Download complete 11:10:28 540db60ca938: Verifying Checksum 11:10:28 540db60ca938: Download complete 11:10:28 540db60ca938: Pull complete 11:10:28 adcc1eea9eea: Pull complete 11:10:28 4c4ab2625f07: Pull complete 11:10:30 f706445af74f: Verifying Checksum 11:10:30 f706445af74f: Download complete 11:10:31 0510c868ecb4: Verifying Checksum 11:10:31 0510c868ecb4: Download complete 11:10:37 0510c868ecb4: Pull complete 11:10:37 afea3b2eda06: Pull complete 11:10:37 7809a108b3ef: Pull complete 11:10:45 f706445af74f: Pull complete 11:10:45 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 11:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:10:45 ---> b068be0155e3 11:10:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:45 ---> Running in 52427ededf51 11:10:45 Removing intermediate container 52427ededf51 11:10:45 ---> 04b2ee82e8e0 11:10:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:10:45 ---> Running in b3114f5e8b63 11:10:45 Removing intermediate container b3114f5e8b63 11:10:45 ---> c8127ff3eb97 11:10:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:10:45 ---> Running in e3f7aafb0159 11:10:45 Removing intermediate container e3f7aafb0159 11:10:45 ---> 79bcef67f13f 11:10:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:45 ---> Running in 8023136f0d4b 11:10:46 Removing intermediate container 8023136f0d4b 11:10:46 ---> 37a3355db52f 11:10:46 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:46 ---> Running in fdaefed0bef6 11:10:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:10:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:10:49 (1/9) Installing libc-dev (0.7.2-r3) 11:10:49 (2/9) Installing libsodium (1.0.18-r0) 11:10:49 (3/9) Installing pkgconf (1.7.3-r0) 11:10:49 (4/9) Installing libsodium-dev (1.0.18-r0) 11:10:50 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:10:50 (6/9) Installing libedit (20191231.3.1-r1) 11:10:50 (7/9) Installing openssh-client (8.4_p1-r3) 11:10:51 (8/9) Installing libzmq (4.3.3-r1) 11:10:51 (9/9) Installing zeromq-dev (4.3.3-r1) 11:10:51 Executing busybox-1.32.1-r6.trigger 11:10:51 OK: 154 MiB in 49 packages 11:10:52 Removing intermediate container fdaefed0bef6 11:10:52 ---> a5802e94a158 11:10:52 Step 8/10 : WORKDIR /device-rest-go 11:10:52 ---> Running in e8a40f798892 11:10:52 Removing intermediate container e8a40f798892 11:10:52 ---> 60c45c1f7977 11:10:52 Step 9/10 : COPY . . 11:10:52 ---> 9007f2913b91 11:10:52 Step 10/10 : RUN go mod download 11:10:52 ---> Running in f219bb129ee4 11:11:14 Removing intermediate container f219bb129ee4 11:11:14 ---> 22e32b60b544 11:11:14 Successfully built 22e32b60b544 11:11:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:11:15 + docker inspect -f . ci-base-image-x86_64 11:11:15 . [Pipeline] withDockerContainer 11:11:15 prd-centos7-docker-4c-2g-3826 does not seem to be running inside a container 11:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:11:16 $ docker top a3171e66bc86e9263a3b528b40eb58dc311fd73881671eac51254d2b8ae10289 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:16 + go version 11:11:16 go version go1.16.3 linux/amd64 [Pipeline] } 11:11:16 $ docker stop --time=1 a3171e66bc86e9263a3b528b40eb58dc311fd73881671eac51254d2b8ae10289 11:11:17 $ docker rm -f a3171e66bc86e9263a3b528b40eb58dc311fd73881671eac51254d2b8ae10289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:11:18 + docker inspect -f . ci-base-image-x86_64 11:11:18 . [Pipeline] withDockerContainer 11:11:18 prd-centos7-docker-4c-2g-3826 does not seem to be running inside a container 11:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:11:19 $ docker top 1b0875a31adacf6d4a9ac367428350566a41800c8710048f626e30de7d41b47a -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:19 + go mod tidy [Pipeline] sh 11:11:20 + make test 11:11:20 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:11:21 ? github.com/edgexfoundry/device-rest-go [no test files] 11:11:33 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 11:11:33 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:11:33 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:11:33 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:11:33 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:365:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:11:39 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 11:11:39 make: *** [Makefile:24: test] Error 2 [Pipeline] } 11:11:39 $ docker stop --time=1 1b0875a31adacf6d4a9ac367428350566a41800c8710048f626e30de7d41b47a 11:11:41 $ docker rm -f 1b0875a31adacf6d4a9ac367428350566a41800c8710048f626e30de7d41b47a [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:11:42 ---> job-cost.sh 11:11:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t8Pb 11:11:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:11:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3827 in /w/workspace/dgexfoundry_device-rest-go_PR-84 [Pipeline] { [Pipeline] ws 11:11:57 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:12:03 using credential edgex-jenkins-ssh 11:12:03 Cloning the remote Git repository 11:12:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:12:03 > git init /w/workspace/device-rest-go/2 # timeout=10 11:12:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:12:03 > git --version # timeout=10 11:12:03 > git --version # 'git version 2.17.1' 11:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/84/head:refs/remotes/origin/PR-84 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:12:06 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit af6f8d9db1b2339f9c436b10c553719ef06671b5 11:12:07 Merge succeeded, producing 91dff0d74a913effb1981d4666aefe49f52b9c2d 11:12:07 Checking out Revision 91dff0d74a913effb1981d4666aefe49f52b9c2d (PR-84) 11:12:06 > git config core.sparsecheckout # timeout=10 11:12:06 > git checkout -f af6f8d9db1b2339f9c436b10c553719ef06671b5 # timeout=10 11:12:07 > git remote # timeout=10 11:12:07 > git config --get remote.origin.url # timeout=10 11:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:07 > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 11:12:07 > git rev-parse HEAD^{commit} # timeout=10 11:12:07 > git config core.sparsecheckout # timeout=10 11:12:07 > git checkout -f 91dff0d74a913effb1981d4666aefe49f52b9c2d # timeout=10 11:12:11 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" 11:12:11 > git rev-list --no-walk af6f8d9db1b2339f9c436b10c553719ef06671b5 # timeout=10 11:12:11 11:12:11 GitHub has been notified of this commit’s build result 11:12:11 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:12:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:12:13 + + sudo servicetrue docker 11:12:13 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:12:16 provisioning config files... 11:12:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1634454739296852226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:16 ---> docker-login.sh 11:12:16 nexus3.edgexfoundry.org:10001 11:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:18 Configure a credential helper to remove this warning. See 11:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:18 11:12:18 Login Succeeded 11:12:18 nexus3.edgexfoundry.org:10002 11:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:18 Configure a credential helper to remove this warning. See 11:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:18 11:12:18 Login Succeeded 11:12:18 nexus3.edgexfoundry.org:10003 11:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:19 Configure a credential helper to remove this warning. See 11:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:19 11:12:19 Login Succeeded 11:12:19 nexus3.edgexfoundry.org:10004 11:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:19 Configure a credential helper to remove this warning. See 11:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:19 11:12:19 Login Succeeded 11:12:19 docker.io 11:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:20 Configure a credential helper to remove this warning. See 11:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:20 11:12:20 Login Succeeded 11:12:20 ---> docker-login.sh ends [Pipeline] } 11:12:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:12:20 ========================================================= 11:12:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:12:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:12:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 11:12:20 Sending build context to Docker daemon 93.18kB 11:12:21 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:12:21 Step 2/10 : FROM ${BASE} 11:12:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:12:21 595b0fe564bb: Pulling fs layer 11:12:21 7186ed65a4f7: Pulling fs layer 11:12:21 316046926c0a: Pulling fs layer 11:12:21 4ebd0625c992: Pulling fs layer 11:12:21 207e8628e3a3: Pulling fs layer 11:12:21 c791037a9be2: Pulling fs layer 11:12:21 ffd874e62e21: Pulling fs layer 11:12:21 207e8628e3a3: Waiting 11:12:21 c791037a9be2: Waiting 11:12:21 ffd874e62e21: Waiting 11:12:21 4ebd0625c992: Waiting 11:12:21 316046926c0a: Verifying Checksum 11:12:21 316046926c0a: Download complete 11:12:21 7186ed65a4f7: Verifying Checksum 11:12:21 7186ed65a4f7: Download complete 11:12:21 207e8628e3a3: Download complete 11:12:21 c791037a9be2: Verifying Checksum 11:12:21 c791037a9be2: Download complete 11:12:21 595b0fe564bb: Verifying Checksum 11:12:21 595b0fe564bb: Download complete 11:12:22 595b0fe564bb: Pull complete 11:12:22 7186ed65a4f7: Pull complete 11:12:23 316046926c0a: Pull complete 11:12:23 ffd874e62e21: Verifying Checksum 11:12:23 ffd874e62e21: Download complete 11:12:23 lf-activate-venv(): INFO: Adding /tmp/venv-t8Pb/bin to PATH 11:12:23 INFO: No Stack... 11:12:23 INFO: Retrieving Pricing Info for: v1-standard-2 11:12:24 INFO: Archiving Costs [Pipeline] sh 11:12:25 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:12:25 + cut -d, -f6 [Pipeline] lock 11:12:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] 11:12:25 Resource [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] did not exist. Created. 11:12:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:12:25 + echo total: 0.029999999329447746 [Pipeline] stash 11:12:25 4ebd0625c992: Verifying Checksum 11:12:25 4ebd0625c992: Download complete 11:12:26 Stashed 1 file(s) [Pipeline] } 11:12:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:12:26 Failed in branch amd64 11:12:35 4ebd0625c992: Pull complete 11:12:35 207e8628e3a3: Pull complete 11:12:36 c791037a9be2: Pull complete 11:12:39 ffd874e62e21: Pull complete 11:12:39 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 11:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:12:39 ---> cfc18b08335c 11:12:39 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:42 ---> Running in 17f98cf8e368 11:12:43 Removing intermediate container 17f98cf8e368 11:12:43 ---> a60bae25168b 11:12:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:12:43 ---> Running in 2829bda06a57 11:12:44 Removing intermediate container 2829bda06a57 11:12:44 ---> 5d272c222769 11:12:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:12:44 ---> Running in deeb36a172e1 11:12:44 Removing intermediate container deeb36a172e1 11:12:44 ---> 578e595944aa 11:12:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:44 ---> Running in 08bdf8d23991 11:12:47 Removing intermediate container 08bdf8d23991 11:12:47 ---> eaa85944cea2 11:12:47 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:47 ---> Running in 298a0ed8c809 11:12:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:12:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:12:51 (1/9) Installing libc-dev (0.7.2-r3) 11:12:51 (2/9) Installing libsodium (1.0.18-r0) 11:12:51 (3/9) Installing pkgconf (1.7.3-r0) 11:12:51 (4/9) Installing libsodium-dev (1.0.18-r0) 11:12:52 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:12:52 (6/9) Installing libedit (20191231.3.1-r1) 11:12:52 (7/9) Installing openssh-client (8.4_p1-r3) 11:12:53 (8/9) Installing libzmq (4.3.3-r1) 11:12:53 (9/9) Installing zeromq-dev (4.3.3-r1) 11:12:53 Executing busybox-1.32.1-r6.trigger 11:12:53 OK: 144 MiB in 49 packages 11:12:55 Removing intermediate container 298a0ed8c809 11:12:55 ---> ff7c9da3e82c 11:12:55 Step 8/10 : WORKDIR /device-rest-go 11:12:55 ---> Running in 672d5cbdb260 11:12:55 Removing intermediate container 672d5cbdb260 11:12:55 ---> 215443e157c9 11:12:55 Step 9/10 : COPY . . 11:12:56 ---> cb2ab3d8dd17 11:12:56 Step 10/10 : RUN go mod download 11:12:56 ---> Running in 34d7bbf86bba 11:13:23 Removing intermediate container 34d7bbf86bba 11:13:23 ---> ced7444430a9 11:13:23 Successfully built ced7444430a9 11:13:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:13:23 + docker inspect -f . ci-base-image-arm64 11:13:23 . [Pipeline] withDockerContainer 11:13:24 prd-ubuntu18.04-docker-arm64-4c-16g-3827 does not seem to be running inside a container 11:13:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:13:25 $ docker top 0846abefe97956db9f229494e5138ebe39b034e6f4af304fd24023913423d7e7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:26 + go version 11:13:26 go version go1.16.3 linux/arm64 [Pipeline] } 11:13:26 $ docker stop --time=1 0846abefe97956db9f229494e5138ebe39b034e6f4af304fd24023913423d7e7 11:13:28 $ docker rm -f 0846abefe97956db9f229494e5138ebe39b034e6f4af304fd24023913423d7e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:13:29 + docker inspect -f . ci-base-image-arm64 11:13:29 . [Pipeline] withDockerContainer 11:13:29 prd-ubuntu18.04-docker-arm64-4c-16g-3827 does not seem to be running inside a container 11:13:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:13:31 $ docker top 64f79286b9cea7412c4f4895930e4c0b902b980d318a63f63c5b132fcc809371 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:32 + go mod tidy [Pipeline] sh 11:13:34 + make test 11:13:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:13:35 ? github.com/edgexfoundry/device-rest-go [no test files] 11:14:22 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 11:14:22 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:14:22 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:14:22 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:14:22 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.48/internal/application/command.go:365:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 11:14:32 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 11:14:32 make: *** [Makefile:24: test] Error 2 [Pipeline] } 11:14:32 $ docker stop --time=1 64f79286b9cea7412c4f4895930e4c0b902b980d318a63f63c5b132fcc809371 11:14:35 $ docker rm -f 64f79286b9cea7412c4f4895930e4c0b902b980d318a63f63c5b132fcc809371 [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:14:36 ---> job-cost.sh 11:14:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9LNj 11:15:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:17:00 lf-activate-venv(): INFO: Adding /tmp/venv-9LNj/bin to PATH 11:17:00 INFO: No Stack... 11:17:00 INFO: Retrieving Pricing Info for: lf-standard-4 11:17:00 INFO: Archiving Costs [Pipeline] sh 11:17:00 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:17:00 + cut -d, -f6 [Pipeline] lock 11:17:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] 11:17:00 Resource [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] did not exist. Created. 11:17:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:01 /w/workspace/device-rest-go/2@tmp/durable-844fffb3/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-844fffb3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:01 + echo total: 0.20999999344348907 [Pipeline] stash 11:17:01 Warning: overwriting stash ‘stack-cost’ 11:17:02 Stashed 1 file(s) [Pipeline] } 11:17:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-84-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:17:03 Failed in branch arm64 [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:17:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:17:04 ---> package-listing.sh 11:17:04 ++ facter osfamily 11:17:04 ++ tr '[:upper:]' '[:lower:]' 11:17:04 + OS_FAMILY=redhat 11:17:04 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-84 11:17:04 + START_PACKAGES=/tmp/packages_start.txt 11:17:04 + END_PACKAGES=/tmp/packages_end.txt 11:17:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:17:04 + PACKAGES=/tmp/packages_start.txt 11:17:04 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-84 ']' 11:17:04 + PACKAGES=/tmp/packages_end.txt 11:17:04 + case "${OS_FAMILY}" in 11:17:04 + rpm -qa 11:17:04 + sort 11:17:10 + '[' -f /tmp/packages_start.txt ']' 11:17:10 + '[' -f /tmp/packages_end.txt ']' 11:17:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:17:10 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-84 ']' 11:17:10 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-84/archives/ 11:17:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-84/archives/ [Pipeline] echo 11:17:10 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-84/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:17:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:17:10 11:17:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:17:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:17:11 alpine: Pulling from edgex-lftools-log-publisher 11:17:11 df20fa9351a1: Pulling fs layer 11:17:11 36b3adc4ff6f: Pulling fs layer 11:17:11 8ad3a11d3b57: Pulling fs layer 11:17:11 46f8f816bc3b: Pulling fs layer 11:17:11 93b61091891f: Pulling fs layer 11:17:11 93b9cdb0e59b: Pulling fs layer 11:17:11 5e14af77c1be: Pulling fs layer 11:17:11 01666e4c0597: Pulling fs layer 11:17:11 aa168da1d23b: Pulling fs layer 11:17:11 93b9cdb0e59b: Waiting 11:17:11 5e14af77c1be: Waiting 11:17:11 01666e4c0597: Waiting 11:17:11 46f8f816bc3b: Waiting 11:17:11 aa168da1d23b: Waiting 11:17:11 36b3adc4ff6f: Download complete 11:17:11 46f8f816bc3b: Verifying Checksum 11:17:11 46f8f816bc3b: Download complete 11:17:11 df20fa9351a1: Verifying Checksum 11:17:11 df20fa9351a1: Download complete 11:17:11 93b9cdb0e59b: Verifying Checksum 11:17:11 93b9cdb0e59b: Download complete 11:17:11 93b61091891f: Verifying Checksum 11:17:11 93b61091891f: Download complete 11:17:11 5e14af77c1be: Verifying Checksum 11:17:11 5e14af77c1be: Download complete 11:17:11 01666e4c0597: Verifying Checksum 11:17:11 01666e4c0597: Download complete 11:17:11 8ad3a11d3b57: Verifying Checksum 11:17:11 8ad3a11d3b57: Download complete 11:17:11 df20fa9351a1: Pull complete 11:17:11 36b3adc4ff6f: Pull complete 11:17:12 8ad3a11d3b57: Pull complete 11:17:12 46f8f816bc3b: Pull complete 11:17:14 aa168da1d23b: Download complete 11:17:14 93b61091891f: Pull complete 11:17:14 93b9cdb0e59b: Pull complete 11:17:14 5e14af77c1be: Pull complete 11:17:15 01666e4c0597: Pull complete 11:17:23 aa168da1d23b: Pull complete 11:17:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:17:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:17:23 prd-centos7-docker-4c-2g-3823 does not seem to be running inside a container 11:17:23 $ 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-84/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-84 -v /w/workspace/dgexfoundry_device-rest-go_PR-84:/w/workspace/dgexfoundry_device-rest-go_PR-84:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-84@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-84@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:17:27 $ docker top 681907a541cbd708fc61533cb5c4a61d9d7b36d2deb15510a4cf2e1b826b63e7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:28 + touch /tmp/pre-build-complete [Pipeline] sh 11:17:28 + mkdir -p /var/log/sa [Pipeline] sh 11:17:28 + ls /var/log/sa-host 11:17:28 + sadf -c /var/log/sa-host/sa09 11:17:28 file_magic: OK 11:17:28 HZ: Using current value: 100 11:17:28 file_header: OK 11:17:28 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:17:28 Statistics: 11:17:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:17:28 File successfully converted to sysstat format version 12.2.1 11:17:28 + sadf -c /var/log/sa-host/sa23 11:17:28 file_magic: OK 11:17:28 HZ: Using current value: 100 11:17:28 file_header: OK 11:17:28 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:17:28 Statistics: 11:17:28 Hnuu...uuuununununu... 11:17:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:29 provisioning config files... 11:17:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-84@tmp/config6490562185278344475tmp [Pipeline] { [Pipeline] echo 11:17:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:17:29 ---> create-netrc.sh [Pipeline] } 11:17:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:17:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:17:30 ---> python-tools-install.sh [Pipeline] echo 11:17:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:17:30 ---> sudo-logs.sh 11:17:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:17:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:17:30 ---> job-cost.sh 11:17:30 lf-activate-venv: SKIPPING 11:17:30 DEBUG: total: 0.20999999344348907 11:17:30 INFO: Retrieving Stack Cost... 11:17:32 INFO: Retrieving Pricing Info for: v1-standard-2 11:17:32 INFO: Archiving Costs [Pipeline] echo 11:17:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:17:32 ---> logs-deploy.sh 11:17:32 lf-activate-venv: SKIPPING 11:17:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-84/2 11:17:32 INFO: archiving workspace using pattern(s): 11:17:34 Archives upload complete. 11:17:34 INFO: archiving logs to Nexus