Pull request #581 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dbf249899cabcabc9bbbe0b4d333b8dbd665b69c+0a4fdda1e318ddf36e94991935efadf748809222 (55705b09fecccf7dd372847ab93a00a7ddb2331c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13590 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-581 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # 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 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-26T17:11:13.519Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-26T17:11:13.765Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 3bd5af99b50ff0f19f90459d75678b1f6c1cbbdb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-26T17:11:13.874Z] ========================================================= [2020-11-26T17:11:13.874Z] EdgeX Global Pipelines Version Info [2020-11-26T17:11:13.874Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:11:15.994Z] ------------------- [2020-11-26T17:11:15.994Z] stable info: [2020-11-26T17:11:15.994Z] ------------------- [2020-11-26T17:11:15.994Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-26T17:11:15.994Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-26T17:11:15.994Z] Message: update stable to v1.0.167 [2020-11-26T17:11:17.429Z] ------------------- [2020-11-26T17:11:17.429Z] experimental info: [2020-11-26T17:11:17.429Z] ------------------- [2020-11-26T17:11:17.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-26T17:11:17.429Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-26T17:11:17.429Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-26T17:11:17.845Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-11-26T17:11:17.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-11-26T17:11:18.052Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-26T17:11:18.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-26T17:11:18.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-26T17:11:18.384Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-26T17:11:18.495Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-26T17:11:18.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-26T17:11:18.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-26T17:11:18.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-26T17:11:18.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-26T17:11:19.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-11-26T17:11:19.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-26T17:11:19.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-26T17:11:19.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:11:19.567Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:11:19.661Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:11:19.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:11:19.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-26T17:11:19.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-26T17:11:20.040Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-26T17:11:20.140Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-11-26T17:11:20.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-26T17:11:20.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-26T17:11:20.462Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-26T17:11:20.633Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-26T17:11:20.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2020-11-26T17:11:20.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2020-11-26T17:11:21.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2020-11-26T17:11:21.154Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] echo [2020-11-26T17:11:21.266Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbf2498 [Pipeline] echo [2020-11-26T17:11:21.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:11:21.568Z] provisioning config files... [2020-11-26T17:11:21.603Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config1286758584846154927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:11:21.992Z] ---> docker-login.sh [2020-11-26T17:11:21.992Z] nexus3.edgexfoundry.org:10001 [2020-11-26T17:11:22.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:11:22.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:11:22.534Z] Configure a credential helper to remove this warning. See [2020-11-26T17:11:22.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:11:22.534Z] [2020-11-26T17:11:22.534Z] Login Succeeded [2020-11-26T17:11:22.534Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:11:22.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:11:22.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:11:22.804Z] Configure a credential helper to remove this warning. See [2020-11-26T17:11:22.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:11:22.804Z] [2020-11-26T17:11:22.804Z] Login Succeeded [2020-11-26T17:11:22.804Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:11:23.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:11:23.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:11:23.077Z] Configure a credential helper to remove this warning. See [2020-11-26T17:11:23.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:11:23.077Z] [2020-11-26T17:11:23.077Z] Login Succeeded [2020-11-26T17:11:23.077Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:11:23.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:11:23.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:11:23.360Z] Configure a credential helper to remove this warning. See [2020-11-26T17:11:23.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:11:23.360Z] [2020-11-26T17:11:23.360Z] Login Succeeded [2020-11-26T17:11:23.360Z] docker.io [2020-11-26T17:11:23.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:11:23.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:11:23.914Z] Configure a credential helper to remove this warning. See [2020-11-26T17:11:23.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:11:23.914Z] [2020-11-26T17:11:23.914Z] Login Succeeded [2020-11-26T17:11:23.914Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:11:23.930Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T17:11:24.754Z] + git log --format=format:%s -1 dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] echo [2020-11-26T17:11:24.819Z] GIT_COMMIT: dbf249899cabcabc9bbbe0b4d333b8dbd665b69c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo [2020-11-26T17:11:24.871Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:11:25.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:11:25.614Z] [2020-11-26T17:11:25.614Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:11:26.046Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:11:26.046Z] latest: Pulling from edgex-devops/git-semver [2020-11-26T17:11:26.046Z] 31603596830f: Pulling fs layer [2020-11-26T17:11:26.046Z] 2a8b12db71e7: Pulling fs layer [2020-11-26T17:11:26.046Z] 6ca5941a6612: Pulling fs layer [2020-11-26T17:11:26.046Z] ecc8261a40a4: Pulling fs layer [2020-11-26T17:11:26.046Z] ecc8261a40a4: Waiting [2020-11-26T17:11:26.046Z] 2a8b12db71e7: Download complete [2020-11-26T17:11:26.354Z] 31603596830f: Verifying Checksum [2020-11-26T17:11:26.354Z] 31603596830f: Download complete [2020-11-26T17:11:26.636Z] ecc8261a40a4: Verifying Checksum [2020-11-26T17:11:26.636Z] ecc8261a40a4: Download complete [2020-11-26T17:11:26.901Z] 6ca5941a6612: Verifying Checksum [2020-11-26T17:11:26.901Z] 6ca5941a6612: Download complete [2020-11-26T17:11:27.165Z] 31603596830f: Pull complete [2020-11-26T17:11:27.165Z] 2a8b12db71e7: Pull complete [2020-11-26T17:11:28.654Z] 6ca5941a6612: Pull complete [2020-11-26T17:11:28.654Z] ecc8261a40a4: Pull complete [2020-11-26T17:11:28.918Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-26T17:11:28.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:11:28.918Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-26T17:11:29.141Z] prd-centos7-docker-4c-2g-13590 does not seem to be running inside a container [2020-11-26T17:11:29.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-581 -v /w/workspace/ndry_app-functions-sdk-go_PR-581:/w/workspace/ndry_app-functions-sdk-go_PR-581:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T17:11:31.795Z] $ docker top 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T17:11:32.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T17:11:32.312Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T17:11:32.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T17:11:32.653Z] $ docker exec 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent [2020-11-26T17:11:32.984Z] SSH_AUTH_SOCK=/tmp/ssh-FXB6hbwRpcWf/agent.12 [2020-11-26T17:11:32.984Z] SSH_AGENT_PID=17 [2020-11-26T17:11:33.008Z] Running ssh-add (command line suppressed) [2020-11-26T17:11:33.195Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_3298634961663917074.key (/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_3298634961663917074.key) [2020-11-26T17:11:33.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T17:11:33.651Z] + git tag --points-at HEAD [Pipeline] } [2020-11-26T17:11:33.692Z] $ docker exec --env ******** --env ******** 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent -k [2020-11-26T17:11:33.862Z] unset SSH_AUTH_SOCK; [2020-11-26T17:11:33.863Z] unset SSH_AGENT_PID; [2020-11-26T17:11:33.863Z] echo Agent pid 17 killed; [2020-11-26T17:11:33.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-26T17:11:34.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T17:11:34.114Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T17:11:34.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T17:11:34.410Z] $ docker exec 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent [2020-11-26T17:11:34.695Z] SSH_AUTH_SOCK=/tmp/ssh-fCu5yPDvR8Ey/agent.47 [2020-11-26T17:11:34.695Z] SSH_AGENT_PID=53 [2020-11-26T17:11:34.708Z] Running ssh-add (command line suppressed) [2020-11-26T17:11:34.987Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_6568460979092107164.key (/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_6568460979092107164.key) [2020-11-26T17:11:35.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T17:11:35.588Z] + git semver init [2020-11-26T17:11:35.588Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T17:11:35.588Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-581/.git [2020-11-26T17:11:35.588Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-581 [2020-11-26T17:11:35.588Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T17:11:35.588Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T17:11:35.588Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T17:11:35.588Z] # $SEMVER_BRANCH = PR-581 [2020-11-26T17:11:35.588Z] # $SEMVER_TEMP = /tmp/semver-416326595 [2020-11-26T17:11:35.588Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-11-26T17:11:39.099Z] # '/tmp/semver-416326595' -> '/w/workspace/ndry_app-functions-sdk-go_PR-581/.semver' [2020-11-26T17:11:39.099Z] # -> Force: false [2020-11-26T17:11:39.099Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-581/.semver [Pipeline] } [2020-11-26T17:11:39.397Z] $ docker exec --env ******** --env ******** 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent -k [2020-11-26T17:11:39.704Z] unset SSH_AUTH_SOCK; [2020-11-26T17:11:39.704Z] unset SSH_AGENT_PID; [2020-11-26T17:11:39.704Z] echo Agent pid 53 killed; [2020-11-26T17:11:39.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T17:11:40.288Z] + git semver [Pipeline] } [2020-11-26T17:11:40.312Z] $ docker stop --time=1 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 [2020-11-26T17:11:41.906Z] $ docker rm -f 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:11:42.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-26T17:11:43.421Z] Stashed 1 file(s) [Pipeline] echo [2020-11-26T17:11:43.424Z] [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 [2020-11-26T17:11:58.975Z] Still waiting to schedule task [2020-11-26T17:11:58.975Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-26T17:11:58.978Z] Still waiting to schedule task [2020-11-26T17:11:58.978Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-26T17:14:33.394Z] Running on prd-centos7-docker-4c-2g-13591 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] ws [2020-11-26T17:14:33.506Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-11-26T17:14:39.947Z] using credential edgex-jenkins-ssh [2020-11-26T17:14:40.005Z] Cloning the remote Git repository [2020-11-26T17:14:40.085Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:14:40.179Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-11-26T17:14:40.441Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:14:40.441Z] > git --version # timeout=10 [2020-11-26T17:14:40.482Z] > git --version # 'git version 2.24.3' [2020-11-26T17:14:40.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:14:40.596Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:14:43.115Z] Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [2020-11-26T17:14:42.523Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:14:42.605Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:14:42.628Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:14:42.659Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:14:42.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:14:42.664Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T17:14:43.140Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:14:43.207Z] > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 [2020-11-26T17:14:43.474Z] Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [2020-11-26T17:14:43.475Z] Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) [2020-11-26T17:14:43.384Z] > git remote # timeout=10 [2020-11-26T17:14:43.403Z] > git config --get remote.origin.url # timeout=10 [2020-11-26T17:14:43.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:14:43.421Z] > git merge 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 [2020-11-26T17:14:43.466Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-26T17:14:43.486Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:14:43.503Z] > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 [2020-11-26T17:14:47.887Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T17:14:49.723Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:14:50.097Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:14:50.465Z] + sudo service docker restart [2020-11-26T17:14:50.465Z] + true [2020-11-26T17:14:50.465Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:14:52.030Z] provisioning config files... [2020-11-26T17:14:52.086Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config9155748007430401889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:14:52.505Z] ---> docker-login.sh [2020-11-26T17:14:52.505Z] nexus3.edgexfoundry.org:10001 [2020-11-26T17:14:53.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:14:53.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:14:53.098Z] Configure a credential helper to remove this warning. See [2020-11-26T17:14:53.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:14:53.098Z] [2020-11-26T17:14:53.098Z] Login Succeeded [2020-11-26T17:14:53.098Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:14:53.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:14:53.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:14:53.376Z] Configure a credential helper to remove this warning. See [2020-11-26T17:14:53.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:14:53.376Z] [2020-11-26T17:14:53.376Z] Login Succeeded [2020-11-26T17:14:53.376Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:14:53.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:14:53.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:14:53.647Z] Configure a credential helper to remove this warning. See [2020-11-26T17:14:53.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:14:53.647Z] [2020-11-26T17:14:53.647Z] Login Succeeded [2020-11-26T17:14:53.647Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:14:53.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:14:54.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:14:54.194Z] Configure a credential helper to remove this warning. See [2020-11-26T17:14:54.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:14:54.194Z] [2020-11-26T17:14:54.194Z] Login Succeeded [2020-11-26T17:14:54.194Z] docker.io [2020-11-26T17:14:54.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:14:54.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:14:54.486Z] Configure a credential helper to remove this warning. See [2020-11-26T17:14:54.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:14:54.486Z] [2020-11-26T17:14:54.486Z] Login Succeeded [2020-11-26T17:14:54.486Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:14:54.501Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T17:14:54.962Z] ========================================================= [2020-11-26T17:14:54.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-26T17:14:54.962Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:14:55.354Z] + 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-11-26T17:14:56.362Z] Sending build context to Docker daemon 19.17MB [2020-11-26T17:14:56.362Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T17:14:56.362Z] Step 2/8 : FROM ${BASE} [2020-11-26T17:14:56.362Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-26T17:14:56.362Z] df20fa9351a1: Pulling fs layer [2020-11-26T17:14:56.362Z] ed8968b2872e: Pulling fs layer [2020-11-26T17:14:56.362Z] a92cc7c5fd73: Pulling fs layer [2020-11-26T17:14:56.362Z] e871e8e8d7a9: Pulling fs layer [2020-11-26T17:14:56.362Z] e73272ec9a57: Pulling fs layer [2020-11-26T17:14:56.362Z] e871e8e8d7a9: Waiting [2020-11-26T17:14:56.362Z] 1e910a182e73: Pulling fs layer [2020-11-26T17:14:56.362Z] 4e634b169226: Pulling fs layer [2020-11-26T17:14:56.362Z] e73272ec9a57: Waiting [2020-11-26T17:14:56.362Z] 1e910a182e73: Waiting [2020-11-26T17:14:56.362Z] 4e634b169226: Waiting [2020-11-26T17:14:56.362Z] a92cc7c5fd73: Download complete [2020-11-26T17:14:56.362Z] ed8968b2872e: Verifying Checksum [2020-11-26T17:14:56.362Z] ed8968b2872e: Download complete [2020-11-26T17:14:56.362Z] e73272ec9a57: Verifying Checksum [2020-11-26T17:14:56.362Z] e73272ec9a57: Download complete [2020-11-26T17:14:56.653Z] 1e910a182e73: Verifying Checksum [2020-11-26T17:14:56.653Z] 1e910a182e73: Download complete [2020-11-26T17:14:56.963Z] df20fa9351a1: Download complete [2020-11-26T17:14:57.709Z] df20fa9351a1: Pull complete [2020-11-26T17:14:57.986Z] ed8968b2872e: Pull complete [2020-11-26T17:14:58.306Z] a92cc7c5fd73: Pull complete [2020-11-26T17:15:01.769Z] 4e634b169226: Verifying Checksum [2020-11-26T17:15:01.769Z] 4e634b169226: Download complete [2020-11-26T17:15:02.814Z] e871e8e8d7a9: Verifying Checksum [2020-11-26T17:15:02.814Z] e871e8e8d7a9: Download complete [2020-11-26T17:15:11.169Z] e871e8e8d7a9: Pull complete [2020-11-26T17:15:11.170Z] e73272ec9a57: Pull complete [2020-11-26T17:15:11.170Z] 1e910a182e73: Pull complete [2020-11-26T17:15:16.730Z] 4e634b169226: Pull complete [2020-11-26T17:15:16.730Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-26T17:15:16.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-26T17:15:16.730Z] ---> f7629b54cfaa [2020-11-26T17:15:16.730Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-26T17:15:17.323Z] latest: Pulling from library/docker [2020-11-26T17:15:17.639Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T17:15:17.640Z] 0c7c675703d6: Pulling fs layer [2020-11-26T17:15:17.640Z] cc8c12a437cb: Pulling fs layer [2020-11-26T17:15:17.640Z] c5dafad2182a: Pulling fs layer [2020-11-26T17:15:17.640Z] 5aa711733414: Pulling fs layer [2020-11-26T17:15:17.640Z] 058f73b55e4b: Pulling fs layer [2020-11-26T17:15:17.640Z] 8c9c664faf12: Pulling fs layer [2020-11-26T17:15:17.640Z] 5aa711733414: Waiting [2020-11-26T17:15:17.640Z] 058f73b55e4b: Waiting [2020-11-26T17:15:17.640Z] 8c9c664faf12: Waiting [2020-11-26T17:15:17.640Z] c5dafad2182a: Waiting [2020-11-26T17:15:17.640Z] cc8c12a437cb: Verifying Checksum [2020-11-26T17:15:17.640Z] cc8c12a437cb: Download complete [2020-11-26T17:15:17.640Z] 0c7c675703d6: Verifying Checksum [2020-11-26T17:15:17.640Z] 0c7c675703d6: Download complete [2020-11-26T17:15:17.928Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T17:15:17.928Z] 188c0c94c7c5: Download complete [2020-11-26T17:15:17.928Z] 5aa711733414: Verifying Checksum [2020-11-26T17:15:17.928Z] 5aa711733414: Download complete [2020-11-26T17:15:17.928Z] 058f73b55e4b: Verifying Checksum [2020-11-26T17:15:17.928Z] 058f73b55e4b: Download complete [2020-11-26T17:15:18.293Z] 8c9c664faf12: Verifying Checksum [2020-11-26T17:15:18.293Z] 8c9c664faf12: Download complete [2020-11-26T17:15:18.619Z] 188c0c94c7c5: Pull complete [2020-11-26T17:15:19.326Z] 0c7c675703d6: Pull complete [2020-11-26T17:15:19.326Z] c5dafad2182a: Verifying Checksum [2020-11-26T17:15:19.326Z] c5dafad2182a: Download complete [2020-11-26T17:15:19.602Z] cc8c12a437cb: Pull complete [2020-11-26T17:15:24.016Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13592 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] ws [2020-11-26T17:15:24.139Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [2020-11-26T17:15:24.164Z] c5dafad2182a: Pull complete [Pipeline] checkout [2020-11-26T17:15:24.431Z] 5aa711733414: Pull complete [2020-11-26T17:15:24.431Z] 058f73b55e4b: Pull complete [2020-11-26T17:15:24.715Z] 8c9c664faf12: Pull complete [2020-11-26T17:15:24.715Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-26T17:15:24.715Z] Status: Downloaded newer image for docker:latest [2020-11-26T17:15:26.737Z] ---> 6e5eca86aa28 [2020-11-26T17:15:26.737Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-26T17:15:26.737Z] ---> Running in 13eaeb080742 [2020-11-26T17:15:27.010Z] Removing intermediate container 13eaeb080742 [2020-11-26T17:15:27.010Z] ---> 1dae06aff2e1 [2020-11-26T17:15:27.010Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-26T17:15:27.299Z] ---> Running in 078ffadcb5d3 [2020-11-26T17:15:28.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T17:15:28.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T17:15:29.483Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-26T17:15:29.510Z] using credential edgex-jenkins-ssh [2020-11-26T17:15:29.568Z] Cloning the remote Git repository [2020-11-26T17:15:29.796Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-26T17:15:29.796Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-26T17:15:29.796Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-26T17:15:30.129Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-26T17:15:30.129Z] Executing busybox-1.31.1-r16.trigger [2020-11-26T17:15:30.129Z] OK: 167 MiB in 44 packages [2020-11-26T17:15:29.640Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:15:29.745Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2020-11-26T17:15:29.825Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:15:29.826Z] > git --version # timeout=10 [2020-11-26T17:15:29.842Z] > git --version # 'git version 2.17.1' [2020-11-26T17:15:29.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:15:29.897Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:15:31.117Z] Removing intermediate container 078ffadcb5d3 [2020-11-26T17:15:31.117Z] ---> 7fa44314df7a [2020-11-26T17:15:31.117Z] Step 6/8 : WORKDIR /build [2020-11-26T17:15:31.117Z] ---> Running in 1835d2c6c94f [2020-11-26T17:15:31.117Z] Removing intermediate container 1835d2c6c94f [2020-11-26T17:15:31.117Z] ---> 3a6961d05c9a [2020-11-26T17:15:31.117Z] Step 7/8 : COPY go.mod . [2020-11-26T17:15:31.713Z] ---> b63c94af6a49 [2020-11-26T17:15:31.713Z] Step 8/8 : RUN go mod download [2020-11-26T17:15:31.713Z] ---> Running in 0893e16eda32 [2020-11-26T17:15:32.836Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:15:32.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:15:32.888Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:15:32.930Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:15:32.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:15:32.944Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T17:15:33.431Z] Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [2020-11-26T17:15:33.782Z] Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [2020-11-26T17:15:33.782Z] Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) [2020-11-26T17:15:33.464Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:15:33.488Z] > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 [2020-11-26T17:15:33.649Z] > git remote # timeout=10 [2020-11-26T17:15:33.672Z] > git config --get remote.origin.url # timeout=10 [2020-11-26T17:15:33.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:15:33.706Z] > git merge 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 [2020-11-26T17:15:33.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-26T17:15:33.801Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:15:33.823Z] > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 [2020-11-26T17:15:38.161Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T17:15:40.079Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:15:40.657Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:15:41.004Z] + true [2020-11-26T17:15:41.004Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:15:43.708Z] provisioning config files... [2020-11-26T17:15:43.747Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config2208606996980531520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:15:44.183Z] ---> docker-login.sh [2020-11-26T17:15:44.183Z] nexus3.edgexfoundry.org:10001 [2020-11-26T17:15:44.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:15:45.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:15:45.395Z] Configure a credential helper to remove this warning. See [2020-11-26T17:15:45.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:15:45.395Z] [2020-11-26T17:15:45.395Z] Login Succeeded [2020-11-26T17:15:45.395Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:15:45.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:15:45.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:15:45.668Z] Configure a credential helper to remove this warning. See [2020-11-26T17:15:45.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:15:45.668Z] [2020-11-26T17:15:45.668Z] Login Succeeded [2020-11-26T17:15:45.944Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:15:46.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:15:46.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:15:46.220Z] Configure a credential helper to remove this warning. See [2020-11-26T17:15:46.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:15:46.220Z] [2020-11-26T17:15:46.220Z] Login Succeeded [2020-11-26T17:15:46.220Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:15:46.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:15:46.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:15:46.821Z] Configure a credential helper to remove this warning. See [2020-11-26T17:15:46.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:15:46.821Z] [2020-11-26T17:15:46.821Z] Login Succeeded [2020-11-26T17:15:46.821Z] docker.io [2020-11-26T17:15:47.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:15:47.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:15:47.695Z] Configure a credential helper to remove this warning. See [2020-11-26T17:15:47.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:15:47.695Z] [2020-11-26T17:15:47.695Z] Login Succeeded [2020-11-26T17:15:47.695Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:15:47.713Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T17:15:48.156Z] ========================================================= [2020-11-26T17:15:48.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-26T17:15:48.156Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:15:48.543Z] + 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-11-26T17:15:49.171Z] Sending build context to Docker daemon 19.17MB [2020-11-26T17:15:49.171Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T17:15:49.171Z] Step 2/8 : FROM ${BASE} [2020-11-26T17:15:49.171Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-26T17:15:49.171Z] b538f80385f9: Pulling fs layer [2020-11-26T17:15:49.171Z] 74f711af9a0d: Pulling fs layer [2020-11-26T17:15:49.171Z] 99f96fe45779: Pulling fs layer [2020-11-26T17:15:49.171Z] 8529a6b9a6be: Pulling fs layer [2020-11-26T17:15:49.171Z] 45590311c82a: Pulling fs layer [2020-11-26T17:15:49.171Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-26T17:15:49.171Z] 209524e5b208: Pulling fs layer [2020-11-26T17:15:49.171Z] 69ca0ff8b7b3: Waiting [2020-11-26T17:15:49.171Z] 8529a6b9a6be: Waiting [2020-11-26T17:15:49.171Z] 45590311c82a: Waiting [2020-11-26T17:15:49.171Z] 209524e5b208: Waiting [2020-11-26T17:15:49.449Z] 99f96fe45779: Verifying Checksum [2020-11-26T17:15:49.449Z] 99f96fe45779: Download complete [2020-11-26T17:15:49.449Z] 74f711af9a0d: Verifying Checksum [2020-11-26T17:15:49.449Z] 74f711af9a0d: Download complete [2020-11-26T17:15:49.449Z] 45590311c82a: Verifying Checksum [2020-11-26T17:15:49.449Z] 45590311c82a: Download complete [2020-11-26T17:15:49.449Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-26T17:15:49.449Z] 69ca0ff8b7b3: Download complete [2020-11-26T17:15:49.449Z] b538f80385f9: Verifying Checksum [2020-11-26T17:15:49.449Z] b538f80385f9: Download complete [2020-11-26T17:15:50.054Z] b538f80385f9: Pull complete [2020-11-26T17:15:50.664Z] 74f711af9a0d: Pull complete [2020-11-26T17:15:50.940Z] 99f96fe45779: Pull complete [2020-11-26T17:15:52.395Z] 209524e5b208: Verifying Checksum [2020-11-26T17:15:52.395Z] 209524e5b208: Download complete [2020-11-26T17:15:52.995Z] 8529a6b9a6be: Verifying Checksum [2020-11-26T17:15:52.995Z] 8529a6b9a6be: Download complete [2020-11-26T17:16:03.153Z] 8529a6b9a6be: Pull complete [2020-11-26T17:16:03.153Z] 45590311c82a: Pull complete [2020-11-26T17:16:03.153Z] 69ca0ff8b7b3: Pull complete [2020-11-26T17:16:04.533Z] Removing intermediate container 0893e16eda32 [2020-11-26T17:16:04.533Z] ---> 1918a0fd154e [2020-11-26T17:16:04.533Z] Successfully built 1918a0fd154e [2020-11-26T17:16:04.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:16:05.095Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T17:16:05.384Z] . [Pipeline] withDockerContainer [2020-11-26T17:16:05.798Z] prd-centos7-docker-4c-2g-13591 does not seem to be running inside a container [2020-11-26T17:16:06.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T17:16:07.466Z] 209524e5b208: Pull complete [2020-11-26T17:16:07.467Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-26T17:16:07.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-26T17:16:07.467Z] ---> 5bddaf1c2fca [2020-11-26T17:16:07.467Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-26T17:16:07.467Z] latest: Pulling from library/docker [2020-11-26T17:16:07.696Z] $ docker top a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda -eo pid,comm [2020-11-26T17:16:07.756Z] 5f621e34cdf4: Pulling fs layer [2020-11-26T17:16:07.756Z] 85db56a05063: Pulling fs layer [2020-11-26T17:16:07.756Z] ccb67d6aeaaa: Pulling fs layer [2020-11-26T17:16:07.756Z] a0b19fc83503: Pulling fs layer [2020-11-26T17:16:07.756Z] 8eb508b41278: Pulling fs layer [2020-11-26T17:16:07.756Z] 37236713561e: Pulling fs layer [2020-11-26T17:16:07.756Z] 07c93f2b1b56: Pulling fs layer [2020-11-26T17:16:07.756Z] a0b19fc83503: Waiting [2020-11-26T17:16:07.756Z] 8eb508b41278: Waiting [2020-11-26T17:16:07.756Z] 37236713561e: Waiting [2020-11-26T17:16:07.756Z] 07c93f2b1b56: Waiting [2020-11-26T17:16:07.756Z] ccb67d6aeaaa: Verifying Checksum [2020-11-26T17:16:07.756Z] ccb67d6aeaaa: Download complete [2020-11-26T17:16:07.756Z] 85db56a05063: Verifying Checksum [2020-11-26T17:16:07.756Z] 85db56a05063: Download complete [2020-11-26T17:16:07.756Z] 5f621e34cdf4: Download complete [Pipeline] { [Pipeline] sh [2020-11-26T17:16:08.036Z] 8eb508b41278: Verifying Checksum [2020-11-26T17:16:08.036Z] 8eb508b41278: Download complete [2020-11-26T17:16:08.036Z] 37236713561e: Download complete [2020-11-26T17:16:08.036Z] 07c93f2b1b56: Verifying Checksum [2020-11-26T17:16:08.036Z] 07c93f2b1b56: Download complete [2020-11-26T17:16:08.642Z] 5f621e34cdf4: Pull complete [2020-11-26T17:16:08.700Z] + go version [2020-11-26T17:16:08.701Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-26T17:16:08.768Z] $ docker stop --time=1 a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda [2020-11-26T17:16:09.246Z] a0b19fc83503: Verifying Checksum [2020-11-26T17:16:09.246Z] a0b19fc83503: Download complete [2020-11-26T17:16:09.246Z] 85db56a05063: Pull complete [2020-11-26T17:16:09.840Z] ccb67d6aeaaa: Pull complete [2020-11-26T17:16:10.273Z] $ docker rm -f a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:16:11.257Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T17:16:11.257Z] . [Pipeline] withDockerContainer [2020-11-26T17:16:11.373Z] prd-centos7-docker-4c-2g-13591 does not seem to be running inside a container [2020-11-26T17:16:11.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T17:16:13.139Z] $ docker top 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f -eo pid,comm [2020-11-26T17:16:13.258Z] a0b19fc83503: Pull complete [2020-11-26T17:16:13.259Z] 8eb508b41278: Pull complete [Pipeline] { [Pipeline] sh [2020-11-26T17:16:13.539Z] 37236713561e: Pull complete [2020-11-26T17:16:13.794Z] + make test [2020-11-26T17:16:13.794Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-26T17:16:14.146Z] 07c93f2b1b56: Pull complete [2020-11-26T17:16:14.146Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-26T17:16:14.146Z] Status: Downloaded newer image for docker:latest [2020-11-26T17:16:16.461Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-26T17:16:20.886Z] ---> 853d79fa4971 [2020-11-26T17:16:20.886Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-26T17:16:20.887Z] ---> Running in 711cc4dfae9f [2020-11-26T17:16:20.887Z] Removing intermediate container 711cc4dfae9f [2020-11-26T17:16:20.887Z] ---> 9ec171a14913 [2020-11-26T17:16:20.887Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-26T17:16:21.163Z] ---> Running in ab951dd754d7 [2020-11-26T17:16:22.598Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T17:16:23.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T17:16:23.784Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-26T17:16:23.784Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-26T17:16:23.784Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-26T17:16:24.055Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-26T17:16:24.055Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-26T17:16:24.330Z] Executing busybox-1.31.1-r16.trigger [2020-11-26T17:16:24.330Z] OK: 144 MiB in 44 packages [2020-11-26T17:16:25.806Z] Removing intermediate container ab951dd754d7 [2020-11-26T17:16:25.806Z] ---> 65828d4ef95b [2020-11-26T17:16:25.806Z] Step 6/8 : WORKDIR /build [2020-11-26T17:16:25.806Z] ---> Running in 4a447351f5cd [2020-11-26T17:16:26.087Z] Removing intermediate container 4a447351f5cd [2020-11-26T17:16:26.087Z] ---> 17a70229df01 [2020-11-26T17:16:26.087Z] Step 7/8 : COPY go.mod . [2020-11-26T17:16:26.684Z] ---> 1abd8d9623cd [2020-11-26T17:16:26.684Z] Step 8/8 : RUN go mod download [2020-11-26T17:16:26.833Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.043s coverage: 86.2% of statements [2020-11-26T17:16:26.965Z] ---> Running in c185984b4ce2 [2020-11-26T17:16:53.797Z] Removing intermediate container c185984b4ce2 [2020-11-26T17:16:53.797Z] ---> d02f1c5cff98 [2020-11-26T17:16:53.797Z] Successfully built d02f1c5cff98 [2020-11-26T17:16:53.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:16:54.129Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.139s coverage: 52.0% of statements [2020-11-26T17:16:54.130Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-26T17:16:54.130Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-26T17:16:54.130Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 54.7% of statements [2020-11-26T17:16:54.130Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-26T17:16:54.130Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.093s coverage: 69.1% of statements [2020-11-26T17:16:54.142Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T17:16:54.142Z] . [Pipeline] withDockerContainer [2020-11-26T17:16:54.407Z] prd-ubuntu18.04-docker-arm64-4c-16g-13592 does not seem to be running inside a container [2020-11-26T17:16:54.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-26T17:16:55.991Z] $ docker top 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:16:57.035Z] + go version [2020-11-26T17:16:57.035Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-26T17:16:57.065Z] $ docker stop --time=1 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 [2020-11-26T17:16:59.003Z] $ docker rm -f 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:17:00.045Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T17:17:00.045Z] . [Pipeline] withDockerContainer [2020-11-26T17:17:00.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-13592 does not seem to be running inside a container [2020-11-26T17:17:00.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-26T17:17:01.843Z] $ docker top 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:17:02.836Z] + make test [2020-11-26T17:17:02.836Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-26T17:17:04.275Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.542s coverage: 61.6% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.019s coverage: 89.5% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.048s coverage: 100.0% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.086s coverage: 100.0% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.016s coverage: 100.0% of statements [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.055s coverage: 96.6% of statements [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.039s coverage: 97.7% of statements [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.039s coverage: 8.8% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.962s coverage: 75.0% of statements [2020-11-26T17:17:06.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.057s coverage: 89.7% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.026s coverage: 80.5% of statements [2020-11-26T17:17:06.712Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.009s coverage: 71.7% of statements [2020-11-26T17:17:26.498Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.048s coverage: 86.2% of statements [2020-11-26T17:17:28.860Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.065s coverage: 71.0% of statements [2020-11-26T17:17:28.861Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2020-11-26T17:17:28.861Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-26T17:17:33.169Z] gofmt -l . [2020-11-26T17:17:33.169Z] [ "`gofmt -l .`" = "" ] [2020-11-26T17:17:33.169Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T17:17:34.177Z] $ docker stop --time=1 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f [2020-11-26T17:17:36.213Z] $ docker rm -f 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:17:37.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T17:17:37.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-26T17:18:05.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 52.0% of statements [2020-11-26T17:18:05.586Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-26T17:18:05.586Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-26T17:18:05.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.081s coverage: 54.7% of statements [2020-11-26T17:18:05.586Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-26T17:18:05.586Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.076s coverage: 69.1% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.454s coverage: 61.6% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.033s coverage: 100.0% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 8.8% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.937s coverage: 75.0% of statements [2020-11-26T17:18:18.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements [2020-11-26T17:18:18.172Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.035s coverage: 71.7% of statements [2020-11-26T17:18:44.997Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.057s coverage: 71.0% of statements [2020-11-26T17:18:44.997Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-11-26T17:18:44.997Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-26T17:18:55.171Z] gofmt -l . [2020-11-26T17:18:55.171Z] [ "`gofmt -l .`" = "" ] [2020-11-26T17:18:55.765Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T17:18:56.391Z] $ docker stop --time=1 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 [2020-11-26T17:18:58.528Z] $ docker rm -f 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:18:59.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T17:18:59.612Z] Warning: overwriting stash ‘coverage-report’ [2020-11-26T17:19:00.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-26T17:19:03.042Z] provisioning config files... [2020-11-26T17:19:03.063Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config7792823259170118722tmp [Pipeline] { [Pipeline] sh [2020-11-26T17:19:03.476Z] + set +x [2020-11-26T17:19:03.476Z] + curl -s https://codecov.io/bash [2020-11-26T17:19:03.476Z] + bash -s -- [2020-11-26T17:19:03.788Z] [2020-11-26T17:19:03.788Z] _____ _ [2020-11-26T17:19:03.788Z] / ____| | | [2020-11-26T17:19:03.788Z] | | ___ __| | ___ ___ _____ __ [2020-11-26T17:19:03.788Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-26T17:19:03.788Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-26T17:19:03.788Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-26T17:19:03.788Z] Bash-20201124-79cbc08 [2020-11-26T17:19:03.788Z] [2020-11-26T17:19:03.788Z] [2020-11-26T17:19:03.788Z] ==> Jenkins CI detected. [2020-11-26T17:19:03.788Z] project root: . [2020-11-26T17:19:03.788Z] --> token set from env [2020-11-26T17:19:03.789Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-26T17:19:03.789Z] ==> Running gcov in . (disable via -X gcov) [2020-11-26T17:19:03.789Z] ==> Python coveragepy not found [2020-11-26T17:19:03.789Z] ==> Searching for coverage reports in: [2020-11-26T17:19:03.789Z] + . [2020-11-26T17:19:03.789Z] -> Found 1 reports [2020-11-26T17:19:03.789Z] ==> Detecting git/mercurial file structure [2020-11-26T17:19:03.789Z] ==> Reading reports [2020-11-26T17:19:03.789Z] + ./coverage.out bytes=90550 [2020-11-26T17:19:03.789Z] ==> Appending adjustments [2020-11-26T17:19:03.789Z] https://docs.codecov.io/docs/fixing-reports [2020-11-26T17:19:04.385Z] + Found adjustments [2020-11-26T17:19:04.385Z] ==> Gzipping contents [2020-11-26T17:19:04.385Z] 16K /tmp/codecov.no77ob.gz [2020-11-26T17:19:04.385Z] ==> Uploading reports [2020-11-26T17:19:04.385Z] url: https://codecov.io [2020-11-26T17:19:04.385Z] query: branch=PR-581&commit=dbf249899cabcabc9bbbe0b4d333b8dbd665b69c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2020-11-26T17:19:04.665Z] -> Pinging Codecov [2020-11-26T17:19:04.665Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-581&commit=dbf249899cabcabc9bbbe0b4d333b8dbd665b69c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2020-11-26T17:19:05.247Z] -> Uploading to [2020-11-26T17:19:05.247Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-26/3D8B5DFFC46A037C893635FACE044666/dbf249899cabcabc9bbbe0b4d333b8dbd665b69c/929a60b3-69fd-497a-980a-5bd8e8330a10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T171904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7603f352ea59703a8402bfb1b1b6a60a1a6b9e2f967c57c0b3a6019c2b4a237 [2020-11-26T17:19:05.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T17:19:05.247Z] Dload Upload Total Spent Left Speed [2020-11-26T17:19:05.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16087 0 0 100 16087 0 36891 --:--:-- --:--:-- --:--:-- 36981 [2020-11-26T17:19:05.511Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] } [2020-11-26T17:19:05.523Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:08.236Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:08.828Z] ---> package-listing.sh [2020-11-26T17:19:08.829Z] ++ facter osfamily [2020-11-26T17:19:08.829Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-26T17:19:08.829Z] + OS_FAMILY=redhat [2020-11-26T17:19:08.829Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-581 [2020-11-26T17:19:08.829Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-26T17:19:08.829Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-26T17:19:08.829Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-26T17:19:08.829Z] + PACKAGES=/tmp/packages_start.txt [2020-11-26T17:19:08.829Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-581 ']' [2020-11-26T17:19:08.829Z] + PACKAGES=/tmp/packages_end.txt [2020-11-26T17:19:08.829Z] + case "${OS_FAMILY}" in [2020-11-26T17:19:08.829Z] + rpm -qa [2020-11-26T17:19:08.829Z] + sort [2020-11-26T17:19:14.175Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-26T17:19:14.175Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-26T17:19:14.175Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-26T17:19:14.175Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-581 ']' [2020-11-26T17:19:14.175Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-581/archives/ [2020-11-26T17:19:14.175Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-581/archives/ [Pipeline] echo [2020-11-26T17:19:14.204Z] 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-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-26T17:19:14.520Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:19:14.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:19:15.139Z] [2020-11-26T17:19:15.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:19:15.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:19:15.531Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-26T17:19:15.531Z] df20fa9351a1: Pulling fs layer [2020-11-26T17:19:15.531Z] 36b3adc4ff6f: Pulling fs layer [2020-11-26T17:19:15.531Z] 8ad3a11d3b57: Pulling fs layer [2020-11-26T17:19:15.531Z] 46f8f816bc3b: Pulling fs layer [2020-11-26T17:19:15.531Z] 93b61091891f: Pulling fs layer [2020-11-26T17:19:15.531Z] 93b9cdb0e59b: Pulling fs layer [2020-11-26T17:19:15.531Z] 5e14af77c1be: Pulling fs layer [2020-11-26T17:19:15.531Z] 01666e4c0597: Pulling fs layer [2020-11-26T17:19:15.531Z] aa168da1d23b: Pulling fs layer [2020-11-26T17:19:15.531Z] 93b9cdb0e59b: Waiting [2020-11-26T17:19:15.531Z] 5e14af77c1be: Waiting [2020-11-26T17:19:15.531Z] 01666e4c0597: Waiting [2020-11-26T17:19:15.531Z] aa168da1d23b: Waiting [2020-11-26T17:19:15.531Z] 46f8f816bc3b: Waiting [2020-11-26T17:19:15.531Z] 93b61091891f: Waiting [2020-11-26T17:19:15.818Z] 36b3adc4ff6f: Verifying Checksum [2020-11-26T17:19:15.818Z] 36b3adc4ff6f: Download complete [2020-11-26T17:19:15.818Z] 46f8f816bc3b: Download complete [2020-11-26T17:19:15.818Z] df20fa9351a1: Verifying Checksum [2020-11-26T17:19:15.818Z] df20fa9351a1: Download complete [2020-11-26T17:19:15.818Z] 93b9cdb0e59b: Verifying Checksum [2020-11-26T17:19:15.818Z] 93b9cdb0e59b: Download complete [2020-11-26T17:19:15.818Z] 5e14af77c1be: Verifying Checksum [2020-11-26T17:19:15.818Z] 5e14af77c1be: Download complete [2020-11-26T17:19:15.818Z] 93b61091891f: Download complete [2020-11-26T17:19:15.818Z] 01666e4c0597: Download complete [2020-11-26T17:19:16.415Z] df20fa9351a1: Pull complete [2020-11-26T17:19:16.691Z] 8ad3a11d3b57: Verifying Checksum [2020-11-26T17:19:16.691Z] 8ad3a11d3b57: Download complete [2020-11-26T17:19:16.691Z] 36b3adc4ff6f: Pull complete [2020-11-26T17:19:18.137Z] 8ad3a11d3b57: Pull complete [2020-11-26T17:19:18.413Z] 46f8f816bc3b: Pull complete [2020-11-26T17:19:19.385Z] 93b61091891f: Pull complete [2020-11-26T17:19:19.385Z] 93b9cdb0e59b: Pull complete [2020-11-26T17:19:19.660Z] 5e14af77c1be: Pull complete [2020-11-26T17:19:19.930Z] 01666e4c0597: Pull complete [2020-11-26T17:19:19.930Z] aa168da1d23b: Verifying Checksum [2020-11-26T17:19:19.930Z] aa168da1d23b: Download complete [2020-11-26T17:19:30.179Z] aa168da1d23b: Pull complete [2020-11-26T17:19:30.179Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-26T17:19:30.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:19:30.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-26T17:19:30.521Z] prd-centos7-docker-4c-2g-13590 does not seem to be running inside a container [2020-11-26T17:19:30.727Z] $ 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-581/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-581 -v /w/workspace/ndry_app-functions-sdk-go_PR-581:/w/workspace/ndry_app-functions-sdk-go_PR-581:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-26T17:19:33.711Z] $ docker top 93f9d857729961de94b9a79e6c277a22d4e9d668251c2d5499546c5e11cf4f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:19:34.487Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-26T17:19:34.806Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-26T17:19:35.151Z] + ls /var/log/sa-host [2020-11-26T17:19:35.151Z] + sadf -c /var/log/sa-host/sa23 [2020-11-26T17:19:35.151Z] file_magic: OK [2020-11-26T17:19:35.151Z] HZ: Using current value: 100 [2020-11-26T17:19:35.151Z] file_header: OK [2020-11-26T17:19:35.151Z] 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-11-26T17:19:35.151Z] Statistics: [2020-11-26T17:19:35.151Z] Hnuu...uuuununununu... [2020-11-26T17:19:35.151Z] File successfully converted to sysstat format version 12.2.1 [2020-11-26T17:19:35.151Z] + sadf -c /var/log/sa-host/sa26 [2020-11-26T17:19:35.151Z] file_magic: OK [2020-11-26T17:19:35.151Z] HZ: Using current value: 100 [2020-11-26T17:19:35.151Z] file_header: OK [2020-11-26T17:19:35.151Z] 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-11-26T17:19:35.151Z] Statistics: [2020-11-26T17:19:35.151Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-26T17:19:35.151Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T17:19:35.351Z] provisioning config files... [2020-11-26T17:19:35.402Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config7535651287699380764tmp [Pipeline] { [Pipeline] echo [2020-11-26T17:19:35.484Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:35.822Z] ---> create-netrc.sh [Pipeline] } [2020-11-26T17:19:35.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-26T17:19:35.939Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:36.259Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-26T17:19:36.284Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:36.645Z] ---> sudo-logs.sh [2020-11-26T17:19:36.645Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-26T17:19:36.663Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:37.074Z] ---> job-cost.sh [2020-11-26T17:19:37.074Z] lf-activate-venv: SKIPPING [2020-11-26T17:19:37.074Z] INFO: No Stack... [2020-11-26T17:19:38.473Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-26T17:19:39.067Z] INFO: Archiving Costs [Pipeline] echo [2020-11-26T17:19:39.083Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:19:39.502Z] ---> logs-deploy.sh [2020-11-26T17:19:39.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-581/3 [2020-11-26T17:19:39.503Z] INFO: archiving workspace using pattern(s): [2020-11-26T17:19:41.560Z] Archives upload complete. [2020-11-26T17:19:41.875Z] INFO: archiving logs to Nexus