Push event to branch hanoi Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a22ec22dc229bc5a98df020c4d001a55ea4e61b6 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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/hanoi/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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/hanoi/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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20065 in /w/workspace/undry_app-functions-sdk-go_hanoi [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/undry_app-functions-sdk-go_hanoi # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 Checking out Revision a22ec22dc229bc5a98df020c4d001a55ea4e61b6 (hanoi) > git config core.sparsecheckout # timeout=10 > git checkout -f a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 Commit message: "fix: Fix response content type issue 567 (#568)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-14T00:23:12.770Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-14T00:23:13.121Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-14T00:23:13.289Z] ========================================================= [2021-01-14T00:23:13.289Z] EdgeX Global Pipelines Version Info [2021-01-14T00:23:13.289Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:23:14.846Z] ------------------- [2021-01-14T00:23:14.846Z] stable info: [2021-01-14T00:23:14.846Z] ------------------- [2021-01-14T00:23:14.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-14T00:23:14.847Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-14T00:23:14.847Z] Message: update stable to v1.0.177 [2021-01-14T00:23:15.798Z] ------------------- [2021-01-14T00:23:15.798Z] experimental info: [2021-01-14T00:23:15.798Z] ------------------- [2021-01-14T00:23:15.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-14T00:23:15.798Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-14T00:23:15.798Z] Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-14T00:23:16.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-14T00:23:16.262Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-14T00:23:16.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-14T00:23:16.519Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-14T00:23:16.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-14T00:23:16.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-14T00:23:16.859Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-14T00:23:16.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-14T00:23:17.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-14T00:23:17.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-14T00:23:17.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-14T00:23:17.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-14T00:23:17.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-14T00:23:17.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-14T00:23:17.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:23:17.969Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:23:18.095Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:23:18.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-14T00:23:18.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-14T00:23:18.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-14T00:23:18.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-14T00:23:18.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-14T00:23:18.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-14T00:23:18.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-14T00:23:19.105Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-14T00:23:19.254Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-14T00:23:19.376Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-14T00:23:19.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = hanoi [Pipeline] echo [2021-01-14T00:23:19.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = hanoi [Pipeline] echo [2021-01-14T00:23:19.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = hanoi [Pipeline] echo [2021-01-14T00:23:19.870Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a22ec22dc229bc5a98df020c4d001a55ea4e61b6 [Pipeline] echo [2021-01-14T00:23:19.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a22ec22 [Pipeline] echo [2021-01-14T00:23:20.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:23:21.145Z] + git log --format=format:%s -1 a22ec22dc229bc5a98df020c4d001a55ea4e61b6 [Pipeline] echo [2021-01-14T00:23:21.278Z] GIT_COMMIT: a22ec22dc229bc5a98df020c4d001a55ea4e61b6, Commit Message: fix: Fix response content type issue 567 (#568) [Pipeline] echo [2021-01-14T00:23:21.347Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:23:22.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:23:22.270Z] [2021-01-14T00:23:22.270Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:23:22.661Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:23:22.661Z] latest: Pulling from edgex-devops/git-semver [2021-01-14T00:23:22.661Z] 31603596830f: Pulling fs layer [2021-01-14T00:23:22.661Z] 2a8b12db71e7: Pulling fs layer [2021-01-14T00:23:22.661Z] 6ca5941a6612: Pulling fs layer [2021-01-14T00:23:22.661Z] ecc8261a40a4: Pulling fs layer [2021-01-14T00:23:22.661Z] ecc8261a40a4: Waiting [2021-01-14T00:23:22.661Z] 2a8b12db71e7: Verifying Checksum [2021-01-14T00:23:22.661Z] 2a8b12db71e7: Download complete [2021-01-14T00:23:22.933Z] 31603596830f: Verifying Checksum [2021-01-14T00:23:22.933Z] 31603596830f: Download complete [2021-01-14T00:23:22.933Z] ecc8261a40a4: Verifying Checksum [2021-01-14T00:23:22.933Z] ecc8261a40a4: Download complete [2021-01-14T00:23:22.933Z] 6ca5941a6612: Verifying Checksum [2021-01-14T00:23:22.933Z] 6ca5941a6612: Download complete [2021-01-14T00:23:23.212Z] 31603596830f: Pull complete [2021-01-14T00:23:23.477Z] 2a8b12db71e7: Pull complete [2021-01-14T00:23:24.058Z] 6ca5941a6612: Pull complete [2021-01-14T00:23:24.321Z] ecc8261a40a4: Pull complete [2021-01-14T00:23:24.321Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-14T00:23:24.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:23:24.321Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-14T00:23:24.454Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:23:24.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-14T00:23:26.211Z] $ docker top 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-14T00:23:26.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-14T00:23:26.634Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-14T00:23:26.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-14T00:23:26.865Z] $ docker exec 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec ssh-agent [2021-01-14T00:23:27.040Z] SSH_AUTH_SOCK=/tmp/ssh-1NNIuVV5u1Vg/agent.12 [2021-01-14T00:23:27.040Z] SSH_AGENT_PID=17 [2021-01-14T00:23:27.050Z] Running ssh-add (command line suppressed) [2021-01-14T00:23:27.177Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_8304552229369047992.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_8304552229369047992.key) [2021-01-14T00:23:27.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-14T00:23:27.645Z] + git tag --points-at HEAD [Pipeline] } [2021-01-14T00:23:27.668Z] $ docker exec --env ******** --env ******** 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec ssh-agent -k [2021-01-14T00:23:27.785Z] unset SSH_AUTH_SOCK; [2021-01-14T00:23:27.785Z] unset SSH_AGENT_PID; [2021-01-14T00:23:27.785Z] echo Agent pid 17 killed; [2021-01-14T00:23:27.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-01-14T00:23:28.051Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.1-dev.58|v1.3.0' [Pipeline] sshagent [2021-01-14T00:23:28.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-14T00:23:28.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-14T00:23:28.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-14T00:23:28.342Z] $ docker exec 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec ssh-agent [2021-01-14T00:23:28.513Z] SSH_AUTH_SOCK=/tmp/ssh-n4Nj26SXJxdG/agent.46 [2021-01-14T00:23:28.513Z] SSH_AGENT_PID=52 [2021-01-14T00:23:28.520Z] Running ssh-add (command line suppressed) [2021-01-14T00:23:28.646Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_2733883705143897707.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_2733883705143897707.key) [2021-01-14T00:23:28.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-14T00:23:29.079Z] + git semver init [2021-01-14T00:23:29.079Z] # -> Open(): unable to determine branch for HEAD [2021-01-14T00:23:29.079Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-14T00:23:29.079Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-14T00:23:29.079Z] # $SEMVER_REMOTE_NAME = origin [2021-01-14T00:23:29.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-14T00:23:29.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-14T00:23:29.079Z] # $SEMVER_BRANCH = hanoi [2021-01-14T00:23:29.079Z] # $SEMVER_TEMP = /tmp/semver-890222664 [2021-01-14T00:23:29.079Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-14T00:23:31.635Z] # '/tmp/semver-890222664' -> '/w/workspace/undry_app-functions-sdk-go_hanoi/.semver' [2021-01-14T00:23:31.900Z] # -> Force: false [2021-01-14T00:23:31.900Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } [2021-01-14T00:23:32.012Z] $ docker exec --env ******** --env ******** 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec ssh-agent -k [2021-01-14T00:23:32.166Z] unset SSH_AUTH_SOCK; [2021-01-14T00:23:32.166Z] unset SSH_AGENT_PID; [2021-01-14T00:23:32.166Z] echo Agent pid 52 killed; [2021-01-14T00:23:32.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-14T00:23:32.791Z] + git semver [Pipeline] } [2021-01-14T00:23:32.820Z] $ docker stop --time=1 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec [2021-01-14T00:23:34.321Z] $ docker rm -f 20b0db5ff0304fd2031dd4cfb6cc5c14d9f66515def545134360f441941158ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-14T00:23:34.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-14T00:23:35.365Z] Stashed 1 file(s) [Pipeline] echo [2021-01-14T00:23:35.387Z] [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 [2021-01-14T00:23:51.278Z] Still waiting to schedule task [2021-01-14T00:23:51.278Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-14T00:23:51.387Z] Still waiting to schedule task [2021-01-14T00:23:51.387Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-14T00:25:15.555Z] Running on prd-centos7-docker-4c-2g-20069 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-14T00:25:15.653Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-14T00:25:18.262Z] using credential edgex-jenkins-ssh [2021-01-14T00:25:18.315Z] Cloning the remote Git repository [2021-01-14T00:25:18.348Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:25:18.430Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-01-14T00:25:18.496Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:25:18.496Z] > git --version # timeout=10 [2021-01-14T00:25:18.502Z] > git --version # 'git version 2.24.3' [2021-01-14T00:25:18.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:25:18.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:25:20.269Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-14T00:25:20.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:25:20.290Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-14T00:25:20.302Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:25:20.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:25:20.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-14T00:25:20.726Z] Checking out Revision a22ec22dc229bc5a98df020c4d001a55ea4e61b6 (hanoi) [2021-01-14T00:25:20.736Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:25:20.744Z] > git checkout -f a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 [2021-01-14T00:25:24.444Z] Commit message: "fix: Fix response content type issue 567 (#568)" [2021-01-14T00:25:24.471Z] > git --version # timeout=10 [2021-01-14T00:25:24.477Z] > git --version # 'git version 2.24.3' [2021-01-14T00:25:24.483Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:25:26.092Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:25:26.452Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:25:26.774Z] + sudo service docker restart [2021-01-14T00:25:26.774Z] + true [2021-01-14T00:25:26.774Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-14T00:25:27.998Z] ========================================================= [2021-01-14T00:25:27.998Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-14T00:25:27.998Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:25:28.403Z] + 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 . [2021-01-14T00:25:28.992Z] Sending build context to Docker daemon 19.25MB [2021-01-14T00:25:28.992Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-14T00:25:28.992Z] Step 2/8 : FROM ${BASE} [2021-01-14T00:25:29.259Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-14T00:25:29.259Z] 188c0c94c7c5: Pulling fs layer [2021-01-14T00:25:29.259Z] 0ef7d3d256c8: Pulling fs layer [2021-01-14T00:25:29.259Z] de9db76c5a1d: Pulling fs layer [2021-01-14T00:25:29.259Z] bca2f99d35d6: Pulling fs layer [2021-01-14T00:25:29.259Z] 93359f2a8cfa: Pulling fs layer [2021-01-14T00:25:29.259Z] 7c6f9722023f: Pulling fs layer [2021-01-14T00:25:29.259Z] a35cf1a2eb13: Pulling fs layer [2021-01-14T00:25:29.259Z] 93359f2a8cfa: Waiting [2021-01-14T00:25:29.259Z] 7c6f9722023f: Waiting [2021-01-14T00:25:29.259Z] a35cf1a2eb13: Waiting [2021-01-14T00:25:29.259Z] bca2f99d35d6: Waiting [2021-01-14T00:25:29.259Z] de9db76c5a1d: Download complete [2021-01-14T00:25:29.259Z] 0ef7d3d256c8: Verifying Checksum [2021-01-14T00:25:29.259Z] 0ef7d3d256c8: Download complete [2021-01-14T00:25:29.259Z] 93359f2a8cfa: Verifying Checksum [2021-01-14T00:25:29.259Z] 93359f2a8cfa: Download complete [2021-01-14T00:25:29.259Z] 7c6f9722023f: Verifying Checksum [2021-01-14T00:25:29.259Z] 7c6f9722023f: Download complete [2021-01-14T00:25:29.259Z] 188c0c94c7c5: Verifying Checksum [2021-01-14T00:25:29.259Z] 188c0c94c7c5: Download complete [2021-01-14T00:25:29.525Z] 188c0c94c7c5: Pull complete [2021-01-14T00:25:29.799Z] 0ef7d3d256c8: Pull complete [2021-01-14T00:25:30.067Z] de9db76c5a1d: Pull complete [2021-01-14T00:25:31.029Z] a35cf1a2eb13: Verifying Checksum [2021-01-14T00:25:31.029Z] a35cf1a2eb13: Download complete [2021-01-14T00:25:31.984Z] bca2f99d35d6: Verifying Checksum [2021-01-14T00:25:31.984Z] bca2f99d35d6: Download complete [2021-01-14T00:25:37.330Z] bca2f99d35d6: Pull complete [2021-01-14T00:25:37.330Z] 93359f2a8cfa: Pull complete [2021-01-14T00:25:37.594Z] 7c6f9722023f: Pull complete [2021-01-14T00:25:41.856Z] a35cf1a2eb13: Pull complete [2021-01-14T00:25:41.856Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-14T00:25:41.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-14T00:25:41.856Z] ---> a62c8e92a672 [2021-01-14T00:25:41.856Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-14T00:25:42.121Z] latest: Pulling from library/docker [2021-01-14T00:25:42.385Z] 801bfaa63ef2: Pulling fs layer [2021-01-14T00:25:42.385Z] 4f7dc993c79e: Pulling fs layer [2021-01-14T00:25:42.385Z] d39d95e4997f: Pulling fs layer [2021-01-14T00:25:42.385Z] ae283de69b7d: Pulling fs layer [2021-01-14T00:25:42.385Z] 1962c7344fe5: Pulling fs layer [2021-01-14T00:25:42.385Z] aa7a3367c785: Pulling fs layer [2021-01-14T00:25:42.385Z] 5e259227d438: Pulling fs layer [2021-01-14T00:25:42.385Z] ae283de69b7d: Waiting [2021-01-14T00:25:42.385Z] aa7a3367c785: Waiting [2021-01-14T00:25:42.385Z] 1962c7344fe5: Waiting [2021-01-14T00:25:42.385Z] 5e259227d438: Waiting [2021-01-14T00:25:42.385Z] 801bfaa63ef2: Verifying Checksum [2021-01-14T00:25:42.385Z] 801bfaa63ef2: Download complete [2021-01-14T00:25:42.655Z] d39d95e4997f: Verifying Checksum [2021-01-14T00:25:42.655Z] d39d95e4997f: Download complete [2021-01-14T00:25:42.920Z] 801bfaa63ef2: Pull complete [2021-01-14T00:25:42.920Z] 1962c7344fe5: Verifying Checksum [2021-01-14T00:25:42.920Z] 1962c7344fe5: Download complete [2021-01-14T00:25:43.186Z] 4f7dc993c79e: Verifying Checksum [2021-01-14T00:25:43.186Z] 4f7dc993c79e: Download complete [2021-01-14T00:25:43.186Z] aa7a3367c785: Verifying Checksum [2021-01-14T00:25:43.186Z] aa7a3367c785: Download complete [2021-01-14T00:25:43.186Z] 5e259227d438: Verifying Checksum [2021-01-14T00:25:43.186Z] 5e259227d438: Download complete [2021-01-14T00:25:43.186Z] 4f7dc993c79e: Pull complete [2021-01-14T00:25:43.448Z] d39d95e4997f: Pull complete [2021-01-14T00:25:50.065Z] ae283de69b7d: Verifying Checksum [2021-01-14T00:25:50.065Z] ae283de69b7d: Download complete [2021-01-14T00:25:52.006Z] ae283de69b7d: Pull complete [2021-01-14T00:25:52.006Z] 1962c7344fe5: Pull complete [2021-01-14T00:25:52.268Z] aa7a3367c785: Pull complete [2021-01-14T00:25:52.268Z] 5e259227d438: Pull complete [2021-01-14T00:25:52.268Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-14T00:25:52.268Z] Status: Downloaded newer image for docker:latest [2021-01-14T00:25:53.665Z] ---> 2fa959c28a2c [2021-01-14T00:25:53.665Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-14T00:25:53.935Z] ---> Running in 0d6473765b40 [2021-01-14T00:25:53.935Z] Removing intermediate container 0d6473765b40 [2021-01-14T00:25:53.935Z] ---> 70583b974aaa [2021-01-14T00:25:53.935Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-14T00:25:54.199Z] ---> Running in 41e321d0b644 [2021-01-14T00:25:55.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-14T00:25:55.751Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-14T00:25:56.015Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-14T00:25:56.279Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-14T00:25:56.279Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-14T00:25:56.549Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-14T00:25:56.549Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-14T00:25:56.549Z] Executing busybox-1.31.1-r19.trigger [2021-01-14T00:25:56.549Z] OK: 167 MiB in 44 packages [2021-01-14T00:25:57.517Z] Removing intermediate container 41e321d0b644 [2021-01-14T00:25:57.517Z] ---> ea5d71d9ef3b [2021-01-14T00:25:57.517Z] Step 6/8 : WORKDIR /build [2021-01-14T00:25:57.517Z] ---> Running in a6844e73b11a [2021-01-14T00:25:57.786Z] Removing intermediate container a6844e73b11a [2021-01-14T00:25:57.786Z] ---> 8ac61bd6f7cf [2021-01-14T00:25:57.786Z] Step 7/8 : COPY go.mod . [2021-01-14T00:25:58.080Z] ---> a3d618245075 [2021-01-14T00:25:58.080Z] Step 8/8 : RUN go mod download [2021-01-14T00:25:58.080Z] ---> Running in 75aa416da9b9 [2021-01-14T00:26:24.756Z] Removing intermediate container 75aa416da9b9 [2021-01-14T00:26:24.756Z] ---> 9b18b6e92a5f [2021-01-14T00:26:24.756Z] Successfully built 9b18b6e92a5f [2021-01-14T00:26:24.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:26:25.108Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-14T00:26:25.108Z] . [Pipeline] withDockerContainer [2021-01-14T00:26:25.274Z] prd-centos7-docker-4c-2g-20069 does not seem to be running inside a container [2021-01-14T00:26:25.330Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-14T00:26:26.258Z] $ docker top 3705d42af659e8753db1b2fbf4e958e2b6d00da6aee593f62e81a51a8c2540a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:26:26.843Z] + go version [2021-01-14T00:26:26.843Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-14T00:26:26.877Z] $ docker stop --time=1 3705d42af659e8753db1b2fbf4e958e2b6d00da6aee593f62e81a51a8c2540a4 [2021-01-14T00:26:28.248Z] $ docker rm -f 3705d42af659e8753db1b2fbf4e958e2b6d00da6aee593f62e81a51a8c2540a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:26:29.281Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-14T00:26:29.281Z] . [Pipeline] withDockerContainer [2021-01-14T00:26:29.427Z] prd-centos7-docker-4c-2g-20069 does not seem to be running inside a container [2021-01-14T00:26:29.482Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-14T00:26:30.167Z] $ docker top 91ec1237d734f7e96d87846b498cec38dd7d1f96c1db05ac6d6cf15cb54a5012 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:26:30.767Z] + make test [2021-01-14T00:26:30.767Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-14T00:26:32.709Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-14T00:26:40.977Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.046s coverage: 86.2% of statements [2021-01-14T00:26:59.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.035s coverage: 52.0% of statements [2021-01-14T00:26:59.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-14T00:26:59.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-14T00:26:59.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.046s coverage: 54.7% of statements [2021-01-14T00:26:59.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-14T00:26:59.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.118s coverage: 69.1% of statements [2021-01-14T00:27:09.082Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20070 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-14T00:27:09.173Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.432s coverage: 61.6% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.009s coverage: 89.5% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.006s coverage: 96.6% of statements [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 8.8% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.931s coverage: 75.0% of statements [2021-01-14T00:27:11.525Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.022s coverage: 80.5% of statements [2021-01-14T00:27:11.525Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2021-01-14T00:27:14.946Z] using credential edgex-jenkins-ssh [2021-01-14T00:27:15.005Z] Cloning the remote Git repository [2021-01-14T00:27:15.091Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:27:15.227Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-01-14T00:27:15.331Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:27:15.332Z] > git --version # timeout=10 [2021-01-14T00:27:15.355Z] > git --version # 'git version 2.17.1' [2021-01-14T00:27:15.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:27:15.508Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:27:19.436Z] Checking out Revision a22ec22dc229bc5a98df020c4d001a55ea4e61b6 (hanoi) [2021-01-14T00:27:18.729Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-14T00:27:18.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-14T00:27:18.782Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-14T00:27:18.825Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-14T00:27:18.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-14T00:27:18.842Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-14T00:27:19.469Z] > git config core.sparsecheckout # timeout=10 [2021-01-14T00:27:19.501Z] > git checkout -f a22ec22dc229bc5a98df020c4d001a55ea4e61b6 # timeout=10 [2021-01-14T00:27:24.004Z] Commit message: "fix: Fix response content type issue 567 (#568)" [2021-01-14T00:27:24.071Z] > git --version # timeout=10 [2021-01-14T00:27:24.081Z] > git --version # 'git version 2.17.1' [2021-01-14T00:27:24.089Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-14T00:27:25.926Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:27:26.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.131s coverage: 71.0% of statements [2021-01-14T00:27:26.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2021-01-14T00:27:26.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-14T00:27:26.473Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-14T00:27:26.841Z] + sudo service docker restart [2021-01-14T00:27:26.841Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-14T00:27:29.111Z] ========================================================= [2021-01-14T00:27:29.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-14T00:27:29.111Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:27:29.522Z] + 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 . [2021-01-14T00:27:30.504Z] Sending build context to Docker daemon 19.25MB [2021-01-14T00:27:30.504Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-14T00:27:30.504Z] Step 2/8 : FROM ${BASE} [2021-01-14T00:27:30.739Z] gofmt -l . [2021-01-14T00:27:30.739Z] [ "`gofmt -l .`" = "" ] [2021-01-14T00:27:30.783Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-14T00:27:30.783Z] 5f621e34cdf4: Pulling fs layer [2021-01-14T00:27:30.783Z] a4357932f1b6: Pulling fs layer [2021-01-14T00:27:30.783Z] 18c013af1878: Pulling fs layer [2021-01-14T00:27:30.783Z] 00ac8860ef70: Pulling fs layer [2021-01-14T00:27:30.783Z] 63d7cb157983: Pulling fs layer [2021-01-14T00:27:30.783Z] b116817d02f9: Pulling fs layer [2021-01-14T00:27:30.783Z] 745a02a5169b: Pulling fs layer [2021-01-14T00:27:30.783Z] b116817d02f9: Waiting [2021-01-14T00:27:30.783Z] 63d7cb157983: Waiting [2021-01-14T00:27:30.783Z] 00ac8860ef70: Waiting [2021-01-14T00:27:30.783Z] 745a02a5169b: Waiting [2021-01-14T00:27:30.783Z] 18c013af1878: Verifying Checksum [2021-01-14T00:27:30.783Z] 18c013af1878: Download complete [2021-01-14T00:27:30.783Z] a4357932f1b6: Verifying Checksum [2021-01-14T00:27:30.783Z] a4357932f1b6: Download complete [2021-01-14T00:27:30.783Z] 63d7cb157983: Verifying Checksum [2021-01-14T00:27:30.783Z] 63d7cb157983: Download complete [2021-01-14T00:27:31.004Z] ./bin/test-go-mod-tidy.sh [2021-01-14T00:27:31.058Z] b116817d02f9: Verifying Checksum [2021-01-14T00:27:31.058Z] b116817d02f9: Download complete [2021-01-14T00:27:31.333Z] 5f621e34cdf4: Verifying Checksum [2021-01-14T00:27:31.333Z] 5f621e34cdf4: Download complete [Pipeline] } [2021-01-14T00:27:31.613Z] $ docker stop --time=1 91ec1237d734f7e96d87846b498cec38dd7d1f96c1db05ac6d6cf15cb54a5012 [2021-01-14T00:27:32.319Z] 5f621e34cdf4: Pull complete [2021-01-14T00:27:32.599Z] a4357932f1b6: Pull complete [2021-01-14T00:27:32.873Z] 18c013af1878: Pull complete [2021-01-14T00:27:33.363Z] $ docker rm -f 91ec1237d734f7e96d87846b498cec38dd7d1f96c1db05ac6d6cf15cb54a5012 [Pipeline] // withDockerContainer [2021-01-14T00:27:33.856Z] 745a02a5169b: Verifying Checksum [2021-01-14T00:27:33.856Z] 745a02a5169b: Download complete [Pipeline] sh [2021-01-14T00:27:34.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-14T00:27:34.551Z] 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 [2021-01-14T00:27:35.297Z] 00ac8860ef70: Verifying Checksum [2021-01-14T00:27:35.297Z] 00ac8860ef70: Download complete [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] } [2021-01-14T00:27:45.505Z] 00ac8860ef70: Pull complete [2021-01-14T00:27:45.505Z] 63d7cb157983: Pull complete [2021-01-14T00:27:45.505Z] b116817d02f9: Pull complete [2021-01-14T00:27:48.899Z] 745a02a5169b: Pull complete [2021-01-14T00:27:48.899Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-14T00:27:48.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-14T00:27:48.899Z] ---> b7e6874047d6 [2021-01-14T00:27:48.899Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-14T00:27:48.899Z] latest: Pulling from library/docker [2021-01-14T00:27:49.498Z] 159e5727ea61: Pulling fs layer [2021-01-14T00:27:49.498Z] 687389c36290: Pulling fs layer [2021-01-14T00:27:49.498Z] 94e28978939c: Pulling fs layer [2021-01-14T00:27:49.498Z] 81bd9c9fe1b1: Pulling fs layer [2021-01-14T00:27:49.498Z] 0c5a7137269a: Pulling fs layer [2021-01-14T00:27:49.498Z] 650eeba05d50: Pulling fs layer [2021-01-14T00:27:49.498Z] 283d3dba4d5b: Pulling fs layer [2021-01-14T00:27:49.498Z] 81bd9c9fe1b1: Waiting [2021-01-14T00:27:49.498Z] 0c5a7137269a: Waiting [2021-01-14T00:27:49.498Z] 650eeba05d50: Waiting [2021-01-14T00:27:49.498Z] 283d3dba4d5b: Waiting [2021-01-14T00:27:49.498Z] 159e5727ea61: Verifying Checksum [2021-01-14T00:27:49.498Z] 159e5727ea61: Download complete [2021-01-14T00:27:49.498Z] 94e28978939c: Verifying Checksum [2021-01-14T00:27:49.498Z] 94e28978939c: Download complete [2021-01-14T00:27:49.498Z] 687389c36290: Verifying Checksum [2021-01-14T00:27:49.498Z] 687389c36290: Download complete [2021-01-14T00:27:49.777Z] 0c5a7137269a: Download complete [2021-01-14T00:27:49.777Z] 650eeba05d50: Verifying Checksum [2021-01-14T00:27:49.777Z] 650eeba05d50: Download complete [2021-01-14T00:27:49.777Z] 283d3dba4d5b: Verifying Checksum [2021-01-14T00:27:49.777Z] 283d3dba4d5b: Download complete [2021-01-14T00:27:50.061Z] 159e5727ea61: Pull complete [2021-01-14T00:27:50.667Z] 687389c36290: Pull complete [2021-01-14T00:27:51.265Z] 94e28978939c: Pull complete [2021-01-14T00:27:54.656Z] 81bd9c9fe1b1: Verifying Checksum [2021-01-14T00:27:54.656Z] 81bd9c9fe1b1: Download complete [2021-01-14T00:27:58.980Z] 81bd9c9fe1b1: Pull complete [2021-01-14T00:27:58.980Z] 0c5a7137269a: Pull complete [2021-01-14T00:27:59.254Z] 650eeba05d50: Pull complete [2021-01-14T00:27:59.878Z] 283d3dba4d5b: Pull complete [2021-01-14T00:27:59.878Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-14T00:27:59.878Z] Status: Downloaded newer image for docker:latest [2021-01-14T00:28:06.617Z] ---> 3113d62b475b [2021-01-14T00:28:06.617Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-14T00:28:06.617Z] ---> Running in 68e69766462c [2021-01-14T00:28:06.906Z] Removing intermediate container 68e69766462c [2021-01-14T00:28:06.906Z] ---> 74af3e4c1c90 [2021-01-14T00:28:06.906Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-14T00:28:07.181Z] ---> Running in dec9eb7127e0 [2021-01-14T00:28:08.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-14T00:28:09.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-14T00:28:09.832Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-14T00:28:09.832Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-14T00:28:10.143Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-14T00:28:10.143Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-14T00:28:10.144Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-14T00:28:10.424Z] Executing busybox-1.31.1-r19.trigger [2021-01-14T00:28:10.424Z] OK: 144 MiB in 44 packages [2021-01-14T00:28:11.868Z] Removing intermediate container dec9eb7127e0 [2021-01-14T00:28:11.868Z] ---> 153b5b34fd93 [2021-01-14T00:28:11.868Z] Step 6/8 : WORKDIR /build [2021-01-14T00:28:11.868Z] ---> Running in 6e8d4e25fe1d [2021-01-14T00:28:12.469Z] Removing intermediate container 6e8d4e25fe1d [2021-01-14T00:28:12.469Z] ---> 8d631713f960 [2021-01-14T00:28:12.469Z] Step 7/8 : COPY go.mod . [2021-01-14T00:28:13.110Z] ---> ce3dd7ed19dc [2021-01-14T00:28:13.110Z] Step 8/8 : RUN go mod download [2021-01-14T00:28:13.110Z] ---> Running in 4c900b1cf33e [2021-01-14T00:28:39.976Z] Removing intermediate container 4c900b1cf33e [2021-01-14T00:28:39.976Z] ---> 0774b5518c0e [2021-01-14T00:28:39.976Z] Successfully built 0774b5518c0e [2021-01-14T00:28:39.976Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:28:40.359Z] + docker inspect -f . ci-base-image-arm64 [2021-01-14T00:28:40.359Z] . [Pipeline] withDockerContainer [2021-01-14T00:28:40.632Z] prd-ubuntu18.04-docker-arm64-4c-16g-20070 does not seem to be running inside a container [2021-01-14T00:28:40.730Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-14T00:28:42.363Z] $ docker top 2e60e2c9c78242755a20003e9dada56bbc114253608ab1c191f2137868e96f34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:28:43.536Z] + go version [2021-01-14T00:28:43.536Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-14T00:28:43.585Z] $ docker stop --time=1 2e60e2c9c78242755a20003e9dada56bbc114253608ab1c191f2137868e96f34 [2021-01-14T00:28:45.530Z] $ docker rm -f 2e60e2c9c78242755a20003e9dada56bbc114253608ab1c191f2137868e96f34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:28:46.921Z] + docker inspect -f . ci-base-image-arm64 [2021-01-14T00:28:46.922Z] . [Pipeline] withDockerContainer [2021-01-14T00:28:47.230Z] prd-ubuntu18.04-docker-arm64-4c-16g-20070 does not seem to be running inside a container [2021-01-14T00:28:47.341Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-14T00:28:48.963Z] $ docker top 2d6f58cd30743b4ed9e134969d4576b6c31ff8ce88f129427a7d48b2acf627e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:28:50.117Z] + make test [2021-01-14T00:28:50.117Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-14T00:28:52.099Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-14T00:29:19.921Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.027s coverage: 86.2% of statements [2021-01-14T00:30:07.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.061s coverage: 52.0% of statements [2021-01-14T00:30:07.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-14T00:30:07.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-14T00:30:07.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.093s coverage: 54.7% of statements [2021-01-14T00:30:07.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-14T00:30:07.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.070s coverage: 69.1% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.478s coverage: 61.6% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.031s coverage: 100.0% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.022s coverage: 96.6% of statements [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-14T00:30:11.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-14T00:30:11.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.025s coverage: 8.8% of statements [2021-01-14T00:30:14.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.939s coverage: 75.0% of statements [2021-01-14T00:30:14.901Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-14T00:30:14.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements [2021-01-14T00:30:14.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements [2021-01-14T00:30:14.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.041s coverage: 80.5% of statements [2021-01-14T00:30:14.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.032s coverage: 71.7% of statements [2021-01-14T00:30:41.877Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.061s coverage: 71.0% of statements [2021-01-14T00:30:41.877Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2021-01-14T00:30:41.877Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-14T00:30:54.412Z] gofmt -l . [2021-01-14T00:30:54.714Z] [ "`gofmt -l .`" = "" ] [2021-01-14T00:30:54.996Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-14T00:30:55.680Z] $ docker stop --time=1 2d6f58cd30743b4ed9e134969d4576b6c31ff8ce88f129427a7d48b2acf627e6 [2021-01-14T00:30:57.841Z] $ docker rm -f 2d6f58cd30743b4ed9e134969d4576b6c31ff8ce88f129427a7d48b2acf627e6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-14T00:30:59.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-14T00:30:59.093Z] Warning: overwriting stash ‘coverage-report’ [2021-01-14T00:31:00.082Z] 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 [2021-01-14T00:31:02.913Z] provisioning config files... [2021-01-14T00:31:02.940Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config4689489711898616081tmp [Pipeline] { [Pipeline] sh [2021-01-14T00:31:03.451Z] + set +x [2021-01-14T00:31:03.451Z] + curl -s https://codecov.io/bash [2021-01-14T00:31:03.451Z] + bash -s -- [2021-01-14T00:31:03.451Z] [2021-01-14T00:31:03.451Z] _____ _ [2021-01-14T00:31:03.451Z] / ____| | | [2021-01-14T00:31:03.452Z] | | ___ __| | ___ ___ _____ __ [2021-01-14T00:31:03.452Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-14T00:31:03.452Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-14T00:31:03.452Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-14T00:31:03.452Z] Bash-20201231-23d4836 [2021-01-14T00:31:03.452Z] [2021-01-14T00:31:03.452Z] [2021-01-14T00:31:03.452Z] ==> git version 2.24.3 found [2021-01-14T00:31:03.452Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-14T00:31:03.452Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-14T00:31:03.452Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-14T00:31:03.452Z] ==> Jenkins CI detected. [2021-01-14T00:31:03.452Z] project root: . [2021-01-14T00:31:03.452Z] --> token set from env [2021-01-14T00:31:03.718Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-14T00:31:03.718Z] ==> Running gcov in . (disable via -X gcov) [2021-01-14T00:31:03.718Z] ==> Python coveragepy not found [2021-01-14T00:31:03.718Z] ==> Searching for coverage reports in: [2021-01-14T00:31:03.718Z] + . [2021-01-14T00:31:03.718Z] -> Found 1 reports [2021-01-14T00:31:03.718Z] ==> Detecting git/mercurial file structure [2021-01-14T00:31:03.718Z] ==> Reading reports [2021-01-14T00:31:03.718Z] + ./coverage.out bytes=90550 [2021-01-14T00:31:03.718Z] ==> Appending adjustments [2021-01-14T00:31:03.718Z] https://docs.codecov.io/docs/fixing-reports [2021-01-14T00:31:04.319Z] + Found adjustments [2021-01-14T00:31:04.319Z] ==> Gzipping contents [2021-01-14T00:31:04.319Z] 16K /tmp/codecov.LyxdlM.gz [2021-01-14T00:31:04.319Z] ==> Uploading reports [2021-01-14T00:31:04.319Z] url: https://codecov.io [2021-01-14T00:31:04.319Z] query: branch=hanoi&commit=a22ec22dc229bc5a98df020c4d001a55ea4e61b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-14T00:31:04.319Z] -> Pinging Codecov [2021-01-14T00:31:04.319Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=hanoi&commit=a22ec22dc229bc5a98df020c4d001a55ea4e61b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-14T00:31:04.598Z] -> Uploading to [2021-01-14T00:31:04.598Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-14/3D8B5DFFC46A037C893635FACE044666/a22ec22dc229bc5a98df020c4d001a55ea4e61b6/c082b94d-f105-4da1-843d-0ac3dd24b9e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210114T003104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=484241d8d607548b9c18f94a3a25be984f7966c26ccd8e3c5355dcf6c4b86787 [2021-01-14T00:31:04.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-14T00:31:04.598Z] Dload Upload Total Spent Left Speed [2021-01-14T00:31:05.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16085 0 0 100 16085 0 31577 --:--:-- --:--:-- --:--:-- 31539 100 16085 0 0 100 16085 0 31565 --:--:-- --:--:-- --:--:-- 31539 [2021-01-14T00:31:05.220Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a22ec22dc229bc5a98df020c4d001a55ea4e61b6 [Pipeline] } [2021-01-14T00:31:05.286Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-14T00:31:06.013Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-14T00:31:06.171Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:31:06.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-14T00:31:06.625Z] [2021-01-14T00:31:06.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:31:07.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-14T00:31:07.025Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-14T00:31:07.025Z] 188c0c94c7c5: Pulling fs layer [2021-01-14T00:31:07.025Z] 0ef7d3d256c8: Pulling fs layer [2021-01-14T00:31:07.025Z] de9db76c5a1d: Pulling fs layer [2021-01-14T00:31:07.025Z] 0eba1c9be4d2: Pulling fs layer [2021-01-14T00:31:07.025Z] 0d57e429df01: Pulling fs layer [2021-01-14T00:31:07.025Z] 4e4be7b47b0d: Pulling fs layer [2021-01-14T00:31:07.025Z] e1f770b5df2f: Pulling fs layer [2021-01-14T00:31:07.025Z] 85a0685a4137: Pulling fs layer [2021-01-14T00:31:07.025Z] 0d57e429df01: Waiting [2021-01-14T00:31:07.025Z] 4e4be7b47b0d: Waiting [2021-01-14T00:31:07.025Z] e1f770b5df2f: Waiting [2021-01-14T00:31:07.025Z] 85a0685a4137: Waiting [2021-01-14T00:31:07.025Z] 0eba1c9be4d2: Waiting [2021-01-14T00:31:07.025Z] de9db76c5a1d: Verifying Checksum [2021-01-14T00:31:07.025Z] de9db76c5a1d: Download complete [2021-01-14T00:31:07.025Z] 0ef7d3d256c8: Verifying Checksum [2021-01-14T00:31:07.025Z] 0ef7d3d256c8: Download complete [2021-01-14T00:31:07.025Z] 0d57e429df01: Verifying Checksum [2021-01-14T00:31:07.025Z] 0d57e429df01: Download complete [2021-01-14T00:31:07.025Z] 4e4be7b47b0d: Verifying Checksum [2021-01-14T00:31:07.025Z] 4e4be7b47b0d: Download complete [2021-01-14T00:31:07.025Z] 188c0c94c7c5: Verifying Checksum [2021-01-14T00:31:07.025Z] 188c0c94c7c5: Download complete [2021-01-14T00:31:07.606Z] 188c0c94c7c5: Pull complete [2021-01-14T00:31:07.606Z] 0ef7d3d256c8: Pull complete [2021-01-14T00:31:07.867Z] de9db76c5a1d: Pull complete [2021-01-14T00:31:08.819Z] e1f770b5df2f: Verifying Checksum [2021-01-14T00:31:08.819Z] e1f770b5df2f: Download complete [2021-01-14T00:31:10.218Z] 0eba1c9be4d2: Download complete [2021-01-14T00:31:10.803Z] 85a0685a4137: Verifying Checksum [2021-01-14T00:31:10.803Z] 85a0685a4137: Download complete [2021-01-14T00:31:17.475Z] 0eba1c9be4d2: Pull complete [2021-01-14T00:31:17.475Z] 0d57e429df01: Pull complete [2021-01-14T00:31:17.475Z] 4e4be7b47b0d: Pull complete [2021-01-14T00:31:19.407Z] e1f770b5df2f: Pull complete [2021-01-14T00:31:27.613Z] 85a0685a4137: Pull complete [2021-01-14T00:31:27.613Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-14T00:31:27.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-14T00:31:27.613Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-14T00:31:27.881Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:31:27.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-14T00:31:29.106Z] $ docker top 0966210a0f56b08be5a6a37ad3d2ad54dbd240fb3a429c73c9022651659141f1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-14T00:31:29.363Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-14T00:31:29.684Z] + set -o pipefail [2021-01-14T00:31:29.684Z] + snyk monitor '--org=edgex-jenkins' [2021-01-14T00:31:47.876Z] [2021-01-14T00:31:47.876Z] Monitoring /w/workspace/undry_app-functions-sdk-go_hanoi (github.com/edgexfoundry/app-functions-sdk-go)... [2021-01-14T00:31:47.876Z] [2021-01-14T00:31:47.876Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/f51a742a-0e8c-46be-914a-fc741f2b8f68 [2021-01-14T00:31:47.876Z] [2021-01-14T00:31:47.876Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-14T00:31:47.876Z] [2021-01-14T00:31:47.876Z] [Pipeline] } [2021-01-14T00:31:47.910Z] $ docker stop --time=1 0966210a0f56b08be5a6a37ad3d2ad54dbd240fb3a429c73c9022651659141f1 [2021-01-14T00:31:49.546Z] $ docker rm -f 0966210a0f56b08be5a6a37ad3d2ad54dbd240fb3a429c73c9022651659141f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo [2021-01-14T00:31:51.497Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-14T00:31:51.616Z] provisioning config files... [2021-01-14T00:31:51.626Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config3737878860599226467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:31:52.081Z] --> edgex-publish-swagger.sh [2021-01-14T00:31:52.081Z] === Publish openapi/v2 API === [2021-01-14T00:31:52.081Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-14T00:31:52.081Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/undry_app-functions-sdk-go_hanoi/openapi/v2/app-functions-sdk.yaml] [2021-01-14T00:31:52.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-14T00:31:52.081Z] Dload Upload Total Spent Left Speed [2021-01-14T00:31:53.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13026 0 0 100 13026 0 11812 0:00:01 0:00:01 --:--:-- 11820 100 13026 0 0 100 13026 0 11810 0:00:01 0:00:01 --:--:-- 11809 [2021-01-14T00:31:53.294Z] [2021-01-14T00:31:53.294Z] [Pipeline] } [2021-01-14T00:31:53.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-14T00:31:54.510Z] + git log --format=format:%s -1 a22ec22dc229bc5a98df020c4d001a55ea4e61b6 [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:31:54.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:31:54.872Z] . [Pipeline] withDockerContainer [2021-01-14T00:31:55.009Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:31:55.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-14T00:31:55.873Z] $ docker top 423135b6a4549fdb8b0d6839c0d0ecd97cf3220f697b73c0f92e8cd1b2518251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-14T00:31:56.225Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.1-dev.58|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-14T00:31:56.663Z] + git semver [Pipeline] } [2021-01-14T00:31:56.693Z] $ docker stop --time=1 423135b6a4549fdb8b0d6839c0d0ecd97cf3220f697b73c0f92e8cd1b2518251 [2021-01-14T00:31:58.050Z] $ docker rm -f 423135b6a4549fdb8b0d6839c0d0ecd97cf3220f697b73c0f92e8cd1b2518251 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:31:58.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-14T00:31:58.818Z] [2021-01-14T00:31:58.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:31:59.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-14T00:31:59.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-14T00:31:59.239Z] ab5ef0e58194: Pulling fs layer [2021-01-14T00:31:59.239Z] 9712f1f96733: Pulling fs layer [2021-01-14T00:31:59.239Z] 63f879dbbcfc: Pulling fs layer [2021-01-14T00:31:59.239Z] 0d9ebad4ef96: Pulling fs layer [2021-01-14T00:31:59.239Z] e9a5061849ea: Pulling fs layer [2021-01-14T00:31:59.239Z] d747dcd14b5f: Pulling fs layer [2021-01-14T00:31:59.239Z] 2de7ff778b66: Pulling fs layer [2021-01-14T00:31:59.239Z] 0d9ebad4ef96: Waiting [2021-01-14T00:31:59.239Z] e9a5061849ea: Waiting [2021-01-14T00:31:59.239Z] d747dcd14b5f: Waiting [2021-01-14T00:31:59.239Z] 2de7ff778b66: Waiting [2021-01-14T00:31:59.239Z] 9712f1f96733: Verifying Checksum [2021-01-14T00:31:59.239Z] 9712f1f96733: Download complete [2021-01-14T00:32:01.187Z] 63f879dbbcfc: Verifying Checksum [2021-01-14T00:32:01.187Z] 63f879dbbcfc: Download complete [2021-01-14T00:32:01.187Z] e9a5061849ea: Verifying Checksum [2021-01-14T00:32:01.187Z] e9a5061849ea: Download complete [2021-01-14T00:32:01.187Z] d747dcd14b5f: Download complete [2021-01-14T00:32:01.459Z] 2de7ff778b66: Verifying Checksum [2021-01-14T00:32:01.459Z] 2de7ff778b66: Download complete [2021-01-14T00:32:02.045Z] 0d9ebad4ef96: Verifying Checksum [2021-01-14T00:32:02.045Z] 0d9ebad4ef96: Download complete [2021-01-14T00:32:02.045Z] ab5ef0e58194: Verifying Checksum [2021-01-14T00:32:02.045Z] ab5ef0e58194: Download complete [2021-01-14T00:32:06.311Z] ab5ef0e58194: Pull complete [2021-01-14T00:32:06.311Z] 9712f1f96733: Pull complete [2021-01-14T00:32:09.660Z] 63f879dbbcfc: Pull complete [2021-01-14T00:32:16.326Z] 0d9ebad4ef96: Pull complete [2021-01-14T00:32:17.281Z] e9a5061849ea: Pull complete [2021-01-14T00:32:17.281Z] d747dcd14b5f: Pull complete [2021-01-14T00:32:19.884Z] 2de7ff778b66: Pull complete [2021-01-14T00:32:19.884Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-14T00:32:19.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-14T00:32:19.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-14T00:32:20.137Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:32:20.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-14T00:32:24.235Z] $ docker top 8b098566b62f133b175c7e02cdb7c9c93621680a64efe1c28e7e7ef58ac90798 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-14T00:32:24.654Z] provisioning config files... [2021-01-14T00:32:24.680Z] copy managed file [sigul-config] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config3752768340326033533tmp [2021-01-14T00:32:24.717Z] copy managed file [sigul-password] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config569177415082017859tmp [2021-01-14T00:32:24.788Z] copy managed file [sigul-pki] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config2552005661060645717tmp [Pipeline] { [Pipeline] echo [2021-01-14T00:32:24.939Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:32:26.476Z] ---> sigul-configuration.sh [2021-01-14T00:32:26.476Z] gpg: directory `/root/.gnupg' created [2021-01-14T00:32:26.476Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-14T00:32:26.476Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-14T00:32:26.477Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-14T00:32:26.477Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-14T00:32:26.477Z] gpg: CAST5 encrypted data [2021-01-14T00:32:26.477Z] gpg: encrypted with 1 passphrase [2021-01-14T00:32:26.477Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-14T00:32:26.825Z] + mkdir /home/jenkins [2021-01-14T00:32:26.825Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-14T00:32:27.148Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-14T00:32:27.195Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:32:27.541Z] ---> sigul-install.sh [2021-01-14T00:32:32.855Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-14T00:32:33.195Z] + git tag --list [2021-01-14T00:32:33.196Z] v0.1.0 [2021-01-14T00:32:33.196Z] v0.1.1 [2021-01-14T00:32:33.196Z] v1.0.0 [2021-01-14T00:32:33.196Z] v1.1.0 [2021-01-14T00:32:33.196Z] v1.2.0 [2021-01-14T00:32:33.196Z] v1.2.1-dev.1 [2021-01-14T00:32:33.196Z] v1.2.1-dev.10 [2021-01-14T00:32:33.196Z] v1.2.1-dev.11 [2021-01-14T00:32:33.196Z] v1.2.1-dev.12 [2021-01-14T00:32:33.196Z] v1.2.1-dev.13 [2021-01-14T00:32:33.196Z] v1.2.1-dev.14 [2021-01-14T00:32:33.196Z] v1.2.1-dev.15 [2021-01-14T00:32:33.196Z] v1.2.1-dev.16 [2021-01-14T00:32:33.196Z] v1.2.1-dev.17 [2021-01-14T00:32:33.196Z] v1.2.1-dev.18 [2021-01-14T00:32:33.196Z] v1.2.1-dev.19 [2021-01-14T00:32:33.196Z] v1.2.1-dev.2 [2021-01-14T00:32:33.196Z] v1.2.1-dev.20 [2021-01-14T00:32:33.196Z] v1.2.1-dev.21 [2021-01-14T00:32:33.196Z] v1.2.1-dev.22 [2021-01-14T00:32:33.196Z] v1.2.1-dev.23 [2021-01-14T00:32:33.196Z] v1.2.1-dev.24 [2021-01-14T00:32:33.196Z] v1.2.1-dev.25 [2021-01-14T00:32:33.196Z] v1.2.1-dev.26 [2021-01-14T00:32:33.196Z] v1.2.1-dev.27 [2021-01-14T00:32:33.196Z] v1.2.1-dev.28 [2021-01-14T00:32:33.196Z] v1.2.1-dev.29 [2021-01-14T00:32:33.196Z] v1.2.1-dev.3 [2021-01-14T00:32:33.196Z] v1.2.1-dev.30 [2021-01-14T00:32:33.196Z] v1.2.1-dev.31 [2021-01-14T00:32:33.196Z] v1.2.1-dev.32 [2021-01-14T00:32:33.196Z] v1.2.1-dev.33 [2021-01-14T00:32:33.196Z] v1.2.1-dev.34 [2021-01-14T00:32:33.196Z] v1.2.1-dev.35 [2021-01-14T00:32:33.196Z] v1.2.1-dev.36 [2021-01-14T00:32:33.196Z] v1.2.1-dev.37 [2021-01-14T00:32:33.196Z] v1.2.1-dev.38 [2021-01-14T00:32:33.196Z] v1.2.1-dev.39 [2021-01-14T00:32:33.196Z] v1.2.1-dev.4 [2021-01-14T00:32:33.196Z] v1.2.1-dev.40 [2021-01-14T00:32:33.196Z] v1.2.1-dev.41 [2021-01-14T00:32:33.196Z] v1.2.1-dev.42 [2021-01-14T00:32:33.196Z] v1.2.1-dev.43 [2021-01-14T00:32:33.196Z] v1.2.1-dev.44 [2021-01-14T00:32:33.196Z] v1.2.1-dev.45 [2021-01-14T00:32:33.196Z] v1.2.1-dev.46 [2021-01-14T00:32:33.196Z] v1.2.1-dev.47 [2021-01-14T00:32:33.196Z] v1.2.1-dev.48 [2021-01-14T00:32:33.196Z] v1.2.1-dev.49 [2021-01-14T00:32:33.196Z] v1.2.1-dev.5 [2021-01-14T00:32:33.196Z] v1.2.1-dev.50 [2021-01-14T00:32:33.196Z] v1.2.1-dev.51 [2021-01-14T00:32:33.196Z] v1.2.1-dev.52 [2021-01-14T00:32:33.196Z] v1.2.1-dev.53 [2021-01-14T00:32:33.196Z] v1.2.1-dev.54 [2021-01-14T00:32:33.196Z] v1.2.1-dev.55 [2021-01-14T00:32:33.196Z] v1.2.1-dev.56 [2021-01-14T00:32:33.196Z] v1.2.1-dev.57 [2021-01-14T00:32:33.196Z] v1.2.1-dev.58 [2021-01-14T00:32:33.196Z] v1.2.1-dev.6 [2021-01-14T00:32:33.196Z] v1.2.1-dev.7 [2021-01-14T00:32:33.196Z] v1.2.1-dev.8 [2021-01-14T00:32:33.196Z] v1.2.1-dev.9 [2021-01-14T00:32:33.196Z] v1.3.0 [2021-01-14T00:32:33.196Z] v1.3.1-dev.1 [2021-01-14T00:32:33.196Z] v1.3.1-dev.10 [2021-01-14T00:32:33.196Z] v1.3.1-dev.11 [2021-01-14T00:32:33.196Z] v1.3.1-dev.12 [2021-01-14T00:32:33.196Z] v1.3.1-dev.13 [2021-01-14T00:32:33.196Z] v1.3.1-dev.14 [2021-01-14T00:32:33.196Z] v1.3.1-dev.15 [2021-01-14T00:32:33.196Z] v1.3.1-dev.16 [2021-01-14T00:32:33.196Z] v1.3.1-dev.17 [2021-01-14T00:32:33.196Z] v1.3.1-dev.2 [2021-01-14T00:32:33.196Z] v1.3.1-dev.3 [2021-01-14T00:32:33.196Z] v1.3.1-dev.4 [2021-01-14T00:32:33.196Z] v1.3.1-dev.5 [2021-01-14T00:32:33.196Z] v1.3.1-dev.6 [2021-01-14T00:32:33.196Z] v1.3.1-dev.7 [2021-01-14T00:32:33.196Z] v1.3.1-dev.8 [2021-01-14T00:32:33.196Z] v1.3.1-dev.9 [Pipeline] sh [2021-01-14T00:32:33.527Z] + lftools sign git-tag v0.0.0 [2021-01-14T00:32:34.919Z] Signing Git tag with Sigul... [2021-01-14T00:32:34.919Z] Signing v0.0.0 [2021-01-14T00:32:34.919Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v0.0.0'], return code 1, stdout , stderr [Pipeline] echo [2021-01-14T00:32:35.211Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:32:35.553Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-14T00:32:35.589Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-14T00:32:35.727Z] $ docker stop --time=1 8b098566b62f133b175c7e02cdb7c9c93621680a64efe1c28e7e7ef58ac90798 [2021-01-14T00:32:37.769Z] $ docker rm -f 8b098566b62f133b175c7e02cdb7c9c93621680a64efe1c28e7e7ef58ac90798 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:32:38.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:32:38.999Z] . [Pipeline] withDockerContainer [2021-01-14T00:32:39.128Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:32:39.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-14T00:32:39.869Z] $ docker top c8be501703f917102b66ea68b4b7af1b73b18f75c073abd4aee2c100bcfd1fdc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-14T00:32:40.340Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.1-dev.58|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-14T00:32:40.801Z] + git semver [Pipeline] } [2021-01-14T00:32:40.833Z] $ docker stop --time=1 c8be501703f917102b66ea68b4b7af1b73b18f75c073abd4aee2c100bcfd1fdc [2021-01-14T00:32:42.200Z] $ docker rm -f c8be501703f917102b66ea68b4b7af1b73b18f75c073abd4aee2c100bcfd1fdc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:32:42.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-14T00:32:42.836Z] . [Pipeline] withDockerContainer [2021-01-14T00:32:42.965Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:32:43.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-14T00:32:43.682Z] $ docker top 6fcc811146bf621195b50cfe000cba84032fadbcb36eb8396c3cd9d44635daba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-14T00:32:44.116Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.1-dev.58|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-14T00:32:44.578Z] + git semver [Pipeline] } [2021-01-14T00:32:44.629Z] $ docker stop --time=1 6fcc811146bf621195b50cfe000cba84032fadbcb36eb8396c3cd9d44635daba [2021-01-14T00:32:46.015Z] $ docker rm -f 6fcc811146bf621195b50cfe000cba84032fadbcb36eb8396c3cd9d44635daba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2021-01-14T00:32:47.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:32:48.566Z] ---> package-listing.sh [2021-01-14T00:32:48.566Z] ++ facter osfamily [2021-01-14T00:32:48.566Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-14T00:32:48.566Z] + OS_FAMILY=redhat [2021-01-14T00:32:48.567Z] + workspace=/w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-14T00:32:48.567Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-14T00:32:48.567Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-14T00:32:48.567Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-14T00:32:48.567Z] + PACKAGES=/tmp/packages_start.txt [2021-01-14T00:32:48.567Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-14T00:32:48.567Z] + PACKAGES=/tmp/packages_end.txt [2021-01-14T00:32:48.567Z] + case "${OS_FAMILY}" in [2021-01-14T00:32:48.567Z] + rpm -qa [2021-01-14T00:32:48.567Z] + sort [2021-01-14T00:32:53.888Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-14T00:32:53.888Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-14T00:32:53.888Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-14T00:32:53.888Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-14T00:32:53.888Z] + mkdir -p /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [2021-01-14T00:32:53.888Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [Pipeline] echo [2021-01-14T00:32:53.926Z] 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-14T00:32:54.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:32:54.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:32:54.586Z] [2021-01-14T00:32:54.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-14T00:32:54.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:32:54.986Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-14T00:32:54.986Z] df20fa9351a1: Pulling fs layer [2021-01-14T00:32:54.986Z] 36b3adc4ff6f: Pulling fs layer [2021-01-14T00:32:54.986Z] 8ad3a11d3b57: Pulling fs layer [2021-01-14T00:32:54.986Z] 46f8f816bc3b: Pulling fs layer [2021-01-14T00:32:54.986Z] 93b61091891f: Pulling fs layer [2021-01-14T00:32:54.986Z] 93b9cdb0e59b: Pulling fs layer [2021-01-14T00:32:54.986Z] 5e14af77c1be: Pulling fs layer [2021-01-14T00:32:54.986Z] 01666e4c0597: Pulling fs layer [2021-01-14T00:32:54.986Z] aa168da1d23b: Pulling fs layer [2021-01-14T00:32:54.986Z] 93b9cdb0e59b: Waiting [2021-01-14T00:32:54.986Z] 5e14af77c1be: Waiting [2021-01-14T00:32:54.986Z] 01666e4c0597: Waiting [2021-01-14T00:32:54.986Z] aa168da1d23b: Waiting [2021-01-14T00:32:54.987Z] 46f8f816bc3b: Waiting [2021-01-14T00:32:54.987Z] 93b61091891f: Waiting [2021-01-14T00:32:54.987Z] 36b3adc4ff6f: Verifying Checksum [2021-01-14T00:32:54.987Z] 36b3adc4ff6f: Download complete [2021-01-14T00:32:54.987Z] 46f8f816bc3b: Verifying Checksum [2021-01-14T00:32:54.987Z] 46f8f816bc3b: Download complete [2021-01-14T00:32:55.248Z] 93b61091891f: Verifying Checksum [2021-01-14T00:32:55.248Z] 93b61091891f: Download complete [2021-01-14T00:32:55.248Z] 93b9cdb0e59b: Verifying Checksum [2021-01-14T00:32:55.248Z] 93b9cdb0e59b: Download complete [2021-01-14T00:32:55.248Z] 5e14af77c1be: Verifying Checksum [2021-01-14T00:32:55.248Z] 5e14af77c1be: Download complete [2021-01-14T00:32:55.248Z] 01666e4c0597: Download complete [2021-01-14T00:32:55.248Z] 8ad3a11d3b57: Verifying Checksum [2021-01-14T00:32:55.248Z] 8ad3a11d3b57: Download complete [2021-01-14T00:32:55.526Z] df20fa9351a1: Verifying Checksum [2021-01-14T00:32:55.526Z] df20fa9351a1: Download complete [2021-01-14T00:32:56.107Z] df20fa9351a1: Pull complete [2021-01-14T00:32:56.404Z] 36b3adc4ff6f: Pull complete [2021-01-14T00:32:57.355Z] aa168da1d23b: Download complete [2021-01-14T00:32:57.933Z] 8ad3a11d3b57: Pull complete [2021-01-14T00:32:57.934Z] 46f8f816bc3b: Pull complete [2021-01-14T00:32:58.199Z] 93b61091891f: Pull complete [2021-01-14T00:32:58.461Z] 93b9cdb0e59b: Pull complete [2021-01-14T00:32:58.461Z] 5e14af77c1be: Pull complete [2021-01-14T00:32:58.724Z] 01666e4c0597: Pull complete [2021-01-14T00:33:06.928Z] aa168da1d23b: Pull complete [2021-01-14T00:33:06.928Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-14T00:33:06.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-14T00:33:06.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-14T00:33:07.165Z] prd-centos7-docker-4c-2g-20065 does not seem to be running inside a container [2021-01-14T00:33:07.220Z] $ 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-14T00:33:10.668Z] $ docker top 5d74c566ccd7a073852a4615728538b6073bfd98d4529649fda27aeb44a30a13 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-14T00:33:11.207Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-14T00:33:11.614Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-14T00:33:11.994Z] + ls /var/log/sa-host [2021-01-14T00:33:11.995Z] + sadf -c /var/log/sa-host/sa14 [2021-01-14T00:33:11.995Z] file_magic: OK [2021-01-14T00:33:11.995Z] HZ: Using current value: 100 [2021-01-14T00:33:11.995Z] file_header: OK [2021-01-14T00:33:11.995Z] 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 [2021-01-14T00:33:11.995Z] Statistics: [2021-01-14T00:33:11.995Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-14T00:33:11.995Z] File successfully converted to sysstat format version 12.2.1 [2021-01-14T00:33:11.995Z] + sadf -c /var/log/sa-host/sa23 [2021-01-14T00:33:11.995Z] file_magic: OK [2021-01-14T00:33:11.995Z] HZ: Using current value: 100 [2021-01-14T00:33:11.995Z] file_header: OK [2021-01-14T00:33:11.995Z] 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 [2021-01-14T00:33:11.995Z] Statistics: [2021-01-14T00:33:11.995Z] Hnuu...uuuununununu... [2021-01-14T00:33:11.995Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-14T00:33:12.331Z] provisioning config files... [2021-01-14T00:33:12.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config8982540509760295710tmp [Pipeline] { [Pipeline] echo [2021-01-14T00:33:12.493Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:33:12.824Z] ---> create-netrc.sh [Pipeline] } [2021-01-14T00:33:12.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-14T00:33:12.999Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:33:13.334Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-14T00:33:13.364Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:33:13.695Z] ---> sudo-logs.sh [2021-01-14T00:33:13.695Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-14T00:33:13.728Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:33:14.064Z] ---> job-cost.sh [2021-01-14T00:33:14.064Z] lf-activate-venv: SKIPPING [2021-01-14T00:33:14.064Z] INFO: No Stack... [2021-01-14T00:33:15.013Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-14T00:33:15.589Z] INFO: Archiving Costs [Pipeline] echo [2021-01-14T00:33:15.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-14T00:33:15.962Z] ---> logs-deploy.sh [2021-01-14T00:33:15.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/hanoi/1 [2021-01-14T00:33:15.962Z] INFO: archiving workspace using pattern(s): [2021-01-14T00:33:17.884Z] Archives upload complete. [2021-01-14T00:33:17.884Z] INFO: archiving logs to Nexus