Pull request #795 opened 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 soda480 for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from a98d5e93ff1fb0d1e9e5895b25355286a701e174+31d53820897474db1e91be20d42ca7dc6cb60a35 (e295d78434704156f14bcf41dfb203948affce41) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-795/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-795/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-817 in /w/workspace/ndry_app-functions-sdk-go_PR-795 [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-795 # 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 31d53820897474db1e91be20d42ca7dc6cb60a35 into PR head commit a98d5e93ff1fb0d1e9e5895b25355286a701e174 Merge succeeded, producing a98d5e93ff1fb0d1e9e5895b25355286a701e174 Checking out Revision a98d5e93ff1fb0d1e9e5895b25355286a701e174 (PR-795) > 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/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # 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 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # timeout=10 Commit message: "Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:20:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:20:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:20:06 ========================================================= 17:20:06 EdgeX Global Pipelines Version Info 17:20:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:20:09 ------------------- 17:20:09 stable info: 17:20:09 ------------------- 17:20:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:20:09 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 17:20:09 Message: update stable to v1.0.186 17:20:10 ------------------- 17:20:10 experimental info: 17:20:10 ------------------- 17:20:10 Commited By: **** collab-it+edgex@linuxfoundation.org 17:20:10 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 17:20:10 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-795 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-795 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-795 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a98d5e93ff1fb0d1e9e5895b25355286a701e174 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a98d5e9 [Pipeline] echo 17:20:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:13 + git log --format=format:%s -1 a98d5e93ff1fb0d1e9e5895b25355286a701e174 [Pipeline] echo 17:20:13 GIT_COMMIT: a98d5e93ff1fb0d1e9e5895b25355286a701e174, Commit Message: Add badges to readme [Pipeline] echo 17:20:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:15 17:20:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:20:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:16 latest: Pulling from edgex-devops/git-semver 17:20:16 31603596830f: Pulling fs layer 17:20:16 2a8b12db71e7: Pulling fs layer 17:20:16 6ca5941a6612: Pulling fs layer 17:20:16 ecc8261a40a4: Pulling fs layer 17:20:16 ecc8261a40a4: Waiting 17:20:16 2a8b12db71e7: Verifying Checksum 17:20:16 2a8b12db71e7: Download complete 17:20:16 31603596830f: Verifying Checksum 17:20:16 31603596830f: Download complete 17:20:17 ecc8261a40a4: Verifying Checksum 17:20:17 ecc8261a40a4: Download complete 17:20:17 6ca5941a6612: Verifying Checksum 17:20:17 6ca5941a6612: Download complete 17:20:17 31603596830f: Pull complete 17:20:17 2a8b12db71e7: Pull complete 17:20:20 6ca5941a6612: Pull complete 17:20:20 ecc8261a40a4: Pull complete 17:20:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:20:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:20:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:20:21 prd-centos7-docker-4c-2g-817 does not seem to be running inside a container 17:20:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-795 -v /w/workspace/ndry_app-functions-sdk-go_PR-795:/w/workspace/ndry_app-functions-sdk-go_PR-795:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-795@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-795@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:20:25 $ docker top 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:25 [ssh-agent] Looking for ssh-agent implementation... 17:20:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:26 $ docker exec 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 ssh-agent 17:20:27 SSH_AUTH_SOCK=/tmp/ssh-kbzZetvYPVUN/agent.11 17:20:27 SSH_AGENT_PID=16 17:20:27 Running ssh-add (command line suppressed) 17:20:27 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/private_key_9208905994113435471.key (/w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/private_key_9208905994113435471.key) 17:20:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:27 + git tag --points-at HEAD [Pipeline] } 17:20:27 $ docker exec --env ******** --env ******** 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 ssh-agent -k 17:20:28 unset SSH_AUTH_SOCK; 17:20:28 unset SSH_AGENT_PID; 17:20:28 echo Agent pid 16 killed; 17:20:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:28 [ssh-agent] Looking for ssh-agent implementation... 17:20:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:28 $ docker exec 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 ssh-agent 17:20:28 SSH_AUTH_SOCK=/tmp/ssh-xYBICtMSctat/agent.46 17:20:28 SSH_AGENT_PID=51 17:20:29 Running ssh-add (command line suppressed) 17:20:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/private_key_4938390409267173772.key (/w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/private_key_4938390409267173772.key) 17:20:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:29 + git semver init 17:20:29 # -> Open(): unable to determine branch for HEAD 17:20:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-795/.git 17:20:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-795 17:20:29 # $SEMVER_REMOTE_NAME = origin 17:20:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:20:29 # $SEMVER_USER_NAME = edgex-jenkins 17:20:29 # $SEMVER_BRANCH = PR-795 17:20:29 # $SEMVER_TEMP = /tmp/semver-116816653 17:20:29 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:20:34 # '/tmp/semver-116816653' -> '/w/workspace/ndry_app-functions-sdk-go_PR-795/.semver' 17:20:34 # -> Force: false 17:20:34 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-795/.semver [Pipeline] } 17:20:34 $ docker exec --env ******** --env ******** 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 ssh-agent -k 17:20:35 unset SSH_AUTH_SOCK; 17:20:35 unset SSH_AGENT_PID; 17:20:35 echo Agent pid 51 killed; 17:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:36 + git semver [Pipeline] } 17:20:36 $ docker stop --time=1 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 17:20:38 $ docker rm -f 3e369ccbea2511fc75dcb231518acb4efb962a7ec273ace2a12fe5e92a6f14a9 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:40 Stashed 1 file(s) [Pipeline] echo 17:20:40 [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:20:55 Still waiting to schedule task 17:20:55 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-818’ is offline 17:20:55 Still waiting to schedule task 17:20:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:22:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-819 in /w/workspace/ndry_app-functions-sdk-go_PR-795 [Pipeline] { [Pipeline] ws 17:22:52 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:22:56 Running on prd-centos7-docker-4c-2g-820 in /w/workspace/ndry_app-functions-sdk-go_PR-795 [Pipeline] { [Pipeline] ws 17:22:57 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:22:58 using credential edgex-jenkins-ssh 17:22:58 Cloning the remote Git repository 17:22:58 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:22:58 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:22:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:22:58 > git --version # timeout=10 17:22:58 > git --version # 'git version 2.17.1' 17:22:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:59 using credential edgex-jenkins-ssh 17:22:59 Cloning the remote Git repository 17:22:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:59 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:22:59 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:22:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:22:59 > git --version # timeout=10 17:22:59 > git --version # 'git version 2.24.3' 17:22:59 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:23:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:23:01 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:23:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:23:02 Merging remotes/origin/master commit 31d53820897474db1e91be20d42ca7dc6cb60a35 into PR head commit a98d5e93ff1fb0d1e9e5895b25355286a701e174 17:23:02 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:23:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:23:02 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:23:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:23:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:23:03 Merge succeeded, producing a98d5e93ff1fb0d1e9e5895b25355286a701e174 17:23:03 Checking out Revision a98d5e93ff1fb0d1e9e5895b25355286a701e174 (PR-795) 17:23:03 Merging remotes/origin/master commit 31d53820897474db1e91be20d42ca7dc6cb60a35 into PR head commit a98d5e93ff1fb0d1e9e5895b25355286a701e174 17:23:02 > git config core.sparsecheckout # timeout=10 17:23:02 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # timeout=10 17:23:02 > git remote # timeout=10 17:23:02 > git config --get remote.origin.url # timeout=10 17:23:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:02 > git merge 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 17:23:02 > git rev-parse HEAD^{commit} # timeout=10 17:23:03 > git config core.sparsecheckout # timeout=10 17:23:03 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # timeout=10 17:23:04 Merge succeeded, producing a98d5e93ff1fb0d1e9e5895b25355286a701e174 17:23:04 Checking out Revision a98d5e93ff1fb0d1e9e5895b25355286a701e174 (PR-795) 17:23:03 > git config core.sparsecheckout # timeout=10 17:23:03 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # timeout=10 17:23:04 > git remote # timeout=10 17:23:04 > git config --get remote.origin.url # timeout=10 17:23:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:23:04 > git merge 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 17:23:04 > git rev-parse HEAD^{commit} # timeout=10 17:23:04 > git config core.sparsecheckout # timeout=10 17:23:04 > git checkout -f a98d5e93ff1fb0d1e9e5895b25355286a701e174 # timeout=10 17:23:06 Commit message: "Add badges to readme" 17:23:06 > git --version # timeout=10 17:23:06 > git --version # 'git version 2.24.3' 17:23:06 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:23:08 Commit message: "Add badges to readme" 17:23:08 > git --version # timeout=10 17:23:08 > git --version # 'git version 2.17.1' 17:23:08 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 17:23:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:23:08 + sudo service docker restart 17:23:08 + true 17:23:08 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] echo 17:23:10 ========================================================= 17:23:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:23:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:23:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:23:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 17:23:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:23:11 + sudo service docker+ restart 17:23:11 true 17:23:11 Sending build context to Docker daemon 19.48MB 17:23:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:23:11 Step 2/8 : FROM ${BASE} 17:23:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:23:11 188c0c94c7c5: Pulling fs layer 17:23:11 0ef7d3d256c8: Pulling fs layer 17:23:11 de9db76c5a1d: Pulling fs layer 17:23:11 bca2f99d35d6: Pulling fs layer 17:23:11 93359f2a8cfa: Pulling fs layer 17:23:11 7c6f9722023f: Pulling fs layer 17:23:11 a35cf1a2eb13: Pulling fs layer 17:23:11 93359f2a8cfa: Waiting 17:23:11 7c6f9722023f: Waiting 17:23:11 a35cf1a2eb13: Waiting 17:23:11 bca2f99d35d6: Waiting 17:23:11 de9db76c5a1d: Verifying Checksum 17:23:11 de9db76c5a1d: Download complete 17:23:11 0ef7d3d256c8: Download complete 17:23:11 93359f2a8cfa: Verifying Checksum 17:23:11 93359f2a8cfa: Download complete 17:23:11 188c0c94c7c5: Download complete 17:23:11 7c6f9722023f: Verifying Checksum 17:23:11 7c6f9722023f: Download complete 17:23:11 188c0c94c7c5: Pull complete 17:23:11 0ef7d3d256c8: Pull complete 17:23:12 de9db76c5a1d: Pull complete [Pipeline] unstash [Pipeline] echo 17:23:14 ========================================================= 17:23:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:23:14 ========================================================= 17:23:14 a35cf1a2eb13: Verifying Checksum 17:23:14 a35cf1a2eb13: Download complete 17:23:14 bca2f99d35d6: Verifying Checksum 17:23:14 bca2f99d35d6: Download complete [Pipeline] isUnix [Pipeline] sh 17:23:14 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 17:23:15 Sending build context to Docker daemon 19.48MB 17:23:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:23:15 Step 2/8 : FROM ${BASE} 17:23:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:23:15 5f621e34cdf4: Pulling fs layer 17:23:15 a4357932f1b6: Pulling fs layer 17:23:15 18c013af1878: Pulling fs layer 17:23:15 00ac8860ef70: Pulling fs layer 17:23:15 63d7cb157983: Pulling fs layer 17:23:15 b116817d02f9: Pulling fs layer 17:23:15 745a02a5169b: Pulling fs layer 17:23:15 00ac8860ef70: Waiting 17:23:15 63d7cb157983: Waiting 17:23:15 745a02a5169b: Waiting 17:23:15 b116817d02f9: Waiting 17:23:15 18c013af1878: Verifying Checksum 17:23:15 18c013af1878: Download complete 17:23:15 a4357932f1b6: Verifying Checksum 17:23:15 a4357932f1b6: Download complete 17:23:16 63d7cb157983: Download complete 17:23:16 b116817d02f9: Verifying Checksum 17:23:16 b116817d02f9: Download complete 17:23:16 5f621e34cdf4: Download complete 17:23:16 5f621e34cdf4: Pull complete 17:23:17 a4357932f1b6: Pull complete 17:23:18 18c013af1878: Pull complete 17:23:18 745a02a5169b: Verifying Checksum 17:23:18 745a02a5169b: Download complete 17:23:19 00ac8860ef70: Verifying Checksum 17:23:19 00ac8860ef70: Download complete 17:23:19 bca2f99d35d6: Pull complete 17:23:19 93359f2a8cfa: Pull complete 17:23:19 7c6f9722023f: Pull complete 17:23:26 a35cf1a2eb13: Pull complete 17:23:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:23:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:23:26 ---> a62c8e92a672 17:23:26 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 17:23:26 20.10.0: Pulling from library/docker 17:23:26 05e7bc50f07f: Pulling fs layer 17:23:26 6db28d0fdbf6: Pulling fs layer 17:23:26 292df0bc6bf3: Pulling fs layer 17:23:26 2e060f4bd70b: Pulling fs layer 17:23:26 80e8d568a223: Pulling fs layer 17:23:26 8dc6ef1a942a: Pulling fs layer 17:23:26 2312dd95470a: Pulling fs layer 17:23:26 2e060f4bd70b: Waiting 17:23:26 80e8d568a223: Waiting 17:23:26 2312dd95470a: Waiting 17:23:26 292df0bc6bf3: Download complete 17:23:26 05e7bc50f07f: Download complete 17:23:26 6db28d0fdbf6: Verifying Checksum 17:23:26 6db28d0fdbf6: Download complete 17:23:26 8dc6ef1a942a: Verifying Checksum 17:23:26 8dc6ef1a942a: Download complete 17:23:26 80e8d568a223: Verifying Checksum 17:23:26 80e8d568a223: Download complete 17:23:26 2312dd95470a: Verifying Checksum 17:23:26 2312dd95470a: Download complete 17:23:26 05e7bc50f07f: Pull complete 17:23:26 6db28d0fdbf6: Pull complete 17:23:27 292df0bc6bf3: Pull complete 17:23:27 2e060f4bd70b: Verifying Checksum 17:23:27 2e060f4bd70b: Download complete 17:23:29 00ac8860ef70: Pull complete 17:23:29 63d7cb157983: Pull complete 17:23:30 b116817d02f9: Pull complete 17:23:30 2e060f4bd70b: Pull complete 17:23:30 80e8d568a223: Pull complete 17:23:30 8dc6ef1a942a: Pull complete 17:23:30 2312dd95470a: Pull complete 17:23:31 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 17:23:31 Status: Downloaded newer image for docker:20.10.0 17:23:32 ---> 3e9aee250f14 17:23:32 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:23:32 ---> Running in ed545184c5f4 17:23:32 Removing intermediate container ed545184c5f4 17:23:32 ---> 77ce22a32bad 17:23:32 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:23:32 ---> Running in cc66f467ad5e 17:23:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:23:33 745a02a5169b: Pull complete 17:23:33 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:23:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:23:33 ---> b7e6874047d6 17:23:33 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 17:23:33 20.10.0: Pulling from library/docker 17:23:33 a3cc7d3b244e: Pulling fs layer 17:23:33 02a3295e0d61: Pulling fs layer 17:23:33 0f4f2e6d8100: Pulling fs layer 17:23:33 330b718f631f: Pulling fs layer 17:23:33 a93816041522: Pulling fs layer 17:23:33 bdb6da89ff94: Pulling fs layer 17:23:33 2a70c0c122f4: Pulling fs layer 17:23:33 a93816041522: Waiting 17:23:33 2a70c0c122f4: Waiting 17:23:33 bdb6da89ff94: Waiting 17:23:33 330b718f631f: Waiting 17:23:33 0f4f2e6d8100: Verifying Checksum 17:23:33 0f4f2e6d8100: Download complete 17:23:34 02a3295e0d61: Download complete 17:23:34 a3cc7d3b244e: Verifying Checksum 17:23:34 a3cc7d3b244e: Download complete 17:23:34 a93816041522: Verifying Checksum 17:23:34 a93816041522: Download complete 17:23:34 bdb6da89ff94: Verifying Checksum 17:23:34 bdb6da89ff94: Download complete 17:23:34 2a70c0c122f4: Verifying Checksum 17:23:34 2a70c0c122f4: Download complete 17:23:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:23:34 a3cc7d3b244e: Pull complete 17:23:34 (1/5) Installing libsodium (1.0.18-r0) 17:23:35 (2/5) Installing libzmq (4.3.3-r0) 17:23:35 (3/5) Installing pkgconf (1.7.2-r0) 17:23:35 (4/5) Installing libsodium-dev (1.0.18-r0) 17:23:35 (5/5) Installing zeromq-dev (4.3.3-r0) 17:23:35 Executing busybox-1.31.1-r19.trigger 17:23:35 OK: 167 MiB in 44 packages 17:23:35 02a3295e0d61: Pull complete 17:23:35 330b718f631f: Verifying Checksum 17:23:35 330b718f631f: Download complete 17:23:35 0f4f2e6d8100: Pull complete 17:23:36 Removing intermediate container cc66f467ad5e 17:23:36 ---> 5adb73085a69 17:23:36 Step 6/8 : WORKDIR /build 17:23:36 ---> Running in 678e5ba20d3b 17:23:36 Removing intermediate container 678e5ba20d3b 17:23:36 ---> 638d933b964a 17:23:36 Step 7/8 : COPY go.mod . 17:23:36 ---> f5865fd94553 17:23:36 Step 8/8 : RUN go mod download 17:23:36 ---> Running in b465cdba34d2 17:23:40 330b718f631f: Pull complete 17:23:40 a93816041522: Pull complete 17:23:40 bdb6da89ff94: Pull complete 17:23:40 2a70c0c122f4: Pull complete 17:23:40 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 17:23:40 Status: Downloaded newer image for docker:20.10.0 17:23:47 ---> 7530e7b9f23a 17:23:47 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:23:47 ---> Running in 6f3ea9c2924f 17:23:47 Removing intermediate container 6f3ea9c2924f 17:23:47 ---> 734307bcc4ad 17:23:47 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:23:47 ---> Running in d589fc7605fa 17:23:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:23:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:23:49 (1/5) Installing libsodium (1.0.18-r0) 17:23:49 (2/5) Installing libzmq (4.3.3-r0) 17:23:50 (3/5) Installing pkgconf (1.7.2-r0) 17:23:50 (4/5) Installing libsodium-dev (1.0.18-r0) 17:23:50 (5/5) Installing zeromq-dev (4.3.3-r0) 17:23:50 Executing busybox-1.31.1-r19.trigger 17:23:50 OK: 144 MiB in 44 packages 17:23:51 Removing intermediate container d589fc7605fa 17:23:51 ---> fd8483b7db9b 17:23:51 Step 6/8 : WORKDIR /build 17:23:51 ---> Running in d85fca0d839d 17:23:52 Removing intermediate container d85fca0d839d 17:23:52 ---> 5a7cbcb304e1 17:23:52 Step 7/8 : COPY go.mod . 17:23:52 ---> 6a16f920f051 17:23:52 Step 8/8 : RUN go mod download 17:23:53 ---> Running in ae1541420ded 17:24:03 Removing intermediate container b465cdba34d2 17:24:03 ---> 1969e974b21c 17:24:03 Successfully built 1969e974b21c 17:24:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:24:03 + docker inspect -f . ci-base-image-x86_64 17:24:03 . [Pipeline] withDockerContainer 17:24:03 prd-centos7-docker-4c-2g-820 does not seem to be running inside a container 17:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:04 $ docker top b8f3d888b88e8ae0389b2ade4434b51d59e1f54037568f2cd67c72ef06dea18d -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:05 + go version 17:24:05 go version go1.15.5 linux/amd64 [Pipeline] } 17:24:05 $ docker stop --time=1 b8f3d888b88e8ae0389b2ade4434b51d59e1f54037568f2cd67c72ef06dea18d 17:24:06 $ docker rm -f b8f3d888b88e8ae0389b2ade4434b51d59e1f54037568f2cd67c72ef06dea18d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:07 + docker inspect -f . ci-base-image-x86_64 17:24:07 . [Pipeline] withDockerContainer 17:24:07 prd-centos7-docker-4c-2g-820 does not seem to be running inside a container 17:24:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:08 $ docker top f7d9548221ab69578d8ff10ab9c1200ee4319c0e0bde37ff4769ac76fc10d57f -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:08 + make test 17:24:08 make -C ./app-service-template build 17:24:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:24: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 17:24:20 Removing intermediate container ae1541420ded 17:24:20 ---> fb49f87572df 17:24:20 Successfully built fb49f87572df 17:24:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:24:20 + docker inspect -f . ci-base-image-arm64 17:24:20 . [Pipeline] withDockerContainer 17:24:20 prd-ubuntu18.04-docker-arm64-4c-16g-819 does not seem to be running inside a container 17:24:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:22 $ docker top fa518c6db65c7d52795995297dd6b32e19ff9ed64ff34c50e4657442e8fa2e2d -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:23 + go version 17:24:23 go version go1.15.5 linux/arm64 [Pipeline] } 17:24:23 $ docker stop --time=1 fa518c6db65c7d52795995297dd6b32e19ff9ed64ff34c50e4657442e8fa2e2d 17:24:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:24:23 make -C ./app-service-template test 17:24:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:24:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:24:25 $ docker rm -f fa518c6db65c7d52795995297dd6b32e19ff9ed64ff34c50e4657442e8fa2e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:26 + docker inspect -f . ci-base-image-arm64 17:24:26 . [Pipeline] withDockerContainer 17:24:26 prd-ubuntu18.04-docker-arm64-4c-16g-819 does not seem to be running inside a container 17:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:27 $ docker top b2d90df3e03688b9cb3f07103fad1c38468acaa5f16c0264401a0e40b19b1aec -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:28 + make test 17:24:28 make -C ./app-service-template build 17:24:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:24:28 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 17:24:31 ok new-app-service 0.025s coverage: 47.8% of statements 17:24:31 ? new-app-service/config [no test files] 17:24:31 ok new-app-service/functions 0.011s 17:24:31 CGO_ENABLED=1 go vet ./... 17:24:35 gofmt -l . 17:24:35 [ "`gofmt -l .`" = "" ] 17:24:35 ./bin/test-go-mod-tidy.sh 17:24:35 ./bin/test-attribution-txt.sh 17:24:35 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:24:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:24:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.026s coverage: 55.8% of statements 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.039s coverage: 92.5% of statements 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.052s coverage: 61.5% of statements 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.014s 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.059s coverage: 75.4% of statements 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:24:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.0% of statements 17:24:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:24:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.029s coverage: 10.5% of statements 17:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.750s coverage: 78.4% of statements 17:24:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 18.4% of statements 17:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.019s coverage: 27.3% of statements 17:24:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:24:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:24:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 71.7% of statements 17:25:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:25:07 make -C ./app-service-template test 17:25:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:25:07 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:25:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.042s coverage: 81.9% of statements 17:25:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 17:25:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:25:11 gofmt -l . 17:25:11 [ "`gofmt -l .`" = "" ] 17:25:11 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 17:25:11 $ docker stop --time=1 f7d9548221ab69578d8ff10ab9c1200ee4319c0e0bde37ff4769ac76fc10d57f 17:25:12 $ docker rm -f f7d9548221ab69578d8ff10ab9c1200ee4319c0e0bde37ff4769ac76fc10d57f [Pipeline] // withDockerContainer [Pipeline] sh 17:25:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:25:13 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 17:25:15 ---> job-cost.sh 17:25:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sKfr 17:25:26 ok new-app-service 0.069s coverage: 47.8% of statements 17:25:26 ? new-app-service/config [no test files] 17:25:26 ok new-app-service/functions 0.029s 17:25:26 CGO_ENABLED=1 go vet ./... 17:25:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:25:36 gofmt -l . 17:25:36 [ "`gofmt -l .`" = "" ] 17:25:36 ./bin/test-go-mod-tidy.sh 17:25:37 ./bin/test-attribution-txt.sh 17:25:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:25:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:25:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.059s coverage: 55.8% of statements 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 92.5% of statements 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.084s coverage: 61.5% of statements 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.037s 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.078s coverage: 75.4% of statements 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.0% of statements 17:25:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:25:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.081s coverage: 10.5% of statements 17:25:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.814s coverage: 78.4% of statements 17:25:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:25:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.025s coverage: 18.4% of statements 17:25:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.036s coverage: 27.3% of statements 17:25:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:25:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:25:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.064s coverage: 71.7% of statements 17:25:56 lf-activate-venv(): INFO: Adding /tmp/venv-sKfr/bin to PATH 17:25:56 INFO: No Stack... 17:25:57 INFO: Retrieving Pricing Info for: v1-standard-2 17:25:58 INFO: Archiving Costs [Pipeline] sh 17:25:58 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 17:25:58 + cut -d, -f6 [Pipeline] lock 17:25:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] 17:25:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] did not exist. Created. 17:25:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:59 + echo total: 0.029999999329447746 [Pipeline] stash 17:25:59 Stashed 1 file(s) [Pipeline] } 17:25:59 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.090s coverage: 81.9% of statements 17:26:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 17:26:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:26:24 gofmt -l . 17:26:24 [ "`gofmt -l .`" = "" ] 17:26:24 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 17:26:25 $ docker stop --time=1 b2d90df3e03688b9cb3f07103fad1c38468acaa5f16c0264401a0e40b19b1aec 17:26:27 $ docker rm -f b2d90df3e03688b9cb3f07103fad1c38468acaa5f16c0264401a0e40b19b1aec [Pipeline] // withDockerContainer [Pipeline] sh 17:26:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:28 Warning: overwriting stash ‘coverage-report’ 17:26: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 17:26:30 ---> job-cost.sh 17:26:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xnV4 17:27:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:28:46 lf-activate-venv(): INFO: Adding /tmp/venv-xnV4/bin to PATH 17:28:46 INFO: No Stack... 17:28:46 INFO: Retrieving Pricing Info for: lf-standard-4 17:28:46 INFO: Archiving Costs [Pipeline] sh 17:28:46 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 17:28:46 + cut -d, -f6 [Pipeline] lock 17:28:46 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] 17:28:46 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] did not exist. Created. 17:28:46 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:28:47 /w/workspace/app-functions-sdk-go/1@tmp/durable-f07cee83/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-f07cee83/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:28:47 + echo total: 0.20999999344348907 [Pipeline] stash 17:28:47 Warning: overwriting stash ‘stack-cost’ 17:28:47 Stashed 1 file(s) [Pipeline] } 17:28:47 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-795-1-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 17:28:48 provisioning config files... 17:28:48 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/config1460428054342028339tmp [Pipeline] { [Pipeline] sh 17:28:49 + set +x 17:28:49 + curl -s https://codecov.io/bash 17:28:49 + bash -s -- 17:28:49 17:28:49 _____ _ 17:28:49 / ____| | | 17:28:49 | | ___ __| | ___ ___ _____ __ 17:28:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:28:49 | |___| (_) | (_| | __/ (_| (_) \ V / 17:28:49 \_____\___/ \__,_|\___|\___\___/ \_/ 17:28:49 Bash-1.0.1 17:28:49 17:28:49 17:28:49 ==> git version 2.24.3 found 17:28:49 ==> 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 17:28:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:28:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:28:49 ==> Jenkins CI detected. 17:28:49 project root: . 17:28:49 --> token set from env 17:28:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:28:49 ==> Running gcov in . (disable via -X gcov) 17:28:49 ==> Python coveragepy not found 17:28:49 ==> Searching for coverage reports in: 17:28:49 + . 17:28:49 -> Found 2 reports 17:28:49 ==> Detecting git/mercurial file structure 17:28:49 ==> Reading reports 17:28:49 + ./app-service-template/coverage.out bytes=1055 17:28:49 + ./coverage.out bytes=86827 17:28:49 ==> Appending adjustments 17:28:49 https://docs.codecov.io/docs/fixing-reports 17:28:50 + Found adjustments 17:28:50 ==> Gzipping contents 17:28:50 16K /tmp/codecov.DQQMln.gz 17:28:50 ==> Uploading reports 17:28:50 url: https://codecov.io 17:28:50 query: branch=PR-795&commit=a98d5e93ff1fb0d1e9e5895b25355286a701e174&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= 17:28:50 -> Pinging Codecov 17:28:50 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-795&commit=a98d5e93ff1fb0d1e9e5895b25355286a701e174&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= 17:28:51 -> Uploading to 17:28:51 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/3D8B5DFFC46A037C893635FACE044666/a98d5e93ff1fb0d1e9e5895b25355286a701e174/58927093-9e7b-4888-836f-107cf8c4689c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T172850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7678dd8923ef4e1cd4b2b45e4de34c7322ef1ae0a063859d745bbc0cbab42f90 17:28:51 % Total % Received % Xferd Average Speed Time Time Time Current 17:28:51 Dload Upload Total Spent Left Speed 17:28:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15294 0 0 100 15294 0 29123 --:--:-- --:--:-- --:--:-- 29187 17:28:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a98d5e93ff1fb0d1e9e5895b25355286a701e174 [Pipeline] } 17:28:51 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 17:28:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:28:54 ---> package-listing.sh 17:28:54 ++ tr '[:upper:]' '[:lower:]' 17:28:54 ++ facter osfamily 17:28:54 + OS_FAMILY=redhat 17:28:54 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-795 17:28:54 + START_PACKAGES=/tmp/packages_start.txt 17:28:54 + END_PACKAGES=/tmp/packages_end.txt 17:28:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:28:54 + PACKAGES=/tmp/packages_start.txt 17:28:54 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-795 ']' 17:28:54 + PACKAGES=/tmp/packages_end.txt 17:28:54 + case "${OS_FAMILY}" in 17:28:54 + rpm -qa 17:28:54 + sort 17:29:01 + '[' -f /tmp/packages_start.txt ']' 17:29:01 + '[' -f /tmp/packages_end.txt ']' 17:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:29:01 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-795 ']' 17:29:01 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-795/archives/ 17:29:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-795/archives/ [Pipeline] echo 17:29:02 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-795/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:29:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:29:03 17:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:29:04 alpine: Pulling from edgex-lftools-log-publisher 17:29:04 df20fa9351a1: Pulling fs layer 17:29:04 36b3adc4ff6f: Pulling fs layer 17:29:04 8ad3a11d3b57: Pulling fs layer 17:29:04 46f8f816bc3b: Pulling fs layer 17:29:04 93b61091891f: Pulling fs layer 17:29:04 93b9cdb0e59b: Pulling fs layer 17:29:04 5e14af77c1be: Pulling fs layer 17:29:04 01666e4c0597: Pulling fs layer 17:29:04 aa168da1d23b: Pulling fs layer 17:29:04 46f8f816bc3b: Waiting 17:29:04 93b61091891f: Waiting 17:29:04 93b9cdb0e59b: Waiting 17:29:04 5e14af77c1be: Waiting 17:29:04 01666e4c0597: Waiting 17:29:04 aa168da1d23b: Waiting 17:29:04 36b3adc4ff6f: Verifying Checksum 17:29:04 36b3adc4ff6f: Download complete 17:29:04 46f8f816bc3b: Verifying Checksum 17:29:04 46f8f816bc3b: Download complete 17:29:04 df20fa9351a1: Verifying Checksum 17:29:04 df20fa9351a1: Download complete 17:29:04 93b9cdb0e59b: Verifying Checksum 17:29:04 93b9cdb0e59b: Download complete 17:29:04 93b61091891f: Verifying Checksum 17:29:04 93b61091891f: Download complete 17:29:04 01666e4c0597: Verifying Checksum 17:29:04 01666e4c0597: Download complete 17:29:04 5e14af77c1be: Download complete 17:29:04 8ad3a11d3b57: Verifying Checksum 17:29:04 8ad3a11d3b57: Download complete 17:29:05 df20fa9351a1: Pull complete 17:29:05 36b3adc4ff6f: Pull complete 17:29:07 8ad3a11d3b57: Pull complete 17:29:07 46f8f816bc3b: Pull complete 17:29:07 93b61091891f: Pull complete 17:29:07 aa168da1d23b: Verifying Checksum 17:29:07 aa168da1d23b: Download complete 17:29:08 93b9cdb0e59b: Pull complete 17:29:08 5e14af77c1be: Pull complete 17:29:08 01666e4c0597: Pull complete 17:29:23 aa168da1d23b: Pull complete 17:29:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:29:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:29:23 prd-centos7-docker-4c-2g-817 does not seem to be running inside a container 17:29:23 $ 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-795/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-795 -v /w/workspace/ndry_app-functions-sdk-go_PR-795:/w/workspace/ndry_app-functions-sdk-go_PR-795:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-795@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-795@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:10003/edgex-lftools-log-publisher:alpine cat 17:29:28 $ docker top 243a304352292fc7f51868e479d2de6156f8f7ef69eb1a753171d8afc18acd85 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:28 + touch /tmp/pre-build-complete [Pipeline] sh 17:29:29 + mkdir -p /var/log/sa [Pipeline] sh 17:29:30 + ls /var/log/sa-host 17:29:30 + sadf -c /var/log/sa-host/sa19 17:29:30 file_magic: OK 17:29:30 HZ: Using current value: 100 17:29:30 file_header: OK 17:29:30 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 17:29:30 Statistics: 17:29:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:29:30 File successfully converted to sysstat format version 12.2.1 17:29:30 + sadf -c /var/log/sa-host/sa23 17:29:30 file_magic: OK 17:29:30 HZ: Using current value: 100 17:29:30 file_header: OK 17:29:30 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 17:29:30 Statistics: 17:29:30 Hnuu...uuuununununu... 17:29:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:31 provisioning config files... 17:29:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-795@tmp/config2366722474833606299tmp [Pipeline] { [Pipeline] echo 17:29:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:29:31 ---> create-netrc.sh [Pipeline] } 17:29:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:29:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:29:32 ---> python-tools-install.sh [Pipeline] echo 17:29:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:29:33 ---> sudo-logs.sh 17:29:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:29:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:29:33 ---> job-cost.sh 17:29:34 lf-activate-venv: SKIPPING 17:29:34 DEBUG: total: 0.20999999344348907 17:29:34 INFO: Retrieving Stack Cost... 17:29:35 INFO: Retrieving Pricing Info for: v1-standard-2 17:29:36 INFO: Archiving Costs [Pipeline] echo 17:29:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:29:36 ---> logs-deploy.sh 17:29:36 lf-activate-venv: SKIPPING 17:29:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-795/1 17:29:36 INFO: archiving workspace using pattern(s): 17:29:39 Archives upload complete. 17:29:39 INFO: archiving logs to Nexus