Pull request #984 updated Connecting to https://api.github.com using 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 Obtained Jenkinsfile from 8f5015cc07e0b99297792cc41c5b524322fdfd1e+9cffd47191c984938c468f886111698baecf4146 (d6d4c9e6bf7bb1763a14c95bc4b201adce98cd7e) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8014726801188172618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5010595547509248408.key > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-984/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-984/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1566826086812402395.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4961985186089256223.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-984/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-984/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh743577302924102128.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk 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 Running on prd-centos7-docker-4c-2g-2421 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-984 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 8f5015cc07e0b99297792cc41c5b524322fdfd1e Merge succeeded, producing 53f5ae1411fb06ac9f154e0548299f60bb22ba46 Checking out Revision 53f5ae1411fb06ac9f154e0548299f60bb22ba46 (PR-984) [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/jenkins-gitclient-ssh8627651855550269542.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/jenkins-gitclient-ssh2526170791039705149.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f5015cc07e0b99297792cc41c5b524322fdfd1e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/jenkins-gitclient-ssh7990698352210829065.key > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53f5ae1411fb06ac9f154e0548299f60bb22ba46 # timeout=10 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e29958de0e4266c6c4f7134eecd1930165eacdea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:36:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:36:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:36:45 ========================================================= 11:36:45 EdgeX Global Pipelines Version Info 11:36:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:37:21 ------------------- 11:37:21 stable info: 11:37:21 ------------------- 11:37:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:37:21 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 11:37:21 Message: update stable to v1.0.210 11:37:22 ------------------- 11:37:22 experimental info: 11:37:22 ------------------- 11:37:22 Commited By: **** collab-it+edgex@linuxfoundation.org 11:37:22 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 11:37:22 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 11:37:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 11:38:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:38:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:38:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:38:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:38:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:38:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:38:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:38:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 11:38:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:38:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 11:38:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:38:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:38:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:38:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:38:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:38:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:38:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 11:38:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:39:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:39:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 11:39:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:39:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-984 [Pipeline] echo 11:39:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-984 [Pipeline] echo 11:39:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-984 [Pipeline] echo 11:39:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53f5ae1411fb06ac9f154e0548299f60bb22ba46 [Pipeline] echo 11:39:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53f5ae1 [Pipeline] echo 11:39:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:39:38 + git log --format=format:%s -1 53f5ae1411fb06ac9f154e0548299f60bb22ba46 [Pipeline] echo 11:39:41 GIT_COMMIT: 53f5ae1411fb06ac9f154e0548299f60bb22ba46, Commit Message: Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD [Pipeline] echo 11:39:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:41:46 11:41:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:41:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:41:54 latest: Pulling from edgex-devops/git-semver 11:41:54 a0d0a0d46f8b: Pulling fs layer 11:41:54 3e5f54012d9b: Pulling fs layer 11:41:54 4c7163046ea9: Pulling fs layer 11:41:54 0c2d73faf560: Pulling fs layer 11:41:54 0c2d73faf560: Waiting 11:41:54 3e5f54012d9b: Verifying Checksum 11:41:54 3e5f54012d9b: Download complete 11:41:54 a0d0a0d46f8b: Verifying Checksum 11:41:54 a0d0a0d46f8b: Download complete 11:41:54 0c2d73faf560: Verifying Checksum 11:41:54 0c2d73faf560: Download complete 11:41:54 4c7163046ea9: Verifying Checksum 11:41:54 4c7163046ea9: Download complete 11:41:54 a0d0a0d46f8b: Pull complete 11:41:54 3e5f54012d9b: Pull complete 11:41:54 4c7163046ea9: Pull complete 11:41:54 0c2d73faf560: Pull complete 11:41:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:41:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:41:55 prd-centos7-docker-4c-2g-2421 does not seem to be running inside a container 11:41:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-984 -v /w/workspace/ndry_app-functions-sdk-go_PR-984:/w/workspace/ndry_app-functions-sdk-go_PR-984:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:41:57 $ docker top 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:42:02 [ssh-agent] Looking for ssh-agent implementation... 11:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:42:03 $ docker exec 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 ssh-agent 11:42:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDIlGKN/agent.14 11:42:03 SSH_AGENT_PID=20 11:42:03 Running ssh-add (command line suppressed) 11:42:03 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_8882402156354626015.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_8882402156354626015.key) 11:42:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:42:06 + git tag --points-at HEAD [Pipeline] } 11:42:06 $ docker exec --env ******** --env ******** 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 ssh-agent -k 11:42:06 unset SSH_AUTH_SOCK; 11:42:06 unset SSH_AGENT_PID; 11:42:06 echo Agent pid 20 killed; 11:42:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:42:09 [ssh-agent] Looking for ssh-agent implementation... 11:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:42:09 $ docker exec 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 ssh-agent 11:42:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBhKDGo/agent.54 11:42:10 SSH_AGENT_PID=60 11:42:10 Running ssh-add (command line suppressed) 11:42:10 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_4954168384886246265.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_4954168384886246265.key) 11:42:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:42:16 + git semver init 11:42:16 # -> Open(): unable to determine branch for HEAD 11:42:16 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.git 11:42:16 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-984 11:42:16 # $SEMVER_REMOTE_NAME = origin 11:42:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:42:16 # $SEMVER_USER_NAME = edgex-jenkins 11:42:16 # $SEMVER_BRANCH = PR-984 11:42:16 # $SEMVER_TEMP = /tmp/semver-134272613 11:42:16 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 11:42:18 # '/tmp/semver-134272613' -> '/w/workspace/ndry_app-functions-sdk-go_PR-984/.semver' 11:42:18 # -> Force: false 11:42:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.semver [Pipeline] } 11:42:18 $ docker exec --env ******** --env ******** 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 ssh-agent -k 11:42:18 unset SSH_AUTH_SOCK; 11:42:18 unset SSH_AGENT_PID; 11:42:18 echo Agent pid 60 killed; 11:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:42:23 + git semver [Pipeline] } 11:42:24 $ docker stop --time=1 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 11:42:25 $ docker rm -f 1b19f47b0d15f63410f5e7a466b791668cbe49427ae1b4f10a4a09efd1d6d9b6 [Pipeline] // withDockerContainer [Pipeline] sh 11:42:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:42:38 Stashed 1 file(s) [Pipeline] echo 11:42:38 [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 11:43:11 Still waiting to schedule task 11:43:11 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2421’ 11:43:11 Still waiting to schedule task 11:43:11 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:45:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2422 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws 11:45:08 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 11:45:09 The recommended git tool is: git 11:45:37 using credential edgex-jenkins-ssh 11:45:37 Cloning the remote Git repository 11:45:37 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 11:45:37 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 11:45:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:45:37 > git --version # timeout=10 11:45:37 > git --version # 'git version 2.17.1' 11:45:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:45:42 Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 8f5015cc07e0b99297792cc41c5b524322fdfd1e 11:45:42 Merge succeeded, producing daefba69d110fc874c66fcb8f9595d997a80689a 11:45:42 Checking out Revision daefba69d110fc874c66fcb8f9595d997a80689a (PR-984) 11:45:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:45:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:45:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:45:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:45:41 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:45:42 > git config core.sparsecheckout # timeout=10 11:45:42 > git checkout -f 8f5015cc07e0b99297792cc41c5b524322fdfd1e # timeout=10 11:45:42 > git remote # timeout=10 11:45:42 > git config --get remote.origin.url # timeout=10 11:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:45:42 > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 11:45:42 > git rev-parse HEAD^{commit} # timeout=10 11:45:42 > git config core.sparsecheckout # timeout=10 11:45:42 > git checkout -f daefba69d110fc874c66fcb8f9595d997a80689a # timeout=10 11:45:52 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" 11:45:52 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 11:45:52 > git rev-list --no-walk e29958de0e4266c6c4f7134eecd1930165eacdea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:45:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:45:57 % Total % Received % Xferd Average Speed Time Time Time Current 11:45:57 Dload Upload Total Spent Left Speed 11:45:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 80986 0 --:--:-- --:--:-- --:--:-- 80986 [Pipeline] sh 11:45:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:46:00 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:46:00 sudo tee /etc/docker/daemon.new 11:46:00 { 11:46:00 "registry-mirrors": [ 11:46:00 "https://nexus3.edgexfoundry.org:10001" 11:46:00 ], 11:46:00 "bip": "10.250.0.254/24", 11:46:00 "hosts": [ 11:46:00 "tcp://0.0.0.0:5555", 11:46:00 "unix:///var/run/docker.sock" 11:46:00 ], 11:46:00 "mtu": 1458, 11:46:00 "selinux-enabled": true, 11:46:00 "seccomp-profile": "/etc/docker/seccomp.json" 11:46:00 } [Pipeline] sh 11:46:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:46:03 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 11:46:25 ========================================================= 11:46:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:46:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 11:46:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:46:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:46:28 552d1f2373af: Pulling fs layer 11:46:28 ea3f2d53f512: Pulling fs layer 11:46:28 9e70ebbbe112: Pulling fs layer 11:46:28 7a9cfe048b4a: Pulling fs layer 11:46:28 72dc09318566: Pulling fs layer 11:46:28 f4f7b4309257: Pulling fs layer 11:46:28 0ac9a79272e3: Pulling fs layer 11:46:28 b78e95d17946: Pulling fs layer 11:46:28 72dc09318566: Waiting 11:46:28 f4f7b4309257: Waiting 11:46:28 0ac9a79272e3: Waiting 11:46:28 b78e95d17946: Waiting 11:46:28 7a9cfe048b4a: Waiting 11:46:28 9e70ebbbe112: Download complete 11:46:29 ea3f2d53f512: Download complete 11:46:29 72dc09318566: Verifying Checksum 11:46:29 f4f7b4309257: Verifying Checksum 11:46:29 f4f7b4309257: Download complete 11:46:29 552d1f2373af: Verifying Checksum 11:46:29 552d1f2373af: Download complete 11:46:29 0ac9a79272e3: Verifying Checksum 11:46:29 0ac9a79272e3: Download complete 11:46:30 552d1f2373af: Pull complete 11:46:30 ea3f2d53f512: Pull complete 11:46:30 b78e95d17946: Verifying Checksum 11:46:30 b78e95d17946: Download complete 11:46:30 9e70ebbbe112: Pull complete 11:46:31 7a9cfe048b4a: Verifying Checksum 11:46:31 7a9cfe048b4a: Download complete 11:46:43 7a9cfe048b4a: Pull complete 11:46:43 72dc09318566: Pull complete 11:46:43 f4f7b4309257: Pull complete 11:46:43 0ac9a79272e3: Pull complete 11:46:48 b78e95d17946: Pull complete 11:46:48 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:46:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 11:46:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 11:46:49 + docker inspect -f . ci-base-image-arm64 11:46:49 . [Pipeline] withDockerContainer 11:46:50 prd-ubuntu18.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container 11:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:46:54 $ docker top 794647125da301fa290cb5b1a683dcdaa627aa610265cede4a8089908ed63bf1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:57 + go version 11:46:57 go version go1.16.8 linux/arm64 [Pipeline] } 11:46:57 $ docker stop --time=1 794647125da301fa290cb5b1a683dcdaa627aa610265cede4a8089908ed63bf1 11:46:58 $ docker rm -f 794647125da301fa290cb5b1a683dcdaa627aa610265cede4a8089908ed63bf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:47:02 + docker inspect -f . ci-base-image-arm64 11:47:02 . [Pipeline] withDockerContainer 11:47:04 prd-ubuntu18.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container 11:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:47:05 $ docker top b36827435b42a2b044ccbeae68d4ed04aef08df569daa6b395a368fef4ca5be5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:47:08 + make test 11:47:08 make -C ./app-service-template build 11:47:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:47:08 go mod tidy 11:47:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 11:47:09 go: downloading github.com/google/uuid v1.3.0 11:47:09 go: downloading github.com/stretchr/testify v1.7.0 11:47:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 11:47:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 11:47:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 11:47:09 go: downloading github.com/davecgh/go-spew v1.1.1 11:47:09 go: downloading github.com/pmezard/go-difflib v1.0.0 11:47:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 11:47:09 go: downloading github.com/AlexCuse/etm v0.0.0-20211022124535-b53962804cd5 11:47:09 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 11:47:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 11:47:09 go: downloading github.com/stretchr/objx v0.1.1 11:47:09 go: downloading github.com/go-playground/validator/v10 v10.9.0 11:47:09 go: downloading github.com/go-kit/kit v0.11.0 11:47:10 go: downloading github.com/gorilla/mux v1.8.0 11:47:10 go: downloading github.com/hashicorp/go-multierror v1.1.1 11:47:10 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 11:47:10 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 11:47:10 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 11:47:10 go: downloading github.com/mitchellh/copystructure v1.0.0 11:47:10 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 11:47:10 go: downloading github.com/hashicorp/consul/api v1.9.1 11:47:10 go: downloading github.com/gorilla/websocket v1.4.2 11:47:10 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 11:47:10 go: downloading github.com/pelletier/go-toml v1.9.4 11:47:10 go: downloading github.com/hashicorp/errwrap v1.0.0 11:47:10 go: downloading github.com/go-playground/universal-translator v0.18.0 11:47:10 go: downloading github.com/leodido/go-urn v1.2.1 11:47:10 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 11:47:10 go: downloading golang.org/x/text v0.3.6 11:47:10 go: downloading github.com/go-playground/assert/v2 v2.0.1 11:47:10 go: downloading github.com/go-playground/locales v0.14.0 11:47:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 11:47:13 go: downloading github.com/kr/pretty v0.3.0 11:47:13 go: downloading github.com/x448/float16 v0.8.4 11:47:13 go: downloading github.com/go-logfmt/logfmt v0.5.0 11:47:13 go: downloading github.com/go-stack/stack v1.8.0 11:47:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 11:47:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 11:47:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 11:47:13 go: downloading github.com/hashicorp/serf v0.9.5 11:47:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 11:47:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 11:47:13 go: downloading github.com/hashicorp/go-uuid v1.0.1 11:47:13 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 11:47:13 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 11:47:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:47:13 go: downloading github.com/kr/text v0.2.0 11:47:13 go: downloading github.com/rogpeppe/go-internal v1.8.0 11:47:13 go: downloading github.com/fatih/color v1.9.0 11:47:13 go: downloading github.com/mattn/go-colorable v0.1.6 11:47:13 go: downloading github.com/mattn/go-isatty v0.0.12 11:47:13 go: downloading github.com/mitchellh/go-homedir v1.1.0 11:47:13 go: downloading github.com/pkg/errors v0.9.1 11:47:14 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 11:47:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 11:47:14 go: downloading github.com/pebbe/zmq4 v1.2.7 11:47:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:47:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:47:14 go: downloading github.com/hashicorp/go-msgpack v0.5.3 11:47:14 go: downloading github.com/hashicorp/memberlist v0.2.2 11:47:14 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 11:47:14 go: downloading github.com/onsi/ginkgo v1.10.1 11:47:14 go: downloading github.com/onsi/gomega v1.7.0 11:47:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 11:47:14 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:47:14 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:47:14 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 11:47:14 go: downloading github.com/miekg/dns v1.1.26 11:47:18 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:47:18 go: downloading github.com/hashicorp/golang-lru v0.5.0 11:47:18 go: downloading gopkg.in/yaml.v2 v2.4.0 11:47:18 go: downloading github.com/hpcloud/tail v1.0.0 11:47:18 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 11:47:18 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 11:47:18 go: downloading github.com/golang/protobuf v1.5.2 11:47:18 go: downloading gopkg.in/fsnotify.v1 v1.4.7 11:47:18 go: downloading github.com/fsnotify/fsnotify v1.4.7 11:47:18 go: downloading google.golang.org/protobuf v1.27.1 11:47:18 go: downloading github.com/google/go-cmp v0.5.5 11:47:18 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 11:47:18 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 11:47:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:47:54 make -C ./app-service-template test 11:47:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:47:54 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 11:48:10 Running on prd-centos7-docker-4c-2g-2423 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws 11:48:10 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 11:48:12 The recommended git tool is: git 11:48:22 ok new-app-service 0.046s coverage: 48.1% of statements 11:48:22 ? new-app-service/config [no test files] 11:48:22 ok new-app-service/functions 0.046s 11:48:22 CGO_ENABLED=1 go vet ./... 11:48:43 using credential edgex-jenkins-ssh 11:48:43 Cloning the remote Git repository 11:48:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 11:48:44 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 11:48:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:48:44 > git --version # timeout=10 11:48:44 > git --version # 'git version 2.24.4' 11:48:44 using GIT_SSH to set credentials SSH Credentials for GitHub 11:48:44 [INFO] Currently running in a labeled security context 11:48:44 [INFO] Currently SELinux is 'enforcing' on the host 11:48:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh5613154097632932851.key 11:48:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:48:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:48:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:48:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 11:48:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 11:48:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:48:46 [INFO] Currently running in a labeled security context 11:48:46 [INFO] Currently SELinux is 'enforcing' on the host 11:48:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh103713913474693303.key 11:48:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:48:47 Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 8f5015cc07e0b99297792cc41c5b524322fdfd1e 11:48:47 Merge succeeded, producing be6100c37e2157044ab64176a1f6023005b5a3f3 11:48:47 Checking out Revision be6100c37e2157044ab64176a1f6023005b5a3f3 (PR-984) 11:48:47 > git config core.sparsecheckout # timeout=10 11:48:47 > git checkout -f 8f5015cc07e0b99297792cc41c5b524322fdfd1e # timeout=10 11:48:47 > git remote # timeout=10 11:48:47 > git config --get remote.origin.url # timeout=10 11:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 11:48:47 [INFO] Currently running in a labeled security context 11:48:47 [INFO] Currently SELinux is 'enforcing' on the host 11:48:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/7@tmp/jenkins-gitclient-ssh81128539250571768.key 11:48:47 > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 11:48:47 > git rev-parse HEAD^{commit} # timeout=10 11:48:47 > git config core.sparsecheckout # timeout=10 11:48:47 > git checkout -f be6100c37e2157044ab64176a1f6023005b5a3f3 # timeout=10 11:48:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:48:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:48:52 ./bin/test-attribution-txt.sh 11:48:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:48:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:48:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 11:48:58 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" 11:48:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 11:48:58 > git rev-list --no-walk e29958de0e4266c6c4f7134eecd1930165eacdea # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:49:03 ========================================================= 11:49:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:49:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.146s coverage: 67.0% of statements 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.076s coverage: 93.7% of statements 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.137s coverage: 61.8% of statements 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.122s coverage: 75.7% of statements 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.024s coverage: 97.3% of statements 11:49:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 11:49:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.118s coverage: 10.5% of statements [Pipeline] sh 11:49:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:49:07 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:49:07 a0d0a0d46f8b: Pulling fs layer 11:49:07 31adcdaf11c8: Pulling fs layer 11:49:07 b8b176561691: Pulling fs layer 11:49:07 4527c011a84f: Pulling fs layer 11:49:07 5d74067f8e1e: Pulling fs layer 11:49:07 e0aca202a116: Pulling fs layer 11:49:07 3a43be97a3b4: Pulling fs layer 11:49:07 34cad66bf833: Pulling fs layer 11:49:07 b4e3c513aaa6: Pulling fs layer 11:49:07 3a43be97a3b4: Waiting 11:49:07 4527c011a84f: Waiting 11:49:07 5d74067f8e1e: Waiting 11:49:07 34cad66bf833: Waiting 11:49:07 e0aca202a116: Waiting 11:49:07 b4e3c513aaa6: Waiting 11:49:07 b8b176561691: Verifying Checksum 11:49:07 b8b176561691: Download complete 11:49:07 31adcdaf11c8: Verifying Checksum 11:49:07 31adcdaf11c8: Download complete 11:49:07 5d74067f8e1e: Verifying Checksum 11:49:07 5d74067f8e1e: Download complete 11:49:07 e0aca202a116: Verifying Checksum 11:49:07 e0aca202a116: Download complete 11:49:07 3a43be97a3b4: Verifying Checksum 11:49:07 3a43be97a3b4: Download complete 11:49:07 a0d0a0d46f8b: Verifying Checksum 11:49:07 a0d0a0d46f8b: Download complete 11:49:07 34cad66bf833: Verifying Checksum 11:49:07 34cad66bf833: Download complete 11:49:07 a0d0a0d46f8b: Pull complete 11:49:07 31adcdaf11c8: Pull complete 11:49:07 b8b176561691: Pull complete 11:49:07 4527c011a84f: Verifying Checksum 11:49:07 4527c011a84f: Download complete 11:49:07 b4e3c513aaa6: Verifying Checksum 11:49:07 b4e3c513aaa6: Download complete 11:49:11 4527c011a84f: Pull complete 11:49:11 5d74067f8e1e: Pull complete 11:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.181s coverage: 77.0% of statements 11:49:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 11:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 14.9% of statements 11:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.097s coverage: 27.3% of statements 11:49:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 11:49:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 11:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.048s coverage: 51.4% of statements 11:49:11 e0aca202a116: Pull complete 11:49:11 3a43be97a3b4: Pull complete 11:49:11 34cad66bf833: Pull complete 11:49:13 b4e3c513aaa6: Pull complete 11:49:13 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 11:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:49:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 11:49:17 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 11:49:19 + docker inspect -f . ci-base-image-x86_64 11:49:19 . [Pipeline] withDockerContainer 11:49:21 prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container 11:49:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:49:23 $ docker top 37199aae6c1de606b5cf1d463061add9ae0851e61457b5ed8267d2d36bdd43e2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:25 + go version 11:49:25 go version go1.16.8 linux/amd64 [Pipeline] } 11:49:25 $ docker stop --time=1 37199aae6c1de606b5cf1d463061add9ae0851e61457b5ed8267d2d36bdd43e2 11:49:27 $ docker rm -f 37199aae6c1de606b5cf1d463061add9ae0851e61457b5ed8267d2d36bdd43e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:49:31 + docker inspect -f . ci-base-image-x86_64 11:49:31 . [Pipeline] withDockerContainer 11:49:32 prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container 11:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:49:35 $ docker top d57b2f4bcca006902a87a778f03f8b7b1ddab865856d5b224df13f421c2f4ce8 -eo pid,comm 11:49:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.129s coverage: 78.9% of statements 11:49:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.036s coverage: 94.4% of statements 11:49:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:49:36 + make test 11:49:36 make -C ./app-service-template build 11:49:36 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:49:36 go mod tidy 11:49:38 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 11:49:38 go: downloading github.com/stretchr/testify v1.7.0 11:49:38 go: downloading github.com/google/uuid v1.3.0 11:49:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 11:49:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 11:49:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 11:49:38 go: downloading github.com/AlexCuse/etm v0.0.0-20211022124535-b53962804cd5 11:49:38 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 11:49:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 11:49:38 go: downloading github.com/davecgh/go-spew v1.1.1 11:49:38 go: downloading github.com/pmezard/go-difflib v1.0.0 11:49:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 11:49:38 go: downloading github.com/stretchr/objx v0.1.1 11:49:38 go: downloading github.com/go-kit/kit v0.11.0 11:49:38 go: downloading github.com/go-playground/validator/v10 v10.9.0 11:49:38 go: downloading github.com/gorilla/mux v1.8.0 11:49:38 go: downloading github.com/hashicorp/go-multierror v1.1.1 11:49:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 11:49:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 11:49:38 go: downloading github.com/mitchellh/copystructure v1.0.0 11:49:38 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 11:49:38 go: downloading github.com/gorilla/websocket v1.4.2 11:49:38 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 11:49:38 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 11:49:38 go: downloading github.com/go-playground/universal-translator v0.18.0 11:49:38 go: downloading github.com/leodido/go-urn v1.2.1 11:49:38 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 11:49:38 go: downloading golang.org/x/text v0.3.6 11:49:38 go: downloading github.com/go-playground/assert/v2 v2.0.1 11:49:38 go: downloading github.com/go-playground/locales v0.14.0 11:49:39 go: downloading github.com/pelletier/go-toml v1.9.4 11:49:39 go: downloading github.com/go-logfmt/logfmt v0.5.0 11:49:39 go: downloading github.com/go-stack/stack v1.8.0 11:49:39 go: downloading github.com/hashicorp/errwrap v1.0.0 11:49:39 go: downloading github.com/hashicorp/consul/api v1.9.1 11:49:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:49:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:49:39 go: downloading github.com/mitchellh/reflectwalk v1.0.0 11:49:39 go: downloading github.com/x448/float16 v0.8.4 11:49:39 go: downloading github.com/kr/pretty v0.3.0 11:49:39 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 11:49:39 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 11:49:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:49:39 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 11:49:39 go: downloading github.com/hashicorp/go-hclog v0.12.0 11:49:39 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 11:49:39 go: downloading github.com/hashicorp/serf v0.9.5 11:49:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 11:49:40 go: downloading github.com/hashicorp/consul/sdk v0.8.0 11:49:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 11:49:40 go: downloading github.com/kr/text v0.2.0 11:49:40 go: downloading github.com/rogpeppe/go-internal v1.8.0 11:49:40 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 11:49:40 go: downloading github.com/go-redis/redis/v7 v7.3.0 11:49:40 go: downloading github.com/pebbe/zmq4 v1.2.7 11:49:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:49:40 go: downloading github.com/fatih/color v1.9.0 11:49:40 go: downloading github.com/mattn/go-colorable v0.1.6 11:49:40 go: downloading github.com/mattn/go-isatty v0.0.12 11:49:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 11:49:40 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:49:40 go: downloading github.com/pkg/errors v0.9.1 11:49:40 go: downloading github.com/hashicorp/go-msgpack v0.5.3 11:49:40 go: downloading github.com/hashicorp/memberlist v0.2.2 11:49:40 go: downloading github.com/onsi/ginkgo v1.10.1 11:49:40 go: downloading github.com/onsi/gomega v1.7.0 11:49:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 11:49:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 11:49:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:49:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:49:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 11:49:41 go: downloading github.com/miekg/dns v1.1.26 11:49:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:49:41 go: downloading github.com/hashicorp/golang-lru v0.5.0 11:49:41 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 11:49:41 go: downloading gopkg.in/yaml.v2 v2.4.0 11:49:41 go: downloading github.com/hpcloud/tail v1.0.0 11:49:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 11:49:41 go: downloading github.com/golang/protobuf v1.5.2 11:49:41 go: downloading gopkg.in/fsnotify.v1 v1.4.7 11:49:41 go: downloading google.golang.org/protobuf v1.27.1 11:49:41 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } 11:49:41 $ docker stop --time=1 b36827435b42a2b044ccbeae68d4ed04aef08df569daa6b395a368fef4ca5be5 11:49:42 go: downloading github.com/google/go-cmp v0.5.5 11:49:42 go: downloading github.com/fsnotify/fsnotify v1.4.7 11:49:42 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 11:49:42 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 11:49:43 $ docker rm -f b36827435b42a2b044ccbeae68d4ed04aef08df569daa6b395a368fef4ca5be5 [Pipeline] // withDockerContainer [Pipeline] sh 11:49:53 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:49:53 make -C ./app-service-template test 11:49:53 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:49:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 11:49:59 ok new-app-service 0.012s coverage: 48.1% of statements 11:49:59 ? new-app-service/config [no test files] 11:49:59 ok new-app-service/functions 0.008s 11:49:59 CGO_ENABLED=1 go vet ./... 11:50:04 + sudo chown -R jenkins:jenkins . 11:50:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:50:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:50:09 ./bin/test-attribution-txt.sh 11:50:09 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 11:50:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:50:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [Pipeline] stash 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.027s coverage: 67.0% of statements 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.010s coverage: 93.7% of statements 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.035s coverage: 75.7% of statements 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.002s coverage: 97.3% of statements 11:50:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 11:50:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 10.5% of statements 11:50:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.046s coverage: 77.0% of statements 11:50:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 11:50:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 14.9% of statements 11:50:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 11:50:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 11:50:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 11:50:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 11:50:34 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 11:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.022s coverage: 78.9% of statements 11:50:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 11:50:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:50:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:50:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } 11:50:54 $ docker stop --time=1 d57b2f4bcca006902a87a778f03f8b7b1ddab865856d5b224df13f421c2f4ce8 11:50:58 $ docker rm -f d57b2f4bcca006902a87a778f03f8b7b1ddab865856d5b224df13f421c2f4ce8 [Pipeline] // withDockerContainer [Pipeline] sh 11:51:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:51:09 Warning: overwriting stash ‘coverage-report’ Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:51:21 Stashed 2 file(s) [Pipeline] } 11:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:23 11:51:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to when conditional [Pipeline] } 11:51:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:25 arm64: Pulling from edgex-lftools-log-publisher 11:51:25 448f6bf000e3: Pulling fs layer 11:51:25 f757da607395: Pulling fs layer 11:51:25 05883995daec: Pulling fs layer 11:51:25 8603b9c90790: Pulling fs layer 11:51:25 1560dd03e051: Pulling fs layer 11:51:25 27f5ce0e4adf: Pulling fs layer 11:51:25 c2d8d7efcc4b: Pulling fs layer 11:51:25 1560dd03e051: Waiting 11:51:25 27f5ce0e4adf: Waiting 11:51:25 8603b9c90790: Waiting 11:51:25 c2d8d7efcc4b: Waiting 11:51:25 f757da607395: Verifying Checksum 11:51:25 f757da607395: Download complete 11:51:25 8603b9c90790: Verifying Checksum 11:51:25 8603b9c90790: Download complete 11:51:25 1560dd03e051: Verifying Checksum 11:51:25 1560dd03e051: Download complete 11:51:25 27f5ce0e4adf: Verifying Checksum 11:51:25 27f5ce0e4adf: Download complete 11:51:25 05883995daec: Verifying Checksum 11:51:25 05883995daec: Download complete 11:51:25 448f6bf000e3: Verifying Checksum 11:51:25 448f6bf000e3: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 11:51:27 c2d8d7efcc4b: Verifying Checksum 11:51:27 c2d8d7efcc4b: Download complete Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 11:51:31 448f6bf000e3: Pull complete 11:51:31 f757da607395: Pull complete Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:51:32 05883995daec: Pull complete 11:51:32 8603b9c90790: Pull complete 11:51:32 1560dd03e051: Pull complete 11:51:32 27f5ce0e4adf: Pull complete 11:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:51:33 11:51:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:51:36 latest: Pulling from edgex-lftools-log-publisher 11:51:36 b4d181a07f80: Pulling fs layer 11:51:36 a1111a8f2ec3: Pulling fs layer 11:51:36 ed53099fbce6: Pulling fs layer 11:51:36 dc539afda2c1: Pulling fs layer 11:51:36 77bc0d833cb6: Pulling fs layer 11:51:36 9065ff56babe: Pulling fs layer 11:51:36 d287ab97295c: Pulling fs layer 11:51:36 dc539afda2c1: Waiting 11:51:36 77bc0d833cb6: Waiting 11:51:36 9065ff56babe: Waiting 11:51:36 d287ab97295c: Waiting 11:51:36 a1111a8f2ec3: Verifying Checksum 11:51:36 a1111a8f2ec3: Download complete 11:51:36 dc539afda2c1: Verifying Checksum 11:51:36 dc539afda2c1: Download complete 11:51:36 77bc0d833cb6: Verifying Checksum 11:51:36 77bc0d833cb6: Download complete 11:51:36 9065ff56babe: Verifying Checksum 11:51:36 9065ff56babe: Download complete 11:51:36 ed53099fbce6: Verifying Checksum 11:51:36 ed53099fbce6: Download complete 11:51:36 b4d181a07f80: Verifying Checksum 11:51:36 b4d181a07f80: Download complete 11:51:36 d287ab97295c: Verifying Checksum 11:51:36 d287ab97295c: Download complete 11:51:36 b4d181a07f80: Pull complete 11:51:36 a1111a8f2ec3: Pull complete 11:51:37 ed53099fbce6: Pull complete 11:51:37 dc539afda2c1: Pull complete 11:51:37 77bc0d833cb6: Pull complete 11:51:37 9065ff56babe: Pull complete 11:51:42 d287ab97295c: Pull complete 11:51:42 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:51:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:51:44 prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container 11:51:47 c2d8d7efcc4b: Pull complete 11:51:47 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:51:51 $ docker top eeb4e8a4e05ccf51cbd08b358cef1e3d6d6bfdb71c6d48d145248771f6059deb -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 11:51:56 prd-ubuntu18.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container 11:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:52:05 $ docker top 8fe9d6f98c1cfcc7f1fd42ee70a9ef7d5ba1760fc0a3b879d122e83b79e8f2fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 11:53:50 Cannot contact prd-centos7-docker-4c-2g-2423: java.lang.InterruptedException 11:54:10 ---> job-cost.sh 11:54:10 lf-activate-venv: SKIPPING 11:54:10 INFO: No Stack... 11:54:10 INFO: Retrieving Pricing Info for: v3-standard-2 11:54:10 INFO: Archiving Costs 11:54:30 ---> job-cost.sh 11:54:30 lf-activate-venv: SKIPPING 11:54:30 INFO: No Stack... 11:54:30 INFO: Retrieving Pricing Info for: v3-standard-4 11:54:30 INFO: Archiving Costs [Pipeline] sh 11:55:52 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 11:55:52 + cut -d, -f6 11:56:02 Cannot contact prd-centos7-docker-4c-2g-2423: java.lang.InterruptedException [Pipeline] sh [Pipeline] echo