Pull request #824 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 5d2ecd5a993066c69098b567ac230e5fa2f86d73+89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c (383d066568aadef37d27b2e63fe0c746163d938a) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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_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-3583 in /w/workspace/ndry_app-functions-sdk-go_PR-824 [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-824 # 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 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c into PR head commit 5d2ecd5a993066c69098b567ac230e5fa2f86d73 Merge succeeded, producing 5d2ecd5a993066c69098b567ac230e5fa2f86d73 Checking out Revision 5d2ecd5a993066c69098b567ac230e5fa2f86d73 (PR-824) > 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/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # 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 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # timeout=10 Commit message: "fix: Add `go mod tidy` to template makefile." > git rev-list --no-walk fe9d1c4a6496e7a00b67de852c32f3658d3d98bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:56:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:56:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:56:10 ========================================================= 17:56:10 EdgeX Global Pipelines Version Info 17:56:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:56:12 ------------------- 17:56:12 stable info: 17:56:12 ------------------- 17:56:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:56:12 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 17:56:12 Message: update stable to v1.0.191 17:56:13 ------------------- 17:56:13 experimental info: 17:56:13 ------------------- 17:56:13 Commited By: **** collab-it+edgex@linuxfoundation.org 17:56:13 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 17:56:13 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-824 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-824 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-824 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d2ecd5a993066c69098b567ac230e5fa2f86d73 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d2ecd5 [Pipeline] echo 17:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:14 + git log --format=format:%s -1 5d2ecd5a993066c69098b567ac230e5fa2f86d73 [Pipeline] echo 17:56:14 GIT_COMMIT: 5d2ecd5a993066c69098b567ac230e5fa2f86d73, Commit Message: fix: Add `go mod tidy` to template makefile. [Pipeline] echo 17:56:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:15 17:56:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:56:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:16 latest: Pulling from edgex-devops/git-semver 17:56:16 31603596830f: Pulling fs layer 17:56:16 54011a49482f: Pulling fs layer 17:56:16 a6820b24f6d8: Pulling fs layer 17:56:16 f581987b2513: Pulling fs layer 17:56:16 54011a49482f: Download complete 17:56:16 31603596830f: Verifying Checksum 17:56:16 31603596830f: Download complete 17:56:16 f581987b2513: Verifying Checksum 17:56:16 f581987b2513: Download complete 17:56:16 a6820b24f6d8: Verifying Checksum 17:56:16 a6820b24f6d8: Download complete 17:56:16 31603596830f: Pull complete 17:56:16 54011a49482f: Pull complete 17:56:17 a6820b24f6d8: Pull complete 17:56:18 f581987b2513: Pull complete 17:56:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:56:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:56:18 prd-centos7-docker-4c-2g-3583 does not seem to be running inside a container 17:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-824 -v /w/workspace/ndry_app-functions-sdk-go_PR-824:/w/workspace/ndry_app-functions-sdk-go_PR-824:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-824@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:56:20 $ docker top 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:20 [ssh-agent] Looking for ssh-agent implementation... 17:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:21 $ docker exec 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e ssh-agent 17:56:21 SSH_AUTH_SOCK=/tmp/ssh-gIEjvSVMsrIS/agent.11 17:56:21 SSH_AGENT_PID=17 17:56:21 Running ssh-add (command line suppressed) 17:56:21 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/private_key_366430432915457418.key (/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/private_key_366430432915457418.key) 17:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:21 + git tag --points-at HEAD [Pipeline] } 17:56:21 $ docker exec --env ******** --env ******** 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e ssh-agent -k 17:56:21 unset SSH_AUTH_SOCK; 17:56:21 unset SSH_AGENT_PID; 17:56:21 echo Agent pid 17 killed; 17:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:56:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:22 [ssh-agent] Looking for ssh-agent implementation... 17:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:22 $ docker exec 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e ssh-agent 17:56:22 SSH_AUTH_SOCK=/tmp/ssh-10GlSinWd4TP/agent.49 17:56:22 SSH_AGENT_PID=54 17:56:22 Running ssh-add (command line suppressed) 17:56:22 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/private_key_4695782136254661110.key (/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/private_key_4695782136254661110.key) 17:56:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:22 + git semver init 17:56:22 # -> Open(): unable to determine branch for HEAD 17:56:22 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-824/.git 17:56:22 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-824 17:56:22 # $SEMVER_REMOTE_NAME = origin 17:56:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:56:22 # $SEMVER_USER_NAME = edgex-jenkins 17:56:22 # $SEMVER_BRANCH = PR-824 17:56:22 # $SEMVER_TEMP = /tmp/semver-577859042 17:56:22 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:56:26 # '/tmp/semver-577859042' -> '/w/workspace/ndry_app-functions-sdk-go_PR-824/.semver' 17:56:26 # -> Force: false 17:56:26 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-824/.semver [Pipeline] } 17:56:26 $ docker exec --env ******** --env ******** 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e ssh-agent -k 17:56:26 unset SSH_AUTH_SOCK; 17:56:26 unset SSH_AGENT_PID; 17:56:26 echo Agent pid 54 killed; 17:56:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:26 + git semver [Pipeline] } 17:56:26 $ docker stop --time=1 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e 17:56:28 $ docker rm -f 7df48da3012919e3dc48979a0640fa30965efb457629a319c8b44f1d3b614b0e [Pipeline] // withDockerContainer [Pipeline] sh 17:56:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:29 Stashed 1 file(s) [Pipeline] echo 17:56:29 [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 17:56:44 Still waiting to schedule task 17:56:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:56:44 Still waiting to schedule task 17:56:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:58:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3585 in /w/workspace/ndry_app-functions-sdk-go_PR-824 [Pipeline] { [Pipeline] ws 17:58:31 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:58:37 using credential edgex-jenkins-ssh 17:58:37 Cloning the remote Git repository 17:58:37 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:58:37 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 17:58:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:58:37 > git --version # timeout=10 17:58:37 > git --version # 'git version 2.17.1' 17:58:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:58:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:58:41 Merging remotes/origin/master commit 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c into PR head commit 5d2ecd5a993066c69098b567ac230e5fa2f86d73 17:58:42 Merge succeeded, producing 5d2ecd5a993066c69098b567ac230e5fa2f86d73 17:58:42 Checking out Revision 5d2ecd5a993066c69098b567ac230e5fa2f86d73 (PR-824) 17:58:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:58:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:58:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:58:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:58:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:58:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:58:42 > git config core.sparsecheckout # timeout=10 17:58:42 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # timeout=10 17:58:42 > git remote # timeout=10 17:58:42 > git config --get remote.origin.url # timeout=10 17:58:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:58:42 > git merge 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c # timeout=10 17:58:42 > git rev-parse HEAD^{commit} # timeout=10 17:58:42 > git config core.sparsecheckout # timeout=10 17:58:42 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # timeout=10 17:58:46 Commit message: "fix: Add `go mod tidy` to template makefile." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:58:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:58:48 + + sudotrue service 17:58:48 docker restart [Pipeline] unstash [Pipeline] echo 17:58:51 ========================================================= 17:58:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:58:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:58:51 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 17:58:52 Sending build context to Docker daemon 19.52MB 17:58:52 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:58:52 Step 2/8 : FROM ${BASE} 17:58:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:58:53 595b0fe564bb: Pulling fs layer 17:58:53 7186ed65a4f7: Pulling fs layer 17:58:53 316046926c0a: Pulling fs layer 17:58:53 4ebd0625c992: Pulling fs layer 17:58:53 207e8628e3a3: Pulling fs layer 17:58:53 c791037a9be2: Pulling fs layer 17:58:53 ffd874e62e21: Pulling fs layer 17:58:53 4ebd0625c992: Waiting 17:58:53 207e8628e3a3: Waiting 17:58:53 c791037a9be2: Waiting 17:58:53 316046926c0a: Verifying Checksum 17:58:53 316046926c0a: Download complete 17:58:53 7186ed65a4f7: Verifying Checksum 17:58:53 7186ed65a4f7: Download complete 17:58:53 207e8628e3a3: Verifying Checksum 17:58:53 c791037a9be2: Download complete 17:58:53 595b0fe564bb: Verifying Checksum 17:58:53 595b0fe564bb: Download complete 17:58:53 595b0fe564bb: Pull complete 17:58:54 7186ed65a4f7: Pull complete 17:58:54 316046926c0a: Pull complete 17:58:54 ffd874e62e21: Verifying Checksum 17:58:54 ffd874e62e21: Download complete 17:58:56 4ebd0625c992: Verifying Checksum 17:58:56 4ebd0625c992: Download complete 17:59:06 4ebd0625c992: Pull complete 17:59:07 207e8628e3a3: Pull complete 17:59:07 c791037a9be2: Pull complete 17:59:11 ffd874e62e21: Pull complete 17:59:11 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 17:59:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:59:11 ---> cfc18b08335c 17:59:11 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 17:59:11 20.10.0: Pulling from library/docker 17:59:11 a3cc7d3b244e: Pulling fs layer 17:59:11 02a3295e0d61: Pulling fs layer 17:59:11 0f4f2e6d8100: Pulling fs layer 17:59:11 330b718f631f: Pulling fs layer 17:59:11 a93816041522: Pulling fs layer 17:59:11 bdb6da89ff94: Pulling fs layer 17:59:11 2a70c0c122f4: Pulling fs layer 17:59:11 330b718f631f: Waiting 17:59:11 a93816041522: Waiting 17:59:11 bdb6da89ff94: Waiting 17:59:11 2a70c0c122f4: Waiting 17:59:11 0f4f2e6d8100: Verifying Checksum 17:59:11 0f4f2e6d8100: Download complete 17:59:11 02a3295e0d61: Verifying Checksum 17:59:11 02a3295e0d61: Download complete 17:59:11 a3cc7d3b244e: Verifying Checksum 17:59:11 a3cc7d3b244e: Download complete 17:59:11 a93816041522: Verifying Checksum 17:59:11 a93816041522: Download complete 17:59:11 2a70c0c122f4: Download complete 17:59:11 bdb6da89ff94: Download complete 17:59:11 a3cc7d3b244e: Pull complete 17:59:12 02a3295e0d61: Pull complete 17:59:12 0f4f2e6d8100: Pull complete 17:59:12 330b718f631f: Verifying Checksum 17:59:12 330b718f631f: Download complete 17:59:17 330b718f631f: Pull complete 17:59:17 a93816041522: Pull complete 17:59:17 bdb6da89ff94: Pull complete 17:59:17 2a70c0c122f4: Pull complete 17:59:17 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 17:59:17 Status: Downloaded newer image for docker:20.10.0 17:59:24 ---> 388bc63f8e11 17:59:24 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:59:24 ---> Running in b3c439a8817c 17:59:24 Removing intermediate container b3c439a8817c 17:59:24 ---> a0be18b4874b 17:59:24 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:59:24 ---> Running in 1ea9544c6814 17:59:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:59:25 Running on prd-centos7-docker-4c-2g-3586 in /w/workspace/ndry_app-functions-sdk-go_PR-824 [Pipeline] { [Pipeline] ws 17:59:25 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:59:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:59:27 (1/5) Installing libsodium (1.0.18-r0) 17:59:27 (2/5) Installing libzmq (4.3.3-r1) 17:59:27 (3/5) Installing pkgconf (1.7.3-r0) 17:59:27 (4/5) Installing libsodium-dev (1.0.18-r0) 17:59:28 (5/5) Installing zeromq-dev (4.3.3-r1) 17:59:28 Executing busybox-1.32.1-r6.trigger 17:59:28 OK: 139 MiB in 45 packages 17:59:28 using credential edgex-jenkins-ssh 17:59:28 Cloning the remote Git repository 17:59:29 Removing intermediate container 1ea9544c6814 17:59:29 ---> 43bc29975752 17:59:29 Step 6/8 : WORKDIR /build 17:59:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:28 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 17:59:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:29 > git --version # timeout=10 17:59:29 > git --version # 'git version 2.24.3' 17:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:29 ---> Running in 115c17dfb5a5 17:59:29 Removing intermediate container 115c17dfb5a5 17:59:29 ---> 490ca8d40da1 17:59:29 Step 7/8 : COPY go.mod . 17:59:30 ---> 19e533a886ca 17:59:30 Step 8/8 : RUN go mod download 17:59:30 ---> Running in caac6fb90154 17:59:31 Merging remotes/origin/master commit 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c into PR head commit 5d2ecd5a993066c69098b567ac230e5fa2f86d73 17:59:31 Merge succeeded, producing 5d2ecd5a993066c69098b567ac230e5fa2f86d73 17:59:31 Checking out Revision 5d2ecd5a993066c69098b567ac230e5fa2f86d73 (PR-824) 17:59:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:59:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:59:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:59:31 > git config core.sparsecheckout # timeout=10 17:59:31 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # timeout=10 17:59:31 > git remote # timeout=10 17:59:31 > git config --get remote.origin.url # timeout=10 17:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:31 > git merge 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c # timeout=10 17:59:31 > git rev-parse HEAD^{commit} # timeout=10 17:59:31 > git config core.sparsecheckout # timeout=10 17:59:31 > git checkout -f 5d2ecd5a993066c69098b567ac230e5fa2f86d73 # timeout=10 17:59:35 Commit message: "fix: Add `go mod tidy` to template makefile." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:59:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:59:37 + sudo service docker restart 17:59:37 + true 17:59:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 17:59:39 ========================================================= 17:59:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:59:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:59:39 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 17:59:40 Sending build context to Docker daemon 19.52MB 17:59:40 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:59:40 Step 2/8 : FROM ${BASE} 17:59:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:59:40 540db60ca938: Pulling fs layer 17:59:40 adcc1eea9eea: Pulling fs layer 17:59:40 4c4ab2625f07: Pulling fs layer 17:59:40 0510c868ecb4: Pulling fs layer 17:59:40 afea3b2eda06: Pulling fs layer 17:59:40 7809a108b3ef: Pulling fs layer 17:59:40 f706445af74f: Pulling fs layer 17:59:40 afea3b2eda06: Waiting 17:59:40 7809a108b3ef: Waiting 17:59:40 f706445af74f: Waiting 17:59:40 0510c868ecb4: Waiting 17:59:40 4c4ab2625f07: Verifying Checksum 17:59:40 4c4ab2625f07: Download complete 17:59:40 adcc1eea9eea: Verifying Checksum 17:59:40 adcc1eea9eea: Download complete 17:59:40 afea3b2eda06: Verifying Checksum 17:59:40 afea3b2eda06: Download complete 17:59:40 540db60ca938: Verifying Checksum 17:59:40 540db60ca938: Download complete 17:59:40 540db60ca938: Pull complete 17:59:41 adcc1eea9eea: Pull complete 17:59:41 4c4ab2625f07: Pull complete 17:59:42 f706445af74f: Verifying Checksum 17:59:42 f706445af74f: Download complete 17:59:43 0510c868ecb4: Verifying Checksum 17:59:43 0510c868ecb4: Download complete 17:59:49 0510c868ecb4: Pull complete 17:59:50 afea3b2eda06: Pull complete 17:59:50 7809a108b3ef: Pull complete 17:59:57 Removing intermediate container caac6fb90154 17:59:57 ---> b8904e1a1453 17:59:57 Successfully built b8904e1a1453 17:59:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:59:58 + docker inspect -f . ci-base-image-arm64 17:59:58 . [Pipeline] withDockerContainer 17:59:58 f706445af74f: Pull complete 17:59:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 17:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:59:58 ---> b068be0155e3 17:59:58 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 17:59:58 20.10.0: Pulling from library/docker 17:59:58 05e7bc50f07f: Pulling fs layer 17:59:58 6db28d0fdbf6: Pulling fs layer 17:59:58 292df0bc6bf3: Pulling fs layer 17:59:58 2e060f4bd70b: Pulling fs layer 17:59:58 80e8d568a223: Pulling fs layer 17:59:58 8dc6ef1a942a: Pulling fs layer 17:59:58 2312dd95470a: Pulling fs layer 17:59:58 8dc6ef1a942a: Waiting 17:59:58 2e060f4bd70b: Waiting 17:59:58 80e8d568a223: Waiting 17:59:58 2312dd95470a: Waiting 17:59:58 292df0bc6bf3: Verifying Checksum 17:59:58 292df0bc6bf3: Download complete 17:59:58 6db28d0fdbf6: Verifying Checksum 17:59:58 6db28d0fdbf6: Download complete 17:59:58 05e7bc50f07f: Verifying Checksum 17:59:58 05e7bc50f07f: Download complete 17:59:58 80e8d568a223: Verifying Checksum 17:59:58 80e8d568a223: Download complete 17:59:58 8dc6ef1a942a: Verifying Checksum 17:59:58 8dc6ef1a942a: Download complete 17:59:58 2312dd95470a: Verifying Checksum 17:59:58 2312dd95470a: Download complete 17:59:58 prd-ubuntu18.04-docker-arm64-4c-16g-3585 does not seem to be running inside a container 17:59:58 $ 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 17:59:58 05e7bc50f07f: Pull complete 17:59:59 6db28d0fdbf6: Pull complete 17:59:59 292df0bc6bf3: Pull complete 17:59:59 $ docker top 6e00cdb0467c8e8c17bb48200fa734d91b1a62d7b4f7e78fcfc94259d0932e65 -eo pid,comm 18:00:00 2e060f4bd70b: Verifying Checksum 18:00:00 2e060f4bd70b: Download complete [Pipeline] { [Pipeline] sh 18:00:00 + go version 18:00:00 go version go1.16.3 linux/arm64 [Pipeline] } 18:00:00 $ docker stop --time=1 6e00cdb0467c8e8c17bb48200fa734d91b1a62d7b4f7e78fcfc94259d0932e65 18:00:02 $ docker rm -f 6e00cdb0467c8e8c17bb48200fa734d91b1a62d7b4f7e78fcfc94259d0932e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:00:03 + docker inspect -f . ci-base-image-arm64 18:00:03 . [Pipeline] withDockerContainer 18:00:03 prd-ubuntu18.04-docker-arm64-4c-16g-3585 does not seem to be running inside a container 18:00:03 $ 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:00:04 2e060f4bd70b: Pull complete 18:00:05 80e8d568a223: Pull complete 18:00:05 8dc6ef1a942a: Pull complete 18:00:05 $ docker top bbe70371bc3239994bc6b54dc258b3d1f017f81574140aed9d47853ee2e2c378 -eo pid,comm 18:00:05 2312dd95470a: Pull complete 18:00:05 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:00:05 Status: Downloaded newer image for docker:20.10.0 [Pipeline] { [Pipeline] sh 18:00:06 + go mod tidy [Pipeline] sh 18:00:07 ---> 04ae50d16d69 18:00:07 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:00:07 ---> Running in 82ee83fbc1c9 18:00:07 + make test 18:00:07 make -C ./app-service-template build 18:00:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:00:07 go mod tidy 18:00:07 Removing intermediate container 82ee83fbc1c9 18:00:07 ---> 1786c5c71c37 18:00:07 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:00:07 ---> Running in cd6bbda983eb 18:00:08 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:00:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:00:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:00:10 (1/5) Installing libsodium (1.0.18-r0) 18:00:10 (2/5) Installing libzmq (4.3.3-r1) 18:00:10 (3/5) Installing pkgconf (1.7.3-r0) 18:00:10 (4/5) Installing libsodium-dev (1.0.18-r0) 18:00:10 (5/5) Installing zeromq-dev (4.3.3-r1) 18:00:10 Executing busybox-1.32.1-r6.trigger 18:00:10 OK: 150 MiB in 45 packages 18:00:11 Removing intermediate container cd6bbda983eb 18:00:11 ---> 6859d7477d68 18:00:11 Step 6/8 : WORKDIR /build 18:00:11 ---> Running in e8459ac8b696 18:00:11 Removing intermediate container e8459ac8b696 18:00:11 ---> 17d00197110b 18:00:11 Step 7/8 : COPY go.mod . 18:00:12 ---> 281b9a52e4cc 18:00:12 Step 8/8 : RUN go mod download 18:00:12 ---> Running in 19b4295df195 18:00:38 Removing intermediate container 19b4295df195 18:00:38 ---> a332baaf20dc 18:00:38 Successfully built a332baaf20dc 18:00:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:00:39 + docker inspect -f . ci-base-image-x86_64 18:00:39 . [Pipeline] withDockerContainer 18:00:39 prd-centos7-docker-4c-2g-3586 does not seem to be running inside a container 18:00:39 $ 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-x86_64 cat 18:00:40 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:00:40 make -C ./app-service-template test 18:00:40 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:00:40 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:00:41 $ docker top 5026cad20d1bc18fcabde21dfa7a7a18f11896bae0ff15ce920b01a093316661 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:41 + go version 18:00:41 go version go1.16.3 linux/amd64 [Pipeline] } 18:00:41 $ docker stop --time=1 5026cad20d1bc18fcabde21dfa7a7a18f11896bae0ff15ce920b01a093316661 18:00:43 $ docker rm -f 5026cad20d1bc18fcabde21dfa7a7a18f11896bae0ff15ce920b01a093316661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:00:43 + docker inspect -f . ci-base-image-x86_64 18:00:43 . [Pipeline] withDockerContainer 18:00:44 prd-centos7-docker-4c-2g-3586 does not seem to be running inside a container 18:00:44 $ 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-x86_64 cat 18:00:45 $ docker top f96b7bc23087816b534b305048995d5c1b54900a3eea043bb2411e15e76ca3b7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:45 + go mod tidy [Pipeline] sh 18:00:47 + make test 18:00:47 make -C ./app-service-template build 18:00:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:00:47 go mod tidy 18:00:47 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:01:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:01:06 make -C ./app-service-template test 18:01:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:01:06 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:01:12 ok new-app-service 0.037s coverage: 47.8% of statements 18:01:12 ? new-app-service/config [no test files] 18:01:12 ok new-app-service/functions 0.034s 18:01:12 CGO_ENABLED=1 go vet ./... 18:01:22 ok new-app-service 0.046s coverage: 47.8% of statements 18:01:22 ? new-app-service/config [no test files] 18:01:22 ok new-app-service/functions 0.020s 18:01:22 CGO_ENABLED=1 go vet ./... 18:01:37 gofmt -l . 18:01:38 [ "`gofmt -l .`" = "" ] 18:01:38 ./bin/test-go-mod-tidy.sh 18:01:38 ./bin/test-attribution-txt.sh 18:01:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:01:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:01:39 gofmt -l . 18:01:39 [ "`gofmt -l .`" = "" ] 18:01:39 ./bin/test-go-mod-tidy.sh 18:01:39 ./bin/test-attribution-txt.sh 18:01:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 18:01:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:01:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:01:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.042s coverage: 55.8% of statements 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.035s coverage: 92.5% of statements 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.101s coverage: 61.5% of statements 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.056s 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 75.4% of statements 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 18:01:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:01:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 55.8% of statements 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.049s coverage: 92.5% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.093s coverage: 61.5% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.078s coverage: 75.4% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.810s coverage: 78.4% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.020s coverage: 18.4% of statements 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.019s coverage: 27.3% of statements 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:01:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:01:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements 18:01:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.873s coverage: 78.4% of statements 18:01:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:01:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.075s coverage: 18.4% of statements 18:01:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.029s coverage: 27.3% of statements 18:01:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:01:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:01:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 71.7% of statements 18:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.065s coverage: 81.9% of statements 18:02:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 18:02:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:02:15 gofmt -l . 18:02:15 [ "`gofmt -l .`" = "" ] 18:02:15 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:02:15 $ docker stop --time=1 f96b7bc23087816b534b305048995d5c1b54900a3eea043bb2411e15e76ca3b7 18:02:16 $ docker rm -f f96b7bc23087816b534b305048995d5c1b54900a3eea043bb2411e15e76ca3b7 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:17 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:02:18 ---> job-cost.sh 18:02:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9tOZ 18:02:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.100s coverage: 81.9% of statements 18:02:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 18:02:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:02:22 gofmt -l . 18:02:22 [ "`gofmt -l .`" = "" ] 18:02:23 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:02:23 $ docker stop --time=1 bbe70371bc3239994bc6b54dc258b3d1f017f81574140aed9d47853ee2e2c378 18:02:25 $ docker rm -f bbe70371bc3239994bc6b54dc258b3d1f017f81574140aed9d47853ee2e2c378 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:26 Warning: overwriting stash ‘coverage-report’ 18:02:27 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:02:28 ---> job-cost.sh 18:02:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oJbL 18:02:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:03:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:03:09 lf-activate-venv(): INFO: Adding /tmp/venv-9tOZ/bin to PATH 18:03:09 INFO: No Stack... 18:03:09 INFO: Retrieving Pricing Info for: v1-standard-2 18:03:09 INFO: Archiving Costs [Pipeline] sh 18:03:09 + cut -d, -f6 18:03:09 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock 18:03:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] 18:03:09 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] did not exist. Created. 18:03:09 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:10 + echo total: 0.029999999329447746 [Pipeline] stash 18:03:10 Stashed 1 file(s) [Pipeline] } 18:03:10 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:04:29 lf-activate-venv(): INFO: Adding /tmp/venv-oJbL/bin to PATH 18:04:29 INFO: No Stack... 18:04:29 INFO: Retrieving Pricing Info for: lf-standard-4 18:04:29 INFO: Archiving Costs [Pipeline] sh 18:04:29 + cut -d, -f6 18:04:29 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock 18:04:29 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] 18:04:29 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] did not exist. Created. 18:04:29 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:30 /w/workspace/app-functions-sdk-go/2@tmp/durable-b2596e49/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-b2596e49/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:30 + echo total: 0.20999999344348907 [Pipeline] stash 18:04:30 Warning: overwriting stash ‘stack-cost’ 18:04:30 Stashed 1 file(s) [Pipeline] } 18:04:30 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-824-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 18:04:32 provisioning config files... 18:04:32 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/config346483042902088988tmp [Pipeline] { [Pipeline] sh 18:04:32 + set +x 18:04:32 + curl -s https://codecov.io/bash 18:04:32 + bash -s -- 18:04:32 18:04:32 _____ _ 18:04:32 / ____| | | 18:04:32 | | ___ __| | ___ ___ _____ __ 18:04:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:32 Bash-1.0.2 18:04:32 18:04:32 18:04:32 ==> git version 2.24.3 found 18:04:32 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:04:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:04:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:04:32 ==> Jenkins CI detected. 18:04:32 project root: . 18:04:32 --> token set from env 18:04:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:32 ==> Running gcov in . (disable via -X gcov) 18:04:32 ==> Python coveragepy not found 18:04:32 ==> Searching for coverage reports in: 18:04:32 + . 18:04:32 -> Found 2 reports 18:04:32 ==> Detecting git/mercurial file structure 18:04:32 ==> Reading reports 18:04:32 + ./app-service-template/coverage.out bytes=1055 18:04:32 + ./coverage.out bytes=86827 18:04:32 ==> Appending adjustments 18:04:32 https://docs.codecov.io/docs/fixing-reports 18:04:33 + Found adjustments 18:04:33 ==> Gzipping contents 18:04:33 16K /tmp/codecov.TXfb5B.gz 18:04:33 ==> Uploading reports 18:04:33 url: https://codecov.io 18:04:33 query: branch=PR-824&commit=5d2ecd5a993066c69098b567ac230e5fa2f86d73&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-824%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= 18:04:33 -> Pinging Codecov 18:04:33 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-824&commit=5d2ecd5a993066c69098b567ac230e5fa2f86d73&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-824%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= 18:04:33 -> Uploading to 18:04:33 https://storage.googleapis.com/codecov/v4/raw/2021-05-07/3D8B5DFFC46A037C893635FACE044666/5d2ecd5a993066c69098b567ac230e5fa2f86d73/4372232f-e333-42f4-b0e2-4f8925669326.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T180433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3611940f8c509110a825b2b4efd912c244e11a58022f9169ec8c03cc5ea1302c 18:04:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:33 Dload Upload Total Spent Left Speed 18:04:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15296 0 0 100 15296 0 28534 --:--:-- --:--:-- --:--:-- 28590 18:04:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5d2ecd5a993066c69098b567ac230e5fa2f86d73 [Pipeline] } 18:04:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:04:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:35 ---> package-listing.sh 18:04:35 ++ facter osfamily 18:04:35 ++ tr '[:upper:]' '[:lower:]' 18:04:35 + OS_FAMILY=redhat 18:04:35 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-824 18:04:35 + START_PACKAGES=/tmp/packages_start.txt 18:04:35 + END_PACKAGES=/tmp/packages_end.txt 18:04:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:35 + PACKAGES=/tmp/packages_start.txt 18:04:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-824 ']' 18:04:35 + PACKAGES=/tmp/packages_end.txt 18:04:35 + case "${OS_FAMILY}" in 18:04:35 + rpm -qa 18:04:35 + sort 18:04:41 + '[' -f /tmp/packages_start.txt ']' 18:04:41 + '[' -f /tmp/packages_end.txt ']' 18:04:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:41 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-824 ']' 18:04:41 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-824/archives/ 18:04:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-824/archives/ [Pipeline] echo 18:04:41 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-824/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:04:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:04:41 18:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:04:42 alpine: Pulling from edgex-lftools-log-publisher 18:04:42 df20fa9351a1: Pulling fs layer 18:04:42 36b3adc4ff6f: Pulling fs layer 18:04:42 8ad3a11d3b57: Pulling fs layer 18:04:42 46f8f816bc3b: Pulling fs layer 18:04:42 93b61091891f: Pulling fs layer 18:04:42 93b9cdb0e59b: Pulling fs layer 18:04:42 5e14af77c1be: Pulling fs layer 18:04:42 01666e4c0597: Pulling fs layer 18:04:42 aa168da1d23b: Pulling fs layer 18:04:42 93b9cdb0e59b: Waiting 18:04:42 5e14af77c1be: Waiting 18:04:42 01666e4c0597: Waiting 18:04:42 aa168da1d23b: Waiting 18:04:42 46f8f816bc3b: Waiting 18:04:42 93b61091891f: Waiting 18:04:42 36b3adc4ff6f: Verifying Checksum 18:04:42 36b3adc4ff6f: Download complete 18:04:42 46f8f816bc3b: Download complete 18:04:42 df20fa9351a1: Verifying Checksum 18:04:42 df20fa9351a1: Download complete 18:04:42 93b9cdb0e59b: Download complete 18:04:42 93b61091891f: Download complete 18:04:42 5e14af77c1be: Verifying Checksum 18:04:42 5e14af77c1be: Download complete 18:04:42 01666e4c0597: Verifying Checksum 18:04:42 01666e4c0597: Download complete 18:04:42 8ad3a11d3b57: Verifying Checksum 18:04:42 8ad3a11d3b57: Download complete 18:04:42 df20fa9351a1: Pull complete 18:04:42 36b3adc4ff6f: Pull complete 18:04:43 8ad3a11d3b57: Pull complete 18:04:43 46f8f816bc3b: Pull complete 18:04:43 93b61091891f: Pull complete 18:04:43 93b9cdb0e59b: Pull complete 18:04:44 5e14af77c1be: Pull complete 18:04:44 01666e4c0597: Pull complete 18:04:46 aa168da1d23b: Verifying Checksum 18:04:46 aa168da1d23b: Download complete 18:04:54 aa168da1d23b: Pull complete 18:04:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:04:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:04:54 prd-centos7-docker-4c-2g-3583 does not seem to be running inside a container 18:04:54 $ 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-824/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-824 -v /w/workspace/ndry_app-functions-sdk-go_PR-824:/w/workspace/ndry_app-functions-sdk-go_PR-824:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-824@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:04:57 $ docker top 9392c741a29ac90afacf688f045d5de1d5165a846b375875edf1b10cfaa36ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:58 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:58 + mkdir -p /var/log/sa [Pipeline] sh 18:04:58 + ls /var/log/sa-host 18:04:58 + sadf -c /var/log/sa-host/sa07 18:04:58 file_magic: OK 18:04:58 HZ: Using current value: 100 18:04:58 file_header: OK 18:04:58 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:04:58 Statistics: 18:04:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:04:58 File successfully converted to sysstat format version 12.2.1 18:04:58 + sadf -c /var/log/sa-host/sa23 18:04:58 file_magic: OK 18:04:58 HZ: Using current value: 100 18:04:58 file_header: OK 18:04:58 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:04:58 Statistics: 18:04:58 Hnuu...uuuununununu... 18:04:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:58 provisioning config files... 18:04:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-824@tmp/config5300841857848929835tmp [Pipeline] { [Pipeline] echo 18:04:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:59 ---> create-netrc.sh [Pipeline] } 18:04:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:04:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:04:59 ---> python-tools-install.sh [Pipeline] echo 18:04:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:59 ---> sudo-logs.sh 18:04:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:00 ---> job-cost.sh 18:05:00 lf-activate-venv: SKIPPING 18:05:00 DEBUG: total: 0.20999999344348907 18:05:00 INFO: Retrieving Stack Cost... 18:05:01 INFO: Retrieving Pricing Info for: v1-standard-2 18:05:01 INFO: Archiving Costs [Pipeline] echo 18:05:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:02 ---> logs-deploy.sh 18:05:02 lf-activate-venv: SKIPPING 18:05:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-824/2 18:05:02 INFO: archiving workspace using pattern(s): 18:05:04 Archives upload complete. 18:05:04 INFO: archiving logs to Nexus