Pull request #589 updated 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 5a26abff6e0745e41d43cf8ed766b4208d6ff012+e5100d529b58d0c19d0905c9fafb19f11d5acd53 (73449850eba5a67d8a23b9c67a5f27c948d87006) 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14948’ Running on prd-centos7-docker-4c-2g-14957 in /w/workspace/ndry_app-functions-sdk-go_PR-589 [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-589 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit 5a26abff6e0745e41d43cf8ed766b4208d6ff012 Merge succeeded, producing 5a26abff6e0745e41d43cf8ed766b4208d6ff012 Checking out Revision 5a26abff6e0745e41d43cf8ed766b4208d6ff012 (PR-589) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # 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 e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # timeout=10 Commit message: "feat(store-forward): Remove Mongo as supported DB option" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:13:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 2f1f67b2747ab087608525638f451ce7deb70c14 # timeout=10 22:13:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:13:30 ========================================================= 22:13:30 EdgeX Global Pipelines Version Info 22:13:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:13:32 ------------------- 22:13:32 stable info: 22:13:32 ------------------- 22:13:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:13:32 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 22:13:32 Message: update stable to v1.0.171 22:13:33 ------------------- 22:13:33 experimental info: 22:13:33 ------------------- 22:13:33 Commited By: **** collab-it+edgex@linuxfoundation.org 22:13:33 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 22:13:33 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:13:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:13:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:13:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:13:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-589 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-589 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-589 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a26abff6e0745e41d43cf8ed766b4208d6ff012 [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a26abf [Pipeline] echo 22:13:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:37 + git log --format=format:%s -1 5a26abff6e0745e41d43cf8ed766b4208d6ff012 [Pipeline] echo 22:13:37 GIT_COMMIT: 5a26abff6e0745e41d43cf8ed766b4208d6ff012, Commit Message: feat(store-forward): Remove Mongo as supported DB option [Pipeline] echo 22:13:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:13:38 22:13:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:13:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:13:39 latest: Pulling from edgex-devops/git-semver 22:13:39 31603596830f: Pulling fs layer 22:13:39 2a8b12db71e7: Pulling fs layer 22:13:39 6ca5941a6612: Pulling fs layer 22:13:39 ecc8261a40a4: Pulling fs layer 22:13:39 ecc8261a40a4: Waiting 22:13:39 2a8b12db71e7: Download complete 22:13:39 31603596830f: Verifying Checksum 22:13:39 31603596830f: Download complete 22:13:39 ecc8261a40a4: Verifying Checksum 22:13:39 ecc8261a40a4: Download complete 22:13:39 6ca5941a6612: Verifying Checksum 22:13:39 6ca5941a6612: Download complete 22:13:39 31603596830f: Pull complete 22:13:39 2a8b12db71e7: Pull complete 22:13:40 6ca5941a6612: Pull complete 22:13:40 ecc8261a40a4: Pull complete 22:13:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:13:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:13:41 prd-centos7-docker-4c-2g-14957 does not seem to be running inside a container 22:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-589 -v /w/workspace/ndry_app-functions-sdk-go_PR-589:/w/workspace/ndry_app-functions-sdk-go_PR-589:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-589@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:13:42 $ docker top 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:43 [ssh-agent] Looking for ssh-agent implementation... 22:13:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:43 $ docker exec 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 ssh-agent 22:13:43 SSH_AUTH_SOCK=/tmp/ssh-hvRrG2kSrE1g/agent.11 22:13:43 SSH_AGENT_PID=16 22:13:43 Running ssh-add (command line suppressed) 22:13:43 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/private_key_7115662228268080806.key (/w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/private_key_7115662228268080806.key) 22:13:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:44 + git tag --points-at HEAD [Pipeline] } 22:13:44 $ docker exec --env ******** --env ******** 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 ssh-agent -k 22:13:44 unset SSH_AUTH_SOCK; 22:13:44 unset SSH_AGENT_PID; 22:13:44 echo Agent pid 16 killed; 22:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:44 [ssh-agent] Looking for ssh-agent implementation... 22:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:44 $ docker exec 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 ssh-agent 22:13:44 SSH_AUTH_SOCK=/tmp/ssh-itlpD3pvo5DQ/agent.44 22:13:44 SSH_AGENT_PID=49 22:13:44 Running ssh-add (command line suppressed) 22:13:45 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/private_key_3703816000506950825.key (/w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/private_key_3703816000506950825.key) 22:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:45 + git semver init 22:13:45 # -> Open(): unable to determine branch for HEAD 22:13:45 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-589/.git 22:13:45 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-589 22:13:45 # $SEMVER_REMOTE_NAME = origin 22:13:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:13:45 # $SEMVER_USER_NAME = edgex-jenkins 22:13:45 # $SEMVER_BRANCH = PR-589 22:13:45 # $SEMVER_TEMP = /tmp/semver-037376067 22:13:45 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:13:48 # '/tmp/semver-037376067' -> '/w/workspace/ndry_app-functions-sdk-go_PR-589/.semver' 22:13:48 # -> Force: false 22:13:48 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-589/.semver [Pipeline] } 22:13:48 $ docker exec --env ******** --env ******** 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 ssh-agent -k 22:13:48 unset SSH_AUTH_SOCK; 22:13:48 unset SSH_AGENT_PID; 22:13:48 echo Agent pid 49 killed; 22:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:48 + git semver [Pipeline] } 22:13:48 $ docker stop --time=1 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 22:13:50 $ docker rm -f 793f5da8c1bc17e139f0a254d6cc6fd0bee0e341e55710b84d1c0a767c806749 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:13:51 Stashed 1 file(s) [Pipeline] echo 22:13:51 [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 22:14:06 Still waiting to schedule task 22:14:06 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14958’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ 22:14:06 Still waiting to schedule task 22:14:06 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 22:14:13 Running on prd-centos7-docker-4c-2g-14958 in /w/workspace/ndry_app-functions-sdk-go_PR-589 [Pipeline] { [Pipeline] ws 22:14:13 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:14:15 using credential edgex-jenkins-ssh 22:14:15 Cloning the remote Git repository 22:14:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:14:15 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 22:14:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:14:15 > git --version # timeout=10 22:14:15 > git --version # 'git version 2.24.3' 22:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:17 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit 5a26abff6e0745e41d43cf8ed766b4208d6ff012 22:14:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:14:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:14:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:14:17 Merge succeeded, producing 5a26abff6e0745e41d43cf8ed766b4208d6ff012 22:14:17 Checking out Revision 5a26abff6e0745e41d43cf8ed766b4208d6ff012 (PR-589) 22:14:17 > git config core.sparsecheckout # timeout=10 22:14:17 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # timeout=10 22:14:17 > git remote # timeout=10 22:14:17 > git config --get remote.origin.url # timeout=10 22:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:17 > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 22:14:17 > git rev-parse HEAD^{commit} # timeout=10 22:14:17 > git config core.sparsecheckout # timeout=10 22:14:17 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # timeout=10 22:14:21 Commit message: "feat(store-forward): Remove Mongo as supported DB option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:14:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:14:23 + sudo service docker restart 22:14:23 + true 22:14:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:14:24 ========================================================= 22:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:14:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:14:24 + 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 . 22:14:25 Sending build context to Docker daemon 19.17MB 22:14:25 Step 1/8 : ARG BASE=golang:1.15-alpine 22:14:25 Step 2/8 : FROM ${BASE} 22:14:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:14:25 188c0c94c7c5: Pulling fs layer 22:14:25 0ef7d3d256c8: Pulling fs layer 22:14:25 de9db76c5a1d: Pulling fs layer 22:14:25 bca2f99d35d6: Pulling fs layer 22:14:25 93359f2a8cfa: Pulling fs layer 22:14:25 7c6f9722023f: Pulling fs layer 22:14:25 a35cf1a2eb13: Pulling fs layer 22:14:25 bca2f99d35d6: Waiting 22:14:25 93359f2a8cfa: Waiting 22:14:25 7c6f9722023f: Waiting 22:14:25 a35cf1a2eb13: Waiting 22:14:25 de9db76c5a1d: Verifying Checksum 22:14:25 de9db76c5a1d: Download complete 22:14:25 0ef7d3d256c8: Download complete 22:14:25 93359f2a8cfa: Download complete 22:14:25 7c6f9722023f: Verifying Checksum 22:14:25 7c6f9722023f: Download complete 22:14:25 188c0c94c7c5: Verifying Checksum 22:14:25 188c0c94c7c5: Download complete 22:14:25 188c0c94c7c5: Pull complete 22:14:25 0ef7d3d256c8: Pull complete 22:14:26 de9db76c5a1d: Pull complete 22:14:28 a35cf1a2eb13: Verifying Checksum 22:14:28 a35cf1a2eb13: Download complete 22:14:28 bca2f99d35d6: Verifying Checksum 22:14:28 bca2f99d35d6: Download complete 22:14:33 bca2f99d35d6: Pull complete 22:14:33 93359f2a8cfa: Pull complete 22:14:33 7c6f9722023f: Pull complete 22:14:43 a35cf1a2eb13: Pull complete 22:14:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:14:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:14:43 ---> a62c8e92a672 22:14:43 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 22:14:43 latest: Pulling from library/docker 22:14:43 188c0c94c7c5: Already exists 22:14:43 0c7c675703d6: Pulling fs layer 22:14:43 cc8c12a437cb: Pulling fs layer 22:14:43 f092543453df: Pulling fs layer 22:14:43 65b6bc45957d: Pulling fs layer 22:14:43 4de832df471b: Pulling fs layer 22:14:43 79aa7fa92271: Pulling fs layer 22:14:43 65b6bc45957d: Waiting 22:14:43 4de832df471b: Waiting 22:14:43 79aa7fa92271: Waiting 22:14:43 cc8c12a437cb: Verifying Checksum 22:14:43 cc8c12a437cb: Download complete 22:14:43 65b6bc45957d: Download complete 22:14:43 0c7c675703d6: Verifying Checksum 22:14:43 0c7c675703d6: Download complete 22:14:43 4de832df471b: Verifying Checksum 22:14:43 4de832df471b: Download complete 22:14:43 79aa7fa92271: Verifying Checksum 22:14:43 79aa7fa92271: Download complete 22:14:43 0c7c675703d6: Pull complete 22:14:43 cc8c12a437cb: Pull complete 22:14:43 f092543453df: Verifying Checksum 22:14:43 f092543453df: Download complete 22:14:45 f092543453df: Pull complete 22:14:45 65b6bc45957d: Pull complete 22:14:46 4de832df471b: Pull complete 22:14:46 79aa7fa92271: Pull complete 22:14:46 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 22:14:46 Status: Downloaded newer image for docker:latest 22:14:47 ---> 6df107fd0889 22:14:47 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:14:47 ---> Running in d44c2789790c 22:14:47 Removing intermediate container d44c2789790c 22:14:47 ---> 25663d4b75bb 22:14:47 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:14:47 ---> Running in 7bb48d84ba7a 22:14:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:14:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:14:49 (1/5) Installing libsodium (1.0.18-r0) 22:14:49 (2/5) Installing libzmq (4.3.3-r0) 22:14:49 (3/5) Installing pkgconf (1.7.2-r0) 22:14:49 (4/5) Installing libsodium-dev (1.0.18-r0) 22:14:50 (5/5) Installing zeromq-dev (4.3.3-r0) 22:14:50 Executing busybox-1.31.1-r19.trigger 22:14:50 OK: 167 MiB in 44 packages 22:14:51 Removing intermediate container 7bb48d84ba7a 22:14:51 ---> d7fd4bf55ce2 22:14:51 Step 6/8 : WORKDIR /build 22:14:51 ---> Running in 612dff639dfc 22:14:51 Removing intermediate container 612dff639dfc 22:14:51 ---> 82dafb5b2cf1 22:14:51 Step 7/8 : COPY go.mod . 22:14:51 ---> 7f74c15a88c5 22:14:51 Step 8/8 : RUN go mod download 22:14:51 ---> Running in 440518d7c01a 22:15:13 Removing intermediate container 440518d7c01a 22:15:13 ---> c485e0b10e0c 22:15:13 Successfully built c485e0b10e0c 22:15:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:15:13 + docker inspect -f . ci-base-image-x86_64 22:15:13 . [Pipeline] withDockerContainer 22:15:13 prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container 22:15:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:15:14 $ docker top a4c2ef6787c1b8b7b735b04f2821ce17625e92e288d7ce7870b2ec0eec997859 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:15 + go version 22:15:15 go version go1.15.5 linux/amd64 [Pipeline] } 22:15:15 $ docker stop --time=1 a4c2ef6787c1b8b7b735b04f2821ce17625e92e288d7ce7870b2ec0eec997859 22:15:16 $ docker rm -f a4c2ef6787c1b8b7b735b04f2821ce17625e92e288d7ce7870b2ec0eec997859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:15:17 + docker inspect -f . ci-base-image-x86_64 22:15:17 . [Pipeline] withDockerContainer 22:15:17 prd-centos7-docker-4c-2g-14958 does not seem to be running inside a container 22:15:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:15:18 $ docker top b917adf352bb3e6813f528f23c4fcbc1081f941a44c29f668ca1d31f831af6c7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:18 + make test 22:15:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:15:20 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:15:27 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.024s coverage: 86.2% of statements 22:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.023s coverage: 52.0% of statements 22:15:37 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:15:37 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.021s coverage: 54.7% of statements 22:15:37 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:15:37 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.023s coverage: 69.1% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.426s coverage: 61.6% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.008s coverage: 89.5% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.012s coverage: 8.8% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.919s coverage: 75.0% of statements 22:15:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.010s coverage: 80.5% of statements 22:15:52 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements 22:15:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14959 in /w/workspace/ndry_app-functions-sdk-go_PR-589 [Pipeline] { [Pipeline] ws 22:15:57 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:16:02 using credential edgex-jenkins-ssh 22:16:02 Cloning the remote Git repository 22:16:02 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:16:02 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 22:16:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:16:02 > git --version # timeout=10 22:16:02 > git --version # 'git version 2.17.1' 22:16:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:16:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:05 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:16:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:16:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:16:06 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit 5a26abff6e0745e41d43cf8ed766b4208d6ff012 22:16:06 Merge succeeded, producing 5a26abff6e0745e41d43cf8ed766b4208d6ff012 22:16:06 Checking out Revision 5a26abff6e0745e41d43cf8ed766b4208d6ff012 (PR-589) 22:16:07 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.032s coverage: 71.0% of statements 22:16:07 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 22:16:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:16:06 > git config core.sparsecheckout # timeout=10 22:16:06 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # timeout=10 22:16:06 > git remote # timeout=10 22:16:06 > git config --get remote.origin.url # timeout=10 22:16:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:06 > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 22:16:06 > git rev-parse HEAD^{commit} # timeout=10 22:16:06 > git config core.sparsecheckout # timeout=10 22:16:06 > git checkout -f 5a26abff6e0745e41d43cf8ed766b4208d6ff012 # timeout=10 22:16:09 gofmt -l . 22:16:09 [ "`gofmt -l .`" = "" ] 22:16:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:16:10 $ docker stop --time=1 b917adf352bb3e6813f528f23c4fcbc1081f941a44c29f668ca1d31f831af6c7 22:16:11 Commit message: "feat(store-forward): Remove Mongo as supported DB option" 22:16:12 $ docker rm -f b917adf352bb3e6813f528f23c4fcbc1081f941a44c29f668ca1d31f831af6c7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 22:16:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh 22:16:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:16:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 22:16:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 22:16:15 + true 22:16:15 + sudo service docker restart [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo 22:16:18 ========================================================= 22:16:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:16:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:16:18 + 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 . 22:16:19 Sending build context to Docker daemon 19.16MB 22:16:20 Step 1/8 : ARG BASE=golang:1.15-alpine 22:16:20 Step 2/8 : FROM ${BASE} 22:16:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:20 5f621e34cdf4: Pulling fs layer 22:16:20 a4357932f1b6: Pulling fs layer 22:16:20 18c013af1878: Pulling fs layer 22:16:20 00ac8860ef70: Pulling fs layer 22:16:20 63d7cb157983: Pulling fs layer 22:16:20 b116817d02f9: Pulling fs layer 22:16:20 745a02a5169b: Pulling fs layer 22:16:20 63d7cb157983: Waiting 22:16:20 b116817d02f9: Waiting 22:16:20 745a02a5169b: Waiting 22:16:20 00ac8860ef70: Waiting 22:16:20 18c013af1878: Verifying Checksum 22:16:20 18c013af1878: Download complete 22:16:20 a4357932f1b6: Verifying Checksum 22:16:20 a4357932f1b6: Download complete 22:16:20 63d7cb157983: Verifying Checksum 22:16:20 63d7cb157983: Download complete 22:16:20 b116817d02f9: Download complete 22:16:20 5f621e34cdf4: Verifying Checksum 22:16:20 5f621e34cdf4: Download complete 22:16:21 5f621e34cdf4: Pull complete 22:16:21 a4357932f1b6: Pull complete 22:16:22 18c013af1878: Pull complete 22:16:22 745a02a5169b: Verifying Checksum 22:16:22 745a02a5169b: Download complete 22:16:24 00ac8860ef70: Download complete 22:16:34 00ac8860ef70: Pull complete 22:16:34 63d7cb157983: Pull complete 22:16:34 b116817d02f9: Pull complete 22:16:37 745a02a5169b: Pull complete 22:16:37 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:16:37 ---> b7e6874047d6 22:16:37 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 22:16:38 latest: Pulling from library/docker 22:16:38 5f621e34cdf4: Already exists 22:16:38 85db56a05063: Pulling fs layer 22:16:38 ccb67d6aeaaa: Pulling fs layer 22:16:38 de930078acea: Pulling fs layer 22:16:38 d5a9d88a4785: Pulling fs layer 22:16:38 e7f15c1544d5: Pulling fs layer 22:16:38 877c515997d3: Pulling fs layer 22:16:38 d5a9d88a4785: Waiting 22:16:38 e7f15c1544d5: Waiting 22:16:38 877c515997d3: Waiting 22:16:38 ccb67d6aeaaa: Verifying Checksum 22:16:38 ccb67d6aeaaa: Download complete 22:16:38 d5a9d88a4785: Verifying Checksum 22:16:38 d5a9d88a4785: Download complete 22:16:38 e7f15c1544d5: Download complete 22:16:38 85db56a05063: Download complete 22:16:38 877c515997d3: Verifying Checksum 22:16:38 877c515997d3: Download complete 22:16:39 85db56a05063: Pull complete 22:16:39 ccb67d6aeaaa: Pull complete 22:16:39 de930078acea: Verifying Checksum 22:16:39 de930078acea: Download complete 22:16:43 de930078acea: Pull complete 22:16:43 d5a9d88a4785: Pull complete 22:16:43 e7f15c1544d5: Pull complete 22:16:43 877c515997d3: Pull complete 22:16:44 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 22:16:44 Status: Downloaded newer image for docker:latest 22:16:50 ---> 914550cedc48 22:16:50 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:16:50 ---> Running in 943b200bee86 22:16:50 Removing intermediate container 943b200bee86 22:16:50 ---> 2d6f29fc2456 22:16:50 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:16:50 ---> Running in 41184e9a3cf6 22:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:16:53 (1/5) Installing libsodium (1.0.18-r0) 22:16:53 (2/5) Installing libzmq (4.3.3-r0) 22:16:54 (3/5) Installing pkgconf (1.7.2-r0) 22:16:54 (4/5) Installing libsodium-dev (1.0.18-r0) 22:16:54 (5/5) Installing zeromq-dev (4.3.3-r0) 22:16:54 Executing busybox-1.31.1-r19.trigger 22:16:54 OK: 144 MiB in 44 packages 22:16:55 Removing intermediate container 41184e9a3cf6 22:16:55 ---> 96118b8c91cd 22:16:55 Step 6/8 : WORKDIR /build 22:16:55 ---> Running in c9068c6e4dab 22:16:56 Removing intermediate container c9068c6e4dab 22:16:56 ---> a652e330c4ba 22:16:56 Step 7/8 : COPY go.mod . 22:16:57 ---> 7adef5a768aa 22:16:57 Step 8/8 : RUN go mod download 22:16:57 ---> Running in 9127bbb6db75 22:17:23 Removing intermediate container 9127bbb6db75 22:17:23 ---> b1178b0b2cea 22:17:23 Successfully built b1178b0b2cea 22:17:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:17:24 + docker inspect -f . ci-base-image-arm64 22:17:24 . [Pipeline] withDockerContainer 22:17:24 prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container 22:17:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:17:26 $ docker top eacbebaac6bee1a0e0c75cf16ce7dfe24df8ebf2e829a00e564aa47c33e76726 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:27 + go version 22:17:27 go version go1.15.5 linux/arm64 [Pipeline] } 22:17:27 $ docker stop --time=1 eacbebaac6bee1a0e0c75cf16ce7dfe24df8ebf2e829a00e564aa47c33e76726 22:17:29 $ docker rm -f eacbebaac6bee1a0e0c75cf16ce7dfe24df8ebf2e829a00e564aa47c33e76726 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:17:30 + docker inspect -f . ci-base-image-arm64 22:17:30 . [Pipeline] withDockerContainer 22:17:30 prd-ubuntu18.04-docker-arm64-4c-16g-14959 does not seem to be running inside a container 22:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:17:32 $ docker top 6f8e1d1eb71af1c78a4e291f4255ad0961adb9e85cf3a9e659339db4ef4ec850 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:33 + make test 22:17:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:17:34 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:17:56 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.032s coverage: 86.2% of statements 22:18:23 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.057s coverage: 52.0% of statements 22:18:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:18:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:18:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.090s coverage: 54.7% of statements 22:18:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:18:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.058s coverage: 69.1% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.447s coverage: 61.6% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.033s coverage: 100.0% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:18:33 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:18:33 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements 22:18:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.970s coverage: 75.0% of statements 22:18:34 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 22:18:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.041s coverage: 89.7% of statements 22:18:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements 22:18:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.034s coverage: 80.5% of statements 22:18:34 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 22:19:00 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 71.0% of statements 22:19:00 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements 22:19:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:19:09 gofmt -l . 22:19:09 [ "`gofmt -l .`" = "" ] 22:19:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:19:09 $ docker stop --time=1 6f8e1d1eb71af1c78a4e291f4255ad0961adb9e85cf3a9e659339db4ef4ec850 22:19:11 $ docker rm -f 6f8e1d1eb71af1c78a4e291f4255ad0961adb9e85cf3a9e659339db4ef4ec850 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:12 Warning: overwriting stash ‘coverage-report’ 22: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 22:19:15 provisioning config files... 22:19:15 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/config7047813839626700846tmp [Pipeline] { [Pipeline] sh 22:19:15 + set +x 22:19:15 + curl -s https://codecov.io/bash 22:19:15 + bash -s -- 22:19:16 22:19:16 _____ _ 22:19:16 / ____| | | 22:19:16 | | ___ __| | ___ ___ _____ __ 22:19:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:19:16 | |___| (_) | (_| | __/ (_| (_) \ V / 22:19:16 \_____\___/ \__,_|\___|\___\___/ \_/ 22:19:16 Bash-20201130-cc6d3fe 22:19:16 22:19:16 22:19:16 ==> Jenkins CI detected. 22:19:16 project root: . 22:19:16 --> token set from env 22:19:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:19:16 ==> Running gcov in . (disable via -X gcov) 22:19:16 ==> Python coveragepy not found 22:19:16 ==> Searching for coverage reports in: 22:19:16 + . 22:19:16 -> Found 1 reports 22:19:16 ==> Detecting git/mercurial file structure 22:19:16 ==> Reading reports 22:19:16 + ./coverage.out bytes=89248 22:19:16 ==> Appending adjustments 22:19:16 https://docs.codecov.io/docs/fixing-reports 22:19:16 + Found adjustments 22:19:16 ==> Gzipping contents 22:19:16 16K /tmp/codecov.9L2jwF.gz 22:19:16 ==> Uploading reports 22:19:16 url: https://codecov.io 22:19:16 query: branch=PR-589&commit=5a26abff6e0745e41d43cf8ed766b4208d6ff012&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-589%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=589&job=&cmd_args= 22:19:16 -> Pinging Codecov 22:19:16 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-589&commit=5a26abff6e0745e41d43cf8ed766b4208d6ff012&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-589%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=589&job=&cmd_args= 22:19:17 -> Uploading to 22:19:17 https://storage.googleapis.com/codecov/v4/raw/2020-12-07/3D8B5DFFC46A037C893635FACE044666/5a26abff6e0745e41d43cf8ed766b4208d6ff012/b4d9ba05-a1c5-4313-9670-2ab7f2215c03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201207T221917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b8d3f0f086386428a4815fabb6a0f6d8da737c02149c4ef3f3559a676276fc2 22:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:19:17 Dload Upload Total Spent Left Speed 22:19:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15638 0 0 100 15638 0 35894 --:--:-- --:--:-- --:--:-- 35949 22:19:17 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5a26abff6e0745e41d43cf8ed766b4208d6ff012 [Pipeline] } 22: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 22:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:19:20 ---> package-listing.sh 22:19:20 ++ facter osfamily 22:19:20 ++ tr '[:upper:]' '[:lower:]' 22:19:20 + OS_FAMILY=redhat 22:19:20 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-589 22:19:20 + START_PACKAGES=/tmp/packages_start.txt 22:19:20 + END_PACKAGES=/tmp/packages_end.txt 22:19:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:19:20 + PACKAGES=/tmp/packages_start.txt 22:19:20 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-589 ']' 22:19:20 + PACKAGES=/tmp/packages_end.txt 22:19:20 + case "${OS_FAMILY}" in 22:19:20 + rpm -qa 22:19:20 + sort 22:19:25 + '[' -f /tmp/packages_start.txt ']' 22:19:25 + '[' -f /tmp/packages_end.txt ']' 22:19:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:19:25 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-589 ']' 22:19:25 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-589/archives/ 22:19:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-589/archives/ [Pipeline] echo 22:19:25 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-589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:19:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:19:26 22:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:19:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:19:26 alpine: Pulling from edgex-lftools-log-publisher 22:19:26 df20fa9351a1: Pulling fs layer 22:19:26 36b3adc4ff6f: Pulling fs layer 22:19:26 8ad3a11d3b57: Pulling fs layer 22:19:26 46f8f816bc3b: Pulling fs layer 22:19:26 93b61091891f: Pulling fs layer 22:19:26 93b9cdb0e59b: Pulling fs layer 22:19:26 5e14af77c1be: Pulling fs layer 22:19:26 01666e4c0597: Pulling fs layer 22:19:26 aa168da1d23b: Pulling fs layer 22:19:26 01666e4c0597: Waiting 22:19:26 93b9cdb0e59b: Waiting 22:19:26 5e14af77c1be: Waiting 22:19:26 aa168da1d23b: Waiting 22:19:26 93b61091891f: Waiting 22:19:26 46f8f816bc3b: Waiting 22:19:26 36b3adc4ff6f: Download complete 22:19:26 46f8f816bc3b: Verifying Checksum 22:19:26 46f8f816bc3b: Download complete 22:19:27 df20fa9351a1: Verifying Checksum 22:19:27 93b9cdb0e59b: Verifying Checksum 22:19:27 93b9cdb0e59b: Download complete 22:19:27 5e14af77c1be: Verifying Checksum 22:19:27 5e14af77c1be: Download complete 22:19:27 93b61091891f: Verifying Checksum 22:19:27 93b61091891f: Download complete 22:19:27 01666e4c0597: Verifying Checksum 22:19:27 01666e4c0597: Download complete 22:19:27 df20fa9351a1: Pull complete 22:19:27 36b3adc4ff6f: Pull complete 22:19:27 8ad3a11d3b57: Verifying Checksum 22:19:27 8ad3a11d3b57: Download complete 22:19:28 8ad3a11d3b57: Pull complete 22:19:28 46f8f816bc3b: Pull complete 22:19:29 93b61091891f: Pull complete 22:19:29 93b9cdb0e59b: Pull complete 22:19:29 5e14af77c1be: Pull complete 22:19:29 aa168da1d23b: Verifying Checksum 22:19:29 aa168da1d23b: Download complete 22:19:29 01666e4c0597: Pull complete 22:19:36 aa168da1d23b: Pull complete 22:19:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:19:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:19:36 prd-centos7-docker-4c-2g-14957 does not seem to be running inside a container 22:19:36 $ 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-589/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-589 -v /w/workspace/ndry_app-functions-sdk-go_PR-589:/w/workspace/ndry_app-functions-sdk-go_PR-589:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-589@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-589@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:10003/edgex-lftools-log-publisher:alpine cat 22:19:39 $ docker top 147b42d35aef97901b60bc9c200e7f840a28b87948f79c9cfa7b7e8ac3a4add5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:40 + touch /tmp/pre-build-complete [Pipeline] sh 22:19:40 + mkdir -p /var/log/sa [Pipeline] sh 22:19:40 + ls /var/log/sa-host 22:19:40 + sadf -c /var/log/sa-host/sa07 22:19:40 file_magic: OK 22:19:40 HZ: Using current value: 100 22:19:40 file_header: OK 22:19:40 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 22:19:40 Statistics: 22:19:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:19:40 File successfully converted to sysstat format version 12.2.1 22:19:40 + sadf -c /var/log/sa-host/sa23 22:19:40 file_magic: OK 22:19:40 HZ: Using current value: 100 22:19:40 file_header: OK 22:19:40 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 22:19:40 Statistics: 22:19:40 Hnuu...uuuununununu... 22:19:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:41 provisioning config files... 22:19:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-589@tmp/config6002607846562485250tmp [Pipeline] { [Pipeline] echo 22:19:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:41 ---> create-netrc.sh [Pipeline] } 22:19:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:19:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:19:41 ---> python-tools-install.sh [Pipeline] echo 22:19:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:19:42 ---> sudo-logs.sh 22:19:42 Archiving 'sudo' log.. [Pipeline] echo 22:19:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:19:42 ---> job-cost.sh 22:19:42 lf-activate-venv: SKIPPING 22:19:42 INFO: No Stack... 22:19:43 INFO: Retrieving Pricing Info for: v1-standard-2 22:19:44 INFO: Archiving Costs [Pipeline] echo 22:19:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:19:44 ---> logs-deploy.sh 22:19:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-589/3 22:19:44 INFO: archiving workspace using pattern(s): 22:19:45 Archives upload complete. 22:19:46 INFO: archiving logs to Nexus 22:19:46 ---> uname -a: 22:19:46 Linux prd-centos7-docker-4c-2g-14957.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:19:46 22:19:46 22:19:46 ---> lscpu: 22:19:46 Architecture: x86_64 22:19:46 CPU op-mode(s): 32-bit, 64-bit 22:19:46 Byte Order: Little Endian 22:19:46 Address sizes: 40 bits physical, 48 bits virtual 22:19:46 CPU(s): 4 22:19:46 On-line CPU(s) list: 0-3 22:19:46 Thread(s) per core: 1 22:19:46 Core(s) per socket: 1 22:19:46 Socket(s): 4 22:19:46 NUMA node(s): 1 22:19:46 Vendor ID: GenuineIntel 22:19:46 CPU family: 6 22:19:46 Model: 44 22:19:46 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:19:46 Stepping: 1 22:19:46 CPU MHz: 2933.442 22:19:46 BogoMIPS: 5866.88 22:19:46 Virtualization: VT-x 22:19:46 Hypervisor vendor: KVM 22:19:46 Virtualization type: full 22:19:46 L1d cache: 128 KiB 22:19:46 L1i cache: 128 KiB 22:19:46 L2 cache: 16 MiB 22:19:46 L3 cache: 64 MiB 22:19:46 NUMA node0 CPU(s): 0-3 22:19:46 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:19:46 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:19:46 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:19:46 Vulnerability Meltdown: Mitigation; PTI 22:19:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:19:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:19:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:19:46 Vulnerability Srbds: Not affected 22:19:46 Vulnerability Tsx async abort: Not affected 22:19:46 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 22:19:46 22:19:46 22:19:46 ---> nproc: 22:19:46 4 22:19:46 22:19:46 22:19:46 ---> df -h: 22:19:46 Filesystem Size Used Available Use% Mounted on 22:19:46 overlay 50.0G 7.3G 42.7G 15% / 22:19:46 tmpfs 64.0M 0 64.0M 0% /dev 22:19:46 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:19:46 shm 64.0M 0 64.0M 0% /dev/shm 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-589 22:19:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-589@tmp 22:19:46 22:19:46 22:19:46 ---> free -m: 22:19:46 total used free shared buff/cache available 22:19:46 Mem: 1837 727 104 0 1005 1005 22:19:46 Swap: 1023 1 1022 22:19:46 22:19:46 22:19:46 ---> ip addr: 22:19:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:19:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:19:46 inet 127.0.0.1/8 scope host lo 22:19:46 valid_lft forever preferred_lft forever 22:19:46 inet6 ::1/128 scope host 22:19:46 valid_lft forever preferred_lft forever 22:19:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:19:46 link/ether fa:16:3e:6f:84:00 brd ff:ff:ff:ff:ff:ff 22:19:46 inet 10.30.123.129/23 brd 10.30.123.255 scope global dynamic eth0 22:19:46 valid_lft 85991sec preferred_lft 85991sec 22:19:46 inet6 fe80::f816:3eff:fe6f:8400/64 scope link 22:19:46 valid_lft forever preferred_lft forever 22:19:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:19:46 link/ether 02:42:15:73:0f:8b brd ff:ff:ff:ff:ff:ff 22:19:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:19:46 valid_lft forever preferred_lft forever 22:19:46 inet6 fe80::42:15ff:fe73:f8b/64 scope link 22:19:46 valid_lft forever preferred_lft forever 22:19:46 22:19:46 22:19:46 ---> sar -b -r -n DEV: 22:19:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 22:19:46 22:19:46 22:12:47 LINUX RESTART (4 CPU) 22:19:46 22:19:46 22:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:19:46 22:15:01 2.66 0.00 2.66 0.00 0.00 61.44 0.00 22:19:46 22:16:01 0.47 0.00 0.47 0.00 0.00 6.16 0.00 22:19:46 22:17:01 0.30 0.00 0.30 0.00 0.00 3.65 0.00 22:19:46 22:18:01 0.53 0.00 0.53 0.00 0.00 6.75 0.00 22:19:46 22:19:01 0.37 0.00 0.37 0.00 0.00 5.68 0.00 22:19:46 Average: 0.87 0.00 0.87 0.00 0.00 16.74 0.00 22:19:46 22:19:46 22:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:19:46 22:15:01 223020 0 623208 33.12 2620 1032696 1110352 37.89 424320 1036976 20 22:19:46 22:16:01 226548 0 619676 32.93 2620 1032700 1080132 36.86 419244 1039084 20 22:19:46 22:17:01 225428 0 620788 32.99 2620 1032708 1079976 36.86 432128 1027088 8 22:19:46 22:18:01 225688 0 620528 32.98 2620 1032708 1079976 36.86 428504 1030712 16 22:19:46 22:19:01 223604 0 622604 33.09 2620 1032716 1080048 36.86 435036 1026412 8 22:19:46 Average: 224858 0 621361 33.02 2620 1032706 1086097 37.07 427846 1032054 14 22:19:46 22:19:46 22:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:19:46 22:15:01 eth0 0.95 0.50 0.30 0.21 0.00 0.00 0.00 0.00 22:19:46 22:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:16:01 eth0 0.67 0.45 0.29 0.12 0.00 0.00 0.00 0.00 22:19:46 22:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:17:01 eth0 0.12 0.10 0.01 0.10 0.00 0.00 0.00 0.00 22:19:46 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:18:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:19:46 22:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:19:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 22:19:46 22:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 Average: eth0 0.41 0.26 0.14 0.10 0.00 0.00 0.00 0.00 22:19:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:19:46 22:19:46 22:19:46 ---> sar -P ALL: 22:19:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 22:19:46 22:19:46 22:12:47 LINUX RESTART (4 CPU) 22:19:46 22:19:46 22:14:01 CPU %user %nice %system %iowait %steal %idle 22:19:46 22:15:01 all 0.18 0.00 0.07 0.00 0.00 99.75 22:19:46 22:15:01 0 0.05 0.00 0.05 0.00 0.00 99.90 22:19:46 22:15:01 1 0.05 0.00 0.07 0.00 0.00 99.88 22:19:46 22:15:01 2 0.55 0.00 0.08 0.00 0.00 99.37 22:19:46 22:15:01 3 0.07 0.00 0.08 0.00 0.00 99.85 22:19:46 22:16:01 all 0.20 0.00 0.20 0.00 0.00 99.59 22:19:46 22:16:01 0 0.07 0.00 0.33 0.00 0.00 99.60 22:19:46 22:16:01 1 0.10 0.00 0.13 0.00 0.02 99.75 22:19:46 22:16:01 2 0.55 0.00 0.20 0.00 0.00 99.25 22:19:46 22:16:01 3 0.08 0.00 0.15 0.00 0.00 99.77 22:19:46 22:17:01 all 0.15 0.00 0.03 0.00 0.00 99.82 22:19:46 22:17:01 0 0.03 0.00 0.02 0.00 0.00 99.95 22:19:46 22:17:01 1 0.03 0.00 0.03 0.00 0.00 99.93 22:19:46 22:17:01 2 0.52 0.00 0.08 0.00 0.00 99.40 22:19:46 22:17:01 3 0.00 0.00 0.00 0.00 0.00 100.00 22:19:46 22:18:01 all 0.15 0.00 0.04 0.00 0.00 99.81 22:19:46 22:18:01 0 0.07 0.00 0.10 0.00 0.00 99.83 22:19:46 22:18:01 1 0.28 0.00 0.02 0.00 0.00 99.70 22:19:46 22:18:01 2 0.07 0.00 0.03 0.00 0.00 99.90 22:19:46 22:18:01 3 0.17 0.00 0.02 0.00 0.00 99.82 22:19:46 22:19:01 all 0.15 0.00 0.03 0.00 0.00 99.82 22:19:46 22:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:19:46 22:19:01 1 0.03 0.00 0.03 0.00 0.00 99.93 22:19:46 22:19:01 2 0.50 0.00 0.05 0.00 0.00 99.45 22:19:46 22:19:01 3 0.03 0.00 0.03 0.00 0.00 99.93 22:19:46 Average: all 0.16 0.00 0.08 0.00 0.00 99.76 22:19:46 Average: 0 0.05 0.00 0.10 0.00 0.00 99.85 22:19:46 Average: 1 0.10 0.00 0.06 0.00 0.00 99.84 22:19:46 Average: 2 0.44 0.00 0.09 0.00 0.00 99.47 22:19:46 Average: 3 0.07 0.00 0.06 0.00 0.00 99.87 22:19:46 22:19:46 22:19:46