Pull request #492 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 869605437161d9df665c2f09ffc5450b5aae4059+6f19a0cc372da972f896d81446be19c81c22f58c (a53593c1355ecdff06660d00210d97a596254de9) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-492/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 ‘prd-centos7-docker-4c-2g-31’ is offline; ‘prd-centos7-docker-4c-2g-33’ is offline Running on prd-centos7-docker-4c-2g-42 in /w/workspace/ndry_app-functions-sdk-go_PR-492 [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-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 869605437161d9df665c2f09ffc5450b5aae4059 Merge succeeded, producing 869605437161d9df665c2f09ffc5450b5aae4059 Checking out Revision 869605437161d9df665c2f09ffc5450b5aae4059 (PR-492) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # 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 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T22:38:04.803Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T22:38:05.129Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T22:38:05.315Z] ========================================================= [2020-09-16T22:38:05.315Z] EdgeX Global Pipelines Version Info [2020-09-16T22:38:05.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:38:07.274Z] ------------------- [2020-09-16T22:38:07.275Z] stable info: [2020-09-16T22:38:07.275Z] ------------------- [2020-09-16T22:38:07.275Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T22:38:07.275Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:38:07.275Z] Message: update stable to v1.0.122 [2020-09-16T22:38:08.232Z] ------------------- [2020-09-16T22:38:08.232Z] experimental info: [2020-09-16T22:38:08.232Z] ------------------- [2020-09-16T22:38:08.232Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T22:38:08.232Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:38:08.232Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T22:38:08.753Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T22:38:08.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T22:38:09.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T22:38:09.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T22:38:09.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T22:38:09.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T22:38:09.664Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T22:38:09.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T22:38:09.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T22:38:10.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T22:38:10.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T22:38:10.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T22:38:10.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T22:38:10.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T22:38:11.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:38:11.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:38:11.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:38:11.414Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:38:11.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T22:38:11.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T22:38:11.934Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T22:38:12.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T22:38:12.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-492 [Pipeline] echo [2020-09-16T22:38:12.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-492 [Pipeline] echo [2020-09-16T22:38:12.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-492 [Pipeline] echo [2020-09-16T22:38:12.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 869605437161d9df665c2f09ffc5450b5aae4059 [Pipeline] echo [2020-09-16T22:38:12.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8696054 [Pipeline] echo [2020-09-16T22:38:12.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T22:38:13.615Z] + git log --format=format:%s -1 869605437161d9df665c2f09ffc5450b5aae4059 [Pipeline] echo [2020-09-16T22:38:13.713Z] GIT_COMMIT: 869605437161d9df665c2f09ffc5450b5aae4059, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo [2020-09-16T22:38:13.804Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:38:14.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:38:14.700Z] [2020-09-16T22:38:14.700Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:38:15.105Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:38:15.105Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T22:38:15.105Z] 31603596830f: Pulling fs layer [2020-09-16T22:38:15.105Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T22:38:15.105Z] 6ca5941a6612: Pulling fs layer [2020-09-16T22:38:15.105Z] ecc8261a40a4: Pulling fs layer [2020-09-16T22:38:15.105Z] ecc8261a40a4: Waiting [2020-09-16T22:38:15.105Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T22:38:15.105Z] 2a8b12db71e7: Download complete [2020-09-16T22:38:15.369Z] 31603596830f: Download complete [2020-09-16T22:38:15.369Z] ecc8261a40a4: Verifying Checksum [2020-09-16T22:38:15.369Z] ecc8261a40a4: Download complete [2020-09-16T22:38:15.369Z] 6ca5941a6612: Verifying Checksum [2020-09-16T22:38:15.369Z] 6ca5941a6612: Download complete [2020-09-16T22:38:15.631Z] 31603596830f: Pull complete [2020-09-16T22:38:15.632Z] 2a8b12db71e7: Pull complete [2020-09-16T22:38:16.587Z] 6ca5941a6612: Pull complete [2020-09-16T22:38:16.850Z] ecc8261a40a4: Pull complete [2020-09-16T22:38:16.850Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T22:38:16.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:38:16.850Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T22:38:17.020Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2020-09-16T22:38:17.070Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-492 -v /w/workspace/ndry_app-functions-sdk-go_PR-492:/w/workspace/ndry_app-functions-sdk-go_PR-492:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-492@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-492@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-16T22:38:19.298Z] $ docker top f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T22:38:19.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:38:19.699Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:38:19.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:38:19.928Z] $ docker exec f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 ssh-agent [2020-09-16T22:38:20.082Z] SSH_AUTH_SOCK=/tmp/ssh-mVm0p4Wo0hXG/agent.11 [2020-09-16T22:38:20.082Z] SSH_AGENT_PID=16 [2020-09-16T22:38:20.092Z] Running ssh-add (command line suppressed) [2020-09-16T22:38:20.205Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-492@tmp/private_key_6617505474023561417.key (/w/workspace/ndry_app-functions-sdk-go_PR-492@tmp/private_key_6617505474023561417.key) [2020-09-16T22:38:20.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:38:20.697Z] + git describe --exact-match --tags HEAD [2020-09-16T22:38:20.697Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T22:38:20.751Z] $ docker exec --env ******** --env ******** f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 ssh-agent -k [2020-09-16T22:38:20.861Z] unset SSH_AUTH_SOCK; [2020-09-16T22:38:20.862Z] unset SSH_AGENT_PID; [2020-09-16T22:38:20.862Z] echo Agent pid 16 killed; [2020-09-16T22:38:20.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T22:38:21.123Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T22:38:21.123Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T22:38:21.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:38:21.289Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:38:21.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:38:21.466Z] $ docker exec f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 ssh-agent [2020-09-16T22:38:21.641Z] SSH_AUTH_SOCK=/tmp/ssh-sWx8Puxku8Pc/agent.45 [2020-09-16T22:38:21.641Z] SSH_AGENT_PID=50 [2020-09-16T22:38:21.658Z] Running ssh-add (command line suppressed) [2020-09-16T22:38:21.773Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-492@tmp/private_key_3662204437963214416.key (/w/workspace/ndry_app-functions-sdk-go_PR-492@tmp/private_key_3662204437963214416.key) [2020-09-16T22:38:21.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:38:22.260Z] + git semver init [2020-09-16T22:38:22.260Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T22:38:22.260Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-492/.git [2020-09-16T22:38:22.260Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-492 [2020-09-16T22:38:22.260Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T22:38:22.260Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T22:38:22.260Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T22:38:22.260Z] # $SEMVER_BRANCH = PR-492 [2020-09-16T22:38:22.260Z] # $SEMVER_TEMP = /tmp/semver-325940977 [2020-09-16T22:38:22.260Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T22:39:43.876Z] # '/tmp/semver-325940977' -> '/w/workspace/ndry_app-functions-sdk-go_PR-492/.semver' [2020-09-16T22:39:43.876Z] # -> Force: false [2020-09-16T22:39:43.876Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-492/.semver [Pipeline] } [2020-09-16T22:39:43.910Z] $ docker exec --env ******** --env ******** f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 ssh-agent -k [2020-09-16T22:39:44.045Z] unset SSH_AUTH_SOCK; [2020-09-16T22:39:44.045Z] unset SSH_AGENT_PID; [2020-09-16T22:39:44.045Z] echo Agent pid 50 killed; [2020-09-16T22:39:44.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T22:39:44.697Z] + git semver [Pipeline] } [2020-09-16T22:39:44.741Z] $ docker stop --time=1 f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 [2020-09-16T22:39:46.161Z] $ docker rm -f f9146d03979fddbfe81a64ebe3ed093e3013362e0bb7aba65b20d030f81128c2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T22:39:48.567Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T22:39:48.589Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T22:39:48.725Z] 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-16T22:40:04.500Z] Still waiting to schedule task [2020-09-16T22:40:04.500Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-16T22:40:04.528Z] Still waiting to schedule task [2020-09-16T22:40:04.528Z] ‘prd-centos7-docker-4c-2g-29’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-30’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-31’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-33’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-34’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-36’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-37’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-41’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-47’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-35’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-44’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-51’ is offline [2020-09-16T22:41:32.033Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-53 in /w/workspace/ndry_app-functions-sdk-go_PR-492 [Pipeline] { [Pipeline] ws [2020-09-16T22:41:32.137Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-16T22:41:38.151Z] using credential edgex-jenkins-ssh [2020-09-16T22:41:38.216Z] Cloning the remote Git repository [2020-09-16T22:41:38.217Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:41:38.294Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:38.454Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-16T22:41:38.541Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:38.543Z] > git --version # timeout=10 [2020-09-16T22:41:38.565Z] > git --version # 'git version 2.17.1' [2020-09-16T22:41:38.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:38.644Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:44.026Z] Fetching without tags [2020-09-16T22:41:43.933Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:41:43.950Z] > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 [2020-09-16T22:41:43.968Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:44.001Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:41:44.043Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:41:44.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:44.058Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:41:44.567Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 869605437161d9df665c2f09ffc5450b5aae4059 [2020-09-16T22:41:44.993Z] Merge succeeded, producing 869605437161d9df665c2f09ffc5450b5aae4059 [2020-09-16T22:41:44.993Z] Checking out Revision 869605437161d9df665c2f09ffc5450b5aae4059 (PR-492) [2020-09-16T22:41:44.658Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:41:44.692Z] > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # timeout=10 [2020-09-16T22:41:44.845Z] > git remote # timeout=10 [2020-09-16T22:41:44.877Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:41:44.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:41:44.942Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:41:44.974Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:41:45.002Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:41:45.016Z] > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # timeout=10 [2020-09-16T22:41:49.361Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [2020-09-16T22:41:49.424Z] > git --version # timeout=10 [2020-09-16T22:41:49.442Z] > git --version # 'git version 2.17.1' [2020-09-16T22:41:49.456Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:41:53.545Z] ========================================================= [2020-09-16T22:41:53.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T22:41:53.545Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:41:54.746Z] + 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-16T22:41:55.749Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:41:56.033Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:41:56.033Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:41:56.311Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T22:41:56.311Z] b538f80385f9: Pulling fs layer [2020-09-16T22:41:56.311Z] 74f711af9a0d: Pulling fs layer [2020-09-16T22:41:56.311Z] 99f96fe45779: Pulling fs layer [2020-09-16T22:41:56.311Z] 8529a6b9a6be: Pulling fs layer [2020-09-16T22:41:56.311Z] 45590311c82a: Pulling fs layer [2020-09-16T22:41:56.311Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-16T22:41:56.311Z] 209524e5b208: Pulling fs layer [2020-09-16T22:41:56.311Z] 8529a6b9a6be: Waiting [2020-09-16T22:41:56.311Z] 45590311c82a: Waiting [2020-09-16T22:41:56.311Z] 69ca0ff8b7b3: Waiting [2020-09-16T22:41:56.311Z] 209524e5b208: Waiting [2020-09-16T22:41:56.311Z] 99f96fe45779: Download complete [2020-09-16T22:41:56.311Z] 74f711af9a0d: Verifying Checksum [2020-09-16T22:41:56.311Z] 74f711af9a0d: Download complete [2020-09-16T22:41:56.311Z] 45590311c82a: Verifying Checksum [2020-09-16T22:41:56.311Z] 45590311c82a: Download complete [2020-09-16T22:41:56.311Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-16T22:41:56.311Z] 69ca0ff8b7b3: Download complete [2020-09-16T22:41:56.311Z] b538f80385f9: Verifying Checksum [2020-09-16T22:41:56.311Z] b538f80385f9: Download complete [2020-09-16T22:41:56.927Z] b538f80385f9: Pull complete [2020-09-16T22:41:57.534Z] 74f711af9a0d: Pull complete [2020-09-16T22:41:58.136Z] 99f96fe45779: Pull complete [2020-09-16T22:41:58.736Z] 209524e5b208: Verifying Checksum [2020-09-16T22:41:58.736Z] 209524e5b208: Download complete [2020-09-16T22:42:00.721Z] 8529a6b9a6be: Verifying Checksum [2020-09-16T22:42:00.721Z] 8529a6b9a6be: Download complete [2020-09-16T22:42:10.896Z] 8529a6b9a6be: Pull complete [2020-09-16T22:42:10.896Z] 45590311c82a: Pull complete [2020-09-16T22:42:10.896Z] 69ca0ff8b7b3: Pull complete [2020-09-16T22:42:15.249Z] 209524e5b208: Pull complete [2020-09-16T22:42:15.249Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-16T22:42:15.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-16T22:42:15.249Z] ---> 5bddaf1c2fca [2020-09-16T22:42:15.249Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:42:15.249Z] latest: Pulling from library/docker [2020-09-16T22:42:15.249Z] b538f80385f9: Already exists [2020-09-16T22:42:15.249Z] 259a493cd78d: Pulling fs layer [2020-09-16T22:42:15.249Z] b8e66b5100f5: Pulling fs layer [2020-09-16T22:42:15.249Z] 39dc9c94d07c: Pulling fs layer [2020-09-16T22:42:15.249Z] 551b823b3b82: Pulling fs layer [2020-09-16T22:42:15.249Z] 3c52a74df98c: Pulling fs layer [2020-09-16T22:42:15.249Z] 6c9b121b6998: Pulling fs layer [2020-09-16T22:42:15.249Z] 3c52a74df98c: Waiting [2020-09-16T22:42:15.249Z] 6c9b121b6998: Waiting [2020-09-16T22:42:15.249Z] 551b823b3b82: Waiting [2020-09-16T22:42:15.249Z] b8e66b5100f5: Verifying Checksum [2020-09-16T22:42:15.249Z] b8e66b5100f5: Download complete [2020-09-16T22:42:15.550Z] 259a493cd78d: Verifying Checksum [2020-09-16T22:42:15.550Z] 259a493cd78d: Download complete [2020-09-16T22:42:15.550Z] 551b823b3b82: Verifying Checksum [2020-09-16T22:42:15.550Z] 551b823b3b82: Download complete [2020-09-16T22:42:15.550Z] 3c52a74df98c: Verifying Checksum [2020-09-16T22:42:15.550Z] 3c52a74df98c: Download complete [2020-09-16T22:42:15.831Z] 6c9b121b6998: Verifying Checksum [2020-09-16T22:42:15.831Z] 6c9b121b6998: Download complete [2020-09-16T22:42:16.381Z] Running on prd-centos7-docker-4c-2g-57 in /w/workspace/ndry_app-functions-sdk-go_PR-492 [Pipeline] { [2020-09-16T22:42:16.433Z] 259a493cd78d: Pull complete [Pipeline] ws [2020-09-16T22:42:16.478Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-16T22:42:16.708Z] b8e66b5100f5: Pull complete [2020-09-16T22:42:16.708Z] 39dc9c94d07c: Verifying Checksum [2020-09-16T22:42:16.708Z] 39dc9c94d07c: Download complete [2020-09-16T22:42:19.467Z] using credential edgex-jenkins-ssh [2020-09-16T22:42:19.521Z] Cloning the remote Git repository [2020-09-16T22:42:19.521Z] Cloning with configured refspecs honoured and without tags [2020-09-16T22:42:20.132Z] 39dc9c94d07c: Pull complete [2020-09-16T22:42:20.132Z] 551b823b3b82: Pull complete [2020-09-16T22:42:19.549Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:42:19.622Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-16T22:42:19.681Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:42:19.682Z] > git --version # timeout=10 [2020-09-16T22:42:19.697Z] > git --version # 'git version 2.16.5' [2020-09-16T22:42:19.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:42:19.735Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:42:20.411Z] 3c52a74df98c: Pull complete [2020-09-16T22:42:20.684Z] 6c9b121b6998: Pull complete [2020-09-16T22:42:20.959Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:42:20.960Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:42:21.188Z] Fetching without tags [2020-09-16T22:42:21.162Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:42:21.167Z] > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 [2020-09-16T22:42:21.173Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:42:21.182Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T22:42:21.195Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T22:42:21.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:42:21.200Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T22:42:21.614Z] Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit 869605437161d9df665c2f09ffc5450b5aae4059 [2020-09-16T22:42:21.712Z] Merge succeeded, producing 869605437161d9df665c2f09ffc5450b5aae4059 [2020-09-16T22:42:21.713Z] Checking out Revision 869605437161d9df665c2f09ffc5450b5aae4059 (PR-492) [2020-09-16T22:42:21.624Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:42:21.633Z] > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # timeout=10 [2020-09-16T22:42:21.683Z] > git remote # timeout=10 [2020-09-16T22:42:21.688Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T22:42:21.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T22:42:21.698Z] > git merge 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 [2020-09-16T22:42:21.709Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T22:42:21.717Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T22:42:21.722Z] > git checkout -f 869605437161d9df665c2f09ffc5450b5aae4059 # timeout=10 [2020-09-16T22:42:25.394Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [2020-09-16T22:42:25.419Z] > git --version # timeout=10 [2020-09-16T22:42:25.424Z] > git --version # 'git version 2.16.5' [2020-09-16T22:42:25.430Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:42:27.604Z] ========================================================= [2020-09-16T22:42:27.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T22:42:27.604Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:42:27.741Z] ---> 7a1b9aab962b [2020-09-16T22:42:27.741Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:42:27.741Z] ---> Running in 2c9649bd6fa4 [2020-09-16T22:42:27.741Z] Removing intermediate container 2c9649bd6fa4 [2020-09-16T22:42:27.741Z] ---> 574f29e6dd8f [2020-09-16T22:42:27.741Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:42:27.741Z] ---> Running in 919cefe7e6bc [2020-09-16T22:42:28.445Z] + 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-16T22:42:29.023Z] Sending build context to Docker daemon 37.16MB [2020-09-16T22:42:29.023Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-16T22:42:29.023Z] Step 2/8 : FROM ${BASE} [2020-09-16T22:42:29.023Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T22:42:29.023Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:42:29.023Z] ed8968b2872e: Pulling fs layer [2020-09-16T22:42:29.023Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T22:42:29.023Z] e871e8e8d7a9: Pulling fs layer [2020-09-16T22:42:29.023Z] e73272ec9a57: Pulling fs layer [2020-09-16T22:42:29.023Z] 1e910a182e73: Pulling fs layer [2020-09-16T22:42:29.023Z] 4e634b169226: Pulling fs layer [2020-09-16T22:42:29.023Z] e73272ec9a57: Waiting [2020-09-16T22:42:29.023Z] 1e910a182e73: Waiting [2020-09-16T22:42:29.023Z] 4e634b169226: Waiting [2020-09-16T22:42:29.023Z] e871e8e8d7a9: Waiting [2020-09-16T22:42:29.023Z] a92cc7c5fd73: Verifying Checksum [2020-09-16T22:42:29.023Z] a92cc7c5fd73: Download complete [2020-09-16T22:42:29.023Z] ed8968b2872e: Download complete [2020-09-16T22:42:29.023Z] e73272ec9a57: Verifying Checksum [2020-09-16T22:42:29.023Z] e73272ec9a57: Download complete [2020-09-16T22:42:29.286Z] 1e910a182e73: Verifying Checksum [2020-09-16T22:42:29.286Z] 1e910a182e73: Download complete [2020-09-16T22:42:29.563Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:42:29.563Z] df20fa9351a1: Download complete [2020-09-16T22:42:29.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T22:42:29.828Z] df20fa9351a1: Pull complete [2020-09-16T22:42:30.089Z] ed8968b2872e: Pull complete [2020-09-16T22:42:30.089Z] a92cc7c5fd73: Pull complete [2020-09-16T22:42:31.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T22:42:31.495Z] 4e634b169226: Verifying Checksum [2020-09-16T22:42:31.495Z] 4e634b169226: Download complete [2020-09-16T22:42:32.071Z] e871e8e8d7a9: Verifying Checksum [2020-09-16T22:42:32.071Z] e871e8e8d7a9: Download complete [2020-09-16T22:42:34.573Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:42:34.573Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:42:34.847Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:42:34.847Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:42:35.124Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:42:35.124Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:42:35.124Z] OK: 144 MiB in 44 packages [2020-09-16T22:42:36.323Z] e871e8e8d7a9: Pull complete [2020-09-16T22:42:36.586Z] e73272ec9a57: Pull complete [2020-09-16T22:42:36.608Z] Removing intermediate container 919cefe7e6bc [2020-09-16T22:42:36.608Z] ---> d572e24469c6 [2020-09-16T22:42:36.608Z] Step 6/8 : WORKDIR /build [2020-09-16T22:42:36.608Z] ---> Running in f23344dc7bd5 [2020-09-16T22:42:36.852Z] 1e910a182e73: Pull complete [2020-09-16T22:42:37.204Z] Removing intermediate container f23344dc7bd5 [2020-09-16T22:42:37.204Z] ---> 7e8d5a376daf [2020-09-16T22:42:37.204Z] Step 7/8 : COPY go.mod . [2020-09-16T22:42:37.809Z] ---> 46b9dc1a822c [2020-09-16T22:42:37.809Z] Step 8/8 : RUN go mod download [2020-09-16T22:42:38.094Z] ---> Running in 68b25de22ddd [2020-09-16T22:42:43.475Z] 4e634b169226: Pull complete [2020-09-16T22:42:43.475Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-16T22:42:43.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-16T22:42:43.475Z] ---> f7629b54cfaa [2020-09-16T22:42:43.475Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-16T22:42:43.475Z] latest: Pulling from library/docker [2020-09-16T22:42:43.475Z] df20fa9351a1: Already exists [2020-09-16T22:42:43.475Z] 25ad7478873d: Pulling fs layer [2020-09-16T22:42:43.475Z] 4684f6177b5d: Pulling fs layer [2020-09-16T22:42:43.475Z] 46e300cec669: Pulling fs layer [2020-09-16T22:42:43.475Z] 63038576ad94: Pulling fs layer [2020-09-16T22:42:43.475Z] 0fdb76c4706c: Pulling fs layer [2020-09-16T22:42:43.475Z] cb7edeffdfd5: Pulling fs layer [2020-09-16T22:42:43.475Z] 0fdb76c4706c: Waiting [2020-09-16T22:42:43.475Z] cb7edeffdfd5: Waiting [2020-09-16T22:42:43.475Z] 63038576ad94: Waiting [2020-09-16T22:42:43.475Z] 4684f6177b5d: Download complete [2020-09-16T22:42:43.475Z] 25ad7478873d: Verifying Checksum [2020-09-16T22:42:43.475Z] 25ad7478873d: Download complete [2020-09-16T22:42:43.475Z] 63038576ad94: Verifying Checksum [2020-09-16T22:42:43.475Z] 63038576ad94: Download complete [2020-09-16T22:42:43.475Z] 0fdb76c4706c: Verifying Checksum [2020-09-16T22:42:43.475Z] 0fdb76c4706c: Download complete [2020-09-16T22:42:43.475Z] cb7edeffdfd5: Verifying Checksum [2020-09-16T22:42:43.475Z] cb7edeffdfd5: Download complete [2020-09-16T22:42:43.475Z] 25ad7478873d: Pull complete [2020-09-16T22:42:43.475Z] 4684f6177b5d: Pull complete [2020-09-16T22:42:44.066Z] 46e300cec669: Verifying Checksum [2020-09-16T22:42:44.066Z] 46e300cec669: Download complete [2020-09-16T22:42:46.638Z] 46e300cec669: Pull complete [2020-09-16T22:42:46.901Z] 63038576ad94: Pull complete [2020-09-16T22:42:46.901Z] 0fdb76c4706c: Pull complete [2020-09-16T22:42:47.164Z] cb7edeffdfd5: Pull complete [2020-09-16T22:42:47.165Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-16T22:42:47.165Z] Status: Downloaded newer image for docker:latest [2020-09-16T22:42:48.558Z] ---> 91846f391787 [2020-09-16T22:42:48.558Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T22:42:48.558Z] ---> Running in 38d67ce28cbe [2020-09-16T22:42:48.820Z] Removing intermediate container 38d67ce28cbe [2020-09-16T22:42:48.820Z] ---> 898c5bf7265e [2020-09-16T22:42:48.820Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-16T22:42:48.820Z] ---> Running in 04bfc6676467 [2020-09-16T22:42:49.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T22:42:51.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T22:42:52.578Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-16T22:42:52.578Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-16T22:42:52.578Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-16T22:42:52.842Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-16T22:42:52.842Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-16T22:42:52.842Z] Executing busybox-1.31.1-r16.trigger [2020-09-16T22:42:53.107Z] OK: 167 MiB in 44 packages [2020-09-16T22:42:53.689Z] Removing intermediate container 04bfc6676467 [2020-09-16T22:42:53.689Z] ---> d56bde0ce723 [2020-09-16T22:42:53.689Z] Step 6/8 : WORKDIR /build [2020-09-16T22:42:53.689Z] ---> Running in e11c155ac737 [2020-09-16T22:42:53.689Z] Removing intermediate container e11c155ac737 [2020-09-16T22:42:53.689Z] ---> f24dedbef455 [2020-09-16T22:42:53.689Z] Step 7/8 : COPY go.mod . [2020-09-16T22:42:53.952Z] ---> 6aacd34917cf [2020-09-16T22:42:53.952Z] Step 8/8 : RUN go mod download [2020-09-16T22:42:54.216Z] ---> Running in 8df7e28b2eb2 [2020-09-16T22:43:10.446Z] Removing intermediate container 68b25de22ddd [2020-09-16T22:43:10.446Z] ---> d9977565f854 [2020-09-16T22:43:10.446Z] Successfully built d9977565f854 [2020-09-16T22:43:10.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:43:10.888Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:43:10.888Z] . [Pipeline] withDockerContainer [2020-09-16T22:43:11.195Z] prd-ubuntu18.04-docker-arm64-4c-16g-53 does not seem to be running inside a container [2020-09-16T22:43:11.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-09-16T22:43:13.176Z] $ docker top 2313f6f447c7ab9bf27bdee4aa6282bbbaba18d68a2bc86585c032882e022b43 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:43:14.654Z] + go version [2020-09-16T22:43:14.654Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-16T22:43:14.684Z] $ docker stop --time=1 2313f6f447c7ab9bf27bdee4aa6282bbbaba18d68a2bc86585c032882e022b43 [2020-09-16T22:43:16.636Z] $ docker rm -f 2313f6f447c7ab9bf27bdee4aa6282bbbaba18d68a2bc86585c032882e022b43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:43:18.143Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T22:43:18.143Z] . [Pipeline] withDockerContainer [2020-09-16T22:43:18.489Z] prd-ubuntu18.04-docker-arm64-4c-16g-53 does not seem to be running inside a container [2020-09-16T22:43:18.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-09-16T22:43:20.354Z] $ docker top ab02c21e244fae006d5fbfda708ae6f436aafbe13635be0be9456fe8effe7af8 -eo pid,comm [2020-09-16T22:43:20.879Z] Removing intermediate container 8df7e28b2eb2 [2020-09-16T22:43:20.880Z] ---> 88f605d18ed5 [2020-09-16T22:43:20.880Z] Successfully built 88f605d18ed5 [2020-09-16T22:43:20.880Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:43:21.539Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:43:21.539Z] . [Pipeline] withDockerContainer [2020-09-16T22:43:21.668Z] prd-centos7-docker-4c-2g-57 does not seem to be running inside a container [2020-09-16T22:43:21.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-09-16T22:43:22.142Z] + make test [2020-09-16T22:43:22.142Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:43:22.485Z] $ docker top 6f695f9a31e288b257e30bec53c40e749fb9e9d80fc64c4d18f6d4c5c327278d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:43:23.023Z] + go version [2020-09-16T22:43:23.023Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-16T22:43:23.053Z] $ docker stop --time=1 6f695f9a31e288b257e30bec53c40e749fb9e9d80fc64c4d18f6d4c5c327278d [2020-09-16T22:43:24.117Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:43:24.393Z] $ docker rm -f 6f695f9a31e288b257e30bec53c40e749fb9e9d80fc64c4d18f6d4c5c327278d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:43:25.532Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T22:43:25.532Z] . [Pipeline] withDockerContainer [2020-09-16T22:43:25.644Z] prd-centos7-docker-4c-2g-57 does not seem to be running inside a container [2020-09-16T22:43:25.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-09-16T22:43:26.342Z] $ docker top be532b9e971633ce5d6d038cc3ee6859d4d918972ac66be31f935c7662967343 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:43:26.884Z] + make test [2020-09-16T22:43:26.884Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-16T22:43:28.416Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-16T22:43:36.702Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [2020-09-16T22:43:36.702Z] internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid [2020-09-16T22:43:36.702Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.076s coverage: 86.2% of statements [2020-09-16T22:43:43.363Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [2020-09-16T22:43:43.363Z] internal/v2/dtos/requests/secrets.go:56:10: undefined: v2.NewErrContractInvalid [2020-09-16T22:43:46.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.106s coverage: 86.2% of statements [2020-09-16T22:43:49.072Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-09-16T22:43:49.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:43:49.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-16T22:43:49.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.038s coverage: 53.5% of statements [2020-09-16T22:43:49.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:43:49.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.303s coverage: 69.1% of statements [2020-09-16T22:43:49.072Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] [2020-09-16T22:43:49.072Z] internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.494s coverage: 61.6% of statements [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.100s coverage: 100.0% of statements [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.008s coverage: 100.0% of statements [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:44:04.009Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:44:04.009Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-09-16T22:44:04.009Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.028s coverage: 75.0% of statements [2020-09-16T22:44:04.009Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-09-16T22:44:04.009Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] [2020-09-16T22:44:04.009Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-09-16T22:44:16.269Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.439s coverage: 71.6% of statements [2020-09-16T22:44:16.269Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-16T22:44:16.269Z] FAIL [2020-09-16T22:44:16.269Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-09-16T22:44:16.324Z] $ docker stop --time=1 be532b9e971633ce5d6d038cc3ee6859d4d918972ac66be31f935c7662967343 [2020-09-16T22:44:17.850Z] $ docker rm -f be532b9e971633ce5d6d038cc3ee6859d4d918972ac66be31f935c7662967343 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-09-16T22:44:18.440Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/appsdk [build failed] [2020-09-16T22:44:18.440Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-16T22:44:18.440Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2020-09-16T22:44:19.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.068s coverage: 53.5% of statements [2020-09-16T22:44:19.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-16T22:44:19.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.304s coverage: 69.1% of statements [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T22:44:20.823Z] Failed in branch amd64 [2020-09-16T22:44:24.921Z] # github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests.test] [2020-09-16T22:44:24.921Z] internal/v2/dtos/requests/secrets.go:56: undefined: v2.NewErrContractInvalid [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 17.546s coverage: 61.6% of statements [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.019s coverage: 89.5% of statements [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.010s coverage: 100.0% of statements [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.120s coverage: 100.0% of statements [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.015s coverage: 97.7% of statements [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-16T22:44:35.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-16T22:44:35.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http [build failed] [2020-09-16T22:44:35.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.199s coverage: 75.0% of statements [2020-09-16T22:44:35.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http [build failed] [2020-09-16T22:44:35.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests [build failed] [2020-09-16T22:44:35.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver [build failed] [2020-09-16T22:44:57.257Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 27.727s coverage: 71.6% of statements [2020-09-16T22:44:57.257Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.017s coverage: 94.4% of statements [2020-09-16T22:44:57.257Z] FAIL [2020-09-16T22:44:57.257Z] make: *** [Makefile:6: test] Error 2 [Pipeline] } [2020-09-16T22:44:57.296Z] $ docker stop --time=1 ab02c21e244fae006d5fbfda708ae6f436aafbe13635be0be9456fe8effe7af8 [2020-09-16T22:44:59.319Z] $ docker rm -f ab02c21e244fae006d5fbfda708ae6f436aafbe13635be0be9456fe8effe7af8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T22:45:02.900Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:45:06.975Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:45:07.595Z] ---> package-listing.sh [2020-09-16T22:45:07.595Z] ++ facter osfamily [2020-09-16T22:45:07.595Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T22:45:07.595Z] + OS_FAMILY=redhat [2020-09-16T22:45:07.595Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-492 [2020-09-16T22:45:07.595Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T22:45:07.595Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T22:45:07.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T22:45:07.595Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T22:45:07.595Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-492 ']' [2020-09-16T22:45:07.595Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T22:45:07.595Z] + case "${OS_FAMILY}" in [2020-09-16T22:45:07.595Z] + rpm -qa [2020-09-16T22:45:07.595Z] + sort [2020-09-16T22:45:11.824Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T22:45:11.824Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T22:45:11.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T22:45:11.824Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-492 ']' [2020-09-16T22:45:11.824Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-492/archives/ [2020-09-16T22:45:11.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-492/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:45:12.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:45:12.342Z] [2020-09-16T22:45:12.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:45:12.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:45:12.773Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T22:45:12.773Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:45:12.773Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T22:45:12.773Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T22:45:12.773Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T22:45:12.773Z] 0dadc02b9964: Pulling fs layer [2020-09-16T22:45:12.773Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T22:45:12.773Z] 7a184a31f384: Pulling fs layer [2020-09-16T22:45:12.773Z] 0879bd2ef858: Pulling fs layer [2020-09-16T22:45:12.773Z] 46f8f816bc3b: Waiting [2020-09-16T22:45:12.773Z] 0dadc02b9964: Waiting [2020-09-16T22:45:12.773Z] ce6a7cf60c04: Waiting [2020-09-16T22:45:12.773Z] 7a184a31f384: Waiting [2020-09-16T22:45:12.773Z] 0879bd2ef858: Waiting [2020-09-16T22:45:12.773Z] 36b3adc4ff6f: Verifying Checksum [2020-09-16T22:45:12.773Z] 36b3adc4ff6f: Download complete [2020-09-16T22:45:12.773Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T22:45:12.773Z] 46f8f816bc3b: Download complete [2020-09-16T22:45:12.773Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:45:12.773Z] df20fa9351a1: Download complete [2020-09-16T22:45:13.047Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T22:45:13.047Z] ce6a7cf60c04: Download complete [2020-09-16T22:45:13.047Z] 0dadc02b9964: Verifying Checksum [2020-09-16T22:45:13.047Z] 0dadc02b9964: Download complete [2020-09-16T22:45:13.047Z] 7a184a31f384: Verifying Checksum [2020-09-16T22:45:13.047Z] 7a184a31f384: Download complete [2020-09-16T22:45:13.316Z] df20fa9351a1: Pull complete [2020-09-16T22:45:13.316Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T22:45:13.316Z] 8ad3a11d3b57: Download complete [2020-09-16T22:45:13.584Z] 36b3adc4ff6f: Pull complete [2020-09-16T22:45:13.584Z] 0879bd2ef858: Verifying Checksum [2020-09-16T22:45:13.584Z] 0879bd2ef858: Download complete [2020-09-16T22:45:14.170Z] 8ad3a11d3b57: Pull complete [2020-09-16T22:45:14.170Z] 46f8f816bc3b: Pull complete [2020-09-16T22:45:14.434Z] 0dadc02b9964: Pull complete [2020-09-16T22:45:14.701Z] ce6a7cf60c04: Pull complete [2020-09-16T22:45:14.701Z] 7a184a31f384: Pull complete [2020-09-16T22:45:17.273Z] 0879bd2ef858: Pull complete [2020-09-16T22:45:17.273Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T22:45:17.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:45:17.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T22:45:17.444Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2020-09-16T22:45:17.489Z] $ 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-492 -v /w/workspace/ndry_app-functions-sdk-go_PR-492:/w/workspace/ndry_app-functions-sdk-go_PR-492:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-492@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-492@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-16T22:45:23.877Z] $ docker top 96fa1f1cc6020372a827b7b452b1b697bb0e52e5da94a8fbced1727a6e5c15ed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:45:24.515Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T22:45:24.830Z] + ls /var/log/sa-host [2020-09-16T22:45:24.831Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T22:45:24.831Z] file_magic: OK [2020-09-16T22:45:24.831Z] HZ: Using current value: 100 [2020-09-16T22:45:24.831Z] file_header: OK [2020-09-16T22:45:24.831Z] 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-16T22:45:24.831Z] Statistics: [2020-09-16T22:45:24.831Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:45:24.831Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T22:45:24.831Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T22:45:24.831Z] file_magic: OK [2020-09-16T22:45:24.831Z] HZ: Using current value: 100 [2020-09-16T22:45:24.831Z] file_header: OK [2020-09-16T22:45:24.831Z] 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-16T22:45:24.831Z] Statistics: [2020-09-16T22:45:24.831Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:45:24.831Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T22:45:24.955Z] provisioning config files... [2020-09-16T22:45:25.218Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-492@tmp/config4915623637752355214tmp [Pipeline] { [Pipeline] echo [2020-09-16T22:45:25.310Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:45:25.639Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T22:45:25.669Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:45:25.996Z] ---> logs-deploy.sh [2020-09-16T22:45:25.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-492/1 [2020-09-16T22:45:25.996Z] INFO: archiving workspace using pattern(s): [2020-09-16T22:45:27.391Z] Archives upload complete. [2020-09-16T22:45:27.391Z] INFO: archiving logs to Nexus