Pull request #478 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 53618b74932cd445c3c7334c836d1a35782efe4a+dd68bd8a16b73082b1b414d7611500291c5101af (41f05b06b8c97b794f48e80a885d129961ede56b) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43422 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-478 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit 53618b74932cd445c3c7334c836d1a35782efe4a Merge succeeded, producing 53618b74932cd445c3c7334c836d1a35782efe4a Checking out Revision 53618b74932cd445c3c7334c836d1a35782efe4a (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # 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 dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # timeout=10 Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T22:19:31.691Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T22:19:31.946Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T22:19:32.046Z] ========================================================= [2020-09-15T22:19:32.046Z] EdgeX Global Pipelines Version Info [2020-09-15T22:19:32.046Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0acd4197afa35f81148c195c52282bb15b55def1 # timeout=10 [2020-09-15T22:19:33.938Z] ------------------- [2020-09-15T22:19:33.938Z] stable info: [2020-09-15T22:19:33.938Z] ------------------- [2020-09-15T22:19:33.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-15T22:19:33.938Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T22:19:33.938Z] Message: update stable to v1.0.122 [2020-09-15T22:19:34.902Z] ------------------- [2020-09-15T22:19:34.902Z] experimental info: [2020-09-15T22:19:34.902Z] ------------------- [2020-09-15T22:19:34.902Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T22:19:34.902Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T22:19:34.902Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T22:19:35.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-15T22:19:35.349Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-15T22:19:35.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T22:19:35.578Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T22:19:35.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T22:19:35.789Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-15T22:19:35.945Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T22:19:36.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-15T22:19:36.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-15T22:19:36.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T22:19:36.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T22:19:36.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-15T22:19:36.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T22:19:36.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T22:19:36.674Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:19:36.794Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:19:36.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:19:36.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:19:37.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T22:19:37.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T22:19:37.250Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-15T22:19:37.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-15T22:19:37.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-15T22:19:37.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-15T22:19:37.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-15T22:19:37.735Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53618b74932cd445c3c7334c836d1a35782efe4a [Pipeline] echo [2020-09-15T22:19:37.847Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53618b7 [Pipeline] echo [2020-09-15T22:19:37.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T22:19:38.596Z] + git log --format=format:%s -1 53618b74932cd445c3c7334c836d1a35782efe4a [Pipeline] echo [2020-09-15T22:19:38.723Z] GIT_COMMIT: 53618b74932cd445c3c7334c836d1a35782efe4a, Commit Message: fix: Fixed broken unit tests now failing with Go 1.15.2 [Pipeline] echo [2020-09-15T22:19:38.768Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:19:39.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:19:40.005Z] [2020-09-15T22:19:40.005Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:19:40.657Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:19:40.923Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T22:19:40.923Z] 31603596830f: Pulling fs layer [2020-09-15T22:19:40.923Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T22:19:40.923Z] 6ca5941a6612: Pulling fs layer [2020-09-15T22:19:40.923Z] ecc8261a40a4: Pulling fs layer [2020-09-15T22:19:40.923Z] ecc8261a40a4: Waiting [2020-09-15T22:19:40.923Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T22:19:40.923Z] 2a8b12db71e7: Download complete [2020-09-15T22:19:41.187Z] 31603596830f: Verifying Checksum [2020-09-15T22:19:41.187Z] 31603596830f: Download complete [2020-09-15T22:19:41.187Z] ecc8261a40a4: Verifying Checksum [2020-09-15T22:19:41.187Z] ecc8261a40a4: Download complete [2020-09-15T22:19:41.187Z] 6ca5941a6612: Verifying Checksum [2020-09-15T22:19:41.187Z] 6ca5941a6612: Download complete [2020-09-15T22:19:41.459Z] 31603596830f: Pull complete [2020-09-15T22:19:41.726Z] 2a8b12db71e7: Pull complete [2020-09-15T22:19:42.705Z] 6ca5941a6612: Pull complete [2020-09-15T22:19:42.976Z] ecc8261a40a4: Pull complete [2020-09-15T22:19:42.976Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T22:19:42.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:19:42.976Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T22:19:43.129Z] prd-centos7-docker-4c-2g-43422 does not seem to be running inside a container [2020-09-15T22:19:43.215Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T22:19:45.179Z] $ docker top bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T22:19:45.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T22:19:45.592Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T22:19:45.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T22:19:45.926Z] $ docker exec bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 ssh-agent [2020-09-15T22:19:46.188Z] SSH_AUTH_SOCK=/tmp/ssh-hIsRi9jnFGti/agent.12 [2020-09-15T22:19:46.188Z] SSH_AGENT_PID=17 [2020-09-15T22:19:46.207Z] Running ssh-add (command line suppressed) [2020-09-15T22:19:46.385Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3732089363178272317.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_3732089363178272317.key) [2020-09-15T22:19:46.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T22:19:46.811Z] + git describe --exact-match --tags HEAD [2020-09-15T22:19:46.811Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T22:19:46.840Z] $ docker exec --env ******** --env ******** bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 ssh-agent -k [2020-09-15T22:19:46.985Z] unset SSH_AUTH_SOCK; [2020-09-15T22:19:46.986Z] unset SSH_AGENT_PID; [2020-09-15T22:19:46.986Z] echo Agent pid 17 killed; [2020-09-15T22:19:47.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T22:19:47.143Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T22:19:47.143Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T22:19:47.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T22:19:47.237Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T22:19:47.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T22:19:47.548Z] $ docker exec bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 ssh-agent [2020-09-15T22:19:47.776Z] SSH_AUTH_SOCK=/tmp/ssh-ofzEYeLwSN01/agent.46 [2020-09-15T22:19:47.776Z] SSH_AGENT_PID=52 [2020-09-15T22:19:47.786Z] Running ssh-add (command line suppressed) [2020-09-15T22:19:47.946Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6282097737870607966.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6282097737870607966.key) [2020-09-15T22:19:48.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T22:19:48.413Z] + git semver init [2020-09-15T22:19:48.413Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T22:19:48.413Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-15T22:19:48.413Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-15T22:19:48.413Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T22:19:48.413Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T22:19:48.413Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T22:19:48.413Z] # $SEMVER_BRANCH = PR-478 [2020-09-15T22:19:48.413Z] # $SEMVER_TEMP = /tmp/semver-450333549 [2020-09-15T22:19:48.413Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-15T22:19:51.920Z] # '/tmp/semver-450333549' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-15T22:19:52.234Z] # -> Force: false [2020-09-15T22:19:52.234Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-15T22:19:52.315Z] $ docker exec --env ******** --env ******** bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 ssh-agent -k [2020-09-15T22:19:52.874Z] unset SSH_AUTH_SOCK; [2020-09-15T22:19:52.875Z] unset SSH_AGENT_PID; [2020-09-15T22:19:52.875Z] echo Agent pid 52 killed; [2020-09-15T22:19:53.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T22:19:53.526Z] + git semver [Pipeline] } [2020-09-15T22:19:53.851Z] $ docker stop --time=1 bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 [2020-09-15T22:19:55.724Z] $ docker rm -f bca1bfa070b778c852087e0347317bcffb7f62e210c5b28d6330a09e87789c96 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T22:20:04.292Z] Stashed 41 file(s) [Pipeline] echo [2020-09-15T22:20:04.296Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-15T22:20:04.399Z] Archived original 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 [2020-09-15T22:20:19.910Z] Still waiting to schedule task [2020-09-15T22:20:19.911Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-15T22:20:19.913Z] Still waiting to schedule task [2020-09-15T22:20:19.913Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-15T22:21:35.761Z] Running on prd-centos7-docker-4c-2g-43432 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-15T22:21:35.818Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-09-15T22:21:38.794Z] using credential edgex-jenkins-ssh [2020-09-15T22:21:38.841Z] Cloning the remote Git repository [2020-09-15T22:21:38.841Z] Cloning with configured refspecs honoured and without tags [2020-09-15T22:21:38.866Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:21:38.929Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2020-09-15T22:21:38.979Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:21:38.979Z] > git --version # timeout=10 [2020-09-15T22:21:38.987Z] > git --version # 'git version 2.16.5' [2020-09-15T22:21:38.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:21:39.014Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:21:41.615Z] Fetching without tags [2020-09-15T22:21:41.579Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T22:21:41.588Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-15T22:21:41.597Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:21:41.609Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T22:21:41.621Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:21:41.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:21:41.626Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:21:42.058Z] Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit 53618b74932cd445c3c7334c836d1a35782efe4a [2020-09-15T22:21:42.151Z] Merge succeeded, producing 53618b74932cd445c3c7334c836d1a35782efe4a [2020-09-15T22:21:42.151Z] Checking out Revision 53618b74932cd445c3c7334c836d1a35782efe4a (PR-478) [2020-09-15T22:21:42.068Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T22:21:42.074Z] > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # timeout=10 [2020-09-15T22:21:42.121Z] > git remote # timeout=10 [2020-09-15T22:21:42.127Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T22:21:42.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:21:42.138Z] > git merge dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 [2020-09-15T22:21:42.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T22:21:42.156Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T22:21:42.160Z] > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # timeout=10 [2020-09-15T22:21:45.775Z] Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T22:21:47.711Z] ========================================================= [2020-09-15T22:21:47.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-15T22:21:47.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:21:48.427Z] + 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 . [2020-09-15T22:21:49.372Z] Sending build context to Docker daemon 37.16MB [2020-09-15T22:21:49.372Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T22:21:49.372Z] Step 2/8 : FROM ${BASE} [2020-09-15T22:21:49.372Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T22:21:49.372Z] df20fa9351a1: Pulling fs layer [2020-09-15T22:21:49.372Z] ed8968b2872e: Pulling fs layer [2020-09-15T22:21:49.372Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T22:21:49.372Z] e871e8e8d7a9: Pulling fs layer [2020-09-15T22:21:49.372Z] e73272ec9a57: Pulling fs layer [2020-09-15T22:21:49.372Z] 1e910a182e73: Pulling fs layer [2020-09-15T22:21:49.372Z] 4e634b169226: Pulling fs layer [2020-09-15T22:21:49.372Z] e73272ec9a57: Waiting [2020-09-15T22:21:49.372Z] 1e910a182e73: Waiting [2020-09-15T22:21:49.372Z] 4e634b169226: Waiting [2020-09-15T22:21:49.372Z] e871e8e8d7a9: Waiting [2020-09-15T22:21:49.372Z] a92cc7c5fd73: Download complete [2020-09-15T22:21:49.633Z] ed8968b2872e: Download complete [2020-09-15T22:21:49.633Z] e73272ec9a57: Verifying Checksum [2020-09-15T22:21:49.633Z] e73272ec9a57: Download complete [2020-09-15T22:21:49.894Z] 1e910a182e73: Verifying Checksum [2020-09-15T22:21:49.894Z] 1e910a182e73: Download complete [2020-09-15T22:21:50.840Z] df20fa9351a1: Verifying Checksum [2020-09-15T22:21:50.840Z] df20fa9351a1: Download complete [2020-09-15T22:21:50.840Z] df20fa9351a1: Pull complete [2020-09-15T22:21:51.100Z] ed8968b2872e: Pull complete [2020-09-15T22:21:51.366Z] a92cc7c5fd73: Pull complete [2020-09-15T22:21:54.689Z] 4e634b169226: Verifying Checksum [2020-09-15T22:21:54.689Z] 4e634b169226: Download complete [2020-09-15T22:21:55.264Z] e871e8e8d7a9: Verifying Checksum [2020-09-15T22:21:55.264Z] e871e8e8d7a9: Download complete [2020-09-15T22:22:00.636Z] e871e8e8d7a9: Pull complete [2020-09-15T22:22:00.636Z] e73272ec9a57: Pull complete [2020-09-15T22:22:00.636Z] 1e910a182e73: Pull complete [2020-09-15T22:22:08.802Z] 4e634b169226: Pull complete [2020-09-15T22:22:08.802Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-15T22:22:08.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-15T22:22:08.802Z] ---> f7629b54cfaa [2020-09-15T22:22:08.802Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-15T22:22:08.802Z] latest: Pulling from library/docker [2020-09-15T22:22:09.065Z] df20fa9351a1: Already exists [2020-09-15T22:22:09.065Z] 25ad7478873d: Pulling fs layer [2020-09-15T22:22:09.065Z] 4684f6177b5d: Pulling fs layer [2020-09-15T22:22:09.065Z] 46e300cec669: Pulling fs layer [2020-09-15T22:22:09.065Z] 63038576ad94: Pulling fs layer [2020-09-15T22:22:09.065Z] 0fdb76c4706c: Pulling fs layer [2020-09-15T22:22:09.065Z] cb7edeffdfd5: Pulling fs layer [2020-09-15T22:22:09.065Z] 63038576ad94: Waiting [2020-09-15T22:22:09.065Z] 0fdb76c4706c: Waiting [2020-09-15T22:22:09.065Z] cb7edeffdfd5: Waiting [2020-09-15T22:22:09.065Z] 4684f6177b5d: Verifying Checksum [2020-09-15T22:22:09.065Z] 4684f6177b5d: Download complete [2020-09-15T22:22:09.065Z] 25ad7478873d: Download complete [2020-09-15T22:22:09.327Z] 63038576ad94: Verifying Checksum [2020-09-15T22:22:09.327Z] 63038576ad94: Download complete [2020-09-15T22:22:09.327Z] 0fdb76c4706c: Download complete [2020-09-15T22:22:09.327Z] cb7edeffdfd5: Verifying Checksum [2020-09-15T22:22:09.327Z] cb7edeffdfd5: Download complete [2020-09-15T22:22:09.327Z] 25ad7478873d: Pull complete [2020-09-15T22:22:09.589Z] 4684f6177b5d: Pull complete [2020-09-15T22:22:10.162Z] 46e300cec669: Verifying Checksum [2020-09-15T22:22:10.162Z] 46e300cec669: Download complete [2020-09-15T22:22:12.738Z] 46e300cec669: Pull complete [2020-09-15T22:22:12.738Z] 63038576ad94: Pull complete [2020-09-15T22:22:12.738Z] 0fdb76c4706c: Pull complete [2020-09-15T22:22:12.738Z] cb7edeffdfd5: Pull complete [2020-09-15T22:22:12.738Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-15T22:22:12.738Z] Status: Downloaded newer image for docker:latest [2020-09-15T22:22:14.143Z] ---> 45ac2ca0e53c [2020-09-15T22:22:14.143Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-15T22:22:14.405Z] ---> Running in 7aff1b94f0ae [2020-09-15T22:22:14.405Z] Removing intermediate container 7aff1b94f0ae [2020-09-15T22:22:14.405Z] ---> 640e5e30983d [2020-09-15T22:22:14.405Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-15T22:22:14.668Z] ---> Running in 6203f72343e4 [2020-09-15T22:22:15.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T22:22:16.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T22:22:16.770Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-15T22:22:16.770Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-15T22:22:16.770Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-15T22:22:16.770Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-15T22:22:17.041Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-15T22:22:17.041Z] Executing busybox-1.31.1-r16.trigger [2020-09-15T22:22:17.041Z] OK: 167 MiB in 44 packages [2020-09-15T22:22:17.617Z] Removing intermediate container 6203f72343e4 [2020-09-15T22:22:17.617Z] ---> 0e13722f3b6c [2020-09-15T22:22:17.617Z] Step 6/8 : WORKDIR /build [2020-09-15T22:22:17.617Z] ---> Running in 37c9218dd0ab [2020-09-15T22:22:17.879Z] Removing intermediate container 37c9218dd0ab [2020-09-15T22:22:17.879Z] ---> 8088b9dcc75a [2020-09-15T22:22:17.879Z] Step 7/8 : COPY go.mod . [2020-09-15T22:22:18.141Z] ---> 0eaaa8689447 [2020-09-15T22:22:18.141Z] Step 8/8 : RUN go mod download [2020-09-15T22:22:18.141Z] ---> Running in ff0000bd8c08 [2020-09-15T22:22:44.824Z] Removing intermediate container ff0000bd8c08 [2020-09-15T22:22:44.824Z] ---> 3d70d5858f89 [2020-09-15T22:22:44.824Z] Successfully built 3d70d5858f89 [2020-09-15T22:22:44.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:22:45.187Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T22:22:45.187Z] . [Pipeline] withDockerContainer [2020-09-15T22:22:45.294Z] prd-centos7-docker-4c-2g-43432 does not seem to be running inside a container [2020-09-15T22:22:45.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-09-15T22:22:46.081Z] $ docker top af87b87cf45d1f81034f3fdbf5964f4e62f3b12af062ba3a7d8f8638fd5a3268 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:22:46.621Z] + go version [2020-09-15T22:22:46.621Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-15T22:22:46.635Z] $ docker stop --time=1 af87b87cf45d1f81034f3fdbf5964f4e62f3b12af062ba3a7d8f8638fd5a3268 [2020-09-15T22:22:48.020Z] $ docker rm -f af87b87cf45d1f81034f3fdbf5964f4e62f3b12af062ba3a7d8f8638fd5a3268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:22:48.836Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T22:22:48.836Z] . [Pipeline] withDockerContainer [2020-09-15T22:22:48.928Z] prd-centos7-docker-4c-2g-43432 does not seem to be running inside a container [2020-09-15T22:22:48.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-09-15T22:22:49.587Z] $ docker top 21abbbbde260bcbb482057daa95268bb485f18c8478937b6c043b2ea3234a057 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:22:50.056Z] + make test [2020-09-15T22:22:50.056Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-15T22:22:51.981Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-15T22:22:58.651Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.094s coverage: 86.2% of statements [2020-09-15T22:23:04.535Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43434 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-15T22:23:04.611Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-09-15T22:23:11.243Z] using credential edgex-jenkins-ssh [2020-09-15T22:23:11.314Z] Cloning the remote Git repository [2020-09-15T22:23:11.314Z] Cloning with configured refspecs honoured and without tags [2020-09-15T22:23:11.385Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:23:11.500Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2020-09-15T22:23:11.580Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:23:11.581Z] > git --version # timeout=10 [2020-09-15T22:23:11.604Z] > git --version # 'git version 2.17.1' [2020-09-15T22:23:11.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:23:11.686Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:23:13.652Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.032s coverage: 56.1% of statements [2020-09-15T22:23:13.652Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-15T22:23:13.652Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-15T22:23:13.652Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.024s coverage: 53.5% of statements [2020-09-15T22:23:13.652Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-15T22:23:13.652Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.294s coverage: 69.1% of statements [2020-09-15T22:23:14.611Z] Fetching without tags [2020-09-15T22:23:15.088Z] Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit 53618b74932cd445c3c7334c836d1a35782efe4a [2020-09-15T22:23:14.532Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T22:23:14.552Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-15T22:23:14.571Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:23:14.602Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-15T22:23:14.634Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-15T22:23:14.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:23:14.648Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T22:23:15.124Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T22:23:15.146Z] > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # timeout=10 [2020-09-15T22:23:15.387Z] Merge succeeded, producing 53618b74932cd445c3c7334c836d1a35782efe4a [2020-09-15T22:23:15.388Z] Checking out Revision 53618b74932cd445c3c7334c836d1a35782efe4a (PR-478) [2020-09-15T22:23:15.286Z] > git remote # timeout=10 [2020-09-15T22:23:15.318Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T22:23:15.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T22:23:15.352Z] > git merge dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 [2020-09-15T22:23:15.379Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T22:23:15.407Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T22:23:15.419Z] > git checkout -f 53618b74932cd445c3c7334c836d1a35782efe4a # timeout=10 [2020-09-15T22:23:20.847Z] Commit message: "fix: Fixed broken unit tests now failing with Go 1.15.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T22:23:24.319Z] ========================================================= [2020-09-15T22:23:24.319Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-15T22:23:24.319Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:23:25.489Z] + 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 . [2020-09-15T22:23:26.939Z] Sending build context to Docker daemon 37.16MB [2020-09-15T22:23:26.939Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T22:23:26.939Z] Step 2/8 : FROM ${BASE} [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.481s coverage: 61.6% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.008s coverage: 89.5% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.077s coverage: 100.0% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.004s coverage: 100.0% of statements [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-15T22:23:27.091Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 9.4% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.993s coverage: 75.0% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.010s coverage: 89.3% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-09-15T22:23:27.091Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.081s coverage: 80.0% of statements [2020-09-15T22:23:27.547Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T22:23:27.547Z] b538f80385f9: Pulling fs layer [2020-09-15T22:23:27.547Z] 74f711af9a0d: Pulling fs layer [2020-09-15T22:23:27.547Z] 99f96fe45779: Pulling fs layer [2020-09-15T22:23:27.547Z] 8529a6b9a6be: Pulling fs layer [2020-09-15T22:23:27.547Z] 45590311c82a: Pulling fs layer [2020-09-15T22:23:27.547Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-15T22:23:27.547Z] 209524e5b208: Pulling fs layer [2020-09-15T22:23:27.547Z] 8529a6b9a6be: Waiting [2020-09-15T22:23:27.547Z] 45590311c82a: Waiting [2020-09-15T22:23:27.547Z] 69ca0ff8b7b3: Waiting [2020-09-15T22:23:27.547Z] 209524e5b208: Waiting [2020-09-15T22:23:27.547Z] 99f96fe45779: Verifying Checksum [2020-09-15T22:23:27.547Z] 99f96fe45779: Download complete [2020-09-15T22:23:27.547Z] 74f711af9a0d: Download complete [2020-09-15T22:23:27.547Z] 45590311c82a: Verifying Checksum [2020-09-15T22:23:27.547Z] 45590311c82a: Download complete [2020-09-15T22:23:27.547Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-15T22:23:27.547Z] 69ca0ff8b7b3: Download complete [2020-09-15T22:23:27.823Z] b538f80385f9: Verifying Checksum [2020-09-15T22:23:27.823Z] b538f80385f9: Download complete [2020-09-15T22:23:28.431Z] b538f80385f9: Pull complete [2020-09-15T22:23:29.039Z] 74f711af9a0d: Pull complete [2020-09-15T22:23:29.315Z] 99f96fe45779: Pull complete [2020-09-15T22:23:31.311Z] 209524e5b208: Download complete [2020-09-15T22:23:32.752Z] 8529a6b9a6be: Verifying Checksum [2020-09-15T22:23:32.752Z] 8529a6b9a6be: Download complete [2020-09-15T22:23:42.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.426s coverage: 71.6% of statements [2020-09-15T22:23:42.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-15T22:23:42.009Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-15T22:23:42.967Z] 8529a6b9a6be: Pull complete [2020-09-15T22:23:43.255Z] 45590311c82a: Pull complete [2020-09-15T22:23:43.858Z] 69ca0ff8b7b3: Pull complete [2020-09-15T22:23:46.283Z] gofmt -l . [2020-09-15T22:23:46.283Z] [ "`gofmt -l .`" = "" ] [2020-09-15T22:23:46.283Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T22:23:46.906Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T22:23:46.912Z] $ docker stop --time=1 21abbbbde260bcbb482057daa95268bb485f18c8478937b6c043b2ea3234a057 [2020-09-15T22:23:47.286Z] 209524e5b208: Pull complete [2020-09-15T22:23:47.286Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-15T22:23:47.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-15T22:23:47.286Z] ---> 5bddaf1c2fca [2020-09-15T22:23:47.286Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-15T22:23:47.560Z] latest: Pulling from library/docker [2020-09-15T22:23:47.560Z] b538f80385f9: Already exists [2020-09-15T22:23:47.560Z] 259a493cd78d: Pulling fs layer [2020-09-15T22:23:47.560Z] b8e66b5100f5: Pulling fs layer [2020-09-15T22:23:47.560Z] 39dc9c94d07c: Pulling fs layer [2020-09-15T22:23:47.560Z] 551b823b3b82: Pulling fs layer [2020-09-15T22:23:47.560Z] 3c52a74df98c: Pulling fs layer [2020-09-15T22:23:47.560Z] 6c9b121b6998: Pulling fs layer [2020-09-15T22:23:47.560Z] 551b823b3b82: Waiting [2020-09-15T22:23:47.560Z] 3c52a74df98c: Waiting [2020-09-15T22:23:47.560Z] 6c9b121b6998: Waiting [2020-09-15T22:23:47.840Z] 259a493cd78d: Verifying Checksum [2020-09-15T22:23:47.840Z] 259a493cd78d: Download complete [2020-09-15T22:23:48.122Z] 551b823b3b82: Verifying Checksum [2020-09-15T22:23:48.122Z] 551b823b3b82: Download complete [2020-09-15T22:23:48.122Z] 3c52a74df98c: Verifying Checksum [2020-09-15T22:23:48.122Z] 3c52a74df98c: Download complete [2020-09-15T22:23:48.122Z] 6c9b121b6998: Verifying Checksum [2020-09-15T22:23:48.122Z] 6c9b121b6998: Download complete [2020-09-15T22:23:48.565Z] $ docker rm -f 21abbbbde260bcbb482057daa95268bb485f18c8478937b6c043b2ea3234a057 [2020-09-15T22:23:48.738Z] 259a493cd78d: Pull complete [2020-09-15T22:23:49.019Z] b8e66b5100f5: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-15T22:23:49.309Z] 39dc9c94d07c: Verifying Checksum [2020-09-15T22:23:49.309Z] 39dc9c94d07c: Download complete [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] } [2020-09-15T22:23:51.976Z] 39dc9c94d07c: Pull complete [2020-09-15T22:23:52.584Z] 551b823b3b82: Pull complete [2020-09-15T22:23:52.870Z] 3c52a74df98c: Pull complete [2020-09-15T22:23:53.147Z] 6c9b121b6998: Pull complete [2020-09-15T22:23:53.424Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-15T22:23:53.424Z] Status: Downloaded newer image for docker:latest [2020-09-15T22:24:00.172Z] ---> 581e57d072b5 [2020-09-15T22:24:00.172Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-15T22:24:00.172Z] ---> Running in b9f8161ecbab [2020-09-15T22:24:00.449Z] Removing intermediate container b9f8161ecbab [2020-09-15T22:24:00.449Z] ---> 4aa17e2d6bb6 [2020-09-15T22:24:00.449Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-15T22:24:00.449Z] ---> Running in e19217afebbc [2020-09-15T22:24:02.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T22:24:03.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T22:24:04.231Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-15T22:24:04.509Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-15T22:24:04.509Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-15T22:24:04.788Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-15T22:24:04.789Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-15T22:24:04.789Z] Executing busybox-1.31.1-r16.trigger [2020-09-15T22:24:04.789Z] OK: 144 MiB in 44 packages [2020-09-15T22:24:06.781Z] Removing intermediate container e19217afebbc [2020-09-15T22:24:06.781Z] ---> 2f2b587d2f2a [2020-09-15T22:24:06.781Z] Step 6/8 : WORKDIR /build [2020-09-15T22:24:06.781Z] ---> Running in 0e36ac93ec4f [2020-09-15T22:24:07.055Z] Removing intermediate container 0e36ac93ec4f [2020-09-15T22:24:07.055Z] ---> bf104afec29f [2020-09-15T22:24:07.055Z] Step 7/8 : COPY go.mod . [2020-09-15T22:24:08.038Z] ---> 8912afd0a844 [2020-09-15T22:24:08.038Z] Step 8/8 : RUN go mod download [2020-09-15T22:24:08.038Z] ---> Running in 05a6b556811a [2020-09-15T22:24:40.384Z] Removing intermediate container 05a6b556811a [2020-09-15T22:24:40.384Z] ---> 4308f371a931 [2020-09-15T22:24:40.384Z] Successfully built 4308f371a931 [2020-09-15T22:24:40.384Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:24:40.809Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T22:24:40.809Z] . [Pipeline] withDockerContainer [2020-09-15T22:24:41.113Z] prd-ubuntu18.04-docker-arm64-4c-16g-43434 does not seem to be running inside a container [2020-09-15T22:24:41.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-arm64 cat [2020-09-15T22:24:43.300Z] $ docker top 88004d41085d1ae93fab20313c37535d24f4fd30f4af5b9eb90c6f4fd6fa8f68 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:24:44.801Z] + go version [2020-09-15T22:24:44.801Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-15T22:24:44.846Z] $ docker stop --time=1 88004d41085d1ae93fab20313c37535d24f4fd30f4af5b9eb90c6f4fd6fa8f68 [2020-09-15T22:24:46.881Z] $ docker rm -f 88004d41085d1ae93fab20313c37535d24f4fd30f4af5b9eb90c6f4fd6fa8f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:24:48.033Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T22:24:48.033Z] . [Pipeline] withDockerContainer [2020-09-15T22:24:48.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-43434 does not seem to be running inside a container [2020-09-15T22:24:48.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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 ******** ci-base-image-arm64 cat [2020-09-15T22:24:50.476Z] $ docker top 74e8ba72c5356fc6d6ee87710bfd1c79a13097a40b5425b071533aabc01821d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:24:51.838Z] + make test [2020-09-15T22:24:51.838Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-15T22:24:53.825Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-15T22:25:21.143Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.150s coverage: 86.2% of statements [2020-09-15T22:26:00.182Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.066s coverage: 56.1% of statements [2020-09-15T22:26:00.182Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-15T22:26:00.182Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-15T22:26:00.182Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.095s coverage: 53.5% of statements [2020-09-15T22:26:00.182Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-15T22:26:00.182Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.359s coverage: 69.1% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.524s coverage: 61.6% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.106s coverage: 100.0% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-09-15T22:26:10.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-09-15T22:26:10.353Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-15T22:26:10.353Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-15T22:26:10.353Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-15T22:26:10.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-15T22:26:10.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-15T22:26:10.354Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-15T22:26:10.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-15T22:26:11.332Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.163s coverage: 75.0% of statements [2020-09-15T22:26:11.332Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.041s coverage: 89.3% of statements [2020-09-15T22:26:11.332Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements [2020-09-15T22:26:11.332Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.175s coverage: 80.0% of statements [2020-09-15T22:26:38.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.681s coverage: 71.6% of statements [2020-09-15T22:26:38.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements [2020-09-15T22:26:38.115Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-15T22:26:48.302Z] gofmt -l . [2020-09-15T22:26:48.572Z] [ "`gofmt -l .`" = "" ] [2020-09-15T22:26:49.161Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T22:26:49.776Z] Warning: overwriting stash ‘coverage-report’ [2020-09-15T22:26:50.582Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T22:26:50.605Z] $ docker stop --time=1 74e8ba72c5356fc6d6ee87710bfd1c79a13097a40b5425b071533aabc01821d0 [2020-09-15T22:26:52.767Z] $ docker rm -f 74e8ba72c5356fc6d6ee87710bfd1c79a13097a40b5425b071533aabc01821d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-15T22:26:55.734Z] provisioning config files... [2020-09-15T22:26:55.749Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config8263909899512566962tmp [Pipeline] { [Pipeline] sh [2020-09-15T22:26:56.150Z] + curl -s https://codecov.io/bash [2020-09-15T22:26:56.150Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config8263909899512566962tmp [Pipeline] } [2020-09-15T22:26:56.438Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 [2020-09-15T22:26:58.850Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:26:59.795Z] ---> package-listing.sh [2020-09-15T22:26:59.795Z] ++ facter osfamily [2020-09-15T22:26:59.795Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T22:27:00.094Z] + OS_FAMILY=redhat [2020-09-15T22:27:00.094Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-15T22:27:00.094Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T22:27:00.094Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T22:27:00.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T22:27:00.094Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T22:27:00.094Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-15T22:27:00.094Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T22:27:00.094Z] + case "${OS_FAMILY}" in [2020-09-15T22:27:00.094Z] + rpm -qa [2020-09-15T22:27:00.094Z] + sort [2020-09-15T22:27:05.446Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T22:27:05.446Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T22:27:05.446Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T22:27:05.446Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-15T22:27:05.446Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-15T22:27:05.446Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:27:06.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:27:06.438Z] [2020-09-15T22:27:06.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:27:06.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:27:06.870Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T22:27:06.870Z] df20fa9351a1: Pulling fs layer [2020-09-15T22:27:06.870Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T22:27:06.870Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T22:27:06.870Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T22:27:06.870Z] 0dadc02b9964: Pulling fs layer [2020-09-15T22:27:06.870Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T22:27:06.870Z] 7a184a31f384: Pulling fs layer [2020-09-15T22:27:06.870Z] 0879bd2ef858: Pulling fs layer [2020-09-15T22:27:06.870Z] 46f8f816bc3b: Waiting [2020-09-15T22:27:06.870Z] 0dadc02b9964: Waiting [2020-09-15T22:27:06.870Z] ce6a7cf60c04: Waiting [2020-09-15T22:27:06.870Z] 0879bd2ef858: Waiting [2020-09-15T22:27:06.870Z] 7a184a31f384: Waiting [2020-09-15T22:27:06.870Z] 36b3adc4ff6f: Verifying Checksum [2020-09-15T22:27:06.870Z] 36b3adc4ff6f: Download complete [2020-09-15T22:27:06.870Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T22:27:06.870Z] 46f8f816bc3b: Download complete [2020-09-15T22:27:07.179Z] df20fa9351a1: Download complete [2020-09-15T22:27:07.179Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T22:27:07.179Z] ce6a7cf60c04: Download complete [2020-09-15T22:27:07.179Z] 7a184a31f384: Verifying Checksum [2020-09-15T22:27:07.179Z] 7a184a31f384: Download complete [2020-09-15T22:27:07.179Z] 0dadc02b9964: Verifying Checksum [2020-09-15T22:27:07.179Z] 0dadc02b9964: Download complete [2020-09-15T22:27:08.317Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T22:27:08.317Z] 8ad3a11d3b57: Download complete [2020-09-15T22:27:08.317Z] df20fa9351a1: Pull complete [2020-09-15T22:27:08.614Z] 36b3adc4ff6f: Pull complete [2020-09-15T22:27:08.881Z] 0879bd2ef858: Verifying Checksum [2020-09-15T22:27:08.881Z] 0879bd2ef858: Download complete [2020-09-15T22:27:09.516Z] 8ad3a11d3b57: Pull complete [2020-09-15T22:27:09.793Z] 46f8f816bc3b: Pull complete [2020-09-15T22:27:10.076Z] 0dadc02b9964: Pull complete [2020-09-15T22:27:10.341Z] ce6a7cf60c04: Pull complete [2020-09-15T22:27:10.616Z] 7a184a31f384: Pull complete [2020-09-15T22:27:14.975Z] 0879bd2ef858: Pull complete [2020-09-15T22:27:14.975Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T22:27:14.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:27:14.975Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T22:27:15.264Z] prd-centos7-docker-4c-2g-43422 does not seem to be running inside a container [2020-09-15T22:27:15.344Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-15T22:27:21.438Z] $ docker top f8839acedebea1ea0b6196caa5839e8f897f5a07490a012405766b04944fece0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:27:21.977Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T22:27:22.307Z] + ls /var/log/sa-host [2020-09-15T22:27:22.307Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T22:27:22.307Z] file_magic: OK [2020-09-15T22:27:22.307Z] HZ: Using current value: 100 [2020-09-15T22:27:22.307Z] file_header: OK [2020-09-15T22:27:22.307Z] 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 [2020-09-15T22:27:22.307Z] Statistics: [2020-09-15T22:27:22.307Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T22:27:22.307Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T22:27:22.307Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T22:27:22.307Z] file_magic: OK [2020-09-15T22:27:22.307Z] HZ: Using current value: 100 [2020-09-15T22:27:22.307Z] file_header: OK [2020-09-15T22:27:22.307Z] 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 [2020-09-15T22:27:22.307Z] Statistics: [2020-09-15T22:27:22.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T22:27:22.307Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T22:27:22.372Z] provisioning config files... [2020-09-15T22:27:22.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config6099119111434608663tmp [Pipeline] { [Pipeline] echo [2020-09-15T22:27:22.465Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:27:22.799Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T22:27:22.813Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:27:23.164Z] ---> logs-deploy.sh [2020-09-15T22:27:23.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/15 [2020-09-15T22:27:23.164Z] INFO: archiving workspace using pattern(s): [2020-09-15T22:27:25.776Z] Archives upload complete. [2020-09-15T22:27:25.776Z] INFO: archiving logs to Nexus