Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44dcb89bc898e098fc683f52994823469c0d1781 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13593 in /w/workspace/ndry_app-functions-sdk-go_master [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_master # 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 Checking out Revision 44dcb89bc898e098fc683f52994823469c0d1781 (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44dcb89bc898e098fc683f52994823469c0d1781 # timeout=10 Commit message: "Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-secrets-0.0.27" > git rev-list --no-walk 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-26T17:36:57.242Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-26T17:36:57.578Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-26T17:36:57.699Z] ========================================================= [2020-11-26T17:36:57.699Z] EdgeX Global Pipelines Version Info [2020-11-26T17:36:57.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:36:59.155Z] ------------------- [2020-11-26T17:36:59.156Z] stable info: [2020-11-26T17:36:59.156Z] ------------------- [2020-11-26T17:36:59.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-26T17:36:59.156Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-26T17:36:59.156Z] Message: update stable to v1.0.167 [2020-11-26T17:37:00.103Z] ------------------- [2020-11-26T17:37:00.103Z] experimental info: [2020-11-26T17:37:00.103Z] ------------------- [2020-11-26T17:37:00.103Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-26T17:37:00.103Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-26T17:37:00.103Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-26T17:37:00.586Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-11-26T17:37:00.719Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-11-26T17:37:00.845Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-26T17:37:00.960Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-26T17:37:01.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-26T17:37:01.194Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-26T17:37:01.321Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-26T17:37:01.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-26T17:37:01.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-26T17:37:01.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-26T17:37:01.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-26T17:37:01.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-11-26T17:37:02.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-26T17:37:02.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-26T17:37:02.230Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:37:02.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:37:02.451Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:37:02.612Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T17:37:02.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-26T17:37:02.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-26T17:37:02.919Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-26T17:37:03.018Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-11-26T17:37:03.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-26T17:37:03.221Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-26T17:37:03.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-26T17:37:03.504Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-26T17:37:03.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-26T17:37:03.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-26T17:37:03.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-26T17:37:03.971Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44dcb89bc898e098fc683f52994823469c0d1781 [Pipeline] echo [2020-11-26T17:37:04.070Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44dcb89 [Pipeline] echo [2020-11-26T17:37:04.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:37:04.433Z] provisioning config files... [2020-11-26T17:37:04.490Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4677932453652964878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:37:04.877Z] ---> docker-login.sh [2020-11-26T17:37:04.877Z] nexus3.edgexfoundry.org:10001 [2020-11-26T17:37:05.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:37:05.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:37:05.407Z] Configure a credential helper to remove this warning. See [2020-11-26T17:37:05.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:37:05.407Z] [2020-11-26T17:37:05.407Z] Login Succeeded [2020-11-26T17:37:05.407Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:37:05.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:37:05.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:37:05.407Z] Configure a credential helper to remove this warning. See [2020-11-26T17:37:05.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:37:05.407Z] [2020-11-26T17:37:05.407Z] Login Succeeded [2020-11-26T17:37:05.407Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:37:05.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:37:05.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:37:05.672Z] Configure a credential helper to remove this warning. See [2020-11-26T17:37:05.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:37:05.672Z] [2020-11-26T17:37:05.672Z] Login Succeeded [2020-11-26T17:37:05.672Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:37:05.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:37:05.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:37:05.937Z] Configure a credential helper to remove this warning. See [2020-11-26T17:37:05.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:37:05.937Z] [2020-11-26T17:37:05.937Z] Login Succeeded [2020-11-26T17:37:05.937Z] docker.io [2020-11-26T17:37:05.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:37:06.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:37:06.201Z] Configure a credential helper to remove this warning. See [2020-11-26T17:37:06.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:37:06.201Z] [2020-11-26T17:37:06.201Z] Login Succeeded [2020-11-26T17:37:06.201Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:37:06.213Z] 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:37:07.122Z] + git log --format=format:%s -1 44dcb89bc898e098fc683f52994823469c0d1781 [Pipeline] echo [2020-11-26T17:37:07.194Z] GIT_COMMIT: 44dcb89bc898e098fc683f52994823469c0d1781, Commit Message: Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-secrets-0.0.27 [Pipeline] echo [2020-11-26T17:37:07.255Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:37:08.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:37:08.233Z] [2020-11-26T17:37:08.233Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:37:08.589Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:37:08.589Z] latest: Pulling from edgex-devops/git-semver [2020-11-26T17:37:08.589Z] 31603596830f: Pulling fs layer [2020-11-26T17:37:08.589Z] 2a8b12db71e7: Pulling fs layer [2020-11-26T17:37:08.589Z] 6ca5941a6612: Pulling fs layer [2020-11-26T17:37:08.589Z] ecc8261a40a4: Pulling fs layer [2020-11-26T17:37:08.589Z] ecc8261a40a4: Waiting [2020-11-26T17:37:08.589Z] 2a8b12db71e7: Verifying Checksum [2020-11-26T17:37:08.589Z] 2a8b12db71e7: Download complete [2020-11-26T17:37:08.589Z] 31603596830f: Verifying Checksum [2020-11-26T17:37:08.589Z] 31603596830f: Download complete [2020-11-26T17:37:08.864Z] ecc8261a40a4: Verifying Checksum [2020-11-26T17:37:08.864Z] ecc8261a40a4: Download complete [2020-11-26T17:37:08.864Z] 6ca5941a6612: Verifying Checksum [2020-11-26T17:37:08.864Z] 6ca5941a6612: Download complete [2020-11-26T17:37:09.128Z] 31603596830f: Pull complete [2020-11-26T17:37:09.128Z] 2a8b12db71e7: Pull complete [2020-11-26T17:37:10.083Z] 6ca5941a6612: Pull complete [2020-11-26T17:37:10.346Z] ecc8261a40a4: Pull complete [2020-11-26T17:37:10.346Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-26T17:37:10.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T17:37:10.346Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-26T17:37:10.457Z] prd-centos7-docker-4c-2g-13593 does not seem to be running inside a container [2020-11-26T17:37:10.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T17:37:12.994Z] $ docker top 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T17:37:13.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T17:37:13.376Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T17:37:13.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T17:37:13.603Z] $ docker exec 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c ssh-agent [2020-11-26T17:37:13.764Z] SSH_AUTH_SOCK=/tmp/ssh-1jNuPSXeqFQO/agent.11 [2020-11-26T17:37:13.764Z] SSH_AGENT_PID=16 [2020-11-26T17:37:13.775Z] Running ssh-add (command line suppressed) [2020-11-26T17:37:13.890Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2606598212798949364.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2606598212798949364.key) [2020-11-26T17:37:13.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T17:37:14.292Z] + git tag --points-at HEAD [Pipeline] } [2020-11-26T17:37:14.316Z] $ docker exec --env ******** --env ******** 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c ssh-agent -k [2020-11-26T17:37:14.430Z] unset SSH_AUTH_SOCK; [2020-11-26T17:37:14.431Z] unset SSH_AGENT_PID; [2020-11-26T17:37:14.431Z] echo Agent pid 16 killed; [2020-11-26T17:37:14.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-26T17:37:14.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T17:37:14.636Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T17:37:14.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T17:37:14.804Z] $ docker exec 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c ssh-agent [2020-11-26T17:37:14.967Z] SSH_AUTH_SOCK=/tmp/ssh-Jc9BablEfs4D/agent.45 [2020-11-26T17:37:14.967Z] SSH_AGENT_PID=51 [2020-11-26T17:37:14.975Z] Running ssh-add (command line suppressed) [2020-11-26T17:37:15.092Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4529792442940394497.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4529792442940394497.key) [2020-11-26T17:37:15.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T17:37:15.489Z] + git semver init [2020-11-26T17:37:15.489Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T17:37:15.489Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2020-11-26T17:37:15.489Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2020-11-26T17:37:15.489Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T17:37:15.489Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T17:37:15.489Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T17:37:15.489Z] # $SEMVER_BRANCH = master [2020-11-26T17:37:15.489Z] # $SEMVER_TEMP = /tmp/semver-731966609 [2020-11-26T17:37:15.489Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-11-26T17:37:18.810Z] # '/tmp/semver-731966609' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2020-11-26T17:37:18.810Z] # -> Force: false [2020-11-26T17:37:18.810Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2020-11-26T17:37:18.825Z] $ docker exec --env ******** --env ******** 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c ssh-agent -k [2020-11-26T17:37:18.938Z] unset SSH_AUTH_SOCK; [2020-11-26T17:37:18.939Z] unset SSH_AGENT_PID; [2020-11-26T17:37:18.939Z] echo Agent pid 51 killed; [2020-11-26T17:37:18.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T17:37:19.478Z] + git semver [Pipeline] } [2020-11-26T17:37:19.497Z] $ docker stop --time=1 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c [2020-11-26T17:37:20.943Z] $ docker rm -f 7f2808771575ca38eb5717408b9061d8b7f82948b0f0772a72b07b474d90242c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:37:21.437Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-26T17:37:21.843Z] Stashed 1 file(s) [Pipeline] echo [2020-11-26T17:37:21.846Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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:37:37.466Z] Still waiting to schedule task [2020-11-26T17:37:37.466Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13593’ [2020-11-26T17:37:37.468Z] Still waiting to schedule task [2020-11-26T17:37:37.468Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-11-26T17:39:38.476Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13594 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T17:39:38.613Z] Running in /w/workspace/app-functions-sdk-go/150 [Pipeline] { [Pipeline] checkout [2020-11-26T17:39:44.061Z] using credential edgex-jenkins-ssh [2020-11-26T17:39:44.123Z] Cloning the remote Git repository [2020-11-26T17:39:44.186Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:39:44.311Z] > git init /w/workspace/app-functions-sdk-go/150 # timeout=10 [2020-11-26T17:39:44.394Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:39:44.395Z] > git --version # timeout=10 [2020-11-26T17:39:44.413Z] > git --version # 'git version 2.17.1' [2020-11-26T17:39:44.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:39:44.490Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:39:47.470Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:39:47.497Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:39:47.524Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:39:47.633Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:39:47.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:39:47.659Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T17:39:48.220Z] Checking out Revision 44dcb89bc898e098fc683f52994823469c0d1781 (master) [2020-11-26T17:39:48.243Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:39:48.263Z] > git checkout -f 44dcb89bc898e098fc683f52994823469c0d1781 # timeout=10 [2020-11-26T17:39:52.536Z] Commit message: "Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-secrets-0.0.27" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T17:39:54.291Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:39:54.713Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:39:55.054Z] + sudo service docker restart [2020-11-26T17:39:55.054Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:39:57.779Z] provisioning config files... [2020-11-26T17:39:57.816Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/150@tmp/config3449904974639173742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:39:58.196Z] Running on prd-centos7-docker-4c-2g-13595 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [2020-11-26T17:39:58.229Z] ---> docker-login.sh [2020-11-26T17:39:58.229Z] nexus3.edgexfoundry.org:10001 [Pipeline] ws [2020-11-26T17:39:58.252Z] Running in /w/workspace/app-functions-sdk-go/150 [Pipeline] { [Pipeline] checkout [2020-11-26T17:39:58.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:39:59.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:39:59.432Z] Configure a credential helper to remove this warning. See [2020-11-26T17:39:59.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:39:59.432Z] [2020-11-26T17:39:59.432Z] Login Succeeded [2020-11-26T17:39:59.432Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:39:59.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:39:59.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:39:59.984Z] Configure a credential helper to remove this warning. See [2020-11-26T17:39:59.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:39:59.984Z] [2020-11-26T17:39:59.984Z] Login Succeeded [2020-11-26T17:39:59.984Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:40:00.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:00.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:00.537Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:00.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:00.537Z] [2020-11-26T17:40:00.537Z] Login Succeeded [2020-11-26T17:40:00.537Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:40:00.650Z] using credential edgex-jenkins-ssh [2020-11-26T17:40:00.779Z] Cloning the remote Git repository [2020-11-26T17:40:00.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:01.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:01.087Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:01.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:01.087Z] [2020-11-26T17:40:01.087Z] Login Succeeded [2020-11-26T17:40:01.087Z] docker.io [2020-11-26T17:40:01.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:00.811Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:40:00.886Z] > git init /w/workspace/app-functions-sdk-go/150 # timeout=10 [2020-11-26T17:40:00.967Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:40:00.967Z] > git --version # timeout=10 [2020-11-26T17:40:00.976Z] > git --version # 'git version 2.24.3' [2020-11-26T17:40:00.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:40:01.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:40:01.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:01.981Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:01.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:01.981Z] [2020-11-26T17:40:01.981Z] Login Succeeded [2020-11-26T17:40:01.981Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:40:01.999Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T17:40:02.588Z] ========================================================= [2020-11-26T17:40:02.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-26T17:40:02.589Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:40:02.650Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:40:02.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T17:40:02.671Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-11-26T17:40:02.683Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-11-26T17:40:02.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T17:40:02.689Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T17:40:02.988Z] + 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:40:03.600Z] Sending build context to Docker daemon 19.16MB [2020-11-26T17:40:03.600Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T17:40:03.600Z] Step 2/8 : FROM ${BASE} [2020-11-26T17:40:03.879Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-26T17:40:03.879Z] b538f80385f9: Pulling fs layer [2020-11-26T17:40:03.879Z] 74f711af9a0d: Pulling fs layer [2020-11-26T17:40:03.879Z] 99f96fe45779: Pulling fs layer [2020-11-26T17:40:03.879Z] 8529a6b9a6be: Pulling fs layer [2020-11-26T17:40:03.879Z] 45590311c82a: Pulling fs layer [2020-11-26T17:40:03.879Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-26T17:40:03.879Z] 209524e5b208: Pulling fs layer [2020-11-26T17:40:03.879Z] 45590311c82a: Waiting [2020-11-26T17:40:03.879Z] 69ca0ff8b7b3: Waiting [2020-11-26T17:40:03.879Z] 209524e5b208: Waiting [2020-11-26T17:40:03.879Z] 8529a6b9a6be: Waiting [2020-11-26T17:40:03.879Z] 99f96fe45779: Verifying Checksum [2020-11-26T17:40:03.879Z] 99f96fe45779: Download complete [2020-11-26T17:40:03.879Z] 74f711af9a0d: Download complete [2020-11-26T17:40:03.879Z] 45590311c82a: Verifying Checksum [2020-11-26T17:40:03.879Z] 45590311c82a: Download complete [2020-11-26T17:40:03.879Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-26T17:40:03.879Z] 69ca0ff8b7b3: Download complete [2020-11-26T17:40:03.879Z] b538f80385f9: Download complete [2020-11-26T17:40:04.417Z] Checking out Revision 44dcb89bc898e098fc683f52994823469c0d1781 (master) [2020-11-26T17:40:04.880Z] b538f80385f9: Pull complete [2020-11-26T17:40:04.428Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T17:40:04.433Z] > git checkout -f 44dcb89bc898e098fc683f52994823469c0d1781 # timeout=10 [2020-11-26T17:40:05.484Z] 74f711af9a0d: Pull complete [2020-11-26T17:40:05.763Z] 99f96fe45779: Pull complete [2020-11-26T17:40:06.362Z] 209524e5b208: Verifying Checksum [2020-11-26T17:40:06.362Z] 209524e5b208: Download complete [2020-11-26T17:40:07.806Z] 8529a6b9a6be: Verifying Checksum [2020-11-26T17:40:07.806Z] 8529a6b9a6be: Download complete [2020-11-26T17:40:08.131Z] Commit message: "Merge pull request #581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-secrets-0.0.27" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T17:40:09.542Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:40:09.870Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T17:40:10.167Z] + sudo service docker restart [2020-11-26T17:40:10.167Z] + true [2020-11-26T17:40:10.167Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T17:40:11.199Z] provisioning config files... [2020-11-26T17:40:11.234Z] copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/150@tmp/config7984561715102095394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:40:11.623Z] ---> docker-login.sh [2020-11-26T17:40:11.623Z] nexus3.edgexfoundry.org:10001 [2020-11-26T17:40:11.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:11.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:11.887Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:11.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:11.887Z] [2020-11-26T17:40:11.887Z] Login Succeeded [2020-11-26T17:40:11.887Z] nexus3.edgexfoundry.org:10002 [2020-11-26T17:40:12.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:12.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:12.151Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:12.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:12.151Z] [2020-11-26T17:40:12.151Z] Login Succeeded [2020-11-26T17:40:12.151Z] nexus3.edgexfoundry.org:10003 [2020-11-26T17:40:12.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:12.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:12.413Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:12.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:12.413Z] [2020-11-26T17:40:12.413Z] Login Succeeded [2020-11-26T17:40:12.413Z] nexus3.edgexfoundry.org:10004 [2020-11-26T17:40:12.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:12.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:12.413Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:12.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:12.413Z] [2020-11-26T17:40:12.413Z] Login Succeeded [2020-11-26T17:40:12.413Z] docker.io [2020-11-26T17:40:12.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T17:40:12.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T17:40:12.937Z] Configure a credential helper to remove this warning. See [2020-11-26T17:40:12.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T17:40:12.937Z] [2020-11-26T17:40:12.937Z] Login Succeeded [2020-11-26T17:40:12.937Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T17:40:12.946Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T17:40:13.259Z] ========================================================= [2020-11-26T17:40:13.259Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-26T17:40:13.259Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:40:13.677Z] + 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:40:13.944Z] Sending build context to Docker daemon 19.16MB [2020-11-26T17:40:13.944Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T17:40:13.944Z] Step 2/8 : FROM ${BASE} [2020-11-26T17:40:13.944Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-26T17:40:13.944Z] df20fa9351a1: Pulling fs layer [2020-11-26T17:40:13.944Z] ed8968b2872e: Pulling fs layer [2020-11-26T17:40:13.944Z] a92cc7c5fd73: Pulling fs layer [2020-11-26T17:40:13.944Z] e871e8e8d7a9: Pulling fs layer [2020-11-26T17:40:13.944Z] e73272ec9a57: Pulling fs layer [2020-11-26T17:40:13.944Z] 1e910a182e73: Pulling fs layer [2020-11-26T17:40:13.944Z] 4e634b169226: Pulling fs layer [2020-11-26T17:40:13.944Z] e73272ec9a57: Waiting [2020-11-26T17:40:13.944Z] 1e910a182e73: Waiting [2020-11-26T17:40:13.944Z] 4e634b169226: Waiting [2020-11-26T17:40:13.944Z] e871e8e8d7a9: Waiting [2020-11-26T17:40:13.944Z] ed8968b2872e: Verifying Checksum [2020-11-26T17:40:13.944Z] ed8968b2872e: Download complete [2020-11-26T17:40:13.944Z] a92cc7c5fd73: Verifying Checksum [2020-11-26T17:40:13.944Z] a92cc7c5fd73: Download complete [2020-11-26T17:40:13.944Z] e73272ec9a57: Verifying Checksum [2020-11-26T17:40:13.944Z] e73272ec9a57: Download complete [2020-11-26T17:40:14.214Z] df20fa9351a1: Verifying Checksum [2020-11-26T17:40:14.214Z] df20fa9351a1: Download complete [2020-11-26T17:40:14.214Z] 1e910a182e73: Verifying Checksum [2020-11-26T17:40:14.214Z] 1e910a182e73: Download complete [2020-11-26T17:40:14.477Z] df20fa9351a1: Pull complete [2020-11-26T17:40:14.477Z] ed8968b2872e: Pull complete [2020-11-26T17:40:14.744Z] a92cc7c5fd73: Pull complete [2020-11-26T17:40:15.701Z] 4e634b169226: Verifying Checksum [2020-11-26T17:40:15.701Z] 4e634b169226: Download complete [2020-11-26T17:40:16.283Z] e871e8e8d7a9: Verifying Checksum [2020-11-26T17:40:16.283Z] e871e8e8d7a9: Download complete [2020-11-26T17:40:20.252Z] 8529a6b9a6be: Pull complete [2020-11-26T17:40:20.252Z] 45590311c82a: Pull complete [2020-11-26T17:40:20.252Z] 69ca0ff8b7b3: Pull complete [2020-11-26T17:40:21.619Z] e871e8e8d7a9: Pull complete [2020-11-26T17:40:21.619Z] e73272ec9a57: Pull complete [2020-11-26T17:40:21.881Z] 1e910a182e73: Pull complete [2020-11-26T17:40:22.884Z] 209524e5b208: Pull complete [2020-11-26T17:40:22.884Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-26T17:40:22.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-26T17:40:22.884Z] ---> 5bddaf1c2fca [2020-11-26T17:40:22.884Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-26T17:40:23.489Z] latest: Pulling from library/docker [2020-11-26T17:40:23.489Z] 5f621e34cdf4: Pulling fs layer [2020-11-26T17:40:23.489Z] 85db56a05063: Pulling fs layer [2020-11-26T17:40:23.489Z] ccb67d6aeaaa: Pulling fs layer [2020-11-26T17:40:23.489Z] a0b19fc83503: Pulling fs layer [2020-11-26T17:40:23.489Z] 8eb508b41278: Pulling fs layer [2020-11-26T17:40:23.489Z] 37236713561e: Pulling fs layer [2020-11-26T17:40:23.489Z] 07c93f2b1b56: Pulling fs layer [2020-11-26T17:40:23.489Z] a0b19fc83503: Waiting [2020-11-26T17:40:23.489Z] 8eb508b41278: Waiting [2020-11-26T17:40:23.489Z] 37236713561e: Waiting [2020-11-26T17:40:23.489Z] 07c93f2b1b56: Waiting [2020-11-26T17:40:23.772Z] ccb67d6aeaaa: Verifying Checksum [2020-11-26T17:40:23.772Z] ccb67d6aeaaa: Download complete [2020-11-26T17:40:23.772Z] 85db56a05063: Download complete [2020-11-26T17:40:23.772Z] 5f621e34cdf4: Verifying Checksum [2020-11-26T17:40:23.772Z] 5f621e34cdf4: Download complete [2020-11-26T17:40:24.063Z] 37236713561e: Verifying Checksum [2020-11-26T17:40:24.063Z] 37236713561e: Download complete [2020-11-26T17:40:24.063Z] 8eb508b41278: Verifying Checksum [2020-11-26T17:40:24.063Z] 8eb508b41278: Download complete [2020-11-26T17:40:24.063Z] 07c93f2b1b56: Verifying Checksum [2020-11-26T17:40:24.063Z] 07c93f2b1b56: Download complete [2020-11-26T17:40:25.522Z] 5f621e34cdf4: Pull complete [2020-11-26T17:40:25.522Z] a0b19fc83503: Download complete [2020-11-26T17:40:25.811Z] 85db56a05063: Pull complete [2020-11-26T17:40:26.088Z] ccb67d6aeaaa: Pull complete [2020-11-26T17:40:28.500Z] 4e634b169226: Pull complete [2020-11-26T17:40:28.500Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-26T17:40:28.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-26T17:40:28.500Z] ---> f7629b54cfaa [2020-11-26T17:40:28.500Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-26T17:40:28.764Z] latest: Pulling from library/docker [2020-11-26T17:40:29.029Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T17:40:29.029Z] 0c7c675703d6: Pulling fs layer [2020-11-26T17:40:29.029Z] cc8c12a437cb: Pulling fs layer [2020-11-26T17:40:29.029Z] c5dafad2182a: Pulling fs layer [2020-11-26T17:40:29.029Z] 5aa711733414: Pulling fs layer [2020-11-26T17:40:29.029Z] 058f73b55e4b: Pulling fs layer [2020-11-26T17:40:29.029Z] 8c9c664faf12: Pulling fs layer [2020-11-26T17:40:29.029Z] 5aa711733414: Waiting [2020-11-26T17:40:29.029Z] 058f73b55e4b: Waiting [2020-11-26T17:40:29.029Z] 8c9c664faf12: Waiting [2020-11-26T17:40:29.029Z] c5dafad2182a: Waiting [2020-11-26T17:40:29.029Z] cc8c12a437cb: Verifying Checksum [2020-11-26T17:40:29.029Z] cc8c12a437cb: Download complete [2020-11-26T17:40:29.029Z] 0c7c675703d6: Download complete [2020-11-26T17:40:29.029Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T17:40:29.029Z] 188c0c94c7c5: Download complete [2020-11-26T17:40:29.295Z] 5aa711733414: Verifying Checksum [2020-11-26T17:40:29.295Z] 5aa711733414: Download complete [2020-11-26T17:40:29.295Z] 058f73b55e4b: Verifying Checksum [2020-11-26T17:40:29.295Z] 058f73b55e4b: Download complete [2020-11-26T17:40:29.295Z] 8c9c664faf12: Verifying Checksum [2020-11-26T17:40:29.295Z] 8c9c664faf12: Download complete [2020-11-26T17:40:29.295Z] 188c0c94c7c5: Pull complete [2020-11-26T17:40:29.514Z] a0b19fc83503: Pull complete [2020-11-26T17:40:29.559Z] 0c7c675703d6: Pull complete [2020-11-26T17:40:29.787Z] 8eb508b41278: Pull complete [2020-11-26T17:40:29.828Z] cc8c12a437cb: Pull complete [2020-11-26T17:40:30.091Z] c5dafad2182a: Verifying Checksum [2020-11-26T17:40:30.091Z] c5dafad2182a: Download complete [2020-11-26T17:40:30.388Z] 37236713561e: Pull complete [2020-11-26T17:40:30.662Z] 07c93f2b1b56: Pull complete [2020-11-26T17:40:30.662Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-26T17:40:30.662Z] Status: Downloaded newer image for docker:latest [2020-11-26T17:40:32.662Z] c5dafad2182a: Pull complete [2020-11-26T17:40:32.927Z] 5aa711733414: Pull complete [2020-11-26T17:40:32.927Z] 058f73b55e4b: Pull complete [2020-11-26T17:40:33.189Z] 8c9c664faf12: Pull complete [2020-11-26T17:40:33.189Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-26T17:40:33.189Z] Status: Downloaded newer image for docker:latest [2020-11-26T17:40:34.591Z] ---> 4ada58a7291e [2020-11-26T17:40:34.591Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-26T17:40:34.591Z] ---> Running in 8f6f20d10342 [2020-11-26T17:40:34.855Z] Removing intermediate container 8f6f20d10342 [2020-11-26T17:40:34.855Z] ---> 3a5c9ff380ed [2020-11-26T17:40:34.855Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-26T17:40:34.855Z] ---> Running in 93142588c37a [2020-11-26T17:40:34.970Z] ---> 1df275e82436 [2020-11-26T17:40:34.971Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-26T17:40:34.971Z] ---> Running in 706bcf37b8df [2020-11-26T17:40:35.253Z] Removing intermediate container 706bcf37b8df [2020-11-26T17:40:35.253Z] ---> b19dda1d2623 [2020-11-26T17:40:35.253Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-11-26T17:40:35.526Z] ---> Running in a9cf57ba779f [2020-11-26T17:40:35.808Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T17:40:36.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T17:40:36.959Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-26T17:40:36.959Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-26T17:40:36.959Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-26T17:40:36.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T17:40:37.224Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-26T17:40:37.224Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-26T17:40:37.224Z] Executing busybox-1.31.1-r16.trigger [2020-11-26T17:40:37.224Z] OK: 167 MiB in 44 packages [2020-11-26T17:40:37.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T17:40:38.168Z] (1/5) Installing libsodium (1.0.18-r0) [2020-11-26T17:40:38.168Z] (2/5) Installing libzmq (4.3.3-r0) [2020-11-26T17:40:38.181Z] Removing intermediate container 93142588c37a [2020-11-26T17:40:38.181Z] ---> 67477e22afdd [2020-11-26T17:40:38.181Z] Step 6/8 : WORKDIR /build [2020-11-26T17:40:38.181Z] ---> Running in 8f717b7d2f98 [2020-11-26T17:40:38.181Z] Removing intermediate container 8f717b7d2f98 [2020-11-26T17:40:38.181Z] ---> e0b7a96c8d89 [2020-11-26T17:40:38.181Z] Step 7/8 : COPY go.mod . [2020-11-26T17:40:38.442Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-11-26T17:40:38.442Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-11-26T17:40:38.442Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-11-26T17:40:38.445Z] ---> 770adf9ebfe0 [2020-11-26T17:40:38.445Z] Step 8/8 : RUN go mod download [2020-11-26T17:40:38.445Z] ---> Running in 068eb2420551 [2020-11-26T17:40:38.716Z] Executing busybox-1.31.1-r16.trigger [2020-11-26T17:40:38.716Z] OK: 144 MiB in 44 packages [2020-11-26T17:40:40.151Z] Removing intermediate container a9cf57ba779f [2020-11-26T17:40:40.151Z] ---> 6b45200b1c95 [2020-11-26T17:40:40.151Z] Step 6/8 : WORKDIR /build [2020-11-26T17:40:40.151Z] ---> Running in ed67953a7271 [2020-11-26T17:40:40.424Z] Removing intermediate container ed67953a7271 [2020-11-26T17:40:40.424Z] ---> d99d1cc04279 [2020-11-26T17:40:40.424Z] Step 7/8 : COPY go.mod . [2020-11-26T17:40:41.018Z] ---> 188d3e8e52c3 [2020-11-26T17:40:41.018Z] Step 8/8 : RUN go mod download [2020-11-26T17:40:41.295Z] ---> Running in d9837da79a7c [2020-11-26T17:41:05.102Z] Removing intermediate container 068eb2420551 [2020-11-26T17:41:05.102Z] ---> f55b91148932 [2020-11-26T17:41:05.102Z] Successfully built f55b91148932 [2020-11-26T17:41:05.102Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:41:05.421Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T17:41:05.421Z] . [Pipeline] withDockerContainer [2020-11-26T17:41:05.667Z] prd-centos7-docker-4c-2g-13595 does not seem to be running inside a container [2020-11-26T17:41:05.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@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 ******** ci-base-image-x86_64 cat [2020-11-26T17:41:06.610Z] $ docker top 83cdb458fd37c35f045c46727b79f5d1c60f9a1e0e44fd17371bd3b3a12d2d83 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:41:07.212Z] + go version [2020-11-26T17:41:07.212Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-26T17:41:07.235Z] $ docker stop --time=1 83cdb458fd37c35f045c46727b79f5d1c60f9a1e0e44fd17371bd3b3a12d2d83 [2020-11-26T17:41:08.089Z] Removing intermediate container d9837da79a7c [2020-11-26T17:41:08.089Z] ---> 299f6592a407 [2020-11-26T17:41:08.089Z] Successfully built 299f6592a407 [2020-11-26T17:41:08.089Z] Successfully tagged ci-base-image-arm64:latest [2020-11-26T17:41:08.641Z] $ docker rm -f 83cdb458fd37c35f045c46727b79f5d1c60f9a1e0e44fd17371bd3b3a12d2d83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:41:09.306Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T17:41:09.306Z] . [Pipeline] withDockerContainer [2020-11-26T17:41:09.556Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T17:41:09.556Z] . [2020-11-26T17:41:09.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-13594 does not seem to be running inside a container [2020-11-26T17:41:09.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@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 ******** ci-base-image-arm64 cat [2020-11-26T17:41:11.189Z] $ docker top 7d73ed2572e3d9218b0cb82daa4b97b13371629565cd44a156b2cb4b0c1725f2 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-11-26T17:41:11.713Z] prd-centos7-docker-4c-2g-13595 does not seem to be running inside a container [2020-11-26T17:41:11.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@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 ******** ci-base-image-x86_64 cat [2020-11-26T17:41:12.494Z] $ docker top 1de173a9eb42bd7965b252ebd2302324b6f61dd6345a44743a7c89144f61bf74 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-11-26T17:41:13.047Z] + make test [2020-11-26T17:41:13.047Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-26T17:41:13.341Z] + go version [2020-11-26T17:41:13.341Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-26T17:41:13.364Z] $ docker stop --time=1 7d73ed2572e3d9218b0cb82daa4b97b13371629565cd44a156b2cb4b0c1725f2 [2020-11-26T17:41:14.988Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-26T17:41:15.331Z] $ docker rm -f 7d73ed2572e3d9218b0cb82daa4b97b13371629565cd44a156b2cb4b0c1725f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:41:16.371Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T17:41:16.371Z] . [Pipeline] withDockerContainer [2020-11-26T17:41:16.632Z] prd-ubuntu18.04-docker-arm64-4c-16g-13594 does not seem to be running inside a container [2020-11-26T17:41:16.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/150 -v /w/workspace/app-functions-sdk-go/150:/w/workspace/app-functions-sdk-go/150:rw,z -v /w/workspace/app-functions-sdk-go/150@tmp:/w/workspace/app-functions-sdk-go/150@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 ******** ci-base-image-arm64 cat [2020-11-26T17:41:18.110Z] $ docker top ec7ce02870004b7cfeb687f66f321fe65be21d4a2894728cc2af7a6f05dad85e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:41:19.151Z] + make test [2020-11-26T17:41:19.151Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-26T17:41:21.131Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-11-26T17:41:21.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.025s coverage: 86.2% of statements [2020-11-26T17:41:36.757Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.035s coverage: 52.0% of statements [2020-11-26T17:41:36.757Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-26T17:41:36.757Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-26T17:41:36.757Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.037s coverage: 54.7% of statements [2020-11-26T17:41:36.757Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-26T17:41:36.757Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.029s coverage: 69.1% of statements [2020-11-26T17:41:43.353Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.053s coverage: 86.2% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.424s coverage: 61.6% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.018s coverage: 100.0% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.920s coverage: 75.0% of statements [2020-11-26T17:41:51.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.014s coverage: 89.7% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.011s coverage: 88.9% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2020-11-26T17:41:51.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements [2020-11-26T17:42:06.643Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.032s coverage: 71.0% of statements [2020-11-26T17:42:06.643Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-11-26T17:42:06.643Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-26T17:42:10.904Z] gofmt -l . [2020-11-26T17:42:10.904Z] [ "`gofmt -l .`" = "" ] [2020-11-26T17:42:10.904Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T17:42:10.927Z] $ docker stop --time=1 1de173a9eb42bd7965b252ebd2302324b6f61dd6345a44743a7c89144f61bf74 [2020-11-26T17:42:12.636Z] $ docker rm -f 1de173a9eb42bd7965b252ebd2302324b6f61dd6345a44743a7c89144f61bf74 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:42:13.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T17:42:13.648Z] 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:42:22.528Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.075s coverage: 52.0% of statements [2020-11-26T17:42:22.528Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-11-26T17:42:22.528Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-11-26T17:42:22.528Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.079s coverage: 54.7% of statements [2020-11-26T17:42:22.528Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-11-26T17:42:22.528Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.049s coverage: 69.1% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.449s coverage: 61.6% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.033s coverage: 100.0% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-11-26T17:42:32.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-11-26T17:42:32.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.025s coverage: 8.8% of statements [2020-11-26T17:42:34.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.945s coverage: 75.0% of statements [2020-11-26T17:42:34.681Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-11-26T17:42:34.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.040s coverage: 89.7% of statements [2020-11-26T17:42:34.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.025s coverage: 88.9% of statements [2020-11-26T17:42:34.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements [2020-11-26T17:42:34.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.022s coverage: 71.7% of statements [2020-11-26T17:43:01.447Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 71.0% of statements [2020-11-26T17:43:01.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-11-26T17:43:01.448Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-11-26T17:43:11.622Z] gofmt -l . [2020-11-26T17:43:11.896Z] [ "`gofmt -l .`" = "" ] [2020-11-26T17:43:12.169Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T17:43:13.174Z] $ docker stop --time=1 ec7ce02870004b7cfeb687f66f321fe65be21d4a2894728cc2af7a6f05dad85e [2020-11-26T17:43:15.321Z] $ docker rm -f ec7ce02870004b7cfeb687f66f321fe65be21d4a2894728cc2af7a6f05dad85e [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T17:43:16.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T17:43:16.433Z] Warning: overwriting stash ‘coverage-report’ [2020-11-26T17:43:17.199Z] 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:43:19.392Z] provisioning config files... [2020-11-26T17:43:19.405Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6291509411433421765tmp [Pipeline] { [Pipeline] sh [2020-11-26T17:43:19.799Z] + set +x [2020-11-26T17:43:19.799Z] + curl -s https://codecov.io/bash [2020-11-26T17:43:19.799Z] + bash -s -- [2020-11-26T17:43:20.062Z] [2020-11-26T17:43:20.062Z] _____ _ [2020-11-26T17:43:20.062Z] / ____| | | [2020-11-26T17:43:20.062Z] | | ___ __| | ___ ___ _____ __ [2020-11-26T17:43:20.062Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-26T17:43:20.062Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-26T17:43:20.062Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-26T17:43:20.062Z] Bash-20201124-79cbc08 [2020-11-26T17:43:20.062Z] [2020-11-26T17:43:20.062Z] [2020-11-26T17:43:20.062Z] ==> Jenkins CI detected. [2020-11-26T17:43:20.062Z] project root: . [2020-11-26T17:43:20.062Z] --> token set from env [2020-11-26T17:43:20.062Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-26T17:43:20.062Z] ==> Running gcov in . (disable via -X gcov) [2020-11-26T17:43:20.062Z] ==> Python coveragepy not found [2020-11-26T17:43:20.062Z] ==> Searching for coverage reports in: [2020-11-26T17:43:20.062Z] + . [2020-11-26T17:43:20.062Z] -> Found 1 reports [2020-11-26T17:43:20.062Z] ==> Detecting git/mercurial file structure [2020-11-26T17:43:20.063Z] ==> Reading reports [2020-11-26T17:43:20.063Z] + ./coverage.out bytes=90550 [2020-11-26T17:43:20.063Z] ==> Appending adjustments [2020-11-26T17:43:20.063Z] https://docs.codecov.io/docs/fixing-reports [2020-11-26T17:43:20.640Z] + Found adjustments [2020-11-26T17:43:20.640Z] ==> Gzipping contents [2020-11-26T17:43:20.640Z] 16K /tmp/codecov.XmqyWH.gz [2020-11-26T17:43:20.640Z] ==> Uploading reports [2020-11-26T17:43:20.640Z] url: https://codecov.io [2020-11-26T17:43:20.640Z] query: branch=master&commit=44dcb89bc898e098fc683f52994823469c0d1781&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T17:43:20.640Z] -> Pinging Codecov [2020-11-26T17:43:20.640Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=master&commit=44dcb89bc898e098fc683f52994823469c0d1781&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T17:43:21.217Z] -> Uploading to [2020-11-26T17:43:21.217Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-26/3D8B5DFFC46A037C893635FACE044666/44dcb89bc898e098fc683f52994823469c0d1781/8d914501-4007-4b5a-9781-0ea95e249d88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T174320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2d12653af4294c724d54bc16af164ec9397b47d6b7c2c8e75cf6c5089792247 [2020-11-26T17:43:21.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T17:43:21.217Z] Dload Upload Total Spent Left Speed [2020-11-26T17:43:21.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16070 0 0 100 16070 0 38598 --:--:-- --:--:-- --:--:-- 38629 [2020-11-26T17:43:21.480Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/44dcb89bc898e098fc683f52994823469c0d1781 [Pipeline] } [2020-11-26T17:43:21.491Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-26T17:43:22.493Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-26T17:43:22.549Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:43:22.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T17:43:22.902Z] [2020-11-26T17:43:22.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:43:23.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T17:43:23.261Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-26T17:43:23.261Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T17:43:23.261Z] 0ef7d3d256c8: Pulling fs layer [2020-11-26T17:43:23.261Z] de9db76c5a1d: Pulling fs layer [2020-11-26T17:43:23.261Z] 0eba1c9be4d2: Pulling fs layer [2020-11-26T17:43:23.261Z] 0d57e429df01: Pulling fs layer [2020-11-26T17:43:23.261Z] 4e4be7b47b0d: Pulling fs layer [2020-11-26T17:43:23.261Z] e1f770b5df2f: Pulling fs layer [2020-11-26T17:43:23.261Z] 85a0685a4137: Pulling fs layer [2020-11-26T17:43:23.261Z] 0d57e429df01: Waiting [2020-11-26T17:43:23.261Z] 4e4be7b47b0d: Waiting [2020-11-26T17:43:23.261Z] e1f770b5df2f: Waiting [2020-11-26T17:43:23.261Z] 85a0685a4137: Waiting [2020-11-26T17:43:23.261Z] 0eba1c9be4d2: Waiting [2020-11-26T17:43:23.261Z] de9db76c5a1d: Download complete [2020-11-26T17:43:23.261Z] 0ef7d3d256c8: Verifying Checksum [2020-11-26T17:43:23.261Z] 0ef7d3d256c8: Download complete [2020-11-26T17:43:23.524Z] 0d57e429df01: Download complete [2020-11-26T17:43:23.790Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T17:43:23.790Z] 4e4be7b47b0d: Verifying Checksum [2020-11-26T17:43:23.790Z] 4e4be7b47b0d: Download complete [2020-11-26T17:43:24.062Z] 188c0c94c7c5: Pull complete [2020-11-26T17:43:24.327Z] 0ef7d3d256c8: Pull complete [2020-11-26T17:43:24.327Z] de9db76c5a1d: Pull complete [2020-11-26T17:43:25.284Z] e1f770b5df2f: Verifying Checksum [2020-11-26T17:43:25.284Z] e1f770b5df2f: Download complete [2020-11-26T17:43:27.216Z] 0eba1c9be4d2: Download complete [2020-11-26T17:43:27.478Z] 85a0685a4137: Verifying Checksum [2020-11-26T17:43:27.478Z] 85a0685a4137: Download complete [2020-11-26T17:43:32.800Z] 0eba1c9be4d2: Pull complete [2020-11-26T17:43:32.800Z] 0d57e429df01: Pull complete [2020-11-26T17:43:33.076Z] 4e4be7b47b0d: Pull complete [2020-11-26T17:43:35.008Z] e1f770b5df2f: Pull complete [2020-11-26T17:43:41.638Z] 85a0685a4137: Pull complete [2020-11-26T17:43:41.638Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-26T17:43:41.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T17:43:41.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-26T17:43:41.860Z] prd-centos7-docker-4c-2g-13593 does not seem to be running inside a container [2020-11-26T17:43:41.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-26T17:43:43.017Z] $ docker top 732082579be80685c4b18454aea54a149a03f6a16ad1773d1df9e95a1c2642fa -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-26T17:43:43.427Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-26T17:43:43.721Z] + set -o pipefail [2020-11-26T17:43:43.721Z] + snyk monitor '--org=edgex-jenkins' [2020-11-26T17:43:50.325Z] [2020-11-26T17:43:50.325Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master... [2020-11-26T17:43:50.325Z] [2020-11-26T17:43:50.325Z] 'go list -json -deps ./...' command failed with error: go: github.com/edgexfoundry/go-mod-secrets@v0.0.27: reading https://nexus3.edgexfoundry.org/repository/go-proxy/github.com/edgexfoundry/go-mod-secrets/@v/v0.0.27.mod: 503 Service Unavailable [2020-11-26T17:43:50.325Z] [2020-11-26T17:43:50.325Z] [Pipeline] } [2020-11-26T17:43:50.342Z] $ docker stop --time=1 732082579be80685c4b18454aea54a149a03f6a16ad1773d1df9e95a1c2642fa [2020-11-26T17:43:52.168Z] $ docker rm -f 732082579be80685c4b18454aea54a149a03f6a16ad1773d1df9e95a1c2642fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-11-26T17:43:52.631Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:43:55.181Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:43:55.498Z] ---> package-listing.sh [2020-11-26T17:43:55.498Z] ++ facter osfamily [2020-11-26T17:43:55.498Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-26T17:43:55.498Z] + OS_FAMILY=redhat [2020-11-26T17:43:55.499Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2020-11-26T17:43:55.499Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-26T17:43:55.499Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-26T17:43:55.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-26T17:43:55.499Z] + PACKAGES=/tmp/packages_start.txt [2020-11-26T17:43:55.499Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2020-11-26T17:43:55.499Z] + PACKAGES=/tmp/packages_end.txt [2020-11-26T17:43:55.499Z] + case "${OS_FAMILY}" in [2020-11-26T17:43:55.499Z] + rpm -qa [2020-11-26T17:43:55.499Z] + sort [2020-11-26T17:44:00.810Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-26T17:44:00.810Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-26T17:44:00.810Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-26T17:44:00.810Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2020-11-26T17:44:00.810Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2020-11-26T17:44:00.810Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2020-11-26T17:44:00.826Z] 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_master/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:44:01.122Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:44:01.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:44:01.435Z] [2020-11-26T17:44:01.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-26T17:44:01.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:44:01.843Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-26T17:44:01.843Z] df20fa9351a1: Pulling fs layer [2020-11-26T17:44:01.843Z] 36b3adc4ff6f: Pulling fs layer [2020-11-26T17:44:01.843Z] 8ad3a11d3b57: Pulling fs layer [2020-11-26T17:44:01.843Z] 46f8f816bc3b: Pulling fs layer [2020-11-26T17:44:01.843Z] 93b61091891f: Pulling fs layer [2020-11-26T17:44:01.843Z] 93b9cdb0e59b: Pulling fs layer [2020-11-26T17:44:01.843Z] 5e14af77c1be: Pulling fs layer [2020-11-26T17:44:01.843Z] 01666e4c0597: Pulling fs layer [2020-11-26T17:44:01.843Z] aa168da1d23b: Pulling fs layer [2020-11-26T17:44:01.843Z] 46f8f816bc3b: Waiting [2020-11-26T17:44:01.843Z] 93b61091891f: Waiting [2020-11-26T17:44:01.843Z] 93b9cdb0e59b: Waiting [2020-11-26T17:44:01.843Z] 5e14af77c1be: Waiting [2020-11-26T17:44:01.843Z] 01666e4c0597: Waiting [2020-11-26T17:44:01.843Z] aa168da1d23b: Waiting [2020-11-26T17:44:01.843Z] 36b3adc4ff6f: Verifying Checksum [2020-11-26T17:44:01.843Z] 36b3adc4ff6f: Download complete [2020-11-26T17:44:01.843Z] 46f8f816bc3b: Verifying Checksum [2020-11-26T17:44:01.843Z] 46f8f816bc3b: Download complete [2020-11-26T17:44:01.843Z] df20fa9351a1: Verifying Checksum [2020-11-26T17:44:01.843Z] df20fa9351a1: Download complete [2020-11-26T17:44:02.109Z] 93b9cdb0e59b: Verifying Checksum [2020-11-26T17:44:02.109Z] 93b9cdb0e59b: Download complete [2020-11-26T17:44:02.109Z] 5e14af77c1be: Verifying Checksum [2020-11-26T17:44:02.109Z] 5e14af77c1be: Download complete [2020-11-26T17:44:02.109Z] 93b61091891f: Verifying Checksum [2020-11-26T17:44:02.109Z] 93b61091891f: Download complete [2020-11-26T17:44:02.109Z] 01666e4c0597: Verifying Checksum [2020-11-26T17:44:02.109Z] 01666e4c0597: Download complete [2020-11-26T17:44:02.372Z] 8ad3a11d3b57: Verifying Checksum [2020-11-26T17:44:02.372Z] 8ad3a11d3b57: Download complete [2020-11-26T17:44:02.372Z] df20fa9351a1: Pull complete [2020-11-26T17:44:02.635Z] 36b3adc4ff6f: Pull complete [2020-11-26T17:44:04.035Z] aa168da1d23b: Verifying Checksum [2020-11-26T17:44:04.036Z] aa168da1d23b: Download complete [2020-11-26T17:44:04.298Z] 8ad3a11d3b57: Pull complete [2020-11-26T17:44:04.561Z] 46f8f816bc3b: Pull complete [2020-11-26T17:44:05.149Z] 93b61091891f: Pull complete [2020-11-26T17:44:05.149Z] 93b9cdb0e59b: Pull complete [2020-11-26T17:44:05.149Z] 5e14af77c1be: Pull complete [2020-11-26T17:44:05.421Z] 01666e4c0597: Pull complete [2020-11-26T17:44:12.265Z] aa168da1d23b: Pull complete [2020-11-26T17:44:12.265Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-26T17:44:12.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T17:44:12.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-26T17:44:12.421Z] prd-centos7-docker-4c-2g-13593 does not seem to be running inside a container [2020-11-26T17:44:12.470Z] $ 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_master/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_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-26T17:44:15.792Z] $ docker top 353a28cb64bc215aef06cc33a814f707852b20c29e2f6a1abaf031d9cc358fbc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T17:44:16.403Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-26T17:44:16.706Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-26T17:44:17.005Z] + ls /var/log/sa-host [2020-11-26T17:44:17.005Z] + sadf -c /var/log/sa-host/sa23 [2020-11-26T17:44:17.005Z] file_magic: OK [2020-11-26T17:44:17.005Z] HZ: Using current value: 100 [2020-11-26T17:44:17.005Z] file_header: OK [2020-11-26T17:44:17.005Z] 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:44:17.005Z] Statistics: [2020-11-26T17:44:17.005Z] Hnuu...uuuununununu... [2020-11-26T17:44:17.005Z] File successfully converted to sysstat format version 12.2.1 [2020-11-26T17:44:17.005Z] + sadf -c /var/log/sa-host/sa26 [2020-11-26T17:44:17.005Z] file_magic: OK [2020-11-26T17:44:17.005Z] HZ: Using current value: 100 [2020-11-26T17:44:17.005Z] file_header: OK [2020-11-26T17:44:17.005Z] 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:44:17.005Z] Statistics: [2020-11-26T17:44:17.005Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-26T17:44:17.005Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T17:44:17.639Z] provisioning config files... [2020-11-26T17:44:17.659Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8779197224333809795tmp [Pipeline] { [Pipeline] echo [2020-11-26T17:44:17.733Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:44:18.035Z] ---> create-netrc.sh [Pipeline] } [2020-11-26T17:44:18.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-26T17:44:18.174Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:44:18.483Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-26T17:44:18.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:44:18.792Z] ---> sudo-logs.sh [2020-11-26T17:44:18.792Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-26T17:44:18.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:44:19.101Z] ---> job-cost.sh [2020-11-26T17:44:19.101Z] lf-activate-venv: SKIPPING [2020-11-26T17:44:19.101Z] INFO: No Stack... [2020-11-26T17:44:20.493Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-26T17:44:20.755Z] INFO: Archiving Costs [Pipeline] echo [2020-11-26T17:44:20.770Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T17:44:21.067Z] ---> logs-deploy.sh [2020-11-26T17:44:21.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/150 [2020-11-26T17:44:21.067Z] INFO: archiving workspace using pattern(s): [2020-11-26T17:44:22.459Z] Archives upload complete. [2020-11-26T17:44:22.459Z] INFO: archiving logs to Nexus