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