Pull request #568 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of beaufrusetta for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at 5b297c99e7a02495e1c2bf8274fcb76147152718 rather than 4cc126533dcad6d55158343f77280e36ba4b3d14 Obtained Jenkinsfile from 5b297c99e7a02495e1c2bf8274fcb76147152718 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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-11739 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [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-568 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 4cc126533dcad6d55158343f77280e36ba4b3d14 Merge succeeded, producing 4cc126533dcad6d55158343f77280e36ba4b3d14 Checking out Revision 4cc126533dcad6d55158343f77280e36ba4b3d14 (PR-568) > 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 --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # 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 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # timeout=10 Commit message: "fix: Content-Type for compression/encryption" First time build. Skipping changelog. > git rev-list --no-walk 08426b644c9b1c59082f5abfe8988b706b92972c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:03:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:03:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:03:19 ========================================================= 16:03:19 EdgeX Global Pipelines Version Info 16:03:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:03:21 ------------------- 16:03:21 stable info: 16:03:21 ------------------- 16:03:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:03:21 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 16:03:21 Message: update stable to v1.0.162 16:03:22 ------------------- 16:03:22 experimental info: 16:03:22 ------------------- 16:03:22 Commited By: **** collab-it+edgex@linuxfoundation.org 16:03:22 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 16:03:22 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:03:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:03:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:03:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:03:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:03:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 16:03:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-568 [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-568 [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-568 [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cc126533dcad6d55158343f77280e36ba4b3d14 [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cc1265 [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:03:26 provisioning config files... 16:03:26 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config1899244621505651678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:26 ---> docker-login.sh 16:03:26 nexus3.edgexfoundry.org:10001 16:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:27 Configure a credential helper to remove this warning. See 16:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:27 16:03:27 Login Succeeded 16:03:27 nexus3.edgexfoundry.org:10002 16:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:27 Configure a credential helper to remove this warning. See 16:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:27 16:03:27 Login Succeeded 16:03:27 nexus3.edgexfoundry.org:10003 16:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:27 Configure a credential helper to remove this warning. See 16:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:27 16:03:27 Login Succeeded 16:03:27 nexus3.edgexfoundry.org:10004 16:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:27 Configure a credential helper to remove this warning. See 16:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:27 16:03:27 Login Succeeded 16:03:27 docker.io 16:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:28 Configure a credential helper to remove this warning. See 16:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:28 16:03:28 Login Succeeded 16:03:28 ---> docker-login.sh ends [Pipeline] } 16:03:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:29 + git log --format=format:%s -1 4cc126533dcad6d55158343f77280e36ba4b3d14 [Pipeline] echo 16:03:29 GIT_COMMIT: 4cc126533dcad6d55158343f77280e36ba4b3d14, Commit Message: fix: Content-Type for compression/encryption [Pipeline] echo 16:03:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:03:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:30 16:03:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:03:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:30 latest: Pulling from edgex-devops/git-semver 16:03:30 31603596830f: Pulling fs layer 16:03:30 2a8b12db71e7: Pulling fs layer 16:03:30 6ca5941a6612: Pulling fs layer 16:03:30 ecc8261a40a4: Pulling fs layer 16:03:30 2a8b12db71e7: Verifying Checksum 16:03:30 2a8b12db71e7: Download complete 16:03:30 31603596830f: Verifying Checksum 16:03:30 31603596830f: Download complete 16:03:30 ecc8261a40a4: Verifying Checksum 16:03:30 ecc8261a40a4: Download complete 16:03:30 6ca5941a6612: Verifying Checksum 16:03:30 6ca5941a6612: Download complete 16:03:31 31603596830f: Pull complete 16:03:31 2a8b12db71e7: Pull complete 16:03:32 6ca5941a6612: Pull complete 16:03:32 ecc8261a40a4: Pull complete 16:03:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:03:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:03:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:03:32 prd-centos7-docker-4c-2g-11739 does not seem to be running inside a container 16:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-568 -v /w/workspace/ndry_app-functions-sdk-go_PR-568:/w/workspace/ndry_app-functions-sdk-go_PR-568:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-568@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:10004/edgex-devops/git-semver:latest cat 16:03:34 $ docker top 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:34 [ssh-agent] Looking for ssh-agent implementation... 16:03:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:35 $ docker exec 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 ssh-agent 16:03:35 SSH_AUTH_SOCK=/tmp/ssh-g30Ta2xwB50L/agent.12 16:03:35 SSH_AGENT_PID=17 16:03:35 Running ssh-add (command line suppressed) 16:03:35 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_3052412504967490926.key (/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_3052412504967490926.key) 16:03:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:35 + git tag --points-at HEAD [Pipeline] } 16:03:35 $ docker exec --env ******** --env ******** 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 ssh-agent -k 16:03:36 unset SSH_AUTH_SOCK; 16:03:36 unset SSH_AGENT_PID; 16:03:36 echo Agent pid 17 killed; 16:03:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:03:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:36 [ssh-agent] Looking for ssh-agent implementation... 16:03:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:36 $ docker exec 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 ssh-agent 16:03:36 SSH_AUTH_SOCK=/tmp/ssh-NY4MUdUrJjUI/agent.47 16:03:36 SSH_AGENT_PID=52 16:03:36 Running ssh-add (command line suppressed) 16:03:36 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_6974583603577144788.key (/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/private_key_6974583603577144788.key) 16:03:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:37 + git semver init 16:03:37 # -> Open(): unable to determine branch for HEAD 16:03:37 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-568/.git 16:03:37 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-568 16:03:37 # $SEMVER_REMOTE_NAME = origin 16:03:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:03:37 # $SEMVER_USER_NAME = edgex-jenkins 16:03:37 # $SEMVER_BRANCH = PR-568 16:03:37 # $SEMVER_TEMP = /tmp/semver-554453462 16:03:37 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:03:39 # '/tmp/semver-554453462' -> '/w/workspace/ndry_app-functions-sdk-go_PR-568/.semver' 16:03:40 # -> Force: false 16:03:40 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-568/.semver [Pipeline] } 16:03:40 $ docker exec --env ******** --env ******** 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 ssh-agent -k 16:03:40 unset SSH_AUTH_SOCK; 16:03:40 unset SSH_AGENT_PID; 16:03:40 echo Agent pid 52 killed; 16:03:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:40 + git semver [Pipeline] } 16:03:40 $ docker stop --time=1 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 16:03:42 $ docker rm -f 51bd7303398f5fa5bd88bcf5864ed8b8999152d4993c4870a6ae454d990943f5 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:03:43 Stashed 1 file(s) [Pipeline] echo 16:03: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 16:03:59 Still waiting to schedule task 16:03:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11739’ 16:03:59 Still waiting to schedule task 16:03:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:05:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11741 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [Pipeline] { [Pipeline] ws 16:05:55 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:06:00 using credential edgex-jenkins-ssh 16:06:00 Cloning the remote Git repository 16:06:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:00 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 16:06:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:00 > git --version # timeout=10 16:06:00 > git --version # 'git version 2.17.1' 16:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:06:05 Merging remotes/origin/master commit 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 4cc126533dcad6d55158343f77280e36ba4b3d14 16:06:05 Merge succeeded, producing 4cc126533dcad6d55158343f77280e36ba4b3d14 16:06:05 Checking out Revision 4cc126533dcad6d55158343f77280e36ba4b3d14 (PR-568) 16:06:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:06:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:06:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:06:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:06:05 > git config core.sparsecheckout # timeout=10 16:06:05 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # timeout=10 16:06:05 > git remote # timeout=10 16:06:05 > git config --get remote.origin.url # timeout=10 16:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:05 > git merge 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 16:06:05 > git rev-parse HEAD^{commit} # timeout=10 16:06:05 > git config core.sparsecheckout # timeout=10 16:06:05 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # timeout=10 16:06:09 Commit message: "fix: Content-Type for compression/encryption" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:06:10 provisioning config files... 16:06:10 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config2590081329011554204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:12 ---> docker-login.sh 16:06:12 nexus3.edgexfoundry.org:10001 16:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:13 Configure a credential helper to remove this warning. See 16:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:13 16:06:13 Login Succeeded 16:06:13 nexus3.edgexfoundry.org:10002 16:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:13 Configure a credential helper to remove this warning. See 16:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:13 16:06:13 Login Succeeded 16:06:13 nexus3.edgexfoundry.org:10003 16:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:14 Configure a credential helper to remove this warning. See 16:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:14 16:06:14 Login Succeeded 16:06:14 nexus3.edgexfoundry.org:10004 16:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:14 Configure a credential helper to remove this warning. See 16:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:14 16:06:14 Login Succeeded 16:06:14 docker.io 16:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:15 Configure a credential helper to remove this warning. See 16:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:15 16:06:15 Login Succeeded 16:06:15 ---> docker-login.sh ends [Pipeline] } 16:06:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:06:16 ========================================================= 16:06:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:06:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:06:16 + 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 . 16:06:17 Sending build context to Docker daemon 19.18MB 16:06:17 Step 1/8 : ARG BASE=golang:1.15-alpine 16:06:17 Step 2/8 : FROM ${BASE} 16:06:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:06:17 b538f80385f9: Pulling fs layer 16:06:17 74f711af9a0d: Pulling fs layer 16:06:17 99f96fe45779: Pulling fs layer 16:06:17 8529a6b9a6be: Pulling fs layer 16:06:17 45590311c82a: Pulling fs layer 16:06:17 69ca0ff8b7b3: Pulling fs layer 16:06:17 209524e5b208: Pulling fs layer 16:06:17 8529a6b9a6be: Waiting 16:06:17 45590311c82a: Waiting 16:06:17 69ca0ff8b7b3: Waiting 16:06:17 209524e5b208: Waiting 16:06:17 99f96fe45779: Download complete 16:06:17 74f711af9a0d: Download complete 16:06:17 45590311c82a: Download complete 16:06:17 69ca0ff8b7b3: Verifying Checksum 16:06:17 69ca0ff8b7b3: Download complete 16:06:18 b538f80385f9: Verifying Checksum 16:06:18 b538f80385f9: Download complete 16:06:19 b538f80385f9: Pull complete 16:06:19 74f711af9a0d: Pull complete 16:06:19 99f96fe45779: Pull complete 16:06:20 209524e5b208: Verifying Checksum 16:06:20 209524e5b208: Download complete 16:06:21 8529a6b9a6be: Verifying Checksum 16:06:21 8529a6b9a6be: Download complete 16:06:31 Running on prd-centos7-docker-4c-2g-11742 in /w/workspace/ndry_app-functions-sdk-go_PR-568 [Pipeline] { [Pipeline] ws 16:06:31 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:06:32 8529a6b9a6be: Pull complete 16:06:32 45590311c82a: Pull complete 16:06:32 69ca0ff8b7b3: Pull complete 16:06:34 using credential edgex-jenkins-ssh 16:06:34 Cloning the remote Git repository 16:06:34 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:34 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 16:06:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:34 > git --version # timeout=10 16:06:34 > git --version # 'git version 2.16.5' 16:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:06:36 209524e5b208: Pull complete 16:06:36 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 16:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:06:36 ---> 5bddaf1c2fca 16:06:36 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:06:36 latest: Pulling from library/docker 16:06:36 5f621e34cdf4: Pulling fs layer 16:06:36 85db56a05063: Pulling fs layer 16:06:36 ccb67d6aeaaa: Pulling fs layer 16:06:36 a0b19fc83503: Pulling fs layer 16:06:36 8eb508b41278: Pulling fs layer 16:06:36 37236713561e: Pulling fs layer 16:06:36 07c93f2b1b56: Pulling fs layer 16:06:36 a0b19fc83503: Waiting 16:06:36 8eb508b41278: Waiting 16:06:36 37236713561e: Waiting 16:06:36 07c93f2b1b56: Waiting 16:06:36 ccb67d6aeaaa: Verifying Checksum 16:06:36 ccb67d6aeaaa: Download complete 16:06:37 85db56a05063: Verifying Checksum 16:06:37 85db56a05063: Download complete 16:06:37 5f621e34cdf4: Verifying Checksum 16:06:37 5f621e34cdf4: Download complete 16:06:37 8eb508b41278: Verifying Checksum 16:06:37 8eb508b41278: Download complete 16:06:37 37236713561e: Verifying Checksum 16:06:37 37236713561e: Download complete 16:06:37 07c93f2b1b56: Verifying Checksum 16:06:37 07c93f2b1b56: Download complete 16:06:37 5f621e34cdf4: Pull complete 16:06:37 Merging remotes/origin/master commit 5b297c99e7a02495e1c2bf8274fcb76147152718 into PR head commit 4cc126533dcad6d55158343f77280e36ba4b3d14 16:06:37 Merge succeeded, producing 4cc126533dcad6d55158343f77280e36ba4b3d14 16:06:37 Checking out Revision 4cc126533dcad6d55158343f77280e36ba4b3d14 (PR-568) 16:06:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:06:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:06:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:06:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:06:37 > git config core.sparsecheckout # timeout=10 16:06:37 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # timeout=10 16:06:37 > git remote # timeout=10 16:06:37 > git config --get remote.origin.url # timeout=10 16:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:37 > git merge 5b297c99e7a02495e1c2bf8274fcb76147152718 # timeout=10 16:06:37 > git rev-parse HEAD^{commit} # timeout=10 16:06:37 > git config core.sparsecheckout # timeout=10 16:06:37 > git checkout -f 4cc126533dcad6d55158343f77280e36ba4b3d14 # timeout=10 16:06:38 85db56a05063: Pull complete 16:06:38 a0b19fc83503: Download complete 16:06:38 ccb67d6aeaaa: Pull complete 16:06:41 Commit message: "fix: Content-Type for compression/encryption" 16:06:41 a0b19fc83503: Pull complete 16:06:42 8eb508b41278: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 16:06:42 37236713561e: Pull complete [Pipeline] wrap 16:06:42 provisioning config files... 16:06:42 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/3@tmp/config8521715866929227012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:42 07c93f2b1b56: Pull complete 16:06:42 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:06:42 Status: Downloaded newer image for docker:latest 16:06:43 ---> docker-login.sh 16:06:43 nexus3.edgexfoundry.org:10001 16:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:43 Configure a credential helper to remove this warning. See 16:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:43 16:06:43 Login Succeeded 16:06:43 nexus3.edgexfoundry.org:10002 16:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:43 Configure a credential helper to remove this warning. See 16:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:43 16:06:43 Login Succeeded 16:06:43 nexus3.edgexfoundry.org:10003 16:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:44 Configure a credential helper to remove this warning. See 16:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:44 16:06:44 Login Succeeded 16:06:44 nexus3.edgexfoundry.org:10004 16:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:44 Configure a credential helper to remove this warning. See 16:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:44 16:06:44 Login Succeeded 16:06:44 docker.io 16:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:44 Configure a credential helper to remove this warning. See 16:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:44 16:06:44 Login Succeeded 16:06:44 ---> docker-login.sh ends [Pipeline] } 16:06:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:06:44 ========================================================= 16:06:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:06:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:06:45 + 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 . 16:06:45 Sending build context to Docker daemon 19.18MB 16:06:45 Step 1/8 : ARG BASE=golang:1.15-alpine 16:06:45 Step 2/8 : FROM ${BASE} 16:06:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:06:45 df20fa9351a1: Pulling fs layer 16:06:45 ed8968b2872e: Pulling fs layer 16:06:45 a92cc7c5fd73: Pulling fs layer 16:06:45 e871e8e8d7a9: Pulling fs layer 16:06:45 e73272ec9a57: Pulling fs layer 16:06:45 1e910a182e73: Pulling fs layer 16:06:45 4e634b169226: Pulling fs layer 16:06:45 e871e8e8d7a9: Waiting 16:06:45 e73272ec9a57: Waiting 16:06:45 4e634b169226: Waiting 16:06:45 1e910a182e73: Waiting 16:06:45 a92cc7c5fd73: Verifying Checksum 16:06:45 a92cc7c5fd73: Download complete 16:06:45 ed8968b2872e: Verifying Checksum 16:06:45 ed8968b2872e: Download complete 16:06:45 e73272ec9a57: Verifying Checksum 16:06:45 e73272ec9a57: Download complete 16:06:45 1e910a182e73: Verifying Checksum 16:06:45 1e910a182e73: Download complete 16:06:45 df20fa9351a1: Verifying Checksum 16:06:45 df20fa9351a1: Download complete 16:06:46 df20fa9351a1: Pull complete 16:06:46 ed8968b2872e: Pull complete 16:06:46 a92cc7c5fd73: Pull complete 16:06:47 4e634b169226: Verifying Checksum 16:06:47 4e634b169226: Download complete 16:06:48 e871e8e8d7a9: Verifying Checksum 16:06:48 e871e8e8d7a9: Download complete 16:06:49 ---> a70847be59dd 16:06:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:06:49 ---> Running in df6555965072 16:06:49 Removing intermediate container df6555965072 16:06:49 ---> 15bd7dd3ad4b 16:06:49 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:06:49 ---> Running in fc235b54c24c 16:06:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:06:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:06:54 e871e8e8d7a9: Pull complete 16:06:54 e73272ec9a57: Pull complete 16:06:54 1e910a182e73: Pull complete 16:06:54 (1/5) Installing libsodium (1.0.18-r0) 16:06:54 (2/5) Installing libzmq (4.3.3-r0) 16:06:55 (3/5) Installing pkgconf (1.7.2-r0) 16:06:55 (4/5) Installing libsodium-dev (1.0.18-r0) 16:06:55 (5/5) Installing zeromq-dev (4.3.3-r0) 16:06:55 Executing busybox-1.31.1-r16.trigger 16:06:55 OK: 144 MiB in 44 packages 16:06:56 Removing intermediate container fc235b54c24c 16:06:56 ---> 52b6be11aafd 16:06:56 Step 6/8 : WORKDIR /build 16:06:56 ---> Running in f1f003efc58e 16:06:57 Removing intermediate container f1f003efc58e 16:06:57 ---> fa81b2bc4e3b 16:06:57 Step 7/8 : COPY go.mod . 16:06:58 ---> 418d41f2b9d0 16:06:58 Step 8/8 : RUN go mod download 16:06:58 ---> Running in 991b6b23109b 16:07:04 4e634b169226: Pull complete 16:07:04 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 16:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:07:04 ---> f7629b54cfaa 16:07:04 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:07:04 latest: Pulling from library/docker 16:07:04 188c0c94c7c5: Pulling fs layer 16:07:04 0c7c675703d6: Pulling fs layer 16:07:04 cc8c12a437cb: Pulling fs layer 16:07:04 c5dafad2182a: Pulling fs layer 16:07:04 5aa711733414: Pulling fs layer 16:07:04 058f73b55e4b: Pulling fs layer 16:07:04 8c9c664faf12: Pulling fs layer 16:07:04 c5dafad2182a: Waiting 16:07:04 5aa711733414: Waiting 16:07:04 058f73b55e4b: Waiting 16:07:04 8c9c664faf12: Waiting 16:07:04 0c7c675703d6: Verifying Checksum 16:07:04 0c7c675703d6: Download complete 16:07:04 188c0c94c7c5: Verifying Checksum 16:07:04 188c0c94c7c5: Download complete 16:07:04 cc8c12a437cb: Verifying Checksum 16:07:04 cc8c12a437cb: Download complete 16:07:04 5aa711733414: Verifying Checksum 16:07:04 5aa711733414: Download complete 16:07:04 058f73b55e4b: Verifying Checksum 16:07:04 058f73b55e4b: Download complete 16:07:04 8c9c664faf12: Verifying Checksum 16:07:04 8c9c664faf12: Download complete 16:07:04 188c0c94c7c5: Pull complete 16:07:04 0c7c675703d6: Pull complete 16:07:04 cc8c12a437cb: Pull complete 16:07:07 c5dafad2182a: Verifying Checksum 16:07:07 c5dafad2182a: Download complete 16:07:10 c5dafad2182a: Pull complete 16:07:10 5aa711733414: Pull complete 16:07:10 058f73b55e4b: Pull complete 16:07:10 8c9c664faf12: Pull complete 16:07:10 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:07:10 Status: Downloaded newer image for docker:latest 16:07:12 ---> 1964cffe345a 16:07:12 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:07:12 ---> Running in 9781ea51223b 16:07:12 Removing intermediate container 9781ea51223b 16:07:12 ---> cf60971bbdd0 16:07:12 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:07:12 ---> Running in 8c8c1c1569d8 16:07:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:07:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:07:15 (1/5) Installing libsodium (1.0.18-r0) 16:07:15 (2/5) Installing libzmq (4.3.3-r0) 16:07:15 (3/5) Installing pkgconf (1.7.2-r0) 16:07:15 (4/5) Installing libsodium-dev (1.0.18-r0) 16:07:15 (5/5) Installing zeromq-dev (4.3.3-r0) 16:07:16 Executing busybox-1.31.1-r16.trigger 16:07:16 OK: 167 MiB in 44 packages 16:07:17 Removing intermediate container 8c8c1c1569d8 16:07:17 ---> 33cb9e72bf4b 16:07:17 Step 6/8 : WORKDIR /build 16:07:17 ---> Running in 30275cced288 16:07:17 Removing intermediate container 30275cced288 16:07:17 ---> b2540ed9c7dc 16:07:17 Step 7/8 : COPY go.mod . 16:07:17 ---> a2ff5dbec2f5 16:07:17 Step 8/8 : RUN go mod download 16:07:17 ---> Running in 9e9d6683adb4 16:07:24 Removing intermediate container 991b6b23109b 16:07:24 ---> 381b1a2f273f 16:07:24 Successfully built 381b1a2f273f 16:07:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:07:25 + docker inspect -f . ci-base-image-arm64 16:07:25 . [Pipeline] withDockerContainer 16:07:25 prd-ubuntu18.04-docker-arm64-4c-16g-11741 does not seem to be running inside a container 16:07:25 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:07:27 $ docker top 3fe9c98e5198483059ac477ac0144de5048ccd9f4c8eb044f3f7e27b009d17f0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:28 + go version 16:07:28 go version go1.15.2 linux/arm64 [Pipeline] } 16:07:29 $ docker stop --time=1 3fe9c98e5198483059ac477ac0144de5048ccd9f4c8eb044f3f7e27b009d17f0 16:07:30 $ docker rm -f 3fe9c98e5198483059ac477ac0144de5048ccd9f4c8eb044f3f7e27b009d17f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:07:31 + docker inspect -f . ci-base-image-arm64 16:07:31 . [Pipeline] withDockerContainer 16:07:32 prd-ubuntu18.04-docker-arm64-4c-16g-11741 does not seem to be running inside a container 16:07:32 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:07:34 $ docker top 44363b9b0e35493db099c72c6e14918aff5075e903438f7eac3612fc8d5a1cb3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:35 + make test 16:07:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:07:37 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:07:44 Removing intermediate container 9e9d6683adb4 16:07:44 ---> 43cf64193e4d 16:07:44 Successfully built 43cf64193e4d 16:07:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:07:44 + docker inspect -f . ci-base-image-x86_64 16:07:44 . [Pipeline] withDockerContainer 16:07:44 prd-centos7-docker-4c-2g-11742 does not seem to be running inside a container 16:07:45 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:07:45 $ docker top 2a90edde8c6c95b4625a45ea267b009a00208bff279817e3194ec2cbc8ac3f3b -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:46 + go version 16:07:46 go version go1.15.2 linux/amd64 [Pipeline] } 16:07:46 $ docker stop --time=1 2a90edde8c6c95b4625a45ea267b009a00208bff279817e3194ec2cbc8ac3f3b 16:07:47 $ docker rm -f 2a90edde8c6c95b4625a45ea267b009a00208bff279817e3194ec2cbc8ac3f3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:07:48 + docker inspect -f . ci-base-image-x86_64 16:07:48 . [Pipeline] withDockerContainer 16:07:48 prd-centos7-docker-4c-2g-11742 does not seem to be running inside a container 16:07:48 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:07:49 $ docker top 6bc5501ca295d8d17fefef5a1afb0e849ead9fe8b4de5bedebf9c4c9df4c3d4d -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:50 + make test 16:07:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:07:52 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:07:59 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.050s coverage: 86.2% of statements 16:08:00 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.034s coverage: 86.2% of statements 16:08:18 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.034s coverage: 52.0% of statements 16:08:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:08:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:08:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.047s coverage: 54.7% of statements 16:08:18 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:08:18 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.035s coverage: 69.1% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.422s coverage: 61.6% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.015s coverage: 100.0% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.007s coverage: 100.0% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.006s coverage: 96.6% of statements 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.918s coverage: 75.0% of statements 16:08:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.013s coverage: 80.5% of statements 16:08:31 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements 16:08:38 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.068s coverage: 52.0% of statements 16:08:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:08:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:08:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.076s coverage: 54.7% of statements 16:08:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:08:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.044s coverage: 69.1% of statements 16:08:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.042s coverage: 71.0% of statements 16:08:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 16:08:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.488s coverage: 61.6% of statements 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.021s coverage: 100.0% of statements 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.034s coverage: 100.0% of statements 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.013s coverage: 96.6% of statements 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:08:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:08:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements 16:08:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.945s coverage: 75.0% of statements 16:08:50 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:08:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements 16:08:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements 16:08:50 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 16:08:50 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements 16:08:50 gofmt -l . 16:08:50 [ "`gofmt -l .`" = "" ] 16:08:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:08:51 $ docker stop --time=1 6bc5501ca295d8d17fefef5a1afb0e849ead9fe8b4de5bedebf9c4c9df4c3d4d 16:08:53 $ docker rm -f 6bc5501ca295d8d17fefef5a1afb0e849ead9fe8b4de5bedebf9c4c9df4c3d4d [Pipeline] // withDockerContainer [Pipeline] sh 16:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:08:54 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] } 16:09:16 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.060s coverage: 71.0% of statements 16:09:16 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements 16:09:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:09:29 gofmt -l . 16:09:29 [ "`gofmt -l .`" = "" ] 16:09:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:09:29 $ docker stop --time=1 44363b9b0e35493db099c72c6e14918aff5075e903438f7eac3612fc8d5a1cb3 16:09:31 $ docker rm -f 44363b9b0e35493db099c72c6e14918aff5075e903438f7eac3612fc8d5a1cb3 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:09:32 Warning: overwriting stash ‘coverage-report’ 16:09:33 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 16:09:35 provisioning config files... 16:09:35 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config8642134428510312017tmp [Pipeline] { [Pipeline] sh 16:09:35 + set +x 16:09:35 + bash -s -- 16:09:35 + curl -s https://codecov.io/bash 16:09:36 16:09:36 _____ _ 16:09:36 / ____| | | 16:09:36 | | ___ __| | ___ ___ _____ __ 16:09:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:09:36 | |___| (_) | (_| | __/ (_| (_) \ V / 16:09:36 \_____\___/ \__,_|\___|\___\___/ \_/ 16:09:36 Bash-20201106-81372f2 16:09:36 16:09:36 16:09:36 ==> Jenkins CI detected. 16:09:36 project root: . 16:09:36 --> token set from env 16:09:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:09:36 ==> Running gcov in . (disable via -X gcov) 16:09:36 ==> Python coveragepy not found 16:09:36 ==> Searching for coverage reports in: 16:09:36 + . 16:09:36 -> Found 1 reports 16:09:36 ==> Detecting git/mercurial file structure 16:09:36 ==> Reading reports 16:09:36 + ./coverage.out bytes=90550 16:09:36 ==> Appending adjustments 16:09:36 https://docs.codecov.io/docs/fixing-reports 16:09:36 + Found adjustments 16:09:36 ==> Gzipping contents 16:09:36 ==> Uploading reports 16:09:36 url: https://codecov.io 16:09:36 query: branch=PR-568&commit=4cc126533dcad6d55158343f77280e36ba4b3d14&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-568%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=568&job=&cmd_args= 16:09:36 -> Pinging Codecov 16:09:36 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-568&commit=4cc126533dcad6d55158343f77280e36ba4b3d14&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-568%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=568&job=&cmd_args= 16:09:37 -> Uploading to 16:09:37 https://storage.googleapis.com/codecov/v4/raw/2020-11-10/3D8B5DFFC46A037C893635FACE044666/4cc126533dcad6d55158343f77280e36ba4b3d14/52df9b09-2717-4951-968c-f5e81c0f77ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T160937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fd439d9a32b9cd1a93e763a758c573c0bf5e9af077f26c4856facacc905a5e0 16:09:37 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:37 Dload Upload Total Spent Left Speed 16:09:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16075 0 0 100 16075 0 39009 --:--:-- --:--:-- --:--:-- 39016 100 16075 0 0 100 16075 0 38993 --:--:-- --:--:-- --:--:-- 38922 16:09:37 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4cc126533dcad6d55158343f77280e36ba4b3d14 [Pipeline] } 16:09:37 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 16:09:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:41 ---> package-listing.sh 16:09:41 ++ facter osfamily 16:09:41 ++ tr '[:upper:]' '[:lower:]' 16:09:41 + OS_FAMILY=redhat 16:09:41 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-568 16:09:41 + START_PACKAGES=/tmp/packages_start.txt 16:09:41 + END_PACKAGES=/tmp/packages_end.txt 16:09:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:41 + PACKAGES=/tmp/packages_start.txt 16:09:41 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-568 ']' 16:09:41 + PACKAGES=/tmp/packages_end.txt 16:09:41 + case "${OS_FAMILY}" in 16:09:41 + rpm -qa 16:09:41 + sort 16:09:45 + '[' -f /tmp/packages_start.txt ']' 16:09:45 + '[' -f /tmp/packages_end.txt ']' 16:09:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:45 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-568 ']' 16:09:45 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-568/archives/ 16:09:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-568/archives/ [Pipeline] echo 16:09:45 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-568/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:09:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:09:45 16:09:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:09:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:09:46 alpine: Pulling from edgex-lftools-log-publisher 16:09:46 df20fa9351a1: Pulling fs layer 16:09:46 36b3adc4ff6f: Pulling fs layer 16:09:46 8ad3a11d3b57: Pulling fs layer 16:09:46 46f8f816bc3b: Pulling fs layer 16:09:46 93b61091891f: Pulling fs layer 16:09:46 93b9cdb0e59b: Pulling fs layer 16:09:46 5e14af77c1be: Pulling fs layer 16:09:46 01666e4c0597: Pulling fs layer 16:09:46 aa168da1d23b: Pulling fs layer 16:09:46 46f8f816bc3b: Waiting 16:09:46 5e14af77c1be: Waiting 16:09:46 93b61091891f: Waiting 16:09:46 01666e4c0597: Waiting 16:09:46 aa168da1d23b: Waiting 16:09:46 93b9cdb0e59b: Waiting 16:09:46 36b3adc4ff6f: Download complete 16:09:46 46f8f816bc3b: Verifying Checksum 16:09:46 46f8f816bc3b: Download complete 16:09:46 df20fa9351a1: Verifying Checksum 16:09:46 df20fa9351a1: Download complete 16:09:46 93b9cdb0e59b: Verifying Checksum 16:09:46 93b9cdb0e59b: Download complete 16:09:46 5e14af77c1be: Verifying Checksum 16:09:46 5e14af77c1be: Download complete 16:09:46 01666e4c0597: Verifying Checksum 16:09:46 01666e4c0597: Download complete 16:09:46 93b61091891f: Verifying Checksum 16:09:46 93b61091891f: Download complete 16:09:46 8ad3a11d3b57: Verifying Checksum 16:09:46 8ad3a11d3b57: Download complete 16:09:46 df20fa9351a1: Pull complete 16:09:47 36b3adc4ff6f: Pull complete 16:09:48 8ad3a11d3b57: Pull complete 16:09:48 46f8f816bc3b: Pull complete 16:09:48 93b61091891f: Pull complete 16:09:48 93b9cdb0e59b: Pull complete 16:09:48 5e14af77c1be: Pull complete 16:09:48 aa168da1d23b: Verifying Checksum 16:09:48 aa168da1d23b: Download complete 16:09:48 01666e4c0597: Pull complete 16:09:55 aa168da1d23b: Pull complete 16:09:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:09:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:09:55 prd-centos7-docker-4c-2g-11739 does not seem to be running inside a container 16:09:55 $ 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-568/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-568 -v /w/workspace/ndry_app-functions-sdk-go_PR-568:/w/workspace/ndry_app-functions-sdk-go_PR-568:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:10:01 $ docker top 24fc94ed7758c828ca09c45bc350976145c656e9aab07005b38cffffb93816ba -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:01 + touch /tmp/pre-build-complete [Pipeline] sh 16:10:02 + mkdir -p /var/log/sa [Pipeline] sh 16:10:02 + ls /var/log/sa-host 16:10:02 + sadf -c /var/log/sa-host/sa05 16:10:02 file_magic: OK 16:10:02 HZ: Using current value: 100 16:10:02 file_header: OK 16:10:02 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 16:10:02 Statistics: 16:10:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:02 File successfully converted to sysstat format version 12.2.1 16:10:02 + sadf -c /var/log/sa-host/sa10 16:10:02 file_magic: OK 16:10:02 HZ: Using current value: 100 16:10:02 file_header: OK 16:10:02 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 16:10:02 Statistics: 16:10:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:03 provisioning config files... 16:10:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-568@tmp/config8319454395633537186tmp [Pipeline] { [Pipeline] echo 16:10:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:03 ---> create-netrc.sh [Pipeline] } 16:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:10:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:10:04 ---> python-tools-install.sh [Pipeline] echo 16:10:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:10:04 ---> sudo-logs.sh 16:10:04 Archiving 'sudo' log.. [Pipeline] echo 16:10:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:10:04 ---> job-cost.sh 16:10:04 lf-activate-venv: SKIPPING 16:10:04 INFO: No Stack... 16:10:05 INFO: Retrieving Pricing Info for: v1-standard-2 16:10:05 INFO: Archiving Costs [Pipeline] echo 16:10:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:10:06 ---> logs-deploy.sh 16:10:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-568/3 16:10:06 INFO: archiving workspace using pattern(s): 16:10:08 Archives upload complete. 16:10:08 INFO: archiving logs to Nexus 16:10:09 ---> uname -a: 16:10:09 Linux prd-centos7-docker-4c-2g-11739.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 16:10:09 16:10:09 16:10:09 ---> lscpu: 16:10:09 Architecture: x86_64 16:10:09 CPU op-mode(s): 32-bit, 64-bit 16:10:09 Byte Order: Little Endian 16:10:09 Address sizes: 40 bits physical, 48 bits virtual 16:10:09 CPU(s): 4 16:10:09 On-line CPU(s) list: 0-3 16:10:09 Thread(s) per core: 1 16:10:09 Core(s) per socket: 1 16:10:09 Socket(s): 4 16:10:09 NUMA node(s): 1 16:10:09 Vendor ID: GenuineIntel 16:10:09 CPU family: 6 16:10:09 Model: 44 16:10:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:10:09 Stepping: 1 16:10:09 CPU MHz: 2933.438 16:10:09 BogoMIPS: 5866.87 16:10:09 Virtualization: VT-x 16:10:09 Hypervisor vendor: KVM 16:10:09 Virtualization type: full 16:10:09 L1d cache: 128 KiB 16:10:09 L1i cache: 128 KiB 16:10:09 L2 cache: 16 MiB 16:10:09 L3 cache: 64 MiB 16:10:09 NUMA node0 CPU(s): 0-3 16:10:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:10:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:10:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:10:09 Vulnerability Meltdown: Mitigation; PTI 16:10:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:10:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:10:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:10:09 Vulnerability Tsx async abort: Not affected 16:10:09 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:10:09 16:10:09 16:10:09 ---> nproc: 16:10:09 4 16:10:09 16:10:09