Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c970b2aceef60929df30741cfc8c6629a8bdbc64+f281c8b713d95d8c203921f39489e26903a82368 (8696200ae7c5322a549b9fc990810bcfa8613aed) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26613 in /w/workspace/ndry_app-functions-sdk-go_PR-697 [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-697 # 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/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit c970b2aceef60929df30741cfc8c6629a8bdbc64 Merge succeeded, producing be5833301ef4b2b4b732c3d2b789a39fa666bd24 Checking out Revision be5833301ef4b2b4b732c3d2b789a39fa666bd24 (PR-697) > git config core.sparsecheckout # timeout=10 > git checkout -f c970b2aceef60929df30741cfc8c6629a8bdbc64 # 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 f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be5833301ef4b2b4b732c3d2b789a39fa666bd24 # timeout=10 Commit message: "Merge commit 'f281c8b713d95d8c203921f39489e26903a82368' into HEAD" > git rev-list --no-walk c970b2aceef60929df30741cfc8c6629a8bdbc64 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:46:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:46:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:46:17 ========================================================= 23:46:17 EdgeX Global Pipelines Version Info 23:46:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:46:18 ------------------- 23:46:18 stable info: 23:46:18 ------------------- 23:46:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:18 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:46:18 Message: update stable to v1.0.179 23:46:19 ------------------- 23:46:19 experimental info: 23:46:19 ------------------- 23:46:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:46:19 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:46:19 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:46:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-697 [Pipeline] echo 23:46:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-697 [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-697 [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be5833301ef4b2b4b732c3d2b789a39fa666bd24 [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be58333 [Pipeline] echo 23:46:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:23 + git log --format=format:%s -1 be5833301ef4b2b4b732c3d2b789a39fa666bd24 [Pipeline] echo 23:46:24 GIT_COMMIT: be5833301ef4b2b4b732c3d2b789a39fa666bd24, Commit Message: Merge commit 'f281c8b713d95d8c203921f39489e26903a82368' into HEAD [Pipeline] echo 23:46:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:24 23:46:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:25 latest: Pulling from edgex-devops/git-semver 23:46:25 31603596830f: Pulling fs layer 23:46:25 2a8b12db71e7: Pulling fs layer 23:46:25 6ca5941a6612: Pulling fs layer 23:46:25 ecc8261a40a4: Pulling fs layer 23:46:25 ecc8261a40a4: Waiting 23:46:25 2a8b12db71e7: Verifying Checksum 23:46:25 2a8b12db71e7: Download complete 23:46:25 31603596830f: Download complete 23:46:25 ecc8261a40a4: Verifying Checksum 23:46:25 ecc8261a40a4: Download complete 23:46:25 6ca5941a6612: Verifying Checksum 23:46:25 6ca5941a6612: Download complete 23:46:25 31603596830f: Pull complete 23:46:26 2a8b12db71e7: Pull complete 23:46:27 6ca5941a6612: Pull complete 23:46:27 ecc8261a40a4: Pull complete 23:46:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:27 prd-centos7-docker-4c-2g-26613 does not seem to be running inside a container 23:46:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-697 -v /w/workspace/ndry_app-functions-sdk-go_PR-697:/w/workspace/ndry_app-functions-sdk-go_PR-697:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-697@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-697@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:46:29 $ docker top f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:29 [ssh-agent] Looking for ssh-agent implementation... 23:46:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:29 $ docker exec f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc ssh-agent 23:46:30 SSH_AUTH_SOCK=/tmp/ssh-yv5IpEWoxrVJ/agent.13 23:46:30 SSH_AGENT_PID=19 23:46:30 Running ssh-add (command line suppressed) 23:46:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-697@tmp/private_key_7685789031571517049.key (/w/workspace/ndry_app-functions-sdk-go_PR-697@tmp/private_key_7685789031571517049.key) 23:46:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:30 + git tag --points-at HEAD [Pipeline] } 23:46:30 $ docker exec --env ******** --env ******** f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc ssh-agent -k 23:46:30 unset SSH_AUTH_SOCK; 23:46:30 unset SSH_AGENT_PID; 23:46:30 echo Agent pid 19 killed; 23:46:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:31 [ssh-agent] Looking for ssh-agent implementation... 23:46:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:31 $ docker exec f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc ssh-agent 23:46:31 SSH_AUTH_SOCK=/tmp/ssh-MtmlnVYHWUsA/agent.48 23:46:31 SSH_AGENT_PID=54 23:46:31 Running ssh-add (command line suppressed) 23:46:31 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-697@tmp/private_key_894708928631477067.key (/w/workspace/ndry_app-functions-sdk-go_PR-697@tmp/private_key_894708928631477067.key) 23:46:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:32 + git semver init 23:46:32 # -> Open(): unable to determine branch for HEAD 23:46:32 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-697/.git 23:46:32 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-697 23:46:32 # $SEMVER_REMOTE_NAME = origin 23:46:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:32 # $SEMVER_USER_NAME = edgex-jenkins 23:46:32 # $SEMVER_BRANCH = PR-697 23:46:32 # $SEMVER_TEMP = /tmp/semver-139876633 23:46:32 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:34 # '/tmp/semver-139876633' -> '/w/workspace/ndry_app-functions-sdk-go_PR-697/.semver' 23:46:34 # -> Force: false 23:46:34 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-697/.semver [Pipeline] } 23:46:34 $ docker exec --env ******** --env ******** f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc ssh-agent -k 23:46:34 unset SSH_AUTH_SOCK; 23:46:34 unset SSH_AGENT_PID; 23:46:34 echo Agent pid 54 killed; 23:46:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:35 + git semver [Pipeline] } 23:46:35 $ docker stop --time=1 f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc 23:46:36 $ docker rm -f f4dc1c7060b488f21e105db134df3d460510c34ec69c8b985e97750c72ca36cc [Pipeline] // withDockerContainer [Pipeline] sh 23:46:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:37 Stashed 1 file(s) [Pipeline] echo 23:46:37 [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 23:46:53 Still waiting to schedule task 23:46:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:46:53 Still waiting to schedule task 23:46:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 23:48:29 Running on prd-centos7-docker-4c-2g-26619 in /w/workspace/ndry_app-functions-sdk-go_PR-697 [Pipeline] { [Pipeline] ws 23:48:29 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:48:32 using credential edgex-jenkins-ssh 23:48:32 Cloning the remote Git repository 23:48:32 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:32 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:48:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:32 > git --version # timeout=10 23:48:32 > git --version # 'git version 2.24.3' 23:48:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:48:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:48:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:48:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:48:36 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit c970b2aceef60929df30741cfc8c6629a8bdbc64 23:48:36 Merge succeeded, producing 2bffd27e2233675073a2c4fe8714278fae389b9c 23:48:36 Checking out Revision 2bffd27e2233675073a2c4fe8714278fae389b9c (PR-697) 23:48:36 > git config core.sparsecheckout # timeout=10 23:48:36 > git checkout -f c970b2aceef60929df30741cfc8c6629a8bdbc64 # timeout=10 23:48:36 > git remote # timeout=10 23:48:36 > git config --get remote.origin.url # timeout=10 23:48:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:48:36 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 23:48:36 > git rev-parse HEAD^{commit} # timeout=10 23:48:36 > git config core.sparsecheckout # timeout=10 23:48:36 > git checkout -f 2bffd27e2233675073a2c4fe8714278fae389b9c # timeout=10 23:48:40 Commit message: "Merge commit 'f281c8b713d95d8c203921f39489e26903a82368' into HEAD" 23:48:40 > git rev-list --no-walk c970b2aceef60929df30741cfc8c6629a8bdbc64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:48:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:48:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:48:42 + sudo service docker restart 23:48:42 + true 23:48:42 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 23:48:44 ========================================================= 23:48:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:48:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:48:44 + 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 . 23:48:44 Sending build context to Docker daemon 19.15MB 23:48:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:48:44 Step 2/8 : FROM ${BASE} 23:48:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:45 188c0c94c7c5: Pulling fs layer 23:48:45 0ef7d3d256c8: Pulling fs layer 23:48:45 de9db76c5a1d: Pulling fs layer 23:48:45 bca2f99d35d6: Pulling fs layer 23:48:45 93359f2a8cfa: Pulling fs layer 23:48:45 7c6f9722023f: Pulling fs layer 23:48:45 a35cf1a2eb13: Pulling fs layer 23:48:45 93359f2a8cfa: Waiting 23:48:45 7c6f9722023f: Waiting 23:48:45 a35cf1a2eb13: Waiting 23:48:45 bca2f99d35d6: Waiting 23:48:45 de9db76c5a1d: Verifying Checksum 23:48:45 de9db76c5a1d: Download complete 23:48:45 0ef7d3d256c8: Verifying Checksum 23:48:45 0ef7d3d256c8: Download complete 23:48:45 188c0c94c7c5: Verifying Checksum 23:48:45 188c0c94c7c5: Download complete 23:48:45 7c6f9722023f: Verifying Checksum 23:48:45 7c6f9722023f: Download complete 23:48:45 188c0c94c7c5: Pull complete 23:48:45 0ef7d3d256c8: Pull complete 23:48:45 de9db76c5a1d: Pull complete 23:48:47 a35cf1a2eb13: Verifying Checksum 23:48:47 a35cf1a2eb13: Download complete 23:48:48 bca2f99d35d6: Verifying Checksum 23:48:48 bca2f99d35d6: Download complete 23:48:53 bca2f99d35d6: Pull complete 23:48:53 93359f2a8cfa: Pull complete 23:48:53 7c6f9722023f: Pull complete 23:49:01 a35cf1a2eb13: Pull complete 23:49:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:49:01 ---> a62c8e92a672 23:49:01 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:01 20.10.0: Pulling from library/docker 23:49:01 05e7bc50f07f: Pulling fs layer 23:49:01 6db28d0fdbf6: Pulling fs layer 23:49:01 292df0bc6bf3: Pulling fs layer 23:49:01 2e060f4bd70b: Pulling fs layer 23:49:01 80e8d568a223: Pulling fs layer 23:49:01 8dc6ef1a942a: Pulling fs layer 23:49:01 2312dd95470a: Pulling fs layer 23:49:01 2e060f4bd70b: Waiting 23:49:01 80e8d568a223: Waiting 23:49:01 8dc6ef1a942a: Waiting 23:49:01 2312dd95470a: Waiting 23:49:02 292df0bc6bf3: Verifying Checksum 23:49:02 292df0bc6bf3: Download complete 23:49:02 6db28d0fdbf6: Verifying Checksum 23:49:02 6db28d0fdbf6: Download complete 23:49:02 80e8d568a223: Verifying Checksum 23:49:02 80e8d568a223: Download complete 23:49:02 05e7bc50f07f: Verifying Checksum 23:49:02 05e7bc50f07f: Download complete 23:49:02 8dc6ef1a942a: Verifying Checksum 23:49:02 8dc6ef1a942a: Download complete 23:49:02 2312dd95470a: Verifying Checksum 23:49:02 2312dd95470a: Download complete 23:49:02 05e7bc50f07f: Pull complete 23:49:02 6db28d0fdbf6: Pull complete 23:49:03 292df0bc6bf3: Pull complete 23:49:03 2e060f4bd70b: Verifying Checksum 23:49:03 2e060f4bd70b: Download complete 23:49:07 2e060f4bd70b: Pull complete 23:49:07 80e8d568a223: Pull complete 23:49:07 8dc6ef1a942a: Pull complete 23:49:07 2312dd95470a: Pull complete 23:49:07 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:49:07 Status: Downloaded newer image for docker:20.10.0 23:49:09 ---> 124eb0a60632 23:49:09 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:49:09 ---> Running in c59c9d521790 23:49:09 Removing intermediate container c59c9d521790 23:49:09 ---> 01487ff8fcfb 23:49:09 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:49:09 ---> Running in 37b8a91954a5 23:49:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:49:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:49:12 (1/5) Installing libsodium (1.0.18-r0) 23:49:12 (2/5) Installing libzmq (4.3.3-r0) 23:49:12 (3/5) Installing pkgconf (1.7.2-r0) 23:49:12 (4/5) Installing libsodium-dev (1.0.18-r0) 23:49:12 (5/5) Installing zeromq-dev (4.3.3-r0) 23:49:12 Executing busybox-1.31.1-r19.trigger 23:49:12 OK: 167 MiB in 44 packages 23:49:13 Removing intermediate container 37b8a91954a5 23:49:13 ---> 788dfb316ed4 23:49:13 Step 6/8 : WORKDIR /build 23:49:13 ---> Running in ae94c55ec707 23:49:14 Removing intermediate container ae94c55ec707 23:49:14 ---> ebce9ed51764 23:49:14 Step 7/8 : COPY go.mod . 23:49:14 ---> 74e96d0deb8d 23:49:14 Step 8/8 : RUN go mod download 23:49:14 ---> Running in bf9f52836560 23:49:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26620 in /w/workspace/ndry_app-functions-sdk-go_PR-697 [Pipeline] { [Pipeline] ws 23:49:21 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:49:26 using credential edgex-jenkins-ssh 23:49:26 Cloning the remote Git repository 23:49:26 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:27 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:49:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:27 > git --version # timeout=10 23:49:27 > git --version # 'git version 2.17.1' 23:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/697/head:refs/remotes/origin/PR-697 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:49:30 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit c970b2aceef60929df30741cfc8c6629a8bdbc64 23:49:31 Merge succeeded, producing 9c9f777f82386805cb69c2b0ca4de06e9377ffc4 23:49:31 Checking out Revision 9c9f777f82386805cb69c2b0ca4de06e9377ffc4 (PR-697) 23:49:30 > git config core.sparsecheckout # timeout=10 23:49:30 > git checkout -f c970b2aceef60929df30741cfc8c6629a8bdbc64 # timeout=10 23:49:30 > git remote # timeout=10 23:49:30 > git config --get remote.origin.url # timeout=10 23:49:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:30 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 23:49:31 > git rev-parse HEAD^{commit} # timeout=10 23:49:31 > git config core.sparsecheckout # timeout=10 23:49:31 > git checkout -f 9c9f777f82386805cb69c2b0ca4de06e9377ffc4 # timeout=10 23:49:35 Commit message: "Merge commit 'f281c8b713d95d8c203921f39489e26903a82368' into HEAD" 23:49:35 > git rev-list --no-walk c970b2aceef60929df30741cfc8c6629a8bdbc64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:49:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:49:38 + + true 23:49:38 sudo service docker restart [Pipeline] unstash [Pipeline] echo 23:49:41 ========================================================= 23:49:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:49:41 ========================================================= 23:49:41 Removing intermediate container bf9f52836560 23:49:41 ---> f4668dd33393 23:49:41 Successfully built f4668dd33393 23:49:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 23:49:41 + 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 . 23:49:41 + docker inspect -f . ci-base-image-x86_64 23:49:41 . [Pipeline] withDockerContainer 23:49:41 prd-centos7-docker-4c-2g-26619 does not seem to be running inside a container 23:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:42 Sending build context to Docker daemon 19.15MB 23:49:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:49:42 Step 2/8 : FROM ${BASE} 23:49:42 $ docker top 215a301907561b9be19d7d041c8a2bd785aec70b485fe202f8ae8994e3f8dc88 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:49:42 5f621e34cdf4: Pulling fs layer 23:49:42 a4357932f1b6: Pulling fs layer 23:49:42 18c013af1878: Pulling fs layer 23:49:42 00ac8860ef70: Pulling fs layer 23:49:42 63d7cb157983: Pulling fs layer 23:49:42 b116817d02f9: Pulling fs layer 23:49:42 745a02a5169b: Pulling fs layer 23:49:42 00ac8860ef70: Waiting 23:49:42 63d7cb157983: Waiting 23:49:42 b116817d02f9: Waiting 23:49:42 745a02a5169b: Waiting 23:49:42 18c013af1878: Verifying Checksum 23:49:42 18c013af1878: Download complete 23:49:42 a4357932f1b6: Verifying Checksum 23:49:42 a4357932f1b6: Download complete 23:49:42 63d7cb157983: Verifying Checksum 23:49:42 63d7cb157983: Download complete 23:49:42 b116817d02f9: Verifying Checksum 23:49:42 b116817d02f9: Download complete 23:49:42 5f621e34cdf4: Download complete 23:49:43 + go version 23:49:43 go version go1.15.5 linux/amd64 [Pipeline] } 23:49:43 $ docker stop --time=1 215a301907561b9be19d7d041c8a2bd785aec70b485fe202f8ae8994e3f8dc88 23:49:43 5f621e34cdf4: Pull complete 23:49:44 a4357932f1b6: Pull complete 23:49:44 $ docker rm -f 215a301907561b9be19d7d041c8a2bd785aec70b485fe202f8ae8994e3f8dc88 23:49:44 18c013af1878: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:45 + docker inspect -f . ci-base-image-x86_64 23:49:45 . [Pipeline] withDockerContainer 23:49:45 prd-centos7-docker-4c-2g-26619 does not seem to be running inside a container 23:49:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:45 745a02a5169b: Verifying Checksum 23:49:45 745a02a5169b: Download complete 23:49:46 $ docker top b390cf417316d34dcfca4c4dbf4d68351665d75d806d933b2f79e217686c49e1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:46 00ac8860ef70: Download complete 23:49:46 + make test 23:49:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:49:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:49:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.067s coverage: 82.6% of statements 23:49:57 00ac8860ef70: Pull complete 23:49:57 63d7cb157983: Pull complete 23:49:57 b116817d02f9: Pull complete 23:50:00 745a02a5169b: Pull complete 23:50:00 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:50:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:50:00 ---> b7e6874047d6 23:50:00 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:50:00 20.10.0: Pulling from library/docker 23:50:00 a3cc7d3b244e: Pulling fs layer 23:50:00 02a3295e0d61: Pulling fs layer 23:50:00 0f4f2e6d8100: Pulling fs layer 23:50:00 330b718f631f: Pulling fs layer 23:50:00 a93816041522: Pulling fs layer 23:50:00 bdb6da89ff94: Pulling fs layer 23:50:00 2a70c0c122f4: Pulling fs layer 23:50:00 a93816041522: Waiting 23:50:00 bdb6da89ff94: Waiting 23:50:00 2a70c0c122f4: Waiting 23:50:00 330b718f631f: Waiting 23:50:00 0f4f2e6d8100: Verifying Checksum 23:50:00 0f4f2e6d8100: Download complete 23:50:00 02a3295e0d61: Verifying Checksum 23:50:00 02a3295e0d61: Download complete 23:50:01 a3cc7d3b244e: Download complete 23:50:01 a93816041522: Verifying Checksum 23:50:01 a93816041522: Download complete 23:50:01 bdb6da89ff94: Download complete 23:50:01 2a70c0c122f4: Verifying Checksum 23:50:01 2a70c0c122f4: Download complete 23:50:01 a3cc7d3b244e: Pull complete 23:50:02 02a3295e0d61: Pull complete 23:50:02 0f4f2e6d8100: Pull complete 23:50:03 330b718f631f: Verifying Checksum 23:50:03 330b718f631f: Download complete 23:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.026s coverage: 50.6% of statements 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.037s coverage: 61.5% of statements 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:50:05 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime.test] 23:50:05 internal/runtime/runtime_test.go:52:13: undefined: requests.NewAddRequest 23:50:05 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [build failed] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:50:05 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 23:50:05 internal/trigger/messagebus/messaging_test.go:48:13: undefined: requests.NewAddRequest 23:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.0% of statements 23:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 8.8% of statements 23:50:06 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 23:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.059s coverage: 87.9% of statements 23:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements 23:50:07 330b718f631f: Pull complete 23:50:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.012s coverage: 71.7% of statements 23:50:07 a93816041522: Pull complete 23:50:07 bdb6da89ff94: Pull complete 23:50:08 2a70c0c122f4: Pull complete 23:50:08 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:50:08 Status: Downloaded newer image for docker:20.10.0 23:50:14 ---> cef6629569c7 23:50:14 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:50:14 ---> Running in 5a42b233e7d5 23:50:14 Removing intermediate container 5a42b233e7d5 23:50:14 ---> cd9eaf607a04 23:50:14 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:50:14 ---> Running in cbaf26aedfc5 23:50:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:50:21 (1/5) Installing libsodium (1.0.18-r0) 23:50:21 (2/5) Installing libzmq (4.3.3-r0) 23:50:21 (3/5) Installing pkgconf (1.7.2-r0) 23:50:21 (4/5) Installing libsodium-dev (1.0.18-r0) 23:50:21 (5/5) Installing zeromq-dev (4.3.3-r0) 23:50:21 Executing busybox-1.31.1-r19.trigger 23:50:21 OK: 144 MiB in 44 packages 23:50:23 Removing intermediate container cbaf26aedfc5 23:50:23 ---> ba252fa26337 23:50:23 Step 6/8 : WORKDIR /build 23:50:23 ---> Running in 3a1faff42ecd 23:50:23 Removing intermediate container 3a1faff42ecd 23:50:23 ---> 8e6d4de61436 23:50:23 Step 7/8 : COPY go.mod . 23:50:24 ---> 6349fe5bcde8 23:50:24 Step 8/8 : RUN go mod download 23:50:24 ---> Running in 9addb49e1a91 23:50:33 --- FAIL: TestTransformToJSON (0.00s) 23:50:33 conversion_test.go:124: 23:50:33 Error Trace: conversion_test.go:124 23:50:33 Error: Not equal: 23:50:33 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:50:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:50:33 23:50:33 Diff: 23:50:33 --- Expected 23:50:33 +++ Actual 23:50:33 @@ -1 +1 @@ 23:50:33 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:50:33 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:50:33 Test: TestTransformToJSON 23:50:33 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 23:50:33 conversion_test.go:151: 23:50:33 Error Trace: conversion_test.go:151 23:50:33 Error: Not equal: 23:50:33 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:50:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:50:33 23:50:33 Diff: 23:50:33 --- Expected 23:50:33 +++ Actual 23:50:33 @@ -1 +1 @@ 23:50:33 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:50:33 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:50:33 Test: TestTransformToJSONMultipleParametersValid 23:50:33 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 23:50:33 conversion_test.go:169: 23:50:33 Error Trace: conversion_test.go:169 23:50:33 Error: Not equal: 23:50:33 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:50:33 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:50:33 23:50:33 Diff: 23:50:33 --- Expected 23:50:33 +++ Actual 23:50:33 @@ -1 +1 @@ 23:50:33 -{"apiVersion":"","id":"","deviceName":"device2","profileName":"","created":0,"origin":0,"readings":null} 23:50:33 +{"apiVersion":"","id":"","deviceName":"device2","profileName":"","origin":0,"readings":null} 23:50:33 Test: TestTransformToJSONMultipleParametersTwoEvents 23:50:33 FAIL 23:50:33 coverage: 82.9% of statements 23:50:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s 23:50:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements 23:50:33 FAIL 23:50:33 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:50:33 $ docker stop --time=1 b390cf417316d34dcfca4c4dbf4d68351665d75d806d933b2f79e217686c49e1 23:50:35 $ docker rm -f b390cf417316d34dcfca4c4dbf4d68351665d75d806d933b2f79e217686c49e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:50:37 Failed in branch amd64 23:50:51 Removing intermediate container 9addb49e1a91 23:50:51 ---> eef903f64fca 23:50:51 Successfully built eef903f64fca 23:50:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:50:51 + docker inspect -f . ci-base-image-arm64 23:50:51 . [Pipeline] withDockerContainer 23:50:51 prd-ubuntu18.04-docker-arm64-4c-16g-26620 does not seem to be running inside a container 23:50:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 23:50:53 $ docker top d33e28d00356d50904a1ad934a42735d6d7539f28560bb85023c069dffa08adc -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:54 + go version 23:50:54 go version go1.15.5 linux/arm64 [Pipeline] } 23:50:54 $ docker stop --time=1 d33e28d00356d50904a1ad934a42735d6d7539f28560bb85023c069dffa08adc 23:50:56 $ docker rm -f d33e28d00356d50904a1ad934a42735d6d7539f28560bb85023c069dffa08adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:57 + docker inspect -f . ci-base-image-arm64 23:50:57 . [Pipeline] withDockerContainer 23:50:57 prd-ubuntu18.04-docker-arm64-4c-16g-26620 does not seem to be running inside a container 23:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 23:50:58 $ docker top 4c7b00415956623884d49e32d57d9090d7544cf4abcde3d3e5a4a2e282b4b645 -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:00 + make test 23:51:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:51:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:51:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.089s coverage: 82.6% of statements 23:51:43 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime.test] 23:51:43 internal/runtime/runtime_test.go:52:13: undefined: requests.NewAddRequest 23:51:44 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 23:51:44 internal/trigger/messagebus/messaging_test.go:48:13: undefined: requests.NewAddRequest 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.113s coverage: 50.6% of statements 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:51:48 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [build failed] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.0% of statements 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 8.8% of statements 23:51:48 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 23:51:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.051s coverage: 87.9% of statements 23:51:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.046s coverage: 80.5% of statements 23:51:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 71.7% of statements 23:52:16 panic: interface conversion: interface {} is nil, not [][]uint8 23:52:16 23:52:16 goroutine 28 [running]: 23:52:16 github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x400032e520, 0x400032e530, 0x400033a280, 0x400033c000, 0x400032e510) 23:52:16 /w/workspace/app-functions-sdk-go/2/pkg/transforms/batch_test.go:126 +0x224 23:52:16 created by github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeAndCountMode_CountMet 23:52:16 /w/workspace/app-functions-sdk-go/2/pkg/transforms/batch_test.go:121 +0x17c 23:52:16 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 22.030s 23:52:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 23:52:16 FAIL 23:52:16 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:52:16 $ docker stop --time=1 4c7b00415956623884d49e32d57d9090d7544cf4abcde3d3e5a4a2e282b4b645 23:52:18 $ docker rm -f 4c7b00415956623884d49e32d57d9090d7544cf4abcde3d3e5a4a2e282b4b645 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:52:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:52:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:23 ---> package-listing.sh 23:52:23 ++ facter osfamily 23:52:23 ++ tr '[:upper:]' '[:lower:]' 23:52:23 + OS_FAMILY=redhat 23:52:23 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-697 23:52:23 + START_PACKAGES=/tmp/packages_start.txt 23:52:23 + END_PACKAGES=/tmp/packages_end.txt 23:52:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:23 + PACKAGES=/tmp/packages_start.txt 23:52:23 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-697 ']' 23:52:23 + PACKAGES=/tmp/packages_end.txt 23:52:23 + case "${OS_FAMILY}" in 23:52:23 + rpm -qa 23:52:23 + sort 23:52:28 + '[' -f /tmp/packages_start.txt ']' 23:52:28 + '[' -f /tmp/packages_end.txt ']' 23:52:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:28 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-697 ']' 23:52:28 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-697/archives/ 23:52:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-697/archives/ [Pipeline] echo 23:52:28 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-697/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:29 23:52:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:52:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:29 alpine: Pulling from edgex-lftools-log-publisher 23:52:29 df20fa9351a1: Pulling fs layer 23:52:29 36b3adc4ff6f: Pulling fs layer 23:52:29 8ad3a11d3b57: Pulling fs layer 23:52:29 46f8f816bc3b: Pulling fs layer 23:52:29 93b61091891f: Pulling fs layer 23:52:29 93b9cdb0e59b: Pulling fs layer 23:52:29 5e14af77c1be: Pulling fs layer 23:52:29 01666e4c0597: Pulling fs layer 23:52:29 aa168da1d23b: Pulling fs layer 23:52:29 93b9cdb0e59b: Waiting 23:52:29 5e14af77c1be: Waiting 23:52:29 01666e4c0597: Waiting 23:52:29 aa168da1d23b: Waiting 23:52:29 46f8f816bc3b: Waiting 23:52:29 93b61091891f: Waiting 23:52:29 36b3adc4ff6f: Download complete 23:52:29 46f8f816bc3b: Download complete 23:52:30 df20fa9351a1: Download complete 23:52:30 93b9cdb0e59b: Verifying Checksum 23:52:30 93b9cdb0e59b: Download complete 23:52:30 93b61091891f: Verifying Checksum 23:52:30 93b61091891f: Download complete 23:52:30 5e14af77c1be: Download complete 23:52:30 01666e4c0597: Verifying Checksum 23:52:30 01666e4c0597: Download complete 23:52:30 df20fa9351a1: Pull complete 23:52:30 8ad3a11d3b57: Verifying Checksum 23:52:30 8ad3a11d3b57: Download complete 23:52:30 36b3adc4ff6f: Pull complete 23:52:31 8ad3a11d3b57: Pull complete 23:52:31 46f8f816bc3b: Pull complete 23:52:32 93b61091891f: Pull complete 23:52:32 93b9cdb0e59b: Pull complete 23:52:33 5e14af77c1be: Pull complete 23:52:33 01666e4c0597: Pull complete 23:52:33 aa168da1d23b: Verifying Checksum 23:52:33 aa168da1d23b: Download complete 23:52:39 aa168da1d23b: Pull complete 23:52:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:52:40 prd-centos7-docker-4c-2g-26613 does not seem to be running inside a container 23:52:40 $ 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-697/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-697 -v /w/workspace/ndry_app-functions-sdk-go_PR-697:/w/workspace/ndry_app-functions-sdk-go_PR-697:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-697@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-697@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:10003/edgex-lftools-log-publisher:alpine cat 23:52:44 $ docker top cb94f0861f2130e7f2026d28e0dc129b68b95ce3ec05ebea35c9fd707638974c -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:44 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:44 + mkdir -p /var/log/sa [Pipeline] sh 23:52:45 + ls /var/log/sa-host 23:52:45 + sadf -c /var/log/sa-host/sa16 23:52:45 file_magic: OK 23:52:45 HZ: Using current value: 100 23:52:45 file_header: OK 23:52:45 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 23:52:45 Statistics: 23:52:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:45 File successfully converted to sysstat format version 12.2.1 23:52:45 + sadf -c /var/log/sa-host/sa23 23:52:45 file_magic: OK 23:52:45 HZ: Using current value: 100 23:52:45 file_header: OK 23:52:45 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 23:52:45 Statistics: 23:52:45 Hnuu...uuuununununu... 23:52:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:45 provisioning config files... 23:52:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-697@tmp/config5823170033782270676tmp [Pipeline] { [Pipeline] echo 23:52:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:46 ---> create-netrc.sh [Pipeline] } 23:52:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:52:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:52:46 ---> python-tools-install.sh [Pipeline] echo 23:52:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:47 ---> sudo-logs.sh 23:52:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:52:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:47 ---> job-cost.sh 23:52:47 lf-activate-venv: SKIPPING 23:52:47 INFO: No Stack... 23:52:48 INFO: Retrieving Pricing Info for: v1-standard-2 23:52:49 INFO: Archiving Costs [Pipeline] echo 23:52:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:49 ---> logs-deploy.sh 23:52:49 lf-activate-venv: SKIPPING 23:52:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-697/2 23:52:49 INFO: archiving workspace using pattern(s): 23:52:51 Archives upload complete. 23:52:51 INFO: archiving logs to Nexus 23:52:52 ---> uname -a: 23:52:52 Linux prd-centos7-docker-4c-2g-26613.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 23:52:52 23:52:52 23:52:52 ---> lscpu: 23:52:52 Architecture: x86_64 23:52:52 CPU op-mode(s): 32-bit, 64-bit 23:52:52 Byte Order: Little Endian 23:52:52 Address sizes: 40 bits physical, 48 bits virtual 23:52:52 CPU(s): 4 23:52:52 On-line CPU(s) list: 0-3 23:52:52 Thread(s) per core: 1 23:52:52 Core(s) per socket: 1 23:52:52 Socket(s): 4 23:52:52 NUMA node(s): 1 23:52:52 Vendor ID: GenuineIntel 23:52:52 CPU family: 6 23:52:52 Model: 44 23:52:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:52:52 Stepping: 1 23:52:52 CPU MHz: 2933.438 23:52:52 BogoMIPS: 5866.87 23:52:52 Virtualization: VT-x 23:52:52 Hypervisor vendor: KVM 23:52:52 Virtualization type: full 23:52:52 L1d cache: 128 KiB 23:52:52 L1i cache: 128 KiB 23:52:52 L2 cache: 16 MiB 23:52:52 L3 cache: 64 MiB 23:52:52 NUMA node0 CPU(s): 0-3 23:52:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:52:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:52:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:52:52 Vulnerability Meltdown: Mitigation; PTI 23:52:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:52:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:52:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:52:52 Vulnerability Srbds: Not affected 23:52:52 Vulnerability Tsx async abort: Not affected 23:52:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:52:52 23:52:52 23:52:52 ---> nproc: 23:52:52 4 23:52:52 23:52:52 23:52:52 ---> df -h: 23:52:52 Filesystem Size Used Available Use% Mounted on 23:52:52 overlay 50.0G 7.3G 42.7G 15% / 23:52:52 tmpfs 64.0M 0 64.0M 0% /dev 23:52:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 23:52:52 shm 64.0M 0 64.0M 0% /dev/shm 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-697 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-697@tmp 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 23:52:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 23:52:52 23:52:52 23:52:52 ---> free -m: 23:52:52 total used free shared buff/cache available 23:52:52 Mem: 1837 709 105 0 1021 1022 23:52:52 Swap: 1023 0 1023 23:52:52 23:52:52 23:52:52 ---> ip addr: 23:52:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:52:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:52:52 inet 127.0.0.1/8 scope host lo 23:52:52 valid_lft forever preferred_lft forever 23:52:52 inet6 ::1/128 scope host 23:52:52 valid_lft forever preferred_lft forever 23:52:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:52:52 link/ether fa:16:3e:22:e8:7e brd ff:ff:ff:ff:ff:ff 23:52:52 inet 10.30.122.4/23 brd 10.30.123.255 scope global dynamic eth0 23:52:52 valid_lft 85971sec preferred_lft 85971sec 23:52:52 inet6 fe80::f816:3eff:fe22:e87e/64 scope link 23:52:52 valid_lft forever preferred_lft forever 23:52:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:52:52 link/ether 02:42:c1:42:7c:c0 brd ff:ff:ff:ff:ff:ff 23:52:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:52:52 valid_lft forever preferred_lft forever 23:52:52 inet6 fe80::42:c1ff:fe42:7cc0/64 scope link 23:52:52 valid_lft forever preferred_lft forever 23:52:52 23:52:52 23:52:52 ---> sar -b -r -n DEV: 23:52:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/16/21 _x86_64_ (4 CPU) 23:52:52 23:52:52 23:45:32 LINUX RESTART (4 CPU) 23:52:52 23:52:52 23:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:52:52 23:47:01 70.63 29.55 41.09 0.00 6422.37 5438.65 0.00 23:52:52 23:48:01 2.53 0.00 2.53 0.00 0.00 54.68 0.00 23:52:52 23:49:01 0.48 0.00 0.48 0.00 0.00 8.56 0.00 23:52:52 23:50:01 0.32 0.00 0.32 0.00 0.00 4.93 0.00 23:52:52 23:51:01 0.23 0.00 0.23 0.00 0.00 4.11 0.00 23:52:52 23:52:01 0.38 0.00 0.38 0.00 0.00 5.93 0.00 23:52:52 Average: 12.43 4.93 7.51 0.00 1070.54 919.60 0.00 23:52:52 23:52:52 23:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:52:52 23:47:01 234820 0 611632 32.51 2620 1032472 1109496 37.87 412048 1036532 128 23:52:52 23:48:01 238376 0 608064 32.32 2620 1032484 1090764 37.23 412816 1033276 20 23:52:52 23:49:01 238884 0 607552 32.29 2620 1032488 1090692 37.22 420968 1024756 20 23:52:52 23:50:01 237524 0 608912 32.36 2620 1032488 1090780 37.23 423012 1024244 20 23:52:52 23:51:01 239880 0 606548 32.24 2620 1032496 1079436 36.84 422392 1022740 12 23:52:52 23:52:01 239240 0 607184 32.27 2620 1032500 1079496 36.84 422720 1022740 16 23:52:52 Average: 238121 0 608315 32.33 2620 1032488 1090111 37.20 418993 1027381 36 23:52:52 23:52:52 23:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:52:52 23:47:01 eth0 693.94 502.88 1632.73 108.08 0.00 0.00 0.00 0.00 23:52:52 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:47:01 docker0 100.77 97.27 8.46 307.46 0.00 0.00 0.00 0.00 23:52:52 23:48:01 eth0 4.16 1.08 2.70 0.22 0.00 0.00 0.00 0.00 23:52:52 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:49:01 eth0 4.28 1.00 1.29 0.78 0.00 0.00 0.00 0.00 23:52:52 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:50:01 eth0 1.30 0.65 0.72 0.40 0.00 0.00 0.00 0.00 23:52:52 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:51:01 eth0 0.43 0.08 0.02 0.04 0.00 0.00 0.00 0.00 23:52:52 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:52:01 eth0 1.38 0.18 0.25 0.07 0.00 0.00 0.00 0.00 23:52:52 23:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 23:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 Average: eth0 117.60 84.32 272.99 18.27 0.00 0.00 0.00 0.00 23:52:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:52 Average: docker0 16.80 16.21 1.41 51.25 0.00 0.00 0.00 0.00 23:52:52 23:52:52 23:52:52 ---> sar -P ALL: 23:52:52 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/16/21 _x86_64_ (4 CPU) 23:52:52 23:52:52 23:45:32 LINUX RESTART (4 CPU) 23:52:52 23:52:52 23:46:01 CPU %user %nice %system %iowait %steal %idle 23:52:52 23:47:01 all 12.75 0.00 4.26 1.26 0.03 81.70 23:52:52 23:47:01 0 12.59 0.00 5.62 0.36 0.03 81.40 23:52:52 23:47:01 1 13.40 0.00 3.45 0.64 0.03 82.47 23:52:52 23:47:01 2 12.50 0.00 3.56 1.68 0.03 82.24 23:52:52 23:47:01 3 12.50 0.00 4.43 2.35 0.03 80.69 23:52:52 23:48:01 all 0.18 0.00 0.05 0.00 0.00 99.77 23:52:52 23:48:01 0 0.07 0.00 0.03 0.00 0.00 99.90 23:52:52 23:48:01 1 0.12 0.00 0.07 0.00 0.00 99.82 23:52:52 23:48:01 2 0.03 0.00 0.03 0.00 0.00 99.93 23:52:52 23:48:01 3 0.48 0.00 0.07 0.00 0.00 99.45 23:52:52 23:49:01 all 0.18 0.00 0.05 0.00 0.02 99.75 23:52:52 23:49:01 0 0.08 0.00 0.07 0.00 0.03 99.82 23:52:52 23:49:01 1 0.33 0.00 0.03 0.00 0.00 99.63 23:52:52 23:49:01 2 0.05 0.00 0.08 0.00 0.02 99.85 23:52:52 23:49:01 3 0.23 0.00 0.03 0.00 0.03 99.70 23:52:52 23:50:01 all 0.17 0.00 0.05 0.00 0.02 99.76 23:52:52 23:50:01 0 0.03 0.00 0.02 0.00 0.00 99.95 23:52:52 23:50:01 1 0.03 0.00 0.02 0.00 0.02 99.93 23:52:52 23:50:01 2 0.08 0.00 0.10 0.00 0.02 99.80 23:52:52 23:50:01 3 0.52 0.00 0.05 0.00 0.07 99.37 23:52:52 23:51:01 all 0.17 0.00 0.06 0.00 0.03 99.75 23:52:52 23:51:01 0 0.03 0.00 0.02 0.00 0.02 99.93 23:52:52 23:51:01 1 0.10 0.00 0.07 0.00 0.03 99.80 23:52:52 23:51:01 2 0.05 0.00 0.13 0.00 0.03 99.78 23:52:52 23:51:01 3 0.48 0.00 0.02 0.00 0.02 99.48 23:52:52 23:52:01 all 0.15 0.00 0.03 0.00 0.00 99.81 23:52:52 23:52:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:52:52 23:52:01 1 0.07 0.00 0.05 0.00 0.00 99.88 23:52:52 23:52:01 2 0.00 0.00 0.05 0.00 0.00 99.95 23:52:52 23:52:01 3 0.53 0.00 0.02 0.00 0.00 99.45 23:52:52 Average: all 2.24 0.00 0.74 0.21 0.02 96.80 23:52:52 Average: 0 2.10 0.00 0.95 0.06 0.01 96.88 23:52:52 Average: 1 2.32 0.00 0.61 0.11 0.01 96.95 23:52:52 Average: 2 2.09 0.00 0.65 0.28 0.02 96.96 23:52:52 Average: 3 2.43 0.00 0.76 0.39 0.03 96.39 23:52:52 23:52:52 23:52:52