Pull request #563 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b3b2adadf5bd532a5e3562a2219d04a245bbebfc+a92a438410e8353070781e72258a0255f6bf6bbe (5e49ea8507722063b79c94d3fd6934cf09df545a) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9156 in /w/workspace/ndry_app-functions-sdk-go_PR-563 [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-563 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a92a438410e8353070781e72258a0255f6bf6bbe into PR head commit b3b2adadf5bd532a5e3562a2219d04a245bbebfc Merge succeeded, producing b3b2adadf5bd532a5e3562a2219d04a245bbebfc Checking out Revision b3b2adadf5bd532a5e3562a2219d04a245bbebfc (PR-563) > git config core.sparsecheckout # timeout=10 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # 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 a92a438410e8353070781e72258a0255f6bf6bbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # timeout=10 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.56" > git rev-list --no-walk 64399abb8bf23a1c970f6c817b5a96f948b7a98d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:37:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:37:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:37:57 ========================================================= 16:37:57 EdgeX Global Pipelines Version Info 16:37:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:38:00 ------------------- 16:38:00 stable info: 16:38:00 ------------------- 16:38:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:00 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 16:38:00 Message: update stable to v1.0.148 16:38:00 ------------------- 16:38:00 experimental info: 16:38:00 ------------------- 16:38:00 Commited By: **** collab-it+edgex@linuxfoundation.org 16:38:00 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 16:38:00 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:38:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:38:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:38:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo 16:38:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo 16:38:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo 16:38:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3b2adadf5bd532a5e3562a2219d04a245bbebfc [Pipeline] echo 16:38:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3b2ada [Pipeline] echo 16:38:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:05 + git log --format=format:%s -1 b3b2adadf5bd532a5e3562a2219d04a245bbebfc [Pipeline] echo 16:38:05 GIT_COMMIT: b3b2adadf5bd532a5e3562a2219d04a245bbebfc, Commit Message: Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.56 [Pipeline] echo 16:38:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:38:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:06 16:38:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:38:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:06 latest: Pulling from edgex-devops/git-semver 16:38:06 31603596830f: Pulling fs layer 16:38:06 2a8b12db71e7: Pulling fs layer 16:38:06 6ca5941a6612: Pulling fs layer 16:38:06 ecc8261a40a4: Pulling fs layer 16:38:06 ecc8261a40a4: Waiting 16:38:06 2a8b12db71e7: Verifying Checksum 16:38:06 2a8b12db71e7: Download complete 16:38:07 31603596830f: Download complete 16:38:07 ecc8261a40a4: Verifying Checksum 16:38:07 ecc8261a40a4: Download complete 16:38:07 6ca5941a6612: Verifying Checksum 16:38:07 6ca5941a6612: Download complete 16:38:07 31603596830f: Pull complete 16:38:07 2a8b12db71e7: Pull complete 16:38:08 6ca5941a6612: Pull complete 16:38:08 ecc8261a40a4: Pull complete 16:38:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:38:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:38:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:38:08 prd-centos7-docker-4c-2g-9156 does not seem to be running inside a container 16:38:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-563 -v /w/workspace/ndry_app-functions-sdk-go_PR-563:/w/workspace/ndry_app-functions-sdk-go_PR-563:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-563@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:38:11 $ docker top 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:38:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:11 [ssh-agent] Looking for ssh-agent implementation... 16:38:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:11 $ docker exec 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 ssh-agent 16:38:11 SSH_AUTH_SOCK=/tmp/ssh-Nl0bB5LOYXVC/agent.12 16:38:11 SSH_AGENT_PID=17 16:38:11 Running ssh-add (command line suppressed) 16:38:12 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/private_key_2476627294532251399.key (/w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/private_key_2476627294532251399.key) 16:38:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:12 + git tag --points-at HEAD [Pipeline] } 16:38:12 $ docker exec --env ******** --env ******** 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 ssh-agent -k 16:38:12 unset SSH_AUTH_SOCK; 16:38:12 unset SSH_AGENT_PID; 16:38:12 echo Agent pid 17 killed; 16:38:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:38:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:12 [ssh-agent] Looking for ssh-agent implementation... 16:38:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:12 $ docker exec 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 ssh-agent 16:38:13 SSH_AUTH_SOCK=/tmp/ssh-cjm2MMoE0AUD/agent.48 16:38:13 SSH_AGENT_PID=53 16:38:13 Running ssh-add (command line suppressed) 16:38:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/private_key_6452284325567145434.key (/w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/private_key_6452284325567145434.key) 16:38:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:13 + git semver init 16:38:13 # -> Open(): unable to determine branch for HEAD 16:38:13 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-563/.git 16:38:13 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-563 16:38:13 # $SEMVER_REMOTE_NAME = origin 16:38:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:38:13 # $SEMVER_USER_NAME = edgex-jenkins 16:38:13 # $SEMVER_BRANCH = PR-563 16:38:13 # $SEMVER_TEMP = /tmp/semver-593358529 16:38:13 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:38:16 # '/tmp/semver-593358529' -> '/w/workspace/ndry_app-functions-sdk-go_PR-563/.semver' 16:38:16 # -> Force: false 16:38:16 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-563/.semver [Pipeline] } 16:38:17 $ docker exec --env ******** --env ******** 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 ssh-agent -k 16:38:17 unset SSH_AUTH_SOCK; 16:38:17 unset SSH_AGENT_PID; 16:38:17 echo Agent pid 53 killed; 16:38:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:38:17 + git semver [Pipeline] } 16:38:18 $ docker stop --time=1 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 16:38:19 $ docker rm -f 2ff3ca065c354a2fefb8ec40c4627186959dc08afbffe27d8fccb0acf009e6a4 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:38:20 Stashed 1 file(s) [Pipeline] echo 16:38:20 [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 16:38:36 Still waiting to schedule task 16:38:36 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9158’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9151’ doesn’t have label ‘centos7-docker-4c-2g’ 16:38:36 Still waiting to schedule task 16:38:36 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:40:26 Running on prd-centos7-docker-4c-2g-9161 in /w/workspace/ndry_app-functions-sdk-go_PR-563 [Pipeline] { [Pipeline] ws 16:40:26 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:40:28 using credential edgex-jenkins-ssh 16:40:28 Cloning the remote Git repository 16:40:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:40:28 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 16:40:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:40:29 > git --version # timeout=10 16:40:29 > git --version # 'git version 2.16.5' 16:40:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:40:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:40:31 Merging remotes/origin/master commit a92a438410e8353070781e72258a0255f6bf6bbe into PR head commit b3b2adadf5bd532a5e3562a2219d04a245bbebfc 16:40:32 Merge succeeded, producing b3b2adadf5bd532a5e3562a2219d04a245bbebfc 16:40:32 Checking out Revision b3b2adadf5bd532a5e3562a2219d04a245bbebfc (PR-563) 16:40:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:40:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:40:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:40:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:40:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:40:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:40:31 > git config core.sparsecheckout # timeout=10 16:40:31 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # timeout=10 16:40:31 > git remote # timeout=10 16:40:32 > git config --get remote.origin.url # timeout=10 16:40:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:40:32 > git merge a92a438410e8353070781e72258a0255f6bf6bbe # timeout=10 16:40:32 > git rev-parse HEAD^{commit} # timeout=10 16:40:32 > git config core.sparsecheckout # timeout=10 16:40:32 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # timeout=10 16:40:35 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.56" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:40:36 ========================================================= 16:40:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:40:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:40: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 . 16:40:37 Sending build context to Docker daemon 19.15MB 16:40:37 Step 1/8 : ARG BASE=golang:1.15-alpine 16:40:37 Step 2/8 : FROM ${BASE} 16:40:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:40:37 df20fa9351a1: Pulling fs layer 16:40:37 ed8968b2872e: Pulling fs layer 16:40:37 a92cc7c5fd73: Pulling fs layer 16:40:37 e871e8e8d7a9: Pulling fs layer 16:40:37 e73272ec9a57: Pulling fs layer 16:40:37 1e910a182e73: Pulling fs layer 16:40:37 4e634b169226: Pulling fs layer 16:40:37 e73272ec9a57: Waiting 16:40:37 1e910a182e73: Waiting 16:40:37 4e634b169226: Waiting 16:40:37 e871e8e8d7a9: Waiting 16:40:37 a92cc7c5fd73: Verifying Checksum 16:40:37 a92cc7c5fd73: Download complete 16:40:37 ed8968b2872e: Download complete 16:40:37 e73272ec9a57: Download complete 16:40:37 1e910a182e73: Verifying Checksum 16:40:37 1e910a182e73: Download complete 16:40:38 df20fa9351a1: Verifying Checksum 16:40:38 df20fa9351a1: Download complete 16:40:38 df20fa9351a1: Pull complete 16:40:38 ed8968b2872e: Pull complete 16:40:38 a92cc7c5fd73: Pull complete 16:40:40 4e634b169226: Verifying Checksum 16:40:40 4e634b169226: Download complete 16:40:41 e871e8e8d7a9: Verifying Checksum 16:40:41 e871e8e8d7a9: Download complete 16:40:46 e871e8e8d7a9: Pull complete 16:40:46 e73272ec9a57: Pull complete 16:40:46 1e910a182e73: Pull complete 16:40:51 4e634b169226: Pull complete 16:40:51 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 16:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:40:51 ---> f7629b54cfaa 16:40:51 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:40:51 latest: Pulling from library/docker 16:40:52 188c0c94c7c5: Pulling fs layer 16:40:52 0c7c675703d6: Pulling fs layer 16:40:52 cc8c12a437cb: Pulling fs layer 16:40:52 c5dafad2182a: Pulling fs layer 16:40:52 5aa711733414: Pulling fs layer 16:40:52 058f73b55e4b: Pulling fs layer 16:40:52 8c9c664faf12: Pulling fs layer 16:40:52 5aa711733414: Waiting 16:40:52 058f73b55e4b: Waiting 16:40:52 8c9c664faf12: Waiting 16:40:52 c5dafad2182a: Waiting 16:40:52 cc8c12a437cb: Verifying Checksum 16:40:52 cc8c12a437cb: Download complete 16:40:52 0c7c675703d6: Verifying Checksum 16:40:52 0c7c675703d6: Download complete 16:40:52 188c0c94c7c5: Verifying Checksum 16:40:52 188c0c94c7c5: Download complete 16:40:52 5aa711733414: Verifying Checksum 16:40:52 5aa711733414: Download complete 16:40:52 058f73b55e4b: Verifying Checksum 16:40:52 058f73b55e4b: Download complete 16:40:52 188c0c94c7c5: Pull complete 16:40:52 8c9c664faf12: Verifying Checksum 16:40:52 8c9c664faf12: Download complete 16:40:52 0c7c675703d6: Pull complete 16:40:52 cc8c12a437cb: Pull complete 16:40:53 c5dafad2182a: Verifying Checksum 16:40:53 c5dafad2182a: Download complete 16:40:55 c5dafad2182a: Pull complete 16:40:55 5aa711733414: Pull complete 16:40:55 058f73b55e4b: Pull complete 16:40:55 8c9c664faf12: Pull complete 16:40:55 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:40:55 Status: Downloaded newer image for docker:latest 16:40:57 ---> d51d9d39836c 16:40:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:40:57 ---> Running in 40e2a9c0b5d5 16:40:57 Removing intermediate container 40e2a9c0b5d5 16:40:57 ---> bcaca01cd04d 16:40:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:40:57 ---> Running in b422cb809ca9 16:40:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:40:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:41:00 (1/5) Installing libsodium (1.0.18-r0) 16:41:00 (2/5) Installing libzmq (4.3.3-r0) 16:41:00 (3/5) Installing pkgconf (1.7.2-r0) 16:41:00 (4/5) Installing libsodium-dev (1.0.18-r0) 16:41:00 (5/5) Installing zeromq-dev (4.3.3-r0) 16:41:00 Executing busybox-1.31.1-r16.trigger 16:41:00 OK: 167 MiB in 44 packages 16:41:01 Removing intermediate container b422cb809ca9 16:41:01 ---> 8b290104ba96 16:41:01 Step 6/8 : WORKDIR /build 16:41:01 ---> Running in df169c3abc9d 16:41:01 Removing intermediate container df169c3abc9d 16:41:01 ---> f53f33d7e853 16:41:01 Step 7/8 : COPY go.mod . 16:41:01 ---> 3d94bd0a42d9 16:41:01 Step 8/8 : RUN go mod download 16:41:01 ---> Running in 01466d81ecf2 16:41:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9162 in /w/workspace/ndry_app-functions-sdk-go_PR-563 [Pipeline] { [Pipeline] ws 16:41:11 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:41:16 using credential edgex-jenkins-ssh 16:41:16 Cloning the remote Git repository 16:41:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:41:16 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 16:41:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:41:16 > git --version # timeout=10 16:41:16 > git --version # 'git version 2.17.1' 16:41:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:41:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:41:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:41:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:41:20 Merging remotes/origin/master commit a92a438410e8353070781e72258a0255f6bf6bbe into PR head commit b3b2adadf5bd532a5e3562a2219d04a245bbebfc 16:41:20 Merge succeeded, producing b3b2adadf5bd532a5e3562a2219d04a245bbebfc 16:41:20 Checking out Revision b3b2adadf5bd532a5e3562a2219d04a245bbebfc (PR-563) 16:41:20 > git config core.sparsecheckout # timeout=10 16:41:20 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # timeout=10 16:41:20 > git remote # timeout=10 16:41:20 > git config --get remote.origin.url # timeout=10 16:41:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:20 > git merge a92a438410e8353070781e72258a0255f6bf6bbe # timeout=10 16:41:20 > git rev-parse HEAD^{commit} # timeout=10 16:41:20 > git config core.sparsecheckout # timeout=10 16:41:20 > git checkout -f b3b2adadf5bd532a5e3562a2219d04a245bbebfc # timeout=10 16:41:24 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.56" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:41:25 ========================================================= 16:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:41:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:41:27 + 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 . 16:41:27 Sending build context to Docker daemon 19.15MB 16:41:27 Step 1/8 : ARG BASE=golang:1.15-alpine 16:41:27 Step 2/8 : FROM ${BASE} 16:41:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:41:28 b538f80385f9: Pulling fs layer 16:41:28 74f711af9a0d: Pulling fs layer 16:41:28 99f96fe45779: Pulling fs layer 16:41:28 8529a6b9a6be: Pulling fs layer 16:41:28 45590311c82a: Pulling fs layer 16:41:28 69ca0ff8b7b3: Pulling fs layer 16:41:28 209524e5b208: Pulling fs layer 16:41:28 45590311c82a: Waiting 16:41:28 69ca0ff8b7b3: Waiting 16:41:28 209524e5b208: Waiting 16:41:28 8529a6b9a6be: Waiting 16:41:28 99f96fe45779: Verifying Checksum 16:41:28 99f96fe45779: Download complete 16:41:28 74f711af9a0d: Verifying Checksum 16:41:28 74f711af9a0d: Download complete 16:41:28 45590311c82a: Verifying Checksum 16:41:28 45590311c82a: Download complete 16:41:28 69ca0ff8b7b3: Verifying Checksum 16:41:28 b538f80385f9: Verifying Checksum 16:41:28 b538f80385f9: Download complete 16:41:28 Removing intermediate container 01466d81ecf2 16:41:28 ---> 849601709f1f 16:41:28 Successfully built 849601709f1f 16:41:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:41:28 + docker inspect -f . ci-base-image-x86_64 16:41:28 . [Pipeline] withDockerContainer 16:41:29 b538f80385f9: Pull complete 16:41:29 prd-centos7-docker-4c-2g-9161 does not seem to be running inside a container 16:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:41:29 74f711af9a0d: Pull complete 16:41:30 99f96fe45779: Pull complete 16:41:30 $ docker top c38a8afd84975ab33ddbb454fbd0269d7df84b57c453c1b40356371247b0ebcb -eo pid,comm 16:41:30 209524e5b208: Verifying Checksum 16:41:30 209524e5b208: Download complete [Pipeline] { [Pipeline] sh 16:41:30 + go version 16:41:30 go version go1.15.2 linux/amd64 [Pipeline] } 16:41:30 $ docker stop --time=1 c38a8afd84975ab33ddbb454fbd0269d7df84b57c453c1b40356371247b0ebcb 16:41:32 $ docker rm -f c38a8afd84975ab33ddbb454fbd0269d7df84b57c453c1b40356371247b0ebcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 16:41:32 8529a6b9a6be: Verifying Checksum 16:41:32 8529a6b9a6be: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:32 + docker inspect -f . ci-base-image-x86_64 16:41:32 . [Pipeline] withDockerContainer 16:41:33 prd-centos7-docker-4c-2g-9161 does not seem to be running inside a container 16:41:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:41:33 $ docker top 1f423231f94258aa638fb2b0dec77e595dc94c495be0b21ee4ba7939b75eb0b0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:34 + make test 16:41:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:41:35 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:41:42 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.029s coverage: 86.2% of statements 16:41:42 8529a6b9a6be: Pull complete 16:41:42 45590311c82a: Pull complete 16:41:43 69ca0ff8b7b3: Pull complete 16:41:47 209524e5b208: Pull complete 16:41:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 16:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:41:47 ---> 5bddaf1c2fca 16:41:47 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:41:47 latest: Pulling from library/docker 16:41:47 5f621e34cdf4: Pulling fs layer 16:41:47 85db56a05063: Pulling fs layer 16:41:47 ccb67d6aeaaa: Pulling fs layer 16:41:47 a0b19fc83503: Pulling fs layer 16:41:47 8eb508b41278: Pulling fs layer 16:41:47 37236713561e: Pulling fs layer 16:41:47 07c93f2b1b56: Pulling fs layer 16:41:47 8eb508b41278: Waiting 16:41:47 37236713561e: Waiting 16:41:47 07c93f2b1b56: Waiting 16:41:47 a0b19fc83503: Waiting 16:41:47 ccb67d6aeaaa: Verifying Checksum 16:41:47 ccb67d6aeaaa: Download complete 16:41:47 85db56a05063: Verifying Checksum 16:41:47 85db56a05063: Download complete 16:41:47 5f621e34cdf4: Verifying Checksum 16:41:47 5f621e34cdf4: Download complete 16:41:47 8eb508b41278: Download complete 16:41:47 07c93f2b1b56: Verifying Checksum 16:41:47 07c93f2b1b56: Download complete 16:41:47 37236713561e: Verifying Checksum 16:41:47 37236713561e: Download complete 16:41:48 5f621e34cdf4: Pull complete 16:41:49 85db56a05063: Pull complete 16:41:49 a0b19fc83503: Verifying Checksum 16:41:49 a0b19fc83503: Download complete 16:41:49 ccb67d6aeaaa: Pull complete 16:41:52 a0b19fc83503: Pull complete 16:41:52 8eb508b41278: Pull complete 16:41:53 37236713561e: Pull complete 16:41:53 07c93f2b1b56: Pull complete 16:41:53 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:41:53 Status: Downloaded newer image for docker:latest 16:41:57 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.039s coverage: 52.0% of statements 16:41:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:41:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:41:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.028s coverage: 54.7% of statements 16:41:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:41:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.170s coverage: 69.1% of statements 16:42:00 ---> 392355e276ed 16:42:00 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:42:00 ---> Running in f1d7d26b0361 16:42:00 Removing intermediate container f1d7d26b0361 16:42:00 ---> 42cd3c5ab780 16:42:00 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:42:00 ---> Running in b0587a78dfb3 16:42:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:42:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:42:03 (1/5) Installing libsodium (1.0.18-r0) 16:42:03 (2/5) Installing libzmq (4.3.3-r0) 16:42:03 (3/5) Installing pkgconf (1.7.2-r0) 16:42:03 (4/5) Installing libsodium-dev (1.0.18-r0) 16:42:04 (5/5) Installing zeromq-dev (4.3.3-r0) 16:42:04 Executing busybox-1.31.1-r16.trigger 16:42:04 OK: 144 MiB in 44 packages 16:42:05 Removing intermediate container b0587a78dfb3 16:42:05 ---> db8f898c3b24 16:42:05 Step 6/8 : WORKDIR /build 16:42:05 ---> Running in 3b80138d8304 16:42:05 Removing intermediate container 3b80138d8304 16:42:05 ---> 1a6feb426fbf 16:42:05 Step 7/8 : COPY go.mod . 16:42:06 ---> 06c371f5c122 16:42:06 Step 8/8 : RUN go mod download 16:42:06 ---> Running in 21e0307171ff 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.421s coverage: 61.6% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.015s coverage: 100.0% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.004s coverage: 96.6% of statements 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.916s coverage: 75.0% of statements 16:42:12 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements 16:42:12 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 16:42:27 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.043s coverage: 70.8% of statements 16:42:27 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.007s coverage: 94.4% of statements 16:42:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:42:31 gofmt -l . 16:42:31 [ "`gofmt -l .`" = "" ] 16:42:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:42:32 Stashed 1 file(s) [Pipeline] } 16:42:32 $ docker stop --time=1 1f423231f94258aa638fb2b0dec77e595dc94c495be0b21ee4ba7939b75eb0b0 16:42:33 Removing intermediate container 21e0307171ff 16:42:33 ---> ca04fbde13b0 16:42:33 Successfully built ca04fbde13b0 16:42:33 Successfully tagged ci-base-image-arm64:latest 16:42:33 $ docker rm -f 1f423231f94258aa638fb2b0dec77e595dc94c495be0b21ee4ba7939b75eb0b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 16:42:34 + docker inspect -f . ci-base-image-arm64 16:42:34 . Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] withDockerContainer 16:42:35 prd-ubuntu18.04-docker-arm64-4c-16g-9162 does not seem to be running inside a container 16:42:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat 16:42:36 $ docker top 5e3ac035db6724755c918dc8016770986c09fc35e7069615d73f77158fb37eee -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:42:38 + go version 16:42:38 go version go1.15.2 linux/arm64 [Pipeline] } 16:42:38 $ docker stop --time=1 5e3ac035db6724755c918dc8016770986c09fc35e7069615d73f77158fb37eee 16:42:40 $ docker rm -f 5e3ac035db6724755c918dc8016770986c09fc35e7069615d73f77158fb37eee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:42:41 + docker inspect -f . ci-base-image-arm64 16:42:41 . [Pipeline] withDockerContainer 16:42:41 prd-ubuntu18.04-docker-arm64-4c-16g-9162 does not seem to be running inside a container 16:42:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat 16:42:43 $ docker top ac183755f20ec316e9c818a886b8d8d80076ac28f8edd6eec434d46f0f7338df -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:44 + make test 16:42:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:42:46 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:43:08 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.066s coverage: 86.2% of statements 16:43:47 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.057s coverage: 52.0% of statements 16:43:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:43:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:43:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 54.7% of statements 16:43:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:43:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.046s coverage: 69.1% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.452s coverage: 61.6% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.016s coverage: 89.5% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.017s coverage: 100.0% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.030s coverage: 100.0% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.017s coverage: 100.0% of statements 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:43:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:43:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.029s coverage: 8.8% of statements 16:43:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.941s coverage: 75.0% of statements 16:43:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:43:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.043s coverage: 89.7% of statements 16:43:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements 16:43:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.048s coverage: 80.5% of statements 16:43:58 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements 16:44:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.057s coverage: 70.8% of statements 16:44:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements 16:44:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:44:38 gofmt -l . 16:44:38 [ "`gofmt -l .`" = "" ] 16:44:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:44:38 Warning: overwriting stash ‘coverage-report’ 16:44:38 Stashed 1 file(s) [Pipeline] } 16:44:38 $ docker stop --time=1 ac183755f20ec316e9c818a886b8d8d80076ac28f8edd6eec434d46f0f7338df 16:44:41 $ docker rm -f ac183755f20ec316e9c818a886b8d8d80076ac28f8edd6eec434d46f0f7338df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 16:44:43 provisioning config files... 16:44:43 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/config6506709946808731597tmp [Pipeline] { [Pipeline] sh 16:44:44 + set +x 16:44:44 + curl -s https://codecov.io/bash 16:44:44 + bash -s -- 16:44:44 16:44:44 _____ _ 16:44:44 / ____| | | 16:44:44 | | ___ __| | ___ ___ _____ __ 16:44:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:44:44 | |___| (_) | (_| | __/ (_| (_) \ V / 16:44:44 \_____\___/ \__,_|\___|\___\___/ \_/ 16:44:44 Bash-20201009-048fee3 16:44:44 16:44:44 16:44:44 ==> Jenkins CI detected. 16:44:44 project root: . 16:44:44 Fixing merge commit SHA 16:44:44 --> token set from env 16:44:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:44:44 ==> Running gcov in . (disable via -X gcov) 16:44:44 ==> Python coveragepy not found 16:44:44 ==> Searching for coverage reports in: 16:44:44 + . 16:44:44 -> Found 1 reports 16:44:44 ==> Detecting git/mercurial file structure 16:44:44 ==> Reading reports 16:44:44 + ./coverage.out bytes=90548 16:44:44 ==> Appending adjustments 16:44:44 https://docs.codecov.io/docs/fixing-reports 16:44:45 + Found adjustments 16:44:45 ==> Gzipping contents 16:44:45 ==> Uploading reports 16:44:45 url: https://codecov.io 16:44:45 query: branch=PR-563&commit=a92a438410e8353070781e72258a0255f6bf6bbe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-563%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=563&job=&cmd_args= 16:44:45 -> Pinging Codecov 16:44:45 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-563&commit=a92a438410e8353070781e72258a0255f6bf6bbe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-563%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=563&job=&cmd_args= 16:44:45 -> Uploading to 16:44:45 16:44:45 % Total % Received % Xferd Average Speed Time Time Time Current 16:44:45 Dload Upload Total Spent Left Speed 16:44:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 16:44:45 X> Failed to upload 16:44:45 ==> Uploading to Codecov 16:44:45 % Total % Received % Xferd Average Speed Time Time Time Current 16:44:45 Dload Upload Total Spent Left Speed 16:44:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16110 0 0 100 16110 0 13809 0:00:01 0:00:01 --:--:-- 13816 100 16110 0 0 100 16110 0 8047 0:00:02 0:00:02 --:--:-- 8050 100 16110 0 0 100 16110 0 5364 0:00:03 0:00:03 --:--:-- 5364 100 16110 0 0 100 16110 0 4022 0:00:04 0:00:04 --:--:-- 4023 100 16110 0 0 100 16110 0 3218 0:00:05 0:00:05 --:--:-- 3218 100 16110 0 0 100 16110 0 2681 0:00:06 0:00:06 --:--:-- 0 100 16227 100 117 100 16110 19 2619 0:00:06 0:00:06 --:--:-- 0 16:44:51 View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a92a438410e8353070781e72258a0255f6bf6bbe [Pipeline] } 16:44:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 16:44:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:44:55 ---> package-listing.sh 16:44:55 ++ facter osfamily 16:44:55 ++ tr '[:upper:]' '[:lower:]' 16:44:55 + OS_FAMILY=redhat 16:44:55 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-563 16:44:55 + START_PACKAGES=/tmp/packages_start.txt 16:44:55 + END_PACKAGES=/tmp/packages_end.txt 16:44:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:44:55 + PACKAGES=/tmp/packages_start.txt 16:44:55 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-563 ']' 16:44:55 + PACKAGES=/tmp/packages_end.txt 16:44:55 + case "${OS_FAMILY}" in 16:44:55 + rpm -qa 16:44:55 + sort 16:44:59 + '[' -f /tmp/packages_start.txt ']' 16:44:59 + '[' -f /tmp/packages_end.txt ']' 16:44:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:44:59 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-563 ']' 16:44:59 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-563/archives/ 16:44:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-563/archives/ [Pipeline] echo 16:44:59 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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:44:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:00 16:45:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:45:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:00 alpine: Pulling from edgex-lftools-log-publisher 16:45:00 df20fa9351a1: Pulling fs layer 16:45:00 36b3adc4ff6f: Pulling fs layer 16:45:00 8ad3a11d3b57: Pulling fs layer 16:45:00 46f8f816bc3b: Pulling fs layer 16:45:00 93b61091891f: Pulling fs layer 16:45:00 93b9cdb0e59b: Pulling fs layer 16:45:00 5e14af77c1be: Pulling fs layer 16:45:00 01666e4c0597: Pulling fs layer 16:45:00 aa168da1d23b: Pulling fs layer 16:45:00 93b61091891f: Waiting 16:45:00 93b9cdb0e59b: Waiting 16:45:00 5e14af77c1be: Waiting 16:45:00 01666e4c0597: Waiting 16:45:00 aa168da1d23b: Waiting 16:45:00 46f8f816bc3b: Waiting 16:45:00 36b3adc4ff6f: Verifying Checksum 16:45:00 36b3adc4ff6f: Download complete 16:45:00 46f8f816bc3b: Verifying Checksum 16:45:00 46f8f816bc3b: Download complete 16:45:00 df20fa9351a1: Verifying Checksum 16:45:00 93b9cdb0e59b: Verifying Checksum 16:45:00 93b9cdb0e59b: Download complete 16:45:00 93b61091891f: Verifying Checksum 16:45:00 93b61091891f: Download complete 16:45:00 01666e4c0597: Verifying Checksum 16:45:00 01666e4c0597: Download complete 16:45:00 5e14af77c1be: Verifying Checksum 16:45:00 5e14af77c1be: Download complete 16:45:01 df20fa9351a1: Pull complete 16:45:01 8ad3a11d3b57: Verifying Checksum 16:45:01 8ad3a11d3b57: Download complete 16:45:01 36b3adc4ff6f: Pull complete 16:45:01 8ad3a11d3b57: Pull complete 16:45:02 46f8f816bc3b: Pull complete 16:45:02 93b61091891f: Pull complete 16:45:02 93b9cdb0e59b: Pull complete 16:45:03 5e14af77c1be: Pull complete 16:45:03 aa168da1d23b: Verifying Checksum 16:45:03 aa168da1d23b: Download complete 16:45:03 01666e4c0597: Pull complete 16:45:09 aa168da1d23b: Pull complete 16:45:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:45:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:45:09 prd-centos7-docker-4c-2g-9156 does not seem to be running inside a container 16:45:09 $ 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-563/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-563 -v /w/workspace/ndry_app-functions-sdk-go_PR-563:/w/workspace/ndry_app-functions-sdk-go_PR-563:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-563@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-563@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:10003/edgex-lftools-log-publisher:alpine cat 16:45:17 $ docker top 3c23287774dae7b07df2dcb0ec66824f552740ca1e3d8a611ae398f31e9c99cf -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:17 + touch /tmp/pre-build-complete [Pipeline] sh 16:45:17 + mkdir -p /var/log/sa [Pipeline] sh 16:45:18 + ls /var/log/sa-host 16:45:18 + sadf -c /var/log/sa-host/sa05 16:45:18 file_magic: OK 16:45:18 HZ: Using current value: 100 16:45:18 file_header: OK 16:45:18 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 16:45:18 Statistics: 16:45:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:45:18 File successfully converted to sysstat format version 12.2.1 16:45:18 + sadf -c /var/log/sa-host/sa27 16:45:18 file_magic: OK 16:45:18 HZ: Using current value: 100 16:45:18 file_header: OK 16:45:18 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 16:45:18 Statistics: 16:45:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:45:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:18 provisioning config files... 16:45:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-563@tmp/config812699070046695520tmp [Pipeline] { [Pipeline] echo 16:45:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:45:18 ---> create-netrc.sh [Pipeline] } 16:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:45:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:45:19 ---> python-tools-install.sh [Pipeline] echo 16:45:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:45:19 ---> sudo-logs.sh 16:45:19 Archiving 'sudo' log.. [Pipeline] echo 16:45:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:45:19 ---> job-cost.sh 16:45:19 lf-activate-venv: SKIPPING 16:45:19 INFO: No Stack... 16:45:20 INFO: Retrieving Pricing Info for: v1-standard-2 16:45:21 INFO: Archiving Costs [Pipeline] echo 16:45:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:45:21 ---> logs-deploy.sh 16:45:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-563/3 16:45:21 INFO: archiving workspace using pattern(s): 16:45:23 Archives upload complete. 16:45:23 INFO: archiving logs to Nexus