Pull request #570 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 42d938a399f25c336db264c5a62baad6223c1382+a22ec22dc229bc5a98df020c4d001a55ea4e61b6 (ca2a6f322f11572ed71fba27a20634514d27d817) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-570/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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-570/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 SECURITY_NOTIFY_LIST: security-issues@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-12924 in /w/workspace/ndry_app-functions-sdk-go_PR-570 [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-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 42d938a399f25c336db264c5a62baad6223c1382 Merge succeeded, producing 42d938a399f25c336db264c5a62baad6223c1382 Checking out Revision 42d938a399f25c336db264c5a62baad6223c1382 (PR-570) > git config core.sparsecheckout # timeout=10 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # 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 a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:32:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:32:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:32:57 ========================================================= 06:32:57 EdgeX Global Pipelines Version Info 06:32:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:32:59 ------------------- 06:32:59 stable info: 06:32:59 ------------------- 06:32:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:32:59 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:32:59 Message: update stable to v1.0.167 06:33:00 ------------------- 06:33:00 experimental info: 06:33:00 ------------------- 06:33:00 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:00 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:33:00 Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:33:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:33:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:33:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-570 [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-570 [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-570 [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42d938a399f25c336db264c5a62baad6223c1382 [Pipeline] echo 06:33:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42d938a [Pipeline] echo 06:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:33:05 provisioning config files... 06:33:05 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/config3856558591313105911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:06 ---> docker-login.sh 06:33:06 nexus3.edgexfoundry.org:10001 06:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:06 Configure a credential helper to remove this warning. See 06:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:06 06:33:06 Login Succeeded 06:33:06 nexus3.edgexfoundry.org:10002 06:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:06 Configure a credential helper to remove this warning. See 06:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:06 06:33:06 Login Succeeded 06:33:06 nexus3.edgexfoundry.org:10003 06:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:06 Configure a credential helper to remove this warning. See 06:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:06 06:33:06 Login Succeeded 06:33:06 nexus3.edgexfoundry.org:10004 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 docker.io 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 ---> docker-login.sh ends [Pipeline] } 06:33:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:08 + git log --format=format:%s -1 42d938a399f25c336db264c5a62baad6223c1382 [Pipeline] echo 06:33:08 GIT_COMMIT: 42d938a399f25c336db264c5a62baad6223c1382, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:33:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:09 06:33:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:33:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:09 latest: Pulling from edgex-devops/git-semver 06:33:09 31603596830f: Pulling fs layer 06:33:09 2a8b12db71e7: Pulling fs layer 06:33:09 6ca5941a6612: Pulling fs layer 06:33:09 ecc8261a40a4: Pulling fs layer 06:33:09 ecc8261a40a4: Waiting 06:33:09 2a8b12db71e7: Verifying Checksum 06:33:09 2a8b12db71e7: Download complete 06:33:09 31603596830f: Verifying Checksum 06:33:09 31603596830f: Download complete 06:33:10 ecc8261a40a4: Verifying Checksum 06:33:10 ecc8261a40a4: Download complete 06:33:10 6ca5941a6612: Verifying Checksum 06:33:10 6ca5941a6612: Download complete 06:33:10 31603596830f: Pull complete 06:33:10 2a8b12db71e7: Pull complete 06:33:11 6ca5941a6612: Pull complete 06:33:11 ecc8261a40a4: Pull complete 06:33:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:33:11 prd-centos7-docker-4c-2g-12924 does not seem to be running inside a container 06:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-570 -v /w/workspace/ndry_app-functions-sdk-go_PR-570:/w/workspace/ndry_app-functions-sdk-go_PR-570:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-570@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-570@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:33:14 $ docker top 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:14 [ssh-agent] Looking for ssh-agent implementation... 06:33:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:15 $ docker exec 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b ssh-agent 06:33:15 SSH_AUTH_SOCK=/tmp/ssh-YoFslSFeczyw/agent.13 06:33:15 SSH_AGENT_PID=19 06:33:15 Running ssh-add (command line suppressed) 06:33:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/private_key_1086408444653267995.key (/w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/private_key_1086408444653267995.key) 06:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:15 + git tag --points-at HEAD [Pipeline] } 06:33:15 $ docker exec --env ******** --env ******** 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b ssh-agent -k 06:33:16 unset SSH_AUTH_SOCK; 06:33:16 unset SSH_AGENT_PID; 06:33:16 echo Agent pid 19 killed; 06:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:16 [ssh-agent] Looking for ssh-agent implementation... 06:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:16 $ docker exec 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b ssh-agent 06:33:16 SSH_AUTH_SOCK=/tmp/ssh-w9348UdLAG1R/agent.48 06:33:16 SSH_AGENT_PID=53 06:33:16 Running ssh-add (command line suppressed) 06:33:16 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/private_key_6730183497601992178.key (/w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/private_key_6730183497601992178.key) 06:33:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:17 + git semver init 06:33:17 # -> Open(): unable to determine branch for HEAD 06:33:17 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-570/.git 06:33:17 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-570 06:33:17 # $SEMVER_REMOTE_NAME = origin 06:33:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:33:17 # $SEMVER_USER_NAME = edgex-jenkins 06:33:17 # $SEMVER_BRANCH = PR-570 06:33:17 # $SEMVER_TEMP = /tmp/semver-584082224 06:33:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 06:33:20 # '/tmp/semver-584082224' -> '/w/workspace/ndry_app-functions-sdk-go_PR-570/.semver' 06:33:20 # -> Force: false 06:33:20 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-570/.semver [Pipeline] } 06:33:20 $ docker exec --env ******** --env ******** 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b ssh-agent -k 06:33:20 unset SSH_AUTH_SOCK; 06:33:20 unset SSH_AGENT_PID; 06:33:20 echo Agent pid 53 killed; 06:33:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:21 + git semver [Pipeline] } 06:33:21 $ docker stop --time=1 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b 06:33:22 $ docker rm -f 5731942315e2110b6b410216dd5c492f2a79a2a3a837b0be3f0b831cfeb0293b [Pipeline] // withDockerContainer [Pipeline] sh 06:33:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:33:23 Stashed 1 file(s) [Pipeline] echo 06:33:23 [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 06:33:42 Still waiting to schedule task 06:33:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:33:42 Still waiting to schedule task 06:33:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:35:05 Running on prd-centos7-docker-4c-2g-12928 in /w/workspace/ndry_app-functions-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 06:35:06 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:35:09 using credential edgex-jenkins-ssh 06:35:09 Cloning the remote Git repository 06:35:09 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:35:09 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:35:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:35:09 > git --version # timeout=10 06:35:09 > git --version # 'git version 2.16.5' 06:35:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:12 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:35:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:12 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:35:12 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:35:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:12 Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 42d938a399f25c336db264c5a62baad6223c1382 06:35:12 Merge succeeded, producing 42d938a399f25c336db264c5a62baad6223c1382 06:35:12 Checking out Revision 42d938a399f25c336db264c5a62baad6223c1382 (PR-570) 06:35:12 > git config core.sparsecheckout # timeout=10 06:35:12 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # timeout=10 06:35:12 > git remote # timeout=10 06:35:12 > git config --get remote.origin.url # timeout=10 06:35:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:12 > git merge a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 06:35:12 > git rev-parse HEAD^{commit} # timeout=10 06:35:12 > git config core.sparsecheckout # timeout=10 06:35:12 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # timeout=10 06:35:16 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:35:16 > git --version # timeout=10 06:35:16 > git --version # 'git version 2.16.5' 06:35:16 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:35:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:35:18 + sudo service docker restart 06:35:18 + true 06:35:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:35:20 provisioning config files... 06:35:20 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config8507589991700473429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:20 ---> docker-login.sh 06:35:20 nexus3.edgexfoundry.org:10001 06:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:21 Configure a credential helper to remove this warning. See 06:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:21 06:35:21 Login Succeeded 06:35:21 nexus3.edgexfoundry.org:10002 06:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:21 Configure a credential helper to remove this warning. See 06:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:21 06:35:21 Login Succeeded 06:35:21 nexus3.edgexfoundry.org:10003 06:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:22 Configure a credential helper to remove this warning. See 06:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:22 06:35:22 Login Succeeded 06:35:22 nexus3.edgexfoundry.org:10004 06:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:22 Configure a credential helper to remove this warning. See 06:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:22 06:35:22 Login Succeeded 06:35:22 docker.io 06:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:22 Configure a credential helper to remove this warning. See 06:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:22 06:35:22 Login Succeeded 06:35:22 ---> docker-login.sh ends [Pipeline] } 06:35:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:35:23 ========================================================= 06:35:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:35:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:35:23 + 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 . 06:35:23 Sending build context to Docker daemon 19.17MB 06:35:23 Step 1/8 : ARG BASE=golang:1.15-alpine 06:35:23 Step 2/8 : FROM ${BASE} 06:35:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:35:23 df20fa9351a1: Pulling fs layer 06:35:23 ed8968b2872e: Pulling fs layer 06:35:23 a92cc7c5fd73: Pulling fs layer 06:35:23 e871e8e8d7a9: Pulling fs layer 06:35:23 e73272ec9a57: Pulling fs layer 06:35:23 1e910a182e73: Pulling fs layer 06:35:23 4e634b169226: Pulling fs layer 06:35:23 e73272ec9a57: Waiting 06:35:23 1e910a182e73: Waiting 06:35:23 4e634b169226: Waiting 06:35:23 e871e8e8d7a9: Waiting 06:35:23 a92cc7c5fd73: Verifying Checksum 06:35:23 a92cc7c5fd73: Download complete 06:35:24 ed8968b2872e: Download complete 06:35:24 e73272ec9a57: Verifying Checksum 06:35:24 e73272ec9a57: Download complete 06:35:24 df20fa9351a1: Download complete 06:35:24 1e910a182e73: Verifying Checksum 06:35:24 1e910a182e73: Download complete 06:35:24 df20fa9351a1: Pull complete 06:35:24 ed8968b2872e: Pull complete 06:35:24 a92cc7c5fd73: Pull complete 06:35:26 4e634b169226: Verifying Checksum 06:35:26 4e634b169226: Download complete 06:35:26 e871e8e8d7a9: Verifying Checksum 06:35:26 e871e8e8d7a9: Download complete 06:35:31 e871e8e8d7a9: Pull complete 06:35:31 e73272ec9a57: Pull complete 06:35:32 1e910a182e73: Pull complete 06:35:38 4e634b169226: Pull complete 06:35:38 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:35:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:35:38 ---> f7629b54cfaa 06:35:38 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 06:35:39 latest: Pulling from library/docker 06:35:39 188c0c94c7c5: Pulling fs layer 06:35:39 0c7c675703d6: Pulling fs layer 06:35:39 cc8c12a437cb: Pulling fs layer 06:35:39 c5dafad2182a: Pulling fs layer 06:35:39 5aa711733414: Pulling fs layer 06:35:39 058f73b55e4b: Pulling fs layer 06:35:39 8c9c664faf12: Pulling fs layer 06:35:39 5aa711733414: Waiting 06:35:39 058f73b55e4b: Waiting 06:35:39 8c9c664faf12: Waiting 06:35:39 c5dafad2182a: Waiting 06:35:39 cc8c12a437cb: Verifying Checksum 06:35:39 cc8c12a437cb: Download complete 06:35:39 0c7c675703d6: Verifying Checksum 06:35:39 0c7c675703d6: Download complete 06:35:39 188c0c94c7c5: Verifying Checksum 06:35:39 188c0c94c7c5: Download complete 06:35:39 5aa711733414: Verifying Checksum 06:35:39 5aa711733414: Download complete 06:35:39 058f73b55e4b: Verifying Checksum 06:35:39 058f73b55e4b: Download complete 06:35:39 8c9c664faf12: Verifying Checksum 06:35:39 8c9c664faf12: Download complete 06:35:40 188c0c94c7c5: Pull complete 06:35:40 0c7c675703d6: Pull complete 06:35:40 cc8c12a437cb: Pull complete 06:35:40 c5dafad2182a: Verifying Checksum 06:35:40 c5dafad2182a: Download complete 06:35:43 c5dafad2182a: Pull complete 06:35:43 5aa711733414: Pull complete 06:35:43 058f73b55e4b: Pull complete 06:35:43 8c9c664faf12: Pull complete 06:35:43 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 06:35:43 Status: Downloaded newer image for docker:latest 06:35:45 ---> f5a4b6d22856 06:35:45 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:35:45 ---> Running in e42ab11218af 06:35:45 Removing intermediate container e42ab11218af 06:35:45 ---> f10b66895df7 06:35:45 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:35:45 ---> Running in 246d88836a2e 06:35:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:48 (1/5) Installing libsodium (1.0.18-r0) 06:35:48 (2/5) Installing libzmq (4.3.3-r0) 06:35:48 (3/5) Installing pkgconf (1.7.2-r0) 06:35:48 (4/5) Installing libsodium-dev (1.0.18-r0) 06:35:49 (5/5) Installing zeromq-dev (4.3.3-r0) 06:35:49 Executing busybox-1.31.1-r16.trigger 06:35:49 OK: 167 MiB in 44 packages 06:35:50 Removing intermediate container 246d88836a2e 06:35:50 ---> 5167d5a7d3e0 06:35:50 Step 6/8 : WORKDIR /build 06:35:50 ---> Running in 0ba6be26887c 06:35:50 Removing intermediate container 0ba6be26887c 06:35:50 ---> 6e4689afe1b6 06:35:50 Step 7/8 : COPY go.mod . 06:35:50 ---> 2fb163b9f03a 06:35:50 Step 8/8 : RUN go mod download 06:35:50 ---> Running in aed435f49162 06:36:17 Removing intermediate container aed435f49162 06:36:17 ---> b8efecb7d5b4 06:36:17 Successfully built b8efecb7d5b4 06:36:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:36:17 + docker inspect -f . ci-base-image-x86_64 06:36:17 . [Pipeline] withDockerContainer 06:36:18 prd-centos7-docker-4c-2g-12928 does not seem to be running inside a container 06:36:18 $ 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 ******** ci-base-image-x86_64 cat 06:36:19 $ docker top f09e464c2ffb57da491991103ce69eec8793b3183626a2da79c90e4f159ca5e7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:19 + go version 06:36:19 go version go1.15.2 linux/amd64 [Pipeline] } 06:36:19 $ docker stop --time=1 f09e464c2ffb57da491991103ce69eec8793b3183626a2da79c90e4f159ca5e7 06:36:20 $ docker rm -f f09e464c2ffb57da491991103ce69eec8793b3183626a2da79c90e4f159ca5e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:22 + docker inspect -f . ci-base-image-x86_64 06:36:22 . [Pipeline] withDockerContainer 06:36:22 prd-centos7-docker-4c-2g-12928 does not seem to be running inside a container 06:36:22 $ 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 ******** ci-base-image-x86_64 cat 06:36:23 $ docker top f9262146094740661deeaf585e7d3520a7fd488d93c54dc1c9233b7891746245 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:23 + make test 06:36:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:36:26 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 06:36:34 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.036s coverage: 86.2% of statements 06:36:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12929 in /w/workspace/ndry_app-functions-sdk-go_PR-570 [Pipeline] { [Pipeline] ws 06:36:46 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:36:51 using credential edgex-jenkins-ssh 06:36:51 Cloning the remote Git repository 06:36:51 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:36:51 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:36:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:36:51 > git --version # timeout=10 06:36:51 > git --version # 'git version 2.17.1' 06:36:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:52 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.034s coverage: 52.0% of statements 06:36:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 06:36:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 06:36:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.044s coverage: 54.7% of statements 06:36:52 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 06:36:52 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.033s coverage: 69.1% of statements 06:36:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:54 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:36:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:54 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:36:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:36:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:36:55 Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 42d938a399f25c336db264c5a62baad6223c1382 06:36:55 Merge succeeded, producing 42d938a399f25c336db264c5a62baad6223c1382 06:36:55 Checking out Revision 42d938a399f25c336db264c5a62baad6223c1382 (PR-570) 06:36:55 > git config core.sparsecheckout # timeout=10 06:36:55 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # timeout=10 06:36:55 > git remote # timeout=10 06:36:55 > git config --get remote.origin.url # timeout=10 06:36:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:55 > git merge a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 06:36:55 > git rev-parse HEAD^{commit} # timeout=10 06:36:55 > git config core.sparsecheckout # timeout=10 06:36:55 > git checkout -f 42d938a399f25c336db264c5a62baad6223c1382 # timeout=10 06:37:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:37:00 > git --version # timeout=10 06:37:00 > git --version # 'git version 2.17.1' 06:37:00 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:02 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:37:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:37:03 + true 06:37:03 + sudo service docker restart 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.420s coverage: 61.6% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.016s coverage: 100.0% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.007s coverage: 100.0% of statements 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.006s coverage: 96.6% of statements 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.917s coverage: 75.0% of statements 06:37:04 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.011s coverage: 80.5% of statements 06:37:04 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:37:05 provisioning config files... 06:37:05 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config8235322732166004739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:06 ---> docker-login.sh 06:37:06 nexus3.edgexfoundry.org:10001 06:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:07 Configure a credential helper to remove this warning. See 06:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:07 06:37:07 Login Succeeded 06:37:07 nexus3.edgexfoundry.org:10002 06:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:08 Configure a credential helper to remove this warning. See 06:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:08 06:37:08 Login Succeeded 06:37:08 nexus3.edgexfoundry.org:10003 06:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:08 Configure a credential helper to remove this warning. See 06:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:08 06:37:08 Login Succeeded 06:37:08 nexus3.edgexfoundry.org:10004 06:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:09 Configure a credential helper to remove this warning. See 06:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:09 06:37:09 Login Succeeded 06:37:09 docker.io 06:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:09 Configure a credential helper to remove this warning. See 06:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:09 06:37:09 Login Succeeded 06:37:09 ---> docker-login.sh ends [Pipeline] } 06:37:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:10 ========================================================= 06:37:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:37:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:11 + 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 . 06:37:11 Sending build context to Docker daemon 19.17MB 06:37:11 Step 1/8 : ARG BASE=golang:1.15-alpine 06:37:11 Step 2/8 : FROM ${BASE} 06:37:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:11 b538f80385f9: Pulling fs layer 06:37:11 74f711af9a0d: Pulling fs layer 06:37:11 99f96fe45779: Pulling fs layer 06:37:11 8529a6b9a6be: Pulling fs layer 06:37:11 45590311c82a: Pulling fs layer 06:37:11 69ca0ff8b7b3: Pulling fs layer 06:37:11 209524e5b208: Pulling fs layer 06:37:11 8529a6b9a6be: Waiting 06:37:11 45590311c82a: Waiting 06:37:11 69ca0ff8b7b3: Waiting 06:37:11 209524e5b208: Waiting 06:37:11 99f96fe45779: Verifying Checksum 06:37:11 99f96fe45779: Download complete 06:37:11 74f711af9a0d: Verifying Checksum 06:37:11 74f711af9a0d: Download complete 06:37:11 45590311c82a: Verifying Checksum 06:37:11 45590311c82a: Download complete 06:37:11 69ca0ff8b7b3: Verifying Checksum 06:37:11 69ca0ff8b7b3: Download complete 06:37:11 b538f80385f9: Download complete 06:37:12 b538f80385f9: Pull complete 06:37:13 74f711af9a0d: Pull complete 06:37:13 99f96fe45779: Pull complete 06:37:14 209524e5b208: Verifying Checksum 06:37:14 209524e5b208: Download complete 06:37:15 8529a6b9a6be: Download complete 06:37:23 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.042s coverage: 71.0% of statements 06:37:23 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 06:37:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:37:25 8529a6b9a6be: Pull complete 06:37:25 45590311c82a: Pull complete 06:37:25 69ca0ff8b7b3: Pull complete 06:37:26 gofmt -l . 06:37:26 [ "`gofmt -l .`" = "" ] 06:37:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:37:27 $ docker stop --time=1 f9262146094740661deeaf585e7d3520a7fd488d93c54dc1c9233b7891746245 06:37:28 209524e5b208: Pull complete 06:37:28 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:37:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:37:28 ---> 5bddaf1c2fca 06:37:28 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 06:37:28 $ docker rm -f f9262146094740661deeaf585e7d3520a7fd488d93c54dc1c9233b7891746245 06:37:29 latest: Pulling from library/docker 06:37:29 5f621e34cdf4: Pulling fs layer 06:37:29 85db56a05063: Pulling fs layer 06:37:29 ccb67d6aeaaa: Pulling fs layer 06:37:29 a0b19fc83503: Pulling fs layer 06:37:29 8eb508b41278: Pulling fs layer 06:37:29 37236713561e: Pulling fs layer 06:37:29 07c93f2b1b56: Pulling fs layer 06:37:29 a0b19fc83503: Waiting 06:37:29 8eb508b41278: Waiting 06:37:29 37236713561e: Waiting 06:37:29 07c93f2b1b56: Waiting 06:37:29 ccb67d6aeaaa: Verifying Checksum [Pipeline] // withDockerContainer 06:37:29 ccb67d6aeaaa: Download complete 06:37:29 85db56a05063: Verifying Checksum 06:37:29 85db56a05063: Download complete 06:37:29 5f621e34cdf4: Verifying Checksum 06:37:29 5f621e34cdf4: Download complete 06:37:29 8eb508b41278: Verifying Checksum 06:37:29 8eb508b41278: Download complete 06:37:29 37236713561e: Verifying Checksum 06:37:29 37236713561e: Download complete [Pipeline] sh 06:37:29 07c93f2b1b56: Download complete 06:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:37:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 06:37:30 5f621e34cdf4: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } 06:37:30 85db56a05063: Pull complete 06:37:30 a0b19fc83503: Verifying Checksum 06:37:30 a0b19fc83503: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 06:37:31 ccb67d6aeaaa: Pull complete [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] } 06:37:34 a0b19fc83503: Pull complete 06:37:34 8eb508b41278: Pull complete 06:37:35 37236713561e: Pull complete 06:37:35 07c93f2b1b56: Pull complete 06:37:35 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 06:37:35 Status: Downloaded newer image for docker:latest 06:37:42 ---> 4343536c67df 06:37:42 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:37:42 ---> Running in 214ecd20e453 06:37:42 Removing intermediate container 214ecd20e453 06:37:42 ---> 13cab7d7d1c9 06:37:42 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:37:42 ---> Running in ed2ecfb08464 06:37:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:37:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:37:45 (1/5) Installing libsodium (1.0.18-r0) 06:37:45 (2/5) Installing libzmq (4.3.3-r0) 06:37:45 (3/5) Installing pkgconf (1.7.2-r0) 06:37:45 (4/5) Installing libsodium-dev (1.0.18-r0) 06:37:46 (5/5) Installing zeromq-dev (4.3.3-r0) 06:37:46 Executing busybox-1.31.1-r16.trigger 06:37:46 OK: 144 MiB in 44 packages 06:37:47 Removing intermediate container ed2ecfb08464 06:37:47 ---> 709c50dbce31 06:37:47 Step 6/8 : WORKDIR /build 06:37:47 ---> Running in 7d9f0476baf1 06:37:48 Removing intermediate container 7d9f0476baf1 06:37:48 ---> 8a0d03d07ad4 06:37:48 Step 7/8 : COPY go.mod . 06:37:49 ---> d8c21dc00e51 06:37:49 Step 8/8 : RUN go mod download 06:37:49 ---> Running in 1548b3556691 06:38:21 Removing intermediate container 1548b3556691 06:38:21 ---> db1e4d5cb872 06:38:21 Successfully built db1e4d5cb872 06:38:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:38:21 + docker inspect -f . ci-base-image-arm64 06:38:21 . [Pipeline] withDockerContainer 06:38:22 prd-ubuntu18.04-docker-arm64-4c-16g-12929 does not seem to be running inside a container 06:38:22 $ 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 ******** ci-base-image-arm64 cat 06:38:24 $ docker top e14af9ab94453b9179cd71db2962aa3515c9caf4eef0851f1da522a0777ee04e -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:25 + go version 06:38:25 go version go1.15.2 linux/arm64 [Pipeline] } 06:38:25 $ docker stop --time=1 e14af9ab94453b9179cd71db2962aa3515c9caf4eef0851f1da522a0777ee04e 06:38:27 $ docker rm -f e14af9ab94453b9179cd71db2962aa3515c9caf4eef0851f1da522a0777ee04e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:29 + docker inspect -f . ci-base-image-arm64 06:38:29 . [Pipeline] withDockerContainer 06:38:29 prd-ubuntu18.04-docker-arm64-4c-16g-12929 does not seem to be running inside a container 06:38:29 $ 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 ******** ci-base-image-arm64 cat 06:38:31 $ docker top 576a0d374c152c15b72c1bea7b5707633c5e59c51d876a1962183fa32f31f718 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:32 + make test 06:38:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:38:34 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 06:38:56 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.061s coverage: 86.2% of statements 06:39:43 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.063s coverage: 52.0% of statements 06:39:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 06:39:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 06:39:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.073s coverage: 54.7% of statements 06:39:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 06:39:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.057s coverage: 69.1% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.451s coverage: 61.6% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.017s coverage: 100.0% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.032s coverage: 100.0% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.017s coverage: 100.0% of statements 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 06:39:48 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 06:39:48 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements 06:39:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.940s coverage: 75.0% of statements 06:39:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 06:39:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.050s coverage: 89.7% of statements 06:39:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.037s coverage: 88.9% of statements 06:39:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 06:39:50 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 06:40:16 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.057s coverage: 71.0% of statements 06:40:16 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 06:40:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:40:29 gofmt -l . 06:40:29 [ "`gofmt -l .`" = "" ] 06:40:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:40:29 $ docker stop --time=1 576a0d374c152c15b72c1bea7b5707633c5e59c51d876a1962183fa32f31f718 06:40:31 $ docker rm -f 576a0d374c152c15b72c1bea7b5707633c5e59c51d876a1962183fa32f31f718 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:32 Warning: overwriting stash ‘coverage-report’ 06:40:33 Stashed 1 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] } [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 06:40:36 provisioning config files... 06:40:36 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/config1112232259062214808tmp [Pipeline] { [Pipeline] sh 06:40:36 + set +x 06:40:36 + curl -s https://codecov.io/bash 06:40:36 + bash -s -- 06:40:37 06:40:37 _____ _ 06:40:37 / ____| | | 06:40:37 | | ___ __| | ___ ___ _____ __ 06:40:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:40:37 | |___| (_) | (_| | __/ (_| (_) \ V / 06:40:37 \_____\___/ \__,_|\___|\___\___/ \_/ 06:40:37 Bash-20201116-eea08d9 06:40:37 06:40:37 06:40:37 ==> Jenkins CI detected. 06:40:37 project root: . 06:40:37 --> token set from env 06:40:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:40:37 ==> Running gcov in . (disable via -X gcov) 06:40:37 ==> Python coveragepy not found 06:40:37 ==> Searching for coverage reports in: 06:40:37 + . 06:40:37 -> Found 1 reports 06:40:37 ==> Detecting git/mercurial file structure 06:40:37 ==> Reading reports 06:40:37 + ./coverage.out bytes=90550 06:40:37 ==> Appending adjustments 06:40:37 https://docs.codecov.io/docs/fixing-reports 06:40:37 + Found adjustments 06:40:37 ==> Gzipping contents 06:40:37 ==> Uploading reports 06:40:37 url: https://codecov.io 06:40:37 query: branch=PR-570&commit=42d938a399f25c336db264c5a62baad6223c1382&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-570%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=570&job=&cmd_args= 06:40:37 -> Pinging Codecov 06:40:37 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-570&commit=42d938a399f25c336db264c5a62baad6223c1382&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-570%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=570&job=&cmd_args= 06:40:38 -> Uploading to 06:40:38 https://storage.googleapis.com/codecov/v4/raw/2020-11-20/3D8B5DFFC46A037C893635FACE044666/42d938a399f25c336db264c5a62baad6223c1382/be1b63fd-2203-448e-9065-f734cf3426db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201120T064038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea359783aef10e57f173d898825d12f5674084028d584b53694372b83e7e19e2 06:40:38 % Total % Received % Xferd Average Speed Time Time Time Current 06:40:38 Dload Upload Total Spent Left Speed 06:40:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16110 0 0 100 16110 0 35745 --:--:-- --:--:-- --:--:-- 35720 06:40:38 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/42d938a399f25c336db264c5a62baad6223c1382 [Pipeline] } 06:40:38 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 06:40:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:43 ---> package-listing.sh 06:40:43 ++ facter osfamily 06:40:43 ++ tr '[:upper:]' '[:lower:]' 06:40:43 + OS_FAMILY=redhat 06:40:43 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-570 06:40:43 + START_PACKAGES=/tmp/packages_start.txt 06:40:43 + END_PACKAGES=/tmp/packages_end.txt 06:40:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:43 + PACKAGES=/tmp/packages_start.txt 06:40:43 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-570 ']' 06:40:43 + PACKAGES=/tmp/packages_end.txt 06:40:43 + case "${OS_FAMILY}" in 06:40:43 + rpm -qa 06:40:43 + sort 06:40:48 + '[' -f /tmp/packages_start.txt ']' 06:40:48 + '[' -f /tmp/packages_end.txt ']' 06:40:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:48 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-570 ']' 06:40:48 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-570/archives/ 06:40:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-570/archives/ [Pipeline] echo 06:40:48 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-570/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:40:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:49 06:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:40:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:50 alpine: Pulling from edgex-lftools-log-publisher 06:40:50 df20fa9351a1: Pulling fs layer 06:40:50 36b3adc4ff6f: Pulling fs layer 06:40:50 8ad3a11d3b57: Pulling fs layer 06:40:50 46f8f816bc3b: Pulling fs layer 06:40:50 93b61091891f: Pulling fs layer 06:40:50 93b9cdb0e59b: Pulling fs layer 06:40:50 5e14af77c1be: Pulling fs layer 06:40:50 01666e4c0597: Pulling fs layer 06:40:50 aa168da1d23b: Pulling fs layer 06:40:50 93b9cdb0e59b: Waiting 06:40:50 5e14af77c1be: Waiting 06:40:50 aa168da1d23b: Waiting 06:40:50 01666e4c0597: Waiting 06:40:50 46f8f816bc3b: Waiting 06:40:50 93b61091891f: Waiting 06:40:50 36b3adc4ff6f: Verifying Checksum 06:40:50 36b3adc4ff6f: Download complete 06:40:50 46f8f816bc3b: Verifying Checksum 06:40:50 46f8f816bc3b: Download complete 06:40:50 df20fa9351a1: Verifying Checksum 06:40:50 df20fa9351a1: Download complete 06:40:50 93b9cdb0e59b: Verifying Checksum 06:40:50 93b9cdb0e59b: Download complete 06:40:50 5e14af77c1be: Verifying Checksum 06:40:50 5e14af77c1be: Download complete 06:40:50 01666e4c0597: Verifying Checksum 06:40:50 01666e4c0597: Download complete 06:40:50 93b61091891f: Download complete 06:40:50 8ad3a11d3b57: Verifying Checksum 06:40:50 8ad3a11d3b57: Download complete 06:40:50 df20fa9351a1: Pull complete 06:40:50 36b3adc4ff6f: Pull complete 06:40:51 8ad3a11d3b57: Pull complete 06:40:52 46f8f816bc3b: Pull complete 06:40:52 aa168da1d23b: Verifying Checksum 06:40:52 aa168da1d23b: Download complete 06:40:52 93b61091891f: Pull complete 06:40:52 93b9cdb0e59b: Pull complete 06:40:52 5e14af77c1be: Pull complete 06:40:52 01666e4c0597: Pull complete 06:40:59 aa168da1d23b: Pull complete 06:40:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:40:59 prd-centos7-docker-4c-2g-12924 does not seem to be running inside a container 06:40:59 $ 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-570/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-570 -v /w/workspace/ndry_app-functions-sdk-go_PR-570:/w/workspace/ndry_app-functions-sdk-go_PR-570:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-570@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-570@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:10003/edgex-lftools-log-publisher:alpine cat 06:41:06 $ docker top 858989c7e1782f8b39c612f02b3cd997fa85124eb8acd5bc203833cb0416ad8f -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:07 + mkdir -p /var/log/sa [Pipeline] sh 06:41:07 + ls /var/log/sa-host 06:41:07 + sadf -c /var/log/sa-host/sa05 06:41:07 file_magic: OK 06:41:07 HZ: Using current value: 100 06:41:07 file_header: OK 06:41:07 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 06:41:07 Statistics: 06:41:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:07 File successfully converted to sysstat format version 12.2.1 06:41:07 + sadf -c /var/log/sa-host/sa20 06:41:07 file_magic: OK 06:41:07 HZ: Using current value: 100 06:41:07 file_header: OK 06:41:07 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 06:41:07 Statistics: 06:41:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:07 provisioning config files... 06:41:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-570@tmp/config4884291042594446018tmp [Pipeline] { [Pipeline] echo 06:41:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:08 ---> create-netrc.sh [Pipeline] } 06:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:41:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:41:08 ---> python-tools-install.sh [Pipeline] echo 06:41:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:09 ---> sudo-logs.sh 06:41:09 Archiving 'sudo' log.. [Pipeline] echo 06:41:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:09 ---> job-cost.sh 06:41:09 lf-activate-venv: SKIPPING 06:41:09 INFO: No Stack... 06:41:11 INFO: Retrieving Pricing Info for: v1-standard-2 06:41:11 INFO: Archiving Costs [Pipeline] echo 06:41:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:11 ---> logs-deploy.sh 06:41:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-570/1 06:41:11 INFO: archiving workspace using pattern(s): 06:41:13 Archives upload complete. 06:41:13 INFO: archiving logs to Nexus