Pull request #798 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac+bacc8bdf9074b154c54986d9e77de2634ac23145 (90a8a9a07cdc3095ad02bf2ea60a91ddba8216d8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1931 in /w/workspace/ndry_app-functions-sdk-go_PR-798 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-798 # 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/pull/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bacc8bdf9074b154c54986d9e77de2634ac23145 into PR head commit 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac Merge succeeded, producing 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac Checking out Revision 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac (PR-798) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:03:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:03:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:03:11 ========================================================= 00:03:11 EdgeX Global Pipelines Version Info 00:03:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e9a5a7384d577a181f8998372f5c31e977b8d325 # timeout=10 00:03:13 ------------------- 00:03:13 stable info: 00:03:13 ------------------- 00:03:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:13 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:03:13 Message: update stable to v1.0.186 00:03:15 ------------------- 00:03:15 experimental info: 00:03:15 ------------------- 00:03:15 Commited By: **** collab-it+edgex@linuxfoundation.org 00:03:15 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 00:03:15 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:03:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-798 [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-798 [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-798 [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ee369d [Pipeline] echo 00:03:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:16 + git log --format=format:%s -1 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac [Pipeline] echo 00:03:17 GIT_COMMIT: 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 00:03:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:03:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:17 00:03:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:03:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:18 latest: Pulling from edgex-devops/git-semver 00:03:18 31603596830f: Pulling fs layer 00:03:18 2a8b12db71e7: Pulling fs layer 00:03:18 6ca5941a6612: Pulling fs layer 00:03:18 ecc8261a40a4: Pulling fs layer 00:03:18 ecc8261a40a4: Waiting 00:03:18 2a8b12db71e7: Verifying Checksum 00:03:18 2a8b12db71e7: Download complete 00:03:18 31603596830f: Download complete 00:03:18 ecc8261a40a4: Verifying Checksum 00:03:18 ecc8261a40a4: Download complete 00:03:18 6ca5941a6612: Verifying Checksum 00:03:18 6ca5941a6612: Download complete 00:03:19 31603596830f: Pull complete 00:03:19 2a8b12db71e7: Pull complete 00:03:20 6ca5941a6612: Pull complete 00:03:21 ecc8261a40a4: Pull complete 00:03:21 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:03:21 prd-centos7-docker-4c-2g-1931 does not seem to be running inside a container 00:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-798 -v /w/workspace/ndry_app-functions-sdk-go_PR-798:/w/workspace/ndry_app-functions-sdk-go_PR-798:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-798@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:03:23 $ docker top 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:23 [ssh-agent] Looking for ssh-agent implementation... 00:03:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:24 $ docker exec 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 ssh-agent 00:03:24 SSH_AUTH_SOCK=/tmp/ssh-FEtR19BkXQ2a/agent.12 00:03:24 SSH_AGENT_PID=17 00:03:24 Running ssh-add (command line suppressed) 00:03:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/private_key_8472778882349181100.key (/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/private_key_8472778882349181100.key) 00:03:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:24 + git tag --points-at HEAD [Pipeline] } 00:03:24 $ docker exec --env ******** --env ******** 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 ssh-agent -k 00:03:25 unset SSH_AUTH_SOCK; 00:03:25 unset SSH_AGENT_PID; 00:03:25 echo Agent pid 17 killed; 00:03:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:03:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:25 [ssh-agent] Looking for ssh-agent implementation... 00:03:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:25 $ docker exec 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 ssh-agent 00:03:25 SSH_AUTH_SOCK=/tmp/ssh-8D5C0dIm9RLl/agent.48 00:03:25 SSH_AGENT_PID=54 00:03:25 Running ssh-add (command line suppressed) 00:03:25 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/private_key_6545071077388914980.key (/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/private_key_6545071077388914980.key) 00:03:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:26 + git semver init 00:03:26 # -> Open(): unable to determine branch for HEAD 00:03:26 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-798/.git 00:03:26 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-798 00:03:26 # $SEMVER_REMOTE_NAME = origin 00:03:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:03:26 # $SEMVER_USER_NAME = edgex-jenkins 00:03:26 # $SEMVER_BRANCH = PR-798 00:03:26 # $SEMVER_TEMP = /tmp/semver-666420890 00:03:26 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:03:29 # '/tmp/semver-666420890' -> '/w/workspace/ndry_app-functions-sdk-go_PR-798/.semver' 00:03:29 # -> Force: false 00:03:29 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-798/.semver [Pipeline] } 00:03:29 $ docker exec --env ******** --env ******** 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 ssh-agent -k 00:03:29 unset SSH_AUTH_SOCK; 00:03:29 unset SSH_AGENT_PID; 00:03:29 echo Agent pid 54 killed; 00:03:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:03:30 + git semver [Pipeline] } 00:03:30 $ docker stop --time=1 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 00:03:31 $ docker rm -f 9af3209738d863e5e8486eb5439d77a29389a0b8144f7fa00c06ada49b5a0f98 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:03:32 Stashed 1 file(s) [Pipeline] echo 00:03:32 [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 00:03:47 Still waiting to schedule task 00:03:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:03:47 Still waiting to schedule task 00:03:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:07:11 Running on prd-centos7-docker-4c-2g-1933 in /w/workspace/ndry_app-functions-sdk-go_PR-798 [Pipeline] { [Pipeline] ws 00:07:11 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 00:07:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1934 in /w/workspace/ndry_app-functions-sdk-go_PR-798 [Pipeline] { [Pipeline] ws 00:07:16 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 00:07:22 using credential edgex-jenkins-ssh 00:07:22 Cloning the remote Git repository 00:07:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:22 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 00:07:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:22 > git --version # timeout=10 00:07:22 > git --version # 'git version 2.17.1' 00:07:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:23 using credential edgex-jenkins-ssh 00:07:23 Cloning the remote Git repository 00:07:23 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:23 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 00:07:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:23 > git --version # timeout=10 00:07:23 > git --version # 'git version 2.24.3' 00:07:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:26 Merging remotes/origin/master commit bacc8bdf9074b154c54986d9e77de2634ac23145 into PR head commit 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac 00:07:26 Merge succeeded, producing 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac 00:07:26 Checking out Revision 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac (PR-798) 00:07:26 Merging remotes/origin/master commit bacc8bdf9074b154c54986d9e77de2634ac23145 into PR head commit 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac 00:07:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:07:26 > git config core.sparsecheckout # timeout=10 00:07:26 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 00:07:26 > git remote # timeout=10 00:07:26 > git config --get remote.origin.url # timeout=10 00:07:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:26 > git merge bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 00:07:26 > git rev-parse HEAD^{commit} # timeout=10 00:07:26 > git config core.sparsecheckout # timeout=10 00:07:26 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 00:07:27 Merge succeeded, producing 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac 00:07:27 Checking out Revision 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac (PR-798) 00:07:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/798/head:refs/remotes/origin/PR-798 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:07:26 > git config core.sparsecheckout # timeout=10 00:07:26 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 00:07:27 > git remote # timeout=10 00:07:27 > git config --get remote.origin.url # timeout=10 00:07:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:27 > git merge bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 00:07:27 > git rev-parse HEAD^{commit} # timeout=10 00:07:27 > git config core.sparsecheckout # timeout=10 00:07:27 > git checkout -f 3ee369d4212b95b6e1dd54ac817a7bb96395a7ac # timeout=10 00:07:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { 00:07:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:07:33 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 00:07:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 00:07:33 + sudo service docker restart 00:07:33 + true 00:07:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:07:33 + sudo service docker restart 00:07:33 + true 00:07:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:07:36 ========================================================= 00:07:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:07:36 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] unstash 00:07:36 + 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 . [Pipeline] echo 00:07:36 ========================================================= 00:07:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:07:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:07:37 + 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 . 00:07:37 Sending build context to Docker daemon 19.48MB 00:07:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:07:37 Step 2/8 : FROM ${BASE} 00:07:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:07:37 5f621e34cdf4: Pulling fs layer 00:07:37 a4357932f1b6: Pulling fs layer 00:07:37 18c013af1878: Pulling fs layer 00:07:37 00ac8860ef70: Pulling fs layer 00:07:37 63d7cb157983: Pulling fs layer 00:07:37 b116817d02f9: Pulling fs layer 00:07:37 745a02a5169b: Pulling fs layer 00:07:37 00ac8860ef70: Waiting 00:07:37 745a02a5169b: Waiting 00:07:37 63d7cb157983: Waiting 00:07:37 b116817d02f9: Waiting 00:07:38 18c013af1878: Download complete 00:07:38 a4357932f1b6: Download complete 00:07:38 63d7cb157983: Verifying Checksum 00:07:38 63d7cb157983: Download complete 00:07:38 b116817d02f9: Download complete 00:07:38 5f621e34cdf4: Verifying Checksum 00:07:38 5f621e34cdf4: Download complete 00:07:38 Sending build context to Docker daemon 19.48MB 00:07:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:07:38 Step 2/8 : FROM ${BASE} 00:07:38 5f621e34cdf4: Pull complete 00:07:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:07:39 188c0c94c7c5: Pulling fs layer 00:07:39 0ef7d3d256c8: Pulling fs layer 00:07:39 de9db76c5a1d: Pulling fs layer 00:07:39 bca2f99d35d6: Pulling fs layer 00:07:39 93359f2a8cfa: Pulling fs layer 00:07:39 7c6f9722023f: Pulling fs layer 00:07:39 a35cf1a2eb13: Pulling fs layer 00:07:39 bca2f99d35d6: Waiting 00:07:39 93359f2a8cfa: Waiting 00:07:39 7c6f9722023f: Waiting 00:07:39 a35cf1a2eb13: Waiting 00:07:39 de9db76c5a1d: Verifying Checksum 00:07:39 de9db76c5a1d: Download complete 00:07:39 0ef7d3d256c8: Verifying Checksum 00:07:39 0ef7d3d256c8: Download complete 00:07:39 93359f2a8cfa: Verifying Checksum 00:07:39 93359f2a8cfa: Download complete 00:07:39 7c6f9722023f: Verifying Checksum 00:07:39 7c6f9722023f: Download complete 00:07:39 a4357932f1b6: Pull complete 00:07:39 188c0c94c7c5: Verifying Checksum 00:07:39 188c0c94c7c5: Download complete 00:07:39 18c013af1878: Pull complete 00:07:39 188c0c94c7c5: Pull complete 00:07:40 0ef7d3d256c8: Pull complete 00:07:40 de9db76c5a1d: Pull complete 00:07:41 745a02a5169b: Verifying Checksum 00:07:41 745a02a5169b: Download complete 00:07:42 00ac8860ef70: Verifying Checksum 00:07:42 00ac8860ef70: Download complete 00:07:43 a35cf1a2eb13: Verifying Checksum 00:07:43 a35cf1a2eb13: Download complete 00:07:43 bca2f99d35d6: Verifying Checksum 00:07:43 bca2f99d35d6: Download complete 00:07:52 00ac8860ef70: Pull complete 00:07:52 63d7cb157983: Pull complete 00:07:53 b116817d02f9: Pull complete 00:07:56 bca2f99d35d6: Pull complete 00:07:56 93359f2a8cfa: Pull complete 00:07:56 7c6f9722023f: Pull complete 00:07:57 745a02a5169b: Pull complete 00:07:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:07:57 ---> b7e6874047d6 00:07:57 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:07:57 20.10.0: Pulling from library/docker 00:07:57 a3cc7d3b244e: Pulling fs layer 00:07:57 02a3295e0d61: Pulling fs layer 00:07:57 0f4f2e6d8100: Pulling fs layer 00:07:57 330b718f631f: Pulling fs layer 00:07:57 a93816041522: Pulling fs layer 00:07:57 bdb6da89ff94: Pulling fs layer 00:07:57 2a70c0c122f4: Pulling fs layer 00:07:57 a93816041522: Waiting 00:07:57 bdb6da89ff94: Waiting 00:07:57 2a70c0c122f4: Waiting 00:07:57 330b718f631f: Waiting 00:07:57 0f4f2e6d8100: Download complete 00:07:57 02a3295e0d61: Verifying Checksum 00:07:57 02a3295e0d61: Download complete 00:07:57 a3cc7d3b244e: Verifying Checksum 00:07:57 a3cc7d3b244e: Download complete 00:07:57 a93816041522: Verifying Checksum 00:07:57 a93816041522: Download complete 00:07:57 bdb6da89ff94: Verifying Checksum 00:07:57 bdb6da89ff94: Download complete 00:07:57 2a70c0c122f4: Verifying Checksum 00:07:57 2a70c0c122f4: Download complete 00:07:57 a3cc7d3b244e: Pull complete 00:07:58 02a3295e0d61: Pull complete 00:07:58 330b718f631f: Verifying Checksum 00:07:58 330b718f631f: Download complete 00:07:59 0f4f2e6d8100: Pull complete 00:08:02 a35cf1a2eb13: Pull complete 00:08:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:08:02 ---> a62c8e92a672 00:08:02 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:08:02 20.10.0: Pulling from library/docker 00:08:02 05e7bc50f07f: Pulling fs layer 00:08:02 6db28d0fdbf6: Pulling fs layer 00:08:02 292df0bc6bf3: Pulling fs layer 00:08:02 2e060f4bd70b: Pulling fs layer 00:08:02 80e8d568a223: Pulling fs layer 00:08:02 8dc6ef1a942a: Pulling fs layer 00:08:02 2312dd95470a: Pulling fs layer 00:08:02 80e8d568a223: Waiting 00:08:02 2312dd95470a: Waiting 00:08:02 8dc6ef1a942a: Waiting 00:08:02 2e060f4bd70b: Waiting 00:08:02 292df0bc6bf3: Download complete 00:08:02 6db28d0fdbf6: Verifying Checksum 00:08:02 6db28d0fdbf6: Download complete 00:08:02 80e8d568a223: Verifying Checksum 00:08:02 80e8d568a223: Download complete 00:08:02 8dc6ef1a942a: Verifying Checksum 00:08:02 8dc6ef1a942a: Download complete 00:08:02 05e7bc50f07f: Verifying Checksum 00:08:02 05e7bc50f07f: Download complete 00:08:02 2312dd95470a: Verifying Checksum 00:08:02 2312dd95470a: Download complete 00:08:03 05e7bc50f07f: Pull complete 00:08:03 330b718f631f: Pull complete 00:08:03 a93816041522: Pull complete 00:08:03 bdb6da89ff94: Pull complete 00:08:03 2a70c0c122f4: Pull complete 00:08:03 6db28d0fdbf6: Pull complete 00:08:04 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:08:04 Status: Downloaded newer image for docker:20.10.0 00:08:04 292df0bc6bf3: Pull complete 00:08:04 2e060f4bd70b: Verifying Checksum 00:08:04 2e060f4bd70b: Download complete 00:08:10 ---> 910062843b81 00:08:10 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:08:10 ---> Running in 8d4d52ef7e70 00:08:10 Removing intermediate container 8d4d52ef7e70 00:08:10 ---> b271ebd3a460 00:08:10 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:08:10 ---> Running in 693956e38209 00:08:11 2e060f4bd70b: Pull complete 00:08:11 80e8d568a223: Pull complete 00:08:11 8dc6ef1a942a: Pull complete 00:08:11 2312dd95470a: Pull complete 00:08:11 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:08:11 Status: Downloaded newer image for docker:20.10.0 00:08:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:08:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:08:13 (1/5) Installing libsodium (1.0.18-r0) 00:08:13 (2/5) Installing libzmq (4.3.3-r0) 00:08:13 (3/5) Installing pkgconf (1.7.2-r0) 00:08:13 (4/5) Installing libsodium-dev (1.0.18-r0) 00:08:13 (5/5) Installing zeromq-dev (4.3.3-r0) 00:08:13 Executing busybox-1.31.1-r19.trigger 00:08:13 OK: 144 MiB in 44 packages 00:08:14 ---> 7e28d450043f 00:08:14 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:08:14 ---> Running in eaf180428aff 00:08:14 Removing intermediate container eaf180428aff 00:08:14 ---> d158a554825f 00:08:14 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:08:14 ---> Running in 7c37f260948e 00:08:15 Removing intermediate container 693956e38209 00:08:15 ---> 04f571b50bab 00:08:15 Step 6/8 : WORKDIR /build 00:08:15 ---> Running in 8b5d086c7604 00:08:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:08:15 Removing intermediate container 8b5d086c7604 00:08:15 ---> 66d0e302915f 00:08:15 Step 7/8 : COPY go.mod . 00:08:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:08:16 ---> 53974b9e11fc 00:08:16 Step 8/8 : RUN go mod download 00:08:16 ---> Running in 6de9ca35ac09 00:08:16 (1/5) Installing libsodium (1.0.18-r0) 00:08:17 (2/5) Installing libzmq (4.3.3-r0) 00:08:17 (3/5) Installing pkgconf (1.7.2-r0) 00:08:17 (4/5) Installing libsodium-dev (1.0.18-r0) 00:08:17 (5/5) Installing zeromq-dev (4.3.3-r0) 00:08:17 Executing busybox-1.31.1-r19.trigger 00:08:17 OK: 167 MiB in 44 packages 00:08:18 Removing intermediate container 7c37f260948e 00:08:18 ---> 0025afbbe8d9 00:08:18 Step 6/8 : WORKDIR /build 00:08:18 ---> Running in ca9f4fef3b7b 00:08:19 Removing intermediate container ca9f4fef3b7b 00:08:19 ---> a61ca3f0e254 00:08:19 Step 7/8 : COPY go.mod . 00:08:19 ---> 3e2e5ee94ae1 00:08:19 Step 8/8 : RUN go mod download 00:08:19 ---> Running in e859da91f4ac 00:08:43 Removing intermediate container 6de9ca35ac09 00:08:43 ---> 5429ee7f29ae 00:08:43 Successfully built 5429ee7f29ae 00:08:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:08:43 + docker inspect -f . ci-base-image-arm64 00:08:43 . [Pipeline] withDockerContainer 00:08:44 prd-ubuntu18.04-docker-arm64-4c-16g-1934 does not seem to be running inside a container 00:08:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:45 $ docker top ab6663e33f41a05bd820249d63ecc8c78138e4d9ce397a360113f99fd31b1142 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:46 + go version 00:08:46 go version go1.15.5 linux/arm64 [Pipeline] } 00:08:46 $ docker stop --time=1 ab6663e33f41a05bd820249d63ecc8c78138e4d9ce397a360113f99fd31b1142 00:08:48 $ docker rm -f ab6663e33f41a05bd820249d63ecc8c78138e4d9ce397a360113f99fd31b1142 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:49 + docker inspect -f . ci-base-image-arm64 00:08:49 . [Pipeline] withDockerContainer 00:08:49 prd-ubuntu18.04-docker-arm64-4c-16g-1934 does not seem to be running inside a container 00:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:51 $ docker top 26a971cdac5cc77e3d0739c56999ccd2414bdd79ab35850cd2d33dbb877b359f -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:52 + make test 00:08:52 make -C ./app-service-template build 00:08:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:08:52 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:08:59 Removing intermediate container e859da91f4ac 00:08:59 ---> ab4c8089241f 00:08:59 Successfully built ab4c8089241f 00:08:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:08:59 + docker inspect -f . ci-base-image-x86_64 00:08:59 . [Pipeline] withDockerContainer 00:08:59 prd-centos7-docker-4c-2g-1933 does not seem to be running inside a container 00:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:09:01 $ docker top 266039997b1874ed06ccd74a8778ccfcd82d36cc924f42cf41aa9ca55baa2d7c -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:02 + go version 00:09:02 go version go1.15.5 linux/amd64 [Pipeline] } 00:09:02 $ docker stop --time=1 266039997b1874ed06ccd74a8778ccfcd82d36cc924f42cf41aa9ca55baa2d7c 00:09:05 $ docker rm -f 266039997b1874ed06ccd74a8778ccfcd82d36cc924f42cf41aa9ca55baa2d7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:09:06 + docker inspect -f . ci-base-image-x86_64 00:09:06 . [Pipeline] withDockerContainer 00:09:06 prd-centos7-docker-4c-2g-1933 does not seem to be running inside a container 00:09:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:09:08 $ docker top 8cd9b710b36d049968c5b42cf8c32528c65cc7d64710ddd2a61d27cd6254a89f -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:09 + make test 00:09:09 make -C ./app-service-template build 00:09:09 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:09:09 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:09:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:09:31 make -C ./app-service-template test 00:09:31 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:09:31 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:09:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:09:43 make -C ./app-service-template test 00:09:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:09:43 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:09:53 ok new-app-service 0.038s coverage: 47.8% of statements 00:09:53 ? new-app-service/config [no test files] 00:09:53 ok new-app-service/functions 0.030s 00:09:53 CGO_ENABLED=1 go vet ./... 00:09:58 ok new-app-service 0.022s coverage: 47.8% of statements 00:09:58 ? new-app-service/config [no test files] 00:09:58 ok new-app-service/functions 0.041s 00:09:58 CGO_ENABLED=1 go vet ./... 00:10:01 gofmt -l . 00:10:01 [ "`gofmt -l .`" = "" ] 00:10:01 ./bin/test-go-mod-tidy.sh 00:10:02 ./bin/test-attribution-txt.sh 00:10:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:10:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:10:04 gofmt -l . 00:10:04 [ "`gofmt -l .`" = "" ] 00:10:04 ./bin/test-go-mod-tidy.sh 00:10:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:10:05 ./bin/test-attribution-txt.sh 00:10:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 00:10:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:10:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:10:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.085s coverage: 55.8% of statements 00:10:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.028s coverage: 92.5% of statements 00:10:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:10:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.095s coverage: 61.5% of statements 00:10:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:10:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.053s 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.079s coverage: 55.8% of statements 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 92.5% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.5% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.024s 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.072s coverage: 75.4% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.032s coverage: 97.0% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.058s coverage: 10.5% of statements 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.140s coverage: 75.4% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.095s coverage: 97.0% of statements 00:10:15 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:10:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.026s coverage: 10.5% of statements 00:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.828s coverage: 78.4% of statements 00:10:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 18.4% of statements 00:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.032s coverage: 27.3% of statements 00:10:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:10:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.030s coverage: 71.7% of statements 00:10:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.896s coverage: 78.4% of statements 00:10:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:10:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.058s coverage: 18.4% of statements 00:10:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.023s coverage: 27.3% of statements 00:10:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:10:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:10:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.108s coverage: 71.7% of statements 00:10:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements 00:10:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 00:10:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:10:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.108s coverage: 81.9% of statements 00:10:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.126s coverage: 94.4% of statements 00:10:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:10:47 gofmt -l . 00:10:47 [ "`gofmt -l .`" = "" ] 00:10:47 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:10:48 $ docker stop --time=1 8cd9b710b36d049968c5b42cf8c32528c65cc7d64710ddd2a61d27cd6254a89f 00:10:49 gofmt -l . 00:10:49 [ "`gofmt -l .`" = "" ] 00:10:49 ./app-service-template/bin/test-go-mod-tidy.sh 00:10:50 $ docker rm -f 8cd9b710b36d049968c5b42cf8c32528c65cc7d64710ddd2a61d27cd6254a89f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 00:10:50 $ docker stop --time=1 26a971cdac5cc77e3d0739c56999ccd2414bdd79ab35850cd2d33dbb877b359f 00:10:50 + sudo chown -R jenkins:jenkins . 00:10:52 $ docker rm -f 26a971cdac5cc77e3d0739c56999ccd2414bdd79ab35850cd2d33dbb877b359f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] stash 00:10:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:53 Warning: overwriting stash ‘coverage-report’ 00:10:54 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:10:54 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage 00:10:54 ---> job-cost.sh 00:10:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6k15 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:10:55 ---> job-cost.sh 00:10:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iz9X 00:11:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:11:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:12:00 lf-activate-venv(): INFO: Adding /tmp/venv-6k15/bin to PATH 00:12:00 INFO: No Stack... 00:12:00 INFO: Retrieving Pricing Info for: v1-standard-2 00:12:00 INFO: Archiving Costs [Pipeline] sh 00:12:01 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 00:12:01 + cut -d, -f6 [Pipeline] lock 00:12:01 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] 00:12:01 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] did not exist. Created. 00:12:01 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:01 + echo total: 0.029999999329447746 [Pipeline] stash 00:12:01 Stashed 1 file(s) [Pipeline] } 00:12:01 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:12:55 lf-activate-venv(): INFO: Adding /tmp/venv-iz9X/bin to PATH 00:12:55 INFO: No Stack... 00:12:55 INFO: Retrieving Pricing Info for: lf-standard-4 00:12:55 INFO: Archiving Costs [Pipeline] sh 00:12:56 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 00:12:56 + cut -d, -f6 [Pipeline] lock 00:12:56 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] 00:12:56 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] did not exist. Created. 00:12:56 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:56 /w/workspace/app-functions-sdk-go/7@tmp/durable-7cfe8284/script.sh: 1: /w/workspace/app-functions-sdk-go/7@tmp/durable-7cfe8284/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:12:57 + echo total: 0.20999999344348907 [Pipeline] stash 00:12:57 Warning: overwriting stash ‘stack-cost’ 00:12:57 Stashed 1 file(s) [Pipeline] } 00:12:57 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-798-7-stack-cost] [Pipeline] // lock [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 00:12:57 provisioning config files... 00:12:57 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/config3370312849128274632tmp [Pipeline] { [Pipeline] sh 00:12:58 + set +x 00:12:58 + curl -s https://codecov.io/bash 00:12:58 + bash -s -- 00:12:58 00:12:58 _____ _ 00:12:58 / ____| | | 00:12:58 | | ___ __| | ___ ___ _____ __ 00:12:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:12:58 | |___| (_) | (_| | __/ (_| (_) \ V / 00:12:58 \_____\___/ \__,_|\___|\___\___/ \_/ 00:12:58 Bash-1.0.2 00:12:58 00:12:58 00:12:58 ==> git version 2.24.3 found 00:12:58 ==> 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 00:12:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:12:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:12:58 ==> Jenkins CI detected. 00:12:58 project root: . 00:12:58 --> token set from env 00:12:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:12:58 ==> Running gcov in . (disable via -X gcov) 00:12:58 ==> Python coveragepy not found 00:12:58 ==> Searching for coverage reports in: 00:12:58 + . 00:12:58 -> Found 2 reports 00:12:58 ==> Detecting git/mercurial file structure 00:12:58 ==> Reading reports 00:12:58 + ./app-service-template/coverage.out bytes=1055 00:12:58 + ./coverage.out bytes=86827 00:12:58 ==> Appending adjustments 00:12:58 https://docs.codecov.io/docs/fixing-reports 00:12:58 + Found adjustments 00:12:58 ==> Gzipping contents 00:12:58 16K /tmp/codecov.9iemkH.gz 00:12:58 ==> Uploading reports 00:12:58 url: https://codecov.io 00:12:58 query: branch=PR-798&commit=3ee369d4212b95b6e1dd54ac817a7bb96395a7ac&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-798%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=798&job=&cmd_args= 00:12:58 -> Pinging Codecov 00:12:58 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-798&commit=3ee369d4212b95b6e1dd54ac817a7bb96395a7ac&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-798%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=798&job=&cmd_args= 00:12:59 -> Uploading to 00:12:59 https://storage.googleapis.com/codecov/v4/raw/2021-04-27/3D8B5DFFC46A037C893635FACE044666/3ee369d4212b95b6e1dd54ac817a7bb96395a7ac/e9ea7a52-01e5-418a-b3e5-553e5d03f34d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T001259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83d1f81d44d663ba10a95af3358f6adbdab4dd8246b620b349de5a6893bfc5f7 00:12:59 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:59 Dload Upload Total Spent Left Speed 00:12:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15290 0 0 100 15290 0 35489 --:--:-- --:--:-- --:--:-- 35475 00:12:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3ee369d4212b95b6e1dd54ac817a7bb96395a7ac [Pipeline] } 00:12:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:13:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:01 ---> package-listing.sh 00:13:01 ++ facter osfamily 00:13:01 ++ tr '[:upper:]' '[:lower:]' 00:13:01 + OS_FAMILY=redhat 00:13:01 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-798 00:13:01 + START_PACKAGES=/tmp/packages_start.txt 00:13:01 + END_PACKAGES=/tmp/packages_end.txt 00:13:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:01 + PACKAGES=/tmp/packages_start.txt 00:13:01 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-798 ']' 00:13:01 + PACKAGES=/tmp/packages_end.txt 00:13:01 + case "${OS_FAMILY}" in 00:13:01 + rpm -qa 00:13:01 + sort 00:13:06 + '[' -f /tmp/packages_start.txt ']' 00:13:06 + '[' -f /tmp/packages_end.txt ']' 00:13:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:06 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-798 ']' 00:13:06 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-798/archives/ 00:13:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-798/archives/ [Pipeline] echo 00:13:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-798/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:13:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:07 00:13:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:13:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:07 alpine: Pulling from edgex-lftools-log-publisher 00:13:07 df20fa9351a1: Pulling fs layer 00:13:07 36b3adc4ff6f: Pulling fs layer 00:13:07 8ad3a11d3b57: Pulling fs layer 00:13:07 46f8f816bc3b: Pulling fs layer 00:13:07 93b61091891f: Pulling fs layer 00:13:07 93b9cdb0e59b: Pulling fs layer 00:13:07 5e14af77c1be: Pulling fs layer 00:13:07 01666e4c0597: Pulling fs layer 00:13:07 aa168da1d23b: Pulling fs layer 00:13:07 46f8f816bc3b: Waiting 00:13:07 93b61091891f: Waiting 00:13:07 aa168da1d23b: Waiting 00:13:07 01666e4c0597: Waiting 00:13:07 93b9cdb0e59b: Waiting 00:13:07 5e14af77c1be: Waiting 00:13:07 36b3adc4ff6f: Download complete 00:13:08 df20fa9351a1: Verifying Checksum 00:13:08 df20fa9351a1: Download complete 00:13:08 46f8f816bc3b: Verifying Checksum 00:13:08 46f8f816bc3b: Download complete 00:13:08 93b9cdb0e59b: Verifying Checksum 00:13:08 93b9cdb0e59b: Download complete 00:13:08 5e14af77c1be: Verifying Checksum 00:13:08 5e14af77c1be: Download complete 00:13:08 01666e4c0597: Verifying Checksum 00:13:08 01666e4c0597: Download complete 00:13:08 93b61091891f: Verifying Checksum 00:13:08 93b61091891f: Download complete 00:13:08 8ad3a11d3b57: Verifying Checksum 00:13:08 8ad3a11d3b57: Download complete 00:13:08 df20fa9351a1: Pull complete 00:13:08 36b3adc4ff6f: Pull complete 00:13:09 8ad3a11d3b57: Pull complete 00:13:09 46f8f816bc3b: Pull complete 00:13:10 93b61091891f: Pull complete 00:13:10 93b9cdb0e59b: Pull complete 00:13:10 aa168da1d23b: Verifying Checksum 00:13:10 aa168da1d23b: Download complete 00:13:10 5e14af77c1be: Pull complete 00:13:10 01666e4c0597: Pull complete 00:13:19 aa168da1d23b: Pull complete 00:13:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:13:19 prd-centos7-docker-4c-2g-1931 does not seem to be running inside a container 00:13:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-798/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-798 -v /w/workspace/ndry_app-functions-sdk-go_PR-798:/w/workspace/ndry_app-functions-sdk-go_PR-798:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-798@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:13:22 $ docker top 922a65e71ca179e2e7b08deff1f3a88dfad735d4adfb24ac94091081f2fba931 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:23 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:23 + mkdir -p /var/log/sa [Pipeline] sh 00:13:23 + ls /var/log/sa-host 00:13:23 + sadf -c /var/log/sa-host/sa23 00:13:23 file_magic: OK 00:13:23 HZ: Using current value: 100 00:13:23 file_header: OK 00:13:23 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 00:13:23 Statistics: 00:13:23 Hnuu...uuuununununu... 00:13:23 File successfully converted to sysstat format version 12.2.1 00:13:23 + sadf -c /var/log/sa-host/sa27 00:13:23 file_magic: OK 00:13:23 HZ: Using current value: 100 00:13:23 file_header: OK 00:13:23 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 00:13:23 Statistics: 00:13:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:13:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:23 provisioning config files... 00:13:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-798@tmp/config8365405780172554887tmp [Pipeline] { [Pipeline] echo 00:13:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> create-netrc.sh [Pipeline] } 00:13:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:13:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> python-tools-install.sh [Pipeline] echo 00:13:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> sudo-logs.sh 00:13:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:25 ---> job-cost.sh 00:13:25 lf-activate-venv: SKIPPING 00:13:25 DEBUG: total: 0.20999999344348907 00:13:25 INFO: Retrieving Stack Cost... 00:13:27 INFO: Retrieving Pricing Info for: v1-standard-2 00:13:27 INFO: Archiving Costs [Pipeline] echo 00:13:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:28 ---> logs-deploy.sh 00:13:28 lf-activate-venv: SKIPPING 00:13:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-798/7 00:13:28 INFO: archiving workspace using pattern(s): 00:13:30 Archives upload complete. 00:13:30 INFO: archiving logs to Nexus