Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at fb6bb540a8cb6df0ab3c7959dfb0879070efde55 rather than 27d96caf226a8b4a0419006e70fd582a62b583f8 Obtained Jenkinsfile from fb6bb540a8cb6df0ab3c7959dfb0879070efde55 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false 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-17112 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-587 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 27d96caf226a8b4a0419006e70fd582a62b583f8 Merge succeeded, producing e32fe0f2e37e08b2c857b08665a5aec9e45351d7 Checking out Revision e32fe0f2e37e08b2c857b08665a5aec9e45351d7 (PR-587) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27d96caf226a8b4a0419006e70fd582a62b583f8 # 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 fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e32fe0f2e37e08b2c857b08665a5aec9e45351d7 # timeout=10 Commit message: "Merge commit 'fb6bb540a8cb6df0ab3c7959dfb0879070efde55' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4f017579737bde3c47ebb87023f152863a9f5f39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:46:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:46:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:46:18 ========================================================= 23:46:18 EdgeX Global Pipelines Version Info 23:46:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:46:21 ------------------- 23:46:21 stable info: 23:46:21 ------------------- 23:46:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:21 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:46:21 Message: update stable to v1.0.173 23:46:21 ------------------- 23:46:21 experimental info: 23:46:21 ------------------- 23:46:21 Commited By: **** collab-it+edgex@linuxfoundation.org 23:46:21 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 23:46:21 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:46:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 23:46:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 23:46:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 23:46:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e32fe0f2e37e08b2c857b08665a5aec9e45351d7 [Pipeline] echo 23:46:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e32fe0f [Pipeline] echo 23:46:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:26 + git log --format=format:%s -1 e32fe0f2e37e08b2c857b08665a5aec9e45351d7 [Pipeline] echo 23:46:26 GIT_COMMIT: e32fe0f2e37e08b2c857b08665a5aec9e45351d7, Commit Message: Merge commit 'fb6bb540a8cb6df0ab3c7959dfb0879070efde55' into HEAD [Pipeline] echo 23:46:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:28 23:46:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:28 latest: Pulling from edgex-devops/git-semver 23:46:28 31603596830f: Pulling fs layer 23:46:28 2a8b12db71e7: Pulling fs layer 23:46:28 6ca5941a6612: Pulling fs layer 23:46:28 ecc8261a40a4: Pulling fs layer 23:46:28 ecc8261a40a4: Waiting 23:46:28 2a8b12db71e7: Verifying Checksum 23:46:28 2a8b12db71e7: Download complete 23:46:29 31603596830f: Download complete 23:46:29 ecc8261a40a4: Verifying Checksum 23:46:29 ecc8261a40a4: Download complete 23:46:29 6ca5941a6612: Verifying Checksum 23:46:29 6ca5941a6612: Download complete 23:46:29 31603596830f: Pull complete 23:46:30 2a8b12db71e7: Pull complete 23:46:31 6ca5941a6612: Pull complete 23:46:32 ecc8261a40a4: Pull complete 23:46:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:32 prd-centos7-docker-4c-2g-17112 does not seem to be running inside a container 23:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:35 $ docker top 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:35 [ssh-agent] Looking for ssh-agent implementation... 23:46:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:36 $ docker exec 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 ssh-agent 23:46:36 SSH_AUTH_SOCK=/tmp/ssh-FTTKEVA5T08F/agent.11 23:46:36 SSH_AGENT_PID=16 23:46:36 Running ssh-add (command line suppressed) 23:46:36 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2646608684079645252.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2646608684079645252.key) 23:46:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:37 + git tag --points-at HEAD [Pipeline] } 23:46:37 $ docker exec --env ******** --env ******** 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 ssh-agent -k 23:46:37 unset SSH_AUTH_SOCK; 23:46:37 unset SSH_AGENT_PID; 23:46:37 echo Agent pid 16 killed; 23:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:37 [ssh-agent] Looking for ssh-agent implementation... 23:46:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:38 $ docker exec 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 ssh-agent 23:46:38 SSH_AUTH_SOCK=/tmp/ssh-9zYOybMj9KRJ/agent.45 23:46:38 SSH_AGENT_PID=50 23:46:38 Running ssh-add (command line suppressed) 23:46:38 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_615037739272010302.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_615037739272010302.key) 23:46:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:39 + git semver init 23:46:39 # -> Open(): unable to determine branch for HEAD 23:46:39 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.git 23:46:39 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-587 23:46:39 # $SEMVER_REMOTE_NAME = origin 23:46:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:39 # $SEMVER_USER_NAME = edgex-jenkins 23:46:39 # $SEMVER_BRANCH = PR-587 23:46:39 # $SEMVER_TEMP = /tmp/semver-108854750 23:46:39 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:43 # '/tmp/semver-108854750' -> '/w/workspace/ndry_app-functions-sdk-go_PR-587/.semver' 23:46:43 # -> Force: false 23:46:43 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.semver [Pipeline] } 23:46:43 $ docker exec --env ******** --env ******** 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 ssh-agent -k 23:46:43 unset SSH_AUTH_SOCK; 23:46:44 unset SSH_AGENT_PID; 23:46:44 echo Agent pid 50 killed; 23:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:44 + git semver [Pipeline] } 23:46:44 $ docker stop --time=1 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 23:46:46 $ docker rm -f 520339c5e74bb827699b8b1572d0260ad2866c12de4e6ebc88e851a432aa5f93 [Pipeline] // withDockerContainer [Pipeline] sh 23:46:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:48 Stashed 1 file(s) [Pipeline] echo 23:46:48 [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 23:47:03 Still waiting to schedule task 23:47:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:47:03 Still waiting to schedule task 23:47:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:48:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17113 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 23:48:53 Running in /w/workspace/app-functions-sdk-go/13 [Pipeline] { [Pipeline] checkout 23:48:59 using credential edgex-jenkins-ssh 23:48:59 Cloning the remote Git repository 23:49:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:00 > git init /w/workspace/app-functions-sdk-go/13 # timeout=10 23:49:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:00 > git --version # timeout=10 23:49:00 > git --version # 'git version 2.17.1' 23:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:03 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:49:03 Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 27d96caf226a8b4a0419006e70fd582a62b583f8 23:49:04 Merge succeeded, producing 161691ccfd9d7e9819e6219b2916bb571da6276a 23:49:04 Checking out Revision 161691ccfd9d7e9819e6219b2916bb571da6276a (PR-587) 23:49:03 > git config core.sparsecheckout # timeout=10 23:49:04 > git checkout -f 27d96caf226a8b4a0419006e70fd582a62b583f8 # timeout=10 23:49:04 > git remote # timeout=10 23:49:04 > git config --get remote.origin.url # timeout=10 23:49:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:04 > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 23:49:04 > git rev-parse HEAD^{commit} # timeout=10 23:49:04 > git config core.sparsecheckout # timeout=10 23:49:04 > git checkout -f 161691ccfd9d7e9819e6219b2916bb571da6276a # timeout=10 23:49:08 Commit message: "Merge commit 'fb6bb540a8cb6df0ab3c7959dfb0879070efde55' into HEAD" 23:49:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:08 > git rev-list --no-walk 4f017579737bde3c47ebb87023f152863a9f5f39 # timeout=10 23:49:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:49:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:49:11 + sudo service docker restart 23:49:11 + true [Pipeline] unstash [Pipeline] echo 23:49:14 ========================================================= 23:49:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:49:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:49:14 + 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 . 23:49:15 Sending build context to Docker daemon 19.12MB 23:49:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:49:15 Step 2/8 : FROM ${BASE} 23:49:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:49:16 5f621e34cdf4: Pulling fs layer 23:49:16 a4357932f1b6: Pulling fs layer 23:49:16 18c013af1878: Pulling fs layer 23:49:16 00ac8860ef70: Pulling fs layer 23:49:16 63d7cb157983: Pulling fs layer 23:49:16 b116817d02f9: Pulling fs layer 23:49:16 745a02a5169b: Pulling fs layer 23:49:16 00ac8860ef70: Waiting 23:49:16 63d7cb157983: Waiting 23:49:16 745a02a5169b: Waiting 23:49:16 18c013af1878: Verifying Checksum 23:49:16 18c013af1878: Download complete 23:49:16 a4357932f1b6: Verifying Checksum 23:49:16 a4357932f1b6: Download complete 23:49:16 63d7cb157983: Verifying Checksum 23:49:16 63d7cb157983: Download complete 23:49:16 b116817d02f9: Verifying Checksum 23:49:16 b116817d02f9: Download complete 23:49:16 5f621e34cdf4: Verifying Checksum 23:49:16 5f621e34cdf4: Download complete 23:49:17 5f621e34cdf4: Pull complete 23:49:18 a4357932f1b6: Pull complete 23:49:18 18c013af1878: Pull complete 23:49:19 745a02a5169b: Verifying Checksum 23:49:19 745a02a5169b: Download complete 23:49:20 00ac8860ef70: Verifying Checksum 23:49:20 00ac8860ef70: Download complete 23:49:25 Running on prd-centos7-docker-4c-2g-17114 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 23:49:25 Running in /w/workspace/app-functions-sdk-go/13 [Pipeline] { [Pipeline] checkout 23:49:27 using credential edgex-jenkins-ssh 23:49:28 Cloning the remote Git repository 23:49:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:27 > git init /w/workspace/app-functions-sdk-go/13 # timeout=10 23:49:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:27 > git --version # timeout=10 23:49:27 > git --version # 'git version 2.24.3' 23:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:49:30 Merging remotes/origin/master commit fb6bb540a8cb6df0ab3c7959dfb0879070efde55 into PR head commit 27d96caf226a8b4a0419006e70fd582a62b583f8 23:49:30 Merge succeeded, producing dbc69f634f44daa63a14b50373c0e28398281997 23:49:30 Checking out Revision dbc69f634f44daa63a14b50373c0e28398281997 (PR-587) 23:49:30 00ac8860ef70: Pull complete 23:49:30 63d7cb157983: Pull complete 23:49:30 b116817d02f9: Pull complete 23:49:30 > git config core.sparsecheckout # timeout=10 23:49:30 > git checkout -f 27d96caf226a8b4a0419006e70fd582a62b583f8 # timeout=10 23:49:30 > git remote # timeout=10 23:49:30 > git config --get remote.origin.url # timeout=10 23:49:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:30 > git merge fb6bb540a8cb6df0ab3c7959dfb0879070efde55 # timeout=10 23:49:30 > git rev-parse HEAD^{commit} # timeout=10 23:49:30 > git config core.sparsecheckout # timeout=10 23:49:30 > git checkout -f dbc69f634f44daa63a14b50373c0e28398281997 # timeout=10 23:49:33 Commit message: "Merge commit 'fb6bb540a8cb6df0ab3c7959dfb0879070efde55' into HEAD" 23:49:34 First time build. Skipping changelog. 23:49:34 745a02a5169b: Pull complete 23:49:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:49:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:49:34 ---> b7e6874047d6 23:49:34 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:34 20.10.0: Pulling from library/docker 23:49:34 a3cc7d3b244e: Pulling fs layer 23:49:34 02a3295e0d61: Pulling fs layer 23:49:34 0f4f2e6d8100: Pulling fs layer 23:49:34 330b718f631f: Pulling fs layer 23:49:34 a93816041522: Pulling fs layer 23:49:34 bdb6da89ff94: Pulling fs layer 23:49:34 2a70c0c122f4: Pulling fs layer 23:49:34 330b718f631f: Waiting 23:49:34 a93816041522: Waiting 23:49:34 bdb6da89ff94: Waiting 23:49:34 2a70c0c122f4: Waiting 23:49:34 0f4f2e6d8100: Verifying Checksum 23:49:34 0f4f2e6d8100: Download complete 23:49:34 02a3295e0d61: Verifying Checksum 23:49:34 02a3295e0d61: Download complete 23:49:34 a3cc7d3b244e: Verifying Checksum 23:49:34 a3cc7d3b244e: Download complete 23:49:34 a93816041522: Verifying Checksum 23:49:34 a93816041522: Download complete 23:49:34 bdb6da89ff94: Verifying Checksum 23:49:34 bdb6da89ff94: Download complete 23:49:34 2a70c0c122f4: Verifying Checksum 23:49:34 2a70c0c122f4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:35 a3cc7d3b244e: Pull complete 23:49:34 > git rev-list --no-walk 4f017579737bde3c47ebb87023f152863a9f5f39 # timeout=10 23:49:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:49:35 02a3295e0d61: Pull complete 23:49:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:49:35 0f4f2e6d8100: Pull complete 23:49:35 + sudo service docker restart 23:49:35 + true 23:49:35 Redirecting to /bin/systemctl restart docker.service 23:49:36 330b718f631f: Verifying Checksum 23:49:36 330b718f631f: Download complete [Pipeline] unstash [Pipeline] echo 23:49:37 ========================================================= 23:49:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:49:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:49:37 + 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 . 23:49:37 Sending build context to Docker daemon 19.12MB 23:49:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:49:37 Step 2/8 : FROM ${BASE} 23:49:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:49:38 188c0c94c7c5: Pulling fs layer 23:49:38 0ef7d3d256c8: Pulling fs layer 23:49:38 de9db76c5a1d: Pulling fs layer 23:49:38 bca2f99d35d6: Pulling fs layer 23:49:38 93359f2a8cfa: Pulling fs layer 23:49:38 7c6f9722023f: Pulling fs layer 23:49:38 a35cf1a2eb13: Pulling fs layer 23:49:38 93359f2a8cfa: Waiting 23:49:38 bca2f99d35d6: Waiting 23:49:38 7c6f9722023f: Waiting 23:49:38 a35cf1a2eb13: Waiting 23:49:38 de9db76c5a1d: Verifying Checksum 23:49:38 de9db76c5a1d: Download complete 23:49:38 0ef7d3d256c8: Download complete 23:49:38 93359f2a8cfa: Verifying Checksum 23:49:38 7c6f9722023f: Verifying Checksum 23:49:38 7c6f9722023f: Download complete 23:49:38 188c0c94c7c5: Verifying Checksum 23:49:38 188c0c94c7c5: Download complete 23:49:38 188c0c94c7c5: Pull complete 23:49:38 0ef7d3d256c8: Pull complete 23:49:38 de9db76c5a1d: Pull complete 23:49:40 a35cf1a2eb13: Verifying Checksum 23:49:40 a35cf1a2eb13: Download complete 23:49:40 330b718f631f: Pull complete 23:49:40 a93816041522: Pull complete 23:49:40 bdb6da89ff94: Pull complete 23:49:40 bca2f99d35d6: Verifying Checksum 23:49:40 bca2f99d35d6: Download complete 23:49:41 2a70c0c122f4: Pull complete 23:49:41 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:41 Status: Downloaded newer image for docker:20.10.0 23:49:45 bca2f99d35d6: Pull complete 23:49:45 93359f2a8cfa: Pull complete 23:49:45 7c6f9722023f: Pull complete 23:49:47 ---> d7088c5b762a 23:49:47 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:47 ---> Running in d87acac1e7b2 23:49:47 Removing intermediate container d87acac1e7b2 23:49:47 ---> a1d0af0eaa04 23:49:47 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:48 ---> Running in d6cf2b583f5d 23:49:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:49:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:49:51 (1/5) Installing libsodium (1.0.18-r0) 23:49:51 (2/5) Installing libzmq (4.3.3-r0) 23:49:51 (3/5) Installing pkgconf (1.7.2-r0) 23:49:51 (4/5) Installing libsodium-dev (1.0.18-r0) 23:49:51 (5/5) Installing zeromq-dev (4.3.3-r0) 23:49:51 Executing busybox-1.31.1-r19.trigger 23:49:51 OK: 144 MiB in 44 packages 23:49:53 Removing intermediate container d6cf2b583f5d 23:49:53 ---> 51cddb093032 23:49:53 Step 6/8 : WORKDIR /build 23:49:53 ---> Running in 9c2b56701881 23:49:53 Removing intermediate container 9c2b56701881 23:49:53 ---> 9dabd3f32f29 23:49:53 Step 7/8 : COPY go.mod . 23:49:53 a35cf1a2eb13: Pull complete 23:49:53 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:49:53 ---> a62c8e92a672 23:49:53 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:53 20.10.0: Pulling from library/docker 23:49:53 05e7bc50f07f: Pulling fs layer 23:49:53 6db28d0fdbf6: Pulling fs layer 23:49:53 292df0bc6bf3: Pulling fs layer 23:49:53 2e060f4bd70b: Pulling fs layer 23:49:53 80e8d568a223: Pulling fs layer 23:49:53 8dc6ef1a942a: Pulling fs layer 23:49:53 2312dd95470a: Pulling fs layer 23:49:53 80e8d568a223: Waiting 23:49:53 8dc6ef1a942a: Waiting 23:49:53 2312dd95470a: Waiting 23:49:53 2e060f4bd70b: Waiting 23:49:53 292df0bc6bf3: Verifying Checksum 23:49:53 292df0bc6bf3: Download complete 23:49:53 6db28d0fdbf6: Download complete 23:49:53 05e7bc50f07f: Verifying Checksum 23:49:53 05e7bc50f07f: Download complete 23:49:53 80e8d568a223: Verifying Checksum 23:49:53 80e8d568a223: Download complete 23:49:53 8dc6ef1a942a: Verifying Checksum 23:49:53 8dc6ef1a942a: Download complete 23:49:53 2312dd95470a: Download complete 23:49:53 05e7bc50f07f: Pull complete 23:49:54 6db28d0fdbf6: Pull complete 23:49:54 ---> 8591468ccb39 23:49:54 Step 8/8 : RUN go mod download 23:49:54 ---> Running in fba385a3fb65 23:49:54 292df0bc6bf3: Pull complete 23:49:54 2e060f4bd70b: Download complete 23:49:57 2e060f4bd70b: Pull complete 23:49:57 80e8d568a223: Pull complete 23:49:57 8dc6ef1a942a: Pull complete 23:49:57 2312dd95470a: Pull complete 23:49:57 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:57 Status: Downloaded newer image for docker:20.10.0 23:49:59 ---> c066dc3c67c6 23:49:59 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:59 ---> Running in c9c905e28cfa 23:49:59 Removing intermediate container c9c905e28cfa 23:49:59 ---> 380a4980ed2f 23:49:59 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:59 ---> Running in 35b22d86ced5 23:50:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:50:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:50:01 (1/5) Installing libsodium (1.0.18-r0) 23:50:01 (2/5) Installing libzmq (4.3.3-r0) 23:50:01 (3/5) Installing pkgconf (1.7.2-r0) 23:50:01 (4/5) Installing libsodium-dev (1.0.18-r0) 23:50:01 (5/5) Installing zeromq-dev (4.3.3-r0) 23:50:01 Executing busybox-1.31.1-r19.trigger 23:50:01 OK: 167 MiB in 44 packages 23:50:02 Removing intermediate container 35b22d86ced5 23:50:02 ---> 5f97258a1f66 23:50:02 Step 6/8 : WORKDIR /build 23:50:02 ---> Running in 2ff1d25c2b42 23:50:02 Removing intermediate container 2ff1d25c2b42 23:50:02 ---> 3bd8893d51ef 23:50:02 Step 7/8 : COPY go.mod . 23:50:03 ---> da78caf2d2fa 23:50:03 Step 8/8 : RUN go mod download 23:50:03 ---> Running in 40e93e54f668 23:50:21 Removing intermediate container fba385a3fb65 23:50:21 ---> 26779c8af199 23:50:21 Successfully built 26779c8af199 23:50:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:50:21 + docker inspect -f . ci-base-image-arm64 23:50:21 . [Pipeline] withDockerContainer 23:50:21 prd-ubuntu18.04-docker-arm64-4c-16g-17113 does not seem to be running inside a container 23:50:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:50:23 $ docker top dc9356a0dea9e7aa1d59c2b834fae52d07856d324cba004a8cdc0bb070d82fda -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:24 + go version 23:50:24 go version go1.15.5 linux/arm64 [Pipeline] } 23:50:24 $ docker stop --time=1 dc9356a0dea9e7aa1d59c2b834fae52d07856d324cba004a8cdc0bb070d82fda 23:50:25 Removing intermediate container 40e93e54f668 23:50:25 ---> bfaefc1bb3fd 23:50:25 Successfully built bfaefc1bb3fd 23:50:25 Successfully tagged ci-base-image-x86_64:latest 23:50:26 $ docker rm -f dc9356a0dea9e7aa1d59c2b834fae52d07856d324cba004a8cdc0bb070d82fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:26 + docker inspect -f . ci-base-image-x86_64 23:50:26 . [Pipeline] withDockerContainer 23:50:26 prd-centos7-docker-4c-2g-17114 does not seem to be running inside a container 23:50:26 + docker inspect -f . ci-base-image-arm64 23:50:26 . 23:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:50:27 $ docker top 2e04a13fc2bff295809089359235f083cbc6ff3ed6abe57c44246d735589db99 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 23:50:28 prd-ubuntu18.04-docker-arm64-4c-16g-17113 does not seem to be running inside a container 23:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:50:29 $ docker top 0c9bb725b1a0cd470b1c3b75897ded78e4449d99fad37dbf725e8740c6f803a9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 23:50:30 + go version 23:50:30 go version go1.15.5 linux/amd64 [Pipeline] } 23:50:30 $ docker stop --time=1 2e04a13fc2bff295809089359235f083cbc6ff3ed6abe57c44246d735589db99 23:50:30 + make test 23:50:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:50:31 $ docker rm -f 2e04a13fc2bff295809089359235f083cbc6ff3ed6abe57c44246d735589db99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 23:50:32 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:32 + docker inspect -f . ci-base-image-x86_64 23:50:32 . [Pipeline] withDockerContainer 23:50:32 prd-centos7-docker-4c-2g-17114 does not seem to be running inside a container 23:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:50:33 $ docker top 46abc6c76abbc238d06cb46e7e06cb44d10528df4d8e3f9470e4fbae1b14741c -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:33 + make test 23:50:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:50:35 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:50:44 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.021s coverage: 86.2% of statements 23:50:49 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.033s coverage: 48.8% of statements 23:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:50:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.040s coverage: 61.5% of statements 23:50:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:50:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.057s coverage: 69.1% of statements 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:50:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.7% of statements 23:50:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:50:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.037s coverage: 8.8% of statements 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.917s coverage: 75.0% of statements 23:50:59 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.014s coverage: 87.9% of statements 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.045s coverage: 88.9% of statements 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.011s coverage: 80.5% of statements 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 23:50:59 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.042s coverage: 86.2% of statements 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.030s coverage: 81.6% of statements 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements 23:51:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:51:21 gofmt -l . 23:51:21 [ "`gofmt -l .`" = "" ] 23:51:21 ./bin/test-go-mod-tidy.sh 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.086s coverage: 48.8% of statements 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.100s coverage: 61.5% of statements 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.041s coverage: 69.1% of statements 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.018s coverage: 97.7% of statements 23:51:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:51:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.035s coverage: 8.8% of statements [Pipeline] } 23:51:21 $ docker stop --time=1 46abc6c76abbc238d06cb46e7e06cb44d10528df4d8e3f9470e4fbae1b14741c 23:51:23 $ docker rm -f 46abc6c76abbc238d06cb46e7e06cb44d10528df4d8e3f9470e4fbae1b14741c [Pipeline] // withDockerContainer [Pipeline] sh 23:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:51:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 23:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.979s coverage: 75.0% of statements 23:51:24 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.048s coverage: 87.9% of statements 23:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.026s coverage: 88.9% of statements 23:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 23:51:24 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.024s coverage: 71.7% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:51:47 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.060s coverage: 81.6% of statements 23:51:47 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 23:51:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:51:57 gofmt -l . 23:51:57 [ "`gofmt -l .`" = "" ] 23:51:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:51:57 $ docker stop --time=1 0c9bb725b1a0cd470b1c3b75897ded78e4449d99fad37dbf725e8740c6f803a9 23:51:59 $ docker rm -f 0c9bb725b1a0cd470b1c3b75897ded78e4449d99fad37dbf725e8740c6f803a9 [Pipeline] // withDockerContainer [Pipeline] sh 23:52:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:52:00 Warning: overwriting stash ‘coverage-report’ 23:52:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 23:52:04 provisioning config files... 23:52:04 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config1137749131199163974tmp [Pipeline] { [Pipeline] sh 23:52:04 + set +x 23:52:04 + curl -s https://codecov.io/bash 23:52:04 + bash -s -- 23:52:04 23:52:04 _____ _ 23:52:04 / ____| | | 23:52:04 | | ___ __| | ___ ___ _____ __ 23:52:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:52:04 | |___| (_) | (_| | __/ (_| (_) \ V / 23:52:04 \_____\___/ \__,_|\___|\___\___/ \_/ 23:52:04 Bash-20201217-3d3df35 23:52:04 23:52:04 23:52:04 git version 2.24.3 found 23:52:04 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 23:52:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:52:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 23:52:04 ==> Jenkins CI detected. 23:52:04 project root: . 23:52:04 --> token set from env 23:52:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:52:05 ==> Running gcov in . (disable via -X gcov) 23:52:05 ==> Python coveragepy not found 23:52:05 ==> Searching for coverage reports in: 23:52:05 + . 23:52:05 -> Found 1 reports 23:52:05 ==> Detecting git/mercurial file structure 23:52:05 ==> Reading reports 23:52:05 + ./coverage.out bytes=72924 23:52:05 ==> Appending adjustments 23:52:05 https://docs.codecov.io/docs/fixing-reports 23:52:05 + Found adjustments 23:52:05 ==> Gzipping contents 23:52:05 16K /tmp/codecov.hsDUx7.gz 23:52:05 ==> Uploading reports 23:52:05 url: https://codecov.io 23:52:05 query: branch=PR-587&commit=e32fe0f2e37e08b2c857b08665a5aec9e45351d7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F13%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 23:52:05 -> Pinging Codecov 23:52:05 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-587&commit=e32fe0f2e37e08b2c857b08665a5aec9e45351d7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F13%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 23:52:06 -> Uploading to 23:52:06 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/3D8B5DFFC46A037C893635FACE044666/e32fe0f2e37e08b2c857b08665a5aec9e45351d7/9f0aa5b7-d862-48ee-83ba-f076589cfa1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T235206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea2015ee53c50a153b7330634a5a970a1b545fa334fc75adab752c3acf7e06bd 23:52:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:52:06 Dload Upload Total Spent Left Speed 23:52:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12969 0 0 100 12969 0 27424 --:--:-- --:--:-- --:--:-- 27418 100 12969 0 0 100 12969 0 27405 --:--:-- --:--:-- --:--:-- 27418 23:52:06 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e32fe0f2e37e08b2c857b08665a5aec9e45351d7 [Pipeline] } 23:52:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:52:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:10 ---> package-listing.sh 23:52:10 ++ facter osfamily 23:52:10 ++ tr '[:upper:]' '[:lower:]' 23:52:10 + OS_FAMILY=redhat 23:52:10 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-587 23:52:10 + START_PACKAGES=/tmp/packages_start.txt 23:52:10 + END_PACKAGES=/tmp/packages_end.txt 23:52:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:10 + PACKAGES=/tmp/packages_start.txt 23:52:10 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 23:52:10 + PACKAGES=/tmp/packages_end.txt 23:52:10 + case "${OS_FAMILY}" in 23:52:10 + rpm -qa 23:52:10 + sort 23:52:16 + '[' -f /tmp/packages_start.txt ']' 23:52:16 + '[' -f /tmp/packages_end.txt ']' 23:52:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:16 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 23:52:16 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ 23:52:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [Pipeline] echo 23:52:16 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/ndry_app-functions-sdk-go_PR-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:17 23:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:52:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:18 alpine: Pulling from edgex-lftools-log-publisher 23:52:18 df20fa9351a1: Pulling fs layer 23:52:18 36b3adc4ff6f: Pulling fs layer 23:52:18 8ad3a11d3b57: Pulling fs layer 23:52:18 46f8f816bc3b: Pulling fs layer 23:52:18 93b61091891f: Pulling fs layer 23:52:18 93b9cdb0e59b: Pulling fs layer 23:52:18 5e14af77c1be: Pulling fs layer 23:52:18 01666e4c0597: Pulling fs layer 23:52:18 aa168da1d23b: Pulling fs layer 23:52:18 93b9cdb0e59b: Waiting 23:52:18 5e14af77c1be: Waiting 23:52:18 01666e4c0597: Waiting 23:52:18 aa168da1d23b: Waiting 23:52:18 93b61091891f: Waiting 23:52:18 46f8f816bc3b: Waiting 23:52:18 36b3adc4ff6f: Verifying Checksum 23:52:18 36b3adc4ff6f: Download complete 23:52:18 46f8f816bc3b: Verifying Checksum 23:52:18 46f8f816bc3b: Download complete 23:52:18 df20fa9351a1: Verifying Checksum 23:52:18 df20fa9351a1: Download complete 23:52:18 93b9cdb0e59b: Verifying Checksum 23:52:18 93b9cdb0e59b: Download complete 23:52:18 93b61091891f: Verifying Checksum 23:52:18 93b61091891f: Download complete 23:52:18 5e14af77c1be: Verifying Checksum 23:52:18 5e14af77c1be: Download complete 23:52:18 01666e4c0597: Verifying Checksum 23:52:18 01666e4c0597: Download complete 23:52:19 df20fa9351a1: Pull complete 23:52:19 8ad3a11d3b57: Verifying Checksum 23:52:19 36b3adc4ff6f: Pull complete 23:52:21 8ad3a11d3b57: Pull complete 23:52:21 46f8f816bc3b: Pull complete 23:52:22 93b61091891f: Pull complete 23:52:23 93b9cdb0e59b: Pull complete 23:52:23 5e14af77c1be: Pull complete 23:52:23 01666e4c0597: Pull complete 23:52:24 aa168da1d23b: Verifying Checksum 23:52:24 aa168da1d23b: Download complete 23:52:36 aa168da1d23b: Pull complete 23:52:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:52:37 prd-centos7-docker-4c-2g-17112 does not seem to be running inside a container 23:52:37 $ 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/ndry_app-functions-sdk-go_PR-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:52:40 $ docker top d112eefaa3bc644dd34b9fe1131bb4bd5fd6412fc37ebf28c65684ca6be9ef8c -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:42 + mkdir -p /var/log/sa [Pipeline] sh 23:52:42 + ls /var/log/sa-host 23:52:42 + sadf -c /var/log/sa-host/sa21 23:52:42 file_magic: OK 23:52:42 HZ: Using current value: 100 23:52:42 file_header: OK 23:52:42 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 23:52:42 Statistics: 23:52:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:42 File successfully converted to sysstat format version 12.2.1 23:52:42 + sadf -c /var/log/sa-host/sa23 23:52:42 file_magic: OK 23:52:42 HZ: Using current value: 100 23:52:42 file_header: OK 23:52:42 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 23:52:42 Statistics: 23:52:42 Hnuu...uuuununununu... 23:52:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:43 provisioning config files... 23:52:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config6233505531355522346tmp [Pipeline] { [Pipeline] echo 23:52:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:44 ---> create-netrc.sh [Pipeline] } 23:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:52:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:52:44 ---> python-tools-install.sh [Pipeline] echo 23:52:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:44 ---> sudo-logs.sh 23:52:44 Archiving 'sudo' log.. [Pipeline] echo 23:52:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:45 ---> job-cost.sh 23:52:45 lf-activate-venv: SKIPPING 23:52:45 INFO: No Stack... 23:52:47 INFO: Retrieving Pricing Info for: v1-standard-2 23:52:47 INFO: Archiving Costs [Pipeline] echo 23:52:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:48 ---> logs-deploy.sh 23:52:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-587/13 23:52:48 INFO: archiving workspace using pattern(s): 23:52:50 Archives upload complete. 23:52:50 INFO: archiving logs to Nexus 23:52:52 ---> uname -a: 23:52:52 Linux prd-centos7-docker-4c-2g-17112.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:52:52 23:52:52 23:52:52 ---> lscpu: 23:52:52 Architecture: x86_64 23:52:52 CPU op-mode(s): 32-bit, 64-bit 23:52:52 Byte Order: Little Endian 23:52:52 Address sizes: 40 bits physical, 48 bits virtual 23:52:52 CPU(s): 4 23:52:52 On-line CPU(s) list: 0-3 23:52:52 Thread(s) per core: 1 23:52:52 Core(s) per socket: 1 23:52:52 Socket(s): 4 23:52:52 NUMA node(s): 1 23:52:52 Vendor ID: GenuineIntel 23:52:52 CPU family: 6 23:52:52 Model: 44 23:52:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:52:52 Stepping: 1 23:52:52 CPU MHz: 2933.438 23:52:52 BogoMIPS: 5866.87 23:52:52 Virtualization: VT-x 23:52:52 Hypervisor vendor: KVM 23:52:52 Virtualization type: full 23:52:52 L1d cache: 128 KiB 23:52:52 L1i cache: 128 KiB 23:52:52 L2 cache: 16 MiB 23:52:52 L3 cache: 64 MiB 23:52:52 NUMA node0 CPU(s): 0-3 23:52:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:52:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:52:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:52:52 Vulnerability Meltdown: Mitigation; PTI 23:52:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:52:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:52:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:52:52 Vulnerability Srbds: Not affected 23:52:52 Vulnerability Tsx async abort: Not affected 23:52:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:52:52 23:52:52 23:52:52 ---> nproc: 23:52:52 4 23:52:52 23:52:52 23:52:52 ---> df -h: 23:52:52 Filesystem Size Used Available Use% Mounted on 23:52:52 overlay 50.0G 7.3G 42.7G 15% / 23:52:52 tmpfs 64.0M 0 64.0M 0% /dev 23:52:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:52:52 shm 64.0M 0 64.0M 0% /dev/shm 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:52:52 23:52:52 23:52:52 ---> free -m: 23:52:52 total used free shared buff/cache available 23:52:52 Mem: 1837 698 88 0 1050 1034 23:52:52 Swap: 1023 1 1022 23:52:52 23:52:52 23:52:52 ---> ip addr: 23:52:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:52:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:52:52 inet 127.0.0.1/8 scope host lo 23:52:52 valid_lft forever preferred_lft forever 23:52:52 inet6 ::1/128 scope host 23:52:52 valid_lft forever preferred_lft forever 23:52:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:52:52 link/ether fa:16:3e:6e:0a:3b brd ff:ff:ff:ff:ff:ff 23:52:52 inet 10.30.123.122/23 brd 10.30.123.255 scope global dynamic eth0 23:52:52 valid_lft 85952sec preferred_lft 85952sec 23:52:52 inet6 fe80::f816:3eff:fe6e:a3b/64 scope link 23:52:52 valid_lft forever preferred_lft forever 23:52:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:52:52 link/ether 02:42:46:28:fc:36 brd ff:ff:ff:ff:ff:ff 23:52:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:52:52 valid_lft forever preferred_lft forever 23:52:52 inet6 fe80::42:46ff:fe28:fc36/64 scope link 23:52:52 valid_lft forever preferred_lft forever 23:52:52 23:52:52 23:52:52 ---> sar -b -r -n DEV: 23:52:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 23:52:52 23:52:52 23:45:08 LINUX RESTART (4 CPU) 23:52:52 23:52:52 23:46:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:52:52 23:47:01 59.13 18.35 40.78 0.00 4987.96 4534.67 0.00 23:52:52 23:48:01 2.45 0.00 2.45 0.00 0.00 56.82 0.00 23:52:52 23:49:01 0.65 0.00 0.65 0.00 0.00 8.97 0.00 23:52:52 23:50:01 0.23 0.00 0.23 0.00 0.00 3.45 0.00 23:52:52 23:51:01 0.22 0.00 0.22 0.00 0.00 2.61 0.00 23:52:52 23:52:01 0.32 0.00 0.32 0.00 0.00 3.43 0.00 23:52:52 Average: 10.24 2.98 7.26 0.00 808.88 747.99 0.00 23:52:52 23:52:52 23:46:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:52:52 23:47:01 234160 0 596740 31.72 2620 1048024 1144664 39.07 439184 1009364 132 23:52:52 23:48:01 246332 0 584600 31.07 2620 1047992 1066868 36.41 432660 1005648 16 23:52:52 23:49:01 243772 0 587156 31.21 2620 1047996 1067060 36.42 432484 1008608 16 23:52:52 23:50:01 243748 0 587176 31.21 2620 1048000 1067084 36.42 445072 996348 8 23:52:52 23:51:01 242156 0 588764 31.29 2620 1048004 1066988 36.41 451960 990640 12 23:52:52 23:52:01 242216 0 588700 31.29 2620 1048008 1066940 36.41 464584 977916 12 23:52:52 Average: 242064 0 588856 31.30 2620 1048004 1079934 36.86 444324 998087 33 23:52:52 23:52:52 23:46:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:52:52 23:47:01 eth0 308.77 275.80 1333.09 92.45 0.00 0.00 0.00 0.00 23:52:52 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:47:01 docker0 101.89 70.45 9.27 319.10 0.00 0.00 0.00 0.00 23:52:52 23:48:01 eth0 0.67 0.10 0.06 0.02 0.00 0.00 0.00 0.00 23:52:52 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:49:01 eth0 1.23 0.52 0.44 0.21 0.00 0.00 0.00 0.00 23:52:52 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:50:01 eth0 0.45 0.35 0.26 0.20 0.00 0.00 0.00 0.00 23:52:52 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:51:01 eth0 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 23:52:52 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:52:01 eth0 0.18 0.10 0.07 0.01 0.00 0.00 0.00 0.00 23:52:52 23:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 Average: eth0 50.54 44.93 216.34 15.08 0.00 0.00 0.00 0.00 23:52:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 Average: docker0 16.52 11.42 1.50 51.75 0.00 0.00 0.00 0.00 23:52:52 23:52:52 23:52:52 ---> sar -P ALL: 23:52:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 23:52:52 23:52:52 23:45:08 LINUX RESTART (4 CPU) 23:52:52 23:52:52 23:46:03 CPU %user %nice %system %iowait %steal %idle 23:52:52 23:47:01 all 7.93 0.00 3.65 1.00 10.82 76.59 23:52:52 23:47:01 0 5.70 0.00 4.05 1.93 11.92 76.41 23:52:52 23:47:01 1 8.04 0.00 2.89 0.39 10.59 78.09 23:52:52 23:47:01 2 9.69 0.00 3.03 0.19 9.64 77.45 23:52:52 23:47:01 3 8.31 0.00 4.67 1.52 11.13 74.38 23:52:52 23:48:01 all 0.16 0.00 0.08 0.00 0.31 99.45 23:52:52 23:48:01 0 0.05 0.00 0.05 0.00 0.12 99.78 23:52:52 23:48:01 1 0.10 0.00 0.13 0.00 0.50 99.27 23:52:52 23:48:01 2 0.28 0.00 0.10 0.00 0.30 99.32 23:52:52 23:48:01 3 0.20 0.00 0.05 0.00 0.32 99.43 23:52:52 23:49:01 all 0.13 0.00 0.26 0.00 0.89 98.72 23:52:52 23:49:01 0 0.08 0.00 0.28 0.00 0.71 98.92 23:52:52 23:49:01 1 0.08 0.00 0.38 0.00 0.96 98.57 23:52:52 23:49:01 2 0.27 0.00 0.18 0.00 0.93 98.63 23:52:52 23:49:01 3 0.08 0.00 0.20 0.00 0.96 98.76 23:52:52 23:50:01 all 0.12 0.00 0.10 0.00 0.60 99.18 23:52:52 23:50:01 0 0.37 0.00 0.10 0.00 0.48 99.05 23:52:52 23:50:01 1 0.03 0.00 0.03 0.00 0.89 99.04 23:52:52 23:50:01 2 0.03 0.00 0.07 0.00 0.71 99.19 23:52:52 23:50:01 3 0.05 0.00 0.20 0.00 0.32 99.43 23:52:52 23:51:01 all 0.12 0.00 0.07 0.00 0.22 99.58 23:52:52 23:51:01 0 0.37 0.00 0.12 0.00 0.18 99.33 23:52:52 23:51:01 1 0.05 0.00 0.07 0.00 0.28 99.60 23:52:52 23:51:01 2 0.03 0.00 0.05 0.00 0.23 99.68 23:52:52 23:51:01 3 0.05 0.00 0.05 0.00 0.20 99.70 23:52:52 23:52:01 all 0.12 0.00 0.07 0.00 0.25 99.56 23:52:52 23:52:01 0 0.33 0.00 0.17 0.00 0.28 99.22 23:52:52 23:52:01 1 0.03 0.00 0.03 0.00 0.13 99.80 23:52:52 23:52:01 2 0.07 0.00 0.05 0.00 0.43 99.45 23:52:52 23:52:01 3 0.03 0.00 0.02 0.00 0.17 99.78 23:52:52 Average: all 1.40 0.00 0.69 0.16 2.14 95.61 23:52:52 Average: 0 1.13 0.00 0.78 0.31 2.24 95.53 23:52:52 Average: 1 1.36 0.00 0.58 0.06 2.20 95.80 23:52:52 Average: 2 1.69 0.00 0.57 0.03 2.00 95.71 23:52:52 Average: 3 1.40 0.00 0.83 0.24 2.11 95.41 23:52:52 23:52:52 23:52:52