Pull request #784 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 dd31cd7acb44caeeced9357078bf73151429bd0e+1798f22c4beb2284959a60107cdee2587c045e25 (c857efe3842d60e43fcaad68db2a39c3f0976413) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33171 in /w/workspace/ndry_app-functions-sdk-go_PR-784 [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-784 # 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 1798f22c4beb2284959a60107cdee2587c045e25 into PR head commit dd31cd7acb44caeeced9357078bf73151429bd0e Merge succeeded, producing dd31cd7acb44caeeced9357078bf73151429bd0e Checking out Revision dd31cd7acb44caeeced9357078bf73151429bd0e (PR-784) > 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/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # 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 1798f22c4beb2284959a60107cdee2587c045e25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # timeout=10 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 75b460fd918df2d2ab04da3665df36095b26342c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:09 ========================================================= 18:41:09 EdgeX Global Pipelines Version Info 18:41:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:10 ------------------- 18:41:10 stable info: 18:41:10 ------------------- 18:41:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:10 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:41:10 Message: update stable to v1.0.186 18:41:11 ------------------- 18:41:11 experimental info: 18:41:11 ------------------- 18:41:11 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:11 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 18:41:11 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:41:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-784 [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-784 [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-784 [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd31cd7acb44caeeced9357078bf73151429bd0e [Pipeline] echo 18:41:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd31cd7 [Pipeline] echo 18:41:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:15 + git log --format=format:%s -1 dd31cd7acb44caeeced9357078bf73151429bd0e [Pipeline] echo 18:41:15 GIT_COMMIT: dd31cd7acb44caeeced9357078bf73151429bd0e, Commit Message: refactor: Replace file based with use of Secret Provider to get Access Tokens [Pipeline] echo 18:41:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:16 18:41:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:41:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:17 latest: Pulling from edgex-devops/git-semver 18:41:17 31603596830f: Pulling fs layer 18:41:17 2a8b12db71e7: Pulling fs layer 18:41:17 6ca5941a6612: Pulling fs layer 18:41:17 ecc8261a40a4: Pulling fs layer 18:41:17 ecc8261a40a4: Waiting 18:41:17 2a8b12db71e7: Verifying Checksum 18:41:17 2a8b12db71e7: Download complete 18:41:17 31603596830f: Verifying Checksum 18:41:17 31603596830f: Download complete 18:41:17 ecc8261a40a4: Verifying Checksum 18:41:17 ecc8261a40a4: Download complete 18:41:17 6ca5941a6612: Verifying Checksum 18:41:17 6ca5941a6612: Download complete 18:41:17 31603596830f: Pull complete 18:41:17 2a8b12db71e7: Pull complete 18:41:18 6ca5941a6612: Pull complete 18:41:18 ecc8261a40a4: Pull complete 18:41:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:41:19 prd-centos7-docker-4c-2g-33171 does not seem to be running inside a container 18:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-784 -v /w/workspace/ndry_app-functions-sdk-go_PR-784:/w/workspace/ndry_app-functions-sdk-go_PR-784:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-784@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-784@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 18:41:21 $ docker top b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:21 [ssh-agent] Looking for ssh-agent implementation... 18:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:22 $ docker exec b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 ssh-agent 18:41:22 SSH_AUTH_SOCK=/tmp/ssh-rauDlpi1yXeV/agent.11 18:41:22 SSH_AGENT_PID=16 18:41:22 Running ssh-add (command line suppressed) 18:41:22 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-784@tmp/private_key_3060331434554491452.key (/w/workspace/ndry_app-functions-sdk-go_PR-784@tmp/private_key_3060331434554491452.key) 18:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:22 + git tag --points-at HEAD [Pipeline] } 18:41:22 $ docker exec --env ******** --env ******** b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 ssh-agent -k 18:41:23 unset SSH_AUTH_SOCK; 18:41:23 unset SSH_AGENT_PID; 18:41:23 echo Agent pid 16 killed; 18:41:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:23 [ssh-agent] Looking for ssh-agent implementation... 18:41:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:23 $ docker exec b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 ssh-agent 18:41:23 SSH_AUTH_SOCK=/tmp/ssh-749DOw21ylQs/agent.45 18:41:23 SSH_AGENT_PID=51 18:41:23 Running ssh-add (command line suppressed) 18:41:23 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-784@tmp/private_key_6352648204652325773.key (/w/workspace/ndry_app-functions-sdk-go_PR-784@tmp/private_key_6352648204652325773.key) 18:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:24 + git semver init 18:41:24 # -> Open(): unable to determine branch for HEAD 18:41:24 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-784/.git 18:41:24 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-784 18:41:24 # $SEMVER_REMOTE_NAME = origin 18:41:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:41:24 # $SEMVER_USER_NAME = edgex-jenkins 18:41:24 # $SEMVER_BRANCH = PR-784 18:41:24 # $SEMVER_TEMP = /tmp/semver-949597664 18:41:24 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:41:26 # '/tmp/semver-949597664' -> '/w/workspace/ndry_app-functions-sdk-go_PR-784/.semver' 18:41:26 # -> Force: false 18:41:26 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-784/.semver [Pipeline] } 18:41:26 $ docker exec --env ******** --env ******** b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 ssh-agent -k 18:41:26 unset SSH_AUTH_SOCK; 18:41:26 unset SSH_AGENT_PID; 18:41:26 echo Agent pid 51 killed; 18:41:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:27 + git semver [Pipeline] } 18:41:27 $ docker stop --time=1 b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 18:41:29 $ docker rm -f b7444a9345c52b0ec554a70e8c6bbcd7eb337c0466927956f394a364e00b46b9 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:30 Stashed 1 file(s) [Pipeline] echo 18:41:30 [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 18:41:45 Still waiting to schedule task 18:41:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:41:45 Still waiting to schedule task 18:41:45 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:43:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33173 in /w/workspace/ndry_app-functions-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 18:43:35 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:43:40 using credential edgex-jenkins-ssh 18:43:40 Cloning the remote Git repository 18:43:40 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:40 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 18:43:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:40 > git --version # timeout=10 18:43:40 > git --version # 'git version 2.17.1' 18:43:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:43 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:44 Merging remotes/origin/master commit 1798f22c4beb2284959a60107cdee2587c045e25 into PR head commit dd31cd7acb44caeeced9357078bf73151429bd0e 18:43:44 Merge succeeded, producing dd31cd7acb44caeeced9357078bf73151429bd0e 18:43:44 Checking out Revision dd31cd7acb44caeeced9357078bf73151429bd0e (PR-784) 18:43:44 > git config core.sparsecheckout # timeout=10 18:43:44 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # timeout=10 18:43:44 > git remote # timeout=10 18:43:44 > git config --get remote.origin.url # timeout=10 18:43:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:44 > git merge 1798f22c4beb2284959a60107cdee2587c045e25 # timeout=10 18:43:44 > git rev-parse HEAD^{commit} # timeout=10 18:43:44 > git config core.sparsecheckout # timeout=10 18:43:44 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # timeout=10 18:43:49 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:43:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:43:52 + sudo service docker+ restart 18:43:52 true [Pipeline] unstash [Pipeline] echo 18:43:55 ========================================================= 18:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:43:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:43:55 + 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 . 18:43:56 Sending build context to Docker daemon 19.47MB 18:43:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:43:56 Step 2/8 : FROM ${BASE} 18:43:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:43:56 5f621e34cdf4: Pulling fs layer 18:43:56 a4357932f1b6: Pulling fs layer 18:43:56 18c013af1878: Pulling fs layer 18:43:56 00ac8860ef70: Pulling fs layer 18:43:56 63d7cb157983: Pulling fs layer 18:43:56 b116817d02f9: Pulling fs layer 18:43:56 745a02a5169b: Pulling fs layer 18:43:56 00ac8860ef70: Waiting 18:43:56 63d7cb157983: Waiting 18:43:56 b116817d02f9: Waiting 18:43:56 745a02a5169b: Waiting 18:43:57 18c013af1878: Download complete 18:43:57 a4357932f1b6: Verifying Checksum 18:43:57 a4357932f1b6: Download complete 18:43:57 63d7cb157983: Download complete 18:43:57 b116817d02f9: Verifying Checksum 18:43:57 b116817d02f9: Download complete 18:43:57 5f621e34cdf4: Verifying Checksum 18:43:57 5f621e34cdf4: Download complete 18:43:57 5f621e34cdf4: Pull complete 18:43:58 a4357932f1b6: Pull complete 18:43:58 18c013af1878: Pull complete 18:43:59 745a02a5169b: Verifying Checksum 18:43:59 745a02a5169b: Download complete 18:44:01 00ac8860ef70: Verifying Checksum 18:44:01 00ac8860ef70: Download complete 18:44:11 00ac8860ef70: Pull complete 18:44:11 63d7cb157983: Pull complete 18:44:11 b116817d02f9: Pull complete 18:44:15 745a02a5169b: Pull complete 18:44:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:44:15 ---> b7e6874047d6 18:44:15 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:44:15 20.10.0: Pulling from library/docker 18:44:15 a3cc7d3b244e: Pulling fs layer 18:44:15 02a3295e0d61: Pulling fs layer 18:44:15 0f4f2e6d8100: Pulling fs layer 18:44:15 330b718f631f: Pulling fs layer 18:44:15 a93816041522: Pulling fs layer 18:44:15 bdb6da89ff94: Pulling fs layer 18:44:15 2a70c0c122f4: Pulling fs layer 18:44:15 330b718f631f: Waiting 18:44:15 a93816041522: Waiting 18:44:15 bdb6da89ff94: Waiting 18:44:15 2a70c0c122f4: Waiting 18:44:15 0f4f2e6d8100: Verifying Checksum 18:44:15 0f4f2e6d8100: Download complete 18:44:15 02a3295e0d61: Verifying Checksum 18:44:15 02a3295e0d61: Download complete 18:44:15 a3cc7d3b244e: Verifying Checksum 18:44:15 a3cc7d3b244e: Download complete 18:44:15 a93816041522: Download complete 18:44:15 bdb6da89ff94: Verifying Checksum 18:44:15 2a70c0c122f4: Download complete 18:44:16 a3cc7d3b244e: Pull complete 18:44:16 Running on prd-centos7-docker-4c-2g-33174 in /w/workspace/ndry_app-functions-sdk-go_PR-784 [Pipeline] { [Pipeline] ws 18:44:16 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { 18:44:16 02a3295e0d61: Pull complete [Pipeline] checkout 18:44:17 330b718f631f: Verifying Checksum 18:44:17 330b718f631f: Download complete 18:44:17 0f4f2e6d8100: Pull complete 18:44:19 using credential edgex-jenkins-ssh 18:44:19 Cloning the remote Git repository 18:44:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:44:18 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 18:44:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:44:18 > git --version # timeout=10 18:44:18 > git --version # 'git version 2.24.3' 18:44:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:21 Merging remotes/origin/master commit 1798f22c4beb2284959a60107cdee2587c045e25 into PR head commit dd31cd7acb44caeeced9357078bf73151429bd0e 18:44:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:44:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:44:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/784/head:refs/remotes/origin/PR-784 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:20 > git config core.sparsecheckout # timeout=10 18:44:20 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # timeout=10 18:44:21 Merge succeeded, producing dd31cd7acb44caeeced9357078bf73151429bd0e 18:44:21 Checking out Revision dd31cd7acb44caeeced9357078bf73151429bd0e (PR-784) 18:44:21 330b718f631f: Pull complete 18:44:21 a93816041522: Pull complete 18:44:21 bdb6da89ff94: Pull complete 18:44:20 > git remote # timeout=10 18:44:20 > git config --get remote.origin.url # timeout=10 18:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:20 > git merge 1798f22c4beb2284959a60107cdee2587c045e25 # timeout=10 18:44:20 > git rev-parse HEAD^{commit} # timeout=10 18:44:20 > git config core.sparsecheckout # timeout=10 18:44:20 > git checkout -f dd31cd7acb44caeeced9357078bf73151429bd0e # timeout=10 18:44:22 2a70c0c122f4: Pull complete 18:44:22 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:44:22 Status: Downloaded newer image for docker:20.10.0 18:44:24 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:44:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:44:26 + sudo service docker restart 18:44:26 + true 18:44:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 18:44:28 ========================================================= 18:44:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:44:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:28 + 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 . 18:44:29 Sending build context to Docker daemon 19.48MB 18:44:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:44:29 Step 2/8 : FROM ${BASE} 18:44:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:29 188c0c94c7c5: Pulling fs layer 18:44:29 0ef7d3d256c8: Pulling fs layer 18:44:29 de9db76c5a1d: Pulling fs layer 18:44:29 bca2f99d35d6: Pulling fs layer 18:44:29 93359f2a8cfa: Pulling fs layer 18:44:29 7c6f9722023f: Pulling fs layer 18:44:29 a35cf1a2eb13: Pulling fs layer 18:44:29 93359f2a8cfa: Waiting 18:44:29 7c6f9722023f: Waiting 18:44:29 a35cf1a2eb13: Waiting 18:44:29 bca2f99d35d6: Waiting 18:44:29 de9db76c5a1d: Verifying Checksum 18:44:29 de9db76c5a1d: Download complete 18:44:29 0ef7d3d256c8: Verifying Checksum 18:44:29 0ef7d3d256c8: Download complete 18:44:29 93359f2a8cfa: Verifying Checksum 18:44:29 93359f2a8cfa: Download complete 18:44:29 7c6f9722023f: Verifying Checksum 18:44:29 7c6f9722023f: Download complete 18:44:29 188c0c94c7c5: Verifying Checksum 18:44:29 188c0c94c7c5: Download complete 18:44:29 ---> 5eb8721fd7e8 18:44:29 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:44:29 ---> Running in 62e1c22a9e3a 18:44:29 Removing intermediate container 62e1c22a9e3a 18:44:29 ---> 3b08d83e0296 18:44:29 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:44:29 188c0c94c7c5: Pull complete 18:44:29 ---> Running in 1c68f0701598 18:44:29 0ef7d3d256c8: Pull complete 18:44:29 de9db76c5a1d: Pull complete 18:44:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:44:30 a35cf1a2eb13: Verifying Checksum 18:44:30 a35cf1a2eb13: Download complete 18:44:31 bca2f99d35d6: Verifying Checksum 18:44:31 bca2f99d35d6: Download complete 18:44:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:44:34 (1/5) Installing libsodium (1.0.18-r0) 18:44:34 (2/5) Installing libzmq (4.3.3-r0) 18:44:34 (3/5) Installing pkgconf (1.7.2-r0) 18:44:34 (4/5) Installing libsodium-dev (1.0.18-r0) 18:44:34 (5/5) Installing zeromq-dev (4.3.3-r0) 18:44:35 Executing busybox-1.31.1-r19.trigger 18:44:35 OK: 144 MiB in 44 packages 18:44:35 bca2f99d35d6: Pull complete 18:44:35 93359f2a8cfa: Pull complete 18:44:35 7c6f9722023f: Pull complete 18:44:36 Removing intermediate container 1c68f0701598 18:44:36 ---> cbbdcccde15a 18:44:36 Step 6/8 : WORKDIR /build 18:44:36 ---> Running in 33f4b167268f 18:44:36 Removing intermediate container 33f4b167268f 18:44:36 ---> a66b8abef9bd 18:44:36 Step 7/8 : COPY go.mod . 18:44:37 ---> 0d3d3d13b9ef 18:44:37 Step 8/8 : RUN go mod download 18:44:37 ---> Running in 00e16da195d1 18:44:44 a35cf1a2eb13: Pull complete 18:44:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:44 ---> a62c8e92a672 18:44:44 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:44:44 20.10.0: Pulling from library/docker 18:44:44 05e7bc50f07f: Pulling fs layer 18:44:44 6db28d0fdbf6: Pulling fs layer 18:44:44 292df0bc6bf3: Pulling fs layer 18:44:44 2e060f4bd70b: Pulling fs layer 18:44:44 80e8d568a223: Pulling fs layer 18:44:44 8dc6ef1a942a: Pulling fs layer 18:44:44 2312dd95470a: Pulling fs layer 18:44:44 2e060f4bd70b: Waiting 18:44:44 80e8d568a223: Waiting 18:44:44 8dc6ef1a942a: Waiting 18:44:44 2312dd95470a: Waiting 18:44:44 292df0bc6bf3: Verifying Checksum 18:44:44 292df0bc6bf3: Download complete 18:44:44 6db28d0fdbf6: Download complete 18:44:44 05e7bc50f07f: Download complete 18:44:44 80e8d568a223: Download complete 18:44:44 8dc6ef1a942a: Verifying Checksum 18:44:44 8dc6ef1a942a: Download complete 18:44:44 2312dd95470a: Download complete 18:44:44 05e7bc50f07f: Pull complete 18:44:44 6db28d0fdbf6: Pull complete 18:44:45 292df0bc6bf3: Pull complete 18:44:45 2e060f4bd70b: Verifying Checksum 18:44:45 2e060f4bd70b: Download complete 18:44:48 2e060f4bd70b: Pull complete 18:44:48 80e8d568a223: Pull complete 18:44:48 8dc6ef1a942a: Pull complete 18:44:48 2312dd95470a: Pull complete 18:44:48 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:44:48 Status: Downloaded newer image for docker:20.10.0 18:44:49 ---> 08491736fc29 18:44:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:44:49 ---> Running in 817b151af890 18:44:49 Removing intermediate container 817b151af890 18:44:49 ---> 1e759c00d2bc 18:44:49 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:44:49 ---> Running in a64c24b3c08b 18:44:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:52 (1/5) Installing libsodium (1.0.18-r0) 18:44:53 (2/5) Installing libzmq (4.3.3-r0) 18:44:53 (3/5) Installing pkgconf (1.7.2-r0) 18:44:53 (4/5) Installing libsodium-dev (1.0.18-r0) 18:44:53 (5/5) Installing zeromq-dev (4.3.3-r0) 18:44:53 Executing busybox-1.31.1-r19.trigger 18:44:53 OK: 167 MiB in 44 packages 18:44:54 Removing intermediate container a64c24b3c08b 18:44:54 ---> 3772c1685054 18:44:54 Step 6/8 : WORKDIR /build 18:44:54 ---> Running in 024f0816b7ce 18:44:54 Removing intermediate container 024f0816b7ce 18:44:54 ---> 9f2aa9a9fd45 18:44:54 Step 7/8 : COPY go.mod . 18:44:54 ---> a1355a57f9fd 18:44:54 Step 8/8 : RUN go mod download 18:44:54 ---> Running in e5bebffa3eb9 18:45:04 Removing intermediate container 00e16da195d1 18:45:04 ---> d505341a9a7f 18:45:04 Successfully built d505341a9a7f 18:45:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:45:04 + docker inspect -f . ci-base-image-arm64 18:45:04 . [Pipeline] withDockerContainer 18:45:05 prd-ubuntu18.04-docker-arm64-4c-16g-33173 does not seem to be running inside a container 18:45:05 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:45:06 $ docker top b890f982a579bfbaaa49dc35e7c24e18b3a32ed67b7e7d9624737e9add503081 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:07 + go version 18:45:07 go version go1.15.5 linux/arm64 [Pipeline] } 18:45:07 $ docker stop --time=1 b890f982a579bfbaaa49dc35e7c24e18b3a32ed67b7e7d9624737e9add503081 18:45:09 $ docker rm -f b890f982a579bfbaaa49dc35e7c24e18b3a32ed67b7e7d9624737e9add503081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:10 + docker inspect -f . ci-base-image-arm64 18:45:10 . [Pipeline] withDockerContainer 18:45:10 prd-ubuntu18.04-docker-arm64-4c-16g-33173 does not seem to be running inside a container 18:45:10 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:45:12 $ docker top 9a4f7cbe1b9adfb2218605f970eca8669aa23bfd107f539be049af75000ad136 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:13 + make test 18:45:13 make -C ./app-service-template build 18:45:13 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:13 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:45:16 Removing intermediate container e5bebffa3eb9 18:45:16 ---> 2ba1d25789e5 18:45:16 Successfully built 2ba1d25789e5 18:45:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:45:17 + docker inspect -f . ci-base-image-x86_64 18:45:17 . [Pipeline] withDockerContainer 18:45:17 prd-centos7-docker-4c-2g-33174 does not seem to be running inside a container 18:45:17 $ 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-x86_64 cat 18:45:17 $ docker top cc2f3379f8815bf1ff35d53fdd5ab23e996a543355567ac40b41250abaf55cf1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:18 + go version 18:45:18 go version go1.15.5 linux/amd64 [Pipeline] } 18:45:18 $ docker stop --time=1 cc2f3379f8815bf1ff35d53fdd5ab23e996a543355567ac40b41250abaf55cf1 18:45:19 $ docker rm -f cc2f3379f8815bf1ff35d53fdd5ab23e996a543355567ac40b41250abaf55cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:20 + docker inspect -f . ci-base-image-x86_64 18:45:20 . [Pipeline] withDockerContainer 18:45:20 prd-centos7-docker-4c-2g-33174 does not seem to be running inside a container 18:45:20 $ 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-x86_64 cat 18:45:21 $ docker top 12de4e2027c6622f1d2848f7f1c674319f72823bfb40bdb61d57f4602c3e1e31 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:21 + make test 18:45:21 make -C ./app-service-template build 18:45:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:21 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:45:36 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:36 make -C ./app-service-template test 18:45:36 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:36 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:45:42 ok new-app-service 0.016s coverage: 47.8% of statements 18:45:42 ? new-app-service/config [no test files] 18:45:42 ok new-app-service/functions 0.010s 18:45:42 CGO_ENABLED=1 go vet ./... 18:45:45 gofmt -l . 18:45:45 [ "`gofmt -l .`" = "" ] 18:45:45 ./bin/test-go-mod-tidy.sh 18:45:45 ./bin/test-attribution-txt.sh 18:45:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:45:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:45:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.032s coverage: 55.8% of statements 18:45:48 --- FAIL: TestContext_GetSecret (0.00s) 18:45:48 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:45:48 panic: runtime error: invalid memory address or nil pointer dereference 18:45:48 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x74d8a4] 18:45:48 18:45:48 goroutine 48 [running]: 18:45:48 testing.tRunner.func1.1(0x79ca80, 0xa6dec0) 18:45:48 /usr/local/go/src/testing/testing.go:1072 +0x30d 18:45:48 testing.tRunner.func1(0xc000309800) 18:45:48 /usr/local/go/src/testing/testing.go:1075 +0x41a 18:45:48 panic(0x79ca80, 0xa6dec0) 18:45:48 /usr/local/go/src/runtime/panic.go:969 +0x1b9 18:45:48 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0xc000281570, 0x80727f, 0x4, 0x0, 0x0, 0x0, 0xc00032a000, 0xa3edc0, 0x826040) 18:45:48 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0xa4 18:45:48 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.TestContext_GetSecret(0xc000309800) 18:45:48 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context_test.go:245 +0x311 18:45:48 testing.tRunner(0xc000309800, 0x825160) 18:45:48 /usr/local/go/src/testing/testing.go:1123 +0xef 18:45:48 created by testing.(*T).Run 18:45:48 /usr/local/go/src/testing/testing.go:1168 +0x2b3 18:45:48 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.030s 18:45:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:45:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.031s coverage: 61.5% of statements 18:45:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:45:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.040s coverage: 75.4% of statements 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.020s coverage: 10.5% of statements 18:45:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:52 make -C ./app-service-template test 18:45:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:45:52 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:45:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.743s coverage: 78.4% of statements 18:45:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:45:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s coverage: 18.4% of statements 18:45:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.044s coverage: 27.3% of statements 18:45:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:45:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:45:52 --- FAIL: TestGetSecrets (0.00s) 18:45:52 --- FAIL: TestGetSecrets/Auth_No_Secrets_found (0.00s) 18:45:52 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:45:52 panic: runtime error: invalid memory address or nil pointer dereference 18:45:52 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x66015a] 18:45:52 18:45:52 goroutine 33 [running]: 18:45:52 testing.tRunner.func1.1(0x6a1380, 0x8c2370) 18:45:52 /usr/local/go/src/testing/testing.go:1072 +0x30d 18:45:52 testing.tRunner.func1(0xc00034ac00) 18:45:52 /usr/local/go/src/testing/testing.go:1075 +0x41a 18:45:52 panic(0x6a1380, 0x8c2370) 18:45:52 /usr/local/go/src/runtime/panic.go:969 +0x1b9 18:45:52 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0xc000339570, 0x6f1509, 0x9, 0x0, 0x0, 0x0, 0xd0, 0x7f0848, 0x895a00) 18:45:52 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0x9a 18:45:52 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure.MqttFactory.getSecrets(0x74c320, 0xc000339570, 0x0, 0x0, 0x6f075a, 0x6, 0x6f1509, 0x9, 0x0, 0x0, ...) 18:45:52 /w/workspace/app-functions-sdk-go/2/pkg/secure/mqttfactory.go:104 +0xa7 18:45:52 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure.TestGetSecrets.func2(0xc00034ac00) 18:45:52 /w/workspace/app-functions-sdk-go/2/pkg/secure/mqttfactory_test.go:222 +0xb8 18:45:52 testing.tRunner(0xc00034ac00, 0xc0002e7600) 18:45:52 /usr/local/go/src/testing/testing.go:1123 +0xef 18:45:52 created by testing.(*T).Run 18:45:52 /usr/local/go/src/testing/testing.go:1168 +0x2b3 18:45:52 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s 18:46:10 ok new-app-service 0.037s coverage: 47.8% of statements 18:46:10 ? new-app-service/config [no test files] 18:46:11 ok new-app-service/functions 0.029s 18:46:11 CGO_ENABLED=1 go vet ./... 18:46:19 --- FAIL: TestNewEncryptionWithSecrets (0.00s) 18:46:19 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:46:19 panic: runtime error: invalid memory address or nil pointer dereference 18:46:19 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7a9d5a] 18:46:19 18:46:19 goroutine 72 [running]: 18:46:19 testing.tRunner.func1.1(0x8138c0, 0xb35c90) 18:46:19 /usr/local/go/src/testing/testing.go:1072 +0x30d 18:46:19 testing.tRunner.func1(0xc000082c00) 18:46:19 /usr/local/go/src/testing/testing.go:1075 +0x41a 18:46:19 panic(0x8138c0, 0xb35c90) 18:46:19 /usr/local/go/src/runtime/panic.go:969 +0x1b9 18:46:19 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0xc00030d570, 0x889465, 0x3, 0xc000098140, 0x1, 0x1, 0x0, 0xc000056c70, 0xc000056df0) 18:46:19 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0x9a 18:46:19 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.Encryption.EncryptWithAES(0x889465, 0x3, 0x88a5ab, 0x6, 0x0, 0x0, 0x895b6c, 0x1e, 0x918a00, 0xc00030d570, ...) 18:46:19 /w/workspace/app-functions-sdk-go/2/pkg/transforms/encryption.go:92 +0x65d 18:46:19 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestNewEncryptionWithSecrets(0xc000082c00) 18:46:19 /w/workspace/app-functions-sdk-go/2/pkg/transforms/encryption_test.go:105 +0x4c5 18:46:19 testing.tRunner(0xc000082c00, 0x8ac678) 18:46:19 /usr/local/go/src/testing/testing.go:1123 +0xef 18:46:19 created by testing.(*T).Run 18:46:19 /usr/local/go/src/testing/testing.go:1168 +0x2b3 18:46:19 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s 18:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 18:46:19 FAIL 18:46:19 make: *** [Makefile:28: test-sdk] Error 1 [Pipeline] } 18:46:19 $ docker stop --time=1 12de4e2027c6622f1d2848f7f1c674319f72823bfb40bdb61d57f4602c3e1e31 18:46:20 $ docker rm -f 12de4e2027c6622f1d2848f7f1c674319f72823bfb40bdb61d57f4602c3e1e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage 18:46:21 gofmt -l . 18:46:21 [ "`gofmt -l .`" = "" ] 18:46:21 ./bin/test-go-mod-tidy.sh [Pipeline] libraryResource [Pipeline] sh 18:46:22 ---> job-cost.sh 18:46:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5O1s 18:46:22 ./bin/test-attribution-txt.sh 18:46:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:46:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:46:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.079s coverage: 55.8% of statements 18:46:35 --- FAIL: TestContext_GetSecret (0.00s) 18:46:35 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:46:35 panic: runtime error: invalid memory address or nil pointer dereference 18:46:35 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x2d6544] 18:46:35 18:46:35 goroutine 55 [running]: 18:46:35 testing.tRunner.func1.1(0x32abe0, 0x5fad90) 18:46:35 /usr/local/go/src/testing/testing.go:1072 +0x240 18:46:35 testing.tRunner.func1(0x4000363500) 18:46:35 /usr/local/go/src/testing/testing.go:1075 +0x34c 18:46:35 panic(0x32abe0, 0x5fad90) 18:46:35 /usr/local/go/src/runtime/panic.go:969 +0x15c 18:46:35 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0x400033b570, 0x395219, 0x4, 0x0, 0x0, 0x0, 0x4000313400, 0x4bf2f0, 0x5cbca0) 18:46:35 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0xa4 18:46:35 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.TestContext_GetSecret(0x4000363500) 18:46:35 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context_test.go:245 +0x2c0 18:46:35 testing.tRunner(0x4000363500, 0x3b3170) 18:46:35 /usr/local/go/src/testing/testing.go:1123 +0xdc 18:46:35 created by testing.(*T).Run 18:46:35 /usr/local/go/src/testing/testing.go:1168 +0x244 18:46:35 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.035s 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.069s coverage: 61.5% of statements 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.125s 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.078s coverage: 75.4% of statements 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.039s coverage: 97.0% of statements 18:46:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:46:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.034s coverage: 10.5% of statements 18:46:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:46:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.810s coverage: 78.4% of statements 18:46:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:46:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.028s coverage: 18.4% of statements 18:46:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.062s coverage: 27.3% of statements 18:46:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:46:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:46:42 --- FAIL: TestGetSecrets (0.00s) 18:46:42 --- FAIL: TestGetSecrets/Auth_No_Secrets_found (0.00s) 18:46:42 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:46:42 panic: runtime error: invalid memory address or nil pointer dereference 18:46:42 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x217fd4] 18:46:42 18:46:42 goroutine 21 [running]: 18:46:42 testing.tRunner.func1.1(0x25b4c0, 0x488230) 18:46:42 /usr/local/go/src/testing/testing.go:1072 +0x240 18:46:42 testing.tRunner.func1(0x4000292180) 18:46:42 /usr/local/go/src/testing/testing.go:1075 +0x34c 18:46:42 panic(0x25b4c0, 0x488230) 18:46:42 /usr/local/go/src/runtime/panic.go:969 +0x15c 18:46:42 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0x4000281570, 0x2ab54b, 0x9, 0x0, 0x0, 0x0, 0xffffb2231108, 0x3a81f0, 0x45b8c0) 18:46:42 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0x94 18:46:42 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure.MqttFactory.getSecrets(0x306480, 0x4000281570, 0x0, 0x0, 0x2aa6e1, 0x6, 0x2ab54b, 0x9, 0x0, 0x0, ...) 18:46:42 /w/workspace/app-functions-sdk-go/2/pkg/secure/mqttfactory.go:104 +0x88 18:46:42 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure.TestGetSecrets.func2(0x4000292180) 18:46:42 /w/workspace/app-functions-sdk-go/2/pkg/secure/mqttfactory_test.go:222 +0xa0 18:46:42 testing.tRunner(0x4000292180, 0x40001f7640) 18:46:42 /usr/local/go/src/testing/testing.go:1123 +0xdc 18:46:42 created by testing.(*T).Run 18:46:42 /usr/local/go/src/testing/testing.go:1168 +0x244 18:46:42 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.053s 18:47:03 lf-activate-venv(): INFO: Adding /tmp/venv-5O1s/bin to PATH 18:47:03 INFO: No Stack... 18:47:03 INFO: Retrieving Pricing Info for: v1-standard-2 18:47:03 INFO: Archiving Costs [Pipeline] sh 18:47:04 + cut -d, -f6 18:47:04 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock 18:47:04 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] 18:47:04 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] did not exist. Created. 18:47:04 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:04 + echo total: 0.029999999329447746 [Pipeline] stash 18:47:05 Stashed 1 file(s) [Pipeline] } 18:47:05 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:05 Failed in branch amd64 18:47:09 --- FAIL: TestNewEncryptionWithSecrets (0.00s) 18:47:09 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 18:47:09 panic: runtime error: invalid memory address or nil pointer dereference 18:47:09 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x324ec4] 18:47:09 18:47:09 goroutine 43 [running]: 18:47:09 testing.tRunner.func1.1(0x391a40, 0x6bcb20) 18:47:09 /usr/local/go/src/testing/testing.go:1072 +0x240 18:47:09 testing.tRunner.func1(0x4000001980) 18:47:09 /usr/local/go/src/testing/testing.go:1075 +0x34c 18:47:09 panic(0x391a40, 0x6bcb20) 18:47:09 /usr/local/go/src/runtime/panic.go:969 +0x15c 18:47:09 github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction.(*Context).GetSecret(0x40002c9570, 0x407447, 0x3, 0x400030a170, 0x1, 0x1, 0x0, 0x1b710, 0x400000e100) 18:47:09 /w/workspace/app-functions-sdk-go/2/internal/appfunction/context.go:188 +0x94 18:47:09 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.Encryption.EncryptWithAES(0x407447, 0x3, 0x408592, 0x6, 0x0, 0x0, 0x413c3c, 0x1e, 0x496be0, 0x40002c9570, ...) 18:47:09 /w/workspace/app-functions-sdk-go/2/pkg/transforms/encryption.go:92 +0x53c 18:47:09 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestNewEncryptionWithSecrets(0x4000001980) 18:47:09 /w/workspace/app-functions-sdk-go/2/pkg/transforms/encryption_test.go:105 +0x3dc 18:47:09 testing.tRunner(0x4000001980, 0x42a6f0) 18:47:09 /usr/local/go/src/testing/testing.go:1123 +0xdc 18:47:09 created by testing.(*T).Run 18:47:09 /usr/local/go/src/testing/testing.go:1168 +0x244 18:47:09 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s 18:47:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 18:47:09 FAIL 18:47:09 make: *** [Makefile:28: test-sdk] Error 1 [Pipeline] } 18:47:09 $ docker stop --time=1 9a4f7cbe1b9adfb2218605f970eca8669aa23bfd107f539be049af75000ad136 18:47:11 $ docker rm -f 9a4f7cbe1b9adfb2218605f970eca8669aa23bfd107f539be049af75000ad136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:47:12 ---> job-cost.sh 18:47:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wWnc 18:47:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:49:28 lf-activate-venv(): INFO: Adding /tmp/venv-wWnc/bin to PATH 18:49:28 INFO: No Stack... 18:49:28 INFO: Retrieving Pricing Info for: lf-standard-4 18:49:28 INFO: Archiving Costs [Pipeline] sh 18:49:28 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 18:49:28 + cut -d, -f6 [Pipeline] lock 18:49:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] 18:49:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] did not exist. Created. 18:49:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:29 /w/workspace/app-functions-sdk-go/2@tmp/durable-b6c2fda5/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-b6c2fda5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:49:29 + echo total: 0.20999999344348907 [Pipeline] stash 18:49:29 Warning: overwriting stash ‘stack-cost’ 18:49:30 Stashed 1 file(s) [Pipeline] } 18:49:30 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-784-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:49:31 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:49:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:49:34 ---> package-listing.sh 18:49:34 ++ facter osfamily 18:49:34 ++ tr '[:upper:]' '[:lower:]' 18:49:34 + OS_FAMILY=redhat 18:49:34 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-784 18:49:34 + START_PACKAGES=/tmp/packages_start.txt 18:49:34 + END_PACKAGES=/tmp/packages_end.txt 18:49:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:49:34 + PACKAGES=/tmp/packages_start.txt 18:49:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-784 ']' 18:49:34 + PACKAGES=/tmp/packages_end.txt 18:49:34 + case "${OS_FAMILY}" in 18:49:34 + rpm -qa 18:49:34 + sort 18:49:39 + '[' -f /tmp/packages_start.txt ']' 18:49:39 + '[' -f /tmp/packages_end.txt ']' 18:49:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:49:39 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-784 ']' 18:49:39 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-784/archives/ 18:49:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-784/archives/ [Pipeline] echo 18:49:39 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-784/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:49:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:49:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:49:40 18:49:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:49:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:49:40 alpine: Pulling from edgex-lftools-log-publisher 18:49:40 df20fa9351a1: Pulling fs layer 18:49:40 36b3adc4ff6f: Pulling fs layer 18:49:40 8ad3a11d3b57: Pulling fs layer 18:49:40 46f8f816bc3b: Pulling fs layer 18:49:40 93b61091891f: Pulling fs layer 18:49:40 93b9cdb0e59b: Pulling fs layer 18:49:40 5e14af77c1be: Pulling fs layer 18:49:40 01666e4c0597: Pulling fs layer 18:49:40 aa168da1d23b: Pulling fs layer 18:49:40 93b61091891f: Waiting 18:49:40 93b9cdb0e59b: Waiting 18:49:40 01666e4c0597: Waiting 18:49:40 5e14af77c1be: Waiting 18:49:40 46f8f816bc3b: Waiting 18:49:40 36b3adc4ff6f: Verifying Checksum 18:49:40 36b3adc4ff6f: Download complete 18:49:41 46f8f816bc3b: Verifying Checksum 18:49:41 46f8f816bc3b: Download complete 18:49:41 df20fa9351a1: Download complete 18:49:41 93b9cdb0e59b: Verifying Checksum 18:49:41 93b9cdb0e59b: Download complete 18:49:41 93b61091891f: Verifying Checksum 18:49:41 93b61091891f: Download complete 18:49:41 01666e4c0597: Verifying Checksum 18:49:41 01666e4c0597: Download complete 18:49:41 5e14af77c1be: Verifying Checksum 18:49:41 5e14af77c1be: Download complete 18:49:41 df20fa9351a1: Pull complete 18:49:41 36b3adc4ff6f: Pull complete 18:49:41 8ad3a11d3b57: Verifying Checksum 18:49:41 8ad3a11d3b57: Download complete 18:49:42 8ad3a11d3b57: Pull complete 18:49:42 46f8f816bc3b: Pull complete 18:49:43 93b61091891f: Pull complete 18:49:43 aa168da1d23b: Verifying Checksum 18:49:43 aa168da1d23b: Download complete 18:49:44 93b9cdb0e59b: Pull complete 18:49:44 5e14af77c1be: Pull complete 18:49:44 01666e4c0597: Pull complete 18:49:52 aa168da1d23b: Pull complete 18:49:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:49:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:49:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:49:52 prd-centos7-docker-4c-2g-33171 does not seem to be running inside a container 18:49:52 $ 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-784/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-784 -v /w/workspace/ndry_app-functions-sdk-go_PR-784:/w/workspace/ndry_app-functions-sdk-go_PR-784:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-784@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-784@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 18:49:55 $ docker top 2dc4b52470890f507557cb0141a05b04921210e5a224e7be9d56533d4111a4e0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:56 + touch /tmp/pre-build-complete [Pipeline] sh 18:49:56 + mkdir -p /var/log/sa [Pipeline] sh 18:49:56 + ls /var/log/sa-host 18:49:56 + sadf -c /var/log/sa-host/sa07 18:49:56 file_magic: OK 18:49:56 HZ: Using current value: 100 18:49:56 file_header: OK 18:49:56 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 18:49:56 Statistics: 18:49:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:49:56 File successfully converted to sysstat format version 12.2.1 18:49:56 + sadf -c /var/log/sa-host/sa23 18:49:56 file_magic: OK 18:49:56 HZ: Using current value: 100 18:49:56 file_header: OK 18:49:56 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 18:49:56 Statistics: 18:49:56 Hnuu...uuuununununu... 18:49:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:56 provisioning config files... 18:49:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-784@tmp/config7328954197687187408tmp [Pipeline] { [Pipeline] echo 18:49:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:49:57 ---> create-netrc.sh [Pipeline] } 18:49:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:49:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:49:57 ---> python-tools-install.sh [Pipeline] echo 18:49:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:49:58 ---> sudo-logs.sh 18:49:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:49:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:49:58 ---> job-cost.sh 18:49:58 lf-activate-venv: SKIPPING 18:49:58 DEBUG: total: 0.20999999344348907 18:49:58 INFO: Retrieving Stack Cost... 18:49:59 INFO: Retrieving Pricing Info for: v1-standard-2 18:50:00 INFO: Archiving Costs [Pipeline] echo 18:50:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:50:00 ---> logs-deploy.sh 18:50:00 lf-activate-venv: SKIPPING 18:50:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-784/2 18:50:00 INFO: archiving workspace using pattern(s): 18:50:02 Archives upload complete. 18:50:02 INFO: archiving logs to Nexus 18:50:03 ---> uname -a: 18:50:03 Linux prd-centos7-docker-4c-2g-33171.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:50:03 18:50:03 18:50:03 ---> lscpu: 18:50:03 Architecture: x86_64 18:50:03 CPU op-mode(s): 32-bit, 64-bit 18:50:03 Byte Order: Little Endian 18:50:03 Address sizes: 40 bits physical, 48 bits virtual 18:50:03 CPU(s): 4 18:50:03 On-line CPU(s) list: 0-3 18:50:03 Thread(s) per core: 1 18:50:03 Core(s) per socket: 1 18:50:03 Socket(s): 4 18:50:03 NUMA node(s): 1 18:50:03 Vendor ID: GenuineIntel 18:50:03 CPU family: 6 18:50:03 Model: 44 18:50:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:50:03 Stepping: 1 18:50:03 CPU MHz: 2933.442 18:50:03 BogoMIPS: 5866.88 18:50:03 Virtualization: VT-x 18:50:03 Hypervisor vendor: KVM 18:50:03 Virtualization type: full 18:50:03 L1d cache: 128 KiB 18:50:03 L1i cache: 128 KiB 18:50:03 L2 cache: 16 MiB 18:50:03 L3 cache: 64 MiB 18:50:03 NUMA node0 CPU(s): 0-3 18:50:03 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:50:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:50:03 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:50:03 Vulnerability Meltdown: Mitigation; PTI 18:50:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:50:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:50:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:50:03 Vulnerability Srbds: Not affected 18:50:03 Vulnerability Tsx async abort: Not affected 18:50:03 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 18:50:03 18:50:03 18:50:03 ---> nproc: 18:50:03 4 18:50:03 18:50:03 18:50:03 ---> df -h: 18:50:03 Filesystem Size Used Available Use% Mounted on 18:50:03 overlay 50.0G 7.3G 42.7G 15% / 18:50:03 tmpfs 64.0M 0 64.0M 0% /dev 18:50:03 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:50:03 shm 64.0M 0 64.0M 0% /dev/shm 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-784 18:50:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-784@tmp 18:50:03 18:50:03 18:50:03 ---> free -m: 18:50:03 total used free shared buff/cache available 18:50:03 Mem: 1837 696 99 0 1041 1036 18:50:03 Swap: 1023 1 1022 18:50:03 18:50:03 18:50:03 ---> ip addr: 18:50:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:50:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:50:03 inet 127.0.0.1/8 scope host lo 18:50:03 valid_lft forever preferred_lft forever 18:50:03 inet6 ::1/128 scope host 18:50:03 valid_lft forever preferred_lft forever 18:50:03 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:50:03 link/ether fa:16:3e:bc:1b:17 brd ff:ff:ff:ff:ff:ff 18:50:03 inet 10.30.123.214/23 brd 10.30.123.255 scope global dynamic eth0 18:50:03 valid_lft 85829sec preferred_lft 85829sec 18:50:03 inet6 fe80::f816:3eff:febc:1b17/64 scope link 18:50:03 valid_lft forever preferred_lft forever 18:50:03 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:50:03 link/ether 02:42:3b:65:3e:9a brd ff:ff:ff:ff:ff:ff 18:50:03 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:50:03 valid_lft forever preferred_lft forever 18:50:03 inet6 fe80::42:3bff:fe65:3e9a/64 scope link 18:50:03 valid_lft forever preferred_lft forever 18:50:03 18:50:03 18:50:03 ---> sar -b -r -n DEV: 18:50:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/07/21 _x86_64_ (4 CPU) 18:50:03 18:50:03 18:40:20 LINUX RESTART (4 CPU) 18:50:03 18:50:03 18:41:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:50:03 18:42:01 52.25 13.98 38.27 0.00 4581.03 4967.30 0.00 18:50:03 18:43:02 1.96 0.00 1.96 0.00 0.00 38.58 0.00 18:50:03 18:44:01 0.24 0.00 0.24 0.00 0.00 3.03 0.00 18:50:03 18:45:01 0.37 0.00 0.37 0.00 0.00 6.03 0.00 18:50:03 18:46:01 0.22 0.00 0.22 0.00 0.00 2.75 0.00 18:50:03 18:47:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 18:50:03 18:48:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 18:50:03 18:49:01 0.22 0.00 0.22 0.00 0.00 2.56 0.00 18:50:03 Average: 6.99 1.75 5.24 0.00 574.22 630.05 0.00 18:50:03 18:50:03 18:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:50:03 18:42:01 217644 0 592588 31.49 2620 1068692 1112452 37.97 399412 1065556 136 18:50:03 18:43:02 222764 0 587460 31.22 2620 1068700 1072824 36.61 398344 1062416 20 18:50:03 18:44:01 222456 0 587764 31.24 2620 1068704 1072884 36.62 400900 1060224 8 18:50:03 18:45:01 220348 0 589868 31.35 2620 1068708 1072872 36.62 402800 1060072 12 18:50:03 18:46:01 221020 0 589136 31.31 2620 1068768 1072788 36.61 413488 1049628 20 18:50:03 18:47:01 218064 0 592144 31.47 2620 1068716 1072752 36.61 421708 1044288 12 18:50:03 18:48:01 218284 0 591920 31.46 2620 1068720 1072972 36.62 421524 1044284 16 18:50:03 18:49:01 218160 0 592040 31.47 2620 1068724 1072972 36.62 421552 1044284 8 18:50:03 Average: 219842 0 590365 31.38 2620 1068716 1077814 36.78 409966 1053844 29 18:50:03 18:50:03 18:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:50:03 18:42:01 eth0 318.72 270.02 1087.44 70.47 0.00 0.00 0.00 0.00 18:50:03 18:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:42:01 docker0 89.50 78.29 8.53 309.16 0.00 0.00 0.00 0.00 18:50:03 18:43:02 eth0 1.17 0.30 0.32 0.17 0.00 0.00 0.00 0.00 18:50:03 18:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:43:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:44:01 eth0 1.07 0.49 0.33 0.24 0.00 0.00 0.00 0.00 18:50:03 18:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:45:01 eth0 0.53 0.40 0.29 0.21 0.00 0.00 0.00 0.00 18:50:03 18:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:46:01 eth0 0.20 0.18 0.08 0.07 0.00 0.00 0.00 0.00 18:50:03 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:47:01 eth0 0.22 0.13 0.07 0.01 0.00 0.00 0.00 0.00 18:50:03 18:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:48:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:50:03 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:49:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:50:03 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 Average: eth0 40.37 34.06 136.45 8.92 0.00 0.00 0.00 0.00 18:50:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:03 Average: docker0 11.22 9.81 1.07 38.75 0.00 0.00 0.00 0.00 18:50:03 18:50:03 18:50:03 ---> sar -P ALL: 18:50:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/07/21 _x86_64_ (4 CPU) 18:50:03 18:50:03 18:40:20 LINUX RESTART (4 CPU) 18:50:03 18:50:03 18:41:01 CPU %user %nice %system %iowait %steal %idle 18:50:03 18:42:01 all 5.69 0.00 2.92 1.09 0.07 90.23 18:50:03 18:42:01 0 5.75 0.00 3.56 2.99 0.07 87.62 18:50:03 18:42:01 1 4.41 0.00 2.23 0.39 0.08 92.89 18:50:03 18:42:01 2 6.78 0.00 2.83 0.70 0.07 89.61 18:50:03 18:42:01 3 5.81 0.00 3.06 0.27 0.07 90.79 18:50:03 18:43:02 all 0.22 0.00 0.06 0.00 0.02 99.71 18:50:03 18:43:02 0 0.08 0.00 0.03 0.00 0.00 99.88 18:50:03 18:43:02 1 0.08 0.00 0.08 0.00 0.03 99.80 18:50:03 18:43:02 2 0.55 0.00 0.05 0.00 0.02 99.38 18:50:03 18:43:02 3 0.15 0.00 0.07 0.00 0.02 99.77 18:50:03 18:44:01 all 0.17 0.00 0.06 0.00 0.00 99.78 18:50:03 18:44:01 0 0.03 0.00 0.05 0.00 0.00 99.92 18:50:03 18:44:01 1 0.07 0.00 0.07 0.00 0.00 99.86 18:50:03 18:44:01 2 0.53 0.00 0.05 0.00 0.00 99.42 18:50:03 18:44:01 3 0.03 0.00 0.05 0.00 0.00 99.92 18:50:03 18:45:01 all 0.03 0.00 0.03 0.00 0.00 99.93 18:50:03 18:45:01 0 0.03 0.00 0.02 0.02 0.00 99.93 18:50:03 18:45:01 1 0.02 0.00 0.03 0.00 0.00 99.95 18:50:03 18:45:01 2 0.05 0.00 0.07 0.00 0.00 99.88 18:50:03 18:45:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:50:03 18:46:01 all 0.15 0.00 0.15 0.00 0.00 99.70 18:50:03 18:46:01 0 0.02 0.00 0.03 0.00 0.00 99.95 18:50:03 18:46:01 1 0.23 0.00 0.32 0.00 0.00 99.45 18:50:03 18:46:01 2 0.27 0.00 0.10 0.00 0.02 99.62 18:50:03 18:46:01 3 0.08 0.00 0.15 0.00 0.00 99.77 18:50:03 18:47:01 all 0.15 0.00 0.05 0.00 0.00 99.79 18:50:03 18:47:01 0 0.03 0.00 0.02 0.00 0.02 99.93 18:50:03 18:47:01 1 0.02 0.00 0.12 0.00 0.00 99.87 18:50:03 18:47:01 2 0.07 0.00 0.03 0.00 0.00 99.90 18:50:03 18:47:01 3 0.50 0.00 0.03 0.00 0.00 99.47 18:50:03 18:48:01 all 0.15 0.00 0.03 0.00 0.00 99.81 18:50:03 18:48:01 0 0.02 0.00 0.03 0.00 0.00 99.95 18:50:03 18:48:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:50:03 18:48:01 2 0.07 0.00 0.05 0.00 0.00 99.88 18:50:03 18:48:01 3 0.52 0.00 0.03 0.00 0.00 99.45 18:50:03 18:49:01 all 0.15 0.00 0.02 0.00 0.00 99.82 18:50:03 18:49:01 0 0.03 0.00 0.00 0.00 0.00 99.97 18:50:03 18:49:01 1 0.05 0.00 0.05 0.00 0.02 99.88 18:50:03 18:49:01 2 0.02 0.00 0.02 0.00 0.00 99.97 18:50:03 18:49:01 3 0.52 0.00 0.03 0.00 0.00 99.45 18:50:03 Average: all 0.84 0.00 0.41 0.14 0.01 98.60 18:50:03 Average: 0 0.75 0.00 0.47 0.37 0.01 98.40 18:50:03 Average: 1 0.61 0.00 0.36 0.05 0.02 98.96 18:50:03 Average: 2 1.04 0.00 0.40 0.09 0.01 98.46 18:50:03 Average: 3 0.95 0.00 0.43 0.03 0.01 98.58 18:50:03 18:50:03 18:50:03