Pull request #580 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from be0814dca565b2fdf5e7261a50423b4d2810dcc8+047711cea66f7c2c2ab75d9c76bedadd5c03776a (577cb86343be00890333bfff45a2c5eba5e4d63e) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 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-580/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > 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 > 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 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-580/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 > 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 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13424 in /w/workspace/ndry_app-functions-sdk-go_PR-580 [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-580 # 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/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 047711cea66f7c2c2ab75d9c76bedadd5c03776a into PR head commit be0814dca565b2fdf5e7261a50423b4d2810dcc8 Merge succeeded, producing be0814dca565b2fdf5e7261a50423b4d2810dcc8 Checking out Revision be0814dca565b2fdf5e7261a50423b4d2810dcc8 (PR-580) > git config core.sparsecheckout # timeout=10 > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # 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 047711cea66f7c2c2ab75d9c76bedadd5c03776a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-25T18:49:17.111Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-25T18:49:17.597Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-25T18:49:17.864Z] ========================================================= [2020-11-25T18:49:17.864Z] EdgeX Global Pipelines Version Info [2020-11-25T18:49:17.864Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:49:19.396Z] ------------------- [2020-11-25T18:49:19.396Z] stable info: [2020-11-25T18:49:19.396Z] ------------------- [2020-11-25T18:49:19.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-25T18:49:19.396Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-25T18:49:19.396Z] Message: update stable to v1.0.167 [2020-11-25T18:49:20.345Z] ------------------- [2020-11-25T18:49:20.345Z] experimental info: [2020-11-25T18:49:20.345Z] ------------------- [2020-11-25T18:49:20.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-25T18:49:20.345Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-25T18:49:20.345Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-25T18:49:20.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-11-25T18:49:21.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-11-25T18:49:21.205Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-25T18:49:21.385Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-25T18:49:21.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-25T18:49:21.695Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-25T18:49:21.833Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-25T18:49:21.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-25T18:49:22.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-25T18:49:22.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-25T18:49:22.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-25T18:49:22.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-11-25T18:49:22.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-25T18:49:22.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-25T18:49:23.078Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-25T18:49:23.236Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-25T18:49:23.386Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-25T18:49:23.588Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-25T18:49:23.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-25T18:49:23.913Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-25T18:49:24.091Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-25T18:49:24.260Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-11-25T18:49:24.442Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-25T18:49:24.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-25T18:49:24.893Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-25T18:49:25.049Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-25T18:49:25.180Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-580 [Pipeline] echo [2020-11-25T18:49:25.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-580 [Pipeline] echo [2020-11-25T18:49:25.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-580 [Pipeline] echo [2020-11-25T18:49:25.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be0814dca565b2fdf5e7261a50423b4d2810dcc8 [Pipeline] echo [2020-11-25T18:49:25.725Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be0814d [Pipeline] echo [2020-11-25T18:49:25.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-25T18:49:26.129Z] provisioning config files... [2020-11-25T18:49:26.158Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/config6329528621904094261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:49:26.602Z] ---> docker-login.sh [2020-11-25T18:49:26.602Z] nexus3.edgexfoundry.org:10001 [2020-11-25T18:49:26.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:49:27.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:49:27.129Z] Configure a credential helper to remove this warning. See [2020-11-25T18:49:27.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:49:27.129Z] [2020-11-25T18:49:27.129Z] Login Succeeded [2020-11-25T18:49:27.129Z] nexus3.edgexfoundry.org:10002 [2020-11-25T18:49:27.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:49:27.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:49:27.393Z] Configure a credential helper to remove this warning. See [2020-11-25T18:49:27.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:49:27.393Z] [2020-11-25T18:49:27.393Z] Login Succeeded [2020-11-25T18:49:27.393Z] nexus3.edgexfoundry.org:10003 [2020-11-25T18:49:27.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:49:27.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:49:27.393Z] Configure a credential helper to remove this warning. See [2020-11-25T18:49:27.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:49:27.393Z] [2020-11-25T18:49:27.393Z] Login Succeeded [2020-11-25T18:49:27.393Z] nexus3.edgexfoundry.org:10004 [2020-11-25T18:49:27.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:49:27.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:49:27.658Z] Configure a credential helper to remove this warning. See [2020-11-25T18:49:27.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:49:27.658Z] [2020-11-25T18:49:27.658Z] Login Succeeded [2020-11-25T18:49:27.658Z] docker.io [2020-11-25T18:49:27.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:49:28.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:49:28.234Z] Configure a credential helper to remove this warning. See [2020-11-25T18:49:28.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:49:28.234Z] [2020-11-25T18:49:28.235Z] Login Succeeded [2020-11-25T18:49:28.235Z] ---> docker-login.sh ends [Pipeline] } [2020-11-25T18:49:28.260Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-25T18:49:29.379Z] + git log --format=format:%s -1 be0814dca565b2fdf5e7261a50423b4d2810dcc8 [Pipeline] echo [2020-11-25T18:49:29.454Z] GIT_COMMIT: be0814dca565b2fdf5e7261a50423b4d2810dcc8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-11-25T18:49:29.531Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:49:30.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-25T18:49:30.658Z] [2020-11-25T18:49:30.658Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:49:31.063Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-25T18:49:31.063Z] latest: Pulling from edgex-devops/git-semver [2020-11-25T18:49:31.063Z] 31603596830f: Pulling fs layer [2020-11-25T18:49:31.063Z] 2a8b12db71e7: Pulling fs layer [2020-11-25T18:49:31.063Z] 6ca5941a6612: Pulling fs layer [2020-11-25T18:49:31.063Z] ecc8261a40a4: Pulling fs layer [2020-11-25T18:49:31.063Z] ecc8261a40a4: Waiting [2020-11-25T18:49:31.063Z] 2a8b12db71e7: Verifying Checksum [2020-11-25T18:49:31.063Z] 2a8b12db71e7: Download complete [2020-11-25T18:49:31.063Z] 31603596830f: Download complete [2020-11-25T18:49:31.328Z] ecc8261a40a4: Verifying Checksum [2020-11-25T18:49:31.328Z] ecc8261a40a4: Download complete [2020-11-25T18:49:31.328Z] 6ca5941a6612: Verifying Checksum [2020-11-25T18:49:31.328Z] 6ca5941a6612: Download complete [2020-11-25T18:49:31.591Z] 31603596830f: Pull complete [2020-11-25T18:49:31.591Z] 2a8b12db71e7: Pull complete [2020-11-25T18:49:32.544Z] 6ca5941a6612: Pull complete [2020-11-25T18:49:32.807Z] ecc8261a40a4: Pull complete [2020-11-25T18:49:32.807Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-25T18:49:32.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-25T18:49:32.807Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-25T18:49:32.939Z] prd-centos7-docker-4c-2g-13424 does not seem to be running inside a container [2020-11-25T18:49:33.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-580 -v /w/workspace/ndry_app-functions-sdk-go_PR-580:/w/workspace/ndry_app-functions-sdk-go_PR-580:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-580@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-25T18:49:35.310Z] $ docker top ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-25T18:49:35.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-25T18:49:35.710Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-25T18:49:35.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-25T18:49:35.932Z] $ docker exec ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 ssh-agent [2020-11-25T18:49:36.096Z] SSH_AUTH_SOCK=/tmp/ssh-6xxTlfK29kGk/agent.11 [2020-11-25T18:49:36.096Z] SSH_AGENT_PID=16 [2020-11-25T18:49:36.107Z] Running ssh-add (command line suppressed) [2020-11-25T18:49:36.224Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/private_key_5908745952738668658.key (/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/private_key_5908745952738668658.key) [2020-11-25T18:49:36.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-25T18:49:36.671Z] + git tag --points-at HEAD [Pipeline] } [2020-11-25T18:49:36.709Z] $ docker exec --env ******** --env ******** ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 ssh-agent -k [2020-11-25T18:49:36.817Z] unset SSH_AUTH_SOCK; [2020-11-25T18:49:36.818Z] unset SSH_AGENT_PID; [2020-11-25T18:49:36.818Z] echo Agent pid 16 killed; [2020-11-25T18:49:36.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-25T18:49:37.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-25T18:49:37.070Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-25T18:49:37.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-25T18:49:37.237Z] $ docker exec ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 ssh-agent [2020-11-25T18:49:37.397Z] SSH_AUTH_SOCK=/tmp/ssh-VyDM0DbqEOF4/agent.44 [2020-11-25T18:49:37.397Z] SSH_AGENT_PID=50 [2020-11-25T18:49:37.405Z] Running ssh-add (command line suppressed) [2020-11-25T18:49:37.526Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/private_key_108423384608114445.key (/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/private_key_108423384608114445.key) [2020-11-25T18:49:37.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-25T18:49:37.963Z] + git semver init [2020-11-25T18:49:37.963Z] # -> Open(): unable to determine branch for HEAD [2020-11-25T18:49:37.963Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-580/.git [2020-11-25T18:49:37.963Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-580 [2020-11-25T18:49:37.963Z] # $SEMVER_REMOTE_NAME = origin [2020-11-25T18:49:37.963Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-25T18:49:37.963Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-25T18:49:37.963Z] # $SEMVER_BRANCH = PR-580 [2020-11-25T18:49:37.963Z] # $SEMVER_TEMP = /tmp/semver-580933561 [2020-11-25T18:49:37.963Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-11-25T18:49:40.524Z] # '/tmp/semver-580933561' -> '/w/workspace/ndry_app-functions-sdk-go_PR-580/.semver' [2020-11-25T18:49:40.524Z] # -> Force: false [2020-11-25T18:49:40.524Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-580/.semver [Pipeline] } [2020-11-25T18:49:40.551Z] $ docker exec --env ******** --env ******** ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 ssh-agent -k [2020-11-25T18:49:40.668Z] unset SSH_AUTH_SOCK; [2020-11-25T18:49:40.668Z] unset SSH_AGENT_PID; [2020-11-25T18:49:40.668Z] echo Agent pid 50 killed; [2020-11-25T18:49:40.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-25T18:49:41.296Z] + git semver [Pipeline] } [2020-11-25T18:49:41.346Z] $ docker stop --time=1 ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 [2020-11-25T18:49:42.841Z] $ docker rm -f ad55bc6fccc8a7afc06cd3f292d8a54f0c1315e79a3f8d043769a35cb740d343 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-25T18:49:43.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-25T18:49:43.955Z] Stashed 1 file(s) [Pipeline] echo [2020-11-25T18:49:43.980Z] [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-25T18:49:59.946Z] Still waiting to schedule task [2020-11-25T18:49:59.947Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13424’ [2020-11-25T18:49:59.982Z] Still waiting to schedule task [2020-11-25T18:49:59.982Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-11-25T18:51:51.632Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13425 in /w/workspace/ndry_app-functions-sdk-go_PR-580 [Pipeline] { [Pipeline] ws [2020-11-25T18:51:51.757Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-25T18:51:56.652Z] using credential edgex-jenkins-ssh [2020-11-25T18:51:56.719Z] Cloning the remote Git repository [2020-11-25T18:51:56.786Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:51:56.893Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-11-25T18:51:56.992Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:51:56.993Z] > git --version # timeout=10 [2020-11-25T18:51:57.011Z] > git --version # 'git version 2.17.1' [2020-11-25T18:51:57.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:51:57.088Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-25T18:52:00.625Z] Merging remotes/origin/master commit 047711cea66f7c2c2ab75d9c76bedadd5c03776a into PR head commit be0814dca565b2fdf5e7261a50423b4d2810dcc8 [2020-11-25T18:52:00.036Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-25T18:52:00.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-25T18:52:00.085Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-25T18:52:00.119Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:52:00.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:52:00.131Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-25T18:52:00.647Z] > git config core.sparsecheckout # timeout=10 [2020-11-25T18:52:00.662Z] > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # timeout=10 [2020-11-25T18:52:00.849Z] Merge succeeded, producing be0814dca565b2fdf5e7261a50423b4d2810dcc8 [2020-11-25T18:52:00.850Z] Checking out Revision be0814dca565b2fdf5e7261a50423b4d2810dcc8 (PR-580) [2020-11-25T18:52:00.773Z] > git remote # timeout=10 [2020-11-25T18:52:00.792Z] > git config --get remote.origin.url # timeout=10 [2020-11-25T18:52:00.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:52:00.815Z] > git merge 047711cea66f7c2c2ab75d9c76bedadd5c03776a # timeout=10 [2020-11-25T18:52:00.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-25T18:52:00.861Z] > git config core.sparsecheckout # timeout=10 [2020-11-25T18:52:00.874Z] > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # timeout=10 [2020-11-25T18:52:05.253Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-11-25T18:52:05.310Z] > git --version # timeout=10 [2020-11-25T18:52:05.323Z] > git --version # 'git version 2.17.1' [2020-11-25T18:52:05.333Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-25T18:52:07.357Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-25T18:52:07.787Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-25T18:52:08.155Z] + true [2020-11-25T18:52:08.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-25T18:52:11.050Z] provisioning config files... [2020-11-25T18:52:11.098Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config7633335775142203048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:52:11.564Z] ---> docker-login.sh [2020-11-25T18:52:11.564Z] nexus3.edgexfoundry.org:10001 [2020-11-25T18:52:12.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:12.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:12.824Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:12.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:12.824Z] [2020-11-25T18:52:12.824Z] Login Succeeded [2020-11-25T18:52:12.824Z] nexus3.edgexfoundry.org:10002 [2020-11-25T18:52:13.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:13.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:13.373Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:13.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:13.373Z] [2020-11-25T18:52:13.373Z] Login Succeeded [2020-11-25T18:52:13.373Z] nexus3.edgexfoundry.org:10003 [2020-11-25T18:52:13.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:13.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:13.925Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:13.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:13.925Z] [2020-11-25T18:52:13.925Z] Login Succeeded [2020-11-25T18:52:13.925Z] nexus3.edgexfoundry.org:10004 [2020-11-25T18:52:14.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:14.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:14.474Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:14.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:14.474Z] [2020-11-25T18:52:14.474Z] Login Succeeded [2020-11-25T18:52:14.474Z] docker.io [2020-11-25T18:52:14.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:15.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:15.345Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:15.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:15.345Z] [2020-11-25T18:52:15.345Z] Login Succeeded [2020-11-25T18:52:15.345Z] ---> docker-login.sh ends [Pipeline] } [2020-11-25T18:52:15.376Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-25T18:52:15.953Z] ========================================================= [2020-11-25T18:52:15.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-25T18:52:15.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:52:16.369Z] + 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-25T18:52:16.986Z] Sending build context to Docker daemon 19.17MB [2020-11-25T18:52:16.986Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-25T18:52:16.986Z] Step 2/8 : FROM ${BASE} [2020-11-25T18:52:16.986Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-25T18:52:16.986Z] b538f80385f9: Pulling fs layer [2020-11-25T18:52:16.986Z] 74f711af9a0d: Pulling fs layer [2020-11-25T18:52:16.986Z] 99f96fe45779: Pulling fs layer [2020-11-25T18:52:16.986Z] 8529a6b9a6be: Pulling fs layer [2020-11-25T18:52:16.986Z] 45590311c82a: Pulling fs layer [2020-11-25T18:52:16.986Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-25T18:52:16.986Z] 209524e5b208: Pulling fs layer [2020-11-25T18:52:16.986Z] 8529a6b9a6be: Waiting [2020-11-25T18:52:16.986Z] 45590311c82a: Waiting [2020-11-25T18:52:16.986Z] 69ca0ff8b7b3: Waiting [2020-11-25T18:52:16.986Z] 209524e5b208: Waiting [2020-11-25T18:52:16.986Z] 99f96fe45779: Download complete [2020-11-25T18:52:16.986Z] 74f711af9a0d: Download complete [2020-11-25T18:52:17.265Z] 45590311c82a: Verifying Checksum [2020-11-25T18:52:17.265Z] 45590311c82a: Download complete [2020-11-25T18:52:17.265Z] b538f80385f9: Verifying Checksum [2020-11-25T18:52:17.265Z] b538f80385f9: Download complete [2020-11-25T18:52:17.265Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-25T18:52:17.265Z] 69ca0ff8b7b3: Download complete [2020-11-25T18:52:17.874Z] b538f80385f9: Pull complete [2020-11-25T18:52:18.488Z] 74f711af9a0d: Pull complete [2020-11-25T18:52:18.768Z] 99f96fe45779: Pull complete [2020-11-25T18:52:20.233Z] 209524e5b208: Verifying Checksum [2020-11-25T18:52:20.233Z] 209524e5b208: Download complete [2020-11-25T18:52:21.209Z] 8529a6b9a6be: Verifying Checksum [2020-11-25T18:52:21.209Z] 8529a6b9a6be: Download complete [2020-11-25T18:52:22.320Z] Running on prd-centos7-docker-4c-2g-13426 in /w/workspace/ndry_app-functions-sdk-go_PR-580 [Pipeline] { [Pipeline] ws [2020-11-25T18:52:22.480Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-25T18:52:24.886Z] using credential edgex-jenkins-ssh [2020-11-25T18:52:24.942Z] Cloning the remote Git repository [2020-11-25T18:52:24.972Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:52:25.038Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-11-25T18:52:25.097Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:52:25.097Z] > git --version # timeout=10 [2020-11-25T18:52:25.104Z] > git --version # 'git version 2.24.3' [2020-11-25T18:52:25.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:52:25.146Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-25T18:52:26.956Z] Merging remotes/origin/master commit 047711cea66f7c2c2ab75d9c76bedadd5c03776a into PR head commit be0814dca565b2fdf5e7261a50423b4d2810dcc8 [2020-11-25T18:52:27.059Z] Merge succeeded, producing be0814dca565b2fdf5e7261a50423b4d2810dcc8 [2020-11-25T18:52:27.060Z] Checking out Revision be0814dca565b2fdf5e7261a50423b4d2810dcc8 (PR-580) [2020-11-25T18:52:26.539Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-25T18:52:26.547Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-25T18:52:26.558Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-25T18:52:26.573Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-25T18:52:26.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:52:26.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-25T18:52:26.973Z] > git config core.sparsecheckout # timeout=10 [2020-11-25T18:52:26.980Z] > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # timeout=10 [2020-11-25T18:52:27.029Z] > git remote # timeout=10 [2020-11-25T18:52:27.035Z] > git config --get remote.origin.url # timeout=10 [2020-11-25T18:52:27.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-25T18:52:27.046Z] > git merge 047711cea66f7c2c2ab75d9c76bedadd5c03776a # timeout=10 [2020-11-25T18:52:27.055Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-25T18:52:27.065Z] > git config core.sparsecheckout # timeout=10 [2020-11-25T18:52:27.069Z] > git checkout -f be0814dca565b2fdf5e7261a50423b4d2810dcc8 # timeout=10 [2020-11-25T18:52:30.722Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-11-25T18:52:30.759Z] > git --version # timeout=10 [2020-11-25T18:52:30.766Z] > git --version # 'git version 2.24.3' [2020-11-25T18:52:30.772Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [2020-11-25T18:52:31.409Z] 8529a6b9a6be: Pull complete [2020-11-25T18:52:31.410Z] 45590311c82a: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-11-25T18:52:31.684Z] 69ca0ff8b7b3: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-25T18:52:32.457Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-25T18:52:32.842Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-25T18:52:33.169Z] + sudo service docker restart [2020-11-25T18:52:33.169Z] + true [2020-11-25T18:52:33.169Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-25T18:52:34.719Z] provisioning config files... [2020-11-25T18:52:34.747Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/1@tmp/config7183979737523408904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:52:35.180Z] ---> docker-login.sh [2020-11-25T18:52:35.180Z] nexus3.edgexfoundry.org:10001 [2020-11-25T18:52:35.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:35.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:35.443Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:35.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:35.443Z] [2020-11-25T18:52:35.443Z] Login Succeeded [2020-11-25T18:52:35.443Z] nexus3.edgexfoundry.org:10002 [2020-11-25T18:52:35.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:35.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:35.708Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:35.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:35.708Z] [2020-11-25T18:52:35.708Z] Login Succeeded [2020-11-25T18:52:35.708Z] nexus3.edgexfoundry.org:10003 [2020-11-25T18:52:35.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:35.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:35.708Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:35.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:35.708Z] [2020-11-25T18:52:35.708Z] Login Succeeded [2020-11-25T18:52:35.708Z] nexus3.edgexfoundry.org:10004 [2020-11-25T18:52:35.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:35.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:35.973Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:35.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:35.973Z] [2020-11-25T18:52:35.973Z] Login Succeeded [2020-11-25T18:52:35.973Z] docker.io [2020-11-25T18:52:36.010Z] 209524e5b208: Pull complete [2020-11-25T18:52:36.010Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-25T18:52:36.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-25T18:52:36.010Z] ---> 5bddaf1c2fca [2020-11-25T18:52:36.010Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-25T18:52:36.010Z] latest: Pulling from library/docker [2020-11-25T18:52:36.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-25T18:52:36.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-25T18:52:36.237Z] Configure a credential helper to remove this warning. See [2020-11-25T18:52:36.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-25T18:52:36.237Z] [2020-11-25T18:52:36.237Z] Login Succeeded [2020-11-25T18:52:36.237Z] ---> docker-login.sh ends [Pipeline] } [2020-11-25T18:52:36.259Z] Deleting 1 temporary files [2020-11-25T18:52:36.283Z] 5f621e34cdf4: Pulling fs layer [2020-11-25T18:52:36.283Z] 85db56a05063: Pulling fs layer [2020-11-25T18:52:36.283Z] ccb67d6aeaaa: Pulling fs layer [2020-11-25T18:52:36.283Z] a0b19fc83503: Pulling fs layer [2020-11-25T18:52:36.283Z] 8eb508b41278: Pulling fs layer [2020-11-25T18:52:36.283Z] 37236713561e: Pulling fs layer [2020-11-25T18:52:36.283Z] 07c93f2b1b56: Pulling fs layer [2020-11-25T18:52:36.283Z] a0b19fc83503: Waiting [2020-11-25T18:52:36.283Z] 37236713561e: Waiting [2020-11-25T18:52:36.283Z] 07c93f2b1b56: Waiting [2020-11-25T18:52:36.283Z] 8eb508b41278: Waiting [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2020-11-25T18:52:36.560Z] ccb67d6aeaaa: Verifying Checksum [2020-11-25T18:52:36.560Z] ccb67d6aeaaa: Download complete [2020-11-25T18:52:36.560Z] 85db56a05063: Verifying Checksum [2020-11-25T18:52:36.560Z] 85db56a05063: Download complete [2020-11-25T18:52:36.560Z] 5f621e34cdf4: Verifying Checksum [2020-11-25T18:52:36.560Z] 5f621e34cdf4: Download complete [Pipeline] unstash [Pipeline] echo [2020-11-25T18:52:36.834Z] ========================================================= [2020-11-25T18:52:36.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-25T18:52:36.834Z] ========================================================= [2020-11-25T18:52:36.839Z] 37236713561e: Verifying Checksum [2020-11-25T18:52:36.839Z] 37236713561e: Download complete [2020-11-25T18:52:36.839Z] 8eb508b41278: Verifying Checksum [2020-11-25T18:52:36.839Z] 8eb508b41278: Download complete [2020-11-25T18:52:36.839Z] 07c93f2b1b56: Download complete [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:52:37.237Z] + 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-25T18:52:37.443Z] 5f621e34cdf4: Pull complete [2020-11-25T18:52:37.501Z] Sending build context to Docker daemon 19.17MB [2020-11-25T18:52:37.501Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-25T18:52:37.501Z] Step 2/8 : FROM ${BASE} [2020-11-25T18:52:37.501Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-25T18:52:37.501Z] df20fa9351a1: Pulling fs layer [2020-11-25T18:52:37.501Z] ed8968b2872e: Pulling fs layer [2020-11-25T18:52:37.501Z] a92cc7c5fd73: Pulling fs layer [2020-11-25T18:52:37.501Z] e871e8e8d7a9: Pulling fs layer [2020-11-25T18:52:37.501Z] e73272ec9a57: Pulling fs layer [2020-11-25T18:52:37.501Z] 1e910a182e73: Pulling fs layer [2020-11-25T18:52:37.501Z] 4e634b169226: Pulling fs layer [2020-11-25T18:52:37.501Z] e871e8e8d7a9: Waiting [2020-11-25T18:52:37.501Z] e73272ec9a57: Waiting [2020-11-25T18:52:37.501Z] 1e910a182e73: Waiting [2020-11-25T18:52:37.501Z] 4e634b169226: Waiting [2020-11-25T18:52:37.501Z] a92cc7c5fd73: Download complete [2020-11-25T18:52:37.501Z] ed8968b2872e: Verifying Checksum [2020-11-25T18:52:37.501Z] ed8968b2872e: Download complete [2020-11-25T18:52:37.501Z] e73272ec9a57: Verifying Checksum [2020-11-25T18:52:37.501Z] e73272ec9a57: Download complete [2020-11-25T18:52:37.501Z] 1e910a182e73: Verifying Checksum [2020-11-25T18:52:37.501Z] 1e910a182e73: Download complete [2020-11-25T18:52:37.765Z] df20fa9351a1: Verifying Checksum [2020-11-25T18:52:37.765Z] df20fa9351a1: Download complete [2020-11-25T18:52:38.026Z] df20fa9351a1: Pull complete [2020-11-25T18:52:38.026Z] ed8968b2872e: Pull complete [2020-11-25T18:52:38.047Z] a0b19fc83503: Verifying Checksum [2020-11-25T18:52:38.047Z] a0b19fc83503: Download complete [2020-11-25T18:52:38.047Z] 85db56a05063: Pull complete [2020-11-25T18:52:38.287Z] a92cc7c5fd73: Pull complete [2020-11-25T18:52:38.324Z] ccb67d6aeaaa: Pull complete [2020-11-25T18:52:39.681Z] 4e634b169226: Verifying Checksum [2020-11-25T18:52:39.681Z] 4e634b169226: Download complete [2020-11-25T18:52:39.944Z] e871e8e8d7a9: Verifying Checksum [2020-11-25T18:52:39.944Z] e871e8e8d7a9: Download complete [2020-11-25T18:52:42.655Z] a0b19fc83503: Pull complete [2020-11-25T18:52:42.655Z] 8eb508b41278: Pull complete [2020-11-25T18:52:42.655Z] 37236713561e: Pull complete [2020-11-25T18:52:42.926Z] 07c93f2b1b56: Pull complete [2020-11-25T18:52:42.926Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-25T18:52:42.926Z] Status: Downloaded newer image for docker:latest [2020-11-25T18:52:45.272Z] e871e8e8d7a9: Pull complete [2020-11-25T18:52:45.272Z] e73272ec9a57: Pull complete [2020-11-25T18:52:45.272Z] 1e910a182e73: Pull complete [2020-11-25T18:52:49.649Z] ---> abdc87984d75 [2020-11-25T18:52:49.649Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-25T18:52:49.649Z] ---> Running in 559bf7cc496f [2020-11-25T18:52:49.649Z] Removing intermediate container 559bf7cc496f [2020-11-25T18:52:49.649Z] ---> 61a4477f2f89 [2020-11-25T18:52:49.649Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-25T18:52:49.649Z] ---> Running in 00bb025f8926 [2020-11-25T18:52:51.079Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-25T18:52:52.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-25T18:52:52.645Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-25T18:52:52.645Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-25T18:52:52.645Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-25T18:52:52.645Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-25T18:52:52.916Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-25T18:52:52.916Z] Executing busybox-1.31.1-r16.trigger [2020-11-25T18:52:52.916Z] OK: 144 MiB in 44 packages [2020-11-25T18:52:54.355Z] Removing intermediate container 00bb025f8926 [2020-11-25T18:52:54.355Z] ---> b1e4f1899a46 [2020-11-25T18:52:54.355Z] Step 6/8 : WORKDIR /build [2020-11-25T18:52:54.355Z] ---> Running in 2ddef3411528 [2020-11-25T18:52:54.626Z] Removing intermediate container 2ddef3411528 [2020-11-25T18:52:54.626Z] ---> 5756f0e813e7 [2020-11-25T18:52:54.626Z] Step 7/8 : COPY go.mod . [2020-11-25T18:52:55.224Z] ---> e9f92f3dbce6 [2020-11-25T18:52:55.224Z] Step 8/8 : RUN go mod download [2020-11-25T18:52:55.330Z] 4e634b169226: Pull complete [2020-11-25T18:52:55.330Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-25T18:52:55.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-25T18:52:55.330Z] ---> f7629b54cfaa [2020-11-25T18:52:55.330Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-25T18:52:55.330Z] latest: Pulling from library/docker [2020-11-25T18:52:55.330Z] 188c0c94c7c5: Pulling fs layer [2020-11-25T18:52:55.330Z] 0c7c675703d6: Pulling fs layer [2020-11-25T18:52:55.330Z] cc8c12a437cb: Pulling fs layer [2020-11-25T18:52:55.330Z] c5dafad2182a: Pulling fs layer [2020-11-25T18:52:55.330Z] 5aa711733414: Pulling fs layer [2020-11-25T18:52:55.330Z] 058f73b55e4b: Pulling fs layer [2020-11-25T18:52:55.330Z] 8c9c664faf12: Pulling fs layer [2020-11-25T18:52:55.330Z] 5aa711733414: Waiting [2020-11-25T18:52:55.330Z] c5dafad2182a: Waiting [2020-11-25T18:52:55.330Z] 058f73b55e4b: Waiting [2020-11-25T18:52:55.330Z] 8c9c664faf12: Waiting [2020-11-25T18:52:55.330Z] cc8c12a437cb: Download complete [2020-11-25T18:52:55.330Z] 0c7c675703d6: Verifying Checksum [2020-11-25T18:52:55.330Z] 0c7c675703d6: Download complete [2020-11-25T18:52:55.330Z] 188c0c94c7c5: Verifying Checksum [2020-11-25T18:52:55.330Z] 188c0c94c7c5: Download complete [2020-11-25T18:52:55.499Z] ---> Running in 05b1a789089d [2020-11-25T18:52:55.606Z] 058f73b55e4b: Verifying Checksum [2020-11-25T18:52:55.607Z] 058f73b55e4b: Download complete [2020-11-25T18:52:55.607Z] 5aa711733414: Verifying Checksum [2020-11-25T18:52:55.607Z] 5aa711733414: Download complete [2020-11-25T18:52:55.607Z] 8c9c664faf12: Verifying Checksum [2020-11-25T18:52:55.607Z] 8c9c664faf12: Download complete [2020-11-25T18:52:55.880Z] 188c0c94c7c5: Pull complete [2020-11-25T18:52:56.155Z] 0c7c675703d6: Pull complete [2020-11-25T18:52:56.155Z] cc8c12a437cb: Pull complete [2020-11-25T18:52:56.419Z] c5dafad2182a: Verifying Checksum [2020-11-25T18:52:56.419Z] c5dafad2182a: Download complete [2020-11-25T18:52:59.012Z] c5dafad2182a: Pull complete [2020-11-25T18:52:59.012Z] 5aa711733414: Pull complete [2020-11-25T18:52:59.012Z] 058f73b55e4b: Pull complete [2020-11-25T18:52:59.276Z] 8c9c664faf12: Pull complete [2020-11-25T18:52:59.276Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-25T18:52:59.276Z] Status: Downloaded newer image for docker:latest [2020-11-25T18:53:00.688Z] ---> 95b9e53bfaf2 [2020-11-25T18:53:00.688Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-25T18:53:00.688Z] ---> Running in 68e2c3d6c66b [2020-11-25T18:53:00.958Z] Removing intermediate container 68e2c3d6c66b [2020-11-25T18:53:00.958Z] ---> fd74f7f698ae [2020-11-25T18:53:00.958Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-25T18:53:00.958Z] ---> Running in ef6cfa48913e [2020-11-25T18:53:01.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-25T18:53:02.881Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-25T18:53:03.843Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-25T18:53:03.843Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-25T18:53:04.106Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-25T18:53:04.106Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-25T18:53:04.371Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-25T18:53:04.371Z] Executing busybox-1.31.1-r16.trigger [2020-11-25T18:53:04.371Z] OK: 167 MiB in 44 packages [2020-11-25T18:53:04.950Z] Removing intermediate container ef6cfa48913e [2020-11-25T18:53:04.950Z] ---> 9486605cd0ae [2020-11-25T18:53:04.950Z] Step 6/8 : WORKDIR /build [2020-11-25T18:53:04.950Z] ---> Running in 5190970df8ba [2020-11-25T18:53:05.212Z] Removing intermediate container 5190970df8ba [2020-11-25T18:53:05.212Z] ---> 17dc6d288aa1 [2020-11-25T18:53:05.212Z] Step 7/8 : COPY go.mod . [2020-11-25T18:53:05.478Z] ---> 71b3005e5dfa [2020-11-25T18:53:05.478Z] Step 8/8 : RUN go mod download [2020-11-25T18:53:05.478Z] ---> Running in 7e446855a523 [2020-11-25T18:53:27.842Z] Removing intermediate container 05b1a789089d [2020-11-25T18:53:27.842Z] ---> d53e9ad90f1d [2020-11-25T18:53:27.842Z] Successfully built d53e9ad90f1d [2020-11-25T18:53:27.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:53:28.224Z] + docker inspect -f . ci-base-image-arm64 [2020-11-25T18:53:28.224Z] . [Pipeline] withDockerContainer [2020-11-25T18:53:28.483Z] prd-ubuntu18.04-docker-arm64-4c-16g-13425 does not seem to be running inside a container [2020-11-25T18:53:28.582Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-25T18:53:30.008Z] $ docker top c05bbda7ec976e435c43ef29f4847ee3269b62ba1ce4af6fd07839bea75b6600 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-25T18:53:31.107Z] + go version [2020-11-25T18:53:31.107Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-25T18:53:31.157Z] $ docker stop --time=1 c05bbda7ec976e435c43ef29f4847ee3269b62ba1ce4af6fd07839bea75b6600 [2020-11-25T18:53:32.135Z] Removing intermediate container 7e446855a523 [2020-11-25T18:53:32.136Z] ---> efbd9150a07b [2020-11-25T18:53:32.136Z] Successfully built efbd9150a07b [2020-11-25T18:53:32.136Z] Successfully tagged ci-base-image-x86_64:latest [2020-11-25T18:53:33.005Z] $ docker rm -f c05bbda7ec976e435c43ef29f4847ee3269b62ba1ce4af6fd07839bea75b6600 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [2020-11-25T18:53:33.973Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-25T18:53:33.974Z] . [Pipeline] withDockerContainer [2020-11-25T18:53:34.150Z] prd-centos7-docker-4c-2g-13426 does not seem to be running inside a container [2020-11-25T18:53:34.206Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-25T18:53:35.004Z] $ docker top 7caf485fc7904eb0a803efdd11b1c30a1c61d39b974bb52070d231163ffc6fd4 -eo pid,comm [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2020-11-25T18:53:35.552Z] + docker inspect -f . ci-base-image-arm64 [2020-11-25T18:53:35.553Z] . [Pipeline] withDockerContainer [2020-11-25T18:53:35.600Z] + go version [2020-11-25T18:53:35.600Z] go version go1.15.2 linux/amd64 [2020-11-25T18:53:35.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-13425 does not seem to be running inside a container [2020-11-25T18:53:35.881Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-25T18:53:37.178Z] $ docker top cab0e917f74b07607e1df97cb36f3e591ab00c5865216dfd884b9dae0684d3a7 -eo pid,comm [Pipeline] { [Pipeline] } [2020-11-25T18:53:37.578Z] $ docker stop --time=1 7caf485fc7904eb0a803efdd11b1c30a1c61d39b974bb52070d231163ffc6fd4 [2020-11-25T18:53:38.946Z] $ docker rm -f 7caf485fc7904eb0a803efdd11b1c30a1c61d39b974bb52070d231163ffc6fd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2020-11-25T18:53:39.827Z] + make test [2020-11-25T18:53:39.827Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] sh [2020-11-25T18:53:40.131Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-25T18:53:40.131Z] . [Pipeline] withDockerContainer [2020-11-25T18:53:40.260Z] prd-centos7-docker-4c-2g-13426 does not seem to be running inside a container [2020-11-25T18:53:40.316Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-25T18:53:41.067Z] $ docker top 42eeacbe42cf71fb601eba28b6b1289bb4fba0ab18a8be8dd385761acbf09865 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-25T18:53:41.629Z] + make test [2020-11-25T18:53:41.629Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-25T18:53:41.816Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-25T18:53:43.025Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-25T18:53:49.731Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.023s coverage: 86.2% of statements [2020-11-25T18:54:04.020Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.055s coverage: 86.2% of statements [2020-11-25T18:54:04.737Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.018s coverage: 52.0% of statements [2020-11-25T18:54:04.737Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-25T18:54:04.737Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-25T18:54:04.737Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.039s coverage: 54.7% of statements [2020-11-25T18:54:04.737Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-25T18:54:04.737Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.031s coverage: 69.1% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.438s coverage: 61.6% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.013s coverage: 100.0% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.007s coverage: 8.8% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.916s coverage: 75.0% of statements [2020-11-25T18:54:19.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.011s coverage: 89.7% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.010s coverage: 80.5% of statements [2020-11-25T18:54:19.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-11-25T18:54:34.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.035s coverage: 71.0% of statements [2020-11-25T18:54:34.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-11-25T18:54:34.623Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-25T18:54:37.211Z] gofmt -l . [2020-11-25T18:54:37.211Z] [ "`gofmt -l .`" = "" ] [2020-11-25T18:54:37.211Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-25T18:54:37.511Z] $ docker stop --time=1 42eeacbe42cf71fb601eba28b6b1289bb4fba0ab18a8be8dd385761acbf09865 [2020-11-25T18:54:39.271Z] $ docker rm -f 42eeacbe42cf71fb601eba28b6b1289bb4fba0ab18a8be8dd385761acbf09865 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-25T18:54:40.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-25T18:54:40.397Z] 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-25T18:54:43.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.066s coverage: 52.0% of statements [2020-11-25T18:54:43.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-25T18:54:43.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-25T18:54:43.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.119s coverage: 54.7% of statements [2020-11-25T18:54:43.074Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-25T18:54:43.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.056s coverage: 69.1% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.444s coverage: 61.6% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.041s coverage: 100.0% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.016s coverage: 97.7% of statements [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-25T18:54:53.314Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-25T18:54:53.314Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements [2020-11-25T18:54:53.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.941s coverage: 75.0% of statements [2020-11-25T18:54:53.599Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-25T18:54:53.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements [2020-11-25T18:54:53.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.026s coverage: 88.9% of statements [2020-11-25T18:54:53.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.033s coverage: 80.5% of statements [2020-11-25T18:54:53.599Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.023s coverage: 71.7% of statements [2020-11-25T18:55:20.368Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 71.0% of statements [2020-11-25T18:55:20.369Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-11-25T18:55:20.369Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-25T18:55:32.789Z] gofmt -l . [2020-11-25T18:55:32.789Z] [ "`gofmt -l .`" = "" ] [2020-11-25T18:55:32.789Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-25T18:55:32.837Z] $ docker stop --time=1 cab0e917f74b07607e1df97cb36f3e591ab00c5865216dfd884b9dae0684d3a7 [2020-11-25T18:55:34.844Z] $ docker rm -f cab0e917f74b07607e1df97cb36f3e591ab00c5865216dfd884b9dae0684d3a7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-25T18:55:35.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-25T18:55:35.891Z] Warning: overwriting stash ‘coverage-report’ [2020-11-25T18:55:36.680Z] 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-25T18:55:39.487Z] provisioning config files... [2020-11-25T18:55:39.497Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/config4747235294113166308tmp [Pipeline] { [Pipeline] sh [2020-11-25T18:55:39.946Z] + set +x [2020-11-25T18:55:39.946Z] + curl -s https://codecov.io/bash [2020-11-25T18:55:39.946Z] + bash -s -- [2020-11-25T18:55:40.210Z] [2020-11-25T18:55:40.210Z] _____ _ [2020-11-25T18:55:40.210Z] / ____| | | [2020-11-25T18:55:40.210Z] | | ___ __| | ___ ___ _____ __ [2020-11-25T18:55:40.210Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-25T18:55:40.210Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-25T18:55:40.210Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-25T18:55:40.210Z] Bash-20201124-79cbc08 [2020-11-25T18:55:40.210Z] [2020-11-25T18:55:40.210Z] [2020-11-25T18:55:40.210Z] ==> Jenkins CI detected. [2020-11-25T18:55:40.210Z] project root: . [2020-11-25T18:55:40.210Z] --> token set from env [2020-11-25T18:55:40.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-25T18:55:40.210Z] ==> Running gcov in . (disable via -X gcov) [2020-11-25T18:55:40.210Z] ==> Python coveragepy not found [2020-11-25T18:55:40.210Z] ==> Searching for coverage reports in: [2020-11-25T18:55:40.210Z] + . [2020-11-25T18:55:40.210Z] -> Found 1 reports [2020-11-25T18:55:40.210Z] ==> Detecting git/mercurial file structure [2020-11-25T18:55:40.210Z] ==> Reading reports [2020-11-25T18:55:40.210Z] + ./coverage.out bytes=90550 [2020-11-25T18:55:40.210Z] ==> Appending adjustments [2020-11-25T18:55:40.210Z] https://docs.codecov.io/docs/fixing-reports [2020-11-25T18:55:40.796Z] + Found adjustments [2020-11-25T18:55:40.796Z] ==> Gzipping contents [2020-11-25T18:55:40.796Z] 16K /tmp/codecov.jTnLUn.gz [2020-11-25T18:55:40.796Z] ==> Uploading reports [2020-11-25T18:55:40.796Z] url: https://codecov.io [2020-11-25T18:55:40.796Z] query: branch=PR-580&commit=be0814dca565b2fdf5e7261a50423b4d2810dcc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=580&job=&cmd_args= [2020-11-25T18:55:40.796Z] -> Pinging Codecov [2020-11-25T18:55:40.796Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-580&commit=be0814dca565b2fdf5e7261a50423b4d2810dcc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=580&job=&cmd_args= [2020-11-25T18:55:45.019Z] -> Uploading to [2020-11-25T18:55:45.019Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-25/3D8B5DFFC46A037C893635FACE044666/be0814dca565b2fdf5e7261a50423b4d2810dcc8/6aeb5fcf-2450-4e75-89b1-836b945b6b07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201125T185544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd131f1b4bb652bb27b7dbb27777e036bb10b70b576bea3abd4051e68106d684 [2020-11-25T18:55:45.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-25T18:55:45.019Z] Dload Upload Total Spent Left Speed [2020-11-25T18:55:45.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16119 0 0 100 16119 0 33423 --:--:-- --:--:-- --:--:-- 33441 [2020-11-25T18:55:45.593Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/be0814dca565b2fdf5e7261a50423b4d2810dcc8 [Pipeline] } [2020-11-25T18:55:45.616Z] 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-25T18:55:49.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:55:50.070Z] ---> package-listing.sh [2020-11-25T18:55:50.070Z] ++ facter osfamily [2020-11-25T18:55:50.070Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-25T18:55:50.070Z] + OS_FAMILY=redhat [2020-11-25T18:55:50.070Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-580 [2020-11-25T18:55:50.070Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-25T18:55:50.070Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-25T18:55:50.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-25T18:55:50.070Z] + PACKAGES=/tmp/packages_start.txt [2020-11-25T18:55:50.070Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-580 ']' [2020-11-25T18:55:50.070Z] + PACKAGES=/tmp/packages_end.txt [2020-11-25T18:55:50.070Z] + case "${OS_FAMILY}" in [2020-11-25T18:55:50.070Z] + rpm -qa [2020-11-25T18:55:50.070Z] + sort [2020-11-25T18:55:55.384Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-25T18:55:55.384Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-25T18:55:55.384Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-25T18:55:55.384Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-580 ']' [2020-11-25T18:55:55.384Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-580/archives/ [2020-11-25T18:55:55.384Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-580/archives/ [Pipeline] echo [2020-11-25T18:55:55.416Z] 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-580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-25T18:55:55.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:55:56.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-25T18:55:56.062Z] [2020-11-25T18:55:56.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-25T18:55:56.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-25T18:55:56.453Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-25T18:55:56.453Z] df20fa9351a1: Pulling fs layer [2020-11-25T18:55:56.453Z] 36b3adc4ff6f: Pulling fs layer [2020-11-25T18:55:56.453Z] 8ad3a11d3b57: Pulling fs layer [2020-11-25T18:55:56.453Z] 46f8f816bc3b: Pulling fs layer [2020-11-25T18:55:56.453Z] 93b61091891f: Pulling fs layer [2020-11-25T18:55:56.453Z] 93b9cdb0e59b: Pulling fs layer [2020-11-25T18:55:56.453Z] 5e14af77c1be: Pulling fs layer [2020-11-25T18:55:56.453Z] 01666e4c0597: Pulling fs layer [2020-11-25T18:55:56.453Z] aa168da1d23b: Pulling fs layer [2020-11-25T18:55:56.454Z] 46f8f816bc3b: Waiting [2020-11-25T18:55:56.454Z] 93b61091891f: Waiting [2020-11-25T18:55:56.454Z] 93b9cdb0e59b: Waiting [2020-11-25T18:55:56.454Z] 5e14af77c1be: Waiting [2020-11-25T18:55:56.454Z] 01666e4c0597: Waiting [2020-11-25T18:55:56.454Z] 36b3adc4ff6f: Verifying Checksum [2020-11-25T18:55:56.454Z] 36b3adc4ff6f: Download complete [2020-11-25T18:55:56.716Z] 46f8f816bc3b: Verifying Checksum [2020-11-25T18:55:56.716Z] 46f8f816bc3b: Download complete [2020-11-25T18:55:56.716Z] df20fa9351a1: Verifying Checksum [2020-11-25T18:55:56.716Z] df20fa9351a1: Download complete [2020-11-25T18:55:56.716Z] 93b9cdb0e59b: Verifying Checksum [2020-11-25T18:55:56.716Z] 93b9cdb0e59b: Download complete [2020-11-25T18:55:56.716Z] 5e14af77c1be: Verifying Checksum [2020-11-25T18:55:56.716Z] 5e14af77c1be: Download complete [2020-11-25T18:55:56.716Z] 01666e4c0597: Verifying Checksum [2020-11-25T18:55:56.716Z] 01666e4c0597: Download complete [2020-11-25T18:55:56.716Z] 93b61091891f: Verifying Checksum [2020-11-25T18:55:56.716Z] 93b61091891f: Download complete [2020-11-25T18:55:56.716Z] 8ad3a11d3b57: Verifying Checksum [2020-11-25T18:55:56.716Z] 8ad3a11d3b57: Download complete [2020-11-25T18:55:56.980Z] df20fa9351a1: Pull complete [2020-11-25T18:55:57.248Z] 36b3adc4ff6f: Pull complete [2020-11-25T18:55:58.209Z] 8ad3a11d3b57: Pull complete [2020-11-25T18:55:58.209Z] 46f8f816bc3b: Pull complete [2020-11-25T18:55:59.163Z] aa168da1d23b: Verifying Checksum [2020-11-25T18:55:59.426Z] 93b61091891f: Pull complete [2020-11-25T18:55:59.687Z] 93b9cdb0e59b: Pull complete [2020-11-25T18:55:59.687Z] 5e14af77c1be: Pull complete [2020-11-25T18:55:59.950Z] 01666e4c0597: Pull complete [2020-11-25T18:56:08.127Z] aa168da1d23b: Pull complete [2020-11-25T18:56:08.127Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-25T18:56:08.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-25T18:56:08.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-25T18:56:08.346Z] prd-centos7-docker-4c-2g-13424 does not seem to be running inside a container [2020-11-25T18:56:08.402Z] $ 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-580/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-580 -v /w/workspace/ndry_app-functions-sdk-go_PR-580:/w/workspace/ndry_app-functions-sdk-go_PR-580:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-580@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-580@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:10003/edgex-lftools-log-publisher:alpine cat [2020-11-25T18:56:12.039Z] $ docker top 3f160497508d1a941b2c2a2e7f75858bfc8a740de72b2a8efdf74cf9dbc3e0e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-25T18:56:12.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-25T18:56:12.919Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-25T18:56:13.245Z] + ls /var/log/sa-host [2020-11-25T18:56:13.245Z] + sadf -c /var/log/sa-host/sa23 [2020-11-25T18:56:13.245Z] file_magic: OK [2020-11-25T18:56:13.245Z] HZ: Using current value: 100 [2020-11-25T18:56:13.245Z] file_header: OK [2020-11-25T18:56:13.245Z] 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-25T18:56:13.245Z] Statistics: [2020-11-25T18:56:13.245Z] Hnuu...uuuununununu... [2020-11-25T18:56:13.245Z] File successfully converted to sysstat format version 12.2.1 [2020-11-25T18:56:13.245Z] + sadf -c /var/log/sa-host/sa25 [2020-11-25T18:56:13.245Z] file_magic: OK [2020-11-25T18:56:13.245Z] HZ: Using current value: 100 [2020-11-25T18:56:13.245Z] file_header: OK [2020-11-25T18:56:13.245Z] 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-25T18:56:13.245Z] Statistics: [2020-11-25T18:56:13.245Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-25T18:56:13.245Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-25T18:56:13.941Z] provisioning config files... [2020-11-25T18:56:13.959Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-580@tmp/config7436273422286243420tmp [Pipeline] { [Pipeline] echo [2020-11-25T18:56:14.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:56:14.447Z] ---> create-netrc.sh [Pipeline] } [2020-11-25T18:56:14.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-25T18:56:14.649Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:56:14.992Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-25T18:56:15.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:56:15.357Z] ---> sudo-logs.sh [2020-11-25T18:56:15.357Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-25T18:56:15.390Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:56:15.722Z] ---> job-cost.sh [2020-11-25T18:56:15.722Z] lf-activate-venv: SKIPPING [2020-11-25T18:56:15.722Z] INFO: No Stack... [2020-11-25T18:56:17.117Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-25T18:56:17.692Z] INFO: Archiving Costs [Pipeline] echo [2020-11-25T18:56:17.726Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-25T18:56:18.062Z] ---> logs-deploy.sh [2020-11-25T18:56:18.062Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-580/1 [2020-11-25T18:56:18.062Z] INFO: archiving workspace using pattern(s): [2020-11-25T18:56:19.982Z] Archives upload complete. [2020-11-25T18:56:19.982Z] INFO: archiving logs to Nexus