Pull request #587 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 AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at e5100d529b58d0c19d0905c9fafb19f11d5acd53 rather than cebda27dbbbe00994d9e59a713edc86daf18d80f Obtained Jenkinsfile from e5100d529b58d0c19d0905c9fafb19f11d5acd53 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-14707’ Running on prd-centos7-docker-4c-2g-14731 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-587 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f > 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/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) > 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 cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 Commit message: "feat(sdk): Enable Custom Trigger Registration" First time build. Skipping changelog. > git rev-list --no-walk 0a8f667e5147b88d5be680ea23d57e843ef5ca93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:38:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:38:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:38:32 ========================================================= 20:38:32 EdgeX Global Pipelines Version Info 20:38:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:38:34 ------------------- 20:38:34 stable info: 20:38:34 ------------------- 20:38:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:38:34 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 20:38:34 Message: update stable to v1.0.169 20:38:35 ------------------- 20:38:35 experimental info: 20:38:35 ------------------- 20:38:35 Commited By: **** collab-it+edgex@linuxfoundation.org 20:38:35 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 20:38:35 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:38:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:38:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 20:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 20:38:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 20:38:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] echo 20:38:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cebda27 [Pipeline] echo 20:38:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:39 + git log --format=format:%s -1 cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] echo 20:38:39 GIT_COMMIT: cebda27dbbbe00994d9e59a713edc86daf18d80f, Commit Message: feat(sdk): Enable Custom Trigger Registration [Pipeline] echo 20:38:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:40 20:38:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:38:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:40 latest: Pulling from edgex-devops/git-semver 20:38:40 31603596830f: Pulling fs layer 20:38:40 2a8b12db71e7: Pulling fs layer 20:38:40 6ca5941a6612: Pulling fs layer 20:38:40 ecc8261a40a4: Pulling fs layer 20:38:40 ecc8261a40a4: Waiting 20:38:40 2a8b12db71e7: Verifying Checksum 20:38:40 2a8b12db71e7: Download complete 20:38:40 31603596830f: Verifying Checksum 20:38:40 31603596830f: Download complete 20:38:40 6ca5941a6612: Verifying Checksum 20:38:40 6ca5941a6612: Download complete 20:38:40 31603596830f: Pull complete 20:38:40 ecc8261a40a4: Verifying Checksum 20:38:40 ecc8261a40a4: Download complete 20:38:40 2a8b12db71e7: Pull complete 20:38:41 6ca5941a6612: Pull complete 20:38:42 ecc8261a40a4: Pull complete 20:38:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:38:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:38:42 prd-centos7-docker-4c-2g-14731 does not seem to be running inside a container 20:38:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:38:44 $ docker top f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:38:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:44 [ssh-agent] Looking for ssh-agent implementation... 20:38:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:44 $ docker exec f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent 20:38:45 SSH_AUTH_SOCK=/tmp/ssh-5o3Sa0ibVXet/agent.11 20:38:45 SSH_AGENT_PID=16 20:38:45 Running ssh-add (command line suppressed) 20:38:45 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7159937184351758355.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7159937184351758355.key) 20:38:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:45 + git tag --points-at HEAD [Pipeline] } 20:38:45 $ docker exec --env ******** --env ******** f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent -k 20:38:45 unset SSH_AUTH_SOCK; 20:38:45 unset SSH_AGENT_PID; 20:38:45 echo Agent pid 16 killed; 20:38:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:45 [ssh-agent] Looking for ssh-agent implementation... 20:38:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:46 $ docker exec f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent 20:38:46 SSH_AUTH_SOCK=/tmp/ssh-qjGK3W0nexuo/agent.44 20:38:46 SSH_AGENT_PID=49 20:38:46 Running ssh-add (command line suppressed) 20:38:46 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2155841850233535925.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2155841850233535925.key) 20:38:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:46 + git semver init 20:38:46 # -> Open(): unable to determine branch for HEAD 20:38:46 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.git 20:38:46 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-587 20:38:46 # $SEMVER_REMOTE_NAME = origin 20:38:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:38:46 # $SEMVER_USER_NAME = edgex-jenkins 20:38:46 # $SEMVER_BRANCH = PR-587 20:38:46 # $SEMVER_TEMP = /tmp/semver-414121502 20:38:46 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:38:49 # '/tmp/semver-414121502' -> '/w/workspace/ndry_app-functions-sdk-go_PR-587/.semver' 20:38:49 # -> Force: false 20:38:49 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.semver [Pipeline] } 20:38:49 $ docker exec --env ******** --env ******** f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent -k 20:38:49 unset SSH_AUTH_SOCK; 20:38:49 unset SSH_AGENT_PID; 20:38:49 echo Agent pid 49 killed; 20:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:38:50 + git semver [Pipeline] } 20:38:50 $ docker stop --time=1 f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 20:38:51 $ docker rm -f f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 [Pipeline] // withDockerContainer [Pipeline] sh 20:38:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:38:52 Stashed 1 file(s) [Pipeline] echo 20:38:52 [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 20:39:07 Running on prd-centos7-docker-4c-2g-14732 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 20:39:07 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:39:08 Still waiting to schedule task 20:39:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:39:10 using credential edgex-jenkins-ssh 20:39:10 Cloning the remote Git repository 20:39:10 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:39:10 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 20:39:10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:39:10 > git --version # timeout=10 20:39:10 > git --version # 'git version 2.24.3' 20:39:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:12 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f 20:39:12 Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f 20:39:12 Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) 20:39:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:39:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:39:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:39:12 > git config core.sparsecheckout # timeout=10 20:39:12 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 20:39:12 > git remote # timeout=10 20:39:12 > git config --get remote.origin.url # timeout=10 20:39:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:12 > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 20:39:12 > git rev-parse HEAD^{commit} # timeout=10 20:39:12 > git config core.sparsecheckout # timeout=10 20:39:12 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 20:39:16 Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:39:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:39:18 + sudo service docker restart 20:39:18 + true 20:39:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 20:39:19 ========================================================= 20:39:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:39:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:39:19 + 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 . 20:39:20 Sending build context to Docker daemon 19.22MB 20:39:20 Step 1/8 : ARG BASE=golang:1.15-alpine 20:39:20 Step 2/8 : FROM ${BASE} 20:39:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:20 188c0c94c7c5: Pulling fs layer 20:39:20 0ef7d3d256c8: Pulling fs layer 20:39:20 de9db76c5a1d: Pulling fs layer 20:39:20 bca2f99d35d6: Pulling fs layer 20:39:20 93359f2a8cfa: Pulling fs layer 20:39:20 7c6f9722023f: Pulling fs layer 20:39:20 a35cf1a2eb13: Pulling fs layer 20:39:20 bca2f99d35d6: Waiting 20:39:20 93359f2a8cfa: Waiting 20:39:20 a35cf1a2eb13: Waiting 20:39:20 7c6f9722023f: Waiting 20:39:20 de9db76c5a1d: Verifying Checksum 20:39:20 de9db76c5a1d: Download complete 20:39:20 0ef7d3d256c8: Verifying Checksum 20:39:20 0ef7d3d256c8: Download complete 20:39:20 93359f2a8cfa: Verifying Checksum 20:39:20 93359f2a8cfa: Download complete 20:39:20 7c6f9722023f: Verifying Checksum 20:39:20 7c6f9722023f: Download complete 20:39:20 188c0c94c7c5: Verifying Checksum 20:39:20 188c0c94c7c5: Download complete 20:39:20 188c0c94c7c5: Pull complete 20:39:20 0ef7d3d256c8: Pull complete 20:39:20 de9db76c5a1d: Pull complete 20:39:21 a35cf1a2eb13: Verifying Checksum 20:39:21 a35cf1a2eb13: Download complete 20:39:22 bca2f99d35d6: Verifying Checksum 20:39:22 bca2f99d35d6: Download complete 20:39:28 bca2f99d35d6: Pull complete 20:39:28 93359f2a8cfa: Pull complete 20:39:28 7c6f9722023f: Pull complete 20:39:34 a35cf1a2eb13: Pull complete 20:39:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:39:34 ---> a62c8e92a672 20:39:34 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:39:35 latest: Pulling from library/docker 20:39:35 188c0c94c7c5: Already exists 20:39:35 0c7c675703d6: Pulling fs layer 20:39:35 cc8c12a437cb: Pulling fs layer 20:39:35 f092543453df: Pulling fs layer 20:39:35 65b6bc45957d: Pulling fs layer 20:39:35 4de832df471b: Pulling fs layer 20:39:35 79aa7fa92271: Pulling fs layer 20:39:35 4de832df471b: Waiting 20:39:35 79aa7fa92271: Waiting 20:39:35 65b6bc45957d: Waiting 20:39:35 cc8c12a437cb: Verifying Checksum 20:39:35 cc8c12a437cb: Download complete 20:39:35 0c7c675703d6: Download complete 20:39:35 65b6bc45957d: Verifying Checksum 20:39:35 65b6bc45957d: Download complete 20:39:35 4de832df471b: Verifying Checksum 20:39:35 4de832df471b: Download complete 20:39:35 0c7c675703d6: Pull complete 20:39:35 79aa7fa92271: Verifying Checksum 20:39:35 79aa7fa92271: Download complete 20:39:36 cc8c12a437cb: Pull complete 20:39:40 f092543453df: Verifying Checksum 20:39:40 f092543453df: Download complete 20:39:42 f092543453df: Pull complete 20:39:42 65b6bc45957d: Pull complete 20:39:42 4de832df471b: Pull complete 20:39:42 79aa7fa92271: Pull complete 20:39:42 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 20:39:42 Status: Downloaded newer image for docker:latest 20:39:43 ---> c536c3c8bef5 20:39:43 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:39:44 ---> Running in 7ef877886cb9 20:39:44 Removing intermediate container 7ef877886cb9 20:39:44 ---> c6e8adbb54b9 20:39:44 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:39:44 ---> Running in 5ccb0250fb31 20:39:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:39:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:39:46 (1/5) Installing libsodium (1.0.18-r0) 20:39:46 (2/5) Installing libzmq (4.3.3-r0) 20:39:46 (3/5) Installing pkgconf (1.7.2-r0) 20:39:46 (4/5) Installing libsodium-dev (1.0.18-r0) 20:39:46 (5/5) Installing zeromq-dev (4.3.3-r0) 20:39:46 Executing busybox-1.31.1-r19.trigger 20:39:46 OK: 167 MiB in 44 packages 20:39:47 Removing intermediate container 5ccb0250fb31 20:39:47 ---> b9732173641b 20:39:47 Step 6/8 : WORKDIR /build 20:39:47 ---> Running in 4cde7f38bd9d 20:39:47 Removing intermediate container 4cde7f38bd9d 20:39:47 ---> 290de4c07577 20:39:47 Step 7/8 : COPY go.mod . 20:39:47 ---> bd8856d7447a 20:39:47 Step 8/8 : RUN go mod download 20:39:47 ---> Running in fc633d6698bb 20:40:14 Removing intermediate container fc633d6698bb 20:40:14 ---> eb6a57322495 20:40:14 Successfully built eb6a57322495 20:40:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:40:14 + docker inspect -f . ci-base-image-x86_64 20:40:14 . [Pipeline] withDockerContainer 20:40:14 prd-centos7-docker-4c-2g-14732 does not seem to be running inside a container 20:40:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:15 $ docker top 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:16 + go version 20:40:16 go version go1.15.5 linux/amd64 [Pipeline] } 20:40:16 $ docker stop --time=1 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 20:40:17 $ docker rm -f 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:40:18 + docker inspect -f . ci-base-image-x86_64 20:40:18 . [Pipeline] withDockerContainer 20:40:18 prd-centos7-docker-4c-2g-14732 does not seem to be running inside a container 20:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:19 $ docker top c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:19 + make test 20:40:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:40:21 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 20:40:28 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.046s coverage: 86.2% of statements 20:40:46 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.030s coverage: 53.1% of statements 20:40:46 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 20:40:46 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 20:40:46 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.046s coverage: 54.7% of statements 20:40:46 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 20:40:46 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.038s coverage: 69.1% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.424s coverage: 61.6% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.016s coverage: 100.0% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.924s coverage: 75.0% of statements 20:40:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.011s coverage: 80.5% of statements 20:40:56 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 20:41:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14734 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 20:41:00 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:41:05 using credential edgex-jenkins-ssh 20:41:05 Cloning the remote Git repository 20:41:05 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:05 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 20:41:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:05 > git --version # timeout=10 20:41:05 > git --version # 'git version 2.17.1' 20:41:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:41:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:41:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:41:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:41:09 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f 20:41:09 Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f 20:41:09 Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) 20:41:09 > git config core.sparsecheckout # timeout=10 20:41:09 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 20:41:09 > git remote # timeout=10 20:41:09 > git config --get remote.origin.url # timeout=10 20:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:09 > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 20:41:09 > git rev-parse HEAD^{commit} # timeout=10 20:41:09 > git config core.sparsecheckout # timeout=10 20:41:09 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 20:41:14 Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { 20:41:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.030s coverage: 71.0% of statements 20:41:14 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 20:41:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:41:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:41:16 + + sudo service dockertrue restart 20:41:16 20:41:16 gofmt -l . 20:41:17 [ "`gofmt -l .`" = "" ] 20:41:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:41:17 $ docker stop --time=1 c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 20:41:19 $ docker rm -f c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] unstash [Pipeline] echo 20:41:19 ========================================================= 20:41:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:41:19 ========================================================= 20:41:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] isUnix [Pipeline] sh 20:41:20 Stashed 1 file(s) [Pipeline] } 20:41:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.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] } [Pipeline] // node 20:41:21 Sending build context to Docker daemon 19.21MB 20:41:21 Step 1/8 : ARG BASE=golang:1.15-alpine 20:41:21 Step 2/8 : FROM ${BASE} 20:41:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:21 5f621e34cdf4: Pulling fs layer 20:41:21 a4357932f1b6: Pulling fs layer 20:41:21 18c013af1878: Pulling fs layer 20:41:21 00ac8860ef70: Pulling fs layer 20:41:21 63d7cb157983: Pulling fs layer 20:41:21 b116817d02f9: Pulling fs layer 20:41:21 745a02a5169b: Pulling fs layer 20:41:21 63d7cb157983: Waiting 20:41:21 b116817d02f9: Waiting 20:41:21 745a02a5169b: Waiting 20:41:21 00ac8860ef70: Waiting 20:41:21 18c013af1878: Download complete 20:41:21 a4357932f1b6: Verifying Checksum 20:41:21 a4357932f1b6: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] } 20:41:22 5f621e34cdf4: Download complete 20:41:22 b116817d02f9: Download complete 20:41:22 63d7cb157983: Verifying Checksum 20:41:22 63d7cb157983: Download complete 20:41:22 5f621e34cdf4: Pull complete 20:41:23 a4357932f1b6: Pull complete 20:41:23 18c013af1878: Pull complete 20:41:24 745a02a5169b: Verifying Checksum 20:41:24 745a02a5169b: Download complete 20:41:25 00ac8860ef70: Verifying Checksum 20:41:25 00ac8860ef70: Download complete 20:41:35 00ac8860ef70: Pull complete 20:41:35 63d7cb157983: Pull complete 20:41:35 b116817d02f9: Pull complete 20:41:39 745a02a5169b: Pull complete 20:41:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:41:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:41:39 ---> b7e6874047d6 20:41:39 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:41:39 latest: Pulling from library/docker 20:41:39 5f621e34cdf4: Already exists 20:41:39 85db56a05063: Pulling fs layer 20:41:39 ccb67d6aeaaa: Pulling fs layer 20:41:39 de930078acea: Pulling fs layer 20:41:39 d5a9d88a4785: Pulling fs layer 20:41:39 e7f15c1544d5: Pulling fs layer 20:41:39 877c515997d3: Pulling fs layer 20:41:39 e7f15c1544d5: Waiting 20:41:39 877c515997d3: Waiting 20:41:39 d5a9d88a4785: Waiting 20:41:39 ccb67d6aeaaa: Verifying Checksum 20:41:39 ccb67d6aeaaa: Download complete 20:41:39 85db56a05063: Verifying Checksum 20:41:39 85db56a05063: Download complete 20:41:39 d5a9d88a4785: Verifying Checksum 20:41:39 d5a9d88a4785: Download complete 20:41:39 e7f15c1544d5: Verifying Checksum 20:41:39 e7f15c1544d5: Download complete 20:41:39 877c515997d3: Verifying Checksum 20:41:39 877c515997d3: Download complete 20:41:40 85db56a05063: Pull complete 20:41:40 ccb67d6aeaaa: Pull complete 20:41:44 de930078acea: Verifying Checksum 20:41:44 de930078acea: Download complete 20:41:47 de930078acea: Pull complete 20:41:47 d5a9d88a4785: Pull complete 20:41:47 e7f15c1544d5: Pull complete 20:41:48 877c515997d3: Pull complete 20:41:48 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 20:41:48 Status: Downloaded newer image for docker:latest 20:41:55 ---> eb22fac6126c 20:41:55 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:41:55 ---> Running in 7598afc56c84 20:41:55 Removing intermediate container 7598afc56c84 20:41:55 ---> 38e9ecc11394 20:41:55 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:41:55 ---> Running in 136fde44c345 20:41:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:41:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:41:58 (1/5) Installing libsodium (1.0.18-r0) 20:41:58 (2/5) Installing libzmq (4.3.3-r0) 20:41:58 (3/5) Installing pkgconf (1.7.2-r0) 20:41:58 (4/5) Installing libsodium-dev (1.0.18-r0) 20:41:58 (5/5) Installing zeromq-dev (4.3.3-r0) 20:41:58 Executing busybox-1.31.1-r19.trigger 20:41:58 OK: 144 MiB in 44 packages 20:41:59 Removing intermediate container 136fde44c345 20:41:59 ---> ffa636d9d9e5 20:41:59 Step 6/8 : WORKDIR /build 20:41:59 ---> Running in 328daa65171b 20:42:00 Removing intermediate container 328daa65171b 20:42:00 ---> 58c73e3a9676 20:42:00 Step 7/8 : COPY go.mod . 20:42:01 ---> c89d33630bc3 20:42:01 Step 8/8 : RUN go mod download 20:42:01 ---> Running in 48d6533462f1 20:42:27 Removing intermediate container 48d6533462f1 20:42:27 ---> f59169f773d5 20:42:27 Successfully built f59169f773d5 20:42:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:42:28 + docker inspect -f . ci-base-image-arm64 20:42:28 . [Pipeline] withDockerContainer 20:42:28 prd-ubuntu18.04-docker-arm64-4c-16g-14734 does not seem to be running inside a container 20:42:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:42:30 $ docker top a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:31 + go version 20:42:31 go version go1.15.5 linux/arm64 [Pipeline] } 20:42:31 $ docker stop --time=1 a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 20:42:33 $ docker rm -f a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:42:34 + docker inspect -f . ci-base-image-arm64 20:42:34 . [Pipeline] withDockerContainer 20:42:34 prd-ubuntu18.04-docker-arm64-4c-16g-14734 does not seem to be running inside a container 20:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:42:35 $ docker top 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:36 + make test 20:42:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:42:38 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 20:43:00 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.056s coverage: 86.2% of statements 20:43:39 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.059s coverage: 53.1% of statements 20:43:39 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 20:43:39 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 20:43:39 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.133s coverage: 54.7% of statements 20:43:39 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 20:43:39 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.077s coverage: 69.1% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.446s coverage: 61.6% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.040s coverage: 100.0% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.016s coverage: 96.6% of statements 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.020s coverage: 97.7% of statements 20:43:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 20:43:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.020s coverage: 8.8% of statements 20:43:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.942s coverage: 75.0% of statements 20:43:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 20:43:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements 20:43:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.022s coverage: 88.9% of statements 20:43:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.042s coverage: 80.5% of statements 20:43:51 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements 20:44:18 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 71.0% of statements 20:44:18 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 20:44:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:44:28 gofmt -l . 20:44:28 [ "`gofmt -l .`" = "" ] 20:44:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:44:29 $ docker stop --time=1 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 20:44:31 $ docker rm -f 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:44:33 Warning: overwriting stash ‘coverage-report’ 20:44:33 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 20:44:36 provisioning config files... 20:44:36 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config6372051840863813062tmp [Pipeline] { [Pipeline] sh 20:44:36 + set +x 20:44:36 + curl -s https://codecov.io/bash 20:44:36 + bash -s -- 20:44:37 20:44:37 _____ _ 20:44:37 / ____| | | 20:44:37 | | ___ __| | ___ ___ _____ __ 20:44:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:44:37 | |___| (_) | (_| | __/ (_| (_) \ V / 20:44:37 \_____\___/ \__,_|\___|\___\___/ \_/ 20:44:37 Bash-20201130-cc6d3fe 20:44:37 20:44:37 20:44:37 ==> Jenkins CI detected. 20:44:37 project root: . 20:44:37 --> token set from env 20:44:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:44:37 ==> Running gcov in . (disable via -X gcov) 20:44:37 ==> Python coveragepy not found 20:44:37 ==> Searching for coverage reports in: 20:44:37 + . 20:44:37 -> Found 1 reports 20:44:37 ==> Detecting git/mercurial file structure 20:44:37 ==> Reading reports 20:44:37 + ./coverage.out bytes=91626 20:44:37 ==> Appending adjustments 20:44:37 https://docs.codecov.io/docs/fixing-reports 20:44:37 + Found adjustments 20:44:37 ==> Gzipping contents 20:44:37 16K /tmp/codecov.dvHZ4a.gz 20:44:37 ==> Uploading reports 20:44:37 url: https://codecov.io 20:44:37 query: branch=PR-587&commit=cebda27dbbbe00994d9e59a713edc86daf18d80f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 20:44:37 -> Pinging Codecov 20:44:37 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-587&commit=cebda27dbbbe00994d9e59a713edc86daf18d80f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 20:44:38 -> Uploading to 20:44:38 https://storage.googleapis.com/codecov/v4/raw/2020-12-06/3D8B5DFFC46A037C893635FACE044666/cebda27dbbbe00994d9e59a713edc86daf18d80f/977e073b-1abf-4e43-86da-66d8f96914a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201206T204438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a83b46954b5f61c028f80ca84c2a7fefab187632808dfba12e973e948926749c 20:44:38 % Total % Received % Xferd Average Speed Time Time Time Current 20:44:38 Dload Upload Total Spent Left Speed 20:44:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16283 0 0 100 16283 0 35974 --:--:-- --:--:-- --:--:-- 36024 20:44:38 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] } 20:44:38 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 20:44:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:44:42 ---> package-listing.sh 20:44:42 ++ facter osfamily 20:44:42 ++ tr '[:upper:]' '[:lower:]' 20:44:42 + OS_FAMILY=redhat 20:44:42 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-587 20:44:42 + START_PACKAGES=/tmp/packages_start.txt 20:44:42 + END_PACKAGES=/tmp/packages_end.txt 20:44:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:44:42 + PACKAGES=/tmp/packages_start.txt 20:44:42 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 20:44:42 + PACKAGES=/tmp/packages_end.txt 20:44:42 + case "${OS_FAMILY}" in 20:44:42 + rpm -qa 20:44:42 + sort 20:44:47 + '[' -f /tmp/packages_start.txt ']' 20:44:47 + '[' -f /tmp/packages_end.txt ']' 20:44:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:44:47 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 20:44:47 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ 20:44:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [Pipeline] echo 20:44:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:44:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:44:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:44:48 20:44:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:44:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:44:48 alpine: Pulling from edgex-lftools-log-publisher 20:44:48 df20fa9351a1: Pulling fs layer 20:44:48 36b3adc4ff6f: Pulling fs layer 20:44:48 8ad3a11d3b57: Pulling fs layer 20:44:48 46f8f816bc3b: Pulling fs layer 20:44:48 93b61091891f: Pulling fs layer 20:44:48 93b9cdb0e59b: Pulling fs layer 20:44:48 5e14af77c1be: Pulling fs layer 20:44:48 01666e4c0597: Pulling fs layer 20:44:48 aa168da1d23b: Pulling fs layer 20:44:48 93b61091891f: Waiting 20:44:48 46f8f816bc3b: Waiting 20:44:48 93b9cdb0e59b: Waiting 20:44:48 01666e4c0597: Waiting 20:44:48 aa168da1d23b: Waiting 20:44:48 5e14af77c1be: Waiting 20:44:48 36b3adc4ff6f: Download complete 20:44:48 46f8f816bc3b: Verifying Checksum 20:44:48 46f8f816bc3b: Download complete 20:44:49 df20fa9351a1: Verifying Checksum 20:44:49 df20fa9351a1: Download complete 20:44:49 93b9cdb0e59b: Verifying Checksum 20:44:49 93b9cdb0e59b: Download complete 20:44:49 93b61091891f: Verifying Checksum 20:44:49 93b61091891f: Download complete 20:44:49 5e14af77c1be: Verifying Checksum 20:44:49 5e14af77c1be: Download complete 20:44:49 01666e4c0597: Download complete 20:44:49 df20fa9351a1: Pull complete 20:44:49 8ad3a11d3b57: Verifying Checksum 20:44:49 8ad3a11d3b57: Download complete 20:44:49 36b3adc4ff6f: Pull complete 20:44:50 8ad3a11d3b57: Pull complete 20:44:50 46f8f816bc3b: Pull complete 20:44:51 93b61091891f: Pull complete 20:44:51 aa168da1d23b: Verifying Checksum 20:44:51 aa168da1d23b: Download complete 20:44:51 93b9cdb0e59b: Pull complete 20:44:51 5e14af77c1be: Pull complete 20:44:51 01666e4c0597: Pull complete 20:44:59 aa168da1d23b: Pull complete 20:44:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:44:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:44:59 prd-centos7-docker-4c-2g-14731 does not seem to be running inside a container 20:44:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:45:03 $ docker top c219f9c2919301ce43acc1e0ce09e2e0fcb99286197bba6cb92fc2d596bc0e42 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:45:03 + mkdir -p /var/log/sa [Pipeline] sh 20:45:04 + ls /var/log/sa-host 20:45:04 + sadf -c /var/log/sa-host/sa06 20:45:04 file_magic: OK 20:45:04 HZ: Using current value: 100 20:45:04 file_header: OK 20:45:04 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 20:45:04 Statistics: 20:45:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:45:04 File successfully converted to sysstat format version 12.2.1 20:45:04 + sadf -c /var/log/sa-host/sa23 20:45:04 file_magic: OK 20:45:04 HZ: Using current value: 100 20:45:04 file_header: OK 20:45:04 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 20:45:04 Statistics: 20:45:04 Hnuu...uuuununununu... 20:45:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:04 provisioning config files... 20:45:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config8738124081247913648tmp [Pipeline] { [Pipeline] echo 20:45:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:04 ---> create-netrc.sh [Pipeline] } 20:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:45:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:45:05 ---> python-tools-install.sh [Pipeline] echo 20:45:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:45:05 ---> sudo-logs.sh 20:45:05 Archiving 'sudo' log.. [Pipeline] echo 20:45:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:45:05 ---> job-cost.sh 20:45:05 lf-activate-venv: SKIPPING 20:45:05 INFO: No Stack... 20:45:07 INFO: Retrieving Pricing Info for: v1-standard-2 20:45:07 INFO: Archiving Costs [Pipeline] echo 20:45:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:45:08 ---> logs-deploy.sh 20:45:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-587/2 20:45:08 INFO: archiving workspace using pattern(s): 20:45:09 Archives upload complete. 20:45:09 INFO: archiving logs to Nexus 20:45:10 ---> uname -a: 20:45:10 Linux prd-centos7-docker-4c-2g-14731.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:45:10 20:45:10 20:45:10 ---> lscpu: 20:45:10 Architecture: x86_64 20:45:10 CPU op-mode(s): 32-bit, 64-bit 20:45:10 Byte Order: Little Endian 20:45:10 Address sizes: 40 bits physical, 48 bits virtual 20:45:10 CPU(s): 4 20:45:10 On-line CPU(s) list: 0-3 20:45:10 Thread(s) per core: 1 20:45:10 Core(s) per socket: 1 20:45:10 Socket(s): 4 20:45:10 NUMA node(s): 1 20:45:10 Vendor ID: GenuineIntel 20:45:10 CPU family: 6 20:45:10 Model: 44 20:45:10 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:45:10 Stepping: 1 20:45:10 CPU MHz: 2933.438 20:45:10 BogoMIPS: 5866.87 20:45:10 Virtualization: VT-x 20:45:10 Hypervisor vendor: KVM 20:45:10 Virtualization type: full 20:45:10 L1d cache: 128 KiB 20:45:10 L1i cache: 128 KiB 20:45:10 L2 cache: 16 MiB 20:45:10 L3 cache: 64 MiB 20:45:10 NUMA node0 CPU(s): 0-3 20:45:10 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:45:10 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:45:10 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:45:10 Vulnerability Meltdown: Mitigation; PTI 20:45:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:45:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:45:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:45:10 Vulnerability Srbds: Not affected 20:45:10 Vulnerability Tsx async abort: Not affected 20:45:10 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 20:45:10 20:45:10 20:45:10 ---> nproc: 20:45:10 4 20:45:10 20:45:10 20:45:10 ---> df -h: 20:45:10 Filesystem Size Used Available Use% Mounted on 20:45:10 overlay 50.0G 7.3G 42.7G 15% / 20:45:10 tmpfs 64.0M 0 64.0M 0% /dev 20:45:10 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:45:10 shm 64.0M 0 64.0M 0% /dev/shm 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 20:45:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 20:45:10 20:45:10 20:45:10 ---> free -m: 20:45:10 total used free shared buff/cache available 20:45:10 Mem: 1837 719 101 0 1015 1013 20:45:10 Swap: 1023 1 1022 20:45:10 20:45:10 20:45:10 ---> ip addr: 20:45:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:45:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:45:10 inet 127.0.0.1/8 scope host lo 20:45:10 valid_lft forever preferred_lft forever 20:45:10 inet6 ::1/128 scope host 20:45:10 valid_lft forever preferred_lft forever 20:45:10 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:45:10 link/ether fa:16:3e:31:9c:ad brd ff:ff:ff:ff:ff:ff 20:45:10 inet 10.30.123.53/23 brd 10.30.123.255 scope global dynamic eth0 20:45:10 valid_lft 85969sec preferred_lft 85969sec 20:45:10 inet6 fe80::f816:3eff:fe31:9cad/64 scope link 20:45:10 valid_lft forever preferred_lft forever 20:45:10 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:45:10 link/ether 02:42:b0:bc:30:62 brd ff:ff:ff:ff:ff:ff 20:45:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:45:10 valid_lft forever preferred_lft forever 20:45:10 inet6 fe80::42:b0ff:febc:3062/64 scope link 20:45:10 valid_lft forever preferred_lft forever 20:45:10 20:45:10 20:45:10 ---> sar -b -r -n DEV: 20:45:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/06/20 _x86_64_ (4 CPU) 20:45:10 20:45:10 20:37:48 LINUX RESTART (4 CPU) 20:45:10 20:45:10 20:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:45:10 20:40:01 2.05 0.00 2.05 0.00 0.00 47.88 0.00 20:45:10 20:41:01 0.33 0.00 0.33 0.00 0.00 5.03 0.00 20:45:10 20:42:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 20:45:10 20:43:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 20:45:10 20:44:01 0.20 0.00 0.20 0.00 0.00 2.91 0.00 20:45:10 20:45:01 127.34 73.92 53.42 0.00 5889.85 17229.01 0.00 20:45:10 Average: 21.81 12.36 9.45 0.00 984.91 2891.44 0.00 20:45:10 20:45:10 20:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:45:10 20:40:01 211972 0 617456 32.82 2620 1049496 1107836 37.81 433904 1037332 20 20:45:10 20:41:01 213528 0 615872 32.73 2620 1049524 1075752 36.71 433004 1036720 12 20:45:10 20:42:01 213496 0 615920 32.73 2620 1049508 1075884 36.72 453896 1016604 8 20:45:10 20:43:01 213580 0 615836 32.73 2620 1049508 1075860 36.72 452804 1017428 16 20:45:10 20:44:01 212364 0 617044 32.79 2620 1049516 1075836 36.72 474944 996536 12 20:45:10 20:45:01 161596 0 717792 38.15 2620 999536 1277760 43.61 456076 999768 16484 20:45:10 Average: 204423 0 633320 33.66 2620 1041181 1114821 38.05 450771 1017398 2759 20:45:10 20:45:10 20:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:45:10 20:40:01 eth0 5.45 3.01 4.20 0.56 0.00 0.00 0.00 0.00 20:45:10 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:41:01 eth0 0.33 0.08 0.03 0.01 0.00 0.00 0.00 0.00 20:45:10 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:42:01 eth0 0.52 0.32 0.27 0.20 0.00 0.00 0.00 0.00 20:45:10 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:43:01 eth0 0.52 0.35 0.27 0.17 0.00 0.00 0.00 0.00 20:45:10 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:44:01 eth0 0.23 0.17 0.08 0.10 0.00 0.00 0.00 0.00 20:45:10 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:45:01 eth0 209.69 175.10 2167.09 19.53 0.00 0.00 0.00 0.00 20:45:10 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 Average: eth0 36.24 29.94 363.19 3.44 0.00 0.00 0.00 0.00 20:45:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:10 20:45:10 20:45:10 ---> sar -P ALL: 20:45:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/06/20 _x86_64_ (4 CPU) 20:45:10 20:45:10 20:37:48 LINUX RESTART (4 CPU) 20:45:10 20:45:10 20:39:01 CPU %user %nice %system %iowait %steal %idle 20:45:10 20:40:01 all 0.22 0.00 0.06 0.00 0.00 99.71 20:45:10 20:40:01 0 0.10 0.00 0.07 0.00 0.00 99.83 20:45:10 20:40:01 1 0.10 0.00 0.10 0.00 0.00 99.80 20:45:10 20:40:01 2 0.53 0.00 0.05 0.00 0.00 99.42 20:45:10 20:40:01 3 0.15 0.00 0.03 0.00 0.02 99.80 20:45:10 20:41:01 all 0.16 0.00 0.03 0.00 0.01 99.80 20:45:10 20:41:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:45:10 20:41:01 1 0.05 0.00 0.02 0.00 0.02 99.92 20:45:10 20:41:01 2 0.52 0.00 0.03 0.00 0.02 99.43 20:45:10 20:41:01 3 0.05 0.00 0.07 0.00 0.00 99.88 20:45:10 20:42:01 all 0.16 0.00 0.04 0.00 0.00 99.80 20:45:10 20:42:01 0 0.05 0.00 0.02 0.00 0.00 99.93 20:45:10 20:42:01 1 0.02 0.00 0.03 0.00 0.00 99.95 20:45:10 20:42:01 2 0.53 0.00 0.07 0.00 0.00 99.40 20:45:10 20:42:01 3 0.05 0.00 0.03 0.00 0.00 99.92 20:45:10 20:43:01 all 0.17 0.00 0.06 0.00 0.00 99.78 20:45:10 20:43:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:45:10 20:43:01 1 0.05 0.00 0.08 0.00 0.00 99.87 20:45:10 20:43:01 2 0.55 0.00 0.08 0.00 0.00 99.37 20:45:10 20:43:01 3 0.05 0.00 0.05 0.00 0.00 99.90 20:45:10 20:44:01 all 0.15 0.00 0.03 0.00 0.00 99.81 20:45:10 20:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:45:10 20:44:01 1 0.05 0.00 0.03 0.00 0.00 99.92 20:45:10 20:44:01 2 0.52 0.00 0.05 0.00 0.00 99.43 20:45:10 20:44:01 3 0.02 0.00 0.03 0.00 0.00 99.95 20:45:10 20:45:01 all 5.62 0.00 3.78 2.02 0.03 88.56 20:45:10 20:45:01 0 5.10 0.00 3.62 0.92 0.02 90.34 20:45:10 20:45:01 1 5.57 0.00 3.77 1.26 0.02 89.39 20:45:10 20:45:01 2 5.39 0.00 3.58 2.06 0.05 88.91 20:45:10 20:45:01 3 6.44 0.00 4.13 3.82 0.02 85.59 20:45:10 Average: all 1.08 0.00 0.66 0.33 0.01 97.92 20:45:10 Average: 0 0.88 0.00 0.62 0.15 0.00 98.34 20:45:10 Average: 1 0.97 0.00 0.67 0.21 0.01 98.15 20:45:10 Average: 2 1.34 0.00 0.64 0.34 0.01 97.67 20:45:10 Average: 3 1.12 0.00 0.72 0.63 0.01 97.52 20:45:10 20:45:10 20:45:10