Pull request #636 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 833c94952b3e21e17f57345ee287c4a3a9378b61+e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 (0cf645f3eee5d695cdcbbd05585c7dde311f2c95) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21951 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [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-636 # 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 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 833c94952b3e21e17f57345ee287c4a3a9378b61 Merge succeeded, producing 833c94952b3e21e17f57345ee287c4a3a9378b61 Checking out Revision 833c94952b3e21e17f57345ee287c4a3a9378b61 (PR-636) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # 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 e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. > git rev-list --no-walk 33a4870004debcd9adf8bb57ebf536799f26cbbd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:12:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:12:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:12:34 ========================================================= 15:12:34 EdgeX Global Pipelines Version Info 15:12:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:12:35 ------------------- 15:12:35 stable info: 15:12:35 ------------------- 15:12:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:12:35 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:12:35 Message: update stable to v1.0.179 15:12:36 ------------------- 15:12:36 experimental info: 15:12:36 ------------------- 15:12:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:12:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:12:36 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:12:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:12:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:12:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:12:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-636 [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-636 [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-636 [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 833c94952b3e21e17f57345ee287c4a3a9378b61 [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 833c949 [Pipeline] echo 15:12:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:12:40 + git log --format=format:%s -1 833c94952b3e21e17f57345ee287c4a3a9378b61 [Pipeline] echo 15:12:40 GIT_COMMIT: 833c94952b3e21e17f57345ee287c4a3a9378b61, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 15:12:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:41 15:12:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:12:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:41 latest: Pulling from edgex-devops/git-semver 15:12:41 31603596830f: Pulling fs layer 15:12:41 2a8b12db71e7: Pulling fs layer 15:12:41 6ca5941a6612: Pulling fs layer 15:12:41 ecc8261a40a4: Pulling fs layer 15:12:41 ecc8261a40a4: Waiting 15:12:41 2a8b12db71e7: Download complete 15:12:41 31603596830f: Download complete 15:12:41 ecc8261a40a4: Verifying Checksum 15:12:41 ecc8261a40a4: Download complete 15:12:41 6ca5941a6612: Verifying Checksum 15:12:41 6ca5941a6612: Download complete 15:12:42 31603596830f: Pull complete 15:12:42 2a8b12db71e7: Pull complete 15:12:43 6ca5941a6612: Pull complete 15:12:43 ecc8261a40a4: Pull complete 15:12:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:12:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:12:43 prd-centos7-docker-4c-2g-21951 does not seem to be running inside a container 15:12:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-636 -v /w/workspace/ndry_app-functions-sdk-go_PR-636:/w/workspace/ndry_app-functions-sdk-go_PR-636:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:12:45 $ docker top f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:45 [ssh-agent] Looking for ssh-agent implementation... 15:12:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:46 $ docker exec f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 ssh-agent 15:12:46 SSH_AUTH_SOCK=/tmp/ssh-P9vMYHXWhtns/agent.12 15:12:46 SSH_AGENT_PID=17 15:12:46 Running ssh-add (command line suppressed) 15:12:46 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_1170961695324239292.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_1170961695324239292.key) 15:12:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:46 + git tag --points-at HEAD [Pipeline] } 15:12:46 $ docker exec --env ******** --env ******** f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 ssh-agent -k 15:12:46 unset SSH_AUTH_SOCK; 15:12:46 unset SSH_AGENT_PID; 15:12:46 echo Agent pid 17 killed; 15:12:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:12:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:47 [ssh-agent] Looking for ssh-agent implementation... 15:12:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:47 $ docker exec f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 ssh-agent 15:12:47 SSH_AUTH_SOCK=/tmp/ssh-ZTbe0JYo7Z8c/agent.46 15:12:47 SSH_AGENT_PID=51 15:12:47 Running ssh-add (command line suppressed) 15:12:47 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_5896728468129369369.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_5896728468129369369.key) 15:12:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:47 + git semver init 15:12:47 # -> Open(): unable to determine branch for HEAD 15:12:47 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.git 15:12:47 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-636 15:12:47 # $SEMVER_REMOTE_NAME = origin 15:12:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:12:47 # $SEMVER_USER_NAME = edgex-jenkins 15:12:47 # $SEMVER_BRANCH = PR-636 15:12:47 # $SEMVER_TEMP = /tmp/semver-001531554 15:12:47 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:12:50 # '/tmp/semver-001531554' -> '/w/workspace/ndry_app-functions-sdk-go_PR-636/.semver' 15:12:50 # -> Force: false 15:12:50 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.semver [Pipeline] } 15:12:50 $ docker exec --env ******** --env ******** f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 ssh-agent -k 15:12:50 unset SSH_AUTH_SOCK; 15:12:50 unset SSH_AGENT_PID; 15:12:50 echo Agent pid 51 killed; 15:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:51 + git semver [Pipeline] } 15:12:51 $ docker stop --time=1 f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 15:12:53 $ docker rm -f f12f1d7ac728441f7d92ef9443e9933db6c68c9faf999ab7cff9430fb17b3421 [Pipeline] // withDockerContainer [Pipeline] sh 15:12:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:12:54 Stashed 1 file(s) [Pipeline] echo 15:12:54 [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 15:13:09 Still waiting to schedule task 15:13:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:13:09 Still waiting to schedule task 15:13:09 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:14:24 Running on prd-centos7-docker-4c-2g-21952 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 15:14:24 Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout 15:14:27 using credential edgex-jenkins-ssh 15:14:27 Cloning the remote Git repository 15:14:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:14:27 > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 15:14:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:14:27 > git --version # timeout=10 15:14:27 > git --version # 'git version 2.24.3' 15:14:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:14:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:14:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:14:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:14:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:14:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:14:29 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 833c94952b3e21e17f57345ee287c4a3a9378b61 15:14:29 Merge succeeded, producing 833c94952b3e21e17f57345ee287c4a3a9378b61 15:14:29 Checking out Revision 833c94952b3e21e17f57345ee287c4a3a9378b61 (PR-636) 15:14:29 > git config core.sparsecheckout # timeout=10 15:14:29 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # timeout=10 15:14:29 > git remote # timeout=10 15:14:29 > git config --get remote.origin.url # timeout=10 15:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 15:14:29 > git merge e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 # timeout=10 15:14:29 > git rev-parse HEAD^{commit} # timeout=10 15:14:29 > git config core.sparsecheckout # timeout=10 15:14:29 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # timeout=10 15:14:33 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:14:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:14:35 + sudo service docker restart 15:14:35 + true 15:14:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 15:14:36 ========================================================= 15:14:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:14:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:14: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 . 15:14:37 Sending build context to Docker daemon 19.11MB 15:14:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:14:37 Step 2/8 : FROM ${BASE} 15:14:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:14:37 188c0c94c7c5: Pulling fs layer 15:14:37 0ef7d3d256c8: Pulling fs layer 15:14:37 de9db76c5a1d: Pulling fs layer 15:14:37 bca2f99d35d6: Pulling fs layer 15:14:37 93359f2a8cfa: Pulling fs layer 15:14:37 7c6f9722023f: Pulling fs layer 15:14:37 a35cf1a2eb13: Pulling fs layer 15:14:37 bca2f99d35d6: Waiting 15:14:37 7c6f9722023f: Waiting 15:14:37 93359f2a8cfa: Waiting 15:14:37 a35cf1a2eb13: Waiting 15:14:37 de9db76c5a1d: Verifying Checksum 15:14:37 de9db76c5a1d: Download complete 15:14:37 0ef7d3d256c8: Download complete 15:14:37 93359f2a8cfa: Download complete 15:14:37 7c6f9722023f: Download complete 15:14:38 188c0c94c7c5: Verifying Checksum 15:14:38 188c0c94c7c5: Download complete 15:14:38 188c0c94c7c5: Pull complete 15:14:38 0ef7d3d256c8: Pull complete 15:14:38 de9db76c5a1d: Pull complete 15:14:41 a35cf1a2eb13: Verifying Checksum 15:14:41 a35cf1a2eb13: Download complete 15:14:41 bca2f99d35d6: Verifying Checksum 15:14:41 bca2f99d35d6: Download complete 15:14:47 bca2f99d35d6: Pull complete 15:14:47 93359f2a8cfa: Pull complete 15:14:47 7c6f9722023f: Pull complete 15:14:55 a35cf1a2eb13: Pull complete 15:14:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 15:14:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:14:55 ---> a62c8e92a672 15:14:55 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:14:55 20.10.0: Pulling from library/docker 15:14:55 05e7bc50f07f: Pulling fs layer 15:14:55 6db28d0fdbf6: Pulling fs layer 15:14:55 292df0bc6bf3: Pulling fs layer 15:14:55 2e060f4bd70b: Pulling fs layer 15:14:55 80e8d568a223: Pulling fs layer 15:14:55 8dc6ef1a942a: Pulling fs layer 15:14:55 2312dd95470a: Pulling fs layer 15:14:55 2e060f4bd70b: Waiting 15:14:55 80e8d568a223: Waiting 15:14:55 8dc6ef1a942a: Waiting 15:14:55 2312dd95470a: Waiting 15:14:55 292df0bc6bf3: Verifying Checksum 15:14:55 292df0bc6bf3: Download complete 15:14:55 6db28d0fdbf6: Verifying Checksum 15:14:55 6db28d0fdbf6: Download complete 15:14:55 80e8d568a223: Verifying Checksum 15:14:55 80e8d568a223: Download complete 15:14:55 8dc6ef1a942a: Verifying Checksum 15:14:55 8dc6ef1a942a: Download complete 15:14:55 05e7bc50f07f: Verifying Checksum 15:14:55 05e7bc50f07f: Download complete 15:14:55 2312dd95470a: Verifying Checksum 15:14:55 2312dd95470a: Download complete 15:14:55 05e7bc50f07f: Pull complete 15:14:55 6db28d0fdbf6: Pull complete 15:14:55 292df0bc6bf3: Pull complete 15:14:56 2e060f4bd70b: Verifying Checksum 15:14:56 2e060f4bd70b: Download complete 15:14:58 2e060f4bd70b: Pull complete 15:14:58 80e8d568a223: Pull complete 15:14:58 8dc6ef1a942a: Pull complete 15:14:58 2312dd95470a: Pull complete 15:14:58 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:14:58 Status: Downloaded newer image for docker:20.10.0 15:15:00 ---> a48c49d1e92c 15:15:00 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:15:00 ---> Running in 4db509227b73 15:15:00 Removing intermediate container 4db509227b73 15:15:00 ---> c7b93dc70cde 15:15:00 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:15:00 ---> Running in 529fc8ee8056 15:15:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:15:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:15:02 (1/5) Installing libsodium (1.0.18-r0) 15:15:02 (2/5) Installing libzmq (4.3.3-r0) 15:15:02 (3/5) Installing pkgconf (1.7.2-r0) 15:15:03 (4/5) Installing libsodium-dev (1.0.18-r0) 15:15:03 (5/5) Installing zeromq-dev (4.3.3-r0) 15:15:03 Executing busybox-1.31.1-r19.trigger 15:15:03 OK: 167 MiB in 44 packages 15:15:04 Removing intermediate container 529fc8ee8056 15:15:04 ---> d902812dab41 15:15:04 Step 6/8 : WORKDIR /build 15:15:04 ---> Running in 3795e2f18a9b 15:15:04 Removing intermediate container 3795e2f18a9b 15:15:04 ---> 353578d4cfec 15:15:04 Step 7/8 : COPY go.mod . 15:15:04 ---> d0e3da4c3a65 15:15:04 Step 8/8 : RUN go mod download 15:15:04 ---> Running in 2de04a812a9c 15:15:31 Removing intermediate container 2de04a812a9c 15:15:31 ---> 37dc7f2d1dcb 15:15:31 Successfully built 37dc7f2d1dcb 15:15:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:15:31 + docker inspect -f . ci-base-image-x86_64 15:15:31 . [Pipeline] withDockerContainer 15:15:32 prd-centos7-docker-4c-2g-21952 does not seem to be running inside a container 15:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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 15:15:32 $ docker top d2090dc9fe9d3ae93264bd67fe18ee47916c8f8b97f618a2464d3b07da3411e2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:33 + go version 15:15:33 go version go1.15.5 linux/amd64 [Pipeline] } 15:15:33 $ docker stop --time=1 d2090dc9fe9d3ae93264bd67fe18ee47916c8f8b97f618a2464d3b07da3411e2 15:15:34 $ docker rm -f d2090dc9fe9d3ae93264bd67fe18ee47916c8f8b97f618a2464d3b07da3411e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:15:35 + docker inspect -f . ci-base-image-x86_64 15:15:35 . [Pipeline] withDockerContainer 15:15:35 prd-centos7-docker-4c-2g-21952 does not seem to be running inside a container 15:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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 15:15:36 $ docker top 22a82a10600c069243b053aa863a79cf05781bfaef0414ab1adebdb3b56c9d91 -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:36 + make test 15:15:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:15:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 15:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.014s coverage: 81.0% of statements 15:15:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.049s coverage: 48.6% of statements 15:15:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:15:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:15:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.051s coverage: 61.5% of statements 15:15:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:15:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.031s coverage: 67.7% of statements 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:15:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.0% of statements 15:15:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:15:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 8.8% of statements 15:16:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.237s coverage: 75.4% of statements 15:16:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:16:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.013s coverage: 87.9% of statements 15:16:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 80.5% of statements 15:16:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 71.7% of statements 15:16:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21954 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 15:16:07 Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout 15:16:12 using credential edgex-jenkins-ssh 15:16:12 Cloning the remote Git repository 15:16:12 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:16:12 > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 15:16:13 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:16:13 > git --version # timeout=10 15:16:13 > git --version # 'git version 2.17.1' 15:16:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:16:17 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 833c94952b3e21e17f57345ee287c4a3a9378b61 15:16:17 Merge succeeded, producing 833c94952b3e21e17f57345ee287c4a3a9378b61 15:16:17 Checking out Revision 833c94952b3e21e17f57345ee287c4a3a9378b61 (PR-636) 15:16:16 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:16:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:16:16 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:16:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:17 > git config core.sparsecheckout # timeout=10 15:16:17 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # timeout=10 15:16:17 > git remote # timeout=10 15:16:17 > git config --get remote.origin.url # timeout=10 15:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:17 > git merge e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 # timeout=10 15:16:17 > git rev-parse HEAD^{commit} # timeout=10 15:16:17 > git config core.sparsecheckout # timeout=10 15:16:17 > git checkout -f 833c94952b3e21e17f57345ee287c4a3a9378b61 # timeout=10 15:16:21 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:16:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:16:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:16:24 + sudo service docker restart 15:16:24 + true 15:16:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.033s coverage: 81.4% of statements 15:16:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements 15:16:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:16:24 gofmt -l . 15:16:24 [ "`gofmt -l .`" = "" ] 15:16:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:16:25 $ docker stop --time=1 22a82a10600c069243b053aa863a79cf05781bfaef0414ab1adebdb3b56c9d91 15:16:27 $ docker rm -f 22a82a10600c069243b053aa863a79cf05781bfaef0414ab1adebdb3b56c9d91 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] unstash 15:16:27 + sudo chown -R jenkins:jenkins . [Pipeline] echo 15:16:27 ========================================================= 15:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:16:27 ========================================================= [Pipeline] stash [Pipeline] isUnix [Pipeline] sh 15:16:28 Stashed 1 file(s) [Pipeline] } 15:16:28 + 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 . [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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 15:16:29 Sending build context to Docker daemon 19.11MB [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:16:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:16:29 Step 2/8 : FROM ${BASE} 15:16:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:16:29 5f621e34cdf4: Pulling fs layer 15:16:29 a4357932f1b6: Pulling fs layer 15:16:29 18c013af1878: Pulling fs layer 15:16:29 00ac8860ef70: Pulling fs layer 15:16:29 63d7cb157983: Pulling fs layer 15:16:29 b116817d02f9: Pulling fs layer 15:16:29 745a02a5169b: Pulling fs layer 15:16:29 63d7cb157983: Waiting 15:16:29 b116817d02f9: Waiting 15:16:29 745a02a5169b: Waiting 15:16:29 00ac8860ef70: Waiting 15:16:29 18c013af1878: Verifying Checksum 15:16:29 18c013af1878: Download complete 15:16:29 a4357932f1b6: Verifying Checksum 15:16:29 a4357932f1b6: Download complete 15:16:29 63d7cb157983: Verifying Checksum 15:16:29 63d7cb157983: Download complete 15:16:30 b116817d02f9: Verifying Checksum 15:16:30 b116817d02f9: Download complete 15:16:30 5f621e34cdf4: Verifying Checksum 15:16:30 5f621e34cdf4: Download complete 15:16:30 5f621e34cdf4: Pull complete 15:16:31 a4357932f1b6: Pull complete 15:16:32 18c013af1878: Pull complete 15:16:32 745a02a5169b: Verifying Checksum 15:16:32 745a02a5169b: Download complete 15:16:34 00ac8860ef70: Verifying Checksum 15:16:34 00ac8860ef70: Download complete 15:16:44 00ac8860ef70: Pull complete 15:16:44 63d7cb157983: Pull complete 15:16:45 b116817d02f9: Pull complete 15:16:49 745a02a5169b: Pull complete 15:16:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 15:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:16:49 ---> b7e6874047d6 15:16:49 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:16:49 20.10.0: Pulling from library/docker 15:16:49 a3cc7d3b244e: Pulling fs layer 15:16:49 02a3295e0d61: Pulling fs layer 15:16:49 0f4f2e6d8100: Pulling fs layer 15:16:49 330b718f631f: Pulling fs layer 15:16:49 a93816041522: Pulling fs layer 15:16:49 bdb6da89ff94: Pulling fs layer 15:16:49 2a70c0c122f4: Pulling fs layer 15:16:49 330b718f631f: Waiting 15:16:49 a93816041522: Waiting 15:16:49 bdb6da89ff94: Waiting 15:16:49 2a70c0c122f4: Waiting 15:16:49 0f4f2e6d8100: Verifying Checksum 15:16:49 0f4f2e6d8100: Download complete 15:16:49 02a3295e0d61: Download complete 15:16:49 a93816041522: Verifying Checksum 15:16:49 a93816041522: Download complete 15:16:49 a3cc7d3b244e: Verifying Checksum 15:16:49 a3cc7d3b244e: Download complete 15:16:49 bdb6da89ff94: Verifying Checksum 15:16:49 bdb6da89ff94: Download complete 15:16:49 2a70c0c122f4: Download complete 15:16:49 a3cc7d3b244e: Pull complete 15:16:50 02a3295e0d61: Pull complete 15:16:50 0f4f2e6d8100: Pull complete 15:16:51 330b718f631f: Verifying Checksum 15:16:51 330b718f631f: Download complete 15:16:54 330b718f631f: Pull complete 15:16:54 a93816041522: Pull complete 15:16:55 bdb6da89ff94: Pull complete 15:16:55 2a70c0c122f4: Pull complete 15:16:55 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:16:55 Status: Downloaded newer image for docker:20.10.0 15:17:00 ---> d711ab2c9f26 15:17:00 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:17:00 ---> Running in 9dcd604f4b30 15:17:01 Removing intermediate container 9dcd604f4b30 15:17:01 ---> 1c1a3041cc1e 15:17:01 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:17:01 ---> Running in d1bb8ec7161a 15:17:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:17:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:17:04 (1/5) Installing libsodium (1.0.18-r0) 15:17:05 (2/5) Installing libzmq (4.3.3-r0) 15:17:05 (3/5) Installing pkgconf (1.7.2-r0) 15:17:05 (4/5) Installing libsodium-dev (1.0.18-r0) 15:17:05 (5/5) Installing zeromq-dev (4.3.3-r0) 15:17:05 Executing busybox-1.31.1-r19.trigger 15:17:05 OK: 144 MiB in 44 packages 15:17:07 Removing intermediate container d1bb8ec7161a 15:17:07 ---> 546424738171 15:17:07 Step 6/8 : WORKDIR /build 15:17:07 ---> Running in 4609cebbabf9 15:17:07 Removing intermediate container 4609cebbabf9 15:17:07 ---> 5a9770edaa20 15:17:07 Step 7/8 : COPY go.mod . 15:17:08 ---> 820681741d41 15:17:08 Step 8/8 : RUN go mod download 15:17:08 ---> Running in c6a005fe6cac 15:17:35 Removing intermediate container c6a005fe6cac 15:17:35 ---> 37800edce16c 15:17:35 Successfully built 37800edce16c 15:17:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:17:35 + docker inspect -f . ci-base-image-arm64 15:17:35 . [Pipeline] withDockerContainer 15:17:35 prd-ubuntu18.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container 15:17:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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 ******** ci-base-image-arm64 cat 15:17:37 $ docker top 992ff596a347c5aa0a16e848ff7faac785c0b0cdcd6c2e67180b6da12bd962fe -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:38 + go version 15:17:38 go version go1.15.5 linux/arm64 [Pipeline] } 15:17:38 $ docker stop --time=1 992ff596a347c5aa0a16e848ff7faac785c0b0cdcd6c2e67180b6da12bd962fe 15:17:40 $ docker rm -f 992ff596a347c5aa0a16e848ff7faac785c0b0cdcd6c2e67180b6da12bd962fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:17:41 + docker inspect -f . ci-base-image-arm64 15:17:41 . [Pipeline] withDockerContainer 15:17:41 prd-ubuntu18.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container 15:17:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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 ******** ci-base-image-arm64 cat 15:17:43 $ docker top 24e2d43b0046a4d319ffc67c96a379cb50ff1bd813ea5481f3df51b782bba9c9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:44 + make test 15:17:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:17:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 15:18:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.036s coverage: 81.0% of statements 15:18:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.081s coverage: 48.6% of statements 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:18:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.110s coverage: 61.5% of statements 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:18:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.036s coverage: 67.7% of statements 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:18:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.018s coverage: 97.0% of statements 15:18:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:18:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.029s coverage: 8.8% of statements 15:18:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.274s coverage: 75.4% of statements 15:18:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:18:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.048s coverage: 87.9% of statements 15:18:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 80.5% of statements 15:18:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements 15:19:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.061s coverage: 81.4% of statements 15:19:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements 15:19:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:19:08 gofmt -l . 15:19:08 [ "`gofmt -l .`" = "" ] 15:19:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:19:09 $ docker stop --time=1 24e2d43b0046a4d319ffc67c96a379cb50ff1bd813ea5481f3df51b782bba9c9 15:19:11 $ docker rm -f 24e2d43b0046a4d319ffc67c96a379cb50ff1bd813ea5481f3df51b782bba9c9 [Pipeline] // withDockerContainer [Pipeline] sh 15:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:19:12 Warning: overwriting stash ‘coverage-report’ 15:19:13 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 15:19:15 provisioning config files... 15:19:15 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/config6302914390490288791tmp [Pipeline] { [Pipeline] sh 15:19:16 + set +x 15:19:16 + curl -s https://codecov.io/bash 15:19:16 + bash -s -- 15:19:16 15:19:16 _____ _ 15:19:16 / ____| | | 15:19:16 | | ___ __| | ___ ___ _____ __ 15:19:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:19:16 | |___| (_) | (_| | __/ (_| (_) \ V / 15:19:16 \_____\___/ \__,_|\___|\___\___/ \_/ 15:19:16 Bash-20210115-cec3c92 15:19:16 15:19:16 15:19:16 ==> git version 2.24.3 found 15:19:16 ==> 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 15:19:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:19:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:19:16 ==> Jenkins CI detected. 15:19:16 project root: . 15:19:16 --> token set from env 15:19:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:19:16 ==> Running gcov in . (disable via -X gcov) 15:19:16 ==> Python coveragepy not found 15:19:16 ==> Searching for coverage reports in: 15:19:16 + . 15:19:16 -> Found 1 reports 15:19:16 ==> Detecting git/mercurial file structure 15:19:16 ==> Reading reports 15:19:16 + ./coverage.out bytes=74114 15:19:16 ==> Appending adjustments 15:19:16 https://docs.codecov.io/docs/fixing-reports 15:19:16 + Found adjustments 15:19:16 ==> Gzipping contents 15:19:16 16K /tmp/codecov.ajfZWT.gz 15:19:16 ==> Uploading reports 15:19:16 url: https://codecov.io 15:19:16 query: branch=PR-636&commit=833c94952b3e21e17f57345ee287c4a3a9378b61&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-636%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=636&job=&cmd_args= 15:19:16 -> Pinging Codecov 15:19:16 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-636&commit=833c94952b3e21e17f57345ee287c4a3a9378b61&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-636%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=636&job=&cmd_args= 15:19:17 -> Uploading to 15:19:17 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/3D8B5DFFC46A037C893635FACE044666/833c94952b3e21e17f57345ee287c4a3a9378b61/6afc8697-6590-48d2-ae4a-d09e25da49b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T151917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89e36c1adb7a7f1dd56d4738858eac63566bd82d25992b5e6ead4b950688bcb6 15:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:19:17 Dload Upload Total Spent Left Speed 15:19:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12845 0 0 100 12845 0 28505 --:--:-- --:--:-- --:--:-- 28544 15:19:17 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/833c94952b3e21e17f57345ee287c4a3a9378b61 [Pipeline] } 15:19:17 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 15:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:19:20 ---> package-listing.sh 15:19:20 ++ facter osfamily 15:19:20 ++ tr '[:upper:]' '[:lower:]' 15:19:20 + OS_FAMILY=redhat 15:19:20 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-636 15:19:20 + START_PACKAGES=/tmp/packages_start.txt 15:19:20 + END_PACKAGES=/tmp/packages_end.txt 15:19:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:19:20 + PACKAGES=/tmp/packages_start.txt 15:19:20 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 15:19:20 + PACKAGES=/tmp/packages_end.txt 15:19:20 + case "${OS_FAMILY}" in 15:19:20 + rpm -qa 15:19:20 + sort 15:19:26 + '[' -f /tmp/packages_start.txt ']' 15:19:26 + '[' -f /tmp/packages_end.txt ']' 15:19:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:19:26 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 15:19:26 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-636/archives/ 15:19:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-636/archives/ [Pipeline] echo 15:19:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-636/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:19:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:26 15:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:19:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:27 alpine: Pulling from edgex-lftools-log-publisher 15:19:27 df20fa9351a1: Pulling fs layer 15:19:27 36b3adc4ff6f: Pulling fs layer 15:19:27 8ad3a11d3b57: Pulling fs layer 15:19:27 46f8f816bc3b: Pulling fs layer 15:19:27 93b61091891f: Pulling fs layer 15:19:27 93b9cdb0e59b: Pulling fs layer 15:19:27 5e14af77c1be: Pulling fs layer 15:19:27 01666e4c0597: Pulling fs layer 15:19:27 aa168da1d23b: Pulling fs layer 15:19:27 46f8f816bc3b: Waiting 15:19:27 93b61091891f: Waiting 15:19:27 5e14af77c1be: Waiting 15:19:27 01666e4c0597: Waiting 15:19:27 93b9cdb0e59b: Waiting 15:19:27 aa168da1d23b: Waiting 15:19:27 36b3adc4ff6f: Verifying Checksum 15:19:27 36b3adc4ff6f: Download complete 15:19:27 46f8f816bc3b: Verifying Checksum 15:19:27 46f8f816bc3b: Download complete 15:19:27 df20fa9351a1: Verifying Checksum 15:19:27 df20fa9351a1: Download complete 15:19:27 93b61091891f: Download complete 15:19:27 93b9cdb0e59b: Verifying Checksum 15:19:27 93b9cdb0e59b: Download complete 15:19:27 5e14af77c1be: Verifying Checksum 15:19:27 5e14af77c1be: Download complete 15:19:27 01666e4c0597: Verifying Checksum 15:19:27 01666e4c0597: Download complete 15:19:27 df20fa9351a1: Pull complete 15:19:27 36b3adc4ff6f: Pull complete 15:19:27 8ad3a11d3b57: Verifying Checksum 15:19:27 8ad3a11d3b57: Download complete 15:19:28 8ad3a11d3b57: Pull complete 15:19:28 46f8f816bc3b: Pull complete 15:19:30 aa168da1d23b: Verifying Checksum 15:19:30 aa168da1d23b: Download complete 15:19:30 93b61091891f: Pull complete 15:19:30 93b9cdb0e59b: Pull complete 15:19:30 5e14af77c1be: Pull complete 15:19:31 01666e4c0597: Pull complete 15:19:37 aa168da1d23b: Pull complete 15:19:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:19:37 prd-centos7-docker-4c-2g-21951 does not seem to be running inside a container 15:19: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-636/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-636 -v /w/workspace/ndry_app-functions-sdk-go_PR-636:/w/workspace/ndry_app-functions-sdk-go_PR-636:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:19:41 $ docker top b91220f20963bddfd43cc58b490e4404d88bbd5f2c5a37e8f4250982405978fe -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:42 + touch /tmp/pre-build-complete [Pipeline] sh 15:19:42 + mkdir -p /var/log/sa [Pipeline] sh 15:19:43 + ls /var/log/sa-host 15:19:43 + sadf -c /var/log/sa-host/sa21 15:19:43 file_magic: OK 15:19:43 HZ: Using current value: 100 15:19:43 file_header: OK 15:19:43 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:19:43 Statistics: 15:19:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:19:43 File successfully converted to sysstat format version 12.2.1 15:19:43 + sadf -c /var/log/sa-host/sa23 15:19:43 file_magic: OK 15:19:43 HZ: Using current value: 100 15:19:43 file_header: OK 15:19:43 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:19:43 Statistics: 15:19:43 Hnuu...uuuununununu... 15:19:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:43 provisioning config files... 15:19:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/config5970245975470563615tmp [Pipeline] { [Pipeline] echo 15:19:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:19:43 ---> create-netrc.sh [Pipeline] } 15:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:19:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:19:44 ---> python-tools-install.sh [Pipeline] echo 15:19:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:19:44 ---> sudo-logs.sh 15:19:44 Archiving 'sudo' log.. [Pipeline] echo 15:19:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:19:44 ---> job-cost.sh 15:19:44 lf-activate-venv: SKIPPING 15:19:44 INFO: No Stack... 15:19:46 INFO: Retrieving Pricing Info for: v1-standard-2 15:19:46 INFO: Archiving Costs [Pipeline] echo 15:19:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:19:46 ---> logs-deploy.sh 15:19:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-636/11 15:19:46 INFO: archiving workspace using pattern(s): 15:19:48 Archives upload complete. 15:19:48 INFO: archiving logs to Nexus 15:19:49 ---> uname -a: 15:19:49 Linux prd-centos7-docker-4c-2g-21951.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:19:49 15:19:49 15:19:49 ---> lscpu: 15:19:49 Architecture: x86_64 15:19:49 CPU op-mode(s): 32-bit, 64-bit 15:19:49 Byte Order: Little Endian 15:19:49 Address sizes: 40 bits physical, 48 bits virtual 15:19:49 CPU(s): 4 15:19:49 On-line CPU(s) list: 0-3 15:19:49 Thread(s) per core: 1 15:19:49 Core(s) per socket: 1 15:19:49 Socket(s): 4 15:19:49 NUMA node(s): 1 15:19:49 Vendor ID: GenuineIntel 15:19:49 CPU family: 6 15:19:49 Model: 44 15:19:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:19:49 Stepping: 1 15:19:49 CPU MHz: 2933.442 15:19:49 BogoMIPS: 5866.88 15:19:49 Virtualization: VT-x 15:19:49 Hypervisor vendor: KVM 15:19:49 Virtualization type: full 15:19:49 L1d cache: 128 KiB 15:19:49 L1i cache: 128 KiB 15:19:49 L2 cache: 16 MiB 15:19:49 L3 cache: 64 MiB 15:19:49 NUMA node0 CPU(s): 0-3 15:19:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:19:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:19:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:19:49 Vulnerability Meltdown: Mitigation; PTI 15:19:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:19:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:19:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:19:49 Vulnerability Srbds: Not affected 15:19:49 Vulnerability Tsx async abort: Not affected 15:19:49 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 15:19:49 15:19:49 15:19:49 ---> nproc: 15:19:49 4 15:19:49 15:19:49 15:19:49 ---> df -h: 15:19:49 Filesystem Size Used Available Use% Mounted on 15:19:49 overlay 50.0G 7.3G 42.7G 15% / 15:19:49 tmpfs 64.0M 0 64.0M 0% /dev 15:19:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:19:49 shm 64.0M 0 64.0M 0% /dev/shm 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-636 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 15:19:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 15:19:49 15:19:49 15:19:49 ---> free -m: 15:19:49 total used free shared buff/cache available 15:19:49 Mem: 1837 691 109 0 1036 1040 15:19:49 Swap: 1023 1 1022 15:19:49 15:19:49 15:19:49 ---> ip addr: 15:19:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:19:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:19:49 inet 127.0.0.1/8 scope host lo 15:19:49 valid_lft forever preferred_lft forever 15:19:49 inet6 ::1/128 scope host 15:19:49 valid_lft forever preferred_lft forever 15:19:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:19:49 link/ether fa:16:3e:2d:c1:bd brd ff:ff:ff:ff:ff:ff 15:19:49 inet 10.30.122.213/23 brd 10.30.123.255 scope global dynamic eth0 15:19:49 valid_lft 85930sec preferred_lft 85930sec 15:19:49 inet6 fe80::f816:3eff:fe2d:c1bd/64 scope link 15:19:49 valid_lft forever preferred_lft forever 15:19:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:19:49 link/ether 02:42:6c:fb:b1:7f brd ff:ff:ff:ff:ff:ff 15:19:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:19:49 valid_lft forever preferred_lft forever 15:19:49 inet6 fe80::42:6cff:fefb:b17f/64 scope link 15:19:49 valid_lft forever preferred_lft forever 15:19:49 15:19:49 15:19:49 ---> sar -b -r -n DEV: 15:19:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/21/21 _x86_64_ (4 CPU) 15:19:49 15:19:49 15:11:49 LINUX RESTART (4 CPU) 15:19:49 15:19:49 15:13:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:19:49 15:14:01 2.15 0.00 2.15 0.00 0.00 47.96 0.00 15:19:49 15:15:01 0.33 0.00 0.33 0.00 0.00 5.16 0.00 15:19:49 15:16:01 0.30 0.00 0.30 0.00 0.00 3.90 0.00 15:19:49 15:17:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 15:19:49 15:18:01 0.28 0.00 0.28 0.00 0.00 4.36 0.00 15:19:49 15:19:01 0.30 0.00 0.30 0.00 0.00 3.80 0.00 15:19:49 Average: 0.60 0.00 0.60 0.00 0.00 11.21 0.00 15:19:49 15:19:49 15:13:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:19:49 15:14:01 218928 0 587408 31.22 2620 1072588 1083228 36.97 426424 1039156 16 15:19:49 15:15:01 219572 0 586756 31.18 2620 1072596 1073092 36.62 426256 1039136 12 15:19:49 15:16:01 217636 0 588688 31.29 2620 1072600 1073044 36.62 436128 1030908 12 15:19:49 15:17:01 217484 0 588840 31.30 2620 1072600 1073092 36.62 434892 1032492 8 15:19:49 15:18:01 216528 0 589788 31.35 2620 1072608 1073032 36.62 455828 1012228 12 15:19:49 15:19:01 215724 0 590588 31.39 2620 1072612 1073140 36.62 457856 1010820 8 15:19:49 Average: 217645 0 588678 31.29 2620 1072601 1074771 36.68 439564 1027457 11 15:19:49 15:19:49 15:13:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:19:49 15:14:01 eth0 0.73 0.19 0.14 0.04 0.00 0.00 0.00 0.00 15:19:49 15:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:15:01 eth0 1.35 0.42 0.32 0.21 0.00 0.00 0.00 0.00 15:19:49 15:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:16:01 eth0 1.20 0.38 0.35 0.17 0.00 0.00 0.00 0.00 15:19:49 15:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:17:01 eth0 0.53 0.42 0.27 0.24 0.00 0.00 0.00 0.00 15:19:49 15:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:18:01 eth0 0.87 0.22 0.20 0.07 0.00 0.00 0.00 0.00 15:19:49 15:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:19:01 eth0 1.10 0.35 0.32 0.20 0.00 0.00 0.00 0.00 15:19:49 15:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 Average: eth0 0.96 0.33 0.27 0.15 0.00 0.00 0.00 0.00 15:19:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:19:49 15:19:49 15:19:49 ---> sar -P ALL: 15:19:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/21/21 _x86_64_ (4 CPU) 15:19:49 15:19:49 15:11:49 LINUX RESTART (4 CPU) 15:19:49 15:19:49 15:13:02 CPU %user %nice %system %iowait %steal %idle 15:19:49 15:14:01 all 0.18 0.00 0.04 0.00 0.01 99.78 15:19:49 15:14:01 0 0.07 0.00 0.03 0.00 0.00 99.90 15:19:49 15:14:01 1 0.58 0.00 0.03 0.00 0.00 99.39 15:19:49 15:14:01 2 0.07 0.00 0.05 0.00 0.02 99.86 15:19:49 15:14:01 3 0.00 0.00 0.03 0.00 0.02 99.95 15:19:49 15:15:01 all 0.15 0.00 0.03 0.00 0.00 99.82 15:19:49 15:15:01 0 0.03 0.00 0.02 0.00 0.02 99.93 15:19:49 15:15:01 1 0.47 0.00 0.05 0.00 0.00 99.48 15:19:49 15:15:01 2 0.07 0.00 0.05 0.00 0.00 99.88 15:19:49 15:15:01 3 0.02 0.00 0.02 0.00 0.00 99.97 15:19:49 15:16:01 all 0.04 0.00 0.04 0.00 0.00 99.92 15:19:49 15:16:01 0 0.02 0.00 0.02 0.00 0.00 99.97 15:19:49 15:16:01 1 0.10 0.00 0.12 0.00 0.00 99.78 15:19:49 15:16:01 2 0.02 0.00 0.02 0.00 0.00 99.97 15:19:49 15:16:01 3 0.03 0.00 0.02 0.00 0.00 99.95 15:19:49 15:17:01 all 0.17 0.00 0.04 0.00 0.00 99.78 15:19:49 15:17:01 0 0.02 0.00 0.03 0.00 0.00 99.95 15:19:49 15:17:01 1 0.55 0.00 0.05 0.00 0.00 99.40 15:19:49 15:17:01 2 0.10 0.00 0.03 0.00 0.00 99.87 15:19:49 15:17:01 3 0.03 0.00 0.05 0.00 0.00 99.92 15:19:49 15:18:01 all 0.16 0.00 0.06 0.00 0.00 99.78 15:19:49 15:18:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:19:49 15:18:01 1 0.53 0.00 0.15 0.00 0.00 99.32 15:19:49 15:18:01 2 0.05 0.00 0.02 0.00 0.00 99.93 15:19:49 15:18:01 3 0.03 0.00 0.03 0.00 0.00 99.93 15:19:49 15:19:01 all 0.16 0.00 0.04 0.00 0.00 99.80 15:19:49 15:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 15:19:49 15:19:01 1 0.15 0.00 0.10 0.00 0.00 99.75 15:19:49 15:19:01 2 0.42 0.00 0.02 0.00 0.02 99.55 15:19:49 15:19:01 3 0.05 0.00 0.02 0.00 0.00 99.93 15:19:49 Average: all 0.14 0.00 0.04 0.00 0.00 99.81 15:19:49 Average: 0 0.03 0.00 0.03 0.00 0.00 99.94 15:19:49 Average: 1 0.40 0.00 0.08 0.00 0.00 99.52 15:19:49 Average: 2 0.12 0.00 0.03 0.00 0.01 99.84 15:19:49 Average: 3 0.03 0.00 0.03 0.00 0.00 99.94 15:19:49 15:19:49 15:19:49