Pull request #537 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from d7291151f353bece67719cdfc5e8c1c4597a4f7e+7fa6067512f69ddc1c1818832b10f56bfd793194 (d9d5426e62226f8523b8a9806e0c9498336d39ee) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-537/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-537/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5218 in /w/workspace/ndry_app-functions-sdk-go_PR-537 [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-537 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/537/head:refs/remotes/origin/PR-537 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7fa6067512f69ddc1c1818832b10f56bfd793194 into PR head commit d7291151f353bece67719cdfc5e8c1c4597a4f7e Merge succeeded, producing d7291151f353bece67719cdfc5e8c1c4597a4f7e Checking out Revision d7291151f353bece67719cdfc5e8c1c4597a4f7e (PR-537) > git config core.sparsecheckout # timeout=10 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # 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 7fa6067512f69ddc1c1818832b10f56bfd793194 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # timeout=10 Commit message: "fix(triggers): MQTT subscribe via onConnect handler so re-subscribe on reconnects" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:57:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:57:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:57:08 ========================================================= 22:57:08 EdgeX Global Pipelines Version Info 22:57:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:57:09 ------------------- 22:57:09 stable info: 22:57:09 ------------------- 22:57:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:09 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:57:09 Message: update stable to v1.0.131 22:57:10 ------------------- 22:57:10 experimental info: 22:57:10 ------------------- 22:57:10 Commited By: **** collab-it+edgex@linuxfoundation.org 22:57:10 Commit SHA: b844794b54203d30620054d0bad5c5cf07520b7d 22:57:10 Message: update experimental to v1.0.137 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-537 [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-537 [Pipeline] echo 22:57:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-537 [Pipeline] echo 22:57:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7291151f353bece67719cdfc5e8c1c4597a4f7e [Pipeline] echo 22:57:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d729115 [Pipeline] echo 22:57:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:16 + git log --format=format:%s -1 d7291151f353bece67719cdfc5e8c1c4597a4f7e [Pipeline] echo 22:57:16 GIT_COMMIT: d7291151f353bece67719cdfc5e8c1c4597a4f7e, Commit Message: fix(triggers): MQTT subscribe via onConnect handler so re-subscribe on reconnects [Pipeline] echo 22:57:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:57:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:17 22:57:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:57:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:17 latest: Pulling from edgex-devops/git-semver 22:57:17 31603596830f: Pulling fs layer 22:57:17 2a8b12db71e7: Pulling fs layer 22:57:17 6ca5941a6612: Pulling fs layer 22:57:17 ecc8261a40a4: Pulling fs layer 22:57:17 ecc8261a40a4: Waiting 22:57:17 2a8b12db71e7: Verifying Checksum 22:57:17 2a8b12db71e7: Download complete 22:57:18 31603596830f: Verifying Checksum 22:57:18 31603596830f: Download complete 22:57:18 ecc8261a40a4: Verifying Checksum 22:57:18 ecc8261a40a4: Download complete 22:57:18 6ca5941a6612: Verifying Checksum 22:57:18 6ca5941a6612: Download complete 22:57:18 31603596830f: Pull complete 22:57:18 2a8b12db71e7: Pull complete 22:57:19 6ca5941a6612: Pull complete 22:57:19 ecc8261a40a4: Pull complete 22:57:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:57:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:57:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:57:19 prd-centos7-docker-4c-2g-5218 does not seem to be running inside a container 22:57:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-537 -v /w/workspace/ndry_app-functions-sdk-go_PR-537:/w/workspace/ndry_app-functions-sdk-go_PR-537:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-537@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-537@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:57:21 $ docker top 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:22 [ssh-agent] Looking for ssh-agent implementation... 22:57:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:22 $ docker exec 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 ssh-agent 22:57:22 SSH_AUTH_SOCK=/tmp/ssh-YWmZhswSa48l/agent.12 22:57:22 SSH_AGENT_PID=17 22:57:22 Running ssh-add (command line suppressed) 22:57:22 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/private_key_6903038722283051932.key (/w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/private_key_6903038722283051932.key) 22:57:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:23 + git describe --exact-match --tags HEAD 22:57:23 fatal: no tag exactly matches 'd7291151f353bece67719cdfc5e8c1c4597a4f7e' [Pipeline] } 22:57:23 $ docker exec --env ******** --env ******** 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 ssh-agent -k 22:57:23 unset SSH_AUTH_SOCK; 22:57:23 unset SSH_AGENT_PID; 22:57:23 echo Agent pid 17 killed; 22:57:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:57:23 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:57:23 This usually means this commit has not been tagged. [Pipeline] sshagent 22:57:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:23 [ssh-agent] Looking for ssh-agent implementation... 22:57:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:23 $ docker exec 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 ssh-agent 22:57:23 SSH_AUTH_SOCK=/tmp/ssh-EGjdmFNaZizk/agent.46 22:57:23 SSH_AGENT_PID=51 22:57:23 Running ssh-add (command line suppressed) 22:57:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/private_key_1817039605424586756.key (/w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/private_key_1817039605424586756.key) 22:57:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:24 + git semver init 22:57:24 # -> Open(): unable to determine branch for HEAD 22:57:24 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-537/.git 22:57:24 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-537 22:57:24 # $SEMVER_REMOTE_NAME = origin 22:57:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:57:24 # $SEMVER_USER_NAME = edgex-jenkins 22:57:24 # $SEMVER_BRANCH = PR-537 22:57:24 # $SEMVER_TEMP = /tmp/semver-383754030 22:57:24 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:57:27 # '/tmp/semver-383754030' -> '/w/workspace/ndry_app-functions-sdk-go_PR-537/.semver' 22:57:27 # -> Force: false 22:57:27 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-537/.semver [Pipeline] } 22:57:27 $ docker exec --env ******** --env ******** 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 ssh-agent -k 22:57:27 unset SSH_AUTH_SOCK; 22:57:27 unset SSH_AGENT_PID; 22:57:27 echo Agent pid 51 killed; 22:57:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:27 + git semver [Pipeline] } 22:57:27 $ docker stop --time=1 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 22:57:29 $ docker rm -f 68d768fa0385a838d87bc23505cc9fbc51f348c6d1258d4963d4195ec79d7d32 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:57:31 Stashed 57 file(s) [Pipeline] echo 22:57:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:57:31 Archived original 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 22:57:47 Still waiting to schedule task 22:57:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:57:47 Still waiting to schedule task 22:57:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:00:17 Running on prd-centos7-docker-4c-2g-5220 in /w/workspace/ndry_app-functions-sdk-go_PR-537 [Pipeline] { [Pipeline] ws 23:00:17 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:00:19 using credential edgex-jenkins-ssh 23:00:19 Cloning the remote Git repository 23:00:19 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:00:19 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:00:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:00:19 > git --version # timeout=10 23:00:19 > git --version # 'git version 2.16.5' 23:00:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:21 Merging remotes/origin/master commit 7fa6067512f69ddc1c1818832b10f56bfd793194 into PR head commit d7291151f353bece67719cdfc5e8c1c4597a4f7e 23:00:21 Merge succeeded, producing d7291151f353bece67719cdfc5e8c1c4597a4f7e 23:00:21 Checking out Revision d7291151f353bece67719cdfc5e8c1c4597a4f7e (PR-537) 23:00:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:00:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:00:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:00:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/537/head:refs/remotes/origin/PR-537 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:00:21 > git config core.sparsecheckout # timeout=10 23:00:21 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # timeout=10 23:00:21 > git remote # timeout=10 23:00:21 > git config --get remote.origin.url # timeout=10 23:00:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:21 > git merge 7fa6067512f69ddc1c1818832b10f56bfd793194 # timeout=10 23:00:21 > git rev-parse HEAD^{commit} # timeout=10 23:00:21 > git config core.sparsecheckout # timeout=10 23:00:21 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # timeout=10 23:00:25 Commit message: "fix(triggers): MQTT subscribe via onConnect handler so re-subscribe on reconnects" 23:00:25 > git --version # timeout=10 23:00:25 > git --version # 'git version 2.16.5' 23:00:25 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:00:27 ========================================================= 23:00:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:00:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:00:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 23:00:29 Sending build context to Docker daemon 37.46MB 23:00:29 Step 1/8 : ARG BASE=golang:1.15-alpine 23:00:29 Step 2/8 : FROM ${BASE} 23:00:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:00:29 df20fa9351a1: Pulling fs layer 23:00:29 ed8968b2872e: Pulling fs layer 23:00:29 a92cc7c5fd73: Pulling fs layer 23:00:29 e871e8e8d7a9: Pulling fs layer 23:00:29 e73272ec9a57: Pulling fs layer 23:00:29 1e910a182e73: Pulling fs layer 23:00:29 4e634b169226: Pulling fs layer 23:00:29 e73272ec9a57: Waiting 23:00:29 1e910a182e73: Waiting 23:00:29 4e634b169226: Waiting 23:00:29 e871e8e8d7a9: Waiting 23:00:29 a92cc7c5fd73: Verifying Checksum 23:00:29 a92cc7c5fd73: Download complete 23:00:29 ed8968b2872e: Verifying Checksum 23:00:29 ed8968b2872e: Download complete 23:00:29 e73272ec9a57: Verifying Checksum 23:00:29 e73272ec9a57: Download complete 23:00:29 1e910a182e73: Verifying Checksum 23:00:29 1e910a182e73: Download complete 23:00:29 df20fa9351a1: Verifying Checksum 23:00:29 df20fa9351a1: Download complete 23:00:29 df20fa9351a1: Pull complete 23:00:29 ed8968b2872e: Pull complete 23:00:29 a92cc7c5fd73: Pull complete 23:00:31 4e634b169226: Verifying Checksum 23:00:31 4e634b169226: Download complete 23:00:31 e871e8e8d7a9: Verifying Checksum 23:00:31 e871e8e8d7a9: Download complete 23:00:37 e871e8e8d7a9: Pull complete 23:00:37 e73272ec9a57: Pull complete 23:00:37 1e910a182e73: Pull complete 23:00:47 4e634b169226: Pull complete 23:00:47 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 23:00:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:00:47 ---> f7629b54cfaa 23:00:47 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:00:47 latest: Pulling from library/docker 23:00:47 df20fa9351a1: Already exists 23:00:47 25ad7478873d: Pulling fs layer 23:00:47 4684f6177b5d: Pulling fs layer 23:00:47 8ba584e970af: Pulling fs layer 23:00:47 3cdc74d2b06d: Pulling fs layer 23:00:47 4cf5a0d07c1f: Pulling fs layer 23:00:47 fca0ccc462d5: Pulling fs layer 23:00:47 3cdc74d2b06d: Waiting 23:00:47 4cf5a0d07c1f: Waiting 23:00:47 fca0ccc462d5: Waiting 23:00:47 4684f6177b5d: Download complete 23:00:47 25ad7478873d: Verifying Checksum 23:00:47 25ad7478873d: Download complete 23:00:47 3cdc74d2b06d: Verifying Checksum 23:00:47 3cdc74d2b06d: Download complete 23:00:47 4cf5a0d07c1f: Verifying Checksum 23:00:47 4cf5a0d07c1f: Download complete 23:00:47 fca0ccc462d5: Verifying Checksum 23:00:47 fca0ccc462d5: Download complete 23:00:47 25ad7478873d: Pull complete 23:00:47 4684f6177b5d: Pull complete 23:00:47 8ba584e970af: Verifying Checksum 23:00:47 8ba584e970af: Download complete 23:00:50 8ba584e970af: Pull complete 23:00:50 3cdc74d2b06d: Pull complete 23:00:50 4cf5a0d07c1f: Pull complete 23:00:50 fca0ccc462d5: Pull complete 23:00:50 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 23:00:50 Status: Downloaded newer image for docker:latest 23:00:51 ---> 82e3a1662958 23:00:51 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:00:52 ---> Running in e730d5f79f2c 23:00:52 Removing intermediate container e730d5f79f2c 23:00:52 ---> 34189af974b8 23:00:52 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:00:52 ---> Running in be03b74ba4fb 23:00:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:00:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:00:54 (1/5) Installing libsodium (1.0.18-r0) 23:00:54 (2/5) Installing libzmq (4.3.3-r0) 23:00:54 (3/5) Installing pkgconf (1.7.2-r0) 23:00:54 (4/5) Installing libsodium-dev (1.0.18-r0) 23:00:54 (5/5) Installing zeromq-dev (4.3.3-r0) 23:00:54 Executing busybox-1.31.1-r16.trigger 23:00:55 OK: 167 MiB in 44 packages 23:00:55 Removing intermediate container be03b74ba4fb 23:00:55 ---> e686adc8ed65 23:00:55 Step 6/8 : WORKDIR /build 23:00:55 ---> Running in 18a08c324c00 23:00:55 Removing intermediate container 18a08c324c00 23:00:55 ---> 7951d55f921f 23:00:55 Step 7/8 : COPY go.mod . 23:00:56 ---> 0171d83a8432 23:00:56 Step 8/8 : RUN go mod download 23:00:56 ---> Running in 899d93340743 23:01:23 Removing intermediate container 899d93340743 23:01:23 ---> a8520d91d494 23:01:23 Successfully built a8520d91d494 23:01:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:01:23 + docker inspect -f . ci-base-image-x86_64 23:01:23 . [Pipeline] withDockerContainer 23:01:23 prd-centos7-docker-4c-2g-5220 does not seem to be running inside a container 23:01:23 $ 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 ******** ci-base-image-x86_64 cat 23:01:24 $ docker top bf5a7859911fb0e2c319ab11c830ff90c82b3168614b509f46407e47a2d3f61a -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:25 + go version 23:01:25 go version go1.15.2 linux/amd64 [Pipeline] } 23:01:25 $ docker stop --time=1 bf5a7859911fb0e2c319ab11c830ff90c82b3168614b509f46407e47a2d3f61a 23:01:26 $ docker rm -f bf5a7859911fb0e2c319ab11c830ff90c82b3168614b509f46407e47a2d3f61a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:01:28 + docker inspect -f . ci-base-image-x86_64 23:01:28 . [Pipeline] withDockerContainer 23:01:28 prd-centos7-docker-4c-2g-5220 does not seem to be running inside a container 23:01:28 $ 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 ******** ci-base-image-x86_64 cat 23:01:29 $ docker top c15660c30c47e132e931aa31b075e5f1879d01ce0a720c46f71e2aaef5ee707e -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:30 + make test 23:01:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:01:31 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:01:40 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.140s coverage: 86.2% of statements 23:01:55 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.037s coverage: 54.7% of statements 23:01:55 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:01:55 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:01:55 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.074s coverage: 54.7% of statements 23:01:55 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:01:55 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.261s coverage: 69.1% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.481s coverage: 61.6% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.151s coverage: 100.0% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.007s coverage: 96.6% of statements 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.007s coverage: 97.7% of statements 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 9.4% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.008s coverage: 75.0% of statements 23:02:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.093s coverage: 80.5% of statements 23:02:07 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 23:02:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5223 in /w/workspace/ndry_app-functions-sdk-go_PR-537 [Pipeline] { [Pipeline] ws 23:02:12 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:02:18 using credential edgex-jenkins-ssh 23:02:18 Cloning the remote Git repository 23:02:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:02:18 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:02:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:02:18 > git --version # timeout=10 23:02:18 > git --version # 'git version 2.17.1' 23:02:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:02:22 Merging remotes/origin/master commit 7fa6067512f69ddc1c1818832b10f56bfd793194 into PR head commit d7291151f353bece67719cdfc5e8c1c4597a4f7e 23:02:22 Merge succeeded, producing d7291151f353bece67719cdfc5e8c1c4597a4f7e 23:02:22 Checking out Revision d7291151f353bece67719cdfc5e8c1c4597a4f7e (PR-537) 23:02:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:02:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:02:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:02:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/537/head:refs/remotes/origin/PR-537 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:02:22 > git config core.sparsecheckout # timeout=10 23:02:22 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # timeout=10 23:02:22 > git remote # timeout=10 23:02:22 > git config --get remote.origin.url # timeout=10 23:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:02:22 > git merge 7fa6067512f69ddc1c1818832b10f56bfd793194 # timeout=10 23:02:22 > git rev-parse HEAD^{commit} # timeout=10 23:02:22 > git config core.sparsecheckout # timeout=10 23:02:22 > git checkout -f d7291151f353bece67719cdfc5e8c1c4597a4f7e # timeout=10 23:02:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.440s coverage: 70.6% of statements 23:02:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 23:02:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:02:26 Commit message: "fix(triggers): MQTT subscribe via onConnect handler so re-subscribe on reconnects" 23:02:27 > git --version # timeout=10 23:02:27 > git --version # 'git version 2.17.1' 23:02:27 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 23:02:28 gofmt -l . 23:02:28 [ "`gofmt -l .`" = "" ] 23:02:28 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:02:29 Stashed 1 file(s) [Pipeline] } 23:02:29 $ docker stop --time=1 c15660c30c47e132e931aa31b075e5f1879d01ce0a720c46f71e2aaef5ee707e 23:02:31 $ docker rm -f c15660c30c47e132e931aa31b075e5f1879d01ce0a720c46f71e2aaef5ee707e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 23:02:31 ========================================================= 23:02:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:02:31 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 23:02: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.15-alpine . 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:02:34 Sending build context to Docker daemon 37.46MB 23:02:34 Step 1/8 : ARG BASE=golang:1.15-alpine 23:02:34 Step 2/8 : FROM ${BASE} 23:02:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:02:34 b538f80385f9: Pulling fs layer 23:02:34 74f711af9a0d: Pulling fs layer 23:02:34 99f96fe45779: Pulling fs layer 23:02:34 8529a6b9a6be: Pulling fs layer 23:02:34 45590311c82a: Pulling fs layer 23:02:34 69ca0ff8b7b3: Pulling fs layer 23:02:34 209524e5b208: Pulling fs layer 23:02:34 45590311c82a: Waiting 23:02:34 69ca0ff8b7b3: Waiting 23:02:34 209524e5b208: Waiting 23:02:34 8529a6b9a6be: Waiting 23:02:34 99f96fe45779: Verifying Checksum 23:02:34 99f96fe45779: Download complete 23:02:34 74f711af9a0d: Download complete 23:02:34 45590311c82a: Verifying Checksum 23:02:34 45590311c82a: Download complete 23:02:34 69ca0ff8b7b3: Verifying Checksum 23:02:34 69ca0ff8b7b3: Download complete 23:02:34 b538f80385f9: Verifying Checksum 23:02:34 b538f80385f9: Download complete 23:02:35 b538f80385f9: Pull complete 23:02:36 74f711af9a0d: Pull complete 23:02:36 99f96fe45779: Pull complete 23:02:37 209524e5b208: Verifying Checksum 23:02:37 209524e5b208: Download complete 23:02:41 8529a6b9a6be: Verifying Checksum 23:02:41 8529a6b9a6be: Download complete 23:02:51 8529a6b9a6be: Pull complete 23:02:51 45590311c82a: Pull complete 23:02:51 69ca0ff8b7b3: Pull complete 23:02:56 209524e5b208: Pull complete 23:02:56 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 23:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:02:56 ---> 5bddaf1c2fca 23:02:56 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:02:56 latest: Pulling from library/docker 23:02:56 b538f80385f9: Already exists 23:02:56 259a493cd78d: Pulling fs layer 23:02:56 b8e66b5100f5: Pulling fs layer 23:02:56 7f8258a56ab6: Pulling fs layer 23:02:56 75a0a0ebb566: Pulling fs layer 23:02:56 4a2c62f0a2a3: Pulling fs layer 23:02:56 294320357d30: Pulling fs layer 23:02:56 75a0a0ebb566: Waiting 23:02:56 4a2c62f0a2a3: Waiting 23:02:56 294320357d30: Waiting 23:02:56 b8e66b5100f5: Download complete 23:02:56 259a493cd78d: Verifying Checksum 23:02:56 259a493cd78d: Download complete 23:02:56 75a0a0ebb566: Verifying Checksum 23:02:56 75a0a0ebb566: Download complete 23:02:56 4a2c62f0a2a3: Verifying Checksum 23:02:56 4a2c62f0a2a3: Download complete 23:02:56 294320357d30: Verifying Checksum 23:02:56 294320357d30: Download complete 23:02:57 259a493cd78d: Pull complete 23:02:57 b8e66b5100f5: Pull complete 23:02:57 7f8258a56ab6: Retrying in 5 seconds 23:02:58 7f8258a56ab6: Retrying in 4 seconds 23:02:59 7f8258a56ab6: Retrying in 3 seconds 23:03:00 7f8258a56ab6: Retrying in 2 seconds 23:03:01 7f8258a56ab6: Retrying in 1 second 23:03:03 7f8258a56ab6: Verifying Checksum 23:03:03 7f8258a56ab6: Download complete 23:03:06 7f8258a56ab6: Pull complete 23:03:06 75a0a0ebb566: Pull complete 23:03:07 4a2c62f0a2a3: Pull complete 23:03:07 294320357d30: Pull complete 23:03:07 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 23:03:07 Status: Downloaded newer image for docker:latest 23:03:14 ---> e7d51da2977a 23:03:14 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:03:14 ---> Running in 431b374e7431 23:03:14 Removing intermediate container 431b374e7431 23:03:14 ---> d9f14283f9af 23:03:14 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:03:14 ---> Running in 9f89cf921dfb 23:03:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:03:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:03:18 (1/5) Installing libsodium (1.0.18-r0) 23:03:18 (2/5) Installing libzmq (4.3.3-r0) 23:03:18 (3/5) Installing pkgconf (1.7.2-r0) 23:03:18 (4/5) Installing libsodium-dev (1.0.18-r0) 23:03:18 (5/5) Installing zeromq-dev (4.3.3-r0) 23:03:19 Executing busybox-1.31.1-r16.trigger 23:03:19 OK: 144 MiB in 44 packages 23:03:20 Removing intermediate container 9f89cf921dfb 23:03:20 ---> 9ec37cd3c084 23:03:20 Step 6/8 : WORKDIR /build 23:03:20 ---> Running in 43be983727ba 23:03:21 Removing intermediate container 43be983727ba 23:03:21 ---> bfb7ce1a0b7a 23:03:21 Step 7/8 : COPY go.mod . 23:03:21 ---> 538a79c63318 23:03:21 Step 8/8 : RUN go mod download 23:03:21 ---> Running in cd02c0fe4e8b 23:03:48 Removing intermediate container cd02c0fe4e8b 23:03:48 ---> c660384f268f 23:03:48 Successfully built c660384f268f 23:03:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:03:49 + docker inspect -f . ci-base-image-arm64 23:03:49 . [Pipeline] withDockerContainer 23:03:50 prd-ubuntu18.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 23:03:50 $ 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 ******** ci-base-image-arm64 cat 23:03:52 $ docker top f3f90c716b0778af6400189f276c8b91451ffbe14f07f19bb95109e407c29a55 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:53 + go version 23:03:53 go version go1.15.2 linux/arm64 [Pipeline] } 23:03:53 $ docker stop --time=1 f3f90c716b0778af6400189f276c8b91451ffbe14f07f19bb95109e407c29a55 23:03:55 $ docker rm -f f3f90c716b0778af6400189f276c8b91451ffbe14f07f19bb95109e407c29a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:03:56 + docker inspect -f . ci-base-image-arm64 23:03:56 . [Pipeline] withDockerContainer 23:03:57 prd-ubuntu18.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 23:03:57 $ 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 ******** ci-base-image-arm64 cat 23:03:59 $ docker top 2abfd289e11ffb6e2b65d683b87cd61e8f57e8fb5a19632f77115e78a753c717 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:00 + make test 23:04:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:04:02 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:04:24 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.074s coverage: 86.2% of statements 23:05:12 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.088s coverage: 54.7% of statements 23:05:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:05:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:05:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.106s coverage: 54.7% of statements 23:05:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:05:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.370s coverage: 69.1% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.532s coverage: 61.6% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.103s coverage: 100.0% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:05:17 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 9.4% of statements 23:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.194s coverage: 75.0% of statements 23:05:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements 23:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements 23:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.130s coverage: 80.5% of statements 23:05:18 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.036s coverage: 71.7% of statements 23:05:45 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.582s coverage: 70.6% of statements 23:05:45 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.015s coverage: 94.4% of statements 23:05:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:58 gofmt -l . 23:05:58 [ "`gofmt -l .`" = "" ] 23:05:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:05:58 Warning: overwriting stash ‘coverage-report’ 23:05:59 Stashed 1 file(s) [Pipeline] } 23:05:59 $ docker stop --time=1 2abfd289e11ffb6e2b65d683b87cd61e8f57e8fb5a19632f77115e78a753c717 23:06:01 $ docker rm -f 2abfd289e11ffb6e2b65d683b87cd61e8f57e8fb5a19632f77115e78a753c717 [Pipeline] // withDockerContainer [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 [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 23:06:05 provisioning config files... 23:06:05 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/config279537146220858885tmp [Pipeline] { [Pipeline] sh 23:06:06 + set +x 23:06:06 + bash -s -- 23:06:06 + curl -s https://codecov.io/bash 23:06:06 23:06:06 _____ _ 23:06:06 / ____| | | 23:06:06 | | ___ __| | ___ ___ _____ __ 23:06:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:06:06 | |___| (_) | (_| | __/ (_| (_) \ V / 23:06:06 \_____\___/ \__,_|\___|\___\___/ \_/ 23:06:06 Bash-20201009-048fee3 23:06:06 23:06:06 23:06:06 ==> Jenkins CI detected. 23:06:06 project root: . 23:06:06 --> token set from env 23:06:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:06:06 ==> Running gcov in . (disable via -X gcov) 23:06:06 ==> Python coveragepy not found 23:06:06 ==> Searching for coverage reports in: 23:06:06 + . 23:06:06 -> Found 1 reports 23:06:06 ==> Detecting git/mercurial file structure 23:06:06 ==> Reading reports 23:06:06 + ./coverage.out bytes=88734 23:06:06 ==> Appending adjustments 23:06:06 https://docs.codecov.io/docs/fixing-reports 23:06:07 + Found adjustments 23:06:07 ==> Gzipping contents 23:06:07 ==> Uploading reports 23:06:07 url: https://codecov.io 23:06:07 query: branch=PR-537&commit=d7291151f353bece67719cdfc5e8c1c4597a4f7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-537%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=537&job=&cmd_args= 23:06:07 -> Pinging Codecov 23:06:07 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-537&commit=d7291151f353bece67719cdfc5e8c1c4597a4f7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-537%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=537&job=&cmd_args= 23:06:07 -> Uploading to 23:06:07 23:06:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:07 Dload Upload Total Spent Left Speed 23:06:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 23:06:07 X> Failed to upload 23:06:07 ==> Uploading to Codecov 23:06:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:07 Dload Upload Total Spent Left Speed 23:06:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 15953 0 0 100 15836 0 13472 0:00:01 0:00:01 --:--:-- 13477 100 15953 100 117 100 15836 99 13469 0:00:01 0:00:01 --:--:-- 13477 23:06:08 View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/d7291151f353bece67719cdfc5e8c1c4597a4f7e [Pipeline] } 23:06:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 23:06:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:06:13 ---> package-listing.sh 23:06:13 ++ facter osfamily 23:06:13 ++ tr '[:upper:]' '[:lower:]' 23:06:13 + OS_FAMILY=redhat 23:06:13 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-537 23:06:13 + START_PACKAGES=/tmp/packages_start.txt 23:06:13 + END_PACKAGES=/tmp/packages_end.txt 23:06:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:06:13 + PACKAGES=/tmp/packages_start.txt 23:06:13 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-537 ']' 23:06:13 + PACKAGES=/tmp/packages_end.txt 23:06:13 + case "${OS_FAMILY}" in 23:06:13 + rpm -qa 23:06:13 + sort 23:06:17 + '[' -f /tmp/packages_start.txt ']' 23:06:17 + '[' -f /tmp/packages_end.txt ']' 23:06:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:06:17 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-537 ']' 23:06:17 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-537/archives/ 23:06:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-537/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:17 provisioning config files... 23:06:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-537@tmp/config4276521228482639493tmp [Pipeline] { [Pipeline] echo 23:06:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:06:18 ---> create-netrc.sh [Pipeline] } 23:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:06:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:18 ---> python-tools-install.sh 23:06:18 Generating Requirements File 23:07:40 Python 3.6.8 23:07:40 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 23:07:40 appdirs==1.4.3 23:07:40 argcomplete==1.12.1 23:07:40 aspy.yaml==1.3.0 23:07:40 attrs==19.3.0 23:07:40 Babel==2.8.0 23:07:40 beautifulsoup4==4.8.2 23:07:40 boto3==1.11.6 23:07:40 botocore==1.14.6 23:07:40 bs4==0.0.1 23:07:40 cachetools==4.1.1 23:07:40 certifi==2019.11.28 23:07:40 cffi==1.14.3 23:07:40 cfgv==2.0.1 23:07:40 chardet==3.0.4 23:07:40 click==7.1 23:07:40 cliff==3.4.0 23:07:40 cmd2==1.3.11 23:07:40 colorama==0.4.4 23:07:40 cryptography==3.1.1 23:07:40 debtcollector==2.2.0 23:07:40 decorator==4.4.2 23:07:40 defusedxml==0.6.0 23:07:40 Deprecated==1.2.7 23:07:40 distlib==0.3.1 23:07:40 distro==1.2.0 23:07:40 dnspython==1.16.0 23:07:40 docker==4.2.0 23:07:40 docutils==0.15.2 23:07:40 dogpile.cache==1.0.2 23:07:40 email-validator==1.0.5 23:07:40 filelock==3.0.12 23:07:40 future==0.18.2 23:07:40 google-auth==1.22.1 23:07:40 httplib2==0.17.0 23:07:40 identify==1.4.11 23:07:40 idna==2.9 23:07:40 importlib-metadata==2.0.0 23:07:40 importlib-resources==1.5.0 23:07:40 iso8601==0.1.13 23:07:40 Jinja2==2.11.1 23:07:40 jmespath==0.10.0 23:07:40 jsonpatch==1.26 23:07:40 jsonpointer==2.0 23:07:40 jsonschema==3.2.0 23:07:40 keystoneauth1==4.2.1 23:07:40 kubernetes==11.0.0 23:07:40 lftools==0.34.2 23:07:40 lxml==4.5.0 23:07:40 MarkupSafe==0.23 23:07:40 msgpack==1.0.0 23:07:40 multi-key-dict==2.0.3 23:07:40 munch==2.5.0 23:07:40 netaddr==0.8.0 23:07:40 netifaces==0.10.9 23:07:40 niet==1.4.2 23:07:40 nodeenv==1.3.5 23:07:40 oauth2client==4.1.3 23:07:40 oauthlib==3.1.0 23:07:40 openstacksdk==0.50.0 23:07:40 os-client-config==2.1.0 23:07:40 os-service-types==1.7.0 23:07:40 osc-lib==2.2.1 23:07:40 oslo.config==8.3.2 23:07:40 oslo.context==3.1.1 23:07:40 oslo.i18n==5.0.1 23:07:40 oslo.log==4.4.0 23:07:40 oslo.serialization==4.0.1 23:07:40 oslo.utils==4.6.0 23:07:40 packaging==20.4 23:07:40 pbr==5.4.4 23:07:40 pluggy==0.13.1 23:07:40 prettytable==0.7.2 23:07:40 py==1.9.0 23:07:40 pyasn1==0.4.8 23:07:40 pyasn1-modules==0.2.8 23:07:40 pycparser==2.20 23:07:40 pygerrit2==2.0.10 23:07:40 PyGithub==1.46 23:07:40 pyinotify==0.9.6 23:07:40 PyJWT==1.7.1 23:07:40 pyparsing==2.4.7 23:07:40 pyperclip==1.8.1 23:07:40 pyroute2==0.4.13 23:07:40 pyrsistent==0.15.7 23:07:40 PySocks==1.6.8 23:07:40 python-cinderclient==7.2.0 23:07:40 python-dateutil==2.8.1 23:07:40 python-heatclient==2.2.1 23:07:40 python-jenkins==1.7.0 23:07:40 python-keystoneclient==4.1.1 23:07:40 python-magnumclient==3.2.1 23:07:40 python-novaclient==17.2.1 23:07:40 python-openstackclient==5.4.0 23:07:40 python-swiftclient==3.10.1 23:07:40 pytz==2020.1 23:07:40 PyYAML==5.3 23:07:40 requests==2.23.0 23:07:40 requests-oauthlib==1.3.0 23:07:40 requestsexceptions==1.4.0 23:07:40 rfc3986==1.4.0 23:07:40 rpm==4.11.3 23:07:40 rsa==4.0 23:07:40 ruamel.yaml==0.16.10 23:07:40 ruamel.yaml.clib==0.2.0 23:07:40 s3transfer==0.3.3 23:07:40 shade==1.27.2 23:07:40 simplejson==3.17.2 23:07:40 six==1.14.0 23:07:40 soupsieve==2.0 23:07:40 stevedore==3.2.2 23:07:40 tabulate==0.8.6 23:07:40 toml==0.10.0 23:07:40 tox==3.20.1 23:07:40 tqdm==4.43.0 23:07:40 urllib3==1.25.8 23:07:40 virtualenv==20.0.34 23:07:40 wcwidth==0.2.5 23:07:40 websocket-client==0.57.0 23:07:40 wrapt==1.12.1 23:07:40 xdg==3.0.2 23:07:40 xmltodict==0.12.0 23:07:40 yq==2.11.1 23:07:40 zipp==3.3.0 23:07:40 Cache entry deserialization failed, entry ignored 23:07:40 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 23:07:40 Python 2.7.5 23:07:40 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 23:07:40 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 23:07:40 ansible==2.9.7 23:07:40 Babel==0.9.6 23:07:40 backports.ssl-match-hostname==3.5.0.1 23:07:40 beautifulsoup4==4.4.1 23:07:40 bodhi==2.11.0 23:07:40 bodhi-client==2.11.0 23:07:40 CCColUtils==1.4 23:07:40 cffi==1.6.0 23:07:40 chardet==2.2.1 23:07:40 click==6.7 23:07:40 cloud-init==18.5 23:07:40 configobj==4.7.2 23:07:40 cryptography==1.7.2 23:07:40 decorator==3.4.0 23:07:40 distro==1.2.0 23:07:40 enum34==1.0.4 23:07:40 fedpkg==1.38 23:07:40 futures==3.1.1 23:07:40 gitdb==0.6.4 23:07:40 GitPython==1.0.1 23:07:40 html5lib==0.999 23:07:40 httplib2==0.9.2 23:07:40 idna==2.4 23:07:40 iniparse==0.4 23:07:40 ipaddress==1.0.16 23:07:40 IPy==0.75 23:07:40 javapackages==1.0.0 23:07:40 Jinja2==2.7.2 23:07:40 jmespath==0.9.4 23:07:40 jsonpatch==1.2 23:07:40 jsonpointer==1.9 23:07:40 kerberos==1.1 23:07:40 kitchen==1.1.1 23:07:40 langtable==0.0.31 23:07:40 lockfile==0.9.1 23:07:40 lxml==3.2.1 23:07:40 MarkupSafe==0.11 23:07:40 munch==2.0.2 23:07:40 offtrac==0.1.0 23:07:40 openidc-client==0.6.0 23:07:40 packagedb-cli==2.14.1 23:07:40 paramiko==2.1.1 23:07:40 perf==0.1 23:07:40 ply==3.4 23:07:40 policycoreutils-default-encoding==0.1 23:07:40 prettytable==0.7.2 23:07:40 pyasn1==0.1.9 23:07:40 pycparser==2.14 23:07:40 pycurl==7.19.0 23:07:40 pygobject==3.22.0 23:07:40 pygpgme==0.3 23:07:40 pyliblzma==0.5.3 23:07:40 pyOpenSSL==0.13.1 23:07:40 pyparsing==1.5.6 23:07:40 pyserial==2.6 23:07:40 python-augeas==0.5.0 23:07:40 python-bugzilla==2.3.0 23:07:40 python-dateutil==1.5 23:07:40 python-fedora==0.10.0 23:07:40 python-linux-procfs==0.4.9 23:07:40 python-yubico==1.2.3 23:07:40 pyudev==0.15 23:07:40 pyusb==1.0.0b1 23:07:40 pyxattr==0.5.1 23:07:40 PyYAML==3.10 23:07:40 requests==2.6.0 23:07:40 requests-kerberos==0.7.0 23:07:40 rpkg==1.60 23:07:40 schedutils==0.4 23:07:40 seobject==0.1 23:07:40 sepolicy==1.1 23:07:40 six==1.9.0 23:07:40 smmap==0.9.0 23:07:40 urlgrabber==3.10 23:07:40 urllib3==1.10.2 23:07:40 virtualenv==15.1.0 23:07:40 yum-langpacks==0.4.2 23:07:40 yum-metadata-parser==1.1.4 [Pipeline] echo 23:07:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:40 ---> sudo-logs.sh 23:07:40 Archiving 'sudo' log.. [Pipeline] echo 23:07:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:07:41 ---> job-cost.sh 23:07:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0i8c 23:07:51 Cache entry deserialization failed, entry ignored 23:07:51 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:53 Cache entry deserialization failed, entry ignored 23:07:54 Cache entry deserialization failed, entry ignored 23:07:54 Cache entry deserialization failed, entry ignored 23:07:54 Cache entry deserialization failed, entry ignored 23:07:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:08:25 lf-activate-venv(): INFO: Adding /tmp/venv-0i8c/bin to PATH 23:08:25 INFO: No Stack... 23:08:26 INFO: Retrieving Pricing Info for: v1-standard-2 23:08:27 INFO: Archiving Costs [Pipeline] echo 23:08:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:08:28 ---> logs-deploy.sh 23:08:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-537/1 23:08:28 INFO: archiving workspace using pattern(s): 23:08:29 Archives upload complete. 23:08:29 INFO: archiving logs to Nexus