Pull request #566 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47+edbe35f16b8fb14d02763040aa31f483655b4616 (d1f1adc10e7b1f2d5db498b01f132ee6dbda7213) 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11376’ Running on prd-centos7-docker-4c-2g-11378 in /w/workspace/ndry_app-functions-sdk-go_PR-566 [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-566 # 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 edbe35f16b8fb14d02763040aa31f483655b4616 into PR head commit 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 Merge succeeded, producing 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 Checking out Revision 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 (PR-566) > 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/566/head:refs/remotes/origin/PR-566 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # 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 edbe35f16b8fb14d02763040aa31f483655b4616 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git rev-list --no-walk 3c65cf5d2fb9369bfa6974362b4701f54c4b0670 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:15:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:15:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:15:41 ========================================================= 16:15:41 EdgeX Global Pipelines Version Info 16:15:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:15:42 ------------------- 16:15:42 stable info: 16:15:42 ------------------- 16:15:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:15:42 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 16:15:42 Message: update stable to v1.0.162 16:15:43 ------------------- 16:15:43 experimental info: 16:15:43 ------------------- 16:15:43 Commited By: **** collab-it+edgex@linuxfoundation.org 16:15:43 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 16:15:43 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:15:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:15:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-566 [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-566 [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-566 [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 [Pipeline] echo 16:15:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e7983c [Pipeline] echo 16:15:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:15:47 provisioning config files... 16:15:47 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/config5875027411404716748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:47 ---> docker-login.sh 16:15:47 nexus3.edgexfoundry.org:10001 16:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:48 Configure a credential helper to remove this warning. See 16:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:48 16:15:48 Login Succeeded 16:15:48 nexus3.edgexfoundry.org:10002 16:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:48 Configure a credential helper to remove this warning. See 16:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:48 16:15:48 Login Succeeded 16:15:48 nexus3.edgexfoundry.org:10003 16:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:48 Configure a credential helper to remove this warning. See 16:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:48 16:15:48 Login Succeeded 16:15:48 nexus3.edgexfoundry.org:10004 16:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:48 Configure a credential helper to remove this warning. See 16:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:48 16:15:48 Login Succeeded 16:15:48 docker.io 16:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:48 Configure a credential helper to remove this warning. See 16:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:48 16:15:48 Login Succeeded 16:15:48 ---> docker-login.sh ends [Pipeline] } 16:15:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:49 + git log --format=format:%s -1 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 [Pipeline] echo 16:15:49 GIT_COMMIT: 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 16:15:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:15:50 16:15:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:15:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:15:50 latest: Pulling from edgex-devops/git-semver 16:15:50 31603596830f: Pulling fs layer 16:15:50 2a8b12db71e7: Pulling fs layer 16:15:50 6ca5941a6612: Pulling fs layer 16:15:50 ecc8261a40a4: Pulling fs layer 16:15:50 2a8b12db71e7: Verifying Checksum 16:15:50 2a8b12db71e7: Download complete 16:15:51 31603596830f: Verifying Checksum 16:15:51 31603596830f: Download complete 16:15:51 ecc8261a40a4: Verifying Checksum 16:15:51 ecc8261a40a4: Download complete 16:15:51 6ca5941a6612: Verifying Checksum 16:15:51 6ca5941a6612: Download complete 16:15:51 31603596830f: Pull complete 16:15:51 2a8b12db71e7: Pull complete 16:15:52 6ca5941a6612: Pull complete 16:15:52 ecc8261a40a4: Pull complete 16:15:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:15:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:15:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:15:52 prd-centos7-docker-4c-2g-11378 does not seem to be running inside a container 16:15:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-566 -v /w/workspace/ndry_app-functions-sdk-go_PR-566:/w/workspace/ndry_app-functions-sdk-go_PR-566:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-566@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-566@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:15:55 $ docker top 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:15:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:55 [ssh-agent] Looking for ssh-agent implementation... 16:15:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:55 $ docker exec 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 ssh-agent 16:15:55 SSH_AUTH_SOCK=/tmp/ssh-MWYmP3K0yNUb/agent.12 16:15:55 SSH_AGENT_PID=17 16:15:55 Running ssh-add (command line suppressed) 16:15:55 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/private_key_8893161328758526711.key (/w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/private_key_8893161328758526711.key) 16:15:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:56 + git tag --points-at HEAD [Pipeline] } 16:15:56 $ docker exec --env ******** --env ******** 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 ssh-agent -k 16:15:56 unset SSH_AUTH_SOCK; 16:15:56 unset SSH_AGENT_PID; 16:15:56 echo Agent pid 17 killed; 16:15:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:15:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:56 [ssh-agent] Looking for ssh-agent implementation... 16:15:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:56 $ docker exec 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 ssh-agent 16:15:57 SSH_AUTH_SOCK=/tmp/ssh-3NSmzJQqtg7j/agent.46 16:15:57 SSH_AGENT_PID=51 16:15:57 Running ssh-add (command line suppressed) 16:15:57 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/private_key_949224680212784868.key (/w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/private_key_949224680212784868.key) 16:15:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:57 + git semver init 16:15:57 # -> Open(): unable to determine branch for HEAD 16:15:57 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-566/.git 16:15:57 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-566 16:15:57 # $SEMVER_REMOTE_NAME = origin 16:15:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:15:57 # $SEMVER_USER_NAME = edgex-jenkins 16:15:57 # $SEMVER_BRANCH = PR-566 16:15:57 # $SEMVER_TEMP = /tmp/semver-760988085 16:15:57 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:16:00 # '/tmp/semver-760988085' -> '/w/workspace/ndry_app-functions-sdk-go_PR-566/.semver' 16:16:00 # -> Force: false 16:16:00 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-566/.semver [Pipeline] } 16:16:00 $ docker exec --env ******** --env ******** 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 ssh-agent -k 16:16:00 unset SSH_AUTH_SOCK; 16:16:00 unset SSH_AGENT_PID; 16:16:00 echo Agent pid 51 killed; 16:16:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:16:00 + git semver [Pipeline] } 16:16:00 $ docker stop --time=1 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 16:16:02 $ docker rm -f 2cef33cfd4a2ed0e1456f13f8fbb7bfa2ef63de10af02dda75fe87cb89e23749 [Pipeline] // withDockerContainer [Pipeline] sh 16:16:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:16:03 Stashed 1 file(s) [Pipeline] echo 16:16:03 [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:16:19 Still waiting to schedule task 16:16:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:16:19 Still waiting to schedule task 16:16:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:18:41 Running on prd-centos7-docker-4c-2g-11380 in /w/workspace/ndry_app-functions-sdk-go_PR-566 [Pipeline] { [Pipeline] ws 16:18:42 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:18:51 using credential edgex-jenkins-ssh 16:18:51 Cloning the remote Git repository 16:18:52 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:18:52 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:18:52 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:18:52 > git --version # timeout=10 16:18:52 > git --version # 'git version 2.16.5' 16:18:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:18:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:55 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:18:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:18:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/566/head:refs/remotes/origin/PR-566 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:18:56 Merging remotes/origin/master commit edbe35f16b8fb14d02763040aa31f483655b4616 into PR head commit 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 16:18:56 Merge succeeded, producing 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 16:18:56 Checking out Revision 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 (PR-566) 16:18:56 > git config core.sparsecheckout # timeout=10 16:18:56 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # timeout=10 16:18:56 > git remote # timeout=10 16:18:56 > git config --get remote.origin.url # timeout=10 16:18:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:56 > git merge edbe35f16b8fb14d02763040aa31f483655b4616 # timeout=10 16:18:56 > git rev-parse HEAD^{commit} # timeout=10 16:18:56 > git config core.sparsecheckout # timeout=10 16:18:56 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # timeout=10 16:19:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:19:02 provisioning config files... 16:19:02 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/2@tmp/config7568428031691020507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:03 ---> docker-login.sh 16:19:03 nexus3.edgexfoundry.org:10001 16:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:04 Configure a credential helper to remove this warning. See 16:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:04 16:19:04 Login Succeeded 16:19:04 nexus3.edgexfoundry.org:10002 16:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:04 Configure a credential helper to remove this warning. See 16:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:04 16:19:04 Login Succeeded 16:19:04 nexus3.edgexfoundry.org:10003 16:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:05 Configure a credential helper to remove this warning. See 16:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:05 16:19:05 Login Succeeded 16:19:05 nexus3.edgexfoundry.org:10004 16:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:05 Configure a credential helper to remove this warning. See 16:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:05 16:19:05 Login Succeeded 16:19:05 docker.io 16:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:06 Configure a credential helper to remove this warning. See 16:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:06 16:19:06 Login Succeeded 16:19:06 ---> docker-login.sh ends [Pipeline] } 16:19:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:06 ========================================================= 16:19:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:19:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:19:07 + 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:19:08 Sending build context to Docker daemon 19.15MB 16:19:08 Step 1/8 : ARG BASE=golang:1.15-alpine 16:19:08 Step 2/8 : FROM ${BASE} 16:19:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:19:08 df20fa9351a1: Pulling fs layer 16:19:08 ed8968b2872e: Pulling fs layer 16:19:08 a92cc7c5fd73: Pulling fs layer 16:19:08 e871e8e8d7a9: Pulling fs layer 16:19:08 e73272ec9a57: Pulling fs layer 16:19:08 1e910a182e73: Pulling fs layer 16:19:08 4e634b169226: Pulling fs layer 16:19:08 e871e8e8d7a9: Waiting 16:19:08 e73272ec9a57: Waiting 16:19:08 1e910a182e73: Waiting 16:19:08 4e634b169226: Waiting 16:19:08 a92cc7c5fd73: Verifying Checksum 16:19:08 a92cc7c5fd73: Download complete 16:19:08 ed8968b2872e: Verifying Checksum 16:19:08 ed8968b2872e: Download complete 16:19:08 e73272ec9a57: Verifying Checksum 16:19:08 e73272ec9a57: Download complete 16:19:08 1e910a182e73: Verifying Checksum 16:19:08 1e910a182e73: Download complete 16:19:09 df20fa9351a1: Verifying Checksum 16:19:09 df20fa9351a1: Download complete 16:19:09 df20fa9351a1: Pull complete 16:19:09 ed8968b2872e: Pull complete 16:19:10 a92cc7c5fd73: Pull complete 16:19:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11381 in /w/workspace/ndry_app-functions-sdk-go_PR-566 [Pipeline] { [Pipeline] ws 16:19:11 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:19:12 4e634b169226: Verifying Checksum 16:19:12 4e634b169226: Download complete 16:19:15 e871e8e8d7a9: Verifying Checksum 16:19:15 e871e8e8d7a9: Download complete 16:19:16 using credential edgex-jenkins-ssh 16:19:16 Cloning the remote Git repository 16:19:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:19:16 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:19:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:19:16 > git --version # timeout=10 16:19:16 > git --version # 'git version 2.17.1' 16:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:19:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:19:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:19:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/566/head:refs/remotes/origin/PR-566 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:19:20 Merging remotes/origin/master commit edbe35f16b8fb14d02763040aa31f483655b4616 into PR head commit 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 16:19:20 Merge succeeded, producing 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 16:19:20 Checking out Revision 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 (PR-566) 16:19:20 > git config core.sparsecheckout # timeout=10 16:19:20 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # timeout=10 16:19:20 > git remote # timeout=10 16:19:20 > git config --get remote.origin.url # timeout=10 16:19:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:20 > git merge edbe35f16b8fb14d02763040aa31f483655b4616 # timeout=10 16:19:20 > git rev-parse HEAD^{commit} # timeout=10 16:19:20 > git config core.sparsecheckout # timeout=10 16:19:20 > git checkout -f 9e7983cd38ec96a0dabcc204b23dbc0bc507cb47 # timeout=10 16:19:24 e871e8e8d7a9: Pull complete 16:19:24 e73272ec9a57: Pull complete 16:19:24 1e910a182e73: Pull complete 16:19:24 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:19:25 provisioning config files... 16:19:25 copy managed file [app-functions-sdk-go-settings] to file:/w/workspace/app-functions-sdk-go/2@tmp/config6661498548701545767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:26 ---> docker-login.sh 16:19:26 nexus3.edgexfoundry.org:10001 16:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:28 Configure a credential helper to remove this warning. See 16:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:28 16:19:28 Login Succeeded 16:19:28 nexus3.edgexfoundry.org:10002 16:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:28 Configure a credential helper to remove this warning. See 16:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:28 16:19:28 Login Succeeded 16:19:28 nexus3.edgexfoundry.org:10003 16:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 nexus3.edgexfoundry.org:10004 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 4e634b169226: Pull complete 16:19:29 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 16:19:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:19:29 ---> f7629b54cfaa 16:19:29 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:19:29 latest: Pulling from library/docker 16:19:29 188c0c94c7c5: Pulling fs layer 16:19:29 0c7c675703d6: Pulling fs layer 16:19:29 cc8c12a437cb: Pulling fs layer 16:19:29 c5dafad2182a: Pulling fs layer 16:19:29 5aa711733414: Pulling fs layer 16:19:29 058f73b55e4b: Pulling fs layer 16:19:29 8c9c664faf12: Pulling fs layer 16:19:29 5aa711733414: Waiting 16:19:29 058f73b55e4b: Waiting 16:19:29 8c9c664faf12: Waiting 16:19:29 c5dafad2182a: Waiting 16:19:29 cc8c12a437cb: Verifying Checksum 16:19:29 cc8c12a437cb: Download complete 16:19:29 188c0c94c7c5: Download complete 16:19:29 0c7c675703d6: Verifying Checksum 16:19:29 0c7c675703d6: Download complete 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 docker.io 16:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:30 5aa711733414: Verifying Checksum 16:19:30 5aa711733414: Download complete 16:19:30 058f73b55e4b: Verifying Checksum 16:19:30 058f73b55e4b: Download complete 16:19:30 8c9c664faf12: Verifying Checksum 16:19:30 8c9c664faf12: Download complete 16:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:30 Configure a credential helper to remove this warning. See 16:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:30 16:19:30 Login Succeeded 16:19:30 ---> docker-login.sh ends 16:19:30 188c0c94c7c5: Pull complete [Pipeline] } 16:19:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:30 ========================================================= 16:19:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:19:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:19:31 0c7c675703d6: Pull complete 16:19:31 + 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:19:31 c5dafad2182a: Verifying Checksum 16:19:31 c5dafad2182a: Download complete 16:19:31 cc8c12a437cb: Pull complete 16:19:31 Sending build context to Docker daemon 19.15MB 16:19:31 Step 1/8 : ARG BASE=golang:1.15-alpine 16:19:31 Step 2/8 : FROM ${BASE} 16:19:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:19:31 b538f80385f9: Pulling fs layer 16:19:31 74f711af9a0d: Pulling fs layer 16:19:31 99f96fe45779: Pulling fs layer 16:19:31 8529a6b9a6be: Pulling fs layer 16:19:31 45590311c82a: Pulling fs layer 16:19:31 69ca0ff8b7b3: Pulling fs layer 16:19:31 209524e5b208: Pulling fs layer 16:19:31 45590311c82a: Waiting 16:19:31 69ca0ff8b7b3: Waiting 16:19:31 209524e5b208: Waiting 16:19:31 8529a6b9a6be: Waiting 16:19:31 99f96fe45779: Verifying Checksum 16:19:31 99f96fe45779: Download complete 16:19:31 74f711af9a0d: Verifying Checksum 16:19:31 74f711af9a0d: Download complete 16:19:31 45590311c82a: Verifying Checksum 16:19:31 45590311c82a: Download complete 16:19:31 69ca0ff8b7b3: Verifying Checksum 16:19:31 69ca0ff8b7b3: Download complete 16:19:32 b538f80385f9: Download complete 16:19:32 b538f80385f9: Pull complete 16:19:33 74f711af9a0d: Pull complete 16:19:33 99f96fe45779: Pull complete 16:19:34 209524e5b208: Verifying Checksum 16:19:34 209524e5b208: Download complete 16:19:35 8529a6b9a6be: Verifying Checksum 16:19:35 8529a6b9a6be: Download complete 16:19:36 c5dafad2182a: Pull complete 16:19:36 5aa711733414: Pull complete 16:19:36 058f73b55e4b: Pull complete 16:19:36 8c9c664faf12: Pull complete 16:19:36 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:19:36 Status: Downloaded newer image for docker:latest 16:19:39 ---> 2c3d6f88c546 16:19:39 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:19:39 ---> Running in d0c474b6c07b 16:19:39 Removing intermediate container d0c474b6c07b 16:19:39 ---> add38cbba003 16:19:39 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:19:39 ---> Running in be52428c6781 16:19:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:19:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:19:41 (1/5) Installing libsodium (1.0.18-r0) 16:19:41 (2/5) Installing libzmq (4.3.3-r0) 16:19:41 (3/5) Installing pkgconf (1.7.2-r0) 16:19:41 (4/5) Installing libsodium-dev (1.0.18-r0) 16:19:42 (5/5) Installing zeromq-dev (4.3.3-r0) 16:19:42 Executing busybox-1.31.1-r16.trigger 16:19:42 OK: 167 MiB in 44 packages 16:19:43 Removing intermediate container be52428c6781 16:19:43 ---> a8b40016eedb 16:19:43 Step 6/8 : WORKDIR /build 16:19:43 ---> Running in da2b04aa8365 16:19:43 Removing intermediate container da2b04aa8365 16:19:43 ---> b9ea033a77d4 16:19:43 Step 7/8 : COPY go.mod . 16:19:44 ---> 6c9d9b82a0d5 16:19:44 Step 8/8 : RUN go mod download 16:19:44 ---> Running in 7f4dcfc5074c 16:19:45 8529a6b9a6be: Pull complete 16:19:46 45590311c82a: Pull complete 16:19:46 69ca0ff8b7b3: Pull complete 16:19:51 209524e5b208: Pull complete 16:19:51 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 16:19:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:19:51 ---> 5bddaf1c2fca 16:19:51 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:19:51 latest: Pulling from library/docker 16:19:51 5f621e34cdf4: Pulling fs layer 16:19:51 85db56a05063: Pulling fs layer 16:19:51 ccb67d6aeaaa: Pulling fs layer 16:19:51 a0b19fc83503: Pulling fs layer 16:19:51 8eb508b41278: Pulling fs layer 16:19:51 37236713561e: Pulling fs layer 16:19:51 07c93f2b1b56: Pulling fs layer 16:19:51 a0b19fc83503: Waiting 16:19:51 8eb508b41278: Waiting 16:19:51 37236713561e: Waiting 16:19:51 07c93f2b1b56: Waiting 16:19:51 ccb67d6aeaaa: Verifying Checksum 16:19:51 ccb67d6aeaaa: Download complete 16:19:51 5f621e34cdf4: Verifying Checksum 16:19:51 5f621e34cdf4: Download complete 16:19:51 85db56a05063: Download complete 16:19:51 37236713561e: Verifying Checksum 16:19:51 37236713561e: Download complete 16:19:51 8eb508b41278: Verifying Checksum 16:19:51 8eb508b41278: Download complete 16:19:51 07c93f2b1b56: Download complete 16:19:51 5f621e34cdf4: Pull complete 16:19:52 a0b19fc83503: Verifying Checksum 16:19:52 a0b19fc83503: Download complete 16:19:52 85db56a05063: Pull complete 16:19:53 ccb67d6aeaaa: Pull complete 16:19:56 a0b19fc83503: Pull complete 16:19:56 8eb508b41278: Pull complete 16:19:57 37236713561e: Pull complete 16:19:57 07c93f2b1b56: Pull complete 16:19:57 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 16:19:57 Status: Downloaded newer image for docker:latest 16:20:04 ---> ef86994bdbbc 16:20:04 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:20:04 ---> Running in e00abe0c6e44 16:20:04 Removing intermediate container e00abe0c6e44 16:20:04 ---> c0e2c88a9cc5 16:20:04 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:20:04 ---> Running in d36a6bed2d8d 16:20:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:20:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:20:06 (1/5) Installing libsodium (1.0.18-r0) 16:20:06 (2/5) Installing libzmq (4.3.3-r0) 16:20:06 (3/5) Installing pkgconf (1.7.2-r0) 16:20:06 (4/5) Installing libsodium-dev (1.0.18-r0) 16:20:07 (5/5) Installing zeromq-dev (4.3.3-r0) 16:20:07 Executing busybox-1.31.1-r16.trigger 16:20:07 OK: 144 MiB in 44 packages 16:20:08 Removing intermediate container d36a6bed2d8d 16:20:08 ---> 66a985e8ad74 16:20:08 Step 6/8 : WORKDIR /build 16:20:08 ---> Running in 1f5d3e5c5bf0 16:20:08 Removing intermediate container 1f5d3e5c5bf0 16:20:08 ---> 5a89af945da2 16:20:08 Step 7/8 : COPY go.mod . 16:20:09 ---> 1b41b8fb61d9 16:20:09 Step 8/8 : RUN go mod download 16:20:09 ---> Running in f97645b37239 16:20:18 Removing intermediate container 7f4dcfc5074c 16:20:18 ---> 4300b9c54d40 16:20:18 Successfully built 4300b9c54d40 16:20:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:20:19 + docker inspect -f . ci-base-image-x86_64 16:20:20 . [Pipeline] withDockerContainer 16:20:20 prd-centos7-docker-4c-2g-11380 does not seem to be running inside a container 16:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat 16:20:22 $ docker top f98a3b65292e1242b99facd51fde4f3669553c97e5f4ac81367dac488ffc2754 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:23 + go version 16:20:23 go version go1.15.2 linux/amd64 [Pipeline] } 16:20:23 $ docker stop --time=1 f98a3b65292e1242b99facd51fde4f3669553c97e5f4ac81367dac488ffc2754 16:20:25 $ docker rm -f f98a3b65292e1242b99facd51fde4f3669553c97e5f4ac81367dac488ffc2754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:20:26 + docker inspect -f . ci-base-image-x86_64 16:20:26 . [Pipeline] withDockerContainer 16:20:26 prd-centos7-docker-4c-2g-11380 does not seem to be running inside a container 16:20:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat 16:20:28 $ docker top 6f6a8e1741ba075e259003f4b83387645a6558d80ffccb9049afb0296772abe3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:28 + make test 16:20:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:20:31 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:20:36 Removing intermediate container f97645b37239 16:20:36 ---> c1a69c8ffac4 16:20:36 Successfully built c1a69c8ffac4 16:20:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:20:37 + docker inspect -f . ci-base-image-arm64 16:20:37 . [Pipeline] withDockerContainer 16:20:37 prd-ubuntu18.04-docker-arm64-4c-16g-11381 does not seem to be running inside a container 16:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 16:20:39 $ docker top 4a20bed365959c6a4e5959ec542a91fe7bdbf70a3c0341b6f38a36d49bbeb665 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:40 + go version 16:20:40 go version go1.15.2 linux/arm64 [Pipeline] } 16:20:40 $ docker stop --time=1 4a20bed365959c6a4e5959ec542a91fe7bdbf70a3c0341b6f38a36d49bbeb665 16:20:42 $ docker rm -f 4a20bed365959c6a4e5959ec542a91fe7bdbf70a3c0341b6f38a36d49bbeb665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:20:43 + docker inspect -f . ci-base-image-arm64 16:20:43 . [Pipeline] withDockerContainer 16:20:43 prd-ubuntu18.04-docker-arm64-4c-16g-11381 does not seem to be running inside a container 16:20:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 16:20:45 $ docker top 862781d015339ce75116f93608596e41e83b534ceeead9a2d7d639c894e521e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:47 + make test 16:20:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:20:47 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.037s coverage: 86.2% of statements 16:20:48 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.028s coverage: 86.2% of statements 16:21:20 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.186s coverage: 52.0% of statements 16:21:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:21:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:21:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.057s coverage: 54.7% of statements 16:21:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:21:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.283s coverage: 69.1% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.494s coverage: 61.6% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.018s coverage: 89.5% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.021s coverage: 100.0% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.010s coverage: 100.0% of statements 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.007s coverage: 96.6% of statements 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.009s coverage: 97.7% of statements 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.068s coverage: 8.8% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.948s coverage: 75.0% of statements 16:21:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.020s coverage: 89.7% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.015s coverage: 88.9% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.025s coverage: 80.5% of statements 16:21:30 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 16:21:49 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.055s coverage: 52.0% of statements 16:21:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:21:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:21:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.116s coverage: 54.7% of statements 16:21:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:21:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.033s coverage: 69.1% of statements 16:21:53 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.113s coverage: 70.8% of statements 16:21:53 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.042s coverage: 94.4% of statements 16:21:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.444s coverage: 61.6% of statements 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.033s coverage: 89.5% of statements 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.010s coverage: 100.0% of statements 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.028s coverage: 100.0% of statements 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.010s coverage: 100.0% of statements 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.010s coverage: 100.0% of statements 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.010s coverage: 96.6% of statements 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:21:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 16:21:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements 16:22:00 gofmt -l . 16:22:00 [ "`gofmt -l .`" = "" ] 16:22:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:22:00 $ docker stop --time=1 6f6a8e1741ba075e259003f4b83387645a6558d80ffccb9049afb0296772abe3 16:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.952s coverage: 75.0% of statements 16:22:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.040s coverage: 89.7% of statements 16:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements 16:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.031s coverage: 80.5% of statements 16:22:01 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.046s coverage: 71.7% of statements 16:22:02 $ docker rm -f 6f6a8e1741ba075e259003f4b83387645a6558d80ffccb9049afb0296772abe3 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:04 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:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 70.8% of statements 16:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements 16:22:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:22:38 gofmt -l . 16:22:38 [ "`gofmt -l .`" = "" ] 16:22:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:22:39 $ docker stop --time=1 862781d015339ce75116f93608596e41e83b534ceeead9a2d7d639c894e521e3 16:22:42 $ docker rm -f 862781d015339ce75116f93608596e41e83b534ceeead9a2d7d639c894e521e3 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:43 Warning: overwriting stash ‘coverage-report’ 16:22:43 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:22:45 provisioning config files... 16:22:45 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/config4544946691780874982tmp [Pipeline] { [Pipeline] sh 16:22:46 + set +x 16:22:46 + curl -s https://codecov.io/bash 16:22:46 + bash -s -- 16:22:46 16:22:46 _____ _ 16:22:46 / ____| | | 16:22:46 | | ___ __| | ___ ___ _____ __ 16:22:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:22:46 | |___| (_) | (_| | __/ (_| (_) \ V / 16:22:46 \_____\___/ \__,_|\___|\___\___/ \_/ 16:22:46 Bash-20201104-3e6f2fc 16:22:46 16:22:46 16:22:46 [0;90m==>[0m Jenkins CI detected. 16:22:46 [0;90mproject root:[0m . 16:22:46 [0;90m-->[0m token set from env 16:22:46 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 16:22:46 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 16:22:46 [0;90m==>[0m Python coveragepy not found 16:22:46 [0;90m==>[0m Searching for coverage reports in: 16:22:46 [0;32m+[0m . 16:22:46 [0;90m->[0m Found 1 reports 16:22:46 [0;90m==>[0m Detecting git/mercurial file structure 16:22:46 [0;90m==>[0m Reading reports 16:22:46 [0;32m+[0m ./coverage.out [0;90mbytes=90548[0m 16:22:46 [0;90m==>[0m Appending adjustments 16:22:46 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 16:22:47 [0;32m+[0m Found adjustments 16:22:47 [0;90m==>[0m Gzipping contents 16:22:47 [0;90m==>[0m Uploading reports 16:22:47 [0;90murl:[0m https://codecov.io 16:22:47 [0;90mquery:[0m branch=PR-566&commit=9e7983cd38ec96a0dabcc204b23dbc0bc507cb47&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-566%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=566&job=&cmd_args= 16:22:47 [0;90m->[0m Pinging Codecov 16:22:47 https://codecov.io/upload/v4?package=bash-20201104-3e6f2fc&token=secret&branch=PR-566&commit=9e7983cd38ec96a0dabcc204b23dbc0bc507cb47&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-566%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=566&job=&cmd_args= 16:22:47 [0;31m 16:22:47 16:22:47 16:22:47 16:22:47
411. That’s an error. 16:22:47
POST requests require a Content-length
header. That’s all we know.
16:22:47
16:22:47 411[0m
16:22:47 [0;90m==>[0m Uploading to Codecov
16:22:47 % Total % Received % Xferd Average Speed Time Time Time Current
16:22:47 Dload Upload Total Spent Left Speed
16:22:48
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 16117 0 0 100 16117 0 13567 0:00:01 0:00:01 --:--:-- 13577
99 16234 0 0 100 16117 0 8551 0:00:01 0:00:01 --:--:-- 8550
100 16234 100 117 100 16117 62 8550 0:00:01 0:00:01 --:--:-- 8550
16:22:49 View reports at [0;36mhttps://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/9e7983cd38ec96a0dabcc204b23dbc0bc507cb47[0m
[Pipeline] }
16:22:49 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:22:52 ---> sysstat.sh
[Pipeline] libraryResource
[Pipeline] sh
16:22:53 ---> package-listing.sh
16:22:53 ++ facter osfamily
16:22:53 ++ tr '[:upper:]' '[:lower:]'
16:22:53 + OS_FAMILY=redhat
16:22:53 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-566
16:22:53 + START_PACKAGES=/tmp/packages_start.txt
16:22:53 + END_PACKAGES=/tmp/packages_end.txt
16:22:53 + DIFF_PACKAGES=/tmp/packages_diff.txt
16:22:53 + PACKAGES=/tmp/packages_start.txt
16:22:53 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-566 ']'
16:22:53 + PACKAGES=/tmp/packages_end.txt
16:22:53 + case "${OS_FAMILY}" in
16:22:53 + rpm -qa
16:22:53 + sort
16:22:57 + '[' -f /tmp/packages_start.txt ']'
16:22:57 + '[' -f /tmp/packages_end.txt ']'
16:22:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt
16:22:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-566 ']'
16:22:57 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-566/archives/
16:22:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-566/archives/
[Pipeline] echo
16:22:57 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-566/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json]
[Pipeline] sh
16:22:57 + facter operatingsystem
[Pipeline] isUnix
[Pipeline] sh
16:22:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine
16:22:58
16:22:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine
[Pipeline] isUnix
[Pipeline] sh
16:22:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine
16:22:58 alpine: Pulling from edgex-lftools-log-publisher
16:22:58 df20fa9351a1: Pulling fs layer
16:22:58 36b3adc4ff6f: Pulling fs layer
16:22:58 8ad3a11d3b57: Pulling fs layer
16:22:58 46f8f816bc3b: Pulling fs layer
16:22:58 93b61091891f: Pulling fs layer
16:22:58 93b9cdb0e59b: Pulling fs layer
16:22:58 5e14af77c1be: Pulling fs layer
16:22:58 01666e4c0597: Pulling fs layer
16:22:58 aa168da1d23b: Pulling fs layer
16:22:58 93b9cdb0e59b: Waiting
16:22:58 5e14af77c1be: Waiting
16:22:58 01666e4c0597: Waiting
16:22:58 aa168da1d23b: Waiting
16:22:58 46f8f816bc3b: Waiting
16:22:58 93b61091891f: Waiting
16:22:58 36b3adc4ff6f: Verifying Checksum
16:22:58 36b3adc4ff6f: Download complete
16:22:58 46f8f816bc3b: Verifying Checksum
16:22:58 46f8f816bc3b: Download complete
16:22:58 df20fa9351a1: Verifying Checksum
16:22:58 df20fa9351a1: Download complete
16:22:58 93b9cdb0e59b: Verifying Checksum
16:22:58 93b9cdb0e59b: Download complete
16:22:58 93b61091891f: Download complete
16:22:58 5e14af77c1be: Verifying Checksum
16:22:58 5e14af77c1be: Download complete
16:22:58 01666e4c0597: Verifying Checksum
16:22:58 01666e4c0597: Download complete
16:22:59 8ad3a11d3b57: Verifying Checksum
16:22:59 8ad3a11d3b57: Download complete
16:22:59 df20fa9351a1: Pull complete
16:22:59 36b3adc4ff6f: Pull complete
16:23:00 8ad3a11d3b57: Pull complete
16:23:00 46f8f816bc3b: Pull complete
16:23:00 93b61091891f: Pull complete
16:23:01 93b9cdb0e59b: Pull complete
16:23:01 5e14af77c1be: Pull complete
16:23:01 aa168da1d23b: Verifying Checksum
16:23:01 aa168da1d23b: Download complete
16:23:01 01666e4c0597: Pull complete
16:23:08 aa168da1d23b: Pull complete
16:23:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c
16:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine
16:23:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine
[Pipeline] withDockerContainer
16:23:08 prd-centos7-docker-4c-2g-11378 does not seem to be running inside a container
16:23:08 $ 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-566/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-566 -v /w/workspace/ndry_app-functions-sdk-go_PR-566:/w/workspace/ndry_app-functions-sdk-go_PR-566:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-566@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-566@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat
16:23:16 $ docker top 419b664a163ec743b2fde03d5043652a8594a68499b284ef23cf3688c3dca6ec -eo pid,comm
[Pipeline] {
[Pipeline] sh
16:23:16 + touch /tmp/pre-build-complete
[Pipeline] sh
16:23:17 + mkdir -p /var/log/sa
[Pipeline] sh
16:23:17 + ls /var/log/sa-host
16:23:17 + sadf -c /var/log/sa-host/sa05
16:23:17 file_magic: OK
16:23:17 HZ: Using current value: 100
16:23:17 file_header: OK
16:23:17 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:23:17 Statistics:
16:23:17 Hnuu...uuuununununu...Hnuu...uuuununununu...
16:23:17 File successfully converted to sysstat format version 12.2.1
16:23:17 + sadf -c /var/log/sa-host/sa06
16:23:17 file_magic: OK
16:23:17 HZ: Using current value: 100
16:23:17 file_header: OK
16:23:17 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:23:17 Statistics:
16:23:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...
16:23:17 File successfully converted to sysstat format version 12.2.1
[Pipeline] withEnv
[Pipeline] {
[Pipeline] configFileProvider
16:23:17 provisioning config files...
16:23:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-566@tmp/config5576828038661707025tmp
[Pipeline] {
[Pipeline] echo
16:23:18 Running shell/create-netrc.sh
[Pipeline] libraryResource
[Pipeline] sh
16:23:18 ---> create-netrc.sh
[Pipeline] }
16:23:18 Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] echo
16:23:18 Running shell/python-tools-install.sh
[Pipeline] libraryResource
[Pipeline] sh
16:23:18 ---> python-tools-install.sh
[Pipeline] echo
16:23:18 Running shell/sudo-logs.sh
[Pipeline] libraryResource
[Pipeline] sh
16:23:19 ---> sudo-logs.sh
16:23:19 Archiving 'sudo' log..
[Pipeline] echo
16:23:19 Running shell/job-cost.sh
[Pipeline] libraryResource
[Pipeline] sh
16:23:20 ---> job-cost.sh
16:23:20 lf-activate-venv: SKIPPING
16:23:20 INFO: No Stack...
16:23:20 INFO: Retrieving Pricing Info for: v1-standard-2
16:23:21 INFO: Archiving Costs
[Pipeline] echo
16:23:21 Running shell/logs-deploy.sh
[Pipeline] libraryResource
[Pipeline] sh
16:23:21 ---> logs-deploy.sh
16:23:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-566/2
16:23:21 INFO: archiving workspace using pattern(s):
16:23:24 Archives upload complete.
16:23:24 INFO: archiving logs to Nexus