Pull request #746 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 6db614187482bbf9a22c530735833fd0821b860e+3a576611bceecf92a14c741c24e2054b0cc47e7a (268969d8d8bef02945ea4e0b1426cd0c36249568) 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-746/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-746/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30363 in /w/workspace/ndry_app-functions-sdk-go_PR-746 [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-746 # 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 > 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a576611bceecf92a14c741c24e2054b0cc47e7a into PR head commit 6db614187482bbf9a22c530735833fd0821b860e Merge succeeded, producing 6db614187482bbf9a22c530735833fd0821b860e Checking out Revision 6db614187482bbf9a22c530735833fd0821b860e (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # 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 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # timeout=10 Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request" 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 21:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:33:57 ========================================================= 21:33:57 EdgeX Global Pipelines Version Info 21:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:34:02 ------------------- 21:34:02 stable info: 21:34:02 ------------------- 21:34:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:34:02 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 21:34:02 Message: update stable to v1.0.186 21:34:03 ------------------- 21:34:03 experimental info: 21:34:03 ------------------- 21:34:03 Commited By: **** collab-it+edgex@linuxfoundation.org 21:34:03 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 21:34:03 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:34:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:34:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:34:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:34:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:34:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6db614187482bbf9a22c530735833fd0821b860e [Pipeline] echo 21:34:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6db6141 [Pipeline] echo 21:34:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:09 + git log --format=format:%s -1 6db614187482bbf9a22c530735833fd0821b860e [Pipeline] echo 21:34:09 GIT_COMMIT: 6db614187482bbf9a22c530735833fd0821b860e, Commit Message: refactor: Remove unneeded call to validate CBOR encoded Event request [Pipeline] echo 21:34:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:34:11 21:34:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:34:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:34:12 latest: Pulling from edgex-devops/git-semver 21:34:12 31603596830f: Pulling fs layer 21:34:12 2a8b12db71e7: Pulling fs layer 21:34:12 6ca5941a6612: Pulling fs layer 21:34:12 ecc8261a40a4: Pulling fs layer 21:34:12 ecc8261a40a4: Waiting 21:34:12 2a8b12db71e7: Verifying Checksum 21:34:12 2a8b12db71e7: Download complete 21:34:12 31603596830f: Verifying Checksum 21:34:12 31603596830f: Download complete 21:34:12 6ca5941a6612: Verifying Checksum 21:34:12 6ca5941a6612: Download complete 21:34:13 ecc8261a40a4: Verifying Checksum 21:34:13 ecc8261a40a4: Download complete 21:34:13 31603596830f: Pull complete 21:34:14 2a8b12db71e7: Pull complete 21:34:15 6ca5941a6612: Pull complete 21:34:15 ecc8261a40a4: Pull complete 21:34:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:34:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:34:15 prd-centos7-docker-4c-2g-30363 does not seem to be running inside a container 21:34:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-746 -v /w/workspace/ndry_app-functions-sdk-go_PR-746:/w/workspace/ndry_app-functions-sdk-go_PR-746:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-746@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-746@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:34:19 $ docker top f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:34:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:20 [ssh-agent] Looking for ssh-agent implementation... 21:34:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:21 $ docker exec f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 ssh-agent 21:34:21 SSH_AUTH_SOCK=/tmp/ssh-2ZkrMlE8D4bC/agent.12 21:34:21 SSH_AGENT_PID=18 21:34:21 Running ssh-add (command line suppressed) 21:34:21 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/private_key_2173920327634023988.key (/w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/private_key_2173920327634023988.key) 21:34:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:22 + git tag --points-at HEAD [Pipeline] } 21:34:22 $ docker exec --env ******** --env ******** f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 ssh-agent -k 21:34:22 unset SSH_AUTH_SOCK; 21:34:22 unset SSH_AGENT_PID; 21:34:22 echo Agent pid 18 killed; 21:34:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:34:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:22 [ssh-agent] Looking for ssh-agent implementation... 21:34:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:23 $ docker exec f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 ssh-agent 21:34:23 SSH_AUTH_SOCK=/tmp/ssh-hRCFy1aBEYWf/agent.47 21:34:23 SSH_AGENT_PID=52 21:34:23 Running ssh-add (command line suppressed) 21:34:23 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/private_key_8638221446628688377.key (/w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/private_key_8638221446628688377.key) 21:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:24 + git semver init 21:34:24 # -> Open(): unable to determine branch for HEAD 21:34:24 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-746/.git 21:34:24 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-746 21:34:24 # $SEMVER_REMOTE_NAME = origin 21:34:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:34:24 # $SEMVER_USER_NAME = edgex-jenkins 21:34:24 # $SEMVER_BRANCH = PR-746 21:34:24 # $SEMVER_TEMP = /tmp/semver-799770254 21:34:24 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:34:28 # '/tmp/semver-799770254' -> '/w/workspace/ndry_app-functions-sdk-go_PR-746/.semver' 21:34:28 # -> Force: false 21:34:28 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-746/.semver [Pipeline] } 21:34:28 $ docker exec --env ******** --env ******** f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 ssh-agent -k 21:34:29 unset SSH_AUTH_SOCK; 21:34:29 unset SSH_AGENT_PID; 21:34:29 echo Agent pid 52 killed; 21:34:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:34:30 + git semver [Pipeline] } 21:34:30 $ docker stop --time=1 f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 21:34:32 $ docker rm -f f83b58e81c2044fc0edbfc6caf25df95a8e081d968b1e9ffa741baeb70d94b66 [Pipeline] // withDockerContainer [Pipeline] sh 21:34:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:34:33 Stashed 1 file(s) [Pipeline] echo 21:34:33 [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 21:34:49 Still waiting to schedule task 21:34:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:34:49 Still waiting to schedule task 21:34:49 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:37:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30364 in /w/workspace/ndry_app-functions-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 21:37:17 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:37:22 using credential edgex-jenkins-ssh 21:37:22 Cloning the remote Git repository 21:37:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:37:22 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 21:37:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:37:23 > git --version # timeout=10 21:37:23 > git --version # 'git version 2.17.1' 21:37:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:37:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:37:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:37:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:37:26 Merging remotes/origin/master commit 3a576611bceecf92a14c741c24e2054b0cc47e7a into PR head commit 6db614187482bbf9a22c530735833fd0821b860e 21:37:27 Merge succeeded, producing 6db614187482bbf9a22c530735833fd0821b860e 21:37:27 Checking out Revision 6db614187482bbf9a22c530735833fd0821b860e (PR-746) 21:37:26 > git config core.sparsecheckout # timeout=10 21:37:26 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # timeout=10 21:37:27 > git remote # timeout=10 21:37:27 > git config --get remote.origin.url # timeout=10 21:37:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:27 > git merge 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 21:37:27 > git rev-parse HEAD^{commit} # timeout=10 21:37:27 > git config core.sparsecheckout # timeout=10 21:37:27 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # timeout=10 21:37:31 Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request" 21:37:31 > git --version # timeout=10 21:37:31 > git --version # 'git version 2.17.1' 21:37:31 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:37:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:37:34 + sudo service docker+ restart 21:37:34 true [Pipeline] unstash [Pipeline] echo 21:37:36 ========================================================= 21:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:37:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:37:36 + 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 . 21:37:37 Sending build context to Docker daemon 19.38MB 21:37:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:37:37 Step 2/8 : FROM ${BASE} 21:37:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:37:38 5f621e34cdf4: Pulling fs layer 21:37:38 a4357932f1b6: Pulling fs layer 21:37:38 18c013af1878: Pulling fs layer 21:37:38 00ac8860ef70: Pulling fs layer 21:37:38 63d7cb157983: Pulling fs layer 21:37:38 b116817d02f9: Pulling fs layer 21:37:38 745a02a5169b: Pulling fs layer 21:37:38 63d7cb157983: Waiting 21:37:38 b116817d02f9: Waiting 21:37:38 745a02a5169b: Waiting 21:37:38 18c013af1878: Verifying Checksum 21:37:38 18c013af1878: Download complete 21:37:38 a4357932f1b6: Verifying Checksum 21:37:38 a4357932f1b6: Download complete 21:37:38 63d7cb157983: Verifying Checksum 21:37:38 63d7cb157983: Download complete 21:37:38 b116817d02f9: Verifying Checksum 21:37:38 b116817d02f9: Download complete 21:37:38 5f621e34cdf4: Verifying Checksum 21:37:38 5f621e34cdf4: Download complete 21:37:39 5f621e34cdf4: Pull complete 21:37:39 a4357932f1b6: Pull complete 21:37:40 18c013af1878: Pull complete 21:37:40 745a02a5169b: Verifying Checksum 21:37:40 745a02a5169b: Download complete 21:37:42 00ac8860ef70: Verifying Checksum 21:37:42 00ac8860ef70: Download complete 21:37:52 00ac8860ef70: Pull complete 21:37:52 63d7cb157983: Pull complete 21:37:52 b116817d02f9: Pull complete 21:37:56 745a02a5169b: Pull complete 21:37:56 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:37:56 ---> b7e6874047d6 21:37:56 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:37:56 20.10.0: Pulling from library/docker 21:37:56 a3cc7d3b244e: Pulling fs layer 21:37:56 02a3295e0d61: Pulling fs layer 21:37:56 0f4f2e6d8100: Pulling fs layer 21:37:56 330b718f631f: Pulling fs layer 21:37:56 a93816041522: Pulling fs layer 21:37:56 bdb6da89ff94: Pulling fs layer 21:37:56 2a70c0c122f4: Pulling fs layer 21:37:56 a93816041522: Waiting 21:37:56 bdb6da89ff94: Waiting 21:37:56 2a70c0c122f4: Waiting 21:37:56 330b718f631f: Waiting 21:37:56 0f4f2e6d8100: Verifying Checksum 21:37:56 0f4f2e6d8100: Download complete 21:37:56 02a3295e0d61: Download complete 21:37:56 a3cc7d3b244e: Verifying Checksum 21:37:56 a3cc7d3b244e: Download complete 21:37:56 a93816041522: Download complete 21:37:56 bdb6da89ff94: Verifying Checksum 21:37:56 bdb6da89ff94: Download complete 21:37:56 2a70c0c122f4: Verifying Checksum 21:37:56 2a70c0c122f4: Download complete 21:37:57 a3cc7d3b244e: Pull complete 21:37:58 02a3295e0d61: Pull complete 21:37:58 0f4f2e6d8100: Pull complete 21:37:58 330b718f631f: Download complete 21:38:01 330b718f631f: Pull complete 21:38:02 a93816041522: Pull complete 21:38:02 bdb6da89ff94: Pull complete 21:38:02 2a70c0c122f4: Pull complete 21:38:02 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:38:02 Status: Downloaded newer image for docker:20.10.0 21:38:09 ---> 378039beb282 21:38:09 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:38:09 ---> Running in 07097dca5a90 21:38:09 Removing intermediate container 07097dca5a90 21:38:09 ---> 73ee99a25770 21:38:09 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:38:09 ---> Running in 2bb7acc334f5 21:38:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:38:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:38:11 (1/5) Installing libsodium (1.0.18-r0) 21:38:11 (2/5) Installing libzmq (4.3.3-r0) 21:38:11 (3/5) Installing pkgconf (1.7.2-r0) 21:38:12 (4/5) Installing libsodium-dev (1.0.18-r0) 21:38:12 (5/5) Installing zeromq-dev (4.3.3-r0) 21:38:12 Executing busybox-1.31.1-r19.trigger 21:38:12 OK: 144 MiB in 44 packages 21:38:13 Removing intermediate container 2bb7acc334f5 21:38:13 ---> 179c5d1dcbc0 21:38:13 Step 6/8 : WORKDIR /build 21:38:13 ---> Running in 13e1c9753318 21:38:14 Removing intermediate container 13e1c9753318 21:38:14 ---> 374a2614537c 21:38:14 Step 7/8 : COPY go.mod . 21:38:14 ---> c690ecba558b 21:38:14 Step 8/8 : RUN go mod download 21:38:14 ---> Running in 283da1162a6b 21:38:16 Running on prd-centos7-docker-4c-2g-30365 in /w/workspace/ndry_app-functions-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 21:38:16 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:38:25 using credential edgex-jenkins-ssh 21:38:25 Cloning the remote Git repository 21:38:25 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:38:25 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 21:38:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:38:25 > git --version # timeout=10 21:38:25 > git --version # 'git version 2.24.3' 21:38:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:29 Merging remotes/origin/master commit 3a576611bceecf92a14c741c24e2054b0cc47e7a into PR head commit 6db614187482bbf9a22c530735833fd0821b860e 21:38:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:38:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:38:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:38:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:38:29 Merge succeeded, producing 6db614187482bbf9a22c530735833fd0821b860e 21:38:29 Checking out Revision 6db614187482bbf9a22c530735833fd0821b860e (PR-746) 21:38:29 > git config core.sparsecheckout # timeout=10 21:38:29 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # timeout=10 21:38:29 > git remote # timeout=10 21:38:29 > git config --get remote.origin.url # timeout=10 21:38:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:29 > git merge 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 21:38:29 > git rev-parse HEAD^{commit} # timeout=10 21:38:29 > git config core.sparsecheckout # timeout=10 21:38:29 > git checkout -f 6db614187482bbf9a22c530735833fd0821b860e # timeout=10 21:38:34 Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request" 21:38:34 > git --version # timeout=10 21:38:34 > git --version # 'git version 2.24.3' 21:38:34 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:38:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:38:36 + sudo service docker restart 21:38:36 + true 21:38:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 21:38:40 ========================================================= 21:38:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:38:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:38:41 + 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 . 21:38:41 Removing intermediate container 283da1162a6b 21:38:41 ---> 7ab988e9ece0 21:38:41 Successfully built 7ab988e9ece0 21:38:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:38:42 + docker inspect -f . ci-base-image-arm64 21:38:42 . [Pipeline] withDockerContainer 21:38:42 prd-ubuntu18.04-docker-arm64-4c-16g-30364 does not seem to be running inside a container 21:38:42 $ 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 21:38:43 Sending build context to Docker daemon 19.38MB 21:38:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:38:43 Step 2/8 : FROM ${BASE} 21:38:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:38:43 188c0c94c7c5: Pulling fs layer 21:38:43 0ef7d3d256c8: Pulling fs layer 21:38:43 de9db76c5a1d: Pulling fs layer 21:38:43 bca2f99d35d6: Pulling fs layer 21:38:43 93359f2a8cfa: Pulling fs layer 21:38:43 7c6f9722023f: Pulling fs layer 21:38:43 a35cf1a2eb13: Pulling fs layer 21:38:43 93359f2a8cfa: Waiting 21:38:43 7c6f9722023f: Waiting 21:38:43 a35cf1a2eb13: Waiting 21:38:43 bca2f99d35d6: Waiting 21:38:43 de9db76c5a1d: Verifying Checksum 21:38:43 de9db76c5a1d: Download complete 21:38:43 0ef7d3d256c8: Download complete 21:38:43 93359f2a8cfa: Verifying Checksum 21:38:43 93359f2a8cfa: Download complete 21:38:43 7c6f9722023f: Verifying Checksum 21:38:43 7c6f9722023f: Download complete 21:38:43 $ docker top eb1cf0f0748a015be3b7f4081f886511488ebef0027c0c2bd1eb2dc0ddf7f8af -eo pid,comm 21:38:44 188c0c94c7c5: Verifying Checksum 21:38:44 188c0c94c7c5: Download complete [Pipeline] { [Pipeline] sh 21:38:44 188c0c94c7c5: Pull complete 21:38:45 + go version 21:38:45 go version go1.15.5 linux/arm64 [Pipeline] } 21:38:45 $ docker stop --time=1 eb1cf0f0748a015be3b7f4081f886511488ebef0027c0c2bd1eb2dc0ddf7f8af 21:38:45 0ef7d3d256c8: Pull complete 21:38:45 de9db76c5a1d: Pull complete 21:38:47 $ docker rm -f eb1cf0f0748a015be3b7f4081f886511488ebef0027c0c2bd1eb2dc0ddf7f8af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 21:38:47 a35cf1a2eb13: Verifying Checksum 21:38:47 a35cf1a2eb13: Download complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:48 + docker inspect -f . ci-base-image-arm64 21:38:48 . [Pipeline] withDockerContainer 21:38:48 prd-ubuntu18.04-docker-arm64-4c-16g-30364 does not seem to be running inside a container 21:38:48 $ 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 21:38:48 bca2f99d35d6: Verifying Checksum 21:38:48 bca2f99d35d6: Download complete 21:38:50 $ docker top c4014f1890726d3ea5eb0c88e8f021a8763cb6977bbd7bbe2db4c57ac27dbc97 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:51 + make test 21:38:51 make -C ./app-service-template build 21:38:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:38:51 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 21:39:01 bca2f99d35d6: Pull complete 21:39:02 93359f2a8cfa: Pull complete 21:39:02 7c6f9722023f: Pull complete 21:39:13 a35cf1a2eb13: Pull complete 21:39:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:39:13 ---> a62c8e92a672 21:39:13 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:39:13 20.10.0: Pulling from library/docker 21:39:13 05e7bc50f07f: Pulling fs layer 21:39:13 6db28d0fdbf6: Pulling fs layer 21:39:13 292df0bc6bf3: Pulling fs layer 21:39:13 2e060f4bd70b: Pulling fs layer 21:39:13 80e8d568a223: Pulling fs layer 21:39:13 8dc6ef1a942a: Pulling fs layer 21:39:13 2312dd95470a: Pulling fs layer 21:39:13 80e8d568a223: Waiting 21:39:13 8dc6ef1a942a: Waiting 21:39:13 2312dd95470a: Waiting 21:39:13 2e060f4bd70b: Waiting 21:39:13 292df0bc6bf3: Verifying Checksum 21:39:13 292df0bc6bf3: Download complete 21:39:13 05e7bc50f07f: Verifying Checksum 21:39:13 05e7bc50f07f: Download complete 21:39:13 6db28d0fdbf6: Verifying Checksum 21:39:13 6db28d0fdbf6: Download complete 21:39:13 8dc6ef1a942a: Verifying Checksum 21:39:13 8dc6ef1a942a: Download complete 21:39:13 80e8d568a223: Verifying Checksum 21:39:13 80e8d568a223: Download complete 21:39:13 2312dd95470a: Verifying Checksum 21:39:13 2312dd95470a: Download complete 21:39:13 05e7bc50f07f: Pull complete 21:39:13 6db28d0fdbf6: Pull complete 21:39:13 292df0bc6bf3: Pull complete 21:39:14 2e060f4bd70b: Verifying Checksum 21:39:14 2e060f4bd70b: Download complete 21:39:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:39:23 make -C ./app-service-template test 21:39:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:39:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:39:24 2e060f4bd70b: Pull complete 21:39:24 80e8d568a223: Pull complete 21:39:24 8dc6ef1a942a: Pull complete 21:39:24 2312dd95470a: Pull complete 21:39:24 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:39:24 Status: Downloaded newer image for docker:20.10.0 21:39:26 ---> 5f2b4796d770 21:39:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:39:26 ---> Running in 5c29bf273872 21:39:27 Removing intermediate container 5c29bf273872 21:39:27 ---> f4c106090302 21:39:27 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:39:27 ---> Running in 75927da80c5c 21:39:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:39:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:39:30 (1/5) Installing libsodium (1.0.18-r0) 21:39:30 (2/5) Installing libzmq (4.3.3-r0) 21:39:30 (3/5) Installing pkgconf (1.7.2-r0) 21:39:31 (4/5) Installing libsodium-dev (1.0.18-r0) 21:39:31 (5/5) Installing zeromq-dev (4.3.3-r0) 21:39:31 Executing busybox-1.31.1-r19.trigger 21:39:31 OK: 167 MiB in 44 packages 21:39:32 Removing intermediate container 75927da80c5c 21:39:32 ---> c30fb7929849 21:39:32 Step 6/8 : WORKDIR /build 21:39:32 ---> Running in 9c246c5bae2c 21:39:32 Removing intermediate container 9c246c5bae2c 21:39:32 ---> 54ecddc489fd 21:39:32 Step 7/8 : COPY go.mod . 21:39:33 ---> d7a7797b8914 21:39:33 Step 8/8 : RUN go mod download 21:39:33 ---> Running in 4aabf4c9680b 21:39:45 ok new-app-service 0.033s coverage: 89.5% of statements 21:39:47 ok new-app-service/functions 0.028s 21:39:47 CGO_ENABLED=1 go vet ./... 21:39:57 gofmt -l . 21:39:57 [ "`gofmt -l .`" = "" ] 21:39:57 ./bin/test-go-mod-tidy.sh 21:39:57 ./bin/test-attribution-txt.sh 21:39:58 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:39:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:40:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 56.1% of statements 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.038s coverage: 92.5% of statements 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.135s coverage: 61.5% of statements 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.040s 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 75.4% of statements 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.0% of statements 21:40:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:40:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.054s coverage: 10.5% of statements 21:40:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.837s coverage: 78.4% of statements 21:40:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:40:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.032s coverage: 20.0% of statements 21:40:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.053s coverage: 27.3% of statements 21:40:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:40:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:40:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 71.7% of statements 21:40:20 Removing intermediate container 4aabf4c9680b 21:40:20 ---> c837e96813e3 21:40:20 Successfully built c837e96813e3 21:40:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:40:20 + docker inspect -f . ci-base-image-x86_64 21:40:21 . [Pipeline] withDockerContainer 21:40:21 prd-centos7-docker-4c-2g-30365 does not seem to be running inside a container 21:40:21 $ 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 21:40:23 $ docker top b852dc3826ffe9beded245d6450f28eca509385b2175985ecd503de2fa798db3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:24 + go version 21:40:24 go version go1.15.5 linux/amd64 [Pipeline] } 21:40:24 $ docker stop --time=1 b852dc3826ffe9beded245d6450f28eca509385b2175985ecd503de2fa798db3 21:40:26 $ docker rm -f b852dc3826ffe9beded245d6450f28eca509385b2175985ecd503de2fa798db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:40:27 + docker inspect -f . ci-base-image-x86_64 21:40:28 . [Pipeline] withDockerContainer 21:40:28 prd-centos7-docker-4c-2g-30365 does not seem to be running inside a container 21:40: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 ******** -e ******** ci-base-image-x86_64 cat 21:40:30 $ docker top eed2570007546dbaae29a964a20d68daed2c1d6cfe15cc990296ea7a9c786afa -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:31 + make test 21:40:31 make -C ./app-service-template build 21:40:31 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:40:31 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 21:40:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.090s coverage: 81.9% of statements 21:40:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.022s coverage: 94.4% of statements 21:40:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:40:44 gofmt -l . 21:40:44 [ "`gofmt -l .`" = "" ] 21:40:44 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 21:40:45 $ docker stop --time=1 c4014f1890726d3ea5eb0c88e8f021a8763cb6977bbd7bbe2db4c57ac27dbc97 21:40:48 $ docker rm -f c4014f1890726d3ea5eb0c88e8f021a8763cb6977bbd7bbe2db4c57ac27dbc97 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:50 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 21:40:52 ---> job-cost.sh 21:40:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mYiH 21:41:11 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:41:11 make -C ./app-service-template test 21:41:11 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:41:11 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:41:30 ok new-app-service 0.092s coverage: 89.5% of statements 21:41:30 ok new-app-service/functions 0.025s 21:41:30 CGO_ENABLED=1 go vet ./... 21:41:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:41:35 gofmt -l . 21:41:35 [ "`gofmt -l .`" = "" ] 21:41:35 ./bin/test-go-mod-tidy.sh 21:41:37 ./bin/test-attribution-txt.sh 21:41:40 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 21:41:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:41:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.078s coverage: 56.1% of statements 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.055s coverage: 92.5% of statements 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.165s coverage: 61.5% of statements 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.059s 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.257s coverage: 75.4% of statements 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.277s coverage: 97.0% of statements 21:41:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:41:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.071s coverage: 10.5% of statements 21:41:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.010s coverage: 78.4% of statements 21:41:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:41:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 20.0% of statements 21:41:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.034s coverage: 27.3% of statements 21:41:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:41:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:41:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 71.7% of statements 21:42:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.133s coverage: 81.9% of statements 21:42:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.072s coverage: 94.4% of statements 21:42:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:42:23 gofmt -l . 21:42:23 [ "`gofmt -l .`" = "" ] 21:42:23 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 21:42:24 $ docker stop --time=1 eed2570007546dbaae29a964a20d68daed2c1d6cfe15cc990296ea7a9c786afa 21:42:26 $ docker rm -f eed2570007546dbaae29a964a20d68daed2c1d6cfe15cc990296ea7a9c786afa [Pipeline] // withDockerContainer [Pipeline] sh 21:42:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:42:27 Warning: overwriting stash ‘coverage-report’ 21:42:28 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 21:42:30 ---> job-cost.sh 21:42:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KdxY 21:42:54 lf-activate-venv(): INFO: Adding /tmp/venv-mYiH/bin to PATH 21:42:54 INFO: No Stack... 21:42:54 INFO: Retrieving Pricing Info for: lf-standard-4 21:42:54 INFO: Archiving Costs [Pipeline] sh 21:42:54 + + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 21:42:54 cut -d, -f6 [Pipeline] lock 21:42:55 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] 21:42:55 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] did not exist. Created. 21:42:55 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:42:55 + echo total: 0.20999999344348907 [Pipeline] stash 21:42:55 Stashed 1 file(s) [Pipeline] } 21:42:55 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:42:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 21:43:44 lf-activate-venv(): INFO: Adding /tmp/venv-KdxY/bin to PATH 21:43:44 INFO: No Stack... 21:43:44 INFO: Retrieving Pricing Info for: v1-standard-2 21:43:44 INFO: Archiving Costs [Pipeline] sh 21:43:45 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 21:43:45 + cut -d, -f6 [Pipeline] lock 21:43:45 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] 21:43:45 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] did not exist. Created. 21:43:45 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:45 /w/workspace/app-functions-sdk-go/1@tmp/durable-b7da184e/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 21:43:46 + echo total: 0.029999999329447746 [Pipeline] stash 21:43:46 Warning: overwriting stash ‘stack-cost’ 21:43:46 Stashed 1 file(s) [Pipeline] } 21:43:46 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-746-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 21:43:48 provisioning config files... 21:43:48 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/config9118598061744496143tmp [Pipeline] { [Pipeline] sh 21:43:49 + set +x 21:43:49 + curl -s https://codecov.io/bash 21:43:49 + bash -s -- 21:43:49 21:43:49 _____ _ 21:43:49 / ____| | | 21:43:49 | | ___ __| | ___ ___ _____ __ 21:43:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:43:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:43:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:43:49 Bash-20210309-2b87ace 21:43:49 21:43:49 21:43:49 ==> git version 2.24.3 found 21:43: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 21:43:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:43:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:43:49 ==> Jenkins CI detected. 21:43:49 project root: . 21:43:49 --> token set from env 21:43:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:43:49 ==> Running gcov in . (disable via -X gcov) 21:43:49 ==> Python coveragepy not found 21:43:49 ==> Searching for coverage reports in: 21:43:49 + . 21:43:49 -> Found 2 reports 21:43:49 ==> Detecting git/mercurial file structure 21:43:49 ==> Reading reports 21:43:49 + ./app-service-template/coverage.out bytes=400 21:43:49 + ./coverage.out bytes=85560 21:43:49 ==> Appending adjustments 21:43:49 https://docs.codecov.io/docs/fixing-reports 21:43:50 + Found adjustments 21:43:50 ==> Gzipping contents 21:43:50 16K /tmp/codecov.ykomzu.gz 21:43:50 ==> Uploading reports 21:43:50 url: https://codecov.io 21:43:50 query: branch=PR-746&commit=6db614187482bbf9a22c530735833fd0821b860e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 21:43:50 -> Pinging Codecov 21:43:50 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-746&commit=6db614187482bbf9a22c530735833fd0821b860e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 21:43:50 -> Uploading to 21:43:50 https://storage.googleapis.com/codecov/v4/raw/2021-03-18/3D8B5DFFC46A037C893635FACE044666/6db614187482bbf9a22c530735833fd0821b860e/00bb5d52-0615-4444-8076-1411b675d756.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T214350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fac0a15ea3c382569feaa7c1b52d65da8e11b501c207e0ec6901b7204388462a 21:43:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:43:50 Dload Upload Total Spent Left Speed 21:43:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14900 0 0 100 14900 0 32600 --:--:-- --:--:-- --:--:-- 32603 21:43:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/6db614187482bbf9a22c530735833fd0821b860e [Pipeline] } 21:43: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 21:43:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:55 ---> package-listing.sh 21:43:55 ++ facter osfamily 21:43:55 ++ tr '[:upper:]' '[:lower:]' 21:43:56 + OS_FAMILY=redhat 21:43:56 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-746 21:43:56 + START_PACKAGES=/tmp/packages_start.txt 21:43:56 + END_PACKAGES=/tmp/packages_end.txt 21:43:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:56 + PACKAGES=/tmp/packages_start.txt 21:43:56 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-746 ']' 21:43:56 + PACKAGES=/tmp/packages_end.txt 21:43:56 + case "${OS_FAMILY}" in 21:43:56 + rpm -qa 21:43:56 + sort 21:44:04 + '[' -f /tmp/packages_start.txt ']' 21:44:04 + '[' -f /tmp/packages_end.txt ']' 21:44:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:44:04 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-746 ']' 21:44:04 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-746/archives/ 21:44:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-746/archives/ [Pipeline] echo 21:44:04 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:44:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:44:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:44:05 21:44:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:44:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:44:06 alpine: Pulling from edgex-lftools-log-publisher 21:44:06 df20fa9351a1: Pulling fs layer 21:44:06 36b3adc4ff6f: Pulling fs layer 21:44:06 8ad3a11d3b57: Pulling fs layer 21:44:06 46f8f816bc3b: Pulling fs layer 21:44:06 93b61091891f: Pulling fs layer 21:44:06 93b9cdb0e59b: Pulling fs layer 21:44:06 5e14af77c1be: Pulling fs layer 21:44:06 01666e4c0597: Pulling fs layer 21:44:06 aa168da1d23b: Pulling fs layer 21:44:06 46f8f816bc3b: Waiting 21:44:06 93b61091891f: Waiting 21:44:06 93b9cdb0e59b: Waiting 21:44:06 5e14af77c1be: Waiting 21:44:06 01666e4c0597: Waiting 21:44:06 aa168da1d23b: Waiting 21:44:06 36b3adc4ff6f: Verifying Checksum 21:44:06 36b3adc4ff6f: Download complete 21:44:06 46f8f816bc3b: Verifying Checksum 21:44:06 46f8f816bc3b: Download complete 21:44:06 df20fa9351a1: Verifying Checksum 21:44:06 df20fa9351a1: Download complete 21:44:06 93b9cdb0e59b: Verifying Checksum 21:44:06 93b9cdb0e59b: Download complete 21:44:06 93b61091891f: Verifying Checksum 21:44:06 93b61091891f: Download complete 21:44:06 01666e4c0597: Download complete 21:44:07 df20fa9351a1: Pull complete 21:44:07 8ad3a11d3b57: Verifying Checksum 21:44:07 8ad3a11d3b57: Download complete 21:44:07 5e14af77c1be: Verifying Checksum 21:44:07 5e14af77c1be: Download complete 21:44:08 36b3adc4ff6f: Pull complete 21:44:09 8ad3a11d3b57: Pull complete 21:44:09 46f8f816bc3b: Pull complete 21:44:11 93b61091891f: Pull complete 21:44:11 aa168da1d23b: Verifying Checksum 21:44:11 aa168da1d23b: Download complete 21:44:11 93b9cdb0e59b: Pull complete 21:44:12 5e14af77c1be: Pull complete 21:44:12 01666e4c0597: Pull complete 21:44:31 aa168da1d23b: Pull complete 21:44:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:44:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:44:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:44:31 prd-centos7-docker-4c-2g-30363 does not seem to be running inside a container 21:44:31 $ 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-746/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-746 -v /w/workspace/ndry_app-functions-sdk-go_PR-746:/w/workspace/ndry_app-functions-sdk-go_PR-746:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-746@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:44:36 $ docker top e21d66796e2d2033df585212bdf29f6f6af28d79dc4ece9e0113f51622bfc712 -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:44:37 + mkdir -p /var/log/sa [Pipeline] sh 21:44:38 + ls /var/log/sa-host 21:44:38 + sadf -c /var/log/sa-host/sa18 21:44:38 file_magic: OK 21:44:38 HZ: Using current value: 100 21:44:38 file_header: OK 21:44:38 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 21:44:38 Statistics: 21:44:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:44:38 File successfully converted to sysstat format version 12.2.1 21:44:38 + sadf -c /var/log/sa-host/sa23 21:44:38 file_magic: OK 21:44:38 HZ: Using current value: 100 21:44:38 file_header: OK 21:44:38 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 21:44:38 Statistics: 21:44:38 Hnuu...uuuununununu... 21:44:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:44:38 provisioning config files... 21:44:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-746@tmp/config8739267079159103389tmp [Pipeline] { [Pipeline] echo 21:44:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:44:39 ---> create-netrc.sh [Pipeline] } 21:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:44:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:44:39 ---> python-tools-install.sh [Pipeline] echo 21:44:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:44:40 ---> sudo-logs.sh 21:44:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:44:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:44:41 ---> job-cost.sh 21:44:41 lf-activate-venv: SKIPPING 21:44:41 DEBUG: total: 0.029999999329447746 21:44:41 INFO: Retrieving Stack Cost... 21:44:42 INFO: Retrieving Pricing Info for: v1-standard-2 21:44:43 INFO: Archiving Costs [Pipeline] echo 21:44:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:44:44 ---> logs-deploy.sh 21:44:44 lf-activate-venv: SKIPPING 21:44:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-746/1 21:44:44 INFO: archiving workspace using pattern(s): 21:44:47 Archives upload complete. 21:44:47 INFO: archiving logs to Nexus