Pull request #587 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 rather than 123c7b342994f1a9637bfc690c9f912991eb9aec Obtained Jenkinsfile from c9ed7d50ea1ae9051570182c8cb685d3221d57d1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16500 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [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-587 # 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/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 123c7b342994f1a9637bfc690c9f912991eb9aec Merge succeeded, producing 123c7b342994f1a9637bfc690c9f912991eb9aec Checking out Revision 123c7b342994f1a9637bfc690c9f912991eb9aec (PR-587) > git config core.sparsecheckout # timeout=10 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # timeout=10 Commit message: "feat(sdk): Enable Custom Trigger Registration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:10:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:10:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 7a3b32b2599caea668fdc27d635d8aca466d62e5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:10:39 ========================================================= 13:10:39 EdgeX Global Pipelines Version Info 13:10:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:10:41 ------------------- 13:10:41 stable info: 13:10:41 ------------------- 13:10:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:10:41 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:10:41 Message: update stable to v1.0.173 13:10:42 ------------------- 13:10:42 experimental info: 13:10:42 ------------------- 13:10:42 Commited By: **** collab-it+edgex@linuxfoundation.org 13:10:42 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:10:42 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:10:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 13:10:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:10:44 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 123c7b342994f1a9637bfc690c9f912991eb9aec [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 123c7b3 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:46 + git log --format=format:%s -1 123c7b342994f1a9637bfc690c9f912991eb9aec [Pipeline] echo 13:10:46 GIT_COMMIT: 123c7b342994f1a9637bfc690c9f912991eb9aec, Commit Message: feat(sdk): Enable Custom Trigger Registration [Pipeline] echo 13:10:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:10:47 13:10:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:10:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:10:47 latest: Pulling from edgex-devops/git-semver 13:10:47 31603596830f: Pulling fs layer 13:10:47 2a8b12db71e7: Pulling fs layer 13:10:47 6ca5941a6612: Pulling fs layer 13:10:47 ecc8261a40a4: Pulling fs layer 13:10:47 ecc8261a40a4: Waiting 13:10:47 2a8b12db71e7: Verifying Checksum 13:10:47 2a8b12db71e7: Download complete 13:10:48 31603596830f: Verifying Checksum 13:10:48 31603596830f: Download complete 13:10:48 6ca5941a6612: Verifying Checksum 13:10:48 6ca5941a6612: Download complete 13:10:48 ecc8261a40a4: Verifying Checksum 13:10:48 ecc8261a40a4: Download complete 13:10:48 31603596830f: Pull complete 13:10:48 2a8b12db71e7: Pull complete 13:10:49 6ca5941a6612: Pull complete 13:10:49 ecc8261a40a4: Pull complete 13:10:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:10:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:10:49 prd-centos7-docker-4c-2g-16500 does not seem to be running inside a container 13:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@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 13:10:52 $ docker top 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:52 [ssh-agent] Looking for ssh-agent implementation... 13:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:52 $ docker exec 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd ssh-agent 13:10:52 SSH_AUTH_SOCK=/tmp/ssh-cwrI8QPgtv4C/agent.12 13:10:52 SSH_AGENT_PID=17 13:10:52 Running ssh-add (command line suppressed) 13:10:52 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_851892654286089122.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_851892654286089122.key) 13:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:53 + git tag --points-at HEAD [Pipeline] } 13:10:53 $ docker exec --env ******** --env ******** 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd ssh-agent -k 13:10:53 unset SSH_AUTH_SOCK; 13:10:53 unset SSH_AGENT_PID; 13:10:53 echo Agent pid 17 killed; 13:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:53 [ssh-agent] Looking for ssh-agent implementation... 13:10:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:53 $ docker exec 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd ssh-agent 13:10:53 SSH_AUTH_SOCK=/tmp/ssh-DFWU3AGmgykh/agent.47 13:10:53 SSH_AGENT_PID=53 13:10:53 Running ssh-add (command line suppressed) 13:10:54 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_4614800431318369658.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_4614800431318369658.key) 13:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:54 + git semver init 13:10:54 # -> Open(): unable to determine branch for HEAD 13:10:54 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.git 13:10:54 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-587 13:10:54 # $SEMVER_REMOTE_NAME = origin 13:10:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:10:54 # $SEMVER_USER_NAME = edgex-jenkins 13:10:54 # $SEMVER_BRANCH = PR-587 13:10:54 # $SEMVER_TEMP = /tmp/semver-518152962 13:10:54 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 13:11:00 # '/tmp/semver-518152962' -> '/w/workspace/ndry_app-functions-sdk-go_PR-587/.semver' 13:11:00 # -> Force: false 13:11:00 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.semver [Pipeline] } 13:11:00 $ docker exec --env ******** --env ******** 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd ssh-agent -k 13:11:00 unset SSH_AUTH_SOCK; 13:11:00 unset SSH_AGENT_PID; 13:11:00 echo Agent pid 53 killed; 13:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:11:00 + git semver [Pipeline] } 13:11:00 $ docker stop --time=1 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd 13:11:02 $ docker rm -f 9385219ce5682f6b95dcb274f1191e6560e8563bf798c9af48ba1ecfa42401cd [Pipeline] // withDockerContainer [Pipeline] sh 13:11:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:11:03 Stashed 1 file(s) [Pipeline] echo 13:11:03 [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 13:11:19 Still waiting to schedule task 13:11:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:11:19 Still waiting to schedule task 13:11:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-16499’ is offline 13:13:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16501 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 13:13:06 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 13:13:11 using credential edgex-jenkins-ssh 13:13:11 Cloning the remote Git repository 13:13:11 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:11 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 13:13:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:11 > git --version # timeout=10 13:13:11 > git --version # 'git version 2.17.1' 13:13:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:15 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 123c7b342994f1a9637bfc690c9f912991eb9aec 13:13:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 13:13:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 13:13:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:14 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:13:15 > git config core.sparsecheckout # timeout=10 13:13:15 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # timeout=10 13:13:15 > git remote # timeout=10 13:13:15 > git config --get remote.origin.url # timeout=10 13:13:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:15 Merge succeeded, producing 123c7b342994f1a9637bfc690c9f912991eb9aec 13:13:15 Checking out Revision 123c7b342994f1a9637bfc690c9f912991eb9aec (PR-587) 13:13:15 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 13:13:15 > git rev-parse HEAD^{commit} # timeout=10 13:13:15 > git config core.sparsecheckout # timeout=10 13:13:15 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # timeout=10 13:13:20 Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:13:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:13:22 + true 13:13:22 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 13:13:25 ========================================================= 13:13:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:13:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:13:26 + 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 . 13:13:27 Sending build context to Docker daemon 19.19MB 13:13:27 Step 1/8 : ARG BASE=golang:1.15-alpine 13:13:27 Step 2/8 : FROM ${BASE} 13:13:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:13:27 5f621e34cdf4: Pulling fs layer 13:13:27 a4357932f1b6: Pulling fs layer 13:13:27 18c013af1878: Pulling fs layer 13:13:27 00ac8860ef70: Pulling fs layer 13:13:27 63d7cb157983: Pulling fs layer 13:13:27 b116817d02f9: Pulling fs layer 13:13:27 745a02a5169b: Pulling fs layer 13:13:27 00ac8860ef70: Waiting 13:13:27 63d7cb157983: Waiting 13:13:27 b116817d02f9: Waiting 13:13:27 745a02a5169b: Waiting 13:13:27 18c013af1878: Verifying Checksum 13:13:27 18c013af1878: Download complete 13:13:27 a4357932f1b6: Download complete 13:13:27 63d7cb157983: Download complete 13:13:27 b116817d02f9: Download complete 13:13:28 5f621e34cdf4: Verifying Checksum 13:13:28 5f621e34cdf4: Download complete 13:13:29 5f621e34cdf4: Pull complete 13:13:29 a4357932f1b6: Pull complete 13:13:30 18c013af1878: Pull complete 13:13:31 745a02a5169b: Verifying Checksum 13:13:31 745a02a5169b: Download complete 13:13:31 00ac8860ef70: Verifying Checksum 13:13:31 00ac8860ef70: Download complete 13:13:41 00ac8860ef70: Pull complete 13:13:42 63d7cb157983: Pull complete 13:13:42 b116817d02f9: Pull complete 13:13:46 745a02a5169b: Pull complete 13:13:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:13:46 ---> b7e6874047d6 13:13:46 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 13:13:46 latest: Pulling from library/docker 13:13:46 a3cc7d3b244e: Pulling fs layer 13:13:46 02a3295e0d61: Pulling fs layer 13:13:46 0f4f2e6d8100: Pulling fs layer 13:13:46 065c9533d613: Pulling fs layer 13:13:46 9fce0df16b8b: Pulling fs layer 13:13:46 e3faa53604c1: Pulling fs layer 13:13:46 04b5adaa2053: Pulling fs layer 13:13:46 9fce0df16b8b: Waiting 13:13:46 e3faa53604c1: Waiting 13:13:46 04b5adaa2053: Waiting 13:13:46 065c9533d613: Waiting 13:13:46 0f4f2e6d8100: Verifying Checksum 13:13:46 0f4f2e6d8100: Download complete 13:13:46 02a3295e0d61: Verifying Checksum 13:13:46 02a3295e0d61: Download complete 13:13:46 9fce0df16b8b: Verifying Checksum 13:13:46 9fce0df16b8b: Download complete 13:13:46 a3cc7d3b244e: Verifying Checksum 13:13:46 a3cc7d3b244e: Download complete 13:13:46 e3faa53604c1: Verifying Checksum 13:13:46 e3faa53604c1: Download complete 13:13:46 04b5adaa2053: Verifying Checksum 13:13:46 04b5adaa2053: Download complete 13:13:47 a3cc7d3b244e: Pull complete 13:13:48 02a3295e0d61: Pull complete 13:13:48 0f4f2e6d8100: Pull complete 13:13:48 065c9533d613: Verifying Checksum 13:13:48 065c9533d613: Download complete 13:13:49 Running on prd-centos7-docker-4c-2g-16502 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws 13:13:49 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 13:13:51 using credential edgex-jenkins-ssh 13:13:51 Cloning the remote Git repository 13:13:51 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:51 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 13:13:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:51 > git --version # timeout=10 13:13:51 > git --version # 'git version 2.24.3' 13:13:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:52 065c9533d613: Pull complete 13:13:52 9fce0df16b8b: Pull complete 13:13:52 e3faa53604c1: Pull complete 13:13:53 04b5adaa2053: Pull complete 13:13:53 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 13:13:53 Status: Downloaded newer image for docker:latest 13:13:53 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 123c7b342994f1a9637bfc690c9f912991eb9aec 13:13:53 Merge succeeded, producing 123c7b342994f1a9637bfc690c9f912991eb9aec 13:13:53 Checking out Revision 123c7b342994f1a9637bfc690c9f912991eb9aec (PR-587) 13:13:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 13:13:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:13:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 13:13:53 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 13:13:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:13:53 > git config core.sparsecheckout # timeout=10 13:13:53 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # timeout=10 13:13:53 > git remote # timeout=10 13:13:53 > git config --get remote.origin.url # timeout=10 13:13:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:13:53 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 13:13:53 > git rev-parse HEAD^{commit} # timeout=10 13:13:53 > git config core.sparsecheckout # timeout=10 13:13:53 > git checkout -f 123c7b342994f1a9637bfc690c9f912991eb9aec # timeout=10 13:13:57 Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:13:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:13:59 + sudo service docker restart 13:13:59 + true 13:13:59 Redirecting to /bin/systemctl restart docker.service 13:14:00 ---> f9999fc01b57 13:14:00 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:14:00 ---> Running in ec4aa09b6521 13:14:00 Removing intermediate container ec4aa09b6521 13:14:00 ---> f5c955de76df 13:14:00 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 13:14:00 ---> Running in 0274fe36daba [Pipeline] unstash [Pipeline] echo 13:14:00 ========================================================= 13:14:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:14:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:14:01 + 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 . 13:14:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:14:01 Sending build context to Docker daemon 19.19MB 13:14:01 Step 1/8 : ARG BASE=golang:1.15-alpine 13:14:01 Step 2/8 : FROM ${BASE} 13:14:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:14:01 188c0c94c7c5: Pulling fs layer 13:14:01 0ef7d3d256c8: Pulling fs layer 13:14:01 de9db76c5a1d: Pulling fs layer 13:14:01 bca2f99d35d6: Pulling fs layer 13:14:01 93359f2a8cfa: Pulling fs layer 13:14:01 7c6f9722023f: Pulling fs layer 13:14:01 a35cf1a2eb13: Pulling fs layer 13:14:01 93359f2a8cfa: Waiting 13:14:01 7c6f9722023f: Waiting 13:14:01 a35cf1a2eb13: Waiting 13:14:01 bca2f99d35d6: Waiting 13:14:01 de9db76c5a1d: Download complete 13:14:01 0ef7d3d256c8: Verifying Checksum 13:14:01 0ef7d3d256c8: Download complete 13:14:01 93359f2a8cfa: Verifying Checksum 13:14:01 93359f2a8cfa: Download complete 13:14:01 7c6f9722023f: Verifying Checksum 13:14:01 7c6f9722023f: Download complete 13:14:01 188c0c94c7c5: Verifying Checksum 13:14:01 188c0c94c7c5: Download complete 13:14:02 188c0c94c7c5: Pull complete 13:14:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:14:02 0ef7d3d256c8: Pull complete 13:14:02 de9db76c5a1d: Pull complete 13:14:04 (1/5) Installing libsodium (1.0.18-r0) 13:14:04 (2/5) Installing libzmq (4.3.3-r0) 13:14:04 a35cf1a2eb13: Verifying Checksum 13:14:04 a35cf1a2eb13: Download complete 13:14:04 bca2f99d35d6: Verifying Checksum 13:14:04 bca2f99d35d6: Download complete 13:14:05 (3/5) Installing pkgconf (1.7.2-r0) 13:14:05 (4/5) Installing libsodium-dev (1.0.18-r0) 13:14:05 (5/5) Installing zeromq-dev (4.3.3-r0) 13:14:05 Executing busybox-1.31.1-r19.trigger 13:14:05 OK: 144 MiB in 44 packages 13:14:06 Removing intermediate container 0274fe36daba 13:14:06 ---> ff69b4da6acb 13:14:06 Step 6/8 : WORKDIR /build 13:14:06 ---> Running in 64ccf8263a76 13:14:07 Removing intermediate container 64ccf8263a76 13:14:07 ---> ef5db14a5a70 13:14:07 Step 7/8 : COPY go.mod . 13:14:08 ---> 3c558482a6c8 13:14:08 Step 8/8 : RUN go mod download 13:14:08 ---> Running in 7cabf275b0f9 13:14:10 bca2f99d35d6: Pull complete 13:14:10 93359f2a8cfa: Pull complete 13:14:10 7c6f9722023f: Pull complete 13:14:15 a35cf1a2eb13: Pull complete 13:14:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:14:15 ---> a62c8e92a672 13:14:15 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 13:14:15 latest: Pulling from library/docker 13:14:15 05e7bc50f07f: Pulling fs layer 13:14:15 6db28d0fdbf6: Pulling fs layer 13:14:15 292df0bc6bf3: Pulling fs layer 13:14:15 a3104fdc50d0: Pulling fs layer 13:14:15 a8e67d69e12c: Pulling fs layer 13:14:15 1ede2b221ee4: Pulling fs layer 13:14:15 fc74c0d5b799: Pulling fs layer 13:14:15 a8e67d69e12c: Waiting 13:14:15 1ede2b221ee4: Waiting 13:14:15 a3104fdc50d0: Waiting 13:14:15 292df0bc6bf3: Verifying Checksum 13:14:15 292df0bc6bf3: Download complete 13:14:15 6db28d0fdbf6: Verifying Checksum 13:14:15 6db28d0fdbf6: Download complete 13:14:15 a8e67d69e12c: Verifying Checksum 13:14:15 a8e67d69e12c: Download complete 13:14:15 05e7bc50f07f: Verifying Checksum 13:14:15 05e7bc50f07f: Download complete 13:14:15 1ede2b221ee4: Verifying Checksum 13:14:15 1ede2b221ee4: Download complete 13:14:15 fc74c0d5b799: Download complete 13:14:15 05e7bc50f07f: Pull complete 13:14:15 6db28d0fdbf6: Pull complete 13:14:15 292df0bc6bf3: Pull complete 13:14:16 a3104fdc50d0: Verifying Checksum 13:14:16 a3104fdc50d0: Download complete 13:14:18 a3104fdc50d0: Pull complete 13:14:18 a8e67d69e12c: Pull complete 13:14:19 1ede2b221ee4: Pull complete 13:14:19 fc74c0d5b799: Pull complete 13:14:19 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 13:14:19 Status: Downloaded newer image for docker:latest 13:14:20 ---> 159d47bdedd8 13:14:20 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:14:20 ---> Running in ccb4dbcd4b52 13:14:20 Removing intermediate container ccb4dbcd4b52 13:14:20 ---> 6b935875a6fa 13:14:20 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 13:14:20 ---> Running in 872b699d84ca 13:14:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:14:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:14:24 (1/5) Installing libsodium (1.0.18-r0) 13:14:24 (2/5) Installing libzmq (4.3.3-r0) 13:14:24 (3/5) Installing pkgconf (1.7.2-r0) 13:14:24 (4/5) Installing libsodium-dev (1.0.18-r0) 13:14:24 (5/5) Installing zeromq-dev (4.3.3-r0) 13:14:24 Executing busybox-1.31.1-r19.trigger 13:14:24 OK: 167 MiB in 44 packages 13:14:25 Removing intermediate container 872b699d84ca 13:14:25 ---> 7a8a0fcd31f1 13:14:25 Step 6/8 : WORKDIR /build 13:14:25 ---> Running in c9b1eff17431 13:14:25 Removing intermediate container c9b1eff17431 13:14:25 ---> 6c8495766a5e 13:14:25 Step 7/8 : COPY go.mod . 13:14:26 ---> ff1aa16102e4 13:14:26 Step 8/8 : RUN go mod download 13:14:26 ---> Running in 1fdfa09b7f04 13:14:34 Removing intermediate container 7cabf275b0f9 13:14:34 ---> 9f6e902a6159 13:14:34 Successfully built 9f6e902a6159 13:14:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:14:35 + docker inspect -f . ci-base-image-arm64 13:14:35 . [Pipeline] withDockerContainer 13:14:35 prd-ubuntu18.04-docker-arm64-4c-16g-16501 does not seem to be running inside a container 13:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 13:14:37 $ docker top 618867900d5910859024bd4de61896671ceafc927e22e1c8da7aad59469ed66f -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:38 + go version 13:14:38 go version go1.15.5 linux/arm64 [Pipeline] } 13:14:38 $ docker stop --time=1 618867900d5910859024bd4de61896671ceafc927e22e1c8da7aad59469ed66f 13:14:40 $ docker rm -f 618867900d5910859024bd4de61896671ceafc927e22e1c8da7aad59469ed66f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:14:41 + docker inspect -f . ci-base-image-arm64 13:14:41 . [Pipeline] withDockerContainer 13:14:41 prd-ubuntu18.04-docker-arm64-4c-16g-16501 does not seem to be running inside a container 13:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 13:14:43 $ docker top 987185c0d58c0775943fceebc99e51cca16ef768bb085fb8378bf259966cc719 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:44 + make test 13:14:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:14:45 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 13:14:48 Removing intermediate container 1fdfa09b7f04 13:14:48 ---> a58214d9cc53 13:14:48 Successfully built a58214d9cc53 13:14:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:14:48 + docker inspect -f . ci-base-image-x86_64 13:14:48 . [Pipeline] withDockerContainer 13:14:48 prd-centos7-docker-4c-2g-16502 does not seem to be running inside a container 13:14:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 13:14:49 $ docker top 5f8b3ce8c5cffd192d1cb202d4392c05a040373a9bdfbdc67114bc91378d441b -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:50 + go version 13:14:50 go version go1.15.5 linux/amd64 [Pipeline] } 13:14:50 $ docker stop --time=1 5f8b3ce8c5cffd192d1cb202d4392c05a040373a9bdfbdc67114bc91378d441b 13:14:51 $ docker rm -f 5f8b3ce8c5cffd192d1cb202d4392c05a040373a9bdfbdc67114bc91378d441b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:14:52 + docker inspect -f . ci-base-image-x86_64 13:14:52 . [Pipeline] withDockerContainer 13:14:52 prd-centos7-docker-4c-2g-16502 does not seem to be running inside a container 13:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 13:14:53 $ docker top fe35de45595e2732b2f6f1a61b1279f7839e7eb4eb4762d326d6b58960a03dd0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:53 + make test 13:14:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:14:55 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 13:15:03 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.023s coverage: 86.2% of statements 13:15:12 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.037s coverage: 86.2% of statements 13:15:13 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.025s coverage: 51.4% of statements 13:15:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 13:15:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 13:15:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.023s coverage: 54.7% of statements 13:15:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 13:15:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.021s coverage: 69.1% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.419s coverage: 61.6% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.008s coverage: 100.0% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 8.8% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.918s coverage: 75.0% of statements 13:15:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements 13:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 13:15:34 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.057s coverage: 51.4% of statements 13:15:34 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 13:15:34 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 13:15:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.093s coverage: 54.7% of statements 13:15:34 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 13:15:34 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.044s coverage: 69.1% of statements 13:15:43 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.028s coverage: 81.6% of statements 13:15:43 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 13:15:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.456s coverage: 61.6% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.011s coverage: 89.5% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.020s coverage: 100.0% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.035s coverage: 100.0% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.014s coverage: 100.0% of statements 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.936s coverage: 75.0% of statements 13:15:45 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.042s coverage: 89.7% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.025s coverage: 88.9% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.033s coverage: 80.5% of statements 13:15:45 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements 13:15:45 gofmt -l . 13:15:45 [ "`gofmt -l .`" = "" ] 13:15:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:15:45 $ docker stop --time=1 fe35de45595e2732b2f6f1a61b1279f7839e7eb4eb4762d326d6b58960a03dd0 13:15:47 $ docker rm -f fe35de45595e2732b2f6f1a61b1279f7839e7eb4eb4762d326d6b58960a03dd0 [Pipeline] // withDockerContainer [Pipeline] sh 13:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:48 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] } 13:16:11 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 81.6% of statements 13:16:11 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 13:16:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:16:18 gofmt -l . 13:16:18 [ "`gofmt -l .`" = "" ] 13:16:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:16:20 $ docker stop --time=1 987185c0d58c0775943fceebc99e51cca16ef768bb085fb8378bf259966cc719 13:16:22 $ docker rm -f 987185c0d58c0775943fceebc99e51cca16ef768bb085fb8378bf259966cc719 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:16:23 Warning: overwriting stash ‘coverage-report’ 13:16:24 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 13:16:26 provisioning config files... 13:16:26 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config5100426891852567531tmp [Pipeline] { [Pipeline] sh 13:16:26 + set +x 13:16:26 + curl -s https://codecov.io/bash 13:16:26 + bash -s -- 13:16:27 13:16:27 _____ _ 13:16:27 / ____| | | 13:16:27 | | ___ __| | ___ ___ _____ __ 13:16:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:16:27 | |___| (_) | (_| | __/ (_| (_) \ V / 13:16:27 \_____\___/ \__,_|\___|\___\___/ \_/ 13:16:27 Bash-20201130-cc6d3fe 13:16:27 13:16:27 13:16:27 ==> Jenkins CI detected. 13:16:27 project root: . 13:16:27 --> token set from env 13:16:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:16:27 ==> Running gcov in . (disable via -X gcov) 13:16:27 ==> Python coveragepy not found 13:16:27 ==> Searching for coverage reports in: 13:16:27 + . 13:16:27 -> Found 1 reports 13:16:27 ==> Detecting git/mercurial file structure 13:16:27 ==> Reading reports 13:16:27 + ./coverage.out bytes=86527 13:16:27 ==> Appending adjustments 13:16:27 https://docs.codecov.io/docs/fixing-reports 13:16:27 + Found adjustments 13:16:27 ==> Gzipping contents 13:16:27 16K /tmp/codecov.4N67xb.gz 13:16:27 ==> Uploading reports 13:16:27 url: https://codecov.io 13:16:27 query: branch=PR-587&commit=123c7b342994f1a9637bfc690c9f912991eb9aec&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 13:16:27 -> Pinging Codecov 13:16:27 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-587&commit=123c7b342994f1a9637bfc690c9f912991eb9aec&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= 13:16:28 -> Uploading to 13:16:28 https://storage.googleapis.com/codecov/v4/raw/2020-12-17/3D8B5DFFC46A037C893635FACE044666/123c7b342994f1a9637bfc690c9f912991eb9aec/6227169e-e427-4dbb-8372-65b0e0c2b03c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T131627Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00b5e0fba0efbb59867abce0440a177072ddc1fbe373de5537f732c432b34ae8 13:16:28 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:28 Dload Upload Total Spent Left Speed 13:16:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15297 0 0 100 15297 0 36374 --:--:-- --:--:-- --:--:-- 36421 13:16:28 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/123c7b342994f1a9637bfc690c9f912991eb9aec [Pipeline] } 13:16:28 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 13:16:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:16:31 ---> package-listing.sh 13:16:31 ++ facter osfamily 13:16:31 ++ tr '[:upper:]' '[:lower:]' 13:16:31 + OS_FAMILY=redhat 13:16:31 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-587 13:16:31 + START_PACKAGES=/tmp/packages_start.txt 13:16:31 + END_PACKAGES=/tmp/packages_end.txt 13:16:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:16:31 + PACKAGES=/tmp/packages_start.txt 13:16:31 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 13:16:31 + PACKAGES=/tmp/packages_end.txt 13:16:31 + case "${OS_FAMILY}" in 13:16:31 + rpm -qa 13:16:31 + sort 13:16:37 + '[' -f /tmp/packages_start.txt ']' 13:16:37 + '[' -f /tmp/packages_end.txt ']' 13:16:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:16:37 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' 13:16:37 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ 13:16:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [Pipeline] echo 13:16:37 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-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:16:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:16:37 13:16:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:16:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:16:38 alpine: Pulling from edgex-lftools-log-publisher 13:16:38 df20fa9351a1: Pulling fs layer 13:16:38 36b3adc4ff6f: Pulling fs layer 13:16:38 8ad3a11d3b57: Pulling fs layer 13:16:38 46f8f816bc3b: Pulling fs layer 13:16:38 93b61091891f: Pulling fs layer 13:16:38 93b9cdb0e59b: Pulling fs layer 13:16:38 5e14af77c1be: Pulling fs layer 13:16:38 01666e4c0597: Pulling fs layer 13:16:38 aa168da1d23b: Pulling fs layer 13:16:38 93b9cdb0e59b: Waiting 13:16:38 5e14af77c1be: Waiting 13:16:38 01666e4c0597: Waiting 13:16:38 aa168da1d23b: Waiting 13:16:38 93b61091891f: Waiting 13:16:38 46f8f816bc3b: Waiting 13:16:38 36b3adc4ff6f: Verifying Checksum 13:16:38 36b3adc4ff6f: Download complete 13:16:38 46f8f816bc3b: Verifying Checksum 13:16:38 46f8f816bc3b: Download complete 13:16:38 df20fa9351a1: Verifying Checksum 13:16:38 93b9cdb0e59b: Verifying Checksum 13:16:38 93b9cdb0e59b: Download complete 13:16:38 93b61091891f: Verifying Checksum 13:16:38 93b61091891f: Download complete 13:16:38 5e14af77c1be: Verifying Checksum 13:16:38 5e14af77c1be: Download complete 13:16:38 01666e4c0597: Verifying Checksum 13:16:38 01666e4c0597: Download complete 13:16:38 df20fa9351a1: Pull complete 13:16:38 36b3adc4ff6f: Pull complete 13:16:39 8ad3a11d3b57: Verifying Checksum 13:16:39 8ad3a11d3b57: Download complete 13:16:40 8ad3a11d3b57: Pull complete 13:16:40 46f8f816bc3b: Pull complete 13:16:41 aa168da1d23b: Verifying Checksum 13:16:41 aa168da1d23b: Download complete 13:16:41 93b61091891f: Pull complete 13:16:42 93b9cdb0e59b: Pull complete 13:16:42 5e14af77c1be: Pull complete 13:16:42 01666e4c0597: Pull complete 13:16:49 aa168da1d23b: Pull complete 13:16:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:16:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:16:49 prd-centos7-docker-4c-2g-16500 does not seem to be running inside a container 13:16:49 $ 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-587/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-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@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 13:16:52 $ docker top 32cab2424969e7f9f540abe09f7c62335bb0d64a8efdedfb90eed3e5c0fdf7cb -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:53 + touch /tmp/pre-build-complete [Pipeline] sh 13:16:53 + mkdir -p /var/log/sa [Pipeline] sh 13:16:53 + ls /var/log/sa-host 13:16:53 + sadf -c /var/log/sa-host/sa17 13:16:53 file_magic: OK 13:16:53 HZ: Using current value: 100 13:16:53 file_header: OK 13:16:53 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 13:16:53 Statistics: 13:16:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:16:53 File successfully converted to sysstat format version 12.2.1 13:16:53 + sadf -c /var/log/sa-host/sa23 13:16:53 file_magic: OK 13:16:53 HZ: Using current value: 100 13:16:53 file_header: OK 13:16:53 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 13:16:53 Statistics: 13:16:53 Hnuu...uuuununununu... 13:16:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:54 provisioning config files... 13:16:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config1145711297355716550tmp [Pipeline] { [Pipeline] echo 13:16:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:16:55 ---> create-netrc.sh [Pipeline] } 13:16:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:16:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:16:55 ---> python-tools-install.sh [Pipeline] echo 13:16:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:16:55 ---> sudo-logs.sh 13:16:55 Archiving 'sudo' log.. [Pipeline] echo 13:16:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:16:56 ---> job-cost.sh 13:16:56 lf-activate-venv: SKIPPING 13:16:56 INFO: No Stack... 13:16:57 INFO: Retrieving Pricing Info for: v1-standard-2 13:16:57 INFO: Archiving Costs [Pipeline] echo 13:16:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:16:58 ---> logs-deploy.sh 13:16:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-587/10 13:16:58 INFO: archiving workspace using pattern(s): 13:16:59 Archives upload complete. 13:16:59 INFO: archiving logs to Nexus 13:17:00 ---> uname -a: 13:17:00 Linux prd-centos7-docker-4c-2g-16500.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:17:00 13:17:00 13:17:00 ---> lscpu: 13:17:00 Architecture: x86_64 13:17:00 CPU op-mode(s): 32-bit, 64-bit 13:17:00 Byte Order: Little Endian 13:17:00 Address sizes: 40 bits physical, 48 bits virtual 13:17:00 CPU(s): 4 13:17:00 On-line CPU(s) list: 0-3 13:17:00 Thread(s) per core: 1 13:17:00 Core(s) per socket: 1 13:17:00 Socket(s): 4 13:17:00 NUMA node(s): 1 13:17:00 Vendor ID: GenuineIntel 13:17:00 CPU family: 6 13:17:00 Model: 44 13:17:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:17:00 Stepping: 1 13:17:00 CPU MHz: 2933.436 13:17:00 BogoMIPS: 5866.87 13:17:00 Virtualization: VT-x 13:17:00 Hypervisor vendor: KVM 13:17:00 Virtualization type: full 13:17:00 L1d cache: 128 KiB 13:17:00 L1i cache: 128 KiB 13:17:00 L2 cache: 16 MiB 13:17:00 L3 cache: 64 MiB 13:17:00 NUMA node0 CPU(s): 0-3 13:17:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:17:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:17:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:17:00 Vulnerability Meltdown: Mitigation; PTI 13:17:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:17:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:17:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:17:00 Vulnerability Srbds: Not affected 13:17:00 Vulnerability Tsx async abort: Not affected 13:17:00 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 13:17:00 13:17:00 13:17:00 ---> nproc: 13:17:00 4 13:17:00 13:17:00 13:17:00 ---> df -h: 13:17:00 Filesystem Size Used Available Use% Mounted on 13:17:00 overlay 50.0G 7.3G 42.7G 15% / 13:17:00 tmpfs 64.0M 0 64.0M 0% /dev 13:17:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:17:00 shm 64.0M 0 64.0M 0% /dev/shm 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:17:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:17:00 13:17:00 13:17:00 ---> free -m: 13:17:00 total used free shared buff/cache available 13:17:00 Mem: 1837 691 106 0 1038 1041 13:17:00 Swap: 1023 1 1022 13:17:00 13:17:00 13:17:00 ---> ip addr: 13:17:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:17:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:17:00 inet 127.0.0.1/8 scope host lo 13:17:00 valid_lft forever preferred_lft forever 13:17:00 inet6 ::1/128 scope host 13:17:00 valid_lft forever preferred_lft forever 13:17:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:17:00 link/ether fa:16:3e:22:01:e6 brd ff:ff:ff:ff:ff:ff 13:17:00 inet 10.30.122.87/23 brd 10.30.123.255 scope global dynamic eth0 13:17:00 valid_lft 85985sec preferred_lft 85985sec 13:17:00 inet6 fe80::f816:3eff:fe22:1e6/64 scope link 13:17:00 valid_lft forever preferred_lft forever 13:17:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:17:00 link/ether 02:42:ab:be:1e:df brd ff:ff:ff:ff:ff:ff 13:17:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:17:00 valid_lft forever preferred_lft forever 13:17:00 inet6 fe80::42:abff:febe:1edf/64 scope link 13:17:00 valid_lft forever preferred_lft forever 13:17:00 13:17:00 13:17:00 ---> sar -b -r -n DEV: 13:17:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 13:17:00 13:17:00 13:09:54 LINUX RESTART (4 CPU) 13:17:00 13:17:00 13:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:17:00 13:12:01 10.46 4.05 6.41 0.00 244.06 1278.35 0.00 13:17:00 13:13:01 0.42 0.00 0.42 0.00 0.00 6.18 0.00 13:17:00 13:14:01 0.25 0.00 0.25 0.00 0.00 3.15 0.00 13:17:00 13:15:01 0.30 0.00 0.30 0.00 0.00 3.28 0.00 13:17:00 13:16:01 0.27 0.00 0.27 0.00 0.00 4.50 0.00 13:17:00 Average: 2.34 0.81 1.53 0.00 48.81 259.08 0.00 13:17:00 13:17:00 13:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:17:00 13:12:01 216888 0 591216 31.42 2620 1070820 1103400 37.66 409532 1056104 16 13:17:00 13:13:01 222064 0 586036 31.15 2620 1070824 1065792 36.37 423452 1037696 16 13:17:00 13:14:01 222068 0 586024 31.15 2620 1070832 1065864 36.38 423848 1037696 8 13:17:00 13:15:01 221464 0 586628 31.18 2620 1070832 1065732 36.37 456144 1005912 16 13:17:00 13:16:01 221592 0 586492 31.17 2620 1070840 1065792 36.37 451188 1011184 8 13:17:00 Average: 220815 0 587279 31.21 2620 1070830 1073316 36.63 432833 1029718 13 13:17:00 13:17:00 13:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:17:00 13:12:01 eth0 14.14 9.93 9.89 15.80 0.00 0.00 0.00 0.00 13:17:00 13:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:13:01 eth0 0.62 0.17 0.14 0.01 0.00 0.00 0.00 0.00 13:17:00 13:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:14:01 eth0 1.47 0.78 0.63 0.41 0.00 0.00 0.00 0.00 13:17:00 13:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:15:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:17:00 13:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:16:01 eth0 0.32 0.28 0.15 0.08 0.00 0.00 0.00 0.00 13:17:00 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 Average: eth0 3.33 2.25 2.16 3.26 0.00 0.00 0.00 0.00 13:17:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:00 13:17:00 13:17:00 ---> sar -P ALL: 13:17:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 13:17:00 13:17:00 13:09:54 LINUX RESTART (4 CPU) 13:17:00 13:17:00 13:11:01 CPU %user %nice %system %iowait %steal %idle 13:17:00 13:12:01 all 0.60 0.00 0.21 0.09 0.00 99.10 13:17:00 13:12:01 0 0.40 0.00 0.20 0.08 0.00 99.32 13:17:00 13:12:01 1 0.73 0.00 0.20 0.17 0.00 98.90 13:17:00 13:12:01 2 0.48 0.00 0.25 0.10 0.00 99.17 13:17:00 13:12:01 3 0.80 0.00 0.18 0.02 0.00 99.00 13:17:00 13:13:01 all 0.16 0.00 0.06 0.00 0.00 99.77 13:17:00 13:13:01 0 0.03 0.00 0.08 0.00 0.00 99.88 13:17:00 13:13:01 1 0.48 0.00 0.05 0.00 0.02 99.45 13:17:00 13:13:01 2 0.05 0.00 0.03 0.00 0.00 99.92 13:17:00 13:13:01 3 0.08 0.00 0.08 0.00 0.00 99.83 13:17:00 13:14:01 all 0.15 0.00 0.04 0.00 0.01 99.80 13:17:00 13:14:01 0 0.03 0.00 0.03 0.00 0.00 99.93 13:17:00 13:14:01 1 0.48 0.00 0.03 0.00 0.00 99.48 13:17:00 13:14:01 2 0.05 0.00 0.05 0.00 0.02 99.88 13:17:00 13:14:01 3 0.05 0.00 0.03 0.00 0.02 99.90 13:17:00 13:15:01 all 0.15 0.00 0.08 0.00 0.00 99.77 13:17:00 13:15:01 0 0.02 0.00 0.18 0.00 0.02 99.78 13:17:00 13:15:01 1 0.47 0.00 0.05 0.00 0.00 99.48 13:17:00 13:15:01 2 0.03 0.00 0.03 0.00 0.00 99.93 13:17:00 13:15:01 3 0.07 0.00 0.07 0.00 0.00 99.87 13:17:00 13:16:01 all 0.16 0.00 0.05 0.00 0.01 99.78 13:17:00 13:16:01 0 0.03 0.00 0.05 0.00 0.02 99.90 13:17:00 13:16:01 1 0.52 0.00 0.05 0.00 0.02 99.42 13:17:00 13:16:01 2 0.05 0.00 0.03 0.00 0.00 99.92 13:17:00 13:16:01 3 0.05 0.00 0.07 0.00 0.00 99.88 13:17:00 Average: all 0.25 0.00 0.09 0.02 0.01 99.64 13:17:00 Average: 0 0.10 0.00 0.11 0.02 0.01 99.76 13:17:00 Average: 1 0.54 0.00 0.08 0.03 0.01 99.35 13:17:00 Average: 2 0.13 0.00 0.08 0.02 0.00 99.76 13:17:00 Average: 3 0.21 0.00 0.09 0.00 0.00 99.70 13:17:00 13:17:00 13:17:00