Pull request #571 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 35693bbdf8b9f601618252b6b86330d997a86e85+a22ec22dc229bc5a98df020c4d001a55ea4e61b6 (d62d36ddce9b8b0249c5d60d9188a22253cc9b73) 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-571/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-571/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-12927 in /w/workspace/ndry_app-functions-sdk-go_PR-571 [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-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 35693bbdf8b9f601618252b6b86330d997a86e85 Merge succeeded, producing 35693bbdf8b9f601618252b6b86330d997a86e85 Checking out Revision 35693bbdf8b9f601618252b6b86330d997a86e85 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 35693bbdf8b9f601618252b6b86330d997a86e85 # 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 35693bbdf8b9f601618252b6b86330d997a86e85 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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 [2020-11-20T06:34:54.486Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-20T06:34:54.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-20T06:34:54.996Z] ========================================================= [2020-11-20T06:34:54.996Z] EdgeX Global Pipelines Version Info [2020-11-20T06:34:54.996Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:34:57.073Z] ------------------- [2020-11-20T06:34:57.073Z] stable info: [2020-11-20T06:34:57.073Z] ------------------- [2020-11-20T06:34:57.073Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-20T06:34:57.073Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-20T06:34:57.073Z] Message: update stable to v1.0.167 [2020-11-20T06:34:57.651Z] ------------------- [2020-11-20T06:34:57.651Z] experimental info: [2020-11-20T06:34:57.651Z] ------------------- [2020-11-20T06:34:57.651Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-20T06:34:57.651Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-20T06:34:57.651Z] Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-20T06:34:58.217Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-11-20T06:34:58.351Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-11-20T06:34:58.485Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-20T06:34:58.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-20T06:34:58.743Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-20T06:34:58.895Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-20T06:34:59.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-20T06:34:59.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-20T06:34:59.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-20T06:34:59.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-20T06:34:59.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-20T06:34:59.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-11-20T06:34:59.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-20T06:35:00.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-20T06:35:00.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T06:35:00.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T06:35:00.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T06:35:00.759Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-20T06:35:00.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-20T06:35:01.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-20T06:35:01.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-20T06:35:01.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-11-20T06:35:01.458Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-20T06:35:01.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-20T06:35:01.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-20T06:35:01.861Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-20T06:35:02.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-11-20T06:35:02.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-11-20T06:35:02.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-11-20T06:35:02.421Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35693bbdf8b9f601618252b6b86330d997a86e85 [Pipeline] echo [2020-11-20T06:35:02.544Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35693bb [Pipeline] echo [2020-11-20T06:35:02.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T06:35:02.923Z] provisioning config files... [2020-11-20T06:35:02.964Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/config2984129553742509163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:35:03.463Z] ---> docker-login.sh [2020-11-20T06:35:03.463Z] nexus3.edgexfoundry.org:10001 [2020-11-20T06:35:03.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:35:04.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:35:04.012Z] Configure a credential helper to remove this warning. See [2020-11-20T06:35:04.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:35:04.012Z] [2020-11-20T06:35:04.012Z] Login Succeeded [2020-11-20T06:35:04.012Z] nexus3.edgexfoundry.org:10002 [2020-11-20T06:35:04.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:35:04.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:35:04.295Z] Configure a credential helper to remove this warning. See [2020-11-20T06:35:04.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:35:04.295Z] [2020-11-20T06:35:04.295Z] Login Succeeded [2020-11-20T06:35:04.295Z] nexus3.edgexfoundry.org:10003 [2020-11-20T06:35:04.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:35:04.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:35:04.295Z] Configure a credential helper to remove this warning. See [2020-11-20T06:35:04.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:35:04.295Z] [2020-11-20T06:35:04.295Z] Login Succeeded [2020-11-20T06:35:04.295Z] nexus3.edgexfoundry.org:10004 [2020-11-20T06:35:04.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:35:04.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:35:04.577Z] Configure a credential helper to remove this warning. See [2020-11-20T06:35:04.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:35:04.577Z] [2020-11-20T06:35:04.577Z] Login Succeeded [2020-11-20T06:35:04.577Z] docker.io [2020-11-20T06:35:04.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:35:05.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:35:05.111Z] Configure a credential helper to remove this warning. See [2020-11-20T06:35:05.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:35:05.111Z] [2020-11-20T06:35:05.111Z] Login Succeeded [2020-11-20T06:35:05.111Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T06:35:05.139Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T06:35:06.161Z] + git log --format=format:%s -1 35693bbdf8b9f601618252b6b86330d997a86e85 [Pipeline] echo [2020-11-20T06:35:06.298Z] GIT_COMMIT: 35693bbdf8b9f601618252b6b86330d997a86e85, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-11-20T06:35:06.371Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:35:07.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T06:35:07.110Z] [2020-11-20T06:35:07.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:35:07.629Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T06:35:07.629Z] latest: Pulling from edgex-devops/git-semver [2020-11-20T06:35:07.629Z] 31603596830f: Pulling fs layer [2020-11-20T06:35:07.629Z] 2a8b12db71e7: Pulling fs layer [2020-11-20T06:35:07.629Z] 6ca5941a6612: Pulling fs layer [2020-11-20T06:35:07.629Z] ecc8261a40a4: Pulling fs layer [2020-11-20T06:35:07.629Z] ecc8261a40a4: Waiting [2020-11-20T06:35:07.629Z] 2a8b12db71e7: Verifying Checksum [2020-11-20T06:35:07.629Z] 2a8b12db71e7: Download complete [2020-11-20T06:35:07.977Z] 31603596830f: Verifying Checksum [2020-11-20T06:35:07.977Z] 31603596830f: Download complete [2020-11-20T06:35:08.286Z] ecc8261a40a4: Verifying Checksum [2020-11-20T06:35:08.286Z] ecc8261a40a4: Download complete [2020-11-20T06:35:08.596Z] 6ca5941a6612: Verifying Checksum [2020-11-20T06:35:08.596Z] 6ca5941a6612: Download complete [2020-11-20T06:35:08.596Z] 31603596830f: Pull complete [2020-11-20T06:35:08.879Z] 2a8b12db71e7: Pull complete [2020-11-20T06:35:10.004Z] 6ca5941a6612: Pull complete [2020-11-20T06:35:10.298Z] ecc8261a40a4: Pull complete [2020-11-20T06:35:10.298Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-20T06:35:10.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-20T06:35:10.298Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-20T06:35:10.460Z] prd-centos7-docker-4c-2g-12927 does not seem to be running inside a container [2020-11-20T06:35:10.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-571 -v /w/workspace/ndry_app-functions-sdk-go_PR-571:/w/workspace/ndry_app-functions-sdk-go_PR-571:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-571@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-571@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 [2020-11-20T06:35:13.032Z] $ docker top 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-20T06:35:13.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T06:35:13.476Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T06:35:13.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T06:35:13.781Z] $ docker exec 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e ssh-agent [2020-11-20T06:35:14.111Z] SSH_AUTH_SOCK=/tmp/ssh-lxtDKWrvg9IA/agent.12 [2020-11-20T06:35:14.111Z] SSH_AGENT_PID=17 [2020-11-20T06:35:14.130Z] Running ssh-add (command line suppressed) [2020-11-20T06:35:14.286Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/private_key_1781295500083838239.key (/w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/private_key_1781295500083838239.key) [2020-11-20T06:35:14.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T06:35:14.752Z] + git tag --points-at HEAD [Pipeline] } [2020-11-20T06:35:14.788Z] $ docker exec --env ******** --env ******** 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e ssh-agent -k [2020-11-20T06:35:14.918Z] unset SSH_AUTH_SOCK; [2020-11-20T06:35:14.918Z] unset SSH_AGENT_PID; [2020-11-20T06:35:14.919Z] echo Agent pid 17 killed; [2020-11-20T06:35:14.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-20T06:35:15.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-20T06:35:15.167Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-20T06:35:15.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-20T06:35:15.555Z] $ docker exec 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e ssh-agent [2020-11-20T06:35:15.782Z] SSH_AUTH_SOCK=/tmp/ssh-aVhKcShyI5U3/agent.46 [2020-11-20T06:35:15.782Z] SSH_AGENT_PID=51 [2020-11-20T06:35:15.800Z] Running ssh-add (command line suppressed) [2020-11-20T06:35:15.973Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/private_key_997083195282472189.key (/w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/private_key_997083195282472189.key) [2020-11-20T06:35:16.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-20T06:35:16.495Z] + git semver init [2020-11-20T06:35:16.496Z] # -> Open(): unable to determine branch for HEAD [2020-11-20T06:35:16.496Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-571/.git [2020-11-20T06:35:16.496Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-571 [2020-11-20T06:35:16.496Z] # $SEMVER_REMOTE_NAME = origin [2020-11-20T06:35:16.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-20T06:35:16.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-20T06:35:16.496Z] # $SEMVER_BRANCH = PR-571 [2020-11-20T06:35:16.496Z] # $SEMVER_TEMP = /tmp/semver-493603297 [2020-11-20T06:35:16.496Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-11-20T06:35:20.910Z] # '/tmp/semver-493603297' -> '/w/workspace/ndry_app-functions-sdk-go_PR-571/.semver' [2020-11-20T06:35:20.910Z] # -> Force: false [2020-11-20T06:35:20.910Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-571/.semver [Pipeline] } [2020-11-20T06:35:20.935Z] $ docker exec --env ******** --env ******** 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e ssh-agent -k [2020-11-20T06:35:21.225Z] unset SSH_AUTH_SOCK; [2020-11-20T06:35:21.227Z] unset SSH_AGENT_PID; [2020-11-20T06:35:21.227Z] echo Agent pid 51 killed; [2020-11-20T06:35:21.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-20T06:35:22.302Z] + git semver [Pipeline] } [2020-11-20T06:35:22.340Z] $ docker stop --time=1 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e [2020-11-20T06:35:24.430Z] $ docker rm -f 50a8226a3b6c0469ca62e6b8cda99db95e0315e65e1b2884d553cb94dde20f4e [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T06:35:25.027Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-20T06:35:25.837Z] Stashed 1 file(s) [Pipeline] echo [2020-11-20T06:35:25.859Z] [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 [2020-11-20T06:35:41.688Z] Still waiting to schedule task [2020-11-20T06:35:41.689Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-20T06:35:41.721Z] Still waiting to schedule task [2020-11-20T06:35:41.722Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-20T06:38:11.178Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12931 in /w/workspace/ndry_app-functions-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-11-20T06:38:11.284Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-20T06:38:16.817Z] using credential edgex-jenkins-ssh [2020-11-20T06:38:16.898Z] Cloning the remote Git repository [2020-11-20T06:38:16.958Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:38:17.070Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-11-20T06:38:17.166Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:38:17.166Z] > git --version # timeout=10 [2020-11-20T06:38:17.183Z] > git --version # 'git version 2.17.1' [2020-11-20T06:38:17.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:38:17.260Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T06:38:20.192Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-20T06:38:20.215Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T06:38:20.248Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-20T06:38:20.278Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:38:20.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:38:20.291Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-20T06:38:20.794Z] Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 35693bbdf8b9f601618252b6b86330d997a86e85 [2020-11-20T06:38:21.143Z] Merge succeeded, producing 35693bbdf8b9f601618252b6b86330d997a86e85 [2020-11-20T06:38:21.143Z] Checking out Revision 35693bbdf8b9f601618252b6b86330d997a86e85 (PR-571) [2020-11-20T06:38:20.813Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T06:38:20.826Z] > git checkout -f 35693bbdf8b9f601618252b6b86330d997a86e85 # timeout=10 [2020-11-20T06:38:20.973Z] > git remote # timeout=10 [2020-11-20T06:38:21.003Z] > git config --get remote.origin.url # timeout=10 [2020-11-20T06:38:21.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:38:21.057Z] > git merge a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 [2020-11-20T06:38:21.107Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-20T06:38:21.150Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T06:38:21.164Z] > git checkout -f 35693bbdf8b9f601618252b6b86330d997a86e85 # timeout=10 [2020-11-20T06:38:25.533Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-11-20T06:38:25.588Z] > git --version # timeout=10 [2020-11-20T06:38:25.596Z] > git --version # 'git version 2.17.1' [2020-11-20T06:38:25.604Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T06:38:27.648Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-20T06:38:28.109Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-20T06:38:28.465Z] + sudo service docker restart [2020-11-20T06:38:28.465Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T06:38:31.254Z] provisioning config files... [2020-11-20T06:38:31.298Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config740914743894656458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:38:31.818Z] ---> docker-login.sh [2020-11-20T06:38:31.818Z] nexus3.edgexfoundry.org:10001 [2020-11-20T06:38:32.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:38:33.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:38:33.086Z] Configure a credential helper to remove this warning. See [2020-11-20T06:38:33.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:38:33.086Z] [2020-11-20T06:38:33.086Z] Login Succeeded [2020-11-20T06:38:33.086Z] nexus3.edgexfoundry.org:10002 [2020-11-20T06:38:33.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:38:33.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:38:33.692Z] Configure a credential helper to remove this warning. See [2020-11-20T06:38:33.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:38:33.692Z] [2020-11-20T06:38:33.692Z] Login Succeeded [2020-11-20T06:38:33.692Z] nexus3.edgexfoundry.org:10003 [2020-11-20T06:38:34.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:38:34.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:38:34.300Z] Configure a credential helper to remove this warning. See [2020-11-20T06:38:34.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:38:34.300Z] [2020-11-20T06:38:34.300Z] Login Succeeded [2020-11-20T06:38:34.300Z] nexus3.edgexfoundry.org:10004 [2020-11-20T06:38:34.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:38:34.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:38:34.906Z] Configure a credential helper to remove this warning. See [2020-11-20T06:38:34.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:38:34.906Z] [2020-11-20T06:38:34.906Z] Login Succeeded [2020-11-20T06:38:34.906Z] docker.io [2020-11-20T06:38:35.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:38:35.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:38:35.790Z] Configure a credential helper to remove this warning. See [2020-11-20T06:38:35.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:38:35.790Z] [2020-11-20T06:38:35.790Z] Login Succeeded [2020-11-20T06:38:35.790Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T06:38:35.825Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-20T06:38:36.400Z] ========================================================= [2020-11-20T06:38:36.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-20T06:38:36.400Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:38:36.844Z] + 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 . [2020-11-20T06:38:37.457Z] Sending build context to Docker daemon 19.17MB [2020-11-20T06:38:37.457Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-20T06:38:37.457Z] Step 2/8 : FROM ${BASE} [2020-11-20T06:38:37.731Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-20T06:38:37.731Z] b538f80385f9: Pulling fs layer [2020-11-20T06:38:37.731Z] 74f711af9a0d: Pulling fs layer [2020-11-20T06:38:37.731Z] 99f96fe45779: Pulling fs layer [2020-11-20T06:38:37.731Z] 8529a6b9a6be: Pulling fs layer [2020-11-20T06:38:37.731Z] 45590311c82a: Pulling fs layer [2020-11-20T06:38:37.731Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-20T06:38:37.731Z] 209524e5b208: Pulling fs layer [2020-11-20T06:38:37.731Z] 45590311c82a: Waiting [2020-11-20T06:38:37.731Z] 69ca0ff8b7b3: Waiting [2020-11-20T06:38:37.731Z] 8529a6b9a6be: Waiting [2020-11-20T06:38:37.731Z] 209524e5b208: Waiting [2020-11-20T06:38:37.731Z] 99f96fe45779: Verifying Checksum [2020-11-20T06:38:37.731Z] 99f96fe45779: Download complete [2020-11-20T06:38:37.731Z] 74f711af9a0d: Verifying Checksum [2020-11-20T06:38:37.731Z] 74f711af9a0d: Download complete [2020-11-20T06:38:37.731Z] 45590311c82a: Verifying Checksum [2020-11-20T06:38:37.731Z] 45590311c82a: Download complete [2020-11-20T06:38:37.731Z] 69ca0ff8b7b3: Download complete [2020-11-20T06:38:37.731Z] b538f80385f9: Verifying Checksum [2020-11-20T06:38:37.731Z] b538f80385f9: Download complete [2020-11-20T06:38:38.346Z] b538f80385f9: Pull complete [2020-11-20T06:38:38.965Z] 74f711af9a0d: Pull complete [2020-11-20T06:38:39.573Z] 99f96fe45779: Pull complete [2020-11-20T06:38:39.848Z] 209524e5b208: Verifying Checksum [2020-11-20T06:38:39.848Z] 209524e5b208: Download complete [2020-11-20T06:38:41.297Z] 8529a6b9a6be: Verifying Checksum [2020-11-20T06:38:41.297Z] 8529a6b9a6be: Download complete [2020-11-20T06:38:51.509Z] 8529a6b9a6be: Pull complete [2020-11-20T06:38:51.509Z] 45590311c82a: Pull complete [2020-11-20T06:38:51.509Z] 69ca0ff8b7b3: Pull complete [2020-11-20T06:38:55.852Z] 209524e5b208: Pull complete [2020-11-20T06:38:55.852Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-20T06:38:55.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-20T06:38:55.852Z] ---> 5bddaf1c2fca [2020-11-20T06:38:55.852Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-20T06:38:55.852Z] latest: Pulling from library/docker [2020-11-20T06:38:55.852Z] 5f621e34cdf4: Pulling fs layer [2020-11-20T06:38:55.852Z] 85db56a05063: Pulling fs layer [2020-11-20T06:38:55.852Z] ccb67d6aeaaa: Pulling fs layer [2020-11-20T06:38:55.852Z] a0b19fc83503: Pulling fs layer [2020-11-20T06:38:55.852Z] 8eb508b41278: Pulling fs layer [2020-11-20T06:38:55.852Z] 37236713561e: Pulling fs layer [2020-11-20T06:38:55.852Z] 07c93f2b1b56: Pulling fs layer [2020-11-20T06:38:55.852Z] 8eb508b41278: Waiting [2020-11-20T06:38:55.852Z] 37236713561e: Waiting [2020-11-20T06:38:55.852Z] 07c93f2b1b56: Waiting [2020-11-20T06:38:55.852Z] a0b19fc83503: Waiting [2020-11-20T06:38:56.133Z] ccb67d6aeaaa: Download complete [2020-11-20T06:38:56.133Z] 85db56a05063: Verifying Checksum [2020-11-20T06:38:56.133Z] 5f621e34cdf4: Download complete [2020-11-20T06:38:56.133Z] 8eb508b41278: Verifying Checksum [2020-11-20T06:38:56.133Z] 8eb508b41278: Download complete [2020-11-20T06:38:56.410Z] 37236713561e: Verifying Checksum [2020-11-20T06:38:56.410Z] 37236713561e: Download complete [2020-11-20T06:38:56.410Z] 07c93f2b1b56: Verifying Checksum [2020-11-20T06:38:56.410Z] 07c93f2b1b56: Download complete [2020-11-20T06:38:57.008Z] 5f621e34cdf4: Pull complete [2020-11-20T06:38:57.612Z] a0b19fc83503: Verifying Checksum [2020-11-20T06:38:57.612Z] a0b19fc83503: Download complete [2020-11-20T06:38:57.612Z] 85db56a05063: Pull complete [2020-11-20T06:38:57.888Z] ccb67d6aeaaa: Pull complete [2020-11-20T06:39:01.292Z] a0b19fc83503: Pull complete [2020-11-20T06:39:01.292Z] 8eb508b41278: Pull complete [2020-11-20T06:39:01.891Z] 37236713561e: Pull complete [2020-11-20T06:39:02.164Z] 07c93f2b1b56: Pull complete [2020-11-20T06:39:02.164Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-20T06:39:02.164Z] Status: Downloaded newer image for docker:latest [2020-11-20T06:39:08.909Z] ---> 721aea6427e4 [2020-11-20T06:39:08.909Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-20T06:39:08.909Z] ---> Running in cf5fff9b3f50 [2020-11-20T06:39:09.188Z] Removing intermediate container cf5fff9b3f50 [2020-11-20T06:39:09.188Z] ---> 20e9ac839674 [2020-11-20T06:39:09.188Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-20T06:39:09.463Z] ---> Running in bf4a94a723c0 [2020-11-20T06:39:11.444Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-20T06:39:12.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-20T06:39:12.666Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-20T06:39:12.666Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-20T06:39:12.941Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-20T06:39:12.941Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-20T06:39:13.222Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-20T06:39:13.222Z] Executing busybox-1.31.1-r16.trigger [2020-11-20T06:39:13.222Z] OK: 144 MiB in 44 packages [2020-11-20T06:39:14.684Z] Removing intermediate container bf4a94a723c0 [2020-11-20T06:39:14.684Z] ---> ae4f6fd2b395 [2020-11-20T06:39:14.684Z] Step 6/8 : WORKDIR /build [2020-11-20T06:39:14.684Z] ---> Running in dbb6e3965209 [2020-11-20T06:39:15.294Z] Removing intermediate container dbb6e3965209 [2020-11-20T06:39:15.295Z] ---> 2f6bad4fa773 [2020-11-20T06:39:15.295Z] Step 7/8 : COPY go.mod . [2020-11-20T06:39:15.894Z] ---> 6ff45f2df2d8 [2020-11-20T06:39:15.894Z] Step 8/8 : RUN go mod download [2020-11-20T06:39:16.168Z] ---> Running in 2d978809036f [2020-11-20T06:39:48.541Z] Removing intermediate container 2d978809036f [2020-11-20T06:39:48.541Z] ---> d76b6cfe66d8 [2020-11-20T06:39:48.541Z] Successfully built d76b6cfe66d8 [2020-11-20T06:39:48.541Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:39:48.924Z] + docker inspect -f . ci-base-image-arm64 [2020-11-20T06:39:48.924Z] . [Pipeline] withDockerContainer [2020-11-20T06:39:49.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-12931 does not seem to be running inside a container [2020-11-20T06:39:49.320Z] $ 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 [2020-11-20T06:39:51.343Z] $ docker top 555de81f2b77e715da3c420ffeb0d3f104e290d9202b9b147224c54deb31239e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T06:39:52.881Z] + go version [2020-11-20T06:39:52.881Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-20T06:39:52.919Z] $ docker stop --time=1 555de81f2b77e715da3c420ffeb0d3f104e290d9202b9b147224c54deb31239e [2020-11-20T06:39:53.883Z] Running on prd-centos7-docker-4c-2g-12934 in /w/workspace/ndry_app-functions-sdk-go_PR-571 [2020-11-20T06:39:54.922Z] $ docker rm -f 555de81f2b77e715da3c420ffeb0d3f104e290d9202b9b147224c54deb31239e [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-11-20T06:39:55.481Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:39:56.315Z] + docker inspect -f . ci-base-image-arm64 [2020-11-20T06:39:56.315Z] . [Pipeline] withDockerContainer [2020-11-20T06:39:56.695Z] prd-ubuntu18.04-docker-arm64-4c-16g-12931 does not seem to be running inside a container [2020-11-20T06:39:56.802Z] $ 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 [2020-11-20T06:39:58.512Z] using credential edgex-jenkins-ssh [2020-11-20T06:39:58.566Z] Cloning the remote Git repository [2020-11-20T06:39:58.721Z] $ docker top 60fbf0a651274358789ceee8ea3e9e4c09f3472c9cb91ed7e38db8e116903d74 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T06:39:58.592Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:39:58.664Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-11-20T06:39:58.714Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:39:58.715Z] > git --version # timeout=10 [2020-11-20T06:39:58.721Z] > git --version # 'git version 2.16.5' [2020-11-20T06:39:58.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:39:58.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T06:40:00.206Z] + make test [2020-11-20T06:40:00.206Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-20T06:40:02.192Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-20T06:40:03.554Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-20T06:40:03.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-20T06:40:03.573Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-20T06:40:03.585Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-20T06:40:03.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:40:03.590Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-20T06:40:04.860Z] Merging remotes/origin/master commit a22ec22dc229bc5a98df020c4d001a55ea4e61b6 into PR head commit 35693bbdf8b9f601618252b6b86330d997a86e85 [2020-11-20T06:40:04.953Z] Merge succeeded, producing 35693bbdf8b9f601618252b6b86330d997a86e85 [2020-11-20T06:40:04.954Z] Checking out Revision 35693bbdf8b9f601618252b6b86330d997a86e85 (PR-571) [2020-11-20T06:40:04.871Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T06:40:04.877Z] > git checkout -f 35693bbdf8b9f601618252b6b86330d997a86e85 # timeout=10 [2020-11-20T06:40:04.926Z] > git remote # timeout=10 [2020-11-20T06:40:04.931Z] > git config --get remote.origin.url # timeout=10 [2020-11-20T06:40:04.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-20T06:40:04.940Z] > git merge a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 [2020-11-20T06:40:04.950Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-20T06:40:04.959Z] > git config core.sparsecheckout # timeout=10 [2020-11-20T06:40:04.962Z] > git checkout -f 35693bbdf8b9f601618252b6b86330d997a86e85 # timeout=10 [2020-11-20T06:40:09.604Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-11-20T06:40:09.629Z] > git --version # timeout=10 [2020-11-20T06:40:09.632Z] > git --version # 'git version 2.16.5' [2020-11-20T06:40:09.638Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-20T06:40:11.272Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-20T06:40:11.612Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-20T06:40:11.932Z] + sudo service docker restart [2020-11-20T06:40:11.932Z] + true [2020-11-20T06:40:11.932Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-20T06:40:13.015Z] provisioning config files... [2020-11-20T06:40:13.046Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config1516521903067007802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:40:13.477Z] ---> docker-login.sh [2020-11-20T06:40:13.477Z] nexus3.edgexfoundry.org:10001 [2020-11-20T06:40:13.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:40:14.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:40:14.002Z] Configure a credential helper to remove this warning. See [2020-11-20T06:40:14.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:40:14.002Z] [2020-11-20T06:40:14.002Z] Login Succeeded [2020-11-20T06:40:14.002Z] nexus3.edgexfoundry.org:10002 [2020-11-20T06:40:14.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:40:14.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:40:14.002Z] Configure a credential helper to remove this warning. See [2020-11-20T06:40:14.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:40:14.002Z] [2020-11-20T06:40:14.002Z] Login Succeeded [2020-11-20T06:40:14.002Z] nexus3.edgexfoundry.org:10003 [2020-11-20T06:40:14.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:40:14.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:40:14.267Z] Configure a credential helper to remove this warning. See [2020-11-20T06:40:14.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:40:14.267Z] [2020-11-20T06:40:14.267Z] Login Succeeded [2020-11-20T06:40:14.267Z] nexus3.edgexfoundry.org:10004 [2020-11-20T06:40:14.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:40:14.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:40:14.534Z] Configure a credential helper to remove this warning. See [2020-11-20T06:40:14.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:40:14.534Z] [2020-11-20T06:40:14.534Z] Login Succeeded [2020-11-20T06:40:14.534Z] docker.io [2020-11-20T06:40:14.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-20T06:40:14.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-20T06:40:14.796Z] Configure a credential helper to remove this warning. See [2020-11-20T06:40:14.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-20T06:40:14.796Z] [2020-11-20T06:40:14.796Z] Login Succeeded [2020-11-20T06:40:14.796Z] ---> docker-login.sh ends [Pipeline] } [2020-11-20T06:40:14.828Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-20T06:40:15.356Z] ========================================================= [2020-11-20T06:40:15.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-20T06:40:15.356Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:40:15.750Z] + 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 . [2020-11-20T06:40:16.014Z] Sending build context to Docker daemon 19.17MB [2020-11-20T06:40:16.014Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-20T06:40:16.014Z] Step 2/8 : FROM ${BASE} [2020-11-20T06:40:16.014Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-20T06:40:16.014Z] df20fa9351a1: Pulling fs layer [2020-11-20T06:40:16.014Z] ed8968b2872e: Pulling fs layer [2020-11-20T06:40:16.014Z] a92cc7c5fd73: Pulling fs layer [2020-11-20T06:40:16.014Z] e871e8e8d7a9: Pulling fs layer [2020-11-20T06:40:16.014Z] e73272ec9a57: Pulling fs layer [2020-11-20T06:40:16.014Z] 1e910a182e73: Pulling fs layer [2020-11-20T06:40:16.014Z] 4e634b169226: Pulling fs layer [2020-11-20T06:40:16.014Z] e73272ec9a57: Waiting [2020-11-20T06:40:16.014Z] 1e910a182e73: Waiting [2020-11-20T06:40:16.014Z] 4e634b169226: Waiting [2020-11-20T06:40:16.014Z] a92cc7c5fd73: Verifying Checksum [2020-11-20T06:40:16.014Z] a92cc7c5fd73: Download complete [2020-11-20T06:40:16.014Z] ed8968b2872e: Verifying Checksum [2020-11-20T06:40:16.014Z] ed8968b2872e: Download complete [2020-11-20T06:40:16.279Z] e73272ec9a57: Verifying Checksum [2020-11-20T06:40:16.279Z] e73272ec9a57: Download complete [2020-11-20T06:40:16.279Z] df20fa9351a1: Verifying Checksum [2020-11-20T06:40:16.279Z] df20fa9351a1: Download complete [2020-11-20T06:40:16.279Z] 1e910a182e73: Verifying Checksum [2020-11-20T06:40:16.279Z] 1e910a182e73: Download complete [2020-11-20T06:40:16.542Z] df20fa9351a1: Pull complete [2020-11-20T06:40:16.542Z] ed8968b2872e: Pull complete [2020-11-20T06:40:16.808Z] a92cc7c5fd73: Pull complete [2020-11-20T06:40:17.758Z] 4e634b169226: Verifying Checksum [2020-11-20T06:40:17.758Z] 4e634b169226: Download complete [2020-11-20T06:40:18.337Z] e871e8e8d7a9: Verifying Checksum [2020-11-20T06:40:18.337Z] e871e8e8d7a9: Download complete [2020-11-20T06:40:23.666Z] e871e8e8d7a9: Pull complete [2020-11-20T06:40:23.666Z] e73272ec9a57: Pull complete [2020-11-20T06:40:23.666Z] 1e910a182e73: Pull complete [2020-11-20T06:40:25.083Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.041s coverage: 86.2% of statements [2020-11-20T06:40:27.887Z] 4e634b169226: Pull complete [2020-11-20T06:40:27.887Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-20T06:40:27.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-20T06:40:27.887Z] ---> f7629b54cfaa [2020-11-20T06:40:27.887Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-20T06:40:28.463Z] latest: Pulling from library/docker [2020-11-20T06:40:28.734Z] 188c0c94c7c5: Pulling fs layer [2020-11-20T06:40:28.734Z] 0c7c675703d6: Pulling fs layer [2020-11-20T06:40:28.734Z] cc8c12a437cb: Pulling fs layer [2020-11-20T06:40:28.734Z] c5dafad2182a: Pulling fs layer [2020-11-20T06:40:28.734Z] 5aa711733414: Pulling fs layer [2020-11-20T06:40:28.734Z] 058f73b55e4b: Pulling fs layer [2020-11-20T06:40:28.734Z] 8c9c664faf12: Pulling fs layer [2020-11-20T06:40:28.734Z] 5aa711733414: Waiting [2020-11-20T06:40:28.734Z] 058f73b55e4b: Waiting [2020-11-20T06:40:28.734Z] c5dafad2182a: Waiting [2020-11-20T06:40:28.734Z] 8c9c664faf12: Waiting [2020-11-20T06:40:28.734Z] cc8c12a437cb: Verifying Checksum [2020-11-20T06:40:28.734Z] cc8c12a437cb: Download complete [2020-11-20T06:40:28.734Z] 188c0c94c7c5: Download complete [2020-11-20T06:40:28.734Z] 0c7c675703d6: Verifying Checksum [2020-11-20T06:40:28.734Z] 0c7c675703d6: Download complete [2020-11-20T06:40:28.997Z] 5aa711733414: Verifying Checksum [2020-11-20T06:40:28.997Z] 5aa711733414: Download complete [2020-11-20T06:40:28.997Z] 058f73b55e4b: Verifying Checksum [2020-11-20T06:40:28.997Z] 058f73b55e4b: Download complete [2020-11-20T06:40:28.997Z] 8c9c664faf12: Verifying Checksum [2020-11-20T06:40:28.997Z] 8c9c664faf12: Download complete [2020-11-20T06:40:28.997Z] 188c0c94c7c5: Pull complete [2020-11-20T06:40:29.581Z] 0c7c675703d6: Pull complete [2020-11-20T06:40:29.581Z] cc8c12a437cb: Pull complete [2020-11-20T06:40:29.581Z] c5dafad2182a: Verifying Checksum [2020-11-20T06:40:29.581Z] c5dafad2182a: Download complete [2020-11-20T06:40:32.892Z] c5dafad2182a: Pull complete [2020-11-20T06:40:32.893Z] 5aa711733414: Pull complete [2020-11-20T06:40:32.893Z] 058f73b55e4b: Pull complete [2020-11-20T06:40:32.893Z] 8c9c664faf12: Pull complete [2020-11-20T06:40:32.893Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-20T06:40:32.893Z] Status: Downloaded newer image for docker:latest [2020-11-20T06:40:34.282Z] ---> ea91126fab72 [2020-11-20T06:40:34.282Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-20T06:40:34.282Z] ---> Running in 702a3cafef95 [2020-11-20T06:40:34.282Z] Removing intermediate container 702a3cafef95 [2020-11-20T06:40:34.282Z] ---> 50e26622daeb [2020-11-20T06:40:34.282Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-20T06:40:34.544Z] ---> Running in 2a3f55fb4aa5 [2020-11-20T06:40:35.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-20T06:40:36.067Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-20T06:40:37.016Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-20T06:40:37.016Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-20T06:40:37.277Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-20T06:40:37.540Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-20T06:40:37.540Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-20T06:40:37.540Z] Executing busybox-1.31.1-r16.trigger [2020-11-20T06:40:37.540Z] OK: 167 MiB in 44 packages [2020-11-20T06:40:38.496Z] Removing intermediate container 2a3f55fb4aa5 [2020-11-20T06:40:38.496Z] ---> c140fd3ee58d [2020-11-20T06:40:38.496Z] Step 6/8 : WORKDIR /build [2020-11-20T06:40:38.496Z] ---> Running in 0ebbcf56f60c [2020-11-20T06:40:38.496Z] Removing intermediate container 0ebbcf56f60c [2020-11-20T06:40:38.496Z] ---> 922debcdb168 [2020-11-20T06:40:38.496Z] Step 7/8 : COPY go.mod . [2020-11-20T06:40:38.760Z] ---> f219922c6a76 [2020-11-20T06:40:38.760Z] Step 8/8 : RUN go mod download [2020-11-20T06:40:38.760Z] ---> Running in d4a391c0bbf1 [2020-11-20T06:41:05.387Z] Removing intermediate container d4a391c0bbf1 [2020-11-20T06:41:05.387Z] ---> 79bdbb724ece [2020-11-20T06:41:05.387Z] Successfully built 79bdbb724ece [2020-11-20T06:41:05.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:41:05.724Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-20T06:41:05.725Z] . [Pipeline] withDockerContainer [2020-11-20T06:41:05.878Z] prd-centos7-docker-4c-2g-12934 does not seem to be running inside a container [2020-11-20T06:41:05.927Z] $ 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 [2020-11-20T06:41:06.643Z] $ docker top 47f0a1921ade48abe4ef850d648137d261dae6378081128ea5ddb2bc4bbac21e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T06:41:07.218Z] + go version [2020-11-20T06:41:07.218Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-20T06:41:07.252Z] $ docker stop --time=1 47f0a1921ade48abe4ef850d648137d261dae6378081128ea5ddb2bc4bbac21e [2020-11-20T06:41:08.591Z] $ docker rm -f 47f0a1921ade48abe4ef850d648137d261dae6378081128ea5ddb2bc4bbac21e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:41:09.754Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-20T06:41:09.755Z] . [Pipeline] withDockerContainer [2020-11-20T06:41:09.882Z] prd-centos7-docker-4c-2g-12934 does not seem to be running inside a container [2020-11-20T06:41:09.932Z] $ 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 [2020-11-20T06:41:10.588Z] $ docker top 4d4dc5cc7d408bf34f3ef6c3c842512283acfc16610a5f7d26b1f973de318afc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T06:41:11.113Z] + make test [2020-11-20T06:41:11.113Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-20T06:41:12.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.060s coverage: 52.0% of statements [2020-11-20T06:41:12.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-20T06:41:12.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-20T06:41:12.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.085s coverage: 54.7% of statements [2020-11-20T06:41:12.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-20T06:41:12.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.046s coverage: 69.1% of statements [2020-11-20T06:41:13.037Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.461s coverage: 61.6% of statements [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.011s coverage: 89.5% of statements [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.028s coverage: 100.0% of statements [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-20T06:41:16.449Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-20T06:41:16.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 8.8% of statements [2020-11-20T06:41:17.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.933s coverage: 75.0% of statements [2020-11-20T06:41:17.048Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-20T06:41:17.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements [2020-11-20T06:41:17.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements [2020-11-20T06:41:17.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.033s coverage: 80.5% of statements [2020-11-20T06:41:17.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements [2020-11-20T06:41:19.713Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.016s coverage: 86.2% of statements [2020-11-20T06:41:34.727Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.020s coverage: 52.0% of statements [2020-11-20T06:41:34.727Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-20T06:41:34.727Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-20T06:41:34.727Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.033s coverage: 54.7% of statements [2020-11-20T06:41:34.727Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-20T06:41:34.727Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.021s coverage: 69.1% of statements [2020-11-20T06:41:43.809Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 71.0% of statements [2020-11-20T06:41:43.809Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements [2020-11-20T06:41:43.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.417s coverage: 61.6% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.004s coverage: 89.5% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.011s coverage: 100.0% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.917s coverage: 75.0% of statements [2020-11-20T06:41:49.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.007s coverage: 88.9% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.010s coverage: 80.5% of statements [2020-11-20T06:41:49.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.006s coverage: 71.7% of statements [2020-11-20T06:41:56.233Z] gofmt -l . [2020-11-20T06:41:56.233Z] [ "`gofmt -l .`" = "" ] [2020-11-20T06:41:56.233Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-20T06:41:56.281Z] $ docker stop --time=1 60fbf0a651274358789ceee8ea3e9e4c09f3472c9cb91ed7e38db8e116903d74 [2020-11-20T06:41:58.424Z] $ docker rm -f 60fbf0a651274358789ceee8ea3e9e4c09f3472c9cb91ed7e38db8e116903d74 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T06:41:59.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-20T06:42:00.595Z] 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] } [2020-11-20T06:42:04.583Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.026s coverage: 71.0% of statements [2020-11-20T06:42:04.584Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-11-20T06:42:04.584Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-20T06:42:07.166Z] gofmt -l . [2020-11-20T06:42:07.166Z] [ "`gofmt -l .`" = "" ] [2020-11-20T06:42:07.166Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-20T06:42:07.782Z] $ docker stop --time=1 4d4dc5cc7d408bf34f3ef6c3c842512283acfc16610a5f7d26b1f973de318afc [2020-11-20T06:42:09.297Z] $ docker rm -f 4d4dc5cc7d408bf34f3ef6c3c842512283acfc16610a5f7d26b1f973de318afc [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-20T06:42:09.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-20T06:42:10.021Z] Warning: overwriting stash ‘coverage-report’ [2020-11-20T06:42:10.338Z] 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 [2020-11-20T06:42:13.254Z] provisioning config files... [2020-11-20T06:42:13.272Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/config5630377336985278139tmp [Pipeline] { [Pipeline] sh [2020-11-20T06:42:13.863Z] + set +x [2020-11-20T06:42:13.863Z] + bash -s -- [2020-11-20T06:42:13.863Z] + curl -s https://codecov.io/bash [2020-11-20T06:42:14.130Z] [2020-11-20T06:42:14.130Z] _____ _ [2020-11-20T06:42:14.130Z] / ____| | | [2020-11-20T06:42:14.130Z] | | ___ __| | ___ ___ _____ __ [2020-11-20T06:42:14.130Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-20T06:42:14.130Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-20T06:42:14.130Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-20T06:42:14.130Z] Bash-20201116-eea08d9 [2020-11-20T06:42:14.130Z] [2020-11-20T06:42:14.130Z] [2020-11-20T06:42:14.130Z] ==> Jenkins CI detected. [2020-11-20T06:42:14.130Z] project root: . [2020-11-20T06:42:14.130Z] --> token set from env [2020-11-20T06:42:14.130Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-20T06:42:14.399Z] ==> Running gcov in . (disable via -X gcov) [2020-11-20T06:42:14.399Z] ==> Python coveragepy not found [2020-11-20T06:42:14.399Z] ==> Searching for coverage reports in: [2020-11-20T06:42:14.399Z] + . [2020-11-20T06:42:14.399Z] -> Found 1 reports [2020-11-20T06:42:14.399Z] ==> Detecting git/mercurial file structure [2020-11-20T06:42:14.399Z] ==> Reading reports [2020-11-20T06:42:14.399Z] + ./coverage.out bytes=90550 [2020-11-20T06:42:14.399Z] ==> Appending adjustments [2020-11-20T06:42:14.399Z] https://docs.codecov.io/docs/fixing-reports [2020-11-20T06:42:15.390Z] + Found adjustments [2020-11-20T06:42:15.697Z] ==> Gzipping contents [2020-11-20T06:42:15.697Z] ==> Uploading reports [2020-11-20T06:42:15.697Z] url: https://codecov.io [2020-11-20T06:42:15.697Z] query: branch=PR-571&commit=35693bbdf8b9f601618252b6b86330d997a86e85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-571%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=571&job=&cmd_args= [2020-11-20T06:42:15.697Z] -> Pinging Codecov [2020-11-20T06:42:15.697Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-571&commit=35693bbdf8b9f601618252b6b86330d997a86e85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-571%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=571&job=&cmd_args= [2020-11-20T06:42:16.314Z] -> Uploading to [2020-11-20T06:42:16.314Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-20/3D8B5DFFC46A037C893635FACE044666/35693bbdf8b9f601618252b6b86330d997a86e85/0f9d7640-da1f-40d2-8683-02713b696ff8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201120T064216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=588aedd25230b0269f1f1fe9dee56aaf8cdce23f74ad6ac070a8bcd294ac9638 [2020-11-20T06:42:16.314Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-20T06:42:16.314Z] Dload Upload Total Spent Left Speed [2020-11-20T06:42:16.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16060 0 0 100 16060 0 29932 --:--:-- --:--:-- --:--:-- 29962 [2020-11-20T06:42:16.917Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/35693bbdf8b9f601618252b6b86330d997a86e85 [Pipeline] } [2020-11-20T06:42:16.943Z] 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 [2020-11-20T06:42:20.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:42:21.404Z] ---> package-listing.sh [2020-11-20T06:42:21.404Z] ++ facter osfamily [2020-11-20T06:42:21.404Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-20T06:42:21.404Z] + OS_FAMILY=redhat [2020-11-20T06:42:21.404Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-571 [2020-11-20T06:42:21.404Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-20T06:42:21.404Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-20T06:42:21.404Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-20T06:42:21.404Z] + PACKAGES=/tmp/packages_start.txt [2020-11-20T06:42:21.404Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-571 ']' [2020-11-20T06:42:21.404Z] + PACKAGES=/tmp/packages_end.txt [2020-11-20T06:42:21.404Z] + case "${OS_FAMILY}" in [2020-11-20T06:42:21.404Z] + sort [2020-11-20T06:42:21.404Z] + rpm -qa [2020-11-20T06:42:28.088Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-20T06:42:28.088Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-20T06:42:28.088Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-20T06:42:28.088Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-571 ']' [2020-11-20T06:42:28.088Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-571/archives/ [2020-11-20T06:42:28.088Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-571/archives/ [Pipeline] echo [2020-11-20T06:42:28.142Z] 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-571/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-20T06:42:28.569Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:42:29.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T06:42:29.821Z] [2020-11-20T06:42:29.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-20T06:42:30.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T06:42:30.929Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-20T06:42:30.929Z] df20fa9351a1: Pulling fs layer [2020-11-20T06:42:30.929Z] 36b3adc4ff6f: Pulling fs layer [2020-11-20T06:42:30.929Z] 8ad3a11d3b57: Pulling fs layer [2020-11-20T06:42:30.929Z] 46f8f816bc3b: Pulling fs layer [2020-11-20T06:42:30.929Z] 93b61091891f: Pulling fs layer [2020-11-20T06:42:30.929Z] 93b9cdb0e59b: Pulling fs layer [2020-11-20T06:42:30.929Z] 5e14af77c1be: Pulling fs layer [2020-11-20T06:42:30.929Z] 01666e4c0597: Pulling fs layer [2020-11-20T06:42:30.929Z] aa168da1d23b: Pulling fs layer [2020-11-20T06:42:30.929Z] 46f8f816bc3b: Waiting [2020-11-20T06:42:30.929Z] 93b61091891f: Waiting [2020-11-20T06:42:30.929Z] 93b9cdb0e59b: Waiting [2020-11-20T06:42:30.929Z] 5e14af77c1be: Waiting [2020-11-20T06:42:30.929Z] 01666e4c0597: Waiting [2020-11-20T06:42:30.929Z] aa168da1d23b: Waiting [2020-11-20T06:42:30.929Z] 36b3adc4ff6f: Verifying Checksum [2020-11-20T06:42:30.929Z] 36b3adc4ff6f: Download complete [2020-11-20T06:42:30.929Z] 46f8f816bc3b: Verifying Checksum [2020-11-20T06:42:30.929Z] 46f8f816bc3b: Download complete [2020-11-20T06:42:31.240Z] df20fa9351a1: Verifying Checksum [2020-11-20T06:42:31.240Z] df20fa9351a1: Download complete [2020-11-20T06:42:31.240Z] 93b9cdb0e59b: Verifying Checksum [2020-11-20T06:42:31.240Z] 93b9cdb0e59b: Download complete [2020-11-20T06:42:31.240Z] 93b61091891f: Download complete [2020-11-20T06:42:31.240Z] 01666e4c0597: Download complete [2020-11-20T06:42:31.240Z] 5e14af77c1be: Download complete [2020-11-20T06:42:31.979Z] df20fa9351a1: Pull complete [2020-11-20T06:42:32.264Z] 36b3adc4ff6f: Pull complete [2020-11-20T06:42:33.488Z] 8ad3a11d3b57: Verifying Checksum [2020-11-20T06:42:33.488Z] 8ad3a11d3b57: Download complete [2020-11-20T06:42:35.073Z] 8ad3a11d3b57: Pull complete [2020-11-20T06:42:35.350Z] 46f8f816bc3b: Pull complete [2020-11-20T06:42:36.147Z] 93b61091891f: Pull complete [2020-11-20T06:42:36.443Z] 93b9cdb0e59b: Pull complete [2020-11-20T06:42:36.742Z] 5e14af77c1be: Pull complete [2020-11-20T06:42:36.742Z] 01666e4c0597: Pull complete [2020-11-20T06:42:38.933Z] aa168da1d23b: Verifying Checksum [2020-11-20T06:42:38.933Z] aa168da1d23b: Download complete [2020-11-20T06:42:51.766Z] aa168da1d23b: Pull complete [2020-11-20T06:42:51.766Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-20T06:42:51.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-20T06:42:51.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-20T06:42:52.153Z] prd-centos7-docker-4c-2g-12927 does not seem to be running inside a container [2020-11-20T06:42:52.359Z] $ 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-571/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-571 -v /w/workspace/ndry_app-functions-sdk-go_PR-571:/w/workspace/ndry_app-functions-sdk-go_PR-571:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-571@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-571@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 [2020-11-20T06:42:58.310Z] $ docker top ee4816a60d32b657ef1509a1bebb0c820cc8f8d850cea71212535c3b8f8da26c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-20T06:42:58.953Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-20T06:42:59.276Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-20T06:42:59.634Z] + ls /var/log/sa-host [2020-11-20T06:42:59.634Z] + sadf -c /var/log/sa-host/sa05 [2020-11-20T06:42:59.634Z] file_magic: OK [2020-11-20T06:42:59.634Z] HZ: Using current value: 100 [2020-11-20T06:42:59.634Z] file_header: OK [2020-11-20T06:42:59.634Z] 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 [2020-11-20T06:42:59.634Z] Statistics: [2020-11-20T06:42:59.634Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-20T06:42:59.634Z] File successfully converted to sysstat format version 12.2.1 [2020-11-20T06:42:59.634Z] + sadf -c /var/log/sa-host/sa20 [2020-11-20T06:42:59.634Z] file_magic: OK [2020-11-20T06:42:59.634Z] HZ: Using current value: 100 [2020-11-20T06:42:59.634Z] file_header: OK [2020-11-20T06:42:59.634Z] 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 [2020-11-20T06:42:59.634Z] Statistics: [2020-11-20T06:42:59.634Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-20T06:42:59.634Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-20T06:42:59.915Z] provisioning config files... [2020-11-20T06:42:59.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-571@tmp/config1514407128277939527tmp [Pipeline] { [Pipeline] echo [2020-11-20T06:43:00.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:43:00.409Z] ---> create-netrc.sh [Pipeline] } [2020-11-20T06:43:00.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-20T06:43:00.614Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:43:00.976Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-20T06:43:01.031Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:43:01.399Z] ---> sudo-logs.sh [2020-11-20T06:43:01.400Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-20T06:43:01.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:43:02.236Z] ---> job-cost.sh [2020-11-20T06:43:02.237Z] lf-activate-venv: SKIPPING [2020-11-20T06:43:02.237Z] INFO: No Stack... [2020-11-20T06:43:03.015Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-20T06:43:03.370Z] INFO: Archiving Costs [Pipeline] echo [2020-11-20T06:43:03.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-20T06:43:03.798Z] ---> logs-deploy.sh [2020-11-20T06:43:03.798Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-571/1 [2020-11-20T06:43:03.798Z] INFO: archiving workspace using pattern(s): [2020-11-20T06:43:05.743Z] Archives upload complete. [2020-11-20T06:43:05.743Z] INFO: archiving logs to Nexus