Pull request #889 opened 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 4bf66b1c406e761732d67b12e8fcb13d5e695f5e+69a9f9593ab72f164779a8be55f54c142c37027d (33fe8f65d54c0c188c8b2b4f9086fea195a24aca) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5856417670471959324.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2485987359853430836.key > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git 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-889/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-889/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh722500241232862100.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-889/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3637762028869850940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8137454294027653853.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-889/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-889/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6742504614222074381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-1138 in /w/workspace/ndry_app-functions-sdk-go_PR-889 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-889 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/jenkins-gitclient-ssh2038167501635908201.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 69a9f9593ab72f164779a8be55f54c142c37027d into PR head commit 4bf66b1c406e761732d67b12e8fcb13d5e695f5e > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/jenkins-gitclient-ssh8134613195918336672.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/889/head:refs/remotes/origin/PR-889 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 4bf66b1c406e761732d67b12e8fcb13d5e695f5e Checking out Revision 4bf66b1c406e761732d67b12e8fcb13d5e695f5e (PR-889) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/jenkins-gitclient-ssh1949798061376590306.key > git merge 69a9f9593ab72f164779a8be55f54c142c37027d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 Commit message: "refactor: Remove support for V1 Events" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T00:41:08.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T00:41:09.194Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T00:41:09.340Z] ========================================================= [2021-06-09T00:41:09.340Z] EdgeX Global Pipelines Version Info [2021-06-09T00:41:09.340Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:41:12.934Z] ------------------- [2021-06-09T00:41:12.934Z] stable info: [2021-06-09T00:41:12.934Z] ------------------- [2021-06-09T00:41:12.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T00:41:12.934Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:41:12.934Z] Message: update stable to v1.0.194 [2021-06-09T00:41:13.506Z] ------------------- [2021-06-09T00:41:13.506Z] experimental info: [2021-06-09T00:41:13.506Z] ------------------- [2021-06-09T00:41:13.506Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T00:41:13.506Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:41:13.506Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T00:41:13.764Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-09T00:41:13.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-09T00:41:13.888Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T00:41:13.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T00:41:14.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T00:41:14.060Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T00:41:14.114Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T00:41:14.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T00:41:14.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-09T00:41:14.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T00:41:14.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T00:41:16.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-09T00:41:16.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T00:41:16.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T00:41:16.808Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:41:16.880Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:41:16.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:41:17.050Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:41:17.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T00:41:17.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T00:41:17.255Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T00:41:17.317Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-09T00:41:17.380Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T00:41:17.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T00:41:17.562Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-09T00:41:17.627Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T00:41:19.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-889 [Pipeline] echo [2021-06-09T00:41:19.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-889 [Pipeline] echo [2021-06-09T00:41:20.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-889 [Pipeline] echo [2021-06-09T00:41:20.071Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [Pipeline] echo [2021-06-09T00:41:20.129Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4bf66b1 [Pipeline] echo [2021-06-09T00:41:20.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:41:20.928Z] + git log --format=format:%s -1 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [Pipeline] echo [2021-06-09T00:41:23.128Z] GIT_COMMIT: 4bf66b1c406e761732d67b12e8fcb13d5e695f5e, Commit Message: refactor: Remove support for V1 Events [Pipeline] echo [2021-06-09T00:41:23.171Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:41:28.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:41:28.550Z] [2021-06-09T00:41:28.550Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:41:28.914Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:41:28.915Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T00:41:28.915Z] 31603596830f: Pulling fs layer [2021-06-09T00:41:28.915Z] 54011a49482f: Pulling fs layer [2021-06-09T00:41:28.915Z] a6820b24f6d8: Pulling fs layer [2021-06-09T00:41:28.915Z] f581987b2513: Pulling fs layer [2021-06-09T00:41:28.915Z] f581987b2513: Waiting [2021-06-09T00:41:28.915Z] 54011a49482f: Verifying Checksum [2021-06-09T00:41:28.915Z] 54011a49482f: Download complete [2021-06-09T00:41:29.191Z] 31603596830f: Verifying Checksum [2021-06-09T00:41:29.191Z] 31603596830f: Download complete [2021-06-09T00:41:29.191Z] f581987b2513: Verifying Checksum [2021-06-09T00:41:29.191Z] f581987b2513: Download complete [2021-06-09T00:41:29.191Z] a6820b24f6d8: Verifying Checksum [2021-06-09T00:41:29.191Z] a6820b24f6d8: Download complete [2021-06-09T00:41:31.555Z] 31603596830f: Pull complete [2021-06-09T00:41:31.555Z] 54011a49482f: Pull complete [2021-06-09T00:41:31.555Z] a6820b24f6d8: Pull complete [2021-06-09T00:41:31.555Z] f581987b2513: Pull complete [2021-06-09T00:41:31.555Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T00:41:31.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:41:31.555Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T00:41:31.665Z] prd-centos7-docker-4c-2g-1138 does not seem to be running inside a container [2021-06-09T00:41:31.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-889 -v /w/workspace/ndry_app-functions-sdk-go_PR-889:/w/workspace/ndry_app-functions-sdk-go_PR-889:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T00:41:32.626Z] $ docker top 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T00:41:32.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:41:32.826Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:41:35.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:41:35.076Z] $ docker exec 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 ssh-agent [2021-06-09T00:41:35.187Z] SSH_AUTH_SOCK=/tmp/ssh-hRBLnujO34jc/agent.14 [2021-06-09T00:41:35.187Z] SSH_AGENT_PID=20 [2021-06-09T00:41:35.194Z] Running ssh-add (command line suppressed) [2021-06-09T00:41:35.286Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/private_key_8331183830872433286.key (/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/private_key_8331183830872433286.key) [2021-06-09T00:41:35.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:41:35.734Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T00:41:35.754Z] $ docker exec --env ******** --env ******** 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 ssh-agent -k [2021-06-09T00:41:35.844Z] unset SSH_AUTH_SOCK; [2021-06-09T00:41:35.844Z] unset SSH_AGENT_PID; [2021-06-09T00:41:35.844Z] echo Agent pid 20 killed; [2021-06-09T00:41:35.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T00:41:35.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:41:35.969Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:41:36.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:41:36.077Z] $ docker exec 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 ssh-agent [2021-06-09T00:41:36.184Z] SSH_AUTH_SOCK=/tmp/ssh-0NfwBhWo3LTf/agent.54 [2021-06-09T00:41:36.184Z] SSH_AGENT_PID=61 [2021-06-09T00:41:36.190Z] Running ssh-add (command line suppressed) [2021-06-09T00:41:36.276Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/private_key_572926751107273471.key (/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/private_key_572926751107273471.key) [2021-06-09T00:41:36.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:41:36.630Z] + git semver init [2021-06-09T00:41:36.630Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T00:41:36.630Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-889/.git [2021-06-09T00:41:36.630Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-889 [2021-06-09T00:41:36.630Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T00:41:36.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T00:41:36.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T00:41:36.630Z] # $SEMVER_BRANCH = PR-889 [2021-06-09T00:41:36.630Z] # $SEMVER_TEMP = /tmp/semver-458943216 [2021-06-09T00:41:36.630Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-09T00:41:38.835Z] # '/tmp/semver-458943216' -> '/w/workspace/ndry_app-functions-sdk-go_PR-889/.semver' [2021-06-09T00:41:38.835Z] # -> Force: false [2021-06-09T00:41:38.835Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-889/.semver [Pipeline] } [2021-06-09T00:41:38.867Z] $ docker exec --env ******** --env ******** 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 ssh-agent -k [2021-06-09T00:41:38.967Z] unset SSH_AUTH_SOCK; [2021-06-09T00:41:38.967Z] unset SSH_AGENT_PID; [2021-06-09T00:41:38.967Z] echo Agent pid 61 killed; [2021-06-09T00:41:38.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T00:41:39.413Z] + git semver [Pipeline] } [2021-06-09T00:41:39.455Z] $ docker stop --time=1 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 [2021-06-09T00:41:42.229Z] $ docker rm -f 5db73d1a3f1daf08c8d59614418e49345fdbbfbc79465510df5f71776272e9d1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:41:42.666Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T00:41:43.000Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T00:41:43.024Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-09T00:42:02.531Z] Still waiting to schedule task [2021-06-09T00:42:02.531Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T00:42:02.531Z] Still waiting to schedule task [2021-06-09T00:42:02.532Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-09T00:46:25.847Z] Running on prd-centos7-docker-4c-2g-1144 in /w/workspace/ndry_app-functions-sdk-go_PR-889 [Pipeline] { [Pipeline] ws [2021-06-09T00:46:25.905Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:46:26.060Z] The recommended git tool is: git [2021-06-09T00:46:32.821Z] using credential edgex-jenkins-ssh [2021-06-09T00:46:32.834Z] Cloning the remote Git repository [2021-06-09T00:46:32.852Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:46:32.917Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-09T00:46:32.956Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:46:32.956Z] > git --version # timeout=10 [2021-06-09T00:46:32.961Z] > git --version # 'git version 2.24.4' [2021-06-09T00:46:32.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:46:32.992Z] [INFO] Currently running in a labeled security context [2021-06-09T00:46:32.992Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:46:32.992Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8137840102869660759.key [2021-06-09T00:46:33.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:46:36.790Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-09T00:46:36.799Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:46:36.811Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-09T00:46:36.825Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:46:36.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:46:36.827Z] [INFO] Currently running in a labeled security context [2021-06-09T00:46:36.827Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:46:36.827Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8198351105061131253.key [2021-06-09T00:46:36.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/889/head:refs/remotes/origin/PR-889 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:46:37.387Z] Merging remotes/origin/master commit 69a9f9593ab72f164779a8be55f54c142c37027d into PR head commit 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [2021-06-09T00:46:37.486Z] Merge succeeded, producing 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [2021-06-09T00:46:37.487Z] Checking out Revision 4bf66b1c406e761732d67b12e8fcb13d5e695f5e (PR-889) [2021-06-09T00:46:37.392Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:46:37.400Z] > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 [2021-06-09T00:46:37.438Z] > git remote # timeout=10 [2021-06-09T00:46:37.444Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:46:37.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:46:37.454Z] [INFO] Currently running in a labeled security context [2021-06-09T00:46:37.454Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:46:37.454Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh5776076581591845173.key [2021-06-09T00:46:37.460Z] > git merge 69a9f9593ab72f164779a8be55f54c142c37027d # timeout=10 [2021-06-09T00:46:37.469Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:46:37.486Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:46:37.493Z] > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 [2021-06-09T00:46:44.279Z] Commit message: "refactor: Remove support for V1 Events" [2021-06-09T00:46:44.300Z] > git --version # timeout=10 [2021-06-09T00:46:44.307Z] > git --version # 'git version 2.24.4' [2021-06-09T00:46:44.311Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:46:47.959Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:46:50.523Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:46:50.847Z] + sudo service docker restart [2021-06-09T00:46:50.848Z] + true [2021-06-09T00:46:50.848Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-09T00:47:07.811Z] ========================================================= [2021-06-09T00:47:07.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T00:47:07.811Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:47:08.177Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-09T00:47:10.340Z] Sending build context to Docker daemon 19.74MB [2021-06-09T00:47:10.340Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:47:10.340Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:47:10.340Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T00:47:10.340Z] 540db60ca938: Pulling fs layer [2021-06-09T00:47:10.340Z] adcc1eea9eea: Pulling fs layer [2021-06-09T00:47:10.340Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T00:47:10.340Z] 0510c868ecb4: Pulling fs layer [2021-06-09T00:47:10.340Z] afea3b2eda06: Pulling fs layer [2021-06-09T00:47:10.340Z] 7809a108b3ef: Pulling fs layer [2021-06-09T00:47:10.340Z] f706445af74f: Pulling fs layer [2021-06-09T00:47:10.340Z] afea3b2eda06: Waiting [2021-06-09T00:47:10.340Z] 7809a108b3ef: Waiting [2021-06-09T00:47:10.340Z] f706445af74f: Waiting [2021-06-09T00:47:10.340Z] 0510c868ecb4: Waiting [2021-06-09T00:47:10.340Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T00:47:10.340Z] 4c4ab2625f07: Download complete [2021-06-09T00:47:10.340Z] adcc1eea9eea: Verifying Checksum [2021-06-09T00:47:10.340Z] adcc1eea9eea: Download complete [2021-06-09T00:47:10.340Z] afea3b2eda06: Verifying Checksum [2021-06-09T00:47:10.340Z] afea3b2eda06: Download complete [2021-06-09T00:47:10.340Z] 7809a108b3ef: Verifying Checksum [2021-06-09T00:47:10.340Z] 7809a108b3ef: Download complete [2021-06-09T00:47:10.340Z] 540db60ca938: Verifying Checksum [2021-06-09T00:47:10.340Z] 540db60ca938: Download complete [2021-06-09T00:47:10.340Z] 540db60ca938: Pull complete [2021-06-09T00:47:10.340Z] adcc1eea9eea: Pull complete [2021-06-09T00:47:10.340Z] 4c4ab2625f07: Pull complete [2021-06-09T00:47:10.340Z] f706445af74f: Verifying Checksum [2021-06-09T00:47:10.340Z] f706445af74f: Download complete [2021-06-09T00:47:10.340Z] 0510c868ecb4: Verifying Checksum [2021-06-09T00:47:10.340Z] 0510c868ecb4: Download complete [2021-06-09T00:47:13.831Z] 0510c868ecb4: Pull complete [2021-06-09T00:47:16.113Z] afea3b2eda06: Pull complete [2021-06-09T00:47:16.113Z] 7809a108b3ef: Pull complete [2021-06-09T00:47:16.113Z] f706445af74f: Pull complete [2021-06-09T00:47:16.113Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T00:47:16.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T00:47:16.113Z] ---> b068be0155e3 [2021-06-09T00:47:16.113Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-09T00:47:16.113Z] 20.10.0: Pulling from library/docker [2021-06-09T00:47:16.113Z] 05e7bc50f07f: Pulling fs layer [2021-06-09T00:47:16.113Z] 6db28d0fdbf6: Pulling fs layer [2021-06-09T00:47:16.113Z] 292df0bc6bf3: Pulling fs layer [2021-06-09T00:47:16.113Z] 2e060f4bd70b: Pulling fs layer [2021-06-09T00:47:16.113Z] 80e8d568a223: Pulling fs layer [2021-06-09T00:47:16.113Z] 8dc6ef1a942a: Pulling fs layer [2021-06-09T00:47:16.113Z] 2312dd95470a: Pulling fs layer [2021-06-09T00:47:16.113Z] 2e060f4bd70b: Waiting [2021-06-09T00:47:16.113Z] 80e8d568a223: Waiting [2021-06-09T00:47:16.113Z] 8dc6ef1a942a: Waiting [2021-06-09T00:47:16.113Z] 2312dd95470a: Waiting [2021-06-09T00:47:16.113Z] 292df0bc6bf3: Verifying Checksum [2021-06-09T00:47:16.113Z] 292df0bc6bf3: Download complete [2021-06-09T00:47:16.113Z] 6db28d0fdbf6: Verifying Checksum [2021-06-09T00:47:16.113Z] 6db28d0fdbf6: Download complete [2021-06-09T00:47:16.113Z] 05e7bc50f07f: Verifying Checksum [2021-06-09T00:47:16.113Z] 05e7bc50f07f: Download complete [2021-06-09T00:47:16.113Z] 80e8d568a223: Verifying Checksum [2021-06-09T00:47:16.113Z] 80e8d568a223: Download complete [2021-06-09T00:47:16.113Z] 8dc6ef1a942a: Verifying Checksum [2021-06-09T00:47:16.113Z] 8dc6ef1a942a: Download complete [2021-06-09T00:47:16.113Z] 2312dd95470a: Verifying Checksum [2021-06-09T00:47:16.113Z] 2312dd95470a: Download complete [2021-06-09T00:47:16.113Z] 05e7bc50f07f: Pull complete [2021-06-09T00:47:16.385Z] 6db28d0fdbf6: Pull complete [2021-06-09T00:47:16.385Z] 292df0bc6bf3: Pull complete [2021-06-09T00:47:16.967Z] 2e060f4bd70b: Verifying Checksum [2021-06-09T00:47:16.967Z] 2e060f4bd70b: Download complete [2021-06-09T00:47:19.347Z] 2e060f4bd70b: Pull complete [2021-06-09T00:47:19.347Z] 80e8d568a223: Pull complete [2021-06-09T00:47:19.347Z] 8dc6ef1a942a: Pull complete [2021-06-09T00:47:19.347Z] 2312dd95470a: Pull complete [2021-06-09T00:47:19.347Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-09T00:47:19.347Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-09T00:47:23.220Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1143 in /w/workspace/ndry_app-functions-sdk-go_PR-889 [Pipeline] { [2021-06-09T00:47:23.259Z] ---> 11e259b49a29 [2021-06-09T00:47:23.259Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T00:47:23.259Z] ---> Running in 4460f6a8c56f [Pipeline] ws [2021-06-09T00:47:23.291Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:47:23.520Z] Removing intermediate container 4460f6a8c56f [2021-06-09T00:47:23.520Z] ---> 64e0d93ddc63 [2021-06-09T00:47:23.520Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-09T00:47:23.541Z] The recommended git tool is: git [2021-06-09T00:47:23.809Z] ---> Running in b469cbb32d60 [2021-06-09T00:47:26.360Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:47:26.360Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:47:26.360Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-09T00:47:26.360Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-09T00:47:26.360Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-09T00:47:26.360Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:47:26.360Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:47:26.360Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:47:26.360Z] OK: 150 MiB in 45 packages [2021-06-09T00:47:26.360Z] Removing intermediate container b469cbb32d60 [2021-06-09T00:47:26.360Z] ---> 9b5ba994c55c [2021-06-09T00:47:26.360Z] Step 6/8 : WORKDIR /build [2021-06-09T00:47:26.635Z] ---> Running in 3810264eba8b [2021-06-09T00:47:28.947Z] Removing intermediate container 3810264eba8b [2021-06-09T00:47:28.947Z] ---> 21e5ae155998 [2021-06-09T00:47:28.947Z] Step 7/8 : COPY go.mod . [2021-06-09T00:47:28.947Z] ---> b8c0bdda5713 [2021-06-09T00:47:28.947Z] Step 8/8 : RUN go mod download [2021-06-09T00:47:28.947Z] ---> Running in 5cc1c3896db6 [2021-06-09T00:47:42.332Z] Removing intermediate container 5cc1c3896db6 [2021-06-09T00:47:42.332Z] ---> 856106b1c62c [2021-06-09T00:47:42.332Z] Successfully built 856106b1c62c [2021-06-09T00:47:42.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:47:42.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:47:42.688Z] . [Pipeline] withDockerContainer [2021-06-09T00:47:42.828Z] prd-centos7-docker-4c-2g-1144 does not seem to be running inside a container [2021-06-09T00:47:42.878Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:47:45.172Z] $ docker top 3b7aeb0cca6bd4c047c37f9550d3673e699ee9b0224ce113bca97bc9307f4a89 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:47:45.638Z] + go version [2021-06-09T00:47:45.639Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T00:47:45.667Z] $ docker stop --time=1 3b7aeb0cca6bd4c047c37f9550d3673e699ee9b0224ce113bca97bc9307f4a89 [2021-06-09T00:47:45.844Z] using credential edgex-jenkins-ssh [2021-06-09T00:47:45.869Z] Cloning the remote Git repository [2021-06-09T00:47:45.928Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:47:46.049Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-06-09T00:47:46.124Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:47:46.125Z] > git --version # timeout=10 [2021-06-09T00:47:46.140Z] > git --version # 'git version 2.17.1' [2021-06-09T00:47:46.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:47:46.205Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:47:46.907Z] $ docker rm -f 3b7aeb0cca6bd4c047c37f9550d3673e699ee9b0224ce113bca97bc9307f4a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:47:49.991Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:47:49.992Z] . [Pipeline] withDockerContainer [2021-06-09T00:47:50.089Z] prd-centos7-docker-4c-2g-1144 does not seem to be running inside a container [2021-06-09T00:47:50.137Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:47:50.144Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-09T00:47:50.162Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:47:50.185Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-09T00:47:50.220Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-09T00:47:50.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:47:50.232Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/889/head:refs/remotes/origin/PR-889 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:47:50.540Z] $ docker top e3b43c3265e51334fae638b85e6fc443ab9297fcaee956e8270b0aceb0b142ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:47:50.944Z] Merging remotes/origin/master commit 69a9f9593ab72f164779a8be55f54c142c37027d into PR head commit 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [2021-06-09T00:47:51.009Z] + go mod tidy [2021-06-09T00:47:51.157Z] Merge succeeded, producing 4bf66b1c406e761732d67b12e8fcb13d5e695f5e [2021-06-09T00:47:51.158Z] Checking out Revision 4bf66b1c406e761732d67b12e8fcb13d5e695f5e (PR-889) [Pipeline] sh [2021-06-09T00:47:50.957Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:47:50.973Z] > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 [2021-06-09T00:47:51.077Z] > git remote # timeout=10 [2021-06-09T00:47:51.094Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:47:51.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:47:51.117Z] > git merge 69a9f9593ab72f164779a8be55f54c142c37027d # timeout=10 [2021-06-09T00:47:51.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:47:51.161Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:47:51.179Z] > git checkout -f 4bf66b1c406e761732d67b12e8fcb13d5e695f5e # timeout=10 [2021-06-09T00:47:53.545Z] + make test [2021-06-09T00:47:53.545Z] make -C ./app-service-template build [2021-06-09T00:47:53.545Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:47:53.545Z] go mod tidy [2021-06-09T00:47:53.545Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-09T00:47:57.512Z] Commit message: "refactor: Remove support for V1 Events" [2021-06-09T00:47:57.561Z] > git --version # timeout=10 [2021-06-09T00:47:57.571Z] > git --version # 'git version 2.17.1' [2021-06-09T00:47:57.588Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:48:01.417Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:48:03.886Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:48:03.886Z] make -C ./app-service-template test [2021-06-09T00:48:03.886Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:48:03.886Z] go mod tidy [2021-06-09T00:48:03.886Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-09T00:48:04.206Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:48:04.569Z] + true [2021-06-09T00:48:04.569Z] + sudo service docker restart [2021-06-09T00:48:13.567Z] ok new-app-service 0.015s coverage: 47.8% of statements [2021-06-09T00:48:13.568Z] ? new-app-service/config [no test files] [2021-06-09T00:48:13.568Z] ok new-app-service/functions 0.010s [2021-06-09T00:48:13.568Z] CGO_ENABLED=1 go vet ./... [2021-06-09T00:48:21.804Z] gofmt -l . [2021-06-09T00:48:21.804Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:48:21.804Z] ./bin/test-attribution-txt.sh [2021-06-09T00:48:21.804Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:48:21.804Z] go mod tidy [2021-06-09T00:48:21.804Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-09T00:48:22.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-09T00:48:23.841Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 62.8% of statements [2021-06-09T00:48:23.841Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.024s coverage: 96.5% of statements [2021-06-09T00:48:23.841Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [Pipeline] unstash [2021-06-09T00:48:24.437Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 64.9% of statements [2021-06-09T00:48:24.437Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-09T00:48:24.706Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [Pipeline] echo [2021-06-09T00:48:24.828Z] ========================================================= [2021-06-09T00:48:24.828Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T00:48:24.828Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:48:27.409Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-09T00:48:27.409Z] Sending build context to Docker daemon 19.74MB [2021-06-09T00:48:27.409Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:48:27.409Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:48:27.409Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T00:48:27.409Z] 595b0fe564bb: Pulling fs layer [2021-06-09T00:48:27.409Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T00:48:27.409Z] 316046926c0a: Pulling fs layer [2021-06-09T00:48:27.409Z] 4ebd0625c992: Pulling fs layer [2021-06-09T00:48:27.409Z] 207e8628e3a3: Pulling fs layer [2021-06-09T00:48:27.409Z] c791037a9be2: Pulling fs layer [2021-06-09T00:48:27.409Z] ffd874e62e21: Pulling fs layer [2021-06-09T00:48:27.409Z] 207e8628e3a3: Waiting [2021-06-09T00:48:27.409Z] c791037a9be2: Waiting [2021-06-09T00:48:27.409Z] ffd874e62e21: Waiting [2021-06-09T00:48:27.409Z] 4ebd0625c992: Waiting [2021-06-09T00:48:27.409Z] 316046926c0a: Verifying Checksum [2021-06-09T00:48:27.409Z] 316046926c0a: Download complete [2021-06-09T00:48:27.409Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T00:48:27.409Z] 207e8628e3a3: Verifying Checksum [2021-06-09T00:48:27.409Z] 207e8628e3a3: Download complete [2021-06-09T00:48:27.409Z] c791037a9be2: Verifying Checksum [2021-06-09T00:48:27.409Z] 595b0fe564bb: Verifying Checksum [2021-06-09T00:48:27.409Z] 595b0fe564bb: Download complete [2021-06-09T00:48:27.412Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.017s coverage: 74.5% of statements [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-09T00:48:27.412Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.1% of statements [2021-06-09T00:48:27.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T00:48:27.412Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements [2021-06-09T00:48:27.697Z] 595b0fe564bb: Pull complete [2021-06-09T00:48:28.304Z] 7186ed65a4f7: Pull complete [2021-06-09T00:48:28.816Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.748s coverage: 76.9% of statements [2021-06-09T00:48:28.816Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-09T00:48:28.816Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-06-09T00:48:28.816Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-06-09T00:48:28.816Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-09T00:48:28.816Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-09T00:48:28.816Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 51.4% of statements [2021-06-09T00:48:28.940Z] 316046926c0a: Pull complete [2021-06-09T00:48:28.940Z] ffd874e62e21: Verifying Checksum [2021-06-09T00:48:28.940Z] ffd874e62e21: Download complete [2021-06-09T00:48:30.371Z] 4ebd0625c992: Verifying Checksum [2021-06-09T00:48:30.371Z] 4ebd0625c992: Download complete [2021-06-09T00:48:43.240Z] 4ebd0625c992: Pull complete [2021-06-09T00:48:43.240Z] 207e8628e3a3: Pull complete [2021-06-09T00:48:43.240Z] c791037a9be2: Pull complete [2021-06-09T00:48:45.226Z] ffd874e62e21: Pull complete [2021-06-09T00:48:45.226Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T00:48:45.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T00:48:45.226Z] ---> cfc18b08335c [2021-06-09T00:48:45.226Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-09T00:48:45.226Z] 20.10.0: Pulling from library/docker [2021-06-09T00:48:45.506Z] a3cc7d3b244e: Pulling fs layer [2021-06-09T00:48:45.506Z] 02a3295e0d61: Pulling fs layer [2021-06-09T00:48:45.506Z] 0f4f2e6d8100: Pulling fs layer [2021-06-09T00:48:45.506Z] 330b718f631f: Pulling fs layer [2021-06-09T00:48:45.506Z] a93816041522: Pulling fs layer [2021-06-09T00:48:45.506Z] bdb6da89ff94: Pulling fs layer [2021-06-09T00:48:45.506Z] 2a70c0c122f4: Pulling fs layer [2021-06-09T00:48:45.506Z] 330b718f631f: Waiting [2021-06-09T00:48:45.506Z] a93816041522: Waiting [2021-06-09T00:48:45.506Z] bdb6da89ff94: Waiting [2021-06-09T00:48:45.506Z] 2a70c0c122f4: Waiting [2021-06-09T00:48:45.506Z] 0f4f2e6d8100: Verifying Checksum [2021-06-09T00:48:45.506Z] 0f4f2e6d8100: Download complete [2021-06-09T00:48:45.506Z] 02a3295e0d61: Download complete [2021-06-09T00:48:45.506Z] a93816041522: Verifying Checksum [2021-06-09T00:48:45.506Z] a93816041522: Download complete [2021-06-09T00:48:45.506Z] a3cc7d3b244e: Verifying Checksum [2021-06-09T00:48:45.506Z] 2a70c0c122f4: Verifying Checksum [2021-06-09T00:48:45.506Z] 2a70c0c122f4: Download complete [2021-06-09T00:48:45.506Z] bdb6da89ff94: Verifying Checksum [2021-06-09T00:48:45.506Z] bdb6da89ff94: Download complete [2021-06-09T00:48:46.108Z] a3cc7d3b244e: Pull complete [2021-06-09T00:48:47.094Z] 02a3295e0d61: Pull complete [2021-06-09T00:48:47.371Z] 0f4f2e6d8100: Pull complete [2021-06-09T00:48:47.371Z] 330b718f631f: Verifying Checksum [2021-06-09T00:48:47.371Z] 330b718f631f: Download complete [2021-06-09T00:48:51.698Z] 330b718f631f: Pull complete [2021-06-09T00:48:51.698Z] a93816041522: Pull complete [2021-06-09T00:48:51.973Z] bdb6da89ff94: Pull complete [2021-06-09T00:48:52.246Z] 2a70c0c122f4: Pull complete [2021-06-09T00:48:54.474Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-09T00:48:54.474Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-09T00:48:55.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.055s coverage: 78.0% of statements [2021-06-09T00:48:55.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-06-09T00:48:55.201Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:48:55.201Z] gofmt -l . [2021-06-09T00:48:55.201Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-09T00:48:55.229Z] $ docker stop --time=1 e3b43c3265e51334fae638b85e6fc443ab9297fcaee956e8270b0aceb0b142ce [2021-06-09T00:48:56.546Z] $ docker rm -f e3b43c3265e51334fae638b85e6fc443ab9297fcaee956e8270b0aceb0b142ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:48:57.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:48:57.338Z] Stashed 2 file(s) [Pipeline] } [2021-06-09T00:48:59.538Z] ---> 768a99fd2f7e [2021-06-09T00:48:59.538Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T00:48:59.538Z] ---> Running in ee1061f4da9e [2021-06-09T00:48:59.538Z] Removing intermediate container ee1061f4da9e [2021-06-09T00:48:59.538Z] ---> 26d4f643dc6a [2021-06-09T00:48:59.538Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-09T00:48:59.538Z] ---> Running in a9d1f876f153 [2021-06-09T00:48:59.538Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [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 Post stage [2021-06-09T00:49:00.515Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:49:00.868Z] ---> job-cost.sh [2021-06-09T00:49:00.868Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dWVr [2021-06-09T00:49:01.492Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-09T00:49:01.492Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-09T00:49:01.492Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-09T00:49:01.492Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:49:01.764Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:49:01.764Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:49:01.764Z] OK: 139 MiB in 45 packages [2021-06-09T00:49:03.203Z] Removing intermediate container a9d1f876f153 [2021-06-09T00:49:03.203Z] ---> f73d48d34daf [2021-06-09T00:49:03.203Z] Step 6/8 : WORKDIR /build [2021-06-09T00:49:03.203Z] ---> Running in b08df821bdac [2021-06-09T00:49:03.798Z] Removing intermediate container b08df821bdac [2021-06-09T00:49:03.798Z] ---> d0f73fe3e047 [2021-06-09T00:49:03.798Z] Step 7/8 : COPY go.mod . [2021-06-09T00:49:04.390Z] ---> 0b0e66fae9a9 [2021-06-09T00:49:04.390Z] Step 8/8 : RUN go mod download [2021-06-09T00:49:04.663Z] ---> Running in 70516ab7d601 [2021-06-09T00:49:10.895Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:49:25.345Z] lf-activate-venv(): INFO: Adding /tmp/venv-dWVr/bin to PATH [2021-06-09T00:49:25.345Z] INFO: No Stack... [2021-06-09T00:49:25.345Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:49:25.345Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:49:25.672Z] + cut -d, -f6 [2021-06-09T00:49:25.673Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-09T00:49:25.735Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [2021-06-09T00:49:25.741Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] did not exist. Created. [2021-06-09T00:49:25.741Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:49:26.170Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T00:49:26.249Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:49:26.267Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T00:49:32.180Z] Removing intermediate container 70516ab7d601 [2021-06-09T00:49:32.180Z] ---> e774e20c1bdd [2021-06-09T00:49:32.180Z] Successfully built e774e20c1bdd [2021-06-09T00:49:32.180Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:49:32.566Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:49:32.566Z] . [Pipeline] withDockerContainer [2021-06-09T00:49:32.870Z] prd-ubuntu18.04-docker-arm64-4c-16g-1143 does not seem to be running inside a container [2021-06-09T00:49:32.955Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:49:34.558Z] $ docker top 97a5677a25fd2900df106cced8dbdf08a7cb7199dd2618b950d16893aa0245d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:49:37.249Z] + go version [2021-06-09T00:49:37.250Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T00:49:37.287Z] $ docker stop --time=1 97a5677a25fd2900df106cced8dbdf08a7cb7199dd2618b950d16893aa0245d6 [2021-06-09T00:49:39.151Z] $ docker rm -f 97a5677a25fd2900df106cced8dbdf08a7cb7199dd2618b950d16893aa0245d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:49:40.181Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:49:40.181Z] . [Pipeline] withDockerContainer [2021-06-09T00:49:40.458Z] prd-ubuntu18.04-docker-arm64-4c-16g-1143 does not seem to be running inside a container [2021-06-09T00:49:40.565Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:49:42.054Z] $ docker top e9f7abd9c720846c5037ae09509928811c4e39dfcdc26bde2235774727a30d97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:49:43.092Z] + go mod tidy [Pipeline] sh [2021-06-09T00:49:46.319Z] + make test [2021-06-09T00:49:46.319Z] make -C ./app-service-template build [2021-06-09T00:49:46.319Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:49:46.319Z] go mod tidy [2021-06-09T00:49:46.932Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-09T00:50:28.083Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:50:28.083Z] make -C ./app-service-template test [2021-06-09T00:50:28.083Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:50:28.083Z] go mod tidy [2021-06-09T00:50:28.083Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-09T00:50:54.944Z] ok new-app-service 0.044s coverage: 47.8% of statements [2021-06-09T00:50:54.944Z] ? new-app-service/config [no test files] [2021-06-09T00:50:54.944Z] ok new-app-service/functions 0.039s [2021-06-09T00:50:54.944Z] CGO_ENABLED=1 go vet ./... [2021-06-09T00:51:18.460Z] gofmt -l . [2021-06-09T00:51:18.460Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:51:18.460Z] ./bin/test-attribution-txt.sh [2021-06-09T00:51:19.436Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-06-09T00:51:19.436Z] go mod tidy [2021-06-09T00:51:20.034Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-09T00:51:21.486Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-09T00:51:29.820Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.108s coverage: 62.8% of statements [2021-06-09T00:51:29.820Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.107s coverage: 96.5% of statements [2021-06-09T00:51:29.820Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-09T00:51:29.820Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.113s coverage: 64.9% of statements [2021-06-09T00:51:29.820Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-09T00:51:29.820Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.044s [2021-06-09T00:51:30.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.093s coverage: 74.5% of statements [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-09T00:51:30.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.031s coverage: 97.1% of statements [2021-06-09T00:51:30.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T00:51:30.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.094s coverage: 10.5% of statements [2021-06-09T00:51:37.233Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.923s coverage: 76.9% of statements [2021-06-09T00:51:37.233Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-09T00:51:37.233Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.062s coverage: 12.5% of statements [2021-06-09T00:51:37.233Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.044s coverage: 27.3% of statements [2021-06-09T00:51:37.233Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-09T00:51:37.233Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-09T00:51:37.233Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.049s coverage: 51.4% of statements [2021-06-09T00:52:05.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 78.0% of statements [2021-06-09T00:52:05.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-06-09T00:52:05.323Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:52:06.304Z] gofmt -l . [2021-06-09T00:52:06.579Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-09T00:52:06.887Z] $ docker stop --time=1 e9f7abd9c720846c5037ae09509928811c4e39dfcdc26bde2235774727a30d97 [2021-06-09T00:52:08.780Z] $ docker rm -f e9f7abd9c720846c5037ae09509928811c4e39dfcdc26bde2235774727a30d97 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:52:09.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:52:09.811Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T00:52:10.405Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:52:13.900Z] ---> job-cost.sh [2021-06-09T00:52:13.900Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GqZE [2021-06-09T00:52:52.918Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:54:16.404Z] lf-activate-venv(): INFO: Adding /tmp/venv-GqZE/bin to PATH [2021-06-09T00:54:16.404Z] INFO: No Stack... [2021-06-09T00:54:16.404Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T00:54:16.404Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:54:16.848Z] + cut -d, -f6 [2021-06-09T00:54:16.848Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-09T00:54:16.936Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [2021-06-09T00:54:16.942Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] did not exist. Created. [2021-06-09T00:54:16.943Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:54:19.668Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-111df44a/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-111df44a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T00:54:22.182Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T00:54:22.229Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T00:54:24.413Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:54:24.435Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-889-1-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-06-09T00:54:29.887Z] provisioning config files... [2021-06-09T00:54:29.899Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/config2275575394024817158tmp [Pipeline] { [Pipeline] sh [2021-06-09T00:54:32.393Z] + set +x [2021-06-09T00:54:32.393Z] + curl -s https://codecov.io/bash [2021-06-09T00:54:32.393Z] + bash -s -- [2021-06-09T00:54:32.393Z] [2021-06-09T00:54:32.393Z] _____ _ [2021-06-09T00:54:32.393Z] / ____| | | [2021-06-09T00:54:32.393Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T00:54:32.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T00:54:32.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T00:54:32.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T00:54:32.393Z] Bash-1.0.3 [2021-06-09T00:54:32.393Z] [2021-06-09T00:54:32.393Z] [2021-06-09T00:54:32.393Z] ==> git version 2.24.4 found [2021-06-09T00:54:32.393Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-09T00:54:32.393Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T00:54:32.393Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T00:54:32.393Z] ==> Jenkins CI detected. [2021-06-09T00:54:32.393Z] project root: . [2021-06-09T00:54:32.393Z] --> token set from env [2021-06-09T00:54:32.393Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T00:54:34.655Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T00:54:34.655Z] ==> Python coveragepy not found [2021-06-09T00:54:34.655Z] ==> Searching for coverage reports in: [2021-06-09T00:54:34.655Z] + . [2021-06-09T00:54:34.655Z] -> Found 2 reports [2021-06-09T00:54:34.655Z] ==> Detecting git/mercurial file structure [2021-06-09T00:54:34.655Z] ==> Reading reports [2021-06-09T00:54:34.655Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-09T00:54:34.655Z] + ./coverage.out bytes=94246 [2021-06-09T00:54:34.655Z] ==> Appending adjustments [2021-06-09T00:54:34.655Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T00:54:34.655Z] + Found adjustments [2021-06-09T00:54:34.655Z] ==> Gzipping contents [2021-06-09T00:54:34.655Z] 20K /tmp/codecov.i56Iw7.gz [2021-06-09T00:54:34.655Z] ==> Uploading reports [2021-06-09T00:54:34.655Z] url: https://codecov.io [2021-06-09T00:54:34.655Z] query: branch=PR-889&commit=4bf66b1c406e761732d67b12e8fcb13d5e695f5e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-889%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=889&job=&cmd_args= [2021-06-09T00:54:34.655Z] -> Pinging Codecov [2021-06-09T00:54:34.655Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-889&commit=4bf66b1c406e761732d67b12e8fcb13d5e695f5e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-889%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=889&job=&cmd_args= [2021-06-09T00:54:34.655Z] -> Uploading to [2021-06-09T00:54:34.655Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/3D8B5DFFC46A037C893635FACE044666/4bf66b1c406e761732d67b12e8fcb13d5e695f5e/4551b5c1-a89c-4ed4-96b7-e64881a8112e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T005433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=143a7f104a2910465030939200606fb5f88305f69494f70639bf571c3f41361c [2021-06-09T00:54:34.655Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T00:54:34.655Z] Dload Upload Total Spent Left Speed [2021-06-09T00:54:34.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16510 0 0 100 16510 0 47670 --:--:-- --:--:-- --:--:-- 47579 [2021-06-09T00:54:34.655Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4bf66b1c406e761732d67b12e8fcb13d5e695f5e [Pipeline] } [2021-06-09T00:54:34.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:54:52.260Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:54:54.976Z] ---> package-listing.sh [2021-06-09T00:54:54.976Z] ++ facter osfamily [2021-06-09T00:54:54.976Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T00:54:55.241Z] + OS_FAMILY=redhat [2021-06-09T00:54:55.241Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-889 [2021-06-09T00:54:55.241Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T00:54:55.241Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T00:54:55.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T00:54:55.241Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T00:54:55.241Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-889 ']' [2021-06-09T00:54:55.241Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T00:54:55.241Z] + case "${OS_FAMILY}" in [2021-06-09T00:54:55.241Z] + rpm -qa [2021-06-09T00:54:55.241Z] + sort [2021-06-09T00:54:59.326Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T00:54:59.326Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T00:54:59.326Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T00:54:59.326Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-889 ']' [2021-06-09T00:54:59.326Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-889/archives/ [2021-06-09T00:54:59.326Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-889/archives/ [Pipeline] echo [2021-06-09T00:54:59.360Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-889/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T00:54:59.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:55:00.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:55:00.269Z] [2021-06-09T00:55:00.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:55:00.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:55:00.631Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T00:55:00.631Z] df20fa9351a1: Pulling fs layer [2021-06-09T00:55:00.631Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T00:55:00.631Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T00:55:00.631Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T00:55:00.631Z] 93b61091891f: Pulling fs layer [2021-06-09T00:55:00.631Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T00:55:00.631Z] 5e14af77c1be: Pulling fs layer [2021-06-09T00:55:00.631Z] 01666e4c0597: Pulling fs layer [2021-06-09T00:55:00.631Z] aa168da1d23b: Pulling fs layer [2021-06-09T00:55:00.631Z] 93b9cdb0e59b: Waiting [2021-06-09T00:55:00.631Z] 5e14af77c1be: Waiting [2021-06-09T00:55:00.631Z] 01666e4c0597: Waiting [2021-06-09T00:55:00.631Z] aa168da1d23b: Waiting [2021-06-09T00:55:00.631Z] 46f8f816bc3b: Waiting [2021-06-09T00:55:00.631Z] 93b61091891f: Waiting [2021-06-09T00:55:00.631Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T00:55:00.631Z] 36b3adc4ff6f: Download complete [2021-06-09T00:55:00.631Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T00:55:00.631Z] 46f8f816bc3b: Download complete [2021-06-09T00:55:00.631Z] df20fa9351a1: Verifying Checksum [2021-06-09T00:55:00.631Z] df20fa9351a1: Download complete [2021-06-09T00:55:00.631Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T00:55:00.631Z] 93b9cdb0e59b: Download complete [2021-06-09T00:55:00.631Z] 93b61091891f: Verifying Checksum [2021-06-09T00:55:00.631Z] 93b61091891f: Download complete [2021-06-09T00:55:00.899Z] 01666e4c0597: Verifying Checksum [2021-06-09T00:55:00.899Z] 01666e4c0597: Download complete [2021-06-09T00:55:00.899Z] 5e14af77c1be: Verifying Checksum [2021-06-09T00:55:00.899Z] 5e14af77c1be: Download complete [2021-06-09T00:55:00.899Z] df20fa9351a1: Pull complete [2021-06-09T00:55:01.164Z] 36b3adc4ff6f: Pull complete [2021-06-09T00:55:01.430Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T00:55:01.430Z] 8ad3a11d3b57: Download complete [2021-06-09T00:55:02.012Z] 8ad3a11d3b57: Pull complete [2021-06-09T00:55:02.273Z] 46f8f816bc3b: Pull complete [2021-06-09T00:55:02.848Z] 93b61091891f: Pull complete [2021-06-09T00:55:02.848Z] 93b9cdb0e59b: Pull complete [2021-06-09T00:55:02.848Z] aa168da1d23b: Verifying Checksum [2021-06-09T00:55:02.848Z] aa168da1d23b: Download complete [2021-06-09T00:55:03.109Z] 5e14af77c1be: Pull complete [2021-06-09T00:55:03.376Z] 01666e4c0597: Pull complete [2021-06-09T00:55:08.894Z] aa168da1d23b: Pull complete [2021-06-09T00:55:08.894Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T00:55:08.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:55:08.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T00:55:09.015Z] prd-centos7-docker-4c-2g-1138 does not seem to be running inside a container [2021-06-09T00:55:09.059Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-889/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-889 -v /w/workspace/ndry_app-functions-sdk-go_PR-889:/w/workspace/ndry_app-functions-sdk-go_PR-889:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-889@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T00:55:11.978Z] $ docker top d4f70ca15a83996a2aa38357248beaca35c41f840c145f994202df4f799db939 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:55:12.422Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T00:55:16.426Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T00:55:16.757Z] + ls /var/log/sa-host [2021-06-09T00:55:16.757Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T00:55:16.757Z] file_magic: OK [2021-06-09T00:55:16.757Z] HZ: Using current value: 100 [2021-06-09T00:55:16.757Z] file_header: OK [2021-06-09T00:55:16.757Z] 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 [2021-06-09T00:55:16.757Z] Statistics: [2021-06-09T00:55:16.757Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:55:16.757Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T00:55:16.757Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T00:55:16.757Z] file_magic: OK [2021-06-09T00:55:16.757Z] HZ: Using current value: 100 [2021-06-09T00:55:16.757Z] file_header: OK [2021-06-09T00:55:16.757Z] 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 [2021-06-09T00:55:16.757Z] Statistics: [2021-06-09T00:55:16.757Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:55:16.757Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:55:17.003Z] provisioning config files... [2021-06-09T00:55:17.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-889@tmp/config7880979675045167916tmp [Pipeline] { [Pipeline] echo [2021-06-09T00:55:17.077Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:55:17.416Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T00:55:17.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:55:20.171Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T00:55:20.209Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:55:20.540Z] ---> sudo-logs.sh [2021-06-09T00:55:20.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T00:55:20.634Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:55:20.966Z] ---> job-cost.sh [2021-06-09T00:55:20.966Z] lf-activate-venv: SKIPPING [2021-06-09T00:55:20.966Z] DEBUG: total: 0.18000000715255737 [2021-06-09T00:55:20.966Z] INFO: Retrieving Stack Cost... [2021-06-09T00:55:21.918Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:55:22.180Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T00:55:22.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh