Pull request #613 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 AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at 8220514db9c46f1303b383cc7e926772ea111e12 rather than 3061cd0fb9122b6d009abe1d93ed42986b80777c Obtained Jenkinsfile from 8220514db9c46f1303b383cc7e926772ea111e12 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19009’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19010 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [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-613 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8220514db9c46f1303b383cc7e926772ea111e12 into PR head commit 3061cd0fb9122b6d009abe1d93ed42986b80777c Merge succeeded, producing 3061cd0fb9122b6d009abe1d93ed42986b80777c Checking out Revision 3061cd0fb9122b6d009abe1d93ed42986b80777c (PR-613) > git config core.sparsecheckout # timeout=10 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # 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 8220514db9c46f1303b383cc7e926772ea111e12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # timeout=10 Commit message: "feat(sdk): Add MakeItStop" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 5793c060fdf24658dc4ac0b644957ab748e3f50f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:46:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:46:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:46:47 ========================================================= 00:46:47 EdgeX Global Pipelines Version Info 00:46:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:46:48 ------------------- 00:46:48 stable info: 00:46:48 ------------------- 00:46:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:46:48 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:46:48 Message: update stable to v1.0.173 00:46:49 ------------------- 00:46:49 experimental info: 00:46:49 ------------------- 00:46:49 Commited By: **** collab-it+edgex@linuxfoundation.org 00:46:49 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:46:49 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:46:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3061cd0fb9122b6d009abe1d93ed42986b80777c [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3061cd0 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:54 + git log --format=format:%s -1 3061cd0fb9122b6d009abe1d93ed42986b80777c [Pipeline] echo 00:46:54 GIT_COMMIT: 3061cd0fb9122b6d009abe1d93ed42986b80777c, Commit Message: feat(sdk): Add MakeItStop [Pipeline] echo 00:46:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:46:55 00:46:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:46:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:46:56 latest: Pulling from edgex-devops/git-semver 00:46:56 31603596830f: Pulling fs layer 00:46:56 2a8b12db71e7: Pulling fs layer 00:46:56 6ca5941a6612: Pulling fs layer 00:46:56 ecc8261a40a4: Pulling fs layer 00:46:56 ecc8261a40a4: Waiting 00:46:56 2a8b12db71e7: Verifying Checksum 00:46:56 2a8b12db71e7: Download complete 00:46:56 31603596830f: Verifying Checksum 00:46:56 31603596830f: Download complete 00:46:56 ecc8261a40a4: Verifying Checksum 00:46:56 ecc8261a40a4: Download complete 00:46:56 6ca5941a6612: Verifying Checksum 00:46:56 6ca5941a6612: Download complete 00:46:56 31603596830f: Pull complete 00:46:56 2a8b12db71e7: Pull complete 00:46:57 6ca5941a6612: Pull complete 00:46:57 ecc8261a40a4: Pull complete 00:46:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:46:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:46:58 prd-centos7-docker-4c-2g-19010 does not seem to be running inside a container 00:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-613 -v /w/workspace/ndry_app-functions-sdk-go_PR-613:/w/workspace/ndry_app-functions-sdk-go_PR-613:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-613@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:47:00 $ docker top 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:47:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:00 [ssh-agent] Looking for ssh-agent implementation... 00:47:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:00 $ docker exec 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b ssh-agent 00:47:00 SSH_AUTH_SOCK=/tmp/ssh-MA4zBwW2F1WD/agent.11 00:47:00 SSH_AGENT_PID=16 00:47:00 Running ssh-add (command line suppressed) 00:47:01 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_4513527092405338517.key (/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_4513527092405338517.key) 00:47:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:01 + git tag --points-at HEAD [Pipeline] } 00:47:01 $ docker exec --env ******** --env ******** 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b ssh-agent -k 00:47:01 unset SSH_AUTH_SOCK; 00:47:01 unset SSH_AGENT_PID; 00:47:01 echo Agent pid 16 killed; 00:47:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:47:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:01 [ssh-agent] Looking for ssh-agent implementation... 00:47:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:02 $ docker exec 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b ssh-agent 00:47:02 SSH_AUTH_SOCK=/tmp/ssh-TIwt1oKp6ihP/agent.47 00:47:02 SSH_AGENT_PID=52 00:47:02 Running ssh-add (command line suppressed) 00:47:02 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_4576077747093134468.key (/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/private_key_4576077747093134468.key) 00:47:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:02 + git semver init 00:47:02 # -> Open(): unable to determine branch for HEAD 00:47:02 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-613/.git 00:47:02 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-613 00:47:02 # $SEMVER_REMOTE_NAME = origin 00:47:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:47:02 # $SEMVER_USER_NAME = edgex-jenkins 00:47:02 # $SEMVER_BRANCH = PR-613 00:47:02 # $SEMVER_TEMP = /tmp/semver-702688023 00:47:02 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:47:06 # '/tmp/semver-702688023' -> '/w/workspace/ndry_app-functions-sdk-go_PR-613/.semver' 00:47:06 # -> Force: false 00:47:06 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-613/.semver [Pipeline] } 00:47:06 $ docker exec --env ******** --env ******** 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b ssh-agent -k 00:47:06 unset SSH_AUTH_SOCK; 00:47:06 unset SSH_AGENT_PID; 00:47:06 echo Agent pid 52 killed; 00:47:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:47:06 + git semver [Pipeline] } 00:47:06 $ docker stop --time=1 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b 00:47:08 $ docker rm -f 075cf44d45deeeeaab534d7dfb7666c1f6420fbb15cbddd1d2ce1c5fdda3d05b [Pipeline] // withDockerContainer [Pipeline] sh 00:47:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:47:09 Stashed 1 file(s) [Pipeline] echo 00:47:09 [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:47:24 Still waiting to schedule task 00:47:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:47:24 Still waiting to schedule task 00:47:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:48:46 Running on prd-centos7-docker-4c-2g-19011 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [Pipeline] { [Pipeline] ws 00:48:46 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 00:48:48 using credential edgex-jenkins-ssh 00:48:48 Cloning the remote Git repository 00:48:48 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:48:48 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 00:48:48 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:48:48 > git --version # timeout=10 00:48:48 > git --version # 'git version 2.24.3' 00:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:49 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:48:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:49 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:48:49 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:48:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:48:51 Merging remotes/origin/master commit 8220514db9c46f1303b383cc7e926772ea111e12 into PR head commit 3061cd0fb9122b6d009abe1d93ed42986b80777c 00:48:51 Merge succeeded, producing 3061cd0fb9122b6d009abe1d93ed42986b80777c 00:48:51 Checking out Revision 3061cd0fb9122b6d009abe1d93ed42986b80777c (PR-613) 00:48:50 > git config core.sparsecheckout # timeout=10 00:48:50 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # timeout=10 00:48:50 > git remote # timeout=10 00:48:50 > git config --get remote.origin.url # timeout=10 00:48:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:50 > git merge 8220514db9c46f1303b383cc7e926772ea111e12 # timeout=10 00:48:50 > git rev-parse HEAD^{commit} # timeout=10 00:48:50 > git config core.sparsecheckout # timeout=10 00:48:50 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # timeout=10 00:48:54 Commit message: "feat(sdk): Add MakeItStop" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:48:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:48:56 + sudo service docker restart 00:48:56 + true 00:48:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:48:58 ========================================================= 00:48:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:48:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:48:58 + 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:48:59 Sending build context to Docker daemon 19.11MB 00:48:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:48:59 Step 2/8 : FROM ${BASE} 00:48:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:48:59 188c0c94c7c5: Pulling fs layer 00:48:59 0ef7d3d256c8: Pulling fs layer 00:48:59 de9db76c5a1d: Pulling fs layer 00:48:59 bca2f99d35d6: Pulling fs layer 00:48:59 93359f2a8cfa: Pulling fs layer 00:48:59 7c6f9722023f: Pulling fs layer 00:48:59 a35cf1a2eb13: Pulling fs layer 00:48:59 bca2f99d35d6: Waiting 00:48:59 93359f2a8cfa: Waiting 00:48:59 7c6f9722023f: Waiting 00:48:59 a35cf1a2eb13: Waiting 00:48:59 de9db76c5a1d: Download complete 00:48:59 0ef7d3d256c8: Verifying Checksum 00:48:59 0ef7d3d256c8: Download complete 00:48:59 93359f2a8cfa: Download complete 00:48:59 7c6f9722023f: Verifying Checksum 00:48:59 188c0c94c7c5: Verifying Checksum 00:48:59 188c0c94c7c5: Download complete 00:48:59 188c0c94c7c5: Pull complete 00:48:59 0ef7d3d256c8: Pull complete 00:49:00 de9db76c5a1d: Pull complete 00:49:01 a35cf1a2eb13: Verifying Checksum 00:49:01 a35cf1a2eb13: Download complete 00:49:02 bca2f99d35d6: Verifying Checksum 00:49:02 bca2f99d35d6: Download complete 00:49:07 bca2f99d35d6: Pull complete 00:49:07 93359f2a8cfa: Pull complete 00:49:07 7c6f9722023f: Pull complete 00:49:16 a35cf1a2eb13: Pull complete 00:49:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:49:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:49:16 ---> a62c8e92a672 00:49:16 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:49:16 20.10.0: Pulling from library/docker 00:49:16 05e7bc50f07f: Pulling fs layer 00:49:16 6db28d0fdbf6: Pulling fs layer 00:49:16 292df0bc6bf3: Pulling fs layer 00:49:16 2e060f4bd70b: Pulling fs layer 00:49:16 80e8d568a223: Pulling fs layer 00:49:16 8dc6ef1a942a: Pulling fs layer 00:49:16 2312dd95470a: Pulling fs layer 00:49:16 80e8d568a223: Waiting 00:49:16 8dc6ef1a942a: Waiting 00:49:16 2312dd95470a: Waiting 00:49:16 2e060f4bd70b: Waiting 00:49:16 292df0bc6bf3: Verifying Checksum 00:49:16 292df0bc6bf3: Download complete 00:49:16 6db28d0fdbf6: Verifying Checksum 00:49:16 6db28d0fdbf6: Download complete 00:49:16 80e8d568a223: Verifying Checksum 00:49:16 80e8d568a223: Download complete 00:49:16 05e7bc50f07f: Verifying Checksum 00:49:16 05e7bc50f07f: Download complete 00:49:16 8dc6ef1a942a: Verifying Checksum 00:49:16 8dc6ef1a942a: Download complete 00:49:16 2312dd95470a: Verifying Checksum 00:49:16 2312dd95470a: Download complete 00:49:16 05e7bc50f07f: Pull complete 00:49:17 6db28d0fdbf6: Pull complete 00:49:17 292df0bc6bf3: Pull complete 00:49:17 2e060f4bd70b: Verifying Checksum 00:49:17 2e060f4bd70b: Download complete 00:49:20 2e060f4bd70b: Pull complete 00:49:20 80e8d568a223: Pull complete 00:49:20 8dc6ef1a942a: Pull complete 00:49:20 2312dd95470a: Pull complete 00:49:20 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:49:20 Status: Downloaded newer image for docker:20.10.0 00:49:21 ---> cda5873168ae 00:49:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:49:21 ---> Running in ba7a8d416dd2 00:49:22 Removing intermediate container ba7a8d416dd2 00:49:22 ---> 475b90923d6f 00:49:22 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:49:22 ---> Running in 1a1b407b0c07 00:49:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:49:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:49:25 (1/5) Installing libsodium (1.0.18-r0) 00:49:25 (2/5) Installing libzmq (4.3.3-r0) 00:49:26 (3/5) Installing pkgconf (1.7.2-r0) 00:49:26 (4/5) Installing libsodium-dev (1.0.18-r0) 00:49:26 (5/5) Installing zeromq-dev (4.3.3-r0) 00:49:26 Executing busybox-1.31.1-r19.trigger 00:49:26 OK: 167 MiB in 44 packages 00:49:26 Removing intermediate container 1a1b407b0c07 00:49:26 ---> 72144fad566d 00:49:26 Step 6/8 : WORKDIR /build 00:49:27 ---> Running in beca892e555b 00:49:27 Removing intermediate container beca892e555b 00:49:27 ---> f026fdd13cd5 00:49:27 Step 7/8 : COPY go.mod . 00:49:27 ---> 4620a763be9e 00:49:27 Step 8/8 : RUN go mod download 00:49:27 ---> Running in 0986e8296c17 00:49:50 Removing intermediate container 0986e8296c17 00:49:50 ---> 0f36c7c1ee4c 00:49:50 Successfully built 0f36c7c1ee4c 00:49:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:49:50 + docker inspect -f . ci-base-image-x86_64 00:49:50 . [Pipeline] withDockerContainer 00:49:50 prd-centos7-docker-4c-2g-19011 does not seem to be running inside a container 00:49:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:51 $ docker top 78bc7a13df941ba13aead3e1c5ba8dedbba333c4f19993cade6f34ab66faca49 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:52 + go version 00:49:52 go version go1.15.5 linux/amd64 [Pipeline] } 00:49:52 $ docker stop --time=1 78bc7a13df941ba13aead3e1c5ba8dedbba333c4f19993cade6f34ab66faca49 00:49:53 $ docker rm -f 78bc7a13df941ba13aead3e1c5ba8dedbba333c4f19993cade6f34ab66faca49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:49:54 + docker inspect -f . ci-base-image-x86_64 00:49:54 . [Pipeline] withDockerContainer 00:49:54 prd-centos7-docker-4c-2g-19011 does not seem to be running inside a container 00:49:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:55 $ docker top dd536e012b9ec32b5c9ac878a1eed89d7af3a75ca564f4be8fcc6d20e3bd63e1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:55 + make test 00:49:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:49:57 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 00:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.050s coverage: 81.0% of statements 00:50:13 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.023s coverage: 48.6% of statements 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 00:50:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 00:50:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.058s coverage: 67.7% of statements 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 00:50:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.0% of statements 00:50:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 00:50:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.033s coverage: 8.8% of statements 00:50:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.924s coverage: 75.0% of statements 00:50:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 00:50:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.026s coverage: 87.9% of statements 00:50:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.027s coverage: 80.5% of statements 00:50:21 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements 00:50:43 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.041s coverage: 81.4% of statements 00:50:43 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 00:50:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:50:44 gofmt -l . 00:50:44 [ "`gofmt -l .`" = "" ] 00:50:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:50:44 $ docker stop --time=1 dd536e012b9ec32b5c9ac878a1eed89d7af3a75ca564f4be8fcc6d20e3bd63e1 00:50:46 $ docker rm -f dd536e012b9ec32b5c9ac878a1eed89d7af3a75ca564f4be8fcc6d20e3bd63e1 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19013 in /w/workspace/ndry_app-functions-sdk-go_PR-613 [Pipeline] { [Pipeline] ws 00:51:49 Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout 00:51:54 using credential edgex-jenkins-ssh 00:51:54 Cloning the remote Git repository 00:51:54 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:51:54 > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 00:51:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:51:54 > git --version # timeout=10 00:51:54 > git --version # 'git version 2.17.1' 00:51:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:51:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:51:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:58 Merging remotes/origin/master commit 8220514db9c46f1303b383cc7e926772ea111e12 into PR head commit 3061cd0fb9122b6d009abe1d93ed42986b80777c 00:51:58 Merge succeeded, producing 3061cd0fb9122b6d009abe1d93ed42986b80777c 00:51:58 Checking out Revision 3061cd0fb9122b6d009abe1d93ed42986b80777c (PR-613) 00:51:58 > git config core.sparsecheckout # timeout=10 00:51:58 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # timeout=10 00:51:58 > git remote # timeout=10 00:51:58 > git config --get remote.origin.url # timeout=10 00:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:58 > git merge 8220514db9c46f1303b383cc7e926772ea111e12 # timeout=10 00:51:58 > git rev-parse HEAD^{commit} # timeout=10 00:51:58 > git config core.sparsecheckout # timeout=10 00:51:58 > git checkout -f 3061cd0fb9122b6d009abe1d93ed42986b80777c # timeout=10 00:52:02 Commit message: "feat(sdk): Add MakeItStop" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:52:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:52:05 + sudo service docker restart 00:52:05 + true [Pipeline] unstash [Pipeline] echo 00:52:08 ========================================================= 00:52:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:52:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:52:08 + 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:52:09 Sending build context to Docker daemon 19.1MB 00:52:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:52:09 Step 2/8 : FROM ${BASE} 00:52:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:52:10 5f621e34cdf4: Pulling fs layer 00:52:10 a4357932f1b6: Pulling fs layer 00:52:10 18c013af1878: Pulling fs layer 00:52:10 00ac8860ef70: Pulling fs layer 00:52:10 63d7cb157983: Pulling fs layer 00:52:10 b116817d02f9: Pulling fs layer 00:52:10 745a02a5169b: Pulling fs layer 00:52:10 00ac8860ef70: Waiting 00:52:10 63d7cb157983: Waiting 00:52:10 b116817d02f9: Waiting 00:52:10 745a02a5169b: Waiting 00:52:10 18c013af1878: Verifying Checksum 00:52:10 18c013af1878: Download complete 00:52:10 a4357932f1b6: Verifying Checksum 00:52:10 a4357932f1b6: Download complete 00:52:10 63d7cb157983: Verifying Checksum 00:52:10 63d7cb157983: Download complete 00:52:10 b116817d02f9: Download complete 00:52:10 5f621e34cdf4: Verifying Checksum 00:52:10 5f621e34cdf4: Download complete 00:52:11 5f621e34cdf4: Pull complete 00:52:11 a4357932f1b6: Pull complete 00:52:11 18c013af1878: Pull complete 00:52:12 745a02a5169b: Verifying Checksum 00:52:12 745a02a5169b: Download complete 00:52:14 00ac8860ef70: Verifying Checksum 00:52:14 00ac8860ef70: Download complete 00:52:24 00ac8860ef70: Pull complete 00:52:24 63d7cb157983: Pull complete 00:52:24 b116817d02f9: Pull complete 00:52:28 745a02a5169b: Pull complete 00:52:28 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:52:28 ---> b7e6874047d6 00:52:28 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:52:28 20.10.0: Pulling from library/docker 00:52:28 a3cc7d3b244e: Pulling fs layer 00:52:28 02a3295e0d61: Pulling fs layer 00:52:28 0f4f2e6d8100: Pulling fs layer 00:52:28 330b718f631f: Pulling fs layer 00:52:28 a93816041522: Pulling fs layer 00:52:28 bdb6da89ff94: Pulling fs layer 00:52:28 2a70c0c122f4: Pulling fs layer 00:52:28 a93816041522: Waiting 00:52:28 bdb6da89ff94: Waiting 00:52:28 2a70c0c122f4: Waiting 00:52:28 330b718f631f: Waiting 00:52:28 0f4f2e6d8100: Download complete 00:52:28 a3cc7d3b244e: Verifying Checksum 00:52:28 a3cc7d3b244e: Download complete 00:52:28 02a3295e0d61: Verifying Checksum 00:52:28 02a3295e0d61: Download complete 00:52:28 a93816041522: Verifying Checksum 00:52:28 a93816041522: Download complete 00:52:28 bdb6da89ff94: Verifying Checksum 00:52:28 bdb6da89ff94: Download complete 00:52:28 2a70c0c122f4: Verifying Checksum 00:52:28 2a70c0c122f4: Download complete 00:52:29 a3cc7d3b244e: Pull complete 00:52:29 02a3295e0d61: Pull complete 00:52:30 0f4f2e6d8100: Pull complete 00:52:30 330b718f631f: Verifying Checksum 00:52:30 330b718f631f: Download complete 00:52:34 330b718f631f: Pull complete 00:52:34 a93816041522: Pull complete 00:52:34 bdb6da89ff94: Pull complete 00:52:34 2a70c0c122f4: Pull complete 00:52:34 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:52:34 Status: Downloaded newer image for docker:20.10.0 00:52:41 ---> 4a3549cc7dbd 00:52:41 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:52:41 ---> Running in 2092c363f0e3 00:52:41 Removing intermediate container 2092c363f0e3 00:52:41 ---> 09cc5357c07d 00:52:41 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:52:41 ---> Running in 5958fbaba599 00:52:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:52:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:52:45 (1/5) Installing libsodium (1.0.18-r0) 00:52:45 (2/5) Installing libzmq (4.3.3-r0) 00:52:45 (3/5) Installing pkgconf (1.7.2-r0) 00:52:45 (4/5) Installing libsodium-dev (1.0.18-r0) 00:52:45 (5/5) Installing zeromq-dev (4.3.3-r0) 00:52:45 Executing busybox-1.31.1-r19.trigger 00:52:45 OK: 144 MiB in 44 packages 00:52:47 Removing intermediate container 5958fbaba599 00:52:47 ---> 37673505c7ca 00:52:47 Step 6/8 : WORKDIR /build 00:52:47 ---> Running in 5455f956c1ee 00:52:47 Removing intermediate container 5455f956c1ee 00:52:47 ---> 2fca7be52d3b 00:52:47 Step 7/8 : COPY go.mod . 00:52:48 ---> 31b8ef276ed7 00:52:48 Step 8/8 : RUN go mod download 00:52:48 ---> Running in e4428e64fae8 00:53:15 Removing intermediate container e4428e64fae8 00:53:15 ---> 79e8722cee7a 00:53:15 Successfully built 79e8722cee7a 00:53:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:53:15 + docker inspect -f . ci-base-image-arm64 00:53:15 . [Pipeline] withDockerContainer 00:53:15 prd-ubuntu18.04-docker-arm64-4c-16g-19013 does not seem to be running inside a container 00:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:53:17 $ docker top 4a3e90663bb90cac41aeb271b2da048839743c6424b14c632e6a53de248821dc -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:18 + go version 00:53:18 go version go1.15.5 linux/arm64 [Pipeline] } 00:53:18 $ docker stop --time=1 4a3e90663bb90cac41aeb271b2da048839743c6424b14c632e6a53de248821dc 00:53:20 $ docker rm -f 4a3e90663bb90cac41aeb271b2da048839743c6424b14c632e6a53de248821dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:53:21 + docker inspect -f . ci-base-image-arm64 00:53:21 . [Pipeline] withDockerContainer 00:53:21 prd-ubuntu18.04-docker-arm64-4c-16g-19013 does not seem to be running inside a container 00:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:53:23 $ docker top b31ec026886112861def48c7c2535e6aa550545585641f4837090685f1f437cb -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:24 + make test 00:53:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:53:25 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 00:53:52 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.036s coverage: 81.0% of statements 00:54:15 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.061s coverage: 48.6% of statements 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 00:54:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.079s coverage: 61.5% of statements 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 00:54:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.044s coverage: 67.7% of statements 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 00:54:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.017s coverage: 97.0% of statements 00:54:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 00:54:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.050s coverage: 8.8% of statements 00:54:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.953s coverage: 75.0% of statements 00:54:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 00:54:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.050s coverage: 87.9% of statements 00:54:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.047s coverage: 80.5% of statements 00:54:18 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.068s coverage: 71.7% of statements 00:54:40 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.059s coverage: 81.4% of statements 00:54:40 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.015s coverage: 94.4% of statements 00:54:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:54:51 gofmt -l . 00:54:51 [ "`gofmt -l .`" = "" ] 00:54:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:54:52 $ docker stop --time=1 b31ec026886112861def48c7c2535e6aa550545585641f4837090685f1f437cb 00:54:54 $ docker rm -f b31ec026886112861def48c7c2535e6aa550545585641f4837090685f1f437cb [Pipeline] // withDockerContainer [Pipeline] sh 00:54:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:54:55 Warning: overwriting stash ‘coverage-report’ 00:54:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:54:58 provisioning config files... 00:54:58 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/config2801086825190993953tmp [Pipeline] { [Pipeline] sh 00:54:58 + set +x 00:54:58 + curl -s https://codecov.io/bash 00:54:58 + bash -s -- 00:54:58 00:54:58 _____ _ 00:54:58 / ____| | | 00:54:58 | | ___ __| | ___ ___ _____ __ 00:54:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:54:58 | |___| (_) | (_| | __/ (_| (_) \ V / 00:54:58 \_____\___/ \__,_|\___|\___\___/ \_/ 00:54:58 Bash-20201231-23d4836 00:54:58 00:54:58 00:54:58 ==> git version 2.24.3 found 00:54:58 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:54:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:54:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:54:58 ==> Jenkins CI detected. 00:54:58 project root: . 00:54:58 --> token set from env 00:54:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:54:58 ==> Running gcov in . (disable via -X gcov) 00:54:58 ==> Python coveragepy not found 00:54:58 ==> Searching for coverage reports in: 00:54:58 + . 00:54:58 -> Found 1 reports 00:54:58 ==> Detecting git/mercurial file structure 00:54:58 ==> Reading reports 00:54:58 + ./coverage.out bytes=70562 00:54:58 ==> Appending adjustments 00:54:58 https://docs.codecov.io/docs/fixing-reports 00:54:59 + Found adjustments 00:54:59 ==> Gzipping contents 00:54:59 16K /tmp/codecov.MYULL6.gz 00:54:59 ==> Uploading reports 00:54:59 url: https://codecov.io 00:54:59 query: branch=PR-613&commit=3061cd0fb9122b6d009abe1d93ed42986b80777c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-613%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= 00:54:59 -> Pinging Codecov 00:54:59 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-613&commit=3061cd0fb9122b6d009abe1d93ed42986b80777c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-613%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=613&job=&cmd_args= 00:54:59 -> Uploading to 00:54:59 https://storage.googleapis.com/codecov/v4/raw/2021-01-08/3D8B5DFFC46A037C893635FACE044666/3061cd0fb9122b6d009abe1d93ed42986b80777c/575d5940-b8ee-4848-90eb-24285bbb21e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210108T005459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=261a494b75e338ac51096d733954e9d93914222a5dbe6628db59b935ae7a7d1f 00:54:59 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:59 Dload Upload Total Spent Left Speed 00:55:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12662 0 0 100 12662 0 20653 --:--:-- --:--:-- --:--:-- 20655 00:55:00 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3061cd0fb9122b6d009abe1d93ed42986b80777c [Pipeline] } 00:55:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:55:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:55:03 ---> package-listing.sh 00:55:03 ++ facter osfamily 00:55:03 ++ tr '[:upper:]' '[:lower:]' 00:55:03 + OS_FAMILY=redhat 00:55:03 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-613 00:55:03 + START_PACKAGES=/tmp/packages_start.txt 00:55:03 + END_PACKAGES=/tmp/packages_end.txt 00:55:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:55:03 + PACKAGES=/tmp/packages_start.txt 00:55:03 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-613 ']' 00:55:03 + PACKAGES=/tmp/packages_end.txt 00:55:03 + case "${OS_FAMILY}" in 00:55:03 + rpm -qa 00:55:03 + sort 00:55:09 + '[' -f /tmp/packages_start.txt ']' 00:55:09 + '[' -f /tmp/packages_end.txt ']' 00:55:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:55:09 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-613 ']' 00:55:09 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-613/archives/ 00:55:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-613/archives/ [Pipeline] echo 00:55:09 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-613/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:55:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:55:10 00:55:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:55:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:55:11 alpine: Pulling from edgex-lftools-log-publisher 00:55:11 df20fa9351a1: Pulling fs layer 00:55:11 36b3adc4ff6f: Pulling fs layer 00:55:11 8ad3a11d3b57: Pulling fs layer 00:55:11 46f8f816bc3b: Pulling fs layer 00:55:11 93b61091891f: Pulling fs layer 00:55:11 93b9cdb0e59b: Pulling fs layer 00:55:11 5e14af77c1be: Pulling fs layer 00:55:11 01666e4c0597: Pulling fs layer 00:55:11 aa168da1d23b: Pulling fs layer 00:55:11 93b9cdb0e59b: Waiting 00:55:11 5e14af77c1be: Waiting 00:55:11 46f8f816bc3b: Waiting 00:55:11 93b61091891f: Waiting 00:55:11 aa168da1d23b: Waiting 00:55:11 01666e4c0597: Waiting 00:55:11 36b3adc4ff6f: Verifying Checksum 00:55:11 36b3adc4ff6f: Download complete 00:55:11 46f8f816bc3b: Download complete 00:55:11 df20fa9351a1: Download complete 00:55:11 93b9cdb0e59b: Verifying Checksum 00:55:11 93b9cdb0e59b: Download complete 00:55:11 5e14af77c1be: Verifying Checksum 00:55:11 5e14af77c1be: Download complete 00:55:11 93b61091891f: Verifying Checksum 00:55:11 93b61091891f: Download complete 00:55:11 01666e4c0597: Verifying Checksum 00:55:11 01666e4c0597: Download complete 00:55:11 8ad3a11d3b57: Verifying Checksum 00:55:11 8ad3a11d3b57: Download complete 00:55:11 df20fa9351a1: Pull complete 00:55:12 36b3adc4ff6f: Pull complete 00:55:13 8ad3a11d3b57: Pull complete 00:55:13 aa168da1d23b: Verifying Checksum 00:55:13 aa168da1d23b: Download complete 00:55:13 46f8f816bc3b: Pull complete 00:55:13 93b61091891f: Pull complete 00:55:13 93b9cdb0e59b: Pull complete 00:55:14 5e14af77c1be: Pull complete 00:55:14 01666e4c0597: Pull complete 00:55:20 aa168da1d23b: Pull complete 00:55:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:55:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:55:21 prd-centos7-docker-4c-2g-19010 does not seem to be running inside a container 00:55:21 $ 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-613/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-613 -v /w/workspace/ndry_app-functions-sdk-go_PR-613:/w/workspace/ndry_app-functions-sdk-go_PR-613:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-613@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-613@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:55:26 $ docker top 7d05041414eb0f24f122376b7805124fd4479b5e0092d95ca1b2e757e5735076 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:55:27 + mkdir -p /var/log/sa [Pipeline] sh 00:55:27 + ls /var/log/sa-host 00:55:27 + sadf -c /var/log/sa-host/sa08 00:55:27 file_magic: OK 00:55:27 HZ: Using current value: 100 00:55:27 file_header: OK 00:55:27 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:55:27 Statistics: 00:55:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:55:27 File successfully converted to sysstat format version 12.2.1 00:55:27 + sadf -c /var/log/sa-host/sa23 00:55:27 file_magic: OK 00:55:27 HZ: Using current value: 100 00:55:27 file_header: OK 00:55:27 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:55:27 Statistics: 00:55:27 Hnuu...uuuununununu... 00:55:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:27 provisioning config files... 00:55:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-613@tmp/config2028743343805737702tmp [Pipeline] { [Pipeline] echo 00:55:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:55:28 ---> create-netrc.sh [Pipeline] } 00:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:55:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:55:28 ---> python-tools-install.sh [Pipeline] echo 00:55:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:55:28 ---> sudo-logs.sh 00:55:28 Archiving 'sudo' log.. [Pipeline] echo 00:55:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:55:29 ---> job-cost.sh 00:55:29 lf-activate-venv: SKIPPING 00:55:29 INFO: No Stack... 00:55:30 INFO: Retrieving Pricing Info for: v1-standard-2 00:55:30 INFO: Archiving Costs [Pipeline] echo 00:55:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:55:31 ---> logs-deploy.sh 00:55:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-613/6 00:55:31 INFO: archiving workspace using pattern(s): 00:55:33 Archives upload complete. 00:55:33 INFO: archiving logs to Nexus