Pull request #703 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 lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 80f3533502ff06d950e6b4ccd7d38a006961ada6+f281c8b713d95d8c203921f39489e26903a82368 (e7aed0c2693ed63b3376aa815a3d845d67138ee9) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-26728’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-26729 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [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-703 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 80f3533502ff06d950e6b4ccd7d38a006961ada6 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 Merge succeeded, producing 80f3533502ff06d950e6b4ccd7d38a006961ada6 Checking out Revision 80f3533502ff06d950e6b4ccd7d38a006961ada6 (PR-703) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 Commit message: "feat: Adjust path in go.mod replace statement to work in CI build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:25:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk cb8e034f7af330d2545ea99a69a791dfff085a82 # timeout=10 [Pipeline] withCredentials 00:25:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:25:08 ========================================================= 00:25:08 EdgeX Global Pipelines Version Info 00:25:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:25:11 ------------------- 00:25:11 stable info: 00:25:11 ------------------- 00:25:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:25:11 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:25:11 Message: update stable to v1.0.179 00:25:12 ------------------- 00:25:12 experimental info: 00:25:12 ------------------- 00:25:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:25:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:25:12 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:25:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:25:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:25:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:25:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-703 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-703 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-703 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80f3533502ff06d950e6b4ccd7d38a006961ada6 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80f3533 [Pipeline] echo 00:25:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:16 + git log --format=format:%s -1 80f3533502ff06d950e6b4ccd7d38a006961ada6 [Pipeline] echo 00:25:16 GIT_COMMIT: 80f3533502ff06d950e6b4ccd7d38a006961ada6, Commit Message: feat: Adjust path in go.mod replace statement to work in CI build [Pipeline] echo 00:25:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:25:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:18 00:25:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:25:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:18 latest: Pulling from edgex-devops/git-semver 00:25:18 31603596830f: Pulling fs layer 00:25:18 2a8b12db71e7: Pulling fs layer 00:25:18 6ca5941a6612: Pulling fs layer 00:25:18 ecc8261a40a4: Pulling fs layer 00:25:18 ecc8261a40a4: Waiting 00:25:18 2a8b12db71e7: Download complete 00:25:19 31603596830f: Verifying Checksum 00:25:19 31603596830f: Download complete 00:25:19 ecc8261a40a4: Verifying Checksum 00:25:19 ecc8261a40a4: Download complete 00:25:19 6ca5941a6612: Verifying Checksum 00:25:19 6ca5941a6612: Download complete 00:25:19 31603596830f: Pull complete 00:25:20 2a8b12db71e7: Pull complete 00:25:21 6ca5941a6612: Pull complete 00:25:21 ecc8261a40a4: Pull complete 00:25:21 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:25:22 prd-centos7-docker-4c-2g-26729 does not seem to be running inside a container 00:25:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-703 -v /w/workspace/ndry_app-functions-sdk-go_PR-703:/w/workspace/ndry_app-functions-sdk-go_PR-703:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-703@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:25:25 $ docker top 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:25 [ssh-agent] Looking for ssh-agent implementation... 00:25:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:26 $ docker exec 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 ssh-agent 00:25:27 SSH_AUTH_SOCK=/tmp/ssh-TEyvmSyBz0Iy/agent.12 00:25:27 SSH_AGENT_PID=17 00:25:27 Running ssh-add (command line suppressed) 00:25:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_8650338750088317023.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_8650338750088317023.key) 00:25:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:29 + git tag --points-at HEAD [Pipeline] } 00:25:29 $ docker exec --env ******** --env ******** 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 ssh-agent -k 00:25:29 unset SSH_AUTH_SOCK; 00:25:29 unset SSH_AGENT_PID; 00:25:29 echo Agent pid 17 killed; 00:25:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:29 [ssh-agent] Looking for ssh-agent implementation... 00:25:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:30 $ docker exec 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 ssh-agent 00:25:30 SSH_AUTH_SOCK=/tmp/ssh-Z0pcdAbqs3vv/agent.48 00:25:30 SSH_AGENT_PID=53 00:25:30 Running ssh-add (command line suppressed) 00:25:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_8325925187221918655.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_8325925187221918655.key) 00:25:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:31 + git semver init 00:25:32 # -> Open(): unable to determine branch for HEAD 00:25:32 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.git 00:25:32 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-703 00:25:32 # $SEMVER_REMOTE_NAME = origin 00:25:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:25:32 # $SEMVER_USER_NAME = edgex-jenkins 00:25:32 # $SEMVER_BRANCH = PR-703 00:25:32 # $SEMVER_TEMP = /tmp/semver-125353725 00:25:32 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:25:36 # '/tmp/semver-125353725' -> '/w/workspace/ndry_app-functions-sdk-go_PR-703/.semver' 00:25:36 # -> Force: false 00:25:36 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.semver [Pipeline] } 00:25:36 $ docker exec --env ******** --env ******** 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 ssh-agent -k 00:25:36 unset SSH_AUTH_SOCK; 00:25:36 unset SSH_AGENT_PID; 00:25:36 echo Agent pid 53 killed; 00:25:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:25:37 + git semver [Pipeline] } 00:25:37 $ docker stop --time=1 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 00:25:39 $ docker rm -f 46946803d94deffebe291ed38256b2441b119943b3602db29e1b9c4643a02680 [Pipeline] // withDockerContainer [Pipeline] sh 00:25:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:25:41 Stashed 1 file(s) [Pipeline] echo 00:25:41 [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 00:25:57 Still waiting to schedule task 00:25:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:25:57 Still waiting to schedule task 00:25:57 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:28:59 Running on prd-centos7-docker-4c-2g-26731 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 00:28:59 Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout 00:29:02 using credential edgex-jenkins-ssh 00:29:02 Cloning the remote Git repository 00:29:02 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:02 > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 00:29:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:02 > git --version # timeout=10 00:29:02 > git --version # 'git version 2.24.3' 00:29:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:04 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 80f3533502ff06d950e6b4ccd7d38a006961ada6 00:29:04 Merge succeeded, producing 80f3533502ff06d950e6b4ccd7d38a006961ada6 00:29:04 Checking out Revision 80f3533502ff06d950e6b4ccd7d38a006961ada6 (PR-703) 00:29:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:04 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:29:04 > git config core.sparsecheckout # timeout=10 00:29:04 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 00:29:04 > git remote # timeout=10 00:29:04 > git config --get remote.origin.url # timeout=10 00:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:04 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 00:29:04 > git rev-parse HEAD^{commit} # timeout=10 00:29:04 > git config core.sparsecheckout # timeout=10 00:29:04 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 00:29:08 Commit message: "feat: Adjust path in go.mod replace statement to work in CI build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:29:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:29:10 + sudo service docker restart 00:29:10 + true 00:29:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:29:12 ========================================================= 00:29:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:29:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:29:12 + 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 . 00:29:13 Sending build context to Docker daemon 19.25MB 00:29:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:29:13 Step 2/8 : FROM ${BASE} 00:29:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:29:13 188c0c94c7c5: Pulling fs layer 00:29:13 0ef7d3d256c8: Pulling fs layer 00:29:13 de9db76c5a1d: Pulling fs layer 00:29:13 bca2f99d35d6: Pulling fs layer 00:29:13 93359f2a8cfa: Pulling fs layer 00:29:13 7c6f9722023f: Pulling fs layer 00:29:13 a35cf1a2eb13: Pulling fs layer 00:29:13 bca2f99d35d6: Waiting 00:29:13 93359f2a8cfa: Waiting 00:29:13 7c6f9722023f: Waiting 00:29:13 a35cf1a2eb13: Waiting 00:29:13 de9db76c5a1d: Verifying Checksum 00:29:13 de9db76c5a1d: Download complete 00:29:13 0ef7d3d256c8: Download complete 00:29:13 93359f2a8cfa: Verifying Checksum 00:29:13 93359f2a8cfa: Download complete 00:29:13 7c6f9722023f: Download complete 00:29:13 188c0c94c7c5: Verifying Checksum 00:29:13 188c0c94c7c5: Download complete 00:29:13 188c0c94c7c5: Pull complete 00:29:14 0ef7d3d256c8: Pull complete 00:29:14 de9db76c5a1d: Pull complete 00:29:15 a35cf1a2eb13: Verifying Checksum 00:29:15 a35cf1a2eb13: Download complete 00:29:16 bca2f99d35d6: Verifying Checksum 00:29:16 bca2f99d35d6: Download complete 00:29:21 bca2f99d35d6: Pull complete 00:29:21 93359f2a8cfa: Pull complete 00:29:21 7c6f9722023f: Pull complete 00:29:26 a35cf1a2eb13: Pull complete 00:29:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:29:26 ---> a62c8e92a672 00:29:26 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:29:26 20.10.0: Pulling from library/docker 00:29:26 05e7bc50f07f: Pulling fs layer 00:29:26 6db28d0fdbf6: Pulling fs layer 00:29:26 292df0bc6bf3: Pulling fs layer 00:29:26 2e060f4bd70b: Pulling fs layer 00:29:26 80e8d568a223: Pulling fs layer 00:29:26 8dc6ef1a942a: Pulling fs layer 00:29:26 2312dd95470a: Pulling fs layer 00:29:26 80e8d568a223: Waiting 00:29:26 8dc6ef1a942a: Waiting 00:29:26 2312dd95470a: Waiting 00:29:26 2e060f4bd70b: Waiting 00:29:26 292df0bc6bf3: Verifying Checksum 00:29:26 292df0bc6bf3: Download complete 00:29:26 6db28d0fdbf6: Download complete 00:29:26 80e8d568a223: Verifying Checksum 00:29:26 80e8d568a223: Download complete 00:29:26 05e7bc50f07f: Verifying Checksum 00:29:26 05e7bc50f07f: Download complete 00:29:26 8dc6ef1a942a: Verifying Checksum 00:29:26 8dc6ef1a942a: Download complete 00:29:26 2312dd95470a: Verifying Checksum 00:29:26 2312dd95470a: Download complete 00:29:27 05e7bc50f07f: Pull complete 00:29:27 6db28d0fdbf6: Pull complete 00:29:27 292df0bc6bf3: Pull complete 00:29:28 2e060f4bd70b: Verifying Checksum 00:29:28 2e060f4bd70b: Download complete 00:29:30 2e060f4bd70b: Pull complete 00:29:30 80e8d568a223: Pull complete 00:29:30 8dc6ef1a942a: Pull complete 00:29:31 2312dd95470a: Pull complete 00:29:31 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:29:31 Status: Downloaded newer image for docker:20.10.0 00:29:32 ---> d5c8a86aa33e 00:29:32 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:29:32 ---> Running in e927b6487ac4 00:29:32 Removing intermediate container e927b6487ac4 00:29:32 ---> 292fbeb59ef7 00:29:32 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:29:32 ---> Running in 7d1694ecad4b 00:29:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:29:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:29:34 (1/5) Installing libsodium (1.0.18-r0) 00:29:34 (2/5) Installing libzmq (4.3.3-r0) 00:29:34 (3/5) Installing pkgconf (1.7.2-r0) 00:29:34 (4/5) Installing libsodium-dev (1.0.18-r0) 00:29:34 (5/5) Installing zeromq-dev (4.3.3-r0) 00:29:35 Executing busybox-1.31.1-r19.trigger 00:29:35 OK: 167 MiB in 44 packages 00:29:35 Removing intermediate container 7d1694ecad4b 00:29:35 ---> 482c98aa2f3f 00:29:35 Step 6/8 : WORKDIR /build 00:29:35 ---> Running in 3ed169da377d 00:29:35 Removing intermediate container 3ed169da377d 00:29:35 ---> 6b0140bc5a6b 00:29:35 Step 7/8 : COPY go.mod . 00:29:36 ---> 314ddae6501a 00:29:36 Step 8/8 : RUN go mod download 00:29:36 ---> Running in faa9a30ac76f 00:29:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26730 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 00:29:37 Running in /w/workspace/app-functions-sdk-go/12 [Pipeline] { [Pipeline] checkout 00:29:42 using credential edgex-jenkins-ssh 00:29:42 Cloning the remote Git repository 00:29:42 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:42 > git init /w/workspace/app-functions-sdk-go/12 # timeout=10 00:29:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:42 > git --version # timeout=10 00:29:42 > git --version # 'git version 2.17.1' 00:29:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:47 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 80f3533502ff06d950e6b4ccd7d38a006961ada6 00:29:47 Merge succeeded, producing 80f3533502ff06d950e6b4ccd7d38a006961ada6 00:29:47 Checking out Revision 80f3533502ff06d950e6b4ccd7d38a006961ada6 (PR-703) 00:29:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:29:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:29:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:29:47 > git config core.sparsecheckout # timeout=10 00:29:47 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 00:29:47 > git remote # timeout=10 00:29:47 > git config --get remote.origin.url # timeout=10 00:29:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:47 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 00:29:47 > git rev-parse HEAD^{commit} # timeout=10 00:29:47 > git config core.sparsecheckout # timeout=10 00:29:47 > git checkout -f 80f3533502ff06d950e6b4ccd7d38a006961ada6 # timeout=10 00:29:51 Commit message: "feat: Adjust path in go.mod replace statement to work in CI build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:29:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:29:54 + + true 00:29:54 sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:29:56 ========================================================= 00:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:29:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:29:56 + 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 . 00:29:57 Sending build context to Docker daemon 19.25MB 00:29:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:29:57 Step 2/8 : FROM ${BASE} 00:29:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:29:58 5f621e34cdf4: Pulling fs layer 00:29:58 a4357932f1b6: Pulling fs layer 00:29:58 18c013af1878: Pulling fs layer 00:29:58 00ac8860ef70: Pulling fs layer 00:29:58 63d7cb157983: Pulling fs layer 00:29:58 b116817d02f9: Pulling fs layer 00:29:58 745a02a5169b: Pulling fs layer 00:29:58 00ac8860ef70: Waiting 00:29:58 63d7cb157983: Waiting 00:29:58 b116817d02f9: Waiting 00:29:58 745a02a5169b: Waiting 00:29:58 18c013af1878: Verifying Checksum 00:29:58 18c013af1878: Download complete 00:29:58 a4357932f1b6: Verifying Checksum 00:29:58 a4357932f1b6: Download complete 00:29:58 63d7cb157983: Download complete 00:29:58 b116817d02f9: Download complete 00:29:58 5f621e34cdf4: Verifying Checksum 00:29:58 5f621e34cdf4: Download complete 00:29:59 5f621e34cdf4: Pull complete 00:29:59 a4357932f1b6: Pull complete 00:30:00 18c013af1878: Pull complete 00:30:00 745a02a5169b: Verifying Checksum 00:30:00 745a02a5169b: Download complete 00:30:01 00ac8860ef70: Verifying Checksum 00:30:01 00ac8860ef70: Download complete 00:30:02 Removing intermediate container faa9a30ac76f 00:30:02 ---> 5f6442acb3a3 00:30:02 Successfully built 5f6442acb3a3 00:30:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:30:03 + docker inspect -f . ci-base-image-x86_64 00:30:03 . [Pipeline] withDockerContainer 00:30:03 prd-centos7-docker-4c-2g-26731 does not seem to be running inside a container 00:30:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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 00:30:04 $ docker top 95443bb3f5424ec0ae0097b3dcf224fc352877b44d3c0001a3b1d339408cea67 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:04 + go version 00:30:04 go version go1.15.5 linux/amd64 [Pipeline] } 00:30:04 $ docker stop --time=1 95443bb3f5424ec0ae0097b3dcf224fc352877b44d3c0001a3b1d339408cea67 00:30:06 $ docker rm -f 95443bb3f5424ec0ae0097b3dcf224fc352877b44d3c0001a3b1d339408cea67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:30:06 + docker inspect -f . ci-base-image-x86_64 00:30:06 . [Pipeline] withDockerContainer 00:30:07 prd-centos7-docker-4c-2g-26731 does not seem to be running inside a container 00:30:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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 00:30:08 $ docker top 985c1ae39d3151dc64dba08edb6816a41a04c696880093bce4aa3c91bbfd0a1a -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:08 + make test 00:30:08 make -C ./app-service-template build 00:30:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:30:08 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:30:11 00ac8860ef70: Pull complete 00:30:12 63d7cb157983: Pull complete 00:30:12 b116817d02f9: Pull complete 00:30:16 745a02a5169b: Pull complete 00:30:16 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:30:16 ---> b7e6874047d6 00:30:16 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:30:16 20.10.0: Pulling from library/docker 00:30:16 a3cc7d3b244e: Pulling fs layer 00:30:16 02a3295e0d61: Pulling fs layer 00:30:16 0f4f2e6d8100: Pulling fs layer 00:30:16 330b718f631f: Pulling fs layer 00:30:16 a93816041522: Pulling fs layer 00:30:16 bdb6da89ff94: Pulling fs layer 00:30:16 2a70c0c122f4: Pulling fs layer 00:30:16 330b718f631f: Waiting 00:30:16 a93816041522: Waiting 00:30:16 bdb6da89ff94: Waiting 00:30:16 2a70c0c122f4: Waiting 00:30:16 0f4f2e6d8100: Download complete 00:30:16 02a3295e0d61: Verifying Checksum 00:30:16 02a3295e0d61: Download complete 00:30:16 a93816041522: Verifying Checksum 00:30:16 a93816041522: Download complete 00:30:16 a3cc7d3b244e: Download complete 00:30:16 bdb6da89ff94: Verifying Checksum 00:30:16 bdb6da89ff94: Download complete 00:30:16 2a70c0c122f4: Verifying Checksum 00:30:16 2a70c0c122f4: Download complete 00:30:17 a3cc7d3b244e: Pull complete 00:30:18 02a3295e0d61: Pull complete 00:30:18 0f4f2e6d8100: Pull complete 00:30:18 330b718f631f: Verifying Checksum 00:30:18 330b718f631f: Download complete 00:30:20 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:30:20 make -C ./app-service-template test 00:30:20 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:30:20 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:30:22 330b718f631f: Pull complete 00:30:22 a93816041522: Pull complete 00:30:22 bdb6da89ff94: Pull complete 00:30:23 2a70c0c122f4: Pull complete 00:30:23 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:30:23 Status: Downloaded newer image for docker:20.10.0 00:30:27 ? new-app-service [no test files] 00:30:27 ok new-app-service/functions 0.009s coverage: 75.8% of statements 00:30:27 CGO_ENABLED=1 go vet ./... 00:30:29 ---> dc7f9e836c1c 00:30:29 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:30:29 ---> Running in fe8bef224ff6 00:30:30 Removing intermediate container fe8bef224ff6 00:30:30 ---> c66c117cff35 00:30:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:30:30 ---> Running in 4d86f7577b10 00:30:30 gofmt -l . 00:30:30 [ "`gofmt -l .`" = "" ] 00:30:30 ./bin/test-go-mod-tidy.sh 00:30:31 ./bin/test-attribution-txt.sh 00:30:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:30:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:30:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:30:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:30:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:30:33 (1/5) Installing libsodium (1.0.18-r0) 00:30:33 (2/5) Installing libzmq (4.3.3-r0) 00:30:33 (3/5) Installing pkgconf (1.7.2-r0) 00:30:33 (4/5) Installing libsodium-dev (1.0.18-r0) 00:30:33 (5/5) Installing zeromq-dev (4.3.3-r0) 00:30:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.019s coverage: 82.6% of statements 00:30:33 Executing busybox-1.31.1-r19.trigger 00:30:33 OK: 144 MiB in 44 packages 00:30:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.020s coverage: 50.6% of statements 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:30:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.062s coverage: 61.5% of statements 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:30:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.045s coverage: 73.2% of statements 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:30:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.0% of statements 00:30:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:30:35 Removing intermediate container 4d86f7577b10 00:30:35 ---> ee740ea87733 00:30:35 Step 6/8 : WORKDIR /build 00:30:35 ---> Running in 7db53c84da1e 00:30:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.021s coverage: 8.8% of statements 00:30:35 Removing intermediate container 7db53c84da1e 00:30:35 ---> 2645c3dad628 00:30:35 Step 7/8 : COPY go.mod . 00:30:36 ---> e33f72497126 00:30:36 Step 8/8 : RUN go mod download 00:30:36 ---> Running in 86e8b9fd37d4 00:30:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.841s coverage: 77.5% of statements 00:30:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:30:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.012s coverage: 87.9% of statements 00:30:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.014s coverage: 80.5% of statements 00:30:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 71.7% of statements 00:31:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 82.9% of statements 00:31:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.029s coverage: 94.4% of statements 00:31:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:31:03 Removing intermediate container 86e8b9fd37d4 00:31:03 ---> e82638cd0a56 00:31:03 Successfully built e82638cd0a56 00:31:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:31:03 gofmt -l . 00:31:03 [ "`gofmt -l .`" = "" ] 00:31:03 ./app-service-template/bin/test-go-mod-tidy.sh 00:31:03 + docker inspect -f . ci-base-image-arm64 00:31:03 . [Pipeline] withDockerContainer 00:31:03 prd-ubuntu18.04-docker-arm64-4c-16g-26730 does not seem to be running inside a container 00:31:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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 00:31:05 $ docker top 51eb18fc96d9a80a41ce89a1248fb528b05dd1ef9a9838681ccfbee624df45c3 -eo pid,comm [Pipeline] { [Pipeline] } 00:31:06 $ docker stop --time=1 985c1ae39d3151dc64dba08edb6816a41a04c696880093bce4aa3c91bbfd0a1a 00:31:07 $ docker rm -f 985c1ae39d3151dc64dba08edb6816a41a04c696880093bce4aa3c91bbfd0a1a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 00:31:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:31:08 Stashed 2 file(s) [Pipeline] } 00:31:08 + go version 00:31:08 go version go1.15.5 linux/arm64 [Pipeline] // script [Pipeline] } [Pipeline] } 00:31:08 $ docker stop --time=1 51eb18fc96d9a80a41ce89a1248fb528b05dd1ef9a9838681ccfbee624df45c3 00:31:11 $ docker rm -f 51eb18fc96d9a80a41ce89a1248fb528b05dd1ef9a9838681ccfbee624df45c3 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 00:31:12 + docker inspect -f . ci-base-image-arm64 00:31:12 . [Pipeline] withDockerContainer 00:31:12 prd-ubuntu18.04-docker-arm64-4c-16g-26730 does not seem to be running inside a container 00:31:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/12 -v /w/workspace/app-functions-sdk-go/12:/w/workspace/app-functions-sdk-go/12:rw,z -v /w/workspace/app-functions-sdk-go/12@tmp:/w/workspace/app-functions-sdk-go/12@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 00:31:14 $ docker top 64fc0b7fe9eea29591ff50882de8575a86de940f1b13fcd23cb3be8db7e1a9cb -eo pid,comm [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 00:31:15 + make test 00:31:15 make -C ./app-service-template build 00:31:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:31:15 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [Pipeline] // stage [Pipeline] } 00:31:47 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:31:47 make -C ./app-service-template test 00:31:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:31:47 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:32:06 ? new-app-service [no test files] 00:32:07 ok new-app-service/functions 0.024s coverage: 75.8% of statements 00:32:07 CGO_ENABLED=1 go vet ./... 00:32:16 gofmt -l . 00:32:16 [ "`gofmt -l .`" = "" ] 00:32:16 ./bin/test-go-mod-tidy.sh 00:32:16 ./bin/test-attribution-txt.sh 00:32:17 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/12/app-service-template' 00:32:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:32:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:32:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.046s coverage: 82.6% of statements 00:32:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.062s coverage: 50.6% of statements 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:32:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.075s coverage: 61.5% of statements 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:32:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.083s coverage: 73.2% of statements 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:32:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.047s coverage: 97.0% of statements 00:32:27 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:32:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 8.8% of statements 00:32:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.877s coverage: 77.5% of statements 00:32:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:32:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.042s coverage: 87.9% of statements 00:32:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.034s coverage: 80.5% of statements 00:32:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.025s coverage: 71.7% of statements 00:32:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.074s coverage: 82.9% of statements 00:32:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 00:32:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:33:02 gofmt -l . 00:33:02 [ "`gofmt -l .`" = "" ] 00:33:02 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:33:03 $ docker stop --time=1 64fc0b7fe9eea29591ff50882de8575a86de940f1b13fcd23cb3be8db7e1a9cb 00:33:05 $ docker rm -f 64fc0b7fe9eea29591ff50882de8575a86de940f1b13fcd23cb3be8db7e1a9cb [Pipeline] // withDockerContainer [Pipeline] sh 00:33:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:06 Warning: overwriting stash ‘coverage-report’ 00:33:06 Stashed 2 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 00:33:08 provisioning config files... 00:33:08 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/config5129745290778425819tmp [Pipeline] { [Pipeline] sh 00:33:09 + set +x 00:33:09 + curl -s https://codecov.io/bash 00:33:09 + bash -s -- 00:33:09 00:33:09 _____ _ 00:33:09 / ____| | | 00:33:09 | | ___ __| | ___ ___ _____ __ 00:33:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:33:09 | |___| (_) | (_| | __/ (_| (_) \ V / 00:33:09 \_____\___/ \__,_|\___|\___\___/ \_/ 00:33:09 Bash-20210129-7c25fce 00:33:09 00:33:09 00:33:09 ==> git version 2.24.3 found 00:33:09 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:33:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:33:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:33:09 ==> Jenkins CI detected. 00:33:09 project root: . 00:33:09 --> token set from env 00:33:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:33:10 ==> Running gcov in . (disable via -X gcov) 00:33:10 ==> Python coveragepy not found 00:33:10 ==> Searching for coverage reports in: 00:33:10 + . 00:33:10 -> Found 2 reports 00:33:10 ==> Detecting git/mercurial file structure 00:33:10 ==> Reading reports 00:33:10 + ./app-service-template/coverage.out bytes=1148 00:33:10 + ./coverage.out bytes=81242 00:33:10 ==> Appending adjustments 00:33:10 https://docs.codecov.io/docs/fixing-reports 00:33:11 + Found adjustments 00:33:11 ==> Gzipping contents 00:33:11 16K /tmp/codecov.DTh9Ca.gz 00:33:11 ==> Uploading reports 00:33:11 url: https://codecov.io 00:33:11 query: branch=PR-703&commit=80f3533502ff06d950e6b4ccd7d38a006961ada6&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-703%2F12%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=703&job=&cmd_args= 00:33:11 -> Pinging Codecov 00:33:11 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-703&commit=80f3533502ff06d950e6b4ccd7d38a006961ada6&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-703%2F12%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=703&job=&cmd_args= 00:33:11 -> Uploading to 00:33:11 https://storage.googleapis.com/codecov/v4/raw/2021-02-18/3D8B5DFFC46A037C893635FACE044666/80f3533502ff06d950e6b4ccd7d38a006961ada6/91fbb92f-673f-46b7-bd04-97d0096ab835.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T003311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c963cbaaea8e23fd9c7431dc3f00e5407089d730c645798d1f4e4a125851d1cb 00:33:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:33:11 Dload Upload Total Spent Left Speed 00:33:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14199 0 0 100 14199 0 20388 --:--:-- --:--:-- --:--:-- 20371 100 14199 0 0 100 14199 0 20380 --:--:-- --:--:-- --:--:-- 20371 00:33:12 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/80f3533502ff06d950e6b4ccd7d38a006961ada6 [Pipeline] } 00:33:12 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 00:33:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:33:15 ---> package-listing.sh 00:33:15 ++ tr '[:upper:]' '[:lower:]' 00:33:15 ++ facter osfamily 00:33:16 + OS_FAMILY=redhat 00:33:16 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-703 00:33:16 + START_PACKAGES=/tmp/packages_start.txt 00:33:16 + END_PACKAGES=/tmp/packages_end.txt 00:33:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:33:16 + PACKAGES=/tmp/packages_start.txt 00:33:16 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 00:33:16 + PACKAGES=/tmp/packages_end.txt 00:33:16 + case "${OS_FAMILY}" in 00:33:16 + sort 00:33:16 + rpm -qa 00:33:23 + '[' -f /tmp/packages_start.txt ']' 00:33:23 + '[' -f /tmp/packages_end.txt ']' 00:33:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:33:23 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 00:33:23 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-703/archives/ 00:33:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-703/archives/ [Pipeline] echo 00:33:23 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-703/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:33:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:33:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:33:24 00:33:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:33:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:33:26 alpine: Pulling from edgex-lftools-log-publisher 00:33:26 df20fa9351a1: Pulling fs layer 00:33:26 36b3adc4ff6f: Pulling fs layer 00:33:26 8ad3a11d3b57: Pulling fs layer 00:33:26 46f8f816bc3b: Pulling fs layer 00:33:26 93b61091891f: Pulling fs layer 00:33:26 93b9cdb0e59b: Pulling fs layer 00:33:26 5e14af77c1be: Pulling fs layer 00:33:26 01666e4c0597: Pulling fs layer 00:33:26 aa168da1d23b: Pulling fs layer 00:33:26 93b61091891f: Waiting 00:33:26 5e14af77c1be: Waiting 00:33:26 46f8f816bc3b: Waiting 00:33:26 01666e4c0597: Waiting 00:33:26 93b9cdb0e59b: Waiting 00:33:26 aa168da1d23b: Waiting 00:33:27 36b3adc4ff6f: Verifying Checksum 00:33:27 36b3adc4ff6f: Download complete 00:33:27 46f8f816bc3b: Verifying Checksum 00:33:27 46f8f816bc3b: Download complete 00:33:27 df20fa9351a1: Verifying Checksum 00:33:27 df20fa9351a1: Download complete 00:33:27 93b9cdb0e59b: Verifying Checksum 00:33:27 93b9cdb0e59b: Download complete 00:33:27 5e14af77c1be: Verifying Checksum 00:33:27 5e14af77c1be: Download complete 00:33:27 93b61091891f: Verifying Checksum 00:33:27 93b61091891f: Download complete 00:33:27 01666e4c0597: Verifying Checksum 00:33:27 01666e4c0597: Download complete 00:33:28 df20fa9351a1: Pull complete 00:33:28 36b3adc4ff6f: Pull complete 00:33:28 8ad3a11d3b57: Verifying Checksum 00:33:28 8ad3a11d3b57: Download complete 00:33:31 8ad3a11d3b57: Pull complete 00:33:31 46f8f816bc3b: Pull complete 00:33:32 93b61091891f: Pull complete 00:33:32 93b9cdb0e59b: Pull complete 00:33:32 5e14af77c1be: Pull complete 00:33:33 01666e4c0597: Pull complete 00:33:38 aa168da1d23b: Verifying Checksum 00:33:38 aa168da1d23b: Download complete 00:33:57 aa168da1d23b: Pull complete 00:33:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:33:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:33:58 prd-centos7-docker-4c-2g-26729 does not seem to be running inside a container 00:33:58 $ 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-703/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-703 -v /w/workspace/ndry_app-functions-sdk-go_PR-703:/w/workspace/ndry_app-functions-sdk-go_PR-703:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-703@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:34:02 $ docker top f6a708e83a2bd826ac29817c2858c4a7c054ea1fae7711bc80d0748b14e07b18 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:04 + touch /tmp/pre-build-complete [Pipeline] sh 00:34:05 + mkdir -p /var/log/sa [Pipeline] sh 00:34:06 + ls /var/log/sa-host 00:34:06 + sadf -c /var/log/sa-host/sa18 00:34:06 file_magic: OK 00:34:06 HZ: Using current value: 100 00:34:06 file_header: OK 00:34:06 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 00:34:06 Statistics: 00:34:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:34:06 File successfully converted to sysstat format version 12.2.1 00:34:06 + sadf -c /var/log/sa-host/sa23 00:34:06 file_magic: OK 00:34:06 HZ: Using current value: 100 00:34:06 file_header: OK 00:34:06 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 00:34:06 Statistics: 00:34:06 Hnuu...uuuununununu... 00:34:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:07 provisioning config files... 00:34:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/config4116735921249783473tmp [Pipeline] { [Pipeline] echo 00:34:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:34:08 ---> create-netrc.sh [Pipeline] } 00:34:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:34:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:34:09 ---> python-tools-install.sh [Pipeline] echo 00:34:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:34:09 ---> sudo-logs.sh 00:34:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:34:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:34:11 ---> job-cost.sh 00:34:11 lf-activate-venv: SKIPPING 00:34:11 INFO: No Stack... 00:34:12 INFO: Retrieving Pricing Info for: v1-standard-2 00:34:13 INFO: Archiving Costs [Pipeline] echo 00:34:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:34:14 ---> logs-deploy.sh 00:34:14 lf-activate-venv: SKIPPING 00:34:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-703/12 00:34:14 INFO: archiving workspace using pattern(s): 00:34:17 Archives upload complete. 00:34:17 INFO: archiving logs to Nexus