Pull request #906 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 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382+14beec02c4adae67315ae096a74ac93e87d1a967 (7a4baf8f45987e2713821379e6d025b2b93983e4) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh621845640490114701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5532344686469003746.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 6a41506d72e8e131afc862d141935157bee59f41 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-906/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-906/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1013659904764432311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5965861693366956011.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-906/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-906/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2861404547386374407.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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: 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1848 in /w/workspace/ndry_app-functions-sdk-go_PR-906 [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-906 # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/jenkins-gitclient-ssh6572479882493962240.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 Merging remotes/origin/master commit 14beec02c4adae67315ae096a74ac93e87d1a967 into PR head commit 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 Merge succeeded, producing 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 Checking out Revision 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 (PR-906) 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/jenkins-gitclient-ssh5472341763045982142.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/jenkins-gitclient-ssh1740787607035207003.key > git merge 14beec02c4adae67315ae096a74ac93e87d1a967 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # timeout=10 Commit message: "refactor: Use Core Metadata version API for version check" First time build. Skipping changelog. > git rev-list --no-walk 6db0dfc5b7122633f0505cf7ffe94a4dd8e189a8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:29:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:29:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:29:55 ========================================================= 00:29:55 EdgeX Global Pipelines Version Info 00:29:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:29:58 ------------------- 00:29:58 stable info: 00:29:58 ------------------- 00:29:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:29:58 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 00:29:58 Message: update stable to v1.0.195 00:29:59 ------------------- 00:29:59 experimental info: 00:29:59 ------------------- 00:29:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:29:59 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 00:29:59 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:29:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-906 [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-906 [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-906 [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d6ed2f [Pipeline] echo 00:30:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:05 + git log --format=format:%s -1 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 [Pipeline] echo 00:30:05 GIT_COMMIT: 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382, Commit Message: refactor: Use Core Metadata version API for version check [Pipeline] echo 00:30:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:30:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:11 00:30:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:11 latest: Pulling from edgex-devops/git-semver 00:30:11 31603596830f: Pulling fs layer 00:30:11 54011a49482f: Pulling fs layer 00:30:11 a6820b24f6d8: Pulling fs layer 00:30:11 f581987b2513: Pulling fs layer 00:30:11 f581987b2513: Waiting 00:30:11 54011a49482f: Verifying Checksum 00:30:11 54011a49482f: Download complete 00:30:12 31603596830f: Verifying Checksum 00:30:12 31603596830f: Download complete 00:30:12 f581987b2513: Verifying Checksum 00:30:12 f581987b2513: Download complete 00:30:12 a6820b24f6d8: Verifying Checksum 00:30:12 a6820b24f6d8: Download complete 00:30:12 31603596830f: Pull complete 00:30:12 54011a49482f: Pull complete 00:30:12 a6820b24f6d8: Pull complete 00:30:15 f581987b2513: Pull complete 00:30:15 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:15 prd-centos7-docker-4c-2g-1848 does not seem to be running inside a container 00:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-906 -v /w/workspace/ndry_app-functions-sdk-go_PR-906:/w/workspace/ndry_app-functions-sdk-go_PR-906:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-906@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:17 $ docker top 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:18 [ssh-agent] Looking for ssh-agent implementation... 00:30:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:18 $ docker exec 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 ssh-agent 00:30:18 SSH_AUTH_SOCK=/tmp/ssh-zpoFY9LtARvc/agent.13 00:30:18 SSH_AGENT_PID=19 00:30:18 Running ssh-add (command line suppressed) 00:30:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/private_key_6421522117819367274.key (/w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/private_key_6421522117819367274.key) 00:30:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:20 + git tag --points-at HEAD [Pipeline] } 00:30:20 $ docker exec --env ******** --env ******** 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 ssh-agent -k 00:30:21 unset SSH_AUTH_SOCK; 00:30:21 unset SSH_AGENT_PID; 00:30:21 echo Agent pid 19 killed; 00:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:21 [ssh-agent] Looking for ssh-agent implementation... 00:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:21 $ docker exec 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 ssh-agent 00:30:21 SSH_AUTH_SOCK=/tmp/ssh-adGjnxbx46Oo/agent.53 00:30:21 SSH_AGENT_PID=60 00:30:21 Running ssh-add (command line suppressed) 00:30:21 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/private_key_5032440077885292768.key (/w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/private_key_5032440077885292768.key) 00:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:23 + git semver init 00:30:23 # -> Open(): unable to determine branch for HEAD 00:30:23 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-906/.git 00:30:23 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-906 00:30:23 # $SEMVER_REMOTE_NAME = origin 00:30:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:23 # $SEMVER_USER_NAME = edgex-jenkins 00:30:23 # $SEMVER_BRANCH = PR-906 00:30:23 # $SEMVER_TEMP = /tmp/semver-744059627 00:30:23 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:30:23 # '/tmp/semver-744059627' -> '/w/workspace/ndry_app-functions-sdk-go_PR-906/.semver' 00:30:23 # -> Force: false 00:30:23 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-906/.semver [Pipeline] } 00:30:23 $ docker exec --env ******** --env ******** 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 ssh-agent -k 00:30:24 unset SSH_AUTH_SOCK; 00:30:24 unset SSH_AGENT_PID; 00:30:24 echo Agent pid 60 killed; 00:30:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:24 + git semver [Pipeline] } 00:30:24 $ docker stop --time=1 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 00:30:26 $ docker rm -f 2780f31bd659f913452eec5e026a1479be3d117ce7103cb75f87b2bc0aaf7ba5 [Pipeline] // withDockerContainer [Pipeline] sh 00:30:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:27 Stashed 1 file(s) [Pipeline] echo 00:30:27 [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 00:30:45 Still waiting to schedule task 00:30:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:30:45 Still waiting to schedule task 00:30:45 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:33:18 Running on prd-centos7-docker-4c-2g-1851 in /w/workspace/ndry_app-functions-sdk-go_PR-906 [Pipeline] { [Pipeline] ws 00:33:18 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 00:33:18 The recommended git tool is: git 00:33:28 using credential edgex-jenkins-ssh 00:33:28 Cloning the remote Git repository 00:33:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:33:28 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 00:33:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:33:28 > git --version # timeout=10 00:33:28 > git --version # 'git version 2.24.4' 00:33:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:28 [INFO] Currently running in a labeled security context 00:33:28 [INFO] Currently SELinux is 'enforcing' on the host 00:33:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh2611393772203395686.key 00:33:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:30 Merging remotes/origin/master commit 14beec02c4adae67315ae096a74ac93e87d1a967 into PR head commit 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 00:33:30 Merge succeeded, producing 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 00:33:30 Checking out Revision 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 (PR-906) 00:33:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:33:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:33:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:33:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:29 [INFO] Currently running in a labeled security context 00:33:29 [INFO] Currently SELinux is 'enforcing' on the host 00:33:29 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh6856571656423613365.key 00:33:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:33:30 > git config core.sparsecheckout # timeout=10 00:33:30 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # timeout=10 00:33:30 > git remote # timeout=10 00:33:30 > git config --get remote.origin.url # timeout=10 00:33:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:30 [INFO] Currently running in a labeled security context 00:33:30 [INFO] Currently SELinux is 'enforcing' on the host 00:33:30 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh6838593888301277875.key 00:33:30 > git merge 14beec02c4adae67315ae096a74ac93e87d1a967 # timeout=10 00:33:30 > git rev-parse HEAD^{commit} # timeout=10 00:33:30 > git config core.sparsecheckout # timeout=10 00:33:30 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # timeout=10 00:33:36 Commit message: "refactor: Use Core Metadata version API for version check" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:33:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:33:42 + true 00:33:42 + sudo service docker restart 00:33:42 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:33:59 ========================================================= 00:33:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:33:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:33:59 + 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 . 00:33:59 Sending build context to Docker daemon 19.83MB 00:33:59 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:33:59 Step 2/8 : FROM ${BASE} 00:34:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:34:00 540db60ca938: Pulling fs layer 00:34:00 adcc1eea9eea: Pulling fs layer 00:34:00 4c4ab2625f07: Pulling fs layer 00:34:00 0510c868ecb4: Pulling fs layer 00:34:00 afea3b2eda06: Pulling fs layer 00:34:00 7809a108b3ef: Pulling fs layer 00:34:00 f706445af74f: Pulling fs layer 00:34:00 afea3b2eda06: Waiting 00:34:00 7809a108b3ef: Waiting 00:34:00 f706445af74f: Waiting 00:34:00 0510c868ecb4: Waiting 00:34:00 4c4ab2625f07: Verifying Checksum 00:34:00 4c4ab2625f07: Download complete 00:34:00 adcc1eea9eea: Verifying Checksum 00:34:00 adcc1eea9eea: Download complete 00:34:00 afea3b2eda06: Verifying Checksum 00:34:00 afea3b2eda06: Download complete 00:34:00 7809a108b3ef: Verifying Checksum 00:34:00 7809a108b3ef: Download complete 00:34:00 540db60ca938: Verifying Checksum 00:34:00 540db60ca938: Download complete 00:34:00 540db60ca938: Pull complete 00:34:00 adcc1eea9eea: Pull complete 00:34:00 4c4ab2625f07: Pull complete 00:34:02 f706445af74f: Verifying Checksum 00:34:02 f706445af74f: Download complete 00:34:02 0510c868ecb4: Verifying Checksum 00:34:02 0510c868ecb4: Download complete 00:34:06 0510c868ecb4: Pull complete 00:34:06 afea3b2eda06: Pull complete 00:34:06 7809a108b3ef: Pull complete 00:34:07 f706445af74f: Pull complete 00:34:07 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:34:07 ---> b068be0155e3 00:34:07 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:34:07 20.10.0: Pulling from library/docker 00:34:07 05e7bc50f07f: Pulling fs layer 00:34:07 6db28d0fdbf6: Pulling fs layer 00:34:07 292df0bc6bf3: Pulling fs layer 00:34:07 2e060f4bd70b: Pulling fs layer 00:34:07 80e8d568a223: Pulling fs layer 00:34:07 8dc6ef1a942a: Pulling fs layer 00:34:07 2312dd95470a: Pulling fs layer 00:34:07 2e060f4bd70b: Waiting 00:34:07 80e8d568a223: Waiting 00:34:07 8dc6ef1a942a: Waiting 00:34:07 2312dd95470a: Waiting 00:34:07 292df0bc6bf3: Verifying Checksum 00:34:07 292df0bc6bf3: Download complete 00:34:07 6db28d0fdbf6: Verifying Checksum 00:34:07 6db28d0fdbf6: Download complete 00:34:07 05e7bc50f07f: Verifying Checksum 00:34:07 05e7bc50f07f: Download complete 00:34:07 80e8d568a223: Verifying Checksum 00:34:07 80e8d568a223: Download complete 00:34:07 2312dd95470a: Verifying Checksum 00:34:07 2312dd95470a: Download complete 00:34:07 05e7bc50f07f: Pull complete 00:34:07 8dc6ef1a942a: Verifying Checksum 00:34:07 8dc6ef1a942a: Download complete 00:34:07 6db28d0fdbf6: Pull complete 00:34:07 292df0bc6bf3: Pull complete 00:34:08 2e060f4bd70b: Verifying Checksum 00:34:08 2e060f4bd70b: Download complete 00:34:11 2e060f4bd70b: Pull complete 00:34:11 80e8d568a223: Pull complete 00:34:11 8dc6ef1a942a: Pull complete 00:34:11 2312dd95470a: Pull complete 00:34:11 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:34:11 Status: Downloaded newer image for docker:20.10.0 00:34:14 ---> d615c1d28385 00:34:14 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:34:14 ---> Running in 798f0e57e628 00:34:14 Removing intermediate container 798f0e57e628 00:34:14 ---> 3fc32fcac967 00:34:14 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:34:14 ---> Running in 545586a6aa4c 00:34:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:34:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:34:16 (1/5) Installing libsodium (1.0.18-r0) 00:34:16 (2/5) Installing libzmq (4.3.3-r1) 00:34:16 (3/5) Installing pkgconf (1.7.3-r0) 00:34:16 (4/5) Installing libsodium-dev (1.0.18-r0) 00:34:16 (5/5) Installing zeromq-dev (4.3.3-r1) 00:34:16 Executing busybox-1.32.1-r6.trigger 00:34:16 OK: 150 MiB in 45 packages 00:34:17 Removing intermediate container 545586a6aa4c 00:34:17 ---> 810253dc702a 00:34:17 Step 6/8 : WORKDIR /build 00:34:17 ---> Running in 0dd54a7d8bc5 00:34:17 Removing intermediate container 0dd54a7d8bc5 00:34:17 ---> af2b4490cf45 00:34:17 Step 7/8 : COPY go.mod . 00:34:17 ---> 91101a0b37e9 00:34:17 Step 8/8 : RUN go mod download 00:34:17 ---> Running in 7f2cb6aadbd7 00:34:29 Removing intermediate container 7f2cb6aadbd7 00:34:29 ---> 3a1f9c06ad87 00:34:29 Successfully built 3a1f9c06ad87 00:34:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:34:30 + docker inspect -f . ci-base-image-x86_64 00:34:30 . [Pipeline] withDockerContainer 00:34:30 prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container 00:34:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-x86_64 cat 00:34:30 $ docker top 2a578a5d14594ea152e04bc4028350ec7ff34e4bdda840a3c408ac6992de8c42 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:30 + go version 00:34:30 go version go1.16.3 linux/amd64 [Pipeline] } 00:34:30 $ docker stop --time=1 2a578a5d14594ea152e04bc4028350ec7ff34e4bdda840a3c408ac6992de8c42 00:34:34 $ docker rm -f 2a578a5d14594ea152e04bc4028350ec7ff34e4bdda840a3c408ac6992de8c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:34:36 + docker inspect -f . ci-base-image-x86_64 00:34:36 . [Pipeline] withDockerContainer 00:34:36 prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container 00:34:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-x86_64 cat 00:34:38 $ docker top a43de1a36de6c50d2e8fa669667fe79a9f1153659cd778c30d100f7800a95a06 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:41 + go mod tidy [Pipeline] sh 00:34:43 + make test 00:34:43 make -C ./app-service-template build 00:34:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:34:43 go mod tidy 00:34:44 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:34:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:34:51 make -C ./app-service-template test 00:34:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:34:51 go mod tidy 00:34:51 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:35:00 ok new-app-service 0.008s coverage: 47.8% of statements 00:35:00 ? new-app-service/config [no test files] 00:35:00 ok new-app-service/functions 0.007s 00:35:00 CGO_ENABLED=1 go vet ./... 00:35:07 gofmt -l . 00:35:07 [ "`gofmt -l .`" = "" ] 00:35:07 ./bin/test-attribution-txt.sh 00:35:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 00:35:07 go mod tidy 00:35:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:35:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:35:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 63.6% of statements 00:35:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.010s coverage: 96.5% of statements 00:35:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:35:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 61.8% of statements 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:35:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.010s 00:35:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 74.5% of statements 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:35:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.1% of statements 00:35:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:35:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 00:35:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.735s coverage: 76.1% of statements 00:35:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:35:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 00:35:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 00:35:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:35:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:35:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements 00:35:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.034s coverage: 78.0% of statements 00:35:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 00:35:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:35:38 gofmt -l . 00:35:38 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:35:38 $ docker stop --time=1 a43de1a36de6c50d2e8fa669667fe79a9f1153659cd778c30d100f7800a95a06 00:35:39 $ docker rm -f a43de1a36de6c50d2e8fa669667fe79a9f1153659cd778c30d100f7800a95a06 [Pipeline] // withDockerContainer [Pipeline] sh 00:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:35:40 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 00:35:44 ---> job-cost.sh 00:35:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-e3iP 00:35:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:36:05 lf-activate-venv(): INFO: Adding /tmp/venv-e3iP/bin to PATH 00:36:05 INFO: No Stack... 00:36:08 INFO: Retrieving Pricing Info for: v3-standard-2 00:36:08 INFO: Archiving Costs [Pipeline] sh 00:36:08 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 00:36:08 + cut -d, -f6 [Pipeline] lock 00:36:08 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] 00:36:08 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] did not exist. Created. 00:36:08 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:11 + echo total: 0.05999999865889549 [Pipeline] stash 00:36:11 Stashed 1 file(s) [Pipeline] } 00:36:11 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:05:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2000 in /w/workspace/ndry_app-functions-sdk-go_PR-906 [Pipeline] { [Pipeline] ws 01:05:47 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 01:05:50 The recommended git tool is: git 01:06:00 using credential edgex-jenkins-ssh 01:06:00 Cloning the remote Git repository 01:06:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:06:00 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 01:06:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:06:00 > git --version # timeout=10 01:06:00 > git --version # 'git version 2.17.1' 01:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:04 Merging remotes/origin/master commit 14beec02c4adae67315ae096a74ac93e87d1a967 into PR head commit 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 01:06:04 Merge succeeded, producing 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 01:06:04 Checking out Revision 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 (PR-906) 01:06:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:06:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:06:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:06:04 > git config core.sparsecheckout # timeout=10 01:06:04 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # timeout=10 01:06:04 > git remote # timeout=10 01:06:04 > git config --get remote.origin.url # timeout=10 01:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:04 > git merge 14beec02c4adae67315ae096a74ac93e87d1a967 # timeout=10 01:06:04 > git rev-parse HEAD^{commit} # timeout=10 01:06:04 > git config core.sparsecheckout # timeout=10 01:06:04 > git checkout -f 7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 # timeout=10 01:06:09 Commit message: "refactor: Use Core Metadata version API for version check" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:06:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:06:13 + true 01:06:13 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 01:06:32 ========================================================= 01:06:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:06:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:06:33 + 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 . 01:06:35 Sending build context to Docker daemon 19.83MB 01:06:35 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 01:06:35 Step 2/8 : FROM ${BASE} 01:06:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:06:35 595b0fe564bb: Pulling fs layer 01:06:35 3088b5b3c5c0: Pulling fs layer 01:06:35 5b7225fbf94c: Pulling fs layer 01:06:35 ba82ee9f976e: Pulling fs layer 01:06:35 506bd15cee9f: Pulling fs layer 01:06:35 75a0a4a0db45: Pulling fs layer 01:06:35 618dc40b7e24: Pulling fs layer 01:06:35 ba82ee9f976e: Waiting 01:06:35 618dc40b7e24: Waiting 01:06:35 506bd15cee9f: Waiting 01:06:35 75a0a4a0db45: Waiting 01:06:35 5b7225fbf94c: Download complete 01:06:35 3088b5b3c5c0: Verifying Checksum 01:06:35 3088b5b3c5c0: Download complete 01:06:35 506bd15cee9f: Verifying Checksum 01:06:35 506bd15cee9f: Download complete 01:06:35 75a0a4a0db45: Verifying Checksum 01:06:35 75a0a4a0db45: Download complete 01:06:35 595b0fe564bb: Verifying Checksum 01:06:35 595b0fe564bb: Download complete 01:06:35 595b0fe564bb: Pull complete 01:06:36 3088b5b3c5c0: Pull complete 01:06:36 5b7225fbf94c: Pull complete 01:06:39 618dc40b7e24: Verifying Checksum 01:06:39 618dc40b7e24: Download complete 01:06:39 ba82ee9f976e: Download complete 01:06:49 ba82ee9f976e: Pull complete 01:06:49 506bd15cee9f: Pull complete 01:06:51 75a0a4a0db45: Pull complete 01:06:53 618dc40b7e24: Pull complete 01:06:53 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 01:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:06:53 ---> a36622ca3599 01:06:53 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 01:06:53 20.10.0: Pulling from library/docker 01:06:53 a3cc7d3b244e: Pulling fs layer 01:06:53 02a3295e0d61: Pulling fs layer 01:06:53 0f4f2e6d8100: Pulling fs layer 01:06:53 330b718f631f: Pulling fs layer 01:06:53 330b718f631f: Waiting 01:06:53 a93816041522: Pulling fs layer 01:06:53 bdb6da89ff94: Pulling fs layer 01:06:53 2a70c0c122f4: Pulling fs layer 01:06:53 a93816041522: Waiting 01:06:53 bdb6da89ff94: Waiting 01:06:53 2a70c0c122f4: Waiting 01:06:53 0f4f2e6d8100: Verifying Checksum 01:06:53 0f4f2e6d8100: Download complete 01:06:54 02a3295e0d61: Download complete 01:06:54 a93816041522: Verifying Checksum 01:06:54 a93816041522: Download complete 01:06:54 a3cc7d3b244e: Verifying Checksum 01:06:54 a3cc7d3b244e: Download complete 01:06:54 2a70c0c122f4: Verifying Checksum 01:06:54 2a70c0c122f4: Download complete 01:06:54 bdb6da89ff94: Verifying Checksum 01:06:54 bdb6da89ff94: Download complete 01:06:54 a3cc7d3b244e: Pull complete 01:06:56 02a3295e0d61: Pull complete 01:06:56 0f4f2e6d8100: Pull complete 01:06:56 330b718f631f: Verifying Checksum 01:06:56 330b718f631f: Download complete 01:07:00 330b718f631f: Pull complete 01:07:00 a93816041522: Pull complete 01:07:00 bdb6da89ff94: Pull complete 01:07:00 2a70c0c122f4: Pull complete 01:07:00 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 01:07:00 Status: Downloaded newer image for docker:20.10.0 01:07:05 ---> b2495cb3d766 01:07:05 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:07:05 ---> Running in 5cc5b65955f3 01:07:05 Removing intermediate container 5cc5b65955f3 01:07:05 ---> 2e3bb72c6fed 01:07:05 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 01:07:05 ---> Running in 75c24968b03f 01:07:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:07:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:07:09 (1/5) Installing libsodium (1.0.18-r0) 01:07:09 (2/5) Installing libzmq (4.3.3-r1) 01:07:09 (3/5) Installing pkgconf (1.7.3-r0) 01:07:09 (4/5) Installing libsodium-dev (1.0.18-r0) 01:07:09 (5/5) Installing zeromq-dev (4.3.3-r1) 01:07:09 Executing busybox-1.32.1-r6.trigger 01:07:09 OK: 139 MiB in 45 packages 01:07:10 Removing intermediate container 75c24968b03f 01:07:10 ---> 0f3dbe888e15 01:07:10 Step 6/8 : WORKDIR /build 01:07:10 ---> Running in 8badae2c907b 01:07:10 Removing intermediate container 8badae2c907b 01:07:10 ---> 715f9dac8c90 01:07:10 Step 7/8 : COPY go.mod . 01:07:13 ---> 4bffe6b3627a 01:07:13 Step 8/8 : RUN go mod download 01:07:13 ---> Running in 075948fb3b40 01:07:38 Removing intermediate container 075948fb3b40 01:07:38 ---> 5a1f1340f8d0 01:07:38 Successfully built 5a1f1340f8d0 01:07:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:07:38 + docker inspect -f . ci-base-image-arm64 01:07:38 . [Pipeline] withDockerContainer 01:07:41 prd-ubuntu18.04-docker-arm64-4c-16g-2000 does not seem to be running inside a container 01:07:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-arm64 cat 01:07:42 $ docker top 9d962f8d5967e55ed50de4acaade05ba7b2582a5d9337df7d0f693f19c537514 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:45 + go version 01:07:45 go version go1.16.5 linux/arm64 [Pipeline] } 01:07:45 $ docker stop --time=1 9d962f8d5967e55ed50de4acaade05ba7b2582a5d9337df7d0f693f19c537514 01:07:49 $ docker rm -f 9d962f8d5967e55ed50de4acaade05ba7b2582a5d9337df7d0f693f19c537514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:07:50 + docker inspect -f . ci-base-image-arm64 01:07:50 . [Pipeline] withDockerContainer 01:07:53 prd-ubuntu18.04-docker-arm64-4c-16g-2000 does not seem to be running inside a container 01:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-arm64 cat 01:07:56 $ docker top 86989b8b18f9b6389fee29134331cd8d2eac6b477f0a9db52a05ddb3bf49736a -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:57 + go mod tidy [Pipeline] sh 01:08:00 + make test 01:08:00 make -C ./app-service-template build 01:08:00 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 01:08:00 go mod tidy 01:08:00 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 01:08:36 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 01:08:36 make -C ./app-service-template test 01:08:36 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 01:08:36 go mod tidy 01:08:36 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:09:08 ok new-app-service 0.044s coverage: 47.8% of statements 01:09:08 ? new-app-service/config [no test files] 01:09:08 ok new-app-service/functions 0.040s 01:09:08 CGO_ENABLED=1 go vet ./... 01:09:34 gofmt -l . 01:09:34 [ "`gofmt -l .`" = "" ] 01:09:34 ./bin/test-attribution-txt.sh 01:09:35 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 01:09:35 go mod tidy 01:09:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:09:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.079s coverage: 63.6% of statements 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 96.5% of statements 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.096s coverage: 61.8% of statements 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.107s coverage: 74.5% of statements 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.1% of statements 01:09:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 01:09:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.049s coverage: 10.5% of statements 01:09:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.879s coverage: 76.1% of statements 01:09:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 01:09:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.064s coverage: 12.5% of statements 01:09:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.115s coverage: 27.3% of statements 01:09:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 01:09:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:09:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.065s coverage: 51.4% of statements 01:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.123s coverage: 78.0% of statements 01:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements 01:10:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:10:22 gofmt -l . 01:10:25 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:10:25 $ docker stop --time=1 86989b8b18f9b6389fee29134331cd8d2eac6b477f0a9db52a05ddb3bf49736a 01:10:27 $ docker rm -f 86989b8b18f9b6389fee29134331cd8d2eac6b477f0a9db52a05ddb3bf49736a [Pipeline] // withDockerContainer [Pipeline] sh 01:10:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:10:28 Warning: overwriting stash ‘coverage-report’ 01:10:29 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 01:10:32 ---> job-cost.sh 01:10:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UZ87 01:11:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:13:13 lf-activate-venv(): INFO: Adding /tmp/venv-UZ87/bin to PATH 01:13:13 INFO: No Stack... 01:13:13 INFO: Retrieving Pricing Info for: v2-standard-4 01:13:13 INFO: Archiving Costs [Pipeline] sh 01:13:13 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 01:13:13 + cut -d, -f6 [Pipeline] lock 01:13:13 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] 01:13:13 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] did not exist. Created. 01:13:13 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:13:14 /w/workspace/app-functions-sdk-go/4@tmp/durable-3337bb16/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-3337bb16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:13:14 + echo total: 0.18000000715255737 [Pipeline] stash 01:13:14 Warning: overwriting stash ‘stack-cost’ 01:13:14 Stashed 1 file(s) [Pipeline] } 01:13:14 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-906-4-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] configFileProvider 01:13:19 provisioning config files... 01:13:19 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/config8541086159048207973tmp [Pipeline] { [Pipeline] sh 01:13:22 + set +x 01:13:22 + curl -s https://codecov.io/bash 01:13:22 + bash -s -- 01:13:22 01:13:22 _____ _ 01:13:22 / ____| | | 01:13:22 | | ___ __| | ___ ___ _____ __ 01:13:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:13:22 | |___| (_) | (_| | __/ (_| (_) \ V / 01:13:22 \_____\___/ \__,_|\___|\___\___/ \_/ 01:13:22 Bash-1.0.3 01:13:22 01:13:22 01:13:22 ==> git version 2.24.4 found 01:13:22 ==> 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 01:13:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:13:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:13:22 ==> Jenkins CI detected. 01:13:22 project root: . 01:13:22 --> token set from env 01:13:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:13:22 ==> Running gcov in . (disable via -X gcov) 01:13:22 ==> Python coveragepy not found 01:13:22 ==> Searching for coverage reports in: 01:13:22 + . 01:13:22 -> Found 2 reports 01:13:22 ==> Detecting git/mercurial file structure 01:13:22 ==> Reading reports 01:13:22 + ./app-service-template/coverage.out bytes=1055 01:13:22 + ./coverage.out bytes=95181 01:13:22 ==> Appending adjustments 01:13:22 https://docs.codecov.io/docs/fixing-reports 01:13:22 + Found adjustments 01:13:22 ==> Gzipping contents 01:13:22 20K /tmp/codecov.gBsBQl.gz 01:13:22 ==> Uploading reports 01:13:22 url: https://codecov.io 01:13:22 query: branch=PR-906&commit=7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-906%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= 01:13:22 -> Pinging Codecov 01:13:22 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-906&commit=7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-906%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= 01:13:22 -> Uploading to 01:13:22 https://storage.googleapis.com/codecov/v4/raw/2021-06-17/3D8B5DFFC46A037C893635FACE044666/7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382/405b053b-90c7-4a9a-80ae-23faa13ffa06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T011321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53a1a8f7654b3e4aca68b40baff7a8e79b4ed7f515f915005478e3409b4b1353 01:13:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:13:22 Dload Upload Total Spent Left Speed 01:13:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16851 0 0 100 16851 0 33582 --:--:-- --:--:-- --:--:-- 33567 01:13:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7d6ed2f49c34d0d8b7a7037806e3e7a9b9e76382 [Pipeline] } 01:13:22 Deleting 1 temporary files [Pipeline] // configFileProvider [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 01:13:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:13:29 ---> package-listing.sh 01:13:29 ++ facter osfamily 01:13:29 ++ tr '[:upper:]' '[:lower:]' 01:13:29 + OS_FAMILY=redhat 01:13:29 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-906 01:13:29 + START_PACKAGES=/tmp/packages_start.txt 01:13:29 + END_PACKAGES=/tmp/packages_end.txt 01:13:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:13:29 + PACKAGES=/tmp/packages_start.txt 01:13:29 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-906 ']' 01:13:29 + PACKAGES=/tmp/packages_end.txt 01:13:29 + case "${OS_FAMILY}" in 01:13:29 + rpm -qa 01:13:29 + sort 01:13:31 + '[' -f /tmp/packages_start.txt ']' 01:13:31 + '[' -f /tmp/packages_end.txt ']' 01:13:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:13:31 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-906 ']' 01:13:31 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-906/archives/ 01:13:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-906/archives/ [Pipeline] echo 01:13:31 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-906/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:13:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:32 01:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:32 alpine: Pulling from edgex-lftools-log-publisher 01:13:32 df20fa9351a1: Pulling fs layer 01:13:32 36b3adc4ff6f: Pulling fs layer 01:13:32 8ad3a11d3b57: Pulling fs layer 01:13:32 46f8f816bc3b: Pulling fs layer 01:13:32 93b61091891f: Pulling fs layer 01:13:32 93b9cdb0e59b: Pulling fs layer 01:13:32 5e14af77c1be: Pulling fs layer 01:13:32 01666e4c0597: Pulling fs layer 01:13:32 aa168da1d23b: Pulling fs layer 01:13:32 93b9cdb0e59b: Waiting 01:13:32 5e14af77c1be: Waiting 01:13:32 01666e4c0597: Waiting 01:13:32 aa168da1d23b: Waiting 01:13:32 46f8f816bc3b: Waiting 01:13:32 93b61091891f: Waiting 01:13:32 36b3adc4ff6f: Verifying Checksum 01:13:32 36b3adc4ff6f: Download complete 01:13:32 46f8f816bc3b: Verifying Checksum 01:13:32 46f8f816bc3b: Download complete 01:13:33 df20fa9351a1: Verifying Checksum 01:13:33 df20fa9351a1: Download complete 01:13:33 93b61091891f: Verifying Checksum 01:13:33 93b61091891f: Download complete 01:13:33 93b9cdb0e59b: Verifying Checksum 01:13:33 93b9cdb0e59b: Download complete 01:13:33 01666e4c0597: Verifying Checksum 01:13:33 01666e4c0597: Download complete 01:13:33 5e14af77c1be: Verifying Checksum 01:13:33 5e14af77c1be: Download complete 01:13:33 df20fa9351a1: Pull complete 01:13:33 36b3adc4ff6f: Pull complete 01:13:33 8ad3a11d3b57: Verifying Checksum 01:13:33 8ad3a11d3b57: Download complete 01:13:37 8ad3a11d3b57: Pull complete 01:13:37 46f8f816bc3b: Pull complete 01:13:37 93b61091891f: Pull complete 01:13:37 93b9cdb0e59b: Pull complete 01:13:37 5e14af77c1be: Pull complete 01:13:37 01666e4c0597: Pull complete 01:13:37 aa168da1d23b: Verifying Checksum 01:13:37 aa168da1d23b: Download complete 01:13:41 aa168da1d23b: Pull complete 01:13:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:13:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:13:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:13:41 prd-centos7-docker-4c-2g-1848 does not seem to be running inside a container 01:13:41 $ 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-906/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-906 -v /w/workspace/ndry_app-functions-sdk-go_PR-906:/w/workspace/ndry_app-functions-sdk-go_PR-906:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-906@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-906@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:10003/edgex-lftools-log-publisher:alpine cat 01:13:43 $ docker top 1c4ea6250f031c9a4b7308a11be7285cf8744ed04a5bfb55448ae8dc83795261 -eo pid,comm [Pipeline] { [Pipeline] sh 01:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 01:13:46 + mkdir -p /var/log/sa [Pipeline] sh 01:13:47 + ls /var/log/sa-host 01:13:47 + sadf -c /var/log/sa-host/sa05 01:13:47 file_magic: OK 01:13:47 HZ: Using current value: 100 01:13:47 file_header: OK 01:13:47 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 01:13:47 Statistics: 01:13:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:13:47 File successfully converted to sysstat format version 12.2.1 01:13:47 + sadf -c /var/log/sa-host/sa17 01:13:47 file_magic: OK 01:13:47 HZ: Using current value: 100 01:13:47 file_header: OK 01:13:47 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 01:13:47 Statistics: 01:13:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:13:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:52 provisioning config files... 01:13:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-906@tmp/config5178191872628939875tmp [Pipeline] { [Pipeline] echo 01:13:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:13:53 ---> create-netrc.sh [Pipeline] } 01:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:13:56 ---> python-tools-install.sh [Pipeline] echo 01:13:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:13:56 ---> sudo-logs.sh 01:13:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:13:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:13:56 ---> job-cost.sh 01:13:56 lf-activate-venv: SKIPPING 01:13:56 DEBUG: total: 0.18000000715255737 01:13:56 INFO: Retrieving Stack Cost... 01:13:57 INFO: Retrieving Pricing Info for: v3-standard-2 01:13:58 INFO: Archiving Costs [Pipeline] echo 01:13:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh