Pull request #753 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 8cb2c2d9868503c21227c21af08ffeee13723222+c6680ff4eecd40eccff17b1dbb2a870edc6ed4da (8c179e88ab9ce702253e69a7352fcd21d0cdbc35) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30977 in /w/workspace/ndry_app-functions-sdk-go_PR-753 [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-753 # 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 Merging remotes/origin/master commit c6680ff4eecd40eccff17b1dbb2a870edc6ed4da into PR head commit 8cb2c2d9868503c21227c21af08ffeee13723222 Merge succeeded, producing 8cb2c2d9868503c21227c21af08ffeee13723222 Checking out Revision 8cb2c2d9868503c21227c21af08ffeee13723222 (PR-753) > 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # 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 c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # timeout=10 Commit message: "fix: Fixed failing unit tests" > git rev-list --no-walk 8da60f09cb287a8a32bc1e4d66321ec5f3e61791 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:10:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:10:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:10:26 ========================================================= 00:10:26 EdgeX Global Pipelines Version Info 00:10:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:10:28 ------------------- 00:10:28 stable info: 00:10:28 ------------------- 00:10:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:10:28 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:10:28 Message: update stable to v1.0.186 00:10:29 ------------------- 00:10:29 experimental info: 00:10:29 ------------------- 00:10:29 Commited By: **** collab-it+edgex@linuxfoundation.org 00:10:29 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:10:29 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:10:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:10:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:10:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:10:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo 00:10:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo 00:10:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo 00:10:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cb2c2d9868503c21227c21af08ffeee13723222 [Pipeline] echo 00:10:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cb2c2d [Pipeline] echo 00:10:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:34 + git log --format=format:%s -1 8cb2c2d9868503c21227c21af08ffeee13723222 [Pipeline] echo 00:10:34 GIT_COMMIT: 8cb2c2d9868503c21227c21af08ffeee13723222, Commit Message: fix: Fixed failing unit tests [Pipeline] echo 00:10:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:35 00:10:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:10:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:36 latest: Pulling from edgex-devops/git-semver 00:10:36 31603596830f: Pulling fs layer 00:10:36 2a8b12db71e7: Pulling fs layer 00:10:36 6ca5941a6612: Pulling fs layer 00:10:36 ecc8261a40a4: Pulling fs layer 00:10:36 ecc8261a40a4: Waiting 00:10:36 2a8b12db71e7: Download complete 00:10:36 31603596830f: Verifying Checksum 00:10:36 31603596830f: Download complete 00:10:36 ecc8261a40a4: Verifying Checksum 00:10:36 ecc8261a40a4: Download complete 00:10:36 6ca5941a6612: Verifying Checksum 00:10:36 6ca5941a6612: Download complete 00:10:36 31603596830f: Pull complete 00:10:36 2a8b12db71e7: Pull complete 00:10:37 6ca5941a6612: Pull complete 00:10:37 ecc8261a40a4: Pull complete 00:10:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:10:38 prd-centos7-docker-4c-2g-30977 does not seem to be running inside a container 00:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-753 -v /w/workspace/ndry_app-functions-sdk-go_PR-753:/w/workspace/ndry_app-functions-sdk-go_PR-753:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-753@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:10:40 $ docker top 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:40 [ssh-agent] Looking for ssh-agent implementation... 00:10:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:40 $ docker exec 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f ssh-agent 00:10:40 SSH_AUTH_SOCK=/tmp/ssh-HqvpnY2Xr8sx/agent.12 00:10:40 SSH_AGENT_PID=18 00:10:40 Running ssh-add (command line suppressed) 00:10:41 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/private_key_3978520809541276989.key (/w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/private_key_3978520809541276989.key) 00:10:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:41 + git tag --points-at HEAD [Pipeline] } 00:10:41 $ docker exec --env ******** --env ******** 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f ssh-agent -k 00:10:41 unset SSH_AUTH_SOCK; 00:10:41 unset SSH_AGENT_PID; 00:10:41 echo Agent pid 18 killed; 00:10:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:41 [ssh-agent] Looking for ssh-agent implementation... 00:10:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:42 $ docker exec 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f ssh-agent 00:10:42 SSH_AUTH_SOCK=/tmp/ssh-V7VwpN5DxU6f/agent.46 00:10:42 SSH_AGENT_PID=52 00:10:42 Running ssh-add (command line suppressed) 00:10:42 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/private_key_8194332075028530065.key (/w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/private_key_8194332075028530065.key) 00:10:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:42 + git semver init 00:10:42 # -> Open(): unable to determine branch for HEAD 00:10:42 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-753/.git 00:10:42 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-753 00:10:42 # $SEMVER_REMOTE_NAME = origin 00:10:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:10:42 # $SEMVER_USER_NAME = edgex-jenkins 00:10:42 # $SEMVER_BRANCH = PR-753 00:10:42 # $SEMVER_TEMP = /tmp/semver-217664871 00:10:42 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:10:45 # '/tmp/semver-217664871' -> '/w/workspace/ndry_app-functions-sdk-go_PR-753/.semver' 00:10:45 # -> Force: false 00:10:45 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-753/.semver [Pipeline] } 00:10:45 $ docker exec --env ******** --env ******** 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f ssh-agent -k 00:10:45 unset SSH_AUTH_SOCK; 00:10:45 unset SSH_AGENT_PID; 00:10:45 echo Agent pid 52 killed; 00:10:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:45 + git semver [Pipeline] } 00:10:45 $ docker stop --time=1 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f 00:10:47 $ docker rm -f 4ef3e0a3f6d1609adcea47a98d806457649eded0893b023b1395e908fb84588f [Pipeline] // withDockerContainer [Pipeline] sh 00:10:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:48 Stashed 1 file(s) [Pipeline] echo 00:10:48 [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:11:04 Still waiting to schedule task 00:11:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30977’ 00:11:04 Still waiting to schedule task 00:11:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:12:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30978 in /w/workspace/ndry_app-functions-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 00:12:41 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 00:12:46 using credential edgex-jenkins-ssh 00:12:46 Cloning the remote Git repository 00:12:46 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:12:46 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 00:12:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:12:46 > git --version # timeout=10 00:12:46 > git --version # 'git version 2.17.1' 00:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:12:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:12:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:12:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:12:50 Merging remotes/origin/master commit c6680ff4eecd40eccff17b1dbb2a870edc6ed4da into PR head commit 8cb2c2d9868503c21227c21af08ffeee13723222 00:12:50 Merge succeeded, producing 8cb2c2d9868503c21227c21af08ffeee13723222 00:12:50 Checking out Revision 8cb2c2d9868503c21227c21af08ffeee13723222 (PR-753) 00:12:50 > git config core.sparsecheckout # timeout=10 00:12:50 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # timeout=10 00:12:50 > git remote # timeout=10 00:12:50 > git config --get remote.origin.url # timeout=10 00:12:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:50 > git merge c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 00:12:50 > git rev-parse HEAD^{commit} # timeout=10 00:12:50 > git config core.sparsecheckout # timeout=10 00:12:50 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # timeout=10 00:12:55 Commit message: "fix: Fixed failing unit tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:12:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:12:57 + + true 00:12:57 sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:12:59 ========================================================= 00:12:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:12:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:13:00 + 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 . 00:13:01 Sending build context to Docker daemon 19.49MB 00:13:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:13:01 Step 2/8 : FROM ${BASE} 00:13:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:13:01 5f621e34cdf4: Pulling fs layer 00:13:01 a4357932f1b6: Pulling fs layer 00:13:01 18c013af1878: Pulling fs layer 00:13:01 00ac8860ef70: Pulling fs layer 00:13:01 63d7cb157983: Pulling fs layer 00:13:01 b116817d02f9: Pulling fs layer 00:13:01 745a02a5169b: Pulling fs layer 00:13:01 00ac8860ef70: Waiting 00:13:01 b116817d02f9: Waiting 00:13:01 63d7cb157983: Waiting 00:13:01 745a02a5169b: Waiting 00:13:01 18c013af1878: Verifying Checksum 00:13:01 18c013af1878: Download complete 00:13:01 a4357932f1b6: Verifying Checksum 00:13:01 a4357932f1b6: Download complete 00:13:01 63d7cb157983: Verifying Checksum 00:13:01 63d7cb157983: Download complete 00:13:01 b116817d02f9: Verifying Checksum 00:13:01 b116817d02f9: Download complete 00:13:02 5f621e34cdf4: Verifying Checksum 00:13:02 5f621e34cdf4: Download complete 00:13:02 5f621e34cdf4: Pull complete 00:13:03 a4357932f1b6: Pull complete 00:13:03 18c013af1878: Pull complete 00:13:04 745a02a5169b: Verifying Checksum 00:13:04 745a02a5169b: Download complete 00:13:05 00ac8860ef70: Verifying Checksum 00:13:05 00ac8860ef70: Download complete 00:13:16 00ac8860ef70: Pull complete 00:13:16 63d7cb157983: Pull complete 00:13:16 b116817d02f9: Pull complete 00:13:19 745a02a5169b: Pull complete 00:13:19 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:13:20 ---> b7e6874047d6 00:13:20 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:13:20 20.10.0: Pulling from library/docker 00:13:20 a3cc7d3b244e: Pulling fs layer 00:13:20 02a3295e0d61: Pulling fs layer 00:13:20 0f4f2e6d8100: Pulling fs layer 00:13:20 330b718f631f: Pulling fs layer 00:13:20 a93816041522: Pulling fs layer 00:13:20 bdb6da89ff94: Pulling fs layer 00:13:20 2a70c0c122f4: Pulling fs layer 00:13:20 330b718f631f: Waiting 00:13:20 a93816041522: Waiting 00:13:20 bdb6da89ff94: Waiting 00:13:20 2a70c0c122f4: Waiting 00:13:20 0f4f2e6d8100: Verifying Checksum 00:13:20 0f4f2e6d8100: Download complete 00:13:20 02a3295e0d61: Verifying Checksum 00:13:20 02a3295e0d61: Download complete 00:13:20 a93816041522: Verifying Checksum 00:13:20 a93816041522: Download complete 00:13:20 a3cc7d3b244e: Download complete 00:13:20 bdb6da89ff94: Verifying Checksum 00:13:20 bdb6da89ff94: Download complete 00:13:20 2a70c0c122f4: Verifying Checksum 00:13:20 2a70c0c122f4: Download complete 00:13:20 a3cc7d3b244e: Pull complete 00:13:21 02a3295e0d61: Pull complete 00:13:21 330b718f631f: Verifying Checksum 00:13:21 330b718f631f: Download complete 00:13:22 0f4f2e6d8100: Pull complete 00:13:24 Running on prd-centos7-docker-4c-2g-30979 in /w/workspace/ndry_app-functions-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 00:13:24 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 00:13:26 330b718f631f: Pull complete 00:13:26 a93816041522: Pull complete 00:13:26 bdb6da89ff94: Pull complete 00:13:26 2a70c0c122f4: Pull complete 00:13:26 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:13:26 Status: Downloaded newer image for docker:20.10.0 00:13:27 using credential edgex-jenkins-ssh 00:13:27 Cloning the remote Git repository 00:13:26 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:26 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 00:13:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:26 > git --version # timeout=10 00:13:26 > git --version # 'git version 2.24.3' 00:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:28 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:13:29 Merging remotes/origin/master commit c6680ff4eecd40eccff17b1dbb2a870edc6ed4da into PR head commit 8cb2c2d9868503c21227c21af08ffeee13723222 00:13:29 Merge succeeded, producing 8cb2c2d9868503c21227c21af08ffeee13723222 00:13:29 Checking out Revision 8cb2c2d9868503c21227c21af08ffeee13723222 (PR-753) 00:13:28 > git config core.sparsecheckout # timeout=10 00:13:28 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # timeout=10 00:13:29 > git remote # timeout=10 00:13:29 > git config --get remote.origin.url # timeout=10 00:13:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:29 > git merge c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 00:13:29 > git rev-parse HEAD^{commit} # timeout=10 00:13:29 > git config core.sparsecheckout # timeout=10 00:13:29 > git checkout -f 8cb2c2d9868503c21227c21af08ffeee13723222 # timeout=10 00:13:32 Commit message: "fix: Fixed failing unit tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 00:13:33 ---> aa7b93c2cdd9 00:13:33 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:13:33 ---> Running in 327d68db8804 00:13:33 Removing intermediate container 327d68db8804 00:13:33 ---> 6d35d6450faa 00:13:33 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:13:33 ---> Running in f15d688ee2a6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:13:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:13:34 + sudo service docker restart 00:13:34 + true 00:13:34 Redirecting to /bin/systemctl restart docker.service 00:13:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:13:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo 00:13:35 ========================================================= 00:13:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:13:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:13:36 + 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:13:36 (1/5) Installing libsodium (1.0.18-r0) 00:13:36 (2/5) Installing libzmq (4.3.3-r0) 00:13:36 (3/5) Installing pkgconf (1.7.2-r0) 00:13:36 (4/5) Installing libsodium-dev (1.0.18-r0) 00:13:36 (5/5) Installing zeromq-dev (4.3.3-r0) 00:13:36 Executing busybox-1.31.1-r19.trigger 00:13:36 OK: 144 MiB in 44 packages 00:13:36 Sending build context to Docker daemon 19.49MB 00:13:36 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:13:36 Step 2/8 : FROM ${BASE} 00:13:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:36 188c0c94c7c5: Pulling fs layer 00:13:36 0ef7d3d256c8: Pulling fs layer 00:13:36 de9db76c5a1d: Pulling fs layer 00:13:36 bca2f99d35d6: Pulling fs layer 00:13:36 93359f2a8cfa: Pulling fs layer 00:13:36 7c6f9722023f: Pulling fs layer 00:13:36 a35cf1a2eb13: Pulling fs layer 00:13:36 93359f2a8cfa: Waiting 00:13:36 bca2f99d35d6: Waiting 00:13:36 7c6f9722023f: Waiting 00:13:36 a35cf1a2eb13: Waiting 00:13:36 de9db76c5a1d: Verifying Checksum 00:13:36 de9db76c5a1d: Download complete 00:13:36 0ef7d3d256c8: Verifying Checksum 00:13:36 0ef7d3d256c8: Download complete 00:13:37 93359f2a8cfa: Verifying Checksum 00:13:37 93359f2a8cfa: Download complete 00:13:37 7c6f9722023f: Verifying Checksum 00:13:37 7c6f9722023f: Download complete 00:13:37 188c0c94c7c5: Verifying Checksum 00:13:37 188c0c94c7c5: Download complete 00:13:37 188c0c94c7c5: Pull complete 00:13:37 0ef7d3d256c8: Pull complete 00:13:37 de9db76c5a1d: Pull complete 00:13:38 Removing intermediate container f15d688ee2a6 00:13:38 ---> 14a6941e229e 00:13:38 Step 6/8 : WORKDIR /build 00:13:38 ---> Running in 8846cff7a170 00:13:38 a35cf1a2eb13: Verifying Checksum 00:13:38 a35cf1a2eb13: Download complete 00:13:38 Removing intermediate container 8846cff7a170 00:13:38 ---> e1de14e456c3 00:13:38 Step 7/8 : COPY go.mod . 00:13:39 ---> e349d56fd4ac 00:13:39 Step 8/8 : RUN go mod download 00:13:39 bca2f99d35d6: Verifying Checksum 00:13:39 bca2f99d35d6: Download complete 00:13:39 ---> Running in e882ea2e2668 00:13:44 bca2f99d35d6: Pull complete 00:13:44 93359f2a8cfa: Pull complete 00:13:44 7c6f9722023f: Pull complete 00:13:51 a35cf1a2eb13: Pull complete 00:13:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:13:51 ---> a62c8e92a672 00:13:51 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:13:51 20.10.0: Pulling from library/docker 00:13:51 05e7bc50f07f: Pulling fs layer 00:13:51 6db28d0fdbf6: Pulling fs layer 00:13:51 292df0bc6bf3: Pulling fs layer 00:13:51 2e060f4bd70b: Pulling fs layer 00:13:51 80e8d568a223: Pulling fs layer 00:13:51 8dc6ef1a942a: Pulling fs layer 00:13:51 2312dd95470a: Pulling fs layer 00:13:51 80e8d568a223: Waiting 00:13:51 2312dd95470a: Waiting 00:13:51 8dc6ef1a942a: Waiting 00:13:51 2e060f4bd70b: Waiting 00:13:51 292df0bc6bf3: Verifying Checksum 00:13:51 292df0bc6bf3: Download complete 00:13:51 05e7bc50f07f: Verifying Checksum 00:13:51 05e7bc50f07f: Download complete 00:13:51 6db28d0fdbf6: Verifying Checksum 00:13:51 6db28d0fdbf6: Download complete 00:13:51 80e8d568a223: Verifying Checksum 00:13:51 80e8d568a223: Download complete 00:13:51 8dc6ef1a942a: Verifying Checksum 00:13:51 8dc6ef1a942a: Download complete 00:13:51 2312dd95470a: Verifying Checksum 00:13:51 2312dd95470a: Download complete 00:13:51 05e7bc50f07f: Pull complete 00:13:52 6db28d0fdbf6: Pull complete 00:13:52 292df0bc6bf3: Pull complete 00:13:52 2e060f4bd70b: Verifying Checksum 00:13:52 2e060f4bd70b: Download complete 00:13:54 2e060f4bd70b: Pull complete 00:13:54 80e8d568a223: Pull complete 00:13:54 8dc6ef1a942a: Pull complete 00:13:55 2312dd95470a: Pull complete 00:13:55 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:13:55 Status: Downloaded newer image for docker:20.10.0 00:13:56 ---> 6c83f7e9dc67 00:13:56 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:13:56 ---> Running in d4d790da0775 00:13:56 Removing intermediate container d4d790da0775 00:13:56 ---> 6245b334f34b 00:13:56 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:13:56 ---> Running in 660111ee1673 00:13:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:13:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:13:58 (1/5) Installing libsodium (1.0.18-r0) 00:13:58 (2/5) Installing libzmq (4.3.3-r0) 00:13:59 (3/5) Installing pkgconf (1.7.2-r0) 00:13:59 (4/5) Installing libsodium-dev (1.0.18-r0) 00:13:59 (5/5) Installing zeromq-dev (4.3.3-r0) 00:13:59 Executing busybox-1.31.1-r19.trigger 00:13:59 OK: 167 MiB in 44 packages 00:14:00 Removing intermediate container 660111ee1673 00:14:00 ---> c5707e95b724 00:14:00 Step 6/8 : WORKDIR /build 00:14:00 ---> Running in 0847a2a292a9 00:14:00 Removing intermediate container 0847a2a292a9 00:14:00 ---> 79bed45b30d9 00:14:00 Step 7/8 : COPY go.mod . 00:14:00 ---> 46c471c0300d 00:14:00 Step 8/8 : RUN go mod download 00:14:00 ---> Running in 54f573b73a82 00:14:11 Removing intermediate container e882ea2e2668 00:14:11 ---> 4154e933250d 00:14:11 Successfully built 4154e933250d 00:14:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:14:12 + docker inspect -f . ci-base-image-arm64 00:14:12 . [Pipeline] withDockerContainer 00:14:12 prd-ubuntu18.04-docker-arm64-4c-16g-30978 does not seem to be running inside a container 00:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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:14:14 $ docker top 41bde20ac68ec6d35d1f2fec58be12a7c65597c833a8b37eb4851ff17222184c -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:15 + go version 00:14:15 go version go1.15.5 linux/arm64 [Pipeline] } 00:14:15 $ docker stop --time=1 41bde20ac68ec6d35d1f2fec58be12a7c65597c833a8b37eb4851ff17222184c 00:14:17 $ docker rm -f 41bde20ac68ec6d35d1f2fec58be12a7c65597c833a8b37eb4851ff17222184c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:14:18 + docker inspect -f . ci-base-image-arm64 00:14:18 . [Pipeline] withDockerContainer 00:14:18 prd-ubuntu18.04-docker-arm64-4c-16g-30978 does not seem to be running inside a container 00:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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:14:20 $ docker top 0f7513d4f55e108ca46c17ef7b1ecddf83a58ec7b677d1f29d7ffb76de79f35c -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:21 + make test 00:14:21 make -C ./app-service-template build 00:14:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:21 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:14:22 Removing intermediate container 54f573b73a82 00:14:22 ---> 54622671c4a0 00:14:22 Successfully built 54622671c4a0 00:14:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:14:23 + docker inspect -f . ci-base-image-x86_64 00:14:23 . [Pipeline] withDockerContainer 00:14:23 prd-centos7-docker-4c-2g-30979 does not seem to be running inside a container 00:14:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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:14:24 $ docker top 810068ae92cbdc4785d00b82a5f20c2b45a71065965b693c0fd3a97a1916c0b2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:24 + go version 00:14:24 go version go1.15.5 linux/amd64 [Pipeline] } 00:14:24 $ docker stop --time=1 810068ae92cbdc4785d00b82a5f20c2b45a71065965b693c0fd3a97a1916c0b2 00:14:25 $ docker rm -f 810068ae92cbdc4785d00b82a5f20c2b45a71065965b693c0fd3a97a1916c0b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:14:26 + docker inspect -f . ci-base-image-x86_64 00:14:26 . [Pipeline] withDockerContainer 00:14:27 prd-centos7-docker-4c-2g-30979 does not seem to be running inside a container 00:14:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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:14:27 $ docker top d3cb4abc96b235374d0c5efde90cd62ffd10f79c8cd9e4e64d724935612f695b -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:28 + make test 00:14:28 make -C ./app-service-template build 00:14:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:28 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:14:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:43 make -C ./app-service-template test 00:14:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:43 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:14:49 ok new-app-service 0.020s coverage: 73.5% of statements 00:14:49 ? new-app-service/config [no test files] 00:14:49 ok new-app-service/functions 0.010s 00:14:49 CGO_ENABLED=1 go vet ./... 00:14:53 gofmt -l . 00:14:53 [ "`gofmt -l .`" = "" ] 00:14:53 ./bin/test-go-mod-tidy.sh 00:14:53 ./bin/test-attribution-txt.sh 00:14:53 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:53 make -C ./app-service-template test 00:14:53 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:14:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:14:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:14:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.031s coverage: 55.5% of statements 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.015s coverage: 92.5% of statements 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.031s coverage: 61.5% of statements 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.015s 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.041s coverage: 75.4% of statements 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:14:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.0% of statements 00:14:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:14:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 00:15:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.737s coverage: 78.4% of statements 00:15:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:15:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 20.0% of statements 00:15:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.014s coverage: 27.3% of statements 00:15:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:15:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:15:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements 00:15:20 ok new-app-service 0.034s coverage: 73.5% of statements 00:15:20 ? new-app-service/config [no test files] 00:15:20 ok new-app-service/functions 0.029s 00:15:20 CGO_ENABLED=1 go vet ./... 00:15:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.038s coverage: 81.9% of statements 00:15:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 00:15:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:15:27 gofmt -l . 00:15:27 [ "`gofmt -l .`" = "" ] 00:15:27 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:15:27 $ docker stop --time=1 d3cb4abc96b235374d0c5efde90cd62ffd10f79c8cd9e4e64d724935612f695b 00:15:28 gofmt -l . 00:15:28 [ "`gofmt -l .`" = "" ] 00:15:28 ./bin/test-go-mod-tidy.sh 00:15:28 $ docker rm -f d3cb4abc96b235374d0c5efde90cd62ffd10f79c8cd9e4e64d724935612f695b 00:15:29 ./bin/test-attribution-txt.sh [Pipeline] // withDockerContainer [Pipeline] sh 00:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:15:29 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 00:15:30 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 00:15:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:15:31 ---> job-cost.sh 00:15:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R0EB 00:15:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.062s coverage: 55.5% of statements 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.082s coverage: 92.5% of statements 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.116s coverage: 61.5% of statements 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.045s 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s coverage: 75.4% of statements 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:15:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements 00:15:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:15:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements 00:15:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.821s coverage: 78.4% of statements 00:15:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.050s coverage: 20.0% of statements 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.029s coverage: 27.3% of statements 00:15:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:15:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:15:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 71.7% of statements 00:16:12 lf-activate-venv(): INFO: Adding /tmp/venv-R0EB/bin to PATH 00:16:12 INFO: No Stack... 00:16:12 INFO: Retrieving Pricing Info for: v1-standard-2 00:16:13 INFO: Archiving Costs [Pipeline] sh 00:16:13 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv 00:16:13 + cut -d, -f6 [Pipeline] lock 00:16:13 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] 00:16:13 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] did not exist. Created. 00:16:13 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:14 + echo total: 0.029999999329447746 [Pipeline] stash 00:16:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 81.9% of statements 00:16:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.039s coverage: 94.4% of statements 00:16:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:16:14 Stashed 1 file(s) [Pipeline] } 00:16:14 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:15 gofmt -l . 00:16:16 [ "`gofmt -l .`" = "" ] 00:16:16 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:16:17 $ docker stop --time=1 0f7513d4f55e108ca46c17ef7b1ecddf83a58ec7b677d1f29d7ffb76de79f35c 00:16:19 $ docker rm -f 0f7513d4f55e108ca46c17ef7b1ecddf83a58ec7b677d1f29d7ffb76de79f35c [Pipeline] // withDockerContainer [Pipeline] sh 00:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:20 Warning: overwriting stash ‘coverage-report’ 00:16:21 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 Post stage [Pipeline] libraryResource [Pipeline] sh 00:16:22 ---> job-cost.sh 00:16:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-70Qb 00:17:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:18:38 lf-activate-venv(): INFO: Adding /tmp/venv-70Qb/bin to PATH 00:18:38 INFO: No Stack... 00:18:38 INFO: Retrieving Pricing Info for: lf-standard-4 00:18:38 INFO: Archiving Costs [Pipeline] sh 00:18:38 + cut -d, -f6 00:18:38 + cat /w/workspace/app-functions-sdk-go/5/archives/cost.csv [Pipeline] lock 00:18:38 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] 00:18:38 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] did not exist. Created. 00:18:38 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:38 /w/workspace/app-functions-sdk-go/5@tmp/durable-642e695b/script.sh: 1: /w/workspace/app-functions-sdk-go/5@tmp/durable-642e695b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:18:39 + echo total: 0.20999999344348907 [Pipeline] stash 00:18:39 Warning: overwriting stash ‘stack-cost’ 00:18:39 Stashed 1 file(s) [Pipeline] } 00:18:39 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-753-5-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:18:41 provisioning config files... 00:18:41 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/config8411365046921854587tmp [Pipeline] { [Pipeline] sh 00:18:41 + set +x 00:18:41 + curl -s https://codecov.io/bash 00:18:41 + bash -s -- 00:18:41 00:18:41 _____ _ 00:18:41 / ____| | | 00:18:41 | | ___ __| | ___ ___ _____ __ 00:18:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:18:41 | |___| (_) | (_| | __/ (_| (_) \ V / 00:18:41 \_____\___/ \__,_|\___|\___\___/ \_/ 00:18:41 Bash-20210309-2b87ace 00:18:41 00:18:41 00:18:41 ==> git version 2.24.3 found 00:18:41 ==> 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:18:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:18:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:18:41 ==> Jenkins CI detected. 00:18:41 project root: . 00:18:41 --> token set from env 00:18:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:18:41 ==> Running gcov in . (disable via -X gcov) 00:18:41 ==> Python coveragepy not found 00:18:41 ==> Searching for coverage reports in: 00:18:41 + . 00:18:41 -> Found 2 reports 00:18:41 ==> Detecting git/mercurial file structure 00:18:41 ==> Reading reports 00:18:41 + ./app-service-template/coverage.out bytes=644 00:18:41 + ./coverage.out bytes=86095 00:18:41 ==> Appending adjustments 00:18:41 https://docs.codecov.io/docs/fixing-reports 00:18:42 + Found adjustments 00:18:42 ==> Gzipping contents 00:18:42 16K /tmp/codecov.u2c7zg.gz 00:18:42 ==> Uploading reports 00:18:42 url: https://codecov.io 00:18:42 query: branch=PR-753&commit=8cb2c2d9868503c21227c21af08ffeee13723222&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-753%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 00:18:42 -> Pinging Codecov 00:18:42 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-753&commit=8cb2c2d9868503c21227c21af08ffeee13723222&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-753%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 00:18:42 -> Uploading to 00:18:42 https://storage.googleapis.com/codecov/v4/raw/2021-03-23/3D8B5DFFC46A037C893635FACE044666/8cb2c2d9868503c21227c21af08ffeee13723222/18fc4c0f-f282-4efa-be8e-9fd0b3aaf3f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210323T001842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bcc0958899e9a05f53d50d2d2030b978f6bfa8d689282c0b6441dbad1a61b43 00:18:42 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:42 Dload Upload Total Spent Left Speed 00:18:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15145 0 0 100 15145 0 37530 --:--:-- --:--:-- --:--:-- 37580 00:18:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/8cb2c2d9868503c21227c21af08ffeee13723222 [Pipeline] } 00:18:43 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:18:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:18:46 ---> package-listing.sh 00:18:46 ++ facter osfamily 00:18:46 ++ tr '[:upper:]' '[:lower:]' 00:18:46 + OS_FAMILY=redhat 00:18:46 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-753 00:18:46 + START_PACKAGES=/tmp/packages_start.txt 00:18:46 + END_PACKAGES=/tmp/packages_end.txt 00:18:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:18:46 + PACKAGES=/tmp/packages_start.txt 00:18:46 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-753 ']' 00:18:46 + PACKAGES=/tmp/packages_end.txt 00:18:46 + case "${OS_FAMILY}" in 00:18:46 + rpm -qa 00:18:46 + sort 00:18:51 + '[' -f /tmp/packages_start.txt ']' 00:18:51 + '[' -f /tmp/packages_end.txt ']' 00:18:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:18:51 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-753 ']' 00:18:51 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-753/archives/ 00:18:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-753/archives/ [Pipeline] echo 00:18:51 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-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:18:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:18:52 00:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:18:52 alpine: Pulling from edgex-lftools-log-publisher 00:18:52 df20fa9351a1: Pulling fs layer 00:18:52 36b3adc4ff6f: Pulling fs layer 00:18:52 8ad3a11d3b57: Pulling fs layer 00:18:52 46f8f816bc3b: Pulling fs layer 00:18:52 93b61091891f: Pulling fs layer 00:18:52 93b9cdb0e59b: Pulling fs layer 00:18:52 5e14af77c1be: Pulling fs layer 00:18:52 01666e4c0597: Pulling fs layer 00:18:52 aa168da1d23b: Pulling fs layer 00:18:52 93b9cdb0e59b: Waiting 00:18:52 5e14af77c1be: Waiting 00:18:52 01666e4c0597: Waiting 00:18:52 aa168da1d23b: Waiting 00:18:52 46f8f816bc3b: Waiting 00:18:52 93b61091891f: Waiting 00:18:52 36b3adc4ff6f: Download complete 00:18:52 46f8f816bc3b: Verifying Checksum 00:18:52 46f8f816bc3b: Download complete 00:18:52 df20fa9351a1: Verifying Checksum 00:18:52 df20fa9351a1: Download complete 00:18:52 93b9cdb0e59b: Verifying Checksum 00:18:52 93b9cdb0e59b: Download complete 00:18:52 93b61091891f: Download complete 00:18:52 5e14af77c1be: Verifying Checksum 00:18:52 01666e4c0597: Verifying Checksum 00:18:52 01666e4c0597: Download complete 00:18:52 5e14af77c1be: Download complete 00:18:53 df20fa9351a1: Pull complete 00:18:53 36b3adc4ff6f: Pull complete 00:18:53 8ad3a11d3b57: Download complete 00:18:54 8ad3a11d3b57: Pull complete 00:18:54 46f8f816bc3b: Pull complete 00:18:55 aa168da1d23b: Verifying Checksum 00:18:55 aa168da1d23b: Download complete 00:18:56 93b61091891f: Pull complete 00:18:56 93b9cdb0e59b: Pull complete 00:18:56 5e14af77c1be: Pull complete 00:18:56 01666e4c0597: Pull complete 00:19:03 aa168da1d23b: Pull complete 00:19:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:19:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:19:03 prd-centos7-docker-4c-2g-30977 does not seem to be running inside a container 00:19:03 $ 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-753/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-753 -v /w/workspace/ndry_app-functions-sdk-go_PR-753:/w/workspace/ndry_app-functions-sdk-go_PR-753:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-753@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:19:06 $ docker top ac92ed9a040d4946b17d5dee07dd4e19cdfd199d501af2a4cf46f2d39c4bf03d -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:07 + touch /tmp/pre-build-complete [Pipeline] sh 00:19:07 + mkdir -p /var/log/sa [Pipeline] sh 00:19:07 + ls /var/log/sa-host 00:19:07 + sadf -c /var/log/sa-host/sa23 00:19:07 file_magic: OK 00:19:07 HZ: Using current value: 100 00:19:07 file_header: OK 00:19:07 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:19:07 Statistics: 00:19:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:19:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:08 provisioning config files... 00:19:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-753@tmp/config7496142769271661628tmp [Pipeline] { [Pipeline] echo 00:19:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:19:09 ---> create-netrc.sh [Pipeline] } 00:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:19:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:19:09 ---> python-tools-install.sh [Pipeline] echo 00:19:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:19:09 ---> sudo-logs.sh 00:19:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:19:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:19:10 ---> job-cost.sh 00:19:10 lf-activate-venv: SKIPPING 00:19:10 DEBUG: total: 0.20999999344348907 00:19:10 INFO: Retrieving Stack Cost... 00:19:12 INFO: Retrieving Pricing Info for: v1-standard-2 00:19:12 INFO: Archiving Costs [Pipeline] echo 00:19:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:19:12 ---> logs-deploy.sh 00:19:12 lf-activate-venv: SKIPPING 00:19:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-753/5 00:19:12 INFO: archiving workspace using pattern(s): 00:19:14 Archives upload complete. 00:19:14 INFO: archiving logs to Nexus 00:19:15 ---> uname -a: 00:19:15 Linux prd-centos7-docker-4c-2g-30977.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:19:15 00:19:15 00:19:15 ---> lscpu: 00:19:15 Architecture: x86_64 00:19:15 CPU op-mode(s): 32-bit, 64-bit 00:19:15 Byte Order: Little Endian 00:19:15 Address sizes: 40 bits physical, 48 bits virtual 00:19:15 CPU(s): 4 00:19:15 On-line CPU(s) list: 0-3 00:19:15 Thread(s) per core: 1 00:19:15 Core(s) per socket: 1 00:19:15 Socket(s): 4 00:19:15 NUMA node(s): 1 00:19:15 Vendor ID: GenuineIntel 00:19:15 CPU family: 6 00:19:15 Model: 44 00:19:15 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:19:15 Stepping: 1 00:19:15 CPU MHz: 2933.438 00:19:15 BogoMIPS: 5866.87 00:19:15 Virtualization: VT-x 00:19:15 Hypervisor vendor: KVM 00:19:15 Virtualization type: full 00:19:15 L1d cache: 128 KiB 00:19:15 L1i cache: 128 KiB 00:19:15 L2 cache: 16 MiB 00:19:15 L3 cache: 64 MiB 00:19:15 NUMA node0 CPU(s): 0-3 00:19:15 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:19:15 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:19:15 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:19:15 Vulnerability Meltdown: Mitigation; PTI 00:19:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:19:15 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:19:15 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:19:15 Vulnerability Srbds: Not affected 00:19:15 Vulnerability Tsx async abort: Not affected 00:19:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:19:15 00:19:15 00:19:15 ---> nproc: 00:19:15 4 00:19:15 00:19:15 00:19:15 ---> df -h: 00:19:15 Filesystem Size Used Available Use% Mounted on 00:19:15 overlay 50.0G 7.3G 42.7G 15% / 00:19:15 tmpfs 64.0M 0 64.0M 0% /dev 00:19:15 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:19:15 shm 64.0M 0 64.0M 0% /dev/shm 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-753 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-753@tmp 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:19:15 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:19:15 00:19:15 00:19:15 ---> free -m: 00:19:15 total used free shared buff/cache available 00:19:15 Mem: 1837 706 78 0 1052 1026 00:19:15 Swap: 1023 1 1022 00:19:15 00:19:15 00:19:15 ---> ip addr: 00:19:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:19:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:19:15 inet 127.0.0.1/8 scope host lo 00:19:15 valid_lft forever preferred_lft forever 00:19:15 inet6 ::1/128 scope host 00:19:15 valid_lft forever preferred_lft forever 00:19:15 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:19:15 link/ether fa:16:3e:2e:56:b1 brd ff:ff:ff:ff:ff:ff 00:19:15 inet 10.30.122.106/23 brd 10.30.123.255 scope global dynamic eth0 00:19:15 valid_lft 85837sec preferred_lft 85837sec 00:19:15 inet6 fe80::f816:3eff:fe2e:56b1/64 scope link 00:19:15 valid_lft forever preferred_lft forever 00:19:15 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:19:15 link/ether 02:42:f3:27:e5:dc brd ff:ff:ff:ff:ff:ff 00:19:15 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:19:15 valid_lft forever preferred_lft forever 00:19:15 inet6 fe80::42:f3ff:fe27:e5dc/64 scope link 00:19:15 valid_lft forever preferred_lft forever 00:19:15 00:19:15