Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f+372098887a6a7d5d9395bdaf9d03a023308f69fd (7454dcaa3f6a1449dc1abd1ed5b64320b9e88cb0) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-18401 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-712 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f Merge succeeded, producing 76c580df9471ca683d53ca9c97f7af12d2f63f67 Checking out Revision 76c580df9471ca683d53ca9c97f7af12d2f63f67 (PR-712) > git config core.sparsecheckout # timeout=10 > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76c580df9471ca683d53ca9c97f7af12d2f63f67 # timeout=10 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:12 ========================================================= 02:42:12 EdgeX Global Pipelines Version Info 02:42:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:14 ------------------- 02:42:14 stable info: 02:42:14 ------------------- 02:42:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:14 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:14 Message: update stable to v1.0.173 02:42:15 ------------------- 02:42:15 experimental info: 02:42:15 ------------------- 02:42:15 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:15 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:15 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-712 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-712 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-712 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76c580df9471ca683d53ca9c97f7af12d2f63f67 [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76c580d [Pipeline] echo 02:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:18 provisioning config files... 02:42:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/config139309113079505439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:19 ---> docker-login.sh 02:42:19 nexus3.edgexfoundry.org:10001 02:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:19 Configure a credential helper to remove this warning. See 02:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:19 02:42:19 Login Succeeded 02:42:19 nexus3.edgexfoundry.org:10002 02:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:19 Configure a credential helper to remove this warning. See 02:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:19 02:42:19 Login Succeeded 02:42:19 nexus3.edgexfoundry.org:10003 02:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:20 Configure a credential helper to remove this warning. See 02:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:20 02:42:20 Login Succeeded 02:42:20 nexus3.edgexfoundry.org:10004 02:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:20 Configure a credential helper to remove this warning. See 02:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:20 02:42:20 Login Succeeded 02:42:20 docker.io 02:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:20 Configure a credential helper to remove this warning. See 02:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:20 02:42:20 Login Succeeded 02:42:20 ---> docker-login.sh ends [Pipeline] } 02:42: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 02:42:21 + git log --format=format:%s -1 76c580df9471ca683d53ca9c97f7af12d2f63f67 [Pipeline] echo 02:42:21 GIT_COMMIT: 76c580df9471ca683d53ca9c97f7af12d2f63f67, Commit Message: Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD [Pipeline] echo 02:42:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:22 02:42:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:22 latest: Pulling from edgex-devops/git-semver 02:42:22 31603596830f: Pulling fs layer 02:42:22 2a8b12db71e7: Pulling fs layer 02:42:22 6ca5941a6612: Pulling fs layer 02:42:22 ecc8261a40a4: Pulling fs layer 02:42:22 ecc8261a40a4: Waiting 02:42:22 2a8b12db71e7: Verifying Checksum 02:42:22 2a8b12db71e7: Download complete 02:42:22 31603596830f: Verifying Checksum 02:42:22 31603596830f: Download complete 02:42:22 6ca5941a6612: Verifying Checksum 02:42:22 6ca5941a6612: Download complete 02:42:22 ecc8261a40a4: Verifying Checksum 02:42:22 ecc8261a40a4: Download complete 02:42:23 31603596830f: Pull complete 02:42:23 2a8b12db71e7: Pull complete 02:42:24 6ca5941a6612: Pull complete 02:42:24 ecc8261a40a4: Pull complete 02:42:24 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:24 prd-centos7-docker-4c-2g-18401 does not seem to be running inside a container 02:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-712 -v /w/workspace/dgexfoundry_device-sdk-go_PR-712:/w/workspace/dgexfoundry_device-sdk-go_PR-712:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-712@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 02:42:26 $ docker top 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:26 [ssh-agent] Looking for ssh-agent implementation... 02:42:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:27 $ docker exec 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent 02:42:27 SSH_AUTH_SOCK=/tmp/ssh-3o5PV2A0wUTc/agent.13 02:42:27 SSH_AGENT_PID=18 02:42:27 Running ssh-add (command line suppressed) 02:42:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_7331548588972455617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_7331548588972455617.key) 02:42:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:27 + git tag --points-at HEAD [Pipeline] } 02:42:27 $ docker exec --env ******** --env ******** 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent -k 02:42:27 unset SSH_AUTH_SOCK; 02:42:27 unset SSH_AGENT_PID; 02:42:27 echo Agent pid 18 killed; 02:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:28 [ssh-agent] Looking for ssh-agent implementation... 02:42:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:28 $ docker exec 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent 02:42:28 SSH_AUTH_SOCK=/tmp/ssh-yXRRrt1F5gfa/agent.48 02:42:28 SSH_AGENT_PID=53 02:42:28 Running ssh-add (command line suppressed) 02:42:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_750075034128181054.key (/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/private_key_750075034128181054.key) 02:42:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:28 + git semver init 02:42:28 # -> Open(): unable to determine branch for HEAD 02:42:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-712/.git 02:42:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-712 02:42:28 # $SEMVER_REMOTE_NAME = origin 02:42:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:28 # $SEMVER_USER_NAME = edgex-jenkins 02:42:28 # $SEMVER_BRANCH = PR-712 02:42:28 # $SEMVER_TEMP = /tmp/semver-122021211 02:42:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:29 # '/tmp/semver-122021211' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-712/.semver' 02:42:29 # -> Force: false 02:42:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-712/.semver [Pipeline] } 02:42:29 $ docker exec --env ******** --env ******** 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db ssh-agent -k 02:42:29 unset SSH_AUTH_SOCK; 02:42:29 unset SSH_AGENT_PID; 02:42:29 echo Agent pid 53 killed; 02:42:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:30 + git semver [Pipeline] } 02:42:30 $ docker stop --time=1 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db 02:42:31 $ docker rm -f 2c4fd5f5f833c28ab8f59302b45656c36dae893e7897f9df25be5b05fc9a02db [Pipeline] // withDockerContainer [Pipeline] sh 02:42:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:32 Stashed 1 file(s) [Pipeline] echo 02:42: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 02:42:48 Still waiting to schedule task 02:42:48 Executor slot already in use; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18404’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:48 Still waiting to schedule task 02:42:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:43:47 Running on prd-centos7-docker-4c-2g-18407 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [Pipeline] { [Pipeline] ws 02:43:47 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:43:49 using credential edgex-jenkins-ssh 02:43:49 Cloning the remote Git repository 02:43:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git --version # timeout=10 02:43:49 > git --version # 'git version 2.24.3' 02:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:51 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f 02:43:51 Merge succeeded, producing 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 02:43:51 Checking out Revision 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 (PR-712) 02:43:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:51 > git config core.sparsecheckout # timeout=10 02:43:51 > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 02:43:51 > git remote # timeout=10 02:43:51 > git config --get remote.origin.url # timeout=10 02:43:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:51 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 02:43:51 > git rev-parse HEAD^{commit} # timeout=10 02:43:51 > git config core.sparsecheckout # timeout=10 02:43:51 > git checkout -f 215f2925f2d83b3ee28b38c41e51f70cb7fcbc72 # timeout=10 02:43:55 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 02:43:55 > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:56 + sudo service docker restart 02:43:56 + true 02:43:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:57 provisioning config files... 02:43:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7778340850475003855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:58 ---> docker-login.sh 02:43:58 nexus3.edgexfoundry.org:10001 02:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:58 Configure a credential helper to remove this warning. See 02:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:58 02:43:58 Login Succeeded 02:43:58 nexus3.edgexfoundry.org:10002 02:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:58 Configure a credential helper to remove this warning. See 02:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:58 02:43:58 Login Succeeded 02:43:58 nexus3.edgexfoundry.org:10003 02:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:59 Configure a credential helper to remove this warning. See 02:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:59 02:43:59 Login Succeeded 02:43:59 nexus3.edgexfoundry.org:10004 02:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:59 Configure a credential helper to remove this warning. See 02:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:59 02:43:59 Login Succeeded 02:43:59 docker.io 02:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:59 Configure a credential helper to remove this warning. See 02:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:59 02:43:59 Login Succeeded 02:43:59 ---> docker-login.sh ends [Pipeline] } 02:43:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:00 ========================================================= 02:44:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:00 + 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 . 02:44:00 Sending build context to Docker daemon 2.433MB 02:44:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:00 Step 2/8 : FROM ${BASE} 02:44:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:00 188c0c94c7c5: Pulling fs layer 02:44:00 0ef7d3d256c8: Pulling fs layer 02:44:00 de9db76c5a1d: Pulling fs layer 02:44:00 bca2f99d35d6: Pulling fs layer 02:44:00 93359f2a8cfa: Pulling fs layer 02:44:00 7c6f9722023f: Pulling fs layer 02:44:00 a35cf1a2eb13: Pulling fs layer 02:44:00 bca2f99d35d6: Waiting 02:44:00 93359f2a8cfa: Waiting 02:44:00 7c6f9722023f: Waiting 02:44:00 a35cf1a2eb13: Waiting 02:44:00 de9db76c5a1d: Verifying Checksum 02:44:00 de9db76c5a1d: Download complete 02:44:00 0ef7d3d256c8: Verifying Checksum 02:44:00 0ef7d3d256c8: Download complete 02:44:00 93359f2a8cfa: Download complete 02:44:00 188c0c94c7c5: Verifying Checksum 02:44:00 188c0c94c7c5: Download complete 02:44:00 7c6f9722023f: Verifying Checksum 02:44:00 7c6f9722023f: Download complete 02:44:00 188c0c94c7c5: Pull complete 02:44:01 0ef7d3d256c8: Pull complete 02:44:01 de9db76c5a1d: Pull complete 02:44:02 a35cf1a2eb13: Verifying Checksum 02:44:02 a35cf1a2eb13: Download complete 02:44:03 bca2f99d35d6: Download complete 02:44:08 bca2f99d35d6: Pull complete 02:44:08 93359f2a8cfa: Pull complete 02:44:08 7c6f9722023f: Pull complete 02:44:15 a35cf1a2eb13: Pull complete 02:44:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:15 ---> a62c8e92a672 02:44:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:15 ---> Running in 3bd661d6db19 02:44:16 Removing intermediate container 3bd661d6db19 02:44:16 ---> 1be6ad1ccb1e 02:44:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:16 ---> Running in 7e2fb9cb1074 02:44:17 Removing intermediate container 7e2fb9cb1074 02:44:17 ---> 8b61d7efcab5 02:44:17 Step 5/8 : RUN apk add --update --no-cache make git 02:44:17 ---> Running in 6aa9fa84c38d 02:44:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:19 OK: 166 MiB in 39 packages 02:44:19 Removing intermediate container 6aa9fa84c38d 02:44:19 ---> f9be4c41a03a 02:44:19 Step 6/8 : WORKDIR /device-sdk-go 02:44:20 ---> Running in bc62184f9a17 02:44:20 Removing intermediate container bc62184f9a17 02:44:20 ---> 4360efc13bd6 02:44:20 Step 7/8 : COPY . . 02:44:21 ---> 4dff712a9920 02:44:21 Step 8/8 : RUN go mod download 02:44:21 ---> Running in 69d5446fa738 02:44:39 Removing intermediate container 69d5446fa738 02:44:39 ---> 2ddb6bb6f792 02:44:39 Successfully built 2ddb6bb6f792 02:44:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:40 + docker inspect -f . ci-base-image-x86_64 02:44:40 . [Pipeline] withDockerContainer 02:44:40 prd-centos7-docker-4c-2g-18407 does not seem to be running inside a container 02:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:41 $ docker top 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:41 + go version 02:44:41 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:41 $ docker stop --time=1 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca 02:44:43 $ docker rm -f 799f317048ae2866ce8a3cb9b4ad3fd2977b54bb16c38cf02cf0063dd48792ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:43 + docker inspect -f . ci-base-image-x86_64 02:44:43 . [Pipeline] withDockerContainer 02:44:43 prd-centos7-docker-4c-2g-18407 does not seem to be running inside a container 02:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:44 $ docker top 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:45 + make test 02:44:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:03 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 02:45:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 02:45:03 /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 02:45:03 have (string, bool, string, string) 02:45:03 want (string, string) 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 02:45:07 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 02:45:07 internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut 02:45:07 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 02:45:07 internal/cache/init_test.go:24:8: undefined: logger.NewClientStdOut 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 02:45:07 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 02:45:07 internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 02:45:07 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 02:45:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.405s coverage: 68.9% of statements 02:45:10 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 02:45:10 make: *** [Makefile:32: test] Error 2 [Pipeline] } 02:45:10 $ docker stop --time=1 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 02:45:12 $ docker rm -f 88cb69bcbdd72e5b5eb0be525c00d35e77f2e60c32ec71e65535ec3234e939a5 [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:45:14 Failed in branch amd64 02:45:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18409 in /w/workspace/dgexfoundry_device-sdk-go_PR-712 [Pipeline] { [Pipeline] ws 02:45:27 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:32 using credential edgex-jenkins-ssh 02:45:32 Cloning the remote Git repository 02:45:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:32 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:45:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:32 > git --version # timeout=10 02:45:32 > git --version # 'git version 2.17.1' 02:45:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:35 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f 02:45:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/712/head:refs/remotes/origin/PR-712 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:35 > git config core.sparsecheckout # timeout=10 02:45:35 > git checkout -f b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 02:45:35 Merge succeeded, producing 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 02:45:35 Checking out Revision 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 (PR-712) 02:45:35 > git remote # timeout=10 02:45:35 > git config --get remote.origin.url # timeout=10 02:45:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:35 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 02:45:35 > git rev-parse HEAD^{commit} # timeout=10 02:45:35 > git config core.sparsecheckout # timeout=10 02:45:35 > git checkout -f 1472786d9de8eb2f2e0e100fde0b8ada0ac102b1 # timeout=10 02:45:39 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 02:45:39 > git rev-list --no-walk b5c2ee457b62ff36f3aba7c81d2cf8c89ab7dd1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:42 + + sudo servicetrue docker 02:45:42 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:45 provisioning config files... 02:45:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config295728442035260663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:45 ---> docker-login.sh 02:45:45 nexus3.edgexfoundry.org:10001 02:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:46 Configure a credential helper to remove this warning. See 02:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:46 02:45:46 Login Succeeded 02:45:46 nexus3.edgexfoundry.org:10002 02:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:47 Configure a credential helper to remove this warning. See 02:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:47 02:45:47 Login Succeeded 02:45:47 nexus3.edgexfoundry.org:10003 02:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:48 Configure a credential helper to remove this warning. See 02:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:48 02:45:48 Login Succeeded 02:45:48 nexus3.edgexfoundry.org:10004 02:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:48 Configure a credential helper to remove this warning. See 02:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:48 02:45:48 Login Succeeded 02:45:48 docker.io 02:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:49 Configure a credential helper to remove this warning. See 02:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:49 02:45:49 Login Succeeded 02:45:49 ---> docker-login.sh ends [Pipeline] } 02:45:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:50 ========================================================= 02:45:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:50 + 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 . 02:45:51 Sending build context to Docker daemon 2.433MB 02:45:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:51 Step 2/8 : FROM ${BASE} 02:45:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:51 5f621e34cdf4: Pulling fs layer 02:45:51 a4357932f1b6: Pulling fs layer 02:45:51 18c013af1878: Pulling fs layer 02:45:51 00ac8860ef70: Pulling fs layer 02:45:51 63d7cb157983: Pulling fs layer 02:45:51 b116817d02f9: Pulling fs layer 02:45:51 745a02a5169b: Pulling fs layer 02:45:51 00ac8860ef70: Waiting 02:45:51 b116817d02f9: Waiting 02:45:51 63d7cb157983: Waiting 02:45:51 745a02a5169b: Waiting 02:45:51 18c013af1878: Verifying Checksum 02:45:51 18c013af1878: Download complete 02:45:51 a4357932f1b6: Verifying Checksum 02:45:51 a4357932f1b6: Download complete 02:45:51 63d7cb157983: Verifying Checksum 02:45:51 63d7cb157983: Download complete 02:45:51 b116817d02f9: Download complete 02:45:51 5f621e34cdf4: Download complete 02:45:52 5f621e34cdf4: Pull complete 02:45:52 a4357932f1b6: Pull complete 02:45:53 18c013af1878: Pull complete 02:45:53 745a02a5169b: Verifying Checksum 02:45:53 745a02a5169b: Download complete 02:45:55 00ac8860ef70: Verifying Checksum 02:45:55 00ac8860ef70: Download complete 02:46:05 00ac8860ef70: Pull complete 02:46:05 63d7cb157983: Pull complete 02:46:05 b116817d02f9: Pull complete 02:46:08 745a02a5169b: Pull complete 02:46:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:08 ---> b7e6874047d6 02:46:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:12 ---> Running in 24aa4154ae3f 02:46:12 Removing intermediate container 24aa4154ae3f 02:46:12 ---> 105995e16e6a 02:46:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:12 ---> Running in 4706f5e5c88d 02:46:14 Removing intermediate container 4706f5e5c88d 02:46:14 ---> e7b46019b47f 02:46:14 Step 5/8 : RUN apk add --update --no-cache make git 02:46:14 ---> Running in cc187d851c37 02:46:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:17 OK: 142 MiB in 39 packages 02:46:19 Removing intermediate container cc187d851c37 02:46:19 ---> 722dd6142c54 02:46:19 Step 6/8 : WORKDIR /device-sdk-go 02:46:19 ---> Running in bc4b5d52aa49 02:46:19 Removing intermediate container bc4b5d52aa49 02:46:19 ---> a5582e31d089 02:46:19 Step 7/8 : COPY . . 02:46:21 ---> 931241cb8646 02:46:21 Step 8/8 : RUN go mod download 02:46:21 ---> Running in 55109343fc6c 02:46:43 Removing intermediate container 55109343fc6c 02:46:43 ---> 1019d3e63b90 02:46:43 Successfully built 1019d3e63b90 02:46:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:44 + docker inspect -f . ci-base-image-arm64 02:46:44 . [Pipeline] withDockerContainer 02:46:44 prd-ubuntu18.04-docker-arm64-4c-16g-18409 does not seem to be running inside a container 02:46:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:46 $ docker top 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:47 + go version 02:46:47 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:47 $ docker stop --time=1 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 02:46:49 $ docker rm -f 6f1c939cda9608bfd3074fd3078023a087af13516cf72bda374fc9994d179170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:50 + docker inspect -f . ci-base-image-arm64 02:46:50 . [Pipeline] withDockerContainer 02:46:50 prd-ubuntu18.04-docker-arm64-4c-16g-18409 does not seem to be running inside a container 02:46:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:52 $ docker top 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:52 + make test 02:46:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:47 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 02:47:47 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 02:47:47 /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 02:47:47 have (string, bool, string, string) 02:47:47 want (string, string) 02:47:53 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 02:47:53 # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] 02:47:53 internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut 02:47:54 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 02:47:54 internal/cache/init_test.go:24:8: undefined: logger.NewClientStdOut 02:47:54 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 02:47:54 internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut 02:47:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 02:47:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] 02:47:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] 02:47:54 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 02:47:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 02:47:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 02:48:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.644s coverage: 68.9% of statements 02:48:01 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 02:48:01 make: *** [Makefile:32: test] Error 2 [Pipeline] } 02:48:02 $ docker stop --time=1 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 02:48:04 $ docker rm -f 95aecd35544b8d4ecc933e0d18b6d93373d6bb6dd81f1e0e392a1f9d14194d29 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:06 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 02:48:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:09 ---> package-listing.sh 02:48:09 ++ facter osfamily 02:48:09 ++ tr '[:upper:]' '[:lower:]' 02:48:09 + OS_FAMILY=redhat 02:48:09 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-712 02:48:09 + START_PACKAGES=/tmp/packages_start.txt 02:48:09 + END_PACKAGES=/tmp/packages_end.txt 02:48:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:09 + PACKAGES=/tmp/packages_start.txt 02:48:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-712 ']' 02:48:09 + PACKAGES=/tmp/packages_end.txt 02:48:09 + case "${OS_FAMILY}" in 02:48:09 + rpm -qa 02:48:09 + sort 02:48:14 + '[' -f /tmp/packages_start.txt ']' 02:48:14 + '[' -f /tmp/packages_end.txt ']' 02:48:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-712 ']' 02:48:14 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-712/archives/ 02:48:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-712/archives/ [Pipeline] echo 02:48:14 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-sdk-go_PR-712/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:15 02:48:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:15 alpine: Pulling from edgex-lftools-log-publisher 02:48:15 df20fa9351a1: Pulling fs layer 02:48:15 36b3adc4ff6f: Pulling fs layer 02:48:15 8ad3a11d3b57: Pulling fs layer 02:48:15 46f8f816bc3b: Pulling fs layer 02:48:15 93b61091891f: Pulling fs layer 02:48:15 93b9cdb0e59b: Pulling fs layer 02:48:15 5e14af77c1be: Pulling fs layer 02:48:15 01666e4c0597: Pulling fs layer 02:48:15 aa168da1d23b: Pulling fs layer 02:48:15 93b9cdb0e59b: Waiting 02:48:15 5e14af77c1be: Waiting 02:48:15 01666e4c0597: Waiting 02:48:15 aa168da1d23b: Waiting 02:48:15 46f8f816bc3b: Waiting 02:48:15 93b61091891f: Waiting 02:48:15 36b3adc4ff6f: Verifying Checksum 02:48:15 36b3adc4ff6f: Download complete 02:48:15 46f8f816bc3b: Verifying Checksum 02:48:15 46f8f816bc3b: Download complete 02:48:15 df20fa9351a1: Download complete 02:48:15 93b9cdb0e59b: Verifying Checksum 02:48:15 93b9cdb0e59b: Download complete 02:48:15 5e14af77c1be: Download complete 02:48:15 93b61091891f: Verifying Checksum 02:48:15 93b61091891f: Download complete 02:48:15 01666e4c0597: Verifying Checksum 02:48:15 01666e4c0597: Download complete 02:48:15 8ad3a11d3b57: Verifying Checksum 02:48:15 8ad3a11d3b57: Download complete 02:48:15 df20fa9351a1: Pull complete 02:48:16 36b3adc4ff6f: Pull complete 02:48:16 8ad3a11d3b57: Pull complete 02:48:17 46f8f816bc3b: Pull complete 02:48:17 93b61091891f: Pull complete 02:48:17 93b9cdb0e59b: Pull complete 02:48:17 aa168da1d23b: Verifying Checksum 02:48:17 aa168da1d23b: Download complete 02:48:18 5e14af77c1be: Pull complete 02:48:18 01666e4c0597: Pull complete 02:48:25 aa168da1d23b: Pull complete 02:48:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:25 prd-centos7-docker-4c-2g-18401 does not seem to be running inside a container 02:48:25 $ 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-sdk-go_PR-712/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-sdk-go_PR-712 -v /w/workspace/dgexfoundry_device-sdk-go_PR-712:/w/workspace/dgexfoundry_device-sdk-go_PR-712:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-712@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 02:48:29 $ docker top 00f8f7c14afc9e7971859ce4334689de51051780a98eaa7ae9954624ff893324 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:30 + mkdir -p /var/log/sa [Pipeline] sh 02:48:30 + ls /var/log/sa-host 02:48:30 + sadf -c /var/log/sa-host/sa05 02:48:30 file_magic: OK 02:48:30 HZ: Using current value: 100 02:48:30 file_header: OK 02:48:30 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 02:48:30 Statistics: 02:48:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:30 File successfully converted to sysstat format version 12.2.1 02:48:30 + sadf -c /var/log/sa-host/sa23 02:48:30 file_magic: OK 02:48:30 HZ: Using current value: 100 02:48:30 file_header: OK 02:48:30 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 02:48:30 Statistics: 02:48:30 Hnuu...uuuununununu... 02:48:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:30 provisioning config files... 02:48:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-712@tmp/config8952206715321661849tmp [Pipeline] { [Pipeline] echo 02:48:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:31 ---> create-netrc.sh [Pipeline] } 02:48:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:48:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:31 ---> python-tools-install.sh [Pipeline] echo 02:48:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:32 ---> sudo-logs.sh 02:48:32 Archiving 'sudo' log.. [Pipeline] echo 02:48:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:32 ---> job-cost.sh 02:48:32 lf-activate-venv: SKIPPING 02:48:32 INFO: No Stack... 02:48:33 INFO: Retrieving Pricing Info for: v1-standard-2 02:48:33 INFO: Archiving Costs [Pipeline] echo 02:48:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:34 ---> logs-deploy.sh 02:48:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-712/2 02:48:34 INFO: archiving workspace using pattern(s): 02:48:36 Archives upload complete. 02:48:36 INFO: archiving logs to Nexus