Pull request #568 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of beaufrusetta for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at 5b297c99e7a02495e1c2bf8274fcb76147152718 rather than 08426b644c9b1c59082f5abfe8988b706b92972c Obtained Jenkinsfile from 5b297c99e7a02495e1c2bf8274fcb76147152718 Running in Durability level: PERFORMANCE_OPTIMIZED 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-11736 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [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-568 # 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 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 08426b644c9b1c59082f5abfe8988b706b92972c Merge succeeded, producing 08426b644c9b1c59082f5abfe8988b706b92972c Checking out Revision 08426b644c9b1c59082f5abfe8988b706b92972c (PR-568) > 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/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # 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 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 Commit message: "fix: Content-Type for compression/encryption" First time build. Skipping changelog. > git rev-list --no-walk 1f9c67006d06db94e3bbd8b2c18d694f2224c4d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-10T15:46:02.242Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-10T15:46:02.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-10T15:46:02.643Z] ========================================================= [2020-11-10T15:46:02.644Z] EdgeX Global Pipelines Version Info [2020-11-10T15:46:02.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:46:04.568Z] ------------------- [2020-11-10T15:46:04.569Z] stable info: [2020-11-10T15:46:04.569Z] ------------------- [2020-11-10T15:46:04.569Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-10T15:46:04.569Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T15:46:04.569Z] Message: update stable to v1.0.162 [2020-11-10T15:46:05.144Z] ------------------- [2020-11-10T15:46:05.144Z] experimental info: [2020-11-10T15:46:05.144Z] ------------------- [2020-11-10T15:46:05.144Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-10T15:46:05.144Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-10T15:46:05.144Z] Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-10T15:46:05.575Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-11-10T15:46:05.670Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-11-10T15:46:05.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-10T15:46:05.940Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-10T15:46:06.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-10T15:46:06.158Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-10T15:46:06.249Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-10T15:46:06.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-10T15:46:06.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-10T15:46:06.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-10T15:46:06.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-10T15:46:06.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-11-10T15:46:06.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-10T15:46:07.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-10T15:46:07.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T15:46:07.264Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T15:46:07.353Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T15:46:07.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-10T15:46:07.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-10T15:46:07.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-10T15:46:07.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-10T15:46:07.831Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-11-10T15:46:07.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-10T15:46:08.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-10T15:46:08.103Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-10T15:46:08.219Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-10T15:46:08.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-568 [Pipeline] echo [2020-11-10T15:46:08.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-568 [Pipeline] echo [2020-11-10T15:46:08.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-568 [Pipeline] echo [2020-11-10T15:46:08.613Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08426b644c9b1c59082f5abfe8988b706b92972c [Pipeline] echo [2020-11-10T15:46:08.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08426b6 [Pipeline] echo [2020-11-10T15:46:08.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T15:46:08.993Z] provisioning config files... [2020-11-10T15:46:09.023Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config6660031389567214398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:46:09.382Z] ---> docker-login.sh [2020-11-10T15:46:09.382Z] nexus3.edgexfoundry.org:10001 [2020-11-10T15:46:09.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:46:09.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:46:09.912Z] Configure a credential helper to remove this warning. See [2020-11-10T15:46:09.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:46:09.912Z] [2020-11-10T15:46:09.912Z] Login Succeeded [2020-11-10T15:46:09.912Z] nexus3.edgexfoundry.org:10002 [2020-11-10T15:46:09.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:46:09.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:46:09.912Z] Configure a credential helper to remove this warning. See [2020-11-10T15:46:09.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:46:09.912Z] [2020-11-10T15:46:09.912Z] Login Succeeded [2020-11-10T15:46:09.912Z] nexus3.edgexfoundry.org:10003 [2020-11-10T15:46:10.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:46:10.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:46:10.175Z] Configure a credential helper to remove this warning. See [2020-11-10T15:46:10.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:46:10.175Z] [2020-11-10T15:46:10.175Z] Login Succeeded [2020-11-10T15:46:10.175Z] nexus3.edgexfoundry.org:10004 [2020-11-10T15:46:10.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:46:10.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:46:10.438Z] Configure a credential helper to remove this warning. See [2020-11-10T15:46:10.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:46:10.438Z] [2020-11-10T15:46:10.438Z] Login Succeeded [2020-11-10T15:46:10.438Z] docker.io [2020-11-10T15:46:10.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:46:10.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:46:10.701Z] Configure a credential helper to remove this warning. See [2020-11-10T15:46:10.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:46:10.701Z] [2020-11-10T15:46:10.701Z] Login Succeeded [2020-11-10T15:46:10.701Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T15:46:10.711Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-10T15:46:11.521Z] + git log --format=format:%s -1 08426b644c9b1c59082f5abfe8988b706b92972c [Pipeline] echo [2020-11-10T15:46:11.591Z] GIT_COMMIT: 08426b644c9b1c59082f5abfe8988b706b92972c, Commit Message: fix: Content-Type for compression/encryption [Pipeline] echo [2020-11-10T15:46:11.637Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:46:12.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T15:46:12.512Z] [2020-11-10T15:46:12.512Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:46:12.861Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T15:46:12.861Z] latest: Pulling from edgex-devops/git-semver [2020-11-10T15:46:12.861Z] 31603596830f: Pulling fs layer [2020-11-10T15:46:12.861Z] 2a8b12db71e7: Pulling fs layer [2020-11-10T15:46:12.861Z] 6ca5941a6612: Pulling fs layer [2020-11-10T15:46:12.861Z] ecc8261a40a4: Pulling fs layer [2020-11-10T15:46:12.861Z] ecc8261a40a4: Waiting [2020-11-10T15:46:12.861Z] 2a8b12db71e7: Verifying Checksum [2020-11-10T15:46:12.861Z] 2a8b12db71e7: Download complete [2020-11-10T15:46:13.134Z] 31603596830f: Verifying Checksum [2020-11-10T15:46:13.134Z] 31603596830f: Download complete [2020-11-10T15:46:13.134Z] ecc8261a40a4: Verifying Checksum [2020-11-10T15:46:13.134Z] ecc8261a40a4: Download complete [2020-11-10T15:46:13.134Z] 6ca5941a6612: Verifying Checksum [2020-11-10T15:46:13.134Z] 6ca5941a6612: Download complete [2020-11-10T15:46:13.399Z] 31603596830f: Pull complete [2020-11-10T15:46:13.399Z] 2a8b12db71e7: Pull complete [2020-11-10T15:46:14.351Z] 6ca5941a6612: Pull complete [2020-11-10T15:46:14.620Z] ecc8261a40a4: Pull complete [2020-11-10T15:46:14.620Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-10T15:46:14.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-10T15:46:14.620Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-10T15:46:14.736Z] prd-centos7-docker-4c-2g-11736 does not seem to be running inside a container [2020-11-10T15:46:14.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-568 -v /w/workspace/ndry_app-functions-sdk-go_PR-568:/w/workspace/ndry_app-functions-sdk-go_PR-568:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-10T15:46:16.792Z] $ docker top 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-10T15:46:17.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T15:46:17.138Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T15:46:17.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T15:46:17.358Z] $ docker exec 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c ssh-agent [2020-11-10T15:46:17.528Z] SSH_AUTH_SOCK=/tmp/ssh-NgAzcIdeQn9N/agent.12 [2020-11-10T15:46:17.528Z] SSH_AGENT_PID=18 [2020-11-10T15:46:17.541Z] Running ssh-add (command line suppressed) [2020-11-10T15:46:17.676Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_7710471604026963379.key (/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_7710471604026963379.key) [2020-11-10T15:46:17.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T15:46:18.054Z] + git tag --points-at HEAD [Pipeline] } [2020-11-10T15:46:18.078Z] $ docker exec --env ******** --env ******** 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c ssh-agent -k [2020-11-10T15:46:18.195Z] unset SSH_AUTH_SOCK; [2020-11-10T15:46:18.195Z] unset SSH_AGENT_PID; [2020-11-10T15:46:18.195Z] echo Agent pid 18 killed; [2020-11-10T15:46:18.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-10T15:46:18.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-10T15:46:18.386Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-10T15:46:18.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-10T15:46:18.562Z] $ docker exec 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c ssh-agent [2020-11-10T15:46:18.736Z] SSH_AUTH_SOCK=/tmp/ssh-vSBcyCfE92HW/agent.47 [2020-11-10T15:46:18.736Z] SSH_AGENT_PID=52 [2020-11-10T15:46:18.743Z] Running ssh-add (command line suppressed) [2020-11-10T15:46:18.878Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_7298014929900466093.key (/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_7298014929900466093.key) [2020-11-10T15:46:18.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-10T15:46:19.268Z] + git semver init [2020-11-10T15:46:19.268Z] # -> Open(): unable to determine branch for HEAD [2020-11-10T15:46:19.268Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-568/.git [2020-11-10T15:46:19.268Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-568 [2020-11-10T15:46:19.268Z] # $SEMVER_REMOTE_NAME = origin [2020-11-10T15:46:19.268Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-10T15:46:19.268Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-10T15:46:19.269Z] # $SEMVER_BRANCH = PR-568 [2020-11-10T15:46:19.269Z] # $SEMVER_TEMP = /tmp/semver-644184867 [2020-11-10T15:46:19.269Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-11-10T15:46:21.823Z] # '/tmp/semver-644184867' -> '/w/workspace/ndry_app-functions-sdk-go_PR-568/.semver' [2020-11-10T15:46:22.086Z] # -> Force: false [2020-11-10T15:46:22.086Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-568/.semver [Pipeline] } [2020-11-10T15:46:22.101Z] $ docker exec --env ******** --env ******** 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c ssh-agent -k [2020-11-10T15:46:22.276Z] unset SSH_AUTH_SOCK; [2020-11-10T15:46:22.277Z] unset SSH_AGENT_PID; [2020-11-10T15:46:22.277Z] echo Agent pid 52 killed; [2020-11-10T15:46:22.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-10T15:46:22.823Z] + git semver [Pipeline] } [2020-11-10T15:46:22.844Z] $ docker stop --time=1 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c [2020-11-10T15:46:24.326Z] $ docker rm -f 7aa908e99ab76593079f3851dcc07dafb68a9c3c0b6be988fafc8401cc9ea32c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T15:46:24.871Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-10T15:46:25.350Z] Stashed 1 file(s) [Pipeline] echo [2020-11-10T15:46:25.354Z] [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-10T15:46:40.990Z] Still waiting to schedule task [2020-11-10T15:46:40.990Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11736’ [2020-11-10T15:46:40.992Z] Still waiting to schedule task [2020-11-10T15:46:40.992Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-10T15:48:37.174Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-11737 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [Pipeline] { [Pipeline] ws [2020-11-10T15:48:37.287Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-11-10T15:48:42.454Z] using credential edgex-jenkins-ssh [2020-11-10T15:48:42.568Z] Cloning the remote Git repository [2020-11-10T15:48:42.630Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:48:42.735Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-11-10T15:48:42.803Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:48:42.804Z] > git --version # timeout=10 [2020-11-10T15:48:42.821Z] > git --version # 'git version 2.17.1' [2020-11-10T15:48:42.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:48:42.883Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T15:48:45.728Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-10T15:48:45.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T15:48:45.782Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-10T15:48:45.816Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:48:45.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:48:45.829Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T15:48:46.413Z] Merging remotes/origin/master commit 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 08426b644c9b1c59082f5abfe8988b706b92972c [2020-11-10T15:48:46.663Z] Merge succeeded, producing 08426b644c9b1c59082f5abfe8988b706b92972c [2020-11-10T15:48:46.664Z] Checking out Revision 08426b644c9b1c59082f5abfe8988b706b92972c (PR-568) [2020-11-10T15:48:46.431Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T15:48:46.459Z] > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 [2020-11-10T15:48:46.569Z] > git remote # timeout=10 [2020-11-10T15:48:46.584Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T15:48:46.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:48:46.617Z] > git merge 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 [2020-11-10T15:48:46.643Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T15:48:46.670Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T15:48:46.683Z] > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 [2020-11-10T15:48:51.161Z] Commit message: "fix: Content-Type for compression/encryption" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T15:48:52.153Z] provisioning config files... [2020-11-10T15:48:52.197Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/2@tmp/config4423659018976594632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:48:53.281Z] ---> docker-login.sh [2020-11-10T15:48:53.282Z] nexus3.edgexfoundry.org:10001 [2020-11-10T15:48:53.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:48:54.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:48:54.481Z] Configure a credential helper to remove this warning. See [2020-11-10T15:48:54.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:48:54.481Z] [2020-11-10T15:48:54.481Z] Login Succeeded [2020-11-10T15:48:54.481Z] nexus3.edgexfoundry.org:10002 [2020-11-10T15:48:54.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:48:55.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:48:55.035Z] Configure a credential helper to remove this warning. See [2020-11-10T15:48:55.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:48:55.035Z] [2020-11-10T15:48:55.035Z] Login Succeeded [2020-11-10T15:48:55.035Z] nexus3.edgexfoundry.org:10003 [2020-11-10T15:48:55.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:48:55.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:48:55.592Z] Configure a credential helper to remove this warning. See [2020-11-10T15:48:55.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:48:55.592Z] [2020-11-10T15:48:55.592Z] Login Succeeded [2020-11-10T15:48:55.592Z] nexus3.edgexfoundry.org:10004 [2020-11-10T15:48:55.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:48:56.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:48:56.151Z] Configure a credential helper to remove this warning. See [2020-11-10T15:48:56.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:48:56.151Z] [2020-11-10T15:48:56.151Z] Login Succeeded [2020-11-10T15:48:56.151Z] docker.io [2020-11-10T15:48:56.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:48:57.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:48:57.069Z] Configure a credential helper to remove this warning. See [2020-11-10T15:48:57.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:48:57.069Z] [2020-11-10T15:48:57.069Z] Login Succeeded [2020-11-10T15:48:57.069Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T15:48:57.143Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T15:48:57.673Z] ========================================================= [2020-11-10T15:48:57.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-10T15:48:57.673Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:48:58.076Z] + 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-10T15:48:58.700Z] Sending build context to Docker daemon 19.18MB [2020-11-10T15:48:58.700Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-10T15:48:58.700Z] Step 2/8 : FROM ${BASE} [2020-11-10T15:48:58.700Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-10T15:48:58.700Z] b538f80385f9: Pulling fs layer [2020-11-10T15:48:58.700Z] 74f711af9a0d: Pulling fs layer [2020-11-10T15:48:58.700Z] 99f96fe45779: Pulling fs layer [2020-11-10T15:48:58.700Z] 8529a6b9a6be: Pulling fs layer [2020-11-10T15:48:58.700Z] 45590311c82a: Pulling fs layer [2020-11-10T15:48:58.700Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-10T15:48:58.700Z] 209524e5b208: Pulling fs layer [2020-11-10T15:48:58.700Z] 8529a6b9a6be: Waiting [2020-11-10T15:48:58.700Z] 45590311c82a: Waiting [2020-11-10T15:48:58.700Z] 69ca0ff8b7b3: Waiting [2020-11-10T15:48:58.700Z] 209524e5b208: Waiting [2020-11-10T15:48:58.977Z] 99f96fe45779: Verifying Checksum [2020-11-10T15:48:58.977Z] 99f96fe45779: Download complete [2020-11-10T15:48:58.977Z] 74f711af9a0d: Verifying Checksum [2020-11-10T15:48:58.977Z] 74f711af9a0d: Download complete [2020-11-10T15:48:59.584Z] 45590311c82a: Verifying Checksum [2020-11-10T15:48:59.584Z] 45590311c82a: Download complete [2020-11-10T15:48:59.872Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-10T15:48:59.872Z] 69ca0ff8b7b3: Download complete [2020-11-10T15:48:59.872Z] b538f80385f9: Verifying Checksum [2020-11-10T15:48:59.872Z] b538f80385f9: Download complete [2020-11-10T15:49:00.480Z] b538f80385f9: Pull complete [2020-11-10T15:49:01.091Z] 74f711af9a0d: Pull complete [2020-11-10T15:49:01.371Z] 99f96fe45779: Pull complete [2020-11-10T15:49:01.977Z] 209524e5b208: Verifying Checksum [2020-11-10T15:49:01.977Z] 209524e5b208: Download complete [2020-11-10T15:49:03.420Z] 8529a6b9a6be: Verifying Checksum [2020-11-10T15:49:03.420Z] 8529a6b9a6be: Download complete [2020-11-10T15:49:13.698Z] 8529a6b9a6be: Pull complete [2020-11-10T15:49:13.979Z] 45590311c82a: Pull complete [2020-11-10T15:49:14.266Z] 69ca0ff8b7b3: Pull complete [2020-11-10T15:49:18.707Z] 209524e5b208: Pull complete [2020-11-10T15:49:18.707Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-10T15:49:18.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-10T15:49:18.707Z] ---> 5bddaf1c2fca [2020-11-10T15:49:18.707Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-10T15:49:18.707Z] latest: Pulling from library/docker [2020-11-10T15:49:18.707Z] 5f621e34cdf4: Pulling fs layer [2020-11-10T15:49:18.707Z] 85db56a05063: Pulling fs layer [2020-11-10T15:49:18.707Z] ccb67d6aeaaa: Pulling fs layer [2020-11-10T15:49:18.707Z] a0b19fc83503: Pulling fs layer [2020-11-10T15:49:18.707Z] 8eb508b41278: Pulling fs layer [2020-11-10T15:49:18.707Z] 37236713561e: Pulling fs layer [2020-11-10T15:49:18.707Z] 07c93f2b1b56: Pulling fs layer [2020-11-10T15:49:18.707Z] 8eb508b41278: Waiting [2020-11-10T15:49:18.707Z] 37236713561e: Waiting [2020-11-10T15:49:18.707Z] a0b19fc83503: Waiting [2020-11-10T15:49:18.707Z] 07c93f2b1b56: Waiting [2020-11-10T15:49:18.984Z] 85db56a05063: Verifying Checksum [2020-11-10T15:49:18.984Z] 85db56a05063: Download complete [2020-11-10T15:49:18.984Z] 5f621e34cdf4: Verifying Checksum [2020-11-10T15:49:18.984Z] 5f621e34cdf4: Download complete [2020-11-10T15:49:18.984Z] ccb67d6aeaaa: Verifying Checksum [2020-11-10T15:49:18.984Z] ccb67d6aeaaa: Download complete [2020-11-10T15:49:18.984Z] 8eb508b41278: Verifying Checksum [2020-11-10T15:49:18.984Z] 8eb508b41278: Download complete [2020-11-10T15:49:18.984Z] 37236713561e: Verifying Checksum [2020-11-10T15:49:18.984Z] 37236713561e: Download complete [2020-11-10T15:49:19.265Z] 07c93f2b1b56: Verifying Checksum [2020-11-10T15:49:19.265Z] 07c93f2b1b56: Download complete [2020-11-10T15:49:19.544Z] 5f621e34cdf4: Pull complete [2020-11-10T15:49:20.155Z] 85db56a05063: Pull complete [2020-11-10T15:49:20.437Z] a0b19fc83503: Verifying Checksum [2020-11-10T15:49:20.556Z] Running on prd-centos7-docker-4c-2g-11738 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [Pipeline] { [Pipeline] ws [2020-11-10T15:49:20.620Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-11-10T15:49:20.714Z] ccb67d6aeaaa: Pull complete [2020-11-10T15:49:23.884Z] using credential edgex-jenkins-ssh [2020-11-10T15:49:23.940Z] Cloning the remote Git repository [2020-11-10T15:49:24.144Z] a0b19fc83503: Pull complete [2020-11-10T15:49:24.144Z] 8eb508b41278: Pull complete [2020-11-10T15:49:23.978Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:49:24.055Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-11-10T15:49:24.116Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:49:24.117Z] > git --version # timeout=10 [2020-11-10T15:49:24.123Z] > git --version # 'git version 2.16.5' [2020-11-10T15:49:24.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:49:24.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T15:49:24.420Z] 37236713561e: Pull complete [2020-11-10T15:49:24.699Z] 07c93f2b1b56: Pull complete [2020-11-10T15:49:24.699Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-10T15:49:24.699Z] Status: Downloaded newer image for docker:latest [2020-11-10T15:49:26.205Z] Merging remotes/origin/master commit 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 08426b644c9b1c59082f5abfe8988b706b92972c [2020-11-10T15:49:26.322Z] Merge succeeded, producing 08426b644c9b1c59082f5abfe8988b706b92972c [2020-11-10T15:49:26.323Z] Checking out Revision 08426b644c9b1c59082f5abfe8988b706b92972c (PR-568) [2020-11-10T15:49:25.686Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-10T15:49:25.693Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-10T15:49:25.704Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-10T15:49:25.717Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-10T15:49:25.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:49:25.722Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-10T15:49:26.216Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T15:49:26.224Z] > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 [2020-11-10T15:49:26.283Z] > git remote # timeout=10 [2020-11-10T15:49:26.293Z] > git config --get remote.origin.url # timeout=10 [2020-11-10T15:49:26.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-10T15:49:26.307Z] > git merge 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 [2020-11-10T15:49:26.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-10T15:49:26.328Z] > git config core.sparsecheckout # timeout=10 [2020-11-10T15:49:26.333Z] > git checkout -f 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 [2020-11-10T15:49:30.263Z] Commit message: "fix: Content-Type for compression/encryption" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-10T15:49:31.087Z] provisioning config files... [2020-11-10T15:49:31.127Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/2@tmp/config4666166291044571821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:49:31.486Z] ---> 224d42f4fb8b [2020-11-10T15:49:31.486Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T15:49:31.486Z] ---> Running in 98c781b6ddda [2020-11-10T15:49:31.486Z] Removing intermediate container 98c781b6ddda [2020-11-10T15:49:31.486Z] ---> e358fee8595a [2020-11-10T15:49:31.486Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-10T15:49:31.486Z] ---> Running in 6ceb91ccdc1d [2020-11-10T15:49:31.763Z] ---> docker-login.sh [2020-11-10T15:49:31.763Z] nexus3.edgexfoundry.org:10001 [2020-11-10T15:49:32.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:49:32.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:49:32.027Z] Configure a credential helper to remove this warning. See [2020-11-10T15:49:32.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:49:32.027Z] [2020-11-10T15:49:32.027Z] Login Succeeded [2020-11-10T15:49:32.027Z] nexus3.edgexfoundry.org:10002 [2020-11-10T15:49:32.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:49:32.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:49:32.290Z] Configure a credential helper to remove this warning. See [2020-11-10T15:49:32.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:49:32.290Z] [2020-11-10T15:49:32.290Z] Login Succeeded [2020-11-10T15:49:32.290Z] nexus3.edgexfoundry.org:10003 [2020-11-10T15:49:32.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:49:32.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:49:32.553Z] Configure a credential helper to remove this warning. See [2020-11-10T15:49:32.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:49:32.553Z] [2020-11-10T15:49:32.553Z] Login Succeeded [2020-11-10T15:49:32.553Z] nexus3.edgexfoundry.org:10004 [2020-11-10T15:49:32.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:49:32.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:49:32.553Z] Configure a credential helper to remove this warning. See [2020-11-10T15:49:32.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:49:32.553Z] [2020-11-10T15:49:32.553Z] Login Succeeded [2020-11-10T15:49:32.816Z] docker.io [2020-11-10T15:49:32.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-10T15:49:32.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-10T15:49:33.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-10T15:49:33.078Z] Configure a credential helper to remove this warning. See [2020-11-10T15:49:33.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-10T15:49:33.078Z] [2020-11-10T15:49:33.078Z] Login Succeeded [2020-11-10T15:49:33.078Z] ---> docker-login.sh ends [Pipeline] } [2020-11-10T15:49:33.115Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-10T15:49:33.455Z] ========================================================= [2020-11-10T15:49:33.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-10T15:49:33.455Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:49:33.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-10T15:49:33.808Z] + 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-10T15:49:34.074Z] Sending build context to Docker daemon 19.18MB [2020-11-10T15:49:34.074Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-10T15:49:34.074Z] Step 2/8 : FROM ${BASE} [2020-11-10T15:49:34.074Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-10T15:49:34.074Z] df20fa9351a1: Pulling fs layer [2020-11-10T15:49:34.074Z] ed8968b2872e: Pulling fs layer [2020-11-10T15:49:34.074Z] a92cc7c5fd73: Pulling fs layer [2020-11-10T15:49:34.074Z] e871e8e8d7a9: Pulling fs layer [2020-11-10T15:49:34.074Z] e73272ec9a57: Pulling fs layer [2020-11-10T15:49:34.074Z] 1e910a182e73: Pulling fs layer [2020-11-10T15:49:34.074Z] 4e634b169226: Pulling fs layer [2020-11-10T15:49:34.074Z] e73272ec9a57: Waiting [2020-11-10T15:49:34.074Z] 1e910a182e73: Waiting [2020-11-10T15:49:34.074Z] 4e634b169226: Waiting [2020-11-10T15:49:34.074Z] e871e8e8d7a9: Waiting [2020-11-10T15:49:34.339Z] a92cc7c5fd73: Verifying Checksum [2020-11-10T15:49:34.339Z] a92cc7c5fd73: Download complete [2020-11-10T15:49:34.339Z] ed8968b2872e: Verifying Checksum [2020-11-10T15:49:34.339Z] ed8968b2872e: Download complete [2020-11-10T15:49:34.339Z] e73272ec9a57: Verifying Checksum [2020-11-10T15:49:34.339Z] e73272ec9a57: Download complete [2020-11-10T15:49:34.339Z] df20fa9351a1: Verifying Checksum [2020-11-10T15:49:34.339Z] df20fa9351a1: Download complete [2020-11-10T15:49:34.339Z] 1e910a182e73: Download complete [2020-11-10T15:49:34.497Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-10T15:49:34.603Z] df20fa9351a1: Pull complete [2020-11-10T15:49:34.769Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-10T15:49:34.872Z] ed8968b2872e: Pull complete [2020-11-10T15:49:34.872Z] a92cc7c5fd73: Pull complete [2020-11-10T15:49:35.041Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-10T15:49:35.041Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-10T15:49:35.311Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-10T15:49:35.312Z] Executing busybox-1.31.1-r16.trigger [2020-11-10T15:49:35.312Z] OK: 144 MiB in 44 packages [2020-11-10T15:49:36.751Z] Removing intermediate container 6ceb91ccdc1d [2020-11-10T15:49:36.751Z] ---> b24b0b520288 [2020-11-10T15:49:36.751Z] Step 6/8 : WORKDIR /build [2020-11-10T15:49:36.751Z] ---> Running in 46b05d942234 [2020-11-10T15:49:36.817Z] 4e634b169226: Verifying Checksum [2020-11-10T15:49:36.817Z] 4e634b169226: Download complete [2020-11-10T15:49:36.817Z] e871e8e8d7a9: Verifying Checksum [2020-11-10T15:49:36.817Z] e871e8e8d7a9: Download complete [2020-11-10T15:49:37.348Z] Removing intermediate container 46b05d942234 [2020-11-10T15:49:37.348Z] ---> 97dbc3c85f1c [2020-11-10T15:49:37.348Z] Step 7/8 : COPY go.mod . [2020-11-10T15:49:37.959Z] ---> f77fadd8c33c [2020-11-10T15:49:37.959Z] Step 8/8 : RUN go mod download [2020-11-10T15:49:37.959Z] ---> Running in bfb07f409efb [2020-11-10T15:49:42.156Z] e871e8e8d7a9: Pull complete [2020-11-10T15:49:42.157Z] e73272ec9a57: Pull complete [2020-11-10T15:49:42.157Z] 1e910a182e73: Pull complete [2020-11-10T15:49:50.355Z] 4e634b169226: Pull complete [2020-11-10T15:49:50.355Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-10T15:49:50.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-10T15:49:50.355Z] ---> f7629b54cfaa [2020-11-10T15:49:50.355Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-10T15:49:50.355Z] latest: Pulling from library/docker [2020-11-10T15:49:50.355Z] 188c0c94c7c5: Pulling fs layer [2020-11-10T15:49:50.355Z] 0c7c675703d6: Pulling fs layer [2020-11-10T15:49:50.355Z] cc8c12a437cb: Pulling fs layer [2020-11-10T15:49:50.355Z] c5dafad2182a: Pulling fs layer [2020-11-10T15:49:50.355Z] 5aa711733414: Pulling fs layer [2020-11-10T15:49:50.355Z] 058f73b55e4b: Pulling fs layer [2020-11-10T15:49:50.355Z] 8c9c664faf12: Pulling fs layer [2020-11-10T15:49:50.355Z] 5aa711733414: Waiting [2020-11-10T15:49:50.355Z] 058f73b55e4b: Waiting [2020-11-10T15:49:50.355Z] 8c9c664faf12: Waiting [2020-11-10T15:49:50.355Z] c5dafad2182a: Waiting [2020-11-10T15:49:50.355Z] cc8c12a437cb: Verifying Checksum [2020-11-10T15:49:50.355Z] cc8c12a437cb: Download complete [2020-11-10T15:49:50.355Z] 0c7c675703d6: Verifying Checksum [2020-11-10T15:49:50.355Z] 0c7c675703d6: Download complete [2020-11-10T15:49:50.355Z] 188c0c94c7c5: Verifying Checksum [2020-11-10T15:49:50.355Z] 188c0c94c7c5: Download complete [2020-11-10T15:49:50.355Z] 5aa711733414: Verifying Checksum [2020-11-10T15:49:50.355Z] 5aa711733414: Download complete [2020-11-10T15:49:50.355Z] 058f73b55e4b: Verifying Checksum [2020-11-10T15:49:50.355Z] 058f73b55e4b: Download complete [2020-11-10T15:49:50.628Z] 8c9c664faf12: Verifying Checksum [2020-11-10T15:49:50.628Z] 8c9c664faf12: Download complete [2020-11-10T15:49:50.895Z] 188c0c94c7c5: Pull complete [2020-11-10T15:49:50.895Z] 0c7c675703d6: Pull complete [2020-11-10T15:49:51.163Z] cc8c12a437cb: Pull complete [2020-11-10T15:49:51.429Z] c5dafad2182a: Verifying Checksum [2020-11-10T15:49:51.429Z] c5dafad2182a: Download complete [2020-11-10T15:49:54.009Z] c5dafad2182a: Pull complete [2020-11-10T15:49:54.009Z] 5aa711733414: Pull complete [2020-11-10T15:49:54.009Z] 058f73b55e4b: Pull complete [2020-11-10T15:49:54.280Z] 8c9c664faf12: Pull complete [2020-11-10T15:49:54.280Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-10T15:49:54.280Z] Status: Downloaded newer image for docker:latest [2020-11-10T15:49:55.689Z] ---> 1a865c8d52c4 [2020-11-10T15:49:55.689Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-10T15:49:55.952Z] ---> Running in 30d05c87fd53 [2020-11-10T15:49:55.952Z] Removing intermediate container 30d05c87fd53 [2020-11-10T15:49:55.952Z] ---> 3a2d85d46f85 [2020-11-10T15:49:55.952Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-10T15:49:56.215Z] ---> Running in cac6b8f3612e [2020-11-10T15:49:56.792Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-10T15:49:57.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-10T15:50:00.300Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-10T15:50:00.878Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-10T15:50:01.835Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-10T15:50:01.835Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-10T15:50:02.101Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-10T15:50:02.101Z] Executing busybox-1.31.1-r16.trigger [2020-11-10T15:50:02.365Z] OK: 167 MiB in 44 packages [2020-11-10T15:50:02.944Z] Removing intermediate container cac6b8f3612e [2020-11-10T15:50:02.944Z] ---> 42168c7b7856 [2020-11-10T15:50:02.944Z] Step 6/8 : WORKDIR /build [2020-11-10T15:50:02.944Z] ---> Running in 6e5daa2cda6e [2020-11-10T15:50:03.210Z] Removing intermediate container 6e5daa2cda6e [2020-11-10T15:50:03.210Z] ---> c4609e9b1ec3 [2020-11-10T15:50:03.210Z] Step 7/8 : COPY go.mod . [2020-11-10T15:50:03.476Z] ---> 096dda441102 [2020-11-10T15:50:03.476Z] Step 8/8 : RUN go mod download [2020-11-10T15:50:03.476Z] ---> Running in fd6deaa3d893 [2020-11-10T15:50:10.351Z] Removing intermediate container bfb07f409efb [2020-11-10T15:50:10.351Z] ---> 580994598cd1 [2020-11-10T15:50:10.351Z] Successfully built 580994598cd1 [2020-11-10T15:50:10.351Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:50:10.698Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T15:50:10.698Z] . [Pipeline] withDockerContainer [2020-11-10T15:50:10.975Z] prd-ubuntu18.04-docker-arm64-4c-16g-11737 does not seem to be running inside a container [2020-11-10T15:50:11.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-10T15:50:12.949Z] $ docker top e8cf99a4ff9be23daac4c9ef196499157c9c1e6f0ff4097b7ed91a32b8609b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T15:50:14.387Z] + go version [2020-11-10T15:50:14.387Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-10T15:50:14.425Z] $ docker stop --time=1 e8cf99a4ff9be23daac4c9ef196499157c9c1e6f0ff4097b7ed91a32b8609b04 [2020-11-10T15:50:16.401Z] $ docker rm -f e8cf99a4ff9be23daac4c9ef196499157c9c1e6f0ff4097b7ed91a32b8609b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:50:17.523Z] + docker inspect -f . ci-base-image-arm64 [2020-11-10T15:50:17.523Z] . [Pipeline] withDockerContainer [2020-11-10T15:50:17.815Z] prd-ubuntu18.04-docker-arm64-4c-16g-11737 does not seem to be running inside a container [2020-11-10T15:50:17.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-10T15:50:19.790Z] $ docker top 8491e5f018216d5e5ff77d46319897cba35eec2d1b9eed6b1e17f8060c473df3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T15:50:21.242Z] + make test [2020-11-10T15:50:21.242Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-10T15:50:23.230Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-10T15:50:30.184Z] Removing intermediate container fd6deaa3d893 [2020-11-10T15:50:30.184Z] ---> a4e36625928a [2020-11-10T15:50:30.184Z] Successfully built a4e36625928a [2020-11-10T15:50:30.184Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:50:30.523Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T15:50:30.524Z] . [Pipeline] withDockerContainer [2020-11-10T15:50:30.849Z] prd-centos7-docker-4c-2g-11738 does not seem to be running inside a container [2020-11-10T15:50:30.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-10T15:50:31.858Z] $ docker top 1a9faa056f3d718331ee6214da033b7ccf56e2a14900c944cc8832535405a8f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T15:50:32.379Z] + go version [2020-11-10T15:50:32.379Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-10T15:50:32.396Z] $ docker stop --time=1 1a9faa056f3d718331ee6214da033b7ccf56e2a14900c944cc8832535405a8f6 [2020-11-10T15:50:33.743Z] $ docker rm -f 1a9faa056f3d718331ee6214da033b7ccf56e2a14900c944cc8832535405a8f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:50:34.749Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-10T15:50:34.749Z] . [Pipeline] withDockerContainer [2020-11-10T15:50:34.929Z] prd-centos7-docker-4c-2g-11738 does not seem to be running inside a container [2020-11-10T15:50:35.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-10T15:50:35.675Z] $ docker top 2c21bcfd604c3c67272d226de6fcccfc231f0908a6a02000002f2773d84caa92 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T15:50:36.251Z] + make test [2020-11-10T15:50:36.251Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-10T15:50:37.678Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-10T15:50:44.711Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.021s coverage: 86.2% of statements [2020-11-10T15:50:45.578Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.075s coverage: 86.2% of statements [2020-11-10T15:51:03.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.029s coverage: 52.0% of statements [2020-11-10T15:51:03.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-10T15:51:03.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-10T15:51:03.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.034s coverage: 54.7% of statements [2020-11-10T15:51:03.225Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-10T15:51:03.225Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.037s coverage: 69.1% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.430s coverage: 61.6% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.010s coverage: 100.0% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.015s coverage: 100.0% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-11-10T15:51:13.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-11-10T15:51:13.407Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-10T15:51:13.407Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.008s coverage: 97.7% of statements [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.013s coverage: 8.8% of statements [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.921s coverage: 75.0% of statements [2020-11-10T15:51:13.408Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2020-11-10T15:51:13.408Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-11-10T15:51:24.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.063s coverage: 52.0% of statements [2020-11-10T15:51:24.830Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-10T15:51:24.830Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-10T15:51:24.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.084s coverage: 54.7% of statements [2020-11-10T15:51:24.830Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-10T15:51:24.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.051s coverage: 69.1% of statements [2020-11-10T15:51:31.772Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.036s coverage: 71.0% of statements [2020-11-10T15:51:31.772Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-11-10T15:51:31.772Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-10T15:51:34.599Z] gofmt -l . [2020-11-10T15:51:34.600Z] [ "`gofmt -l .`" = "" ] [2020-11-10T15:51:34.600Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-10T15:51:35.248Z] $ docker stop --time=1 2c21bcfd604c3c67272d226de6fcccfc231f0908a6a02000002f2773d84caa92 [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.478s coverage: 61.6% of statements [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.011s coverage: 89.5% of statements [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.031s coverage: 100.0% of statements [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-10T15:51:35.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-10T15:51:35.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements [2020-11-10T15:51:36.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.949s coverage: 75.0% of statements [2020-11-10T15:51:36.360Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-10T15:51:36.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.049s coverage: 89.7% of statements [2020-11-10T15:51:36.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements [2020-11-10T15:51:36.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.036s coverage: 80.5% of statements [2020-11-10T15:51:36.360Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.024s coverage: 71.7% of statements [2020-11-10T15:51:36.902Z] $ docker rm -f 2c21bcfd604c3c67272d226de6fcccfc231f0908a6a02000002f2773d84caa92 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T15:51:37.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-10T15:51:38.364Z] 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] } [2020-11-10T15:52:03.413Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.056s coverage: 71.0% of statements [2020-11-10T15:52:03.413Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.015s coverage: 94.4% of statements [2020-11-10T15:52:03.413Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-10T15:52:13.623Z] gofmt -l . [2020-11-10T15:52:13.623Z] [ "`gofmt -l .`" = "" ] [2020-11-10T15:52:14.226Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-10T15:52:14.903Z] $ docker stop --time=1 8491e5f018216d5e5ff77d46319897cba35eec2d1b9eed6b1e17f8060c473df3 [2020-11-10T15:52:17.046Z] $ docker rm -f 8491e5f018216d5e5ff77d46319897cba35eec2d1b9eed6b1e17f8060c473df3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-10T15:52:18.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-10T15:52:18.188Z] Warning: overwriting stash ‘coverage-report’ [2020-11-10T15:52:18.996Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-10T15:52:21.323Z] provisioning config files... [2020-11-10T15:52:21.335Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config1271112848346469943tmp [Pipeline] { [Pipeline] sh [2020-11-10T15:52:21.738Z] + set +x [2020-11-10T15:52:21.738Z] + curl -s https://codecov.io/bash [2020-11-10T15:52:21.738Z] + bash -s -- [2020-11-10T15:52:22.001Z] [2020-11-10T15:52:22.001Z] _____ _ [2020-11-10T15:52:22.001Z] / ____| | | [2020-11-10T15:52:22.001Z] | | ___ __| | ___ ___ _____ __ [2020-11-10T15:52:22.001Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-10T15:52:22.001Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-10T15:52:22.001Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-10T15:52:22.001Z] Bash-20201106-81372f2 [2020-11-10T15:52:22.001Z] [2020-11-10T15:52:22.001Z] [2020-11-10T15:52:22.001Z] ==> Jenkins CI detected. [2020-11-10T15:52:22.001Z] project root: . [2020-11-10T15:52:22.001Z] --> token set from env [2020-11-10T15:52:22.001Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-10T15:52:22.001Z] ==> Running gcov in . (disable via -X gcov) [2020-11-10T15:52:22.001Z] ==> Python coveragepy not found [2020-11-10T15:52:22.001Z] ==> Searching for coverage reports in: [2020-11-10T15:52:22.001Z] + . [2020-11-10T15:52:22.001Z] -> Found 1 reports [2020-11-10T15:52:22.001Z] ==> Detecting git/mercurial file structure [2020-11-10T15:52:22.001Z] ==> Reading reports [2020-11-10T15:52:22.001Z] + ./coverage.out bytes=90550 [2020-11-10T15:52:22.001Z] ==> Appending adjustments [2020-11-10T15:52:22.001Z] https://docs.codecov.io/docs/fixing-reports [2020-11-10T15:52:22.581Z] + Found adjustments [2020-11-10T15:52:22.581Z] ==> Gzipping contents [2020-11-10T15:52:22.581Z] ==> Uploading reports [2020-11-10T15:52:22.581Z] url: https://codecov.io [2020-11-10T15:52:22.581Z] query: branch=PR-568&commit=08426b644c9b1c59082f5abfe8988b706b92972c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-568%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2020-11-10T15:52:22.581Z] -> Pinging Codecov [2020-11-10T15:52:22.581Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-568&commit=08426b644c9b1c59082f5abfe8988b706b92972c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-568%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2020-11-10T15:52:23.540Z] -> Uploading to [2020-11-10T15:52:23.540Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-10/3D8B5DFFC46A037C893635FACE044666/08426b644c9b1c59082f5abfe8988b706b92972c/2cbc519c-3a11-408f-8d48-963a853938ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T155223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a0d6d39dbd334271abe5e4abbb72c6fdfebf5658c169052080f774cba05279f [2020-11-10T15:52:23.540Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-10T15:52:23.540Z] Dload Upload Total Spent Left Speed [2020-11-10T15:52:23.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16135 0 0 100 16135 0 36646 --:--:-- --:--:-- --:--:-- 36670 [2020-11-10T15:52:23.803Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/08426b644c9b1c59082f5abfe8988b706b92972c [Pipeline] } [2020-11-10T15:52:23.813Z] 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-10T15:52:27.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:27.713Z] ---> package-listing.sh [2020-11-10T15:52:27.713Z] ++ facter osfamily [2020-11-10T15:52:27.713Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-10T15:52:27.713Z] + OS_FAMILY=redhat [2020-11-10T15:52:27.713Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-568 [2020-11-10T15:52:27.713Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-10T15:52:27.713Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-10T15:52:27.713Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-10T15:52:27.713Z] + PACKAGES=/tmp/packages_start.txt [2020-11-10T15:52:27.713Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-568 ']' [2020-11-10T15:52:27.713Z] + PACKAGES=/tmp/packages_end.txt [2020-11-10T15:52:27.713Z] + case "${OS_FAMILY}" in [2020-11-10T15:52:27.713Z] + rpm -qa [2020-11-10T15:52:27.713Z] + sort [2020-11-10T15:52:31.953Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-10T15:52:31.953Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-10T15:52:31.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-10T15:52:31.953Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-568 ']' [2020-11-10T15:52:31.953Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-568/archives/ [2020-11-10T15:52:31.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-568/archives/ [Pipeline] echo [2020-11-10T15:52:31.970Z] 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-568/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-10T15:52:32.263Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:52:32.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T15:52:32.572Z] [2020-11-10T15:52:32.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-10T15:52:32.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T15:52:32.927Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-10T15:52:32.927Z] df20fa9351a1: Pulling fs layer [2020-11-10T15:52:32.927Z] 36b3adc4ff6f: Pulling fs layer [2020-11-10T15:52:32.927Z] 8ad3a11d3b57: Pulling fs layer [2020-11-10T15:52:32.927Z] 46f8f816bc3b: Pulling fs layer [2020-11-10T15:52:32.927Z] 93b61091891f: Pulling fs layer [2020-11-10T15:52:32.927Z] 93b9cdb0e59b: Pulling fs layer [2020-11-10T15:52:32.927Z] 5e14af77c1be: Pulling fs layer [2020-11-10T15:52:32.927Z] 01666e4c0597: Pulling fs layer [2020-11-10T15:52:32.927Z] aa168da1d23b: Pulling fs layer [2020-11-10T15:52:32.927Z] 46f8f816bc3b: Waiting [2020-11-10T15:52:32.927Z] 93b61091891f: Waiting [2020-11-10T15:52:32.927Z] 5e14af77c1be: Waiting [2020-11-10T15:52:32.927Z] 93b9cdb0e59b: Waiting [2020-11-10T15:52:32.927Z] 01666e4c0597: Waiting [2020-11-10T15:52:32.927Z] aa168da1d23b: Waiting [2020-11-10T15:52:32.927Z] 36b3adc4ff6f: Download complete [2020-11-10T15:52:32.927Z] 46f8f816bc3b: Download complete [2020-11-10T15:52:33.191Z] df20fa9351a1: Verifying Checksum [2020-11-10T15:52:33.191Z] df20fa9351a1: Download complete [2020-11-10T15:52:33.191Z] 93b9cdb0e59b: Verifying Checksum [2020-11-10T15:52:33.191Z] 93b9cdb0e59b: Download complete [2020-11-10T15:52:33.191Z] 5e14af77c1be: Verifying Checksum [2020-11-10T15:52:33.191Z] 5e14af77c1be: Download complete [2020-11-10T15:52:33.191Z] 93b61091891f: Download complete [2020-11-10T15:52:33.191Z] 01666e4c0597: Verifying Checksum [2020-11-10T15:52:33.191Z] 01666e4c0597: Download complete [2020-11-10T15:52:33.457Z] df20fa9351a1: Pull complete [2020-11-10T15:52:33.720Z] 36b3adc4ff6f: Pull complete [2020-11-10T15:52:34.302Z] 8ad3a11d3b57: Verifying Checksum [2020-11-10T15:52:34.302Z] 8ad3a11d3b57: Download complete [2020-11-10T15:52:34.906Z] 8ad3a11d3b57: Pull complete [2020-11-10T15:52:35.179Z] 46f8f816bc3b: Pull complete [2020-11-10T15:52:35.756Z] 93b61091891f: Pull complete [2020-11-10T15:52:35.756Z] 93b9cdb0e59b: Pull complete [2020-11-10T15:52:35.756Z] 5e14af77c1be: Pull complete [2020-11-10T15:52:36.020Z] aa168da1d23b: Verifying Checksum [2020-11-10T15:52:36.020Z] aa168da1d23b: Download complete [2020-11-10T15:52:36.020Z] 01666e4c0597: Pull complete [2020-11-10T15:52:42.667Z] aa168da1d23b: Pull complete [2020-11-10T15:52:42.668Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-10T15:52:42.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-10T15:52:42.668Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-10T15:52:42.834Z] prd-centos7-docker-4c-2g-11736 does not seem to be running inside a container [2020-11-10T15:52:42.899Z] $ 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-568/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-568 -v /w/workspace/ndry_app-functions-sdk-go_PR-568:/w/workspace/ndry_app-functions-sdk-go_PR-568:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-10T15:52:47.595Z] $ docker top eeb8671bd25aeff53569a19af8ea80ca98b537f1cbb2a0feaeb8dc07dcf47d97 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-10T15:52:48.311Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-10T15:52:48.617Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-10T15:52:48.921Z] + ls /var/log/sa-host [2020-11-10T15:52:48.921Z] + sadf -c /var/log/sa-host/sa05 [2020-11-10T15:52:48.921Z] file_magic: OK [2020-11-10T15:52:48.921Z] HZ: Using current value: 100 [2020-11-10T15:52:48.921Z] file_header: OK [2020-11-10T15:52:48.921Z] 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-10T15:52:48.921Z] Statistics: [2020-11-10T15:52:48.921Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T15:52:48.921Z] File successfully converted to sysstat format version 12.2.1 [2020-11-10T15:52:48.921Z] + sadf -c /var/log/sa-host/sa10 [2020-11-10T15:52:48.921Z] file_magic: OK [2020-11-10T15:52:48.921Z] HZ: Using current value: 100 [2020-11-10T15:52:48.921Z] file_header: OK [2020-11-10T15:52:48.921Z] 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-10T15:52:48.921Z] Statistics: [2020-11-10T15:52:48.921Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-10T15:52:48.921Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-10T15:52:49.580Z] provisioning config files... [2020-11-10T15:52:49.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config7149530429386250047tmp [Pipeline] { [Pipeline] echo [2020-11-10T15:52:49.679Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:50.015Z] ---> create-netrc.sh [Pipeline] } [2020-11-10T15:52:50.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-10T15:52:50.216Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:50.517Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-10T15:52:50.528Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:50.826Z] ---> sudo-logs.sh [2020-11-10T15:52:50.826Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-10T15:52:50.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:51.158Z] ---> job-cost.sh [2020-11-10T15:52:51.158Z] lf-activate-venv: SKIPPING [2020-11-10T15:52:51.158Z] INFO: No Stack... [2020-11-10T15:52:52.374Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-10T15:52:52.975Z] INFO: Archiving Costs [Pipeline] echo [2020-11-10T15:52:52.990Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-10T15:52:53.296Z] ---> logs-deploy.sh [2020-11-10T15:52:53.296Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-568/2 [2020-11-10T15:52:53.297Z] INFO: archiving workspace using pattern(s): [2020-11-10T15:52:55.454Z] Archives upload complete. [2020-11-10T15:52:55.454Z] INFO: archiving logs to Nexus