Pull request #581 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dbf249899cabcabc9bbbe0b4d333b8dbd665b69c+0a4fdda1e318ddf36e94991935efadf748809222 (55705b09fecccf7dd372847ab93a00a7ddb2331c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13590 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-581 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:11:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:11:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 3bd5af99b50ff0f19f90459d75678b1f6c1cbbdb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:11:13 ========================================================= 17:11:13 EdgeX Global Pipelines Version Info 17:11:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:11:15 ------------------- 17:11:15 stable info: 17:11:15 ------------------- 17:11:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:11:15 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 17:11:15 Message: update stable to v1.0.167 17:11:17 ------------------- 17:11:17 experimental info: 17:11:17 ------------------- 17:11:17 Commited By: **** collab-it+edgex@linuxfoundation.org 17:11:17 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 17:11:17 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:11:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:11:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:11:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo 17:11:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo 17:11:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo 17:11:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] echo 17:11:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbf2498 [Pipeline] echo 17:11:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:11:21 provisioning config files... 17:11:21 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config1286758584846154927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:21 ---> docker-login.sh 17:11:21 nexus3.edgexfoundry.org:10001 17:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:22 Configure a credential helper to remove this warning. See 17:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:22 17:11:22 Login Succeeded 17:11:22 nexus3.edgexfoundry.org:10002 17:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:22 Configure a credential helper to remove this warning. See 17:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:22 17:11:22 Login Succeeded 17:11:22 nexus3.edgexfoundry.org:10003 17:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:23 Configure a credential helper to remove this warning. See 17:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:23 17:11:23 Login Succeeded 17:11:23 nexus3.edgexfoundry.org:10004 17:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:23 Configure a credential helper to remove this warning. See 17:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:23 17:11:23 Login Succeeded 17:11:23 docker.io 17:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:23 Configure a credential helper to remove this warning. See 17:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:23 17:11:23 Login Succeeded 17:11:23 ---> docker-login.sh ends [Pipeline] } 17:11:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:24 + git log --format=format:%s -1 dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] echo 17:11:24 GIT_COMMIT: dbf249899cabcabc9bbbe0b4d333b8dbd665b69c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-secrets [Pipeline] echo 17:11:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:25 17:11:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:11:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:26 latest: Pulling from edgex-devops/git-semver 17:11:26 31603596830f: Pulling fs layer 17:11:26 2a8b12db71e7: Pulling fs layer 17:11:26 6ca5941a6612: Pulling fs layer 17:11:26 ecc8261a40a4: Pulling fs layer 17:11:26 ecc8261a40a4: Waiting 17:11:26 2a8b12db71e7: Download complete 17:11:26 31603596830f: Verifying Checksum 17:11:26 31603596830f: Download complete 17:11:26 ecc8261a40a4: Verifying Checksum 17:11:26 ecc8261a40a4: Download complete 17:11:26 6ca5941a6612: Verifying Checksum 17:11:26 6ca5941a6612: Download complete 17:11:27 31603596830f: Pull complete 17:11:27 2a8b12db71e7: Pull complete 17:11:28 6ca5941a6612: Pull complete 17:11:28 ecc8261a40a4: Pull complete 17:11:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:11:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:11:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:11:29 prd-centos7-docker-4c-2g-13590 does not seem to be running inside a container 17:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-581 -v /w/workspace/ndry_app-functions-sdk-go_PR-581:/w/workspace/ndry_app-functions-sdk-go_PR-581:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:11:31 $ docker top 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:32 [ssh-agent] Looking for ssh-agent implementation... 17:11:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:32 $ docker exec 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent 17:11:32 SSH_AUTH_SOCK=/tmp/ssh-FXB6hbwRpcWf/agent.12 17:11:32 SSH_AGENT_PID=17 17:11:33 Running ssh-add (command line suppressed) 17:11:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_3298634961663917074.key (/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_3298634961663917074.key) 17:11:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:33 + git tag --points-at HEAD [Pipeline] } 17:11:33 $ docker exec --env ******** --env ******** 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent -k 17:11:33 unset SSH_AUTH_SOCK; 17:11:33 unset SSH_AGENT_PID; 17:11:33 echo Agent pid 17 killed; 17:11:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:34 [ssh-agent] Looking for ssh-agent implementation... 17:11:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:34 $ docker exec 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent 17:11:34 SSH_AUTH_SOCK=/tmp/ssh-fCu5yPDvR8Ey/agent.47 17:11:34 SSH_AGENT_PID=53 17:11:34 Running ssh-add (command line suppressed) 17:11:34 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_6568460979092107164.key (/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/private_key_6568460979092107164.key) 17:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:35 + git semver init 17:11:35 # -> Open(): unable to determine branch for HEAD 17:11:35 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-581/.git 17:11:35 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-581 17:11:35 # $SEMVER_REMOTE_NAME = origin 17:11:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:11:35 # $SEMVER_USER_NAME = edgex-jenkins 17:11:35 # $SEMVER_BRANCH = PR-581 17:11:35 # $SEMVER_TEMP = /tmp/semver-416326595 17:11:35 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:11:39 # '/tmp/semver-416326595' -> '/w/workspace/ndry_app-functions-sdk-go_PR-581/.semver' 17:11:39 # -> Force: false 17:11:39 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-581/.semver [Pipeline] } 17:11:39 $ docker exec --env ******** --env ******** 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 ssh-agent -k 17:11:39 unset SSH_AUTH_SOCK; 17:11:39 unset SSH_AGENT_PID; 17:11:39 echo Agent pid 53 killed; 17:11:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:40 + git semver [Pipeline] } 17:11:40 $ docker stop --time=1 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 17:11:41 $ docker rm -f 65044964afeb8c4c88691ce401360cc4d810c7f5a381991197e0288eeaf3f9b3 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:11:43 Stashed 1 file(s) [Pipeline] echo 17:11:43 [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 17:11:58 Still waiting to schedule task 17:11:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:11:58 Still waiting to schedule task 17:11:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:14:33 Running on prd-centos7-docker-4c-2g-13591 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] ws 17:14:33 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:14:39 using credential edgex-jenkins-ssh 17:14:40 Cloning the remote Git repository 17:14:40 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:40 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 17:14:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:40 > git --version # timeout=10 17:14:40 > git --version # 'git version 2.24.3' 17:14:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:43 Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c 17:14:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:14:43 > git config core.sparsecheckout # timeout=10 17:14:43 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 17:14:43 Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c 17:14:43 Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) 17:14:43 > git remote # timeout=10 17:14:43 > git config --get remote.origin.url # timeout=10 17:14:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:43 > git merge 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 17:14:43 > git rev-parse HEAD^{commit} # timeout=10 17:14:43 > git config core.sparsecheckout # timeout=10 17:14:43 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 17:14:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:14:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:14:50 + sudo service docker restart 17:14:50 + true 17:14:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:14:52 provisioning config files... 17:14:52 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config9155748007430401889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:52 ---> docker-login.sh 17:14:52 nexus3.edgexfoundry.org:10001 17:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:53 Configure a credential helper to remove this warning. See 17:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:53 17:14:53 Login Succeeded 17:14:53 nexus3.edgexfoundry.org:10002 17:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:53 Configure a credential helper to remove this warning. See 17:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:53 17:14:53 Login Succeeded 17:14:53 nexus3.edgexfoundry.org:10003 17:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:53 Configure a credential helper to remove this warning. See 17:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:53 17:14:53 Login Succeeded 17:14:53 nexus3.edgexfoundry.org:10004 17:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:54 Configure a credential helper to remove this warning. See 17:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:54 17:14:54 Login Succeeded 17:14:54 docker.io 17:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:54 Configure a credential helper to remove this warning. See 17:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:54 17:14:54 Login Succeeded 17:14:54 ---> docker-login.sh ends [Pipeline] } 17:14:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:54 ========================================================= 17:14:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:14:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:14:55 + 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 . 17:14:56 Sending build context to Docker daemon 19.17MB 17:14:56 Step 1/8 : ARG BASE=golang:1.15-alpine 17:14:56 Step 2/8 : FROM ${BASE} 17:14:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:14:56 df20fa9351a1: Pulling fs layer 17:14:56 ed8968b2872e: Pulling fs layer 17:14:56 a92cc7c5fd73: Pulling fs layer 17:14:56 e871e8e8d7a9: Pulling fs layer 17:14:56 e73272ec9a57: Pulling fs layer 17:14:56 e871e8e8d7a9: Waiting 17:14:56 1e910a182e73: Pulling fs layer 17:14:56 4e634b169226: Pulling fs layer 17:14:56 e73272ec9a57: Waiting 17:14:56 1e910a182e73: Waiting 17:14:56 4e634b169226: Waiting 17:14:56 a92cc7c5fd73: Download complete 17:14:56 ed8968b2872e: Verifying Checksum 17:14:56 ed8968b2872e: Download complete 17:14:56 e73272ec9a57: Verifying Checksum 17:14:56 e73272ec9a57: Download complete 17:14:56 1e910a182e73: Verifying Checksum 17:14:56 1e910a182e73: Download complete 17:14:56 df20fa9351a1: Download complete 17:14:57 df20fa9351a1: Pull complete 17:14:57 ed8968b2872e: Pull complete 17:14:58 a92cc7c5fd73: Pull complete 17:15:01 4e634b169226: Verifying Checksum 17:15:01 4e634b169226: Download complete 17:15:02 e871e8e8d7a9: Verifying Checksum 17:15:02 e871e8e8d7a9: Download complete 17:15:11 e871e8e8d7a9: Pull complete 17:15:11 e73272ec9a57: Pull complete 17:15:11 1e910a182e73: Pull complete 17:15:16 4e634b169226: Pull complete 17:15:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:15:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:15:16 ---> f7629b54cfaa 17:15:16 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:15:17 latest: Pulling from library/docker 17:15:17 188c0c94c7c5: Pulling fs layer 17:15:17 0c7c675703d6: Pulling fs layer 17:15:17 cc8c12a437cb: Pulling fs layer 17:15:17 c5dafad2182a: Pulling fs layer 17:15:17 5aa711733414: Pulling fs layer 17:15:17 058f73b55e4b: Pulling fs layer 17:15:17 8c9c664faf12: Pulling fs layer 17:15:17 5aa711733414: Waiting 17:15:17 058f73b55e4b: Waiting 17:15:17 8c9c664faf12: Waiting 17:15:17 c5dafad2182a: Waiting 17:15:17 cc8c12a437cb: Verifying Checksum 17:15:17 cc8c12a437cb: Download complete 17:15:17 0c7c675703d6: Verifying Checksum 17:15:17 0c7c675703d6: Download complete 17:15:17 188c0c94c7c5: Verifying Checksum 17:15:17 188c0c94c7c5: Download complete 17:15:17 5aa711733414: Verifying Checksum 17:15:17 5aa711733414: Download complete 17:15:17 058f73b55e4b: Verifying Checksum 17:15:17 058f73b55e4b: Download complete 17:15:18 8c9c664faf12: Verifying Checksum 17:15:18 8c9c664faf12: Download complete 17:15:18 188c0c94c7c5: Pull complete 17:15:19 0c7c675703d6: Pull complete 17:15:19 c5dafad2182a: Verifying Checksum 17:15:19 c5dafad2182a: Download complete 17:15:19 cc8c12a437cb: Pull complete 17:15:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13592 in /w/workspace/ndry_app-functions-sdk-go_PR-581 [Pipeline] { [Pipeline] ws 17:15:24 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { 17:15:24 c5dafad2182a: Pull complete [Pipeline] checkout 17:15:24 5aa711733414: Pull complete 17:15:24 058f73b55e4b: Pull complete 17:15:24 8c9c664faf12: Pull complete 17:15:24 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 17:15:24 Status: Downloaded newer image for docker:latest 17:15:26 ---> 6e5eca86aa28 17:15:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:15:26 ---> Running in 13eaeb080742 17:15:27 Removing intermediate container 13eaeb080742 17:15:27 ---> 1dae06aff2e1 17:15:27 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:15:27 ---> Running in 078ffadcb5d3 17:15:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:15:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:15:29 (1/5) Installing libsodium (1.0.18-r0) 17:15:29 using credential edgex-jenkins-ssh 17:15:29 Cloning the remote Git repository 17:15:29 (2/5) Installing libzmq (4.3.3-r0) 17:15:29 (3/5) Installing pkgconf (1.7.2-r0) 17:15:29 (4/5) Installing libsodium-dev (1.0.18-r0) 17:15:30 (5/5) Installing zeromq-dev (4.3.3-r0) 17:15:30 Executing busybox-1.31.1-r16.trigger 17:15:30 OK: 167 MiB in 44 packages 17:15:29 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:29 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 17:15:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:29 > git --version # timeout=10 17:15:29 > git --version # 'git version 2.17.1' 17:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:31 Removing intermediate container 078ffadcb5d3 17:15:31 ---> 7fa44314df7a 17:15:31 Step 6/8 : WORKDIR /build 17:15:31 ---> Running in 1835d2c6c94f 17:15:31 Removing intermediate container 1835d2c6c94f 17:15:31 ---> 3a6961d05c9a 17:15:31 Step 7/8 : COPY go.mod . 17:15:31 ---> b63c94af6a49 17:15:31 Step 8/8 : RUN go mod download 17:15:31 ---> Running in 0893e16eda32 17:15:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:15:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:32 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:15:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:15:33 Merging remotes/origin/master commit 0a4fdda1e318ddf36e94991935efadf748809222 into PR head commit dbf249899cabcabc9bbbe0b4d333b8dbd665b69c 17:15:33 Merge succeeded, producing dbf249899cabcabc9bbbe0b4d333b8dbd665b69c 17:15:33 Checking out Revision dbf249899cabcabc9bbbe0b4d333b8dbd665b69c (PR-581) 17:15:33 > git config core.sparsecheckout # timeout=10 17:15:33 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 17:15:33 > git remote # timeout=10 17:15:33 > git config --get remote.origin.url # timeout=10 17:15:33 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:33 > git merge 0a4fdda1e318ddf36e94991935efadf748809222 # timeout=10 17:15:33 > git rev-parse HEAD^{commit} # timeout=10 17:15:33 > git config core.sparsecheckout # timeout=10 17:15:33 > git checkout -f dbf249899cabcabc9bbbe0b4d333b8dbd665b69c # timeout=10 17:15:38 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:15:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:15:41 + true 17:15:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:15:43 provisioning config files... 17:15:43 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config2208606996980531520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:44 ---> docker-login.sh 17:15:44 nexus3.edgexfoundry.org:10001 17:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:45 Configure a credential helper to remove this warning. See 17:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:45 17:15:45 Login Succeeded 17:15:45 nexus3.edgexfoundry.org:10002 17:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:45 Configure a credential helper to remove this warning. See 17:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:45 17:15:45 Login Succeeded 17:15:45 nexus3.edgexfoundry.org:10003 17:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:46 Configure a credential helper to remove this warning. See 17:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:46 17:15:46 Login Succeeded 17:15:46 nexus3.edgexfoundry.org:10004 17:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:46 Configure a credential helper to remove this warning. See 17:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:46 17:15:46 Login Succeeded 17:15:46 docker.io 17:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:47 Configure a credential helper to remove this warning. See 17:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:47 17:15:47 Login Succeeded 17:15:47 ---> docker-login.sh ends [Pipeline] } 17:15:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:15:48 ========================================================= 17:15:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:15:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:15:48 + 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 . 17:15:49 Sending build context to Docker daemon 19.17MB 17:15:49 Step 1/8 : ARG BASE=golang:1.15-alpine 17:15:49 Step 2/8 : FROM ${BASE} 17:15:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:15:49 b538f80385f9: Pulling fs layer 17:15:49 74f711af9a0d: Pulling fs layer 17:15:49 99f96fe45779: Pulling fs layer 17:15:49 8529a6b9a6be: Pulling fs layer 17:15:49 45590311c82a: Pulling fs layer 17:15:49 69ca0ff8b7b3: Pulling fs layer 17:15:49 209524e5b208: Pulling fs layer 17:15:49 69ca0ff8b7b3: Waiting 17:15:49 8529a6b9a6be: Waiting 17:15:49 45590311c82a: Waiting 17:15:49 209524e5b208: Waiting 17:15:49 99f96fe45779: Verifying Checksum 17:15:49 99f96fe45779: Download complete 17:15:49 74f711af9a0d: Verifying Checksum 17:15:49 74f711af9a0d: Download complete 17:15:49 45590311c82a: Verifying Checksum 17:15:49 45590311c82a: Download complete 17:15:49 69ca0ff8b7b3: Verifying Checksum 17:15:49 69ca0ff8b7b3: Download complete 17:15:49 b538f80385f9: Verifying Checksum 17:15:49 b538f80385f9: Download complete 17:15:50 b538f80385f9: Pull complete 17:15:50 74f711af9a0d: Pull complete 17:15:50 99f96fe45779: Pull complete 17:15:52 209524e5b208: Verifying Checksum 17:15:52 209524e5b208: Download complete 17:15:52 8529a6b9a6be: Verifying Checksum 17:15:52 8529a6b9a6be: Download complete 17:16:03 8529a6b9a6be: Pull complete 17:16:03 45590311c82a: Pull complete 17:16:03 69ca0ff8b7b3: Pull complete 17:16:04 Removing intermediate container 0893e16eda32 17:16:04 ---> 1918a0fd154e 17:16:04 Successfully built 1918a0fd154e 17:16:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:16:05 + docker inspect -f . ci-base-image-x86_64 17:16:05 . [Pipeline] withDockerContainer 17:16:05 prd-centos7-docker-4c-2g-13591 does not seem to be running inside a container 17:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:16:07 209524e5b208: Pull complete 17:16:07 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:16:07 ---> 5bddaf1c2fca 17:16:07 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:16:07 latest: Pulling from library/docker 17:16:07 $ docker top a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda -eo pid,comm 17:16:07 5f621e34cdf4: Pulling fs layer 17:16:07 85db56a05063: Pulling fs layer 17:16:07 ccb67d6aeaaa: Pulling fs layer 17:16:07 a0b19fc83503: Pulling fs layer 17:16:07 8eb508b41278: Pulling fs layer 17:16:07 37236713561e: Pulling fs layer 17:16:07 07c93f2b1b56: Pulling fs layer 17:16:07 a0b19fc83503: Waiting 17:16:07 8eb508b41278: Waiting 17:16:07 37236713561e: Waiting 17:16:07 07c93f2b1b56: Waiting 17:16:07 ccb67d6aeaaa: Verifying Checksum 17:16:07 ccb67d6aeaaa: Download complete 17:16:07 85db56a05063: Verifying Checksum 17:16:07 85db56a05063: Download complete 17:16:07 5f621e34cdf4: Download complete [Pipeline] { [Pipeline] sh 17:16:08 8eb508b41278: Verifying Checksum 17:16:08 8eb508b41278: Download complete 17:16:08 37236713561e: Download complete 17:16:08 07c93f2b1b56: Verifying Checksum 17:16:08 07c93f2b1b56: Download complete 17:16:08 5f621e34cdf4: Pull complete 17:16:08 + go version 17:16:08 go version go1.15.2 linux/amd64 [Pipeline] } 17:16:08 $ docker stop --time=1 a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda 17:16:09 a0b19fc83503: Verifying Checksum 17:16:09 a0b19fc83503: Download complete 17:16:09 85db56a05063: Pull complete 17:16:09 ccb67d6aeaaa: Pull complete 17:16:10 $ docker rm -f a0cacaaf45d7210676cc3446f31cdb91c7cddf4ea6768886cac35f60105c1bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:16:11 + docker inspect -f . ci-base-image-x86_64 17:16:11 . [Pipeline] withDockerContainer 17:16:11 prd-centos7-docker-4c-2g-13591 does not seem to be running inside a container 17:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:16:13 $ docker top 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f -eo pid,comm 17:16:13 a0b19fc83503: Pull complete 17:16:13 8eb508b41278: Pull complete [Pipeline] { [Pipeline] sh 17:16:13 37236713561e: Pull complete 17:16:13 + make test 17:16:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:16:14 07c93f2b1b56: Pull complete 17:16:14 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 17:16:14 Status: Downloaded newer image for docker:latest 17:16:16 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 17:16:20 ---> 853d79fa4971 17:16:20 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:16:20 ---> Running in 711cc4dfae9f 17:16:20 Removing intermediate container 711cc4dfae9f 17:16:20 ---> 9ec171a14913 17:16:20 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:16:21 ---> Running in ab951dd754d7 17:16:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:16:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:16:23 (1/5) Installing libsodium (1.0.18-r0) 17:16:23 (2/5) Installing libzmq (4.3.3-r0) 17:16:23 (3/5) Installing pkgconf (1.7.2-r0) 17:16:24 (4/5) Installing libsodium-dev (1.0.18-r0) 17:16:24 (5/5) Installing zeromq-dev (4.3.3-r0) 17:16:24 Executing busybox-1.31.1-r16.trigger 17:16:24 OK: 144 MiB in 44 packages 17:16:25 Removing intermediate container ab951dd754d7 17:16:25 ---> 65828d4ef95b 17:16:25 Step 6/8 : WORKDIR /build 17:16:25 ---> Running in 4a447351f5cd 17:16:26 Removing intermediate container 4a447351f5cd 17:16:26 ---> 17a70229df01 17:16:26 Step 7/8 : COPY go.mod . 17:16:26 ---> 1abd8d9623cd 17:16:26 Step 8/8 : RUN go mod download 17:16:26 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.043s coverage: 86.2% of statements 17:16:26 ---> Running in c185984b4ce2 17:16:53 Removing intermediate container c185984b4ce2 17:16:53 ---> d02f1c5cff98 17:16:53 Successfully built d02f1c5cff98 17:16:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:16:54 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.139s coverage: 52.0% of statements 17:16:54 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 17:16:54 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 17:16:54 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 54.7% of statements 17:16:54 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 17:16:54 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.093s coverage: 69.1% of statements 17:16:54 + docker inspect -f . ci-base-image-arm64 17:16:54 . [Pipeline] withDockerContainer 17:16:54 prd-ubuntu18.04-docker-arm64-4c-16g-13592 does not seem to be running inside a container 17:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:16:55 $ docker top 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:57 + go version 17:16:57 go version go1.15.2 linux/arm64 [Pipeline] } 17:16:57 $ docker stop --time=1 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 17:16:59 $ docker rm -f 85866eed68659ee52155d3267cb3b498a41796f421b6404be548d68a57ded8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:17:00 + docker inspect -f . ci-base-image-arm64 17:17:00 . [Pipeline] withDockerContainer 17:17:00 prd-ubuntu18.04-docker-arm64-4c-16g-13592 does not seem to be running inside a container 17:17:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:17:01 $ docker top 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:02 + make test 17:17:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:17:04 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.542s coverage: 61.6% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.019s coverage: 89.5% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.048s coverage: 100.0% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.086s coverage: 100.0% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.016s coverage: 100.0% of statements 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.055s coverage: 96.6% of statements 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.039s coverage: 97.7% of statements 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.039s coverage: 8.8% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.962s coverage: 75.0% of statements 17:17:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.057s coverage: 89.7% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.026s coverage: 80.5% of statements 17:17:06 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.009s coverage: 71.7% of statements 17:17:26 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.048s coverage: 86.2% of statements 17:17:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.065s coverage: 71.0% of statements 17:17:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 17:17:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:17:33 gofmt -l . 17:17:33 [ "`gofmt -l .`" = "" ] 17:17:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:17:34 $ docker stop --time=1 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f 17:17:36 $ docker rm -f 0b6e7458d2993a07b45e87f30cc2af901fa398ecd2f83262c6f9f9cdb2dca39f [Pipeline] // withDockerContainer [Pipeline] sh 17:17:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:17:37 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] } 17:18:05 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 52.0% of statements 17:18:05 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 17:18:05 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 17:18:05 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.081s coverage: 54.7% of statements 17:18:05 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 17:18:05 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.076s coverage: 69.1% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.454s coverage: 61.6% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.014s coverage: 100.0% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.033s coverage: 100.0% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.021s coverage: 8.8% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.937s coverage: 75.0% of statements 17:18:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 17:18:18 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.035s coverage: 71.7% of statements 17:18:44 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.057s coverage: 71.0% of statements 17:18:44 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 17:18:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:18:55 gofmt -l . 17:18:55 [ "`gofmt -l .`" = "" ] 17:18:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:18:56 $ docker stop --time=1 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 17:18:58 $ docker rm -f 6314c969e8fced75ca8522cc9c64369c6e2dae39269c8bad45e0d2d9b1979c69 [Pipeline] // withDockerContainer [Pipeline] sh 17:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:18:59 Warning: overwriting stash ‘coverage-report’ 17:19:00 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 17:19:03 provisioning config files... 17:19:03 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config7792823259170118722tmp [Pipeline] { [Pipeline] sh 17:19:03 + set +x 17:19:03 + curl -s https://codecov.io/bash 17:19:03 + bash -s -- 17:19:03 17:19:03 _____ _ 17:19:03 / ____| | | 17:19:03 | | ___ __| | ___ ___ _____ __ 17:19:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:19:03 | |___| (_) | (_| | __/ (_| (_) \ V / 17:19:03 \_____\___/ \__,_|\___|\___\___/ \_/ 17:19:03 Bash-20201124-79cbc08 17:19:03 17:19:03 17:19:03 ==> Jenkins CI detected. 17:19:03 project root: . 17:19:03 --> token set from env 17:19:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:19:03 ==> Running gcov in . (disable via -X gcov) 17:19:03 ==> Python coveragepy not found 17:19:03 ==> Searching for coverage reports in: 17:19:03 + . 17:19:03 -> Found 1 reports 17:19:03 ==> Detecting git/mercurial file structure 17:19:03 ==> Reading reports 17:19:03 + ./coverage.out bytes=90550 17:19:03 ==> Appending adjustments 17:19:03 https://docs.codecov.io/docs/fixing-reports 17:19:04 + Found adjustments 17:19:04 ==> Gzipping contents 17:19:04 16K /tmp/codecov.no77ob.gz 17:19:04 ==> Uploading reports 17:19:04 url: https://codecov.io 17:19:04 query: branch=PR-581&commit=dbf249899cabcabc9bbbe0b4d333b8dbd665b69c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=581&job=&cmd_args= 17:19:04 -> Pinging Codecov 17:19:04 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-581&commit=dbf249899cabcabc9bbbe0b4d333b8dbd665b69c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-581%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=581&job=&cmd_args= 17:19:05 -> Uploading to 17:19:05 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/3D8B5DFFC46A037C893635FACE044666/dbf249899cabcabc9bbbe0b4d333b8dbd665b69c/929a60b3-69fd-497a-980a-5bd8e8330a10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T171904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7603f352ea59703a8402bfb1b1b6a60a1a6b9e2f967c57c0b3a6019c2b4a237 17:19:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:19:05 Dload Upload Total Spent Left Speed 17:19:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16087 0 0 100 16087 0 36891 --:--:-- --:--:-- --:--:-- 36981 17:19:05 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/dbf249899cabcabc9bbbe0b4d333b8dbd665b69c [Pipeline] } 17:19:05 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 17:19:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:19:08 ---> package-listing.sh 17:19:08 ++ facter osfamily 17:19:08 ++ tr '[:upper:]' '[:lower:]' 17:19:08 + OS_FAMILY=redhat 17:19:08 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-581 17:19:08 + START_PACKAGES=/tmp/packages_start.txt 17:19:08 + END_PACKAGES=/tmp/packages_end.txt 17:19:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:19:08 + PACKAGES=/tmp/packages_start.txt 17:19:08 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-581 ']' 17:19:08 + PACKAGES=/tmp/packages_end.txt 17:19:08 + case "${OS_FAMILY}" in 17:19:08 + rpm -qa 17:19:08 + sort 17:19:14 + '[' -f /tmp/packages_start.txt ']' 17:19:14 + '[' -f /tmp/packages_end.txt ']' 17:19:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:19:14 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-581 ']' 17:19:14 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-581/archives/ 17:19:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-581/archives/ [Pipeline] echo 17:19:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:19:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:15 17:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:15 alpine: Pulling from edgex-lftools-log-publisher 17:19:15 df20fa9351a1: Pulling fs layer 17:19:15 36b3adc4ff6f: Pulling fs layer 17:19:15 8ad3a11d3b57: Pulling fs layer 17:19:15 46f8f816bc3b: Pulling fs layer 17:19:15 93b61091891f: Pulling fs layer 17:19:15 93b9cdb0e59b: Pulling fs layer 17:19:15 5e14af77c1be: Pulling fs layer 17:19:15 01666e4c0597: Pulling fs layer 17:19:15 aa168da1d23b: Pulling fs layer 17:19:15 93b9cdb0e59b: Waiting 17:19:15 5e14af77c1be: Waiting 17:19:15 01666e4c0597: Waiting 17:19:15 aa168da1d23b: Waiting 17:19:15 46f8f816bc3b: Waiting 17:19:15 93b61091891f: Waiting 17:19:15 36b3adc4ff6f: Verifying Checksum 17:19:15 36b3adc4ff6f: Download complete 17:19:15 46f8f816bc3b: Download complete 17:19:15 df20fa9351a1: Verifying Checksum 17:19:15 df20fa9351a1: Download complete 17:19:15 93b9cdb0e59b: Verifying Checksum 17:19:15 93b9cdb0e59b: Download complete 17:19:15 5e14af77c1be: Verifying Checksum 17:19:15 5e14af77c1be: Download complete 17:19:15 93b61091891f: Download complete 17:19:15 01666e4c0597: Download complete 17:19:16 df20fa9351a1: Pull complete 17:19:16 8ad3a11d3b57: Verifying Checksum 17:19:16 8ad3a11d3b57: Download complete 17:19:16 36b3adc4ff6f: Pull complete 17:19:18 8ad3a11d3b57: Pull complete 17:19:18 46f8f816bc3b: Pull complete 17:19:19 93b61091891f: Pull complete 17:19:19 93b9cdb0e59b: Pull complete 17:19:19 5e14af77c1be: Pull complete 17:19:19 01666e4c0597: Pull complete 17:19:19 aa168da1d23b: Verifying Checksum 17:19:19 aa168da1d23b: Download complete 17:19:30 aa168da1d23b: Pull complete 17:19:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:19:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:19:30 prd-centos7-docker-4c-2g-13590 does not seem to be running inside a container 17:19:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-581 -v /w/workspace/ndry_app-functions-sdk-go_PR-581:/w/workspace/ndry_app-functions-sdk-go_PR-581:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:19:33 $ docker top 93f9d857729961de94b9a79e6c277a22d4e9d668251c2d5499546c5e11cf4f9c -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:34 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:34 + mkdir -p /var/log/sa [Pipeline] sh 17:19:35 + ls /var/log/sa-host 17:19:35 + sadf -c /var/log/sa-host/sa23 17:19:35 file_magic: OK 17:19:35 HZ: Using current value: 100 17:19:35 file_header: OK 17:19:35 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 17:19:35 Statistics: 17:19:35 Hnuu...uuuununununu... 17:19:35 File successfully converted to sysstat format version 12.2.1 17:19:35 + sadf -c /var/log/sa-host/sa26 17:19:35 file_magic: OK 17:19:35 HZ: Using current value: 100 17:19:35 file_header: OK 17:19:35 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 17:19:35 Statistics: 17:19:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:35 provisioning config files... 17:19:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-581@tmp/config7535651287699380764tmp [Pipeline] { [Pipeline] echo 17:19:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:35 ---> create-netrc.sh [Pipeline] } 17:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:19:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:19:36 ---> python-tools-install.sh [Pipeline] echo 17:19:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:36 ---> sudo-logs.sh 17:19:36 Archiving 'sudo' log.. [Pipeline] echo 17:19:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:37 ---> job-cost.sh 17:19:37 lf-activate-venv: SKIPPING 17:19:37 INFO: No Stack... 17:19:38 INFO: Retrieving Pricing Info for: v1-standard-2 17:19:39 INFO: Archiving Costs [Pipeline] echo 17:19:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:39 ---> logs-deploy.sh 17:19:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-581/3 17:19:39 INFO: archiving workspace using pattern(s): 17:19:41 Archives upload complete. 17:19:41 INFO: archiving logs to Nexus