Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26947’ Running on prd-centos7-docker-4c-2g-26950 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 Commit message: "feat: Port service template from hanoi branch (#703)" > git rev-list --no-walk f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:41:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:41:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:41:12 ========================================================= 21:41:12 EdgeX Global Pipelines Version Info 21:41:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:41:13 ------------------- 21:41:13 stable info: 21:41:13 ------------------- 21:41:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:41:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 21:41:13 Message: update stable to v1.0.179 21:41:14 ------------------- 21:41:14 experimental info: 21:41:14 ------------------- 21:41:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:41:14 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 21:41:14 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:41:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:41:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:41:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:41:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:41:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec0576e [Pipeline] echo 21:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:18 + git log --format=format:%s -1 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] echo 21:41:18 GIT_COMMIT: ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb, Commit Message: feat: Port service template from hanoi branch (#703) [Pipeline] echo 21:41:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:41:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:41:19 21:41:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:41:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:41:20 latest: Pulling from edgex-devops/git-semver 21:41:20 31603596830f: Pulling fs layer 21:41:20 2a8b12db71e7: Pulling fs layer 21:41:20 6ca5941a6612: Pulling fs layer 21:41:20 ecc8261a40a4: Pulling fs layer 21:41:20 2a8b12db71e7: Verifying Checksum 21:41:20 2a8b12db71e7: Download complete 21:41:20 31603596830f: Verifying Checksum 21:41:20 31603596830f: Download complete 21:41:20 6ca5941a6612: Verifying Checksum 21:41:20 6ca5941a6612: Download complete 21:41:20 ecc8261a40a4: Verifying Checksum 21:41:20 ecc8261a40a4: Download complete 21:41:20 31603596830f: Pull complete 21:41:20 2a8b12db71e7: Pull complete 21:41:21 6ca5941a6612: Pull complete 21:41:22 ecc8261a40a4: Pull complete 21:41:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:41:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:41:22 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:41:24 $ docker top a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:24 [ssh-agent] Looking for ssh-agent implementation... 21:41:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:25 $ docker exec a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent 21:41:25 SSH_AUTH_SOCK=/tmp/ssh-yFWDRojeu9xb/agent.11 21:41:25 SSH_AGENT_PID=16 21:41:25 Running ssh-add (command line suppressed) 21:41:25 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7389768829547741211.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7389768829547741211.key) 21:41:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:26 + git tag --points-at HEAD [Pipeline] } 21:41:26 $ docker exec --env ******** --env ******** a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent -k 21:41:26 unset SSH_AUTH_SOCK; 21:41:26 unset SSH_AGENT_PID; 21:41:26 echo Agent pid 16 killed; 21:41:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:41:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:26 [ssh-agent] Looking for ssh-agent implementation... 21:41:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:26 $ docker exec a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent 21:41:26 SSH_AUTH_SOCK=/tmp/ssh-tR3HTnHgdhGw/agent.44 21:41:26 SSH_AGENT_PID=49 21:41:26 Running ssh-add (command line suppressed) 21:41:27 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7076271638522093836.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7076271638522093836.key) 21:41:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:27 + git semver init 21:41:27 # -> Open(): unable to determine branch for HEAD 21:41:27 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:41:27 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:41:27 # $SEMVER_REMOTE_NAME = origin 21:41:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:41:27 # $SEMVER_USER_NAME = edgex-jenkins 21:41:27 # $SEMVER_BRANCH = master 21:41:27 # $SEMVER_TEMP = /tmp/semver-229229892 21:41:27 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:41:30 # '/tmp/semver-229229892' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 21:41:30 # -> Force: false 21:41:30 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 21:41:30 $ docker exec --env ******** --env ******** a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent -k 21:41:30 unset SSH_AUTH_SOCK; 21:41:30 unset SSH_AGENT_PID; 21:41:30 echo Agent pid 49 killed; 21:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:31 + git semver [Pipeline] } 21:41:31 $ docker stop --time=1 a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 21:41:32 $ docker rm -f a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 [Pipeline] // withDockerContainer [Pipeline] sh 21:41:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:41:33 Stashed 1 file(s) [Pipeline] echo 21:41:33 [edgeXSemver]: initialized semver on version 2.0.0-dev.15 [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 21:41:49 Still waiting to schedule task 21:41:49 ‘prd-centos7-docker-4c-2g-26949’ is offline; ‘prd-centos7-docker-4c-2g-26951’ is offline; ‘prd-centos7-docker-4c-2g-26952’ is offline; ‘prd-centos7-docker-4c-2g-26953’ is offline; ‘prd-centos7-docker-4c-2g-26954’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ 21:41:49 Still waiting to schedule task 21:41:49 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:44:42 Running on prd-centos7-docker-4c-2g-26962 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 21:44:42 Running in /w/workspace/app-functions-sdk-go/182 [Pipeline] { [Pipeline] checkout 21:44:44 using credential edgex-jenkins-ssh 21:44:44 Cloning the remote Git repository 21:44:44 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:44:44 > git init /w/workspace/app-functions-sdk-go/182 # timeout=10 21:44:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:44:44 > git --version # timeout=10 21:44:44 > git --version # 'git version 2.24.3' 21:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:44:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:44:46 Checking out Revision ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (master) 21:44:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:44:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:44:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:44:46 > git config core.sparsecheckout # timeout=10 21:44:46 > git checkout -f ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 21:44:50 Commit message: "feat: Port service template from hanoi branch (#703)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:44:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:44:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:44:52 + sudo service docker restart 21:44:52 + true 21:44:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 21:44:54 ========================================================= 21:44:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:44:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:44:54 + 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 . 21:44:54 Sending build context to Docker daemon 19.21MB 21:44:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:44:54 Step 2/8 : FROM ${BASE} 21:44:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:44:54 188c0c94c7c5: Pulling fs layer 21:44:54 0ef7d3d256c8: Pulling fs layer 21:44:54 de9db76c5a1d: Pulling fs layer 21:44:54 bca2f99d35d6: Pulling fs layer 21:44:54 93359f2a8cfa: Pulling fs layer 21:44:54 7c6f9722023f: Pulling fs layer 21:44:54 a35cf1a2eb13: Pulling fs layer 21:44:54 93359f2a8cfa: Waiting 21:44:54 7c6f9722023f: Waiting 21:44:54 a35cf1a2eb13: Waiting 21:44:54 bca2f99d35d6: Waiting 21:44:54 de9db76c5a1d: Verifying Checksum 21:44:54 de9db76c5a1d: Download complete 21:44:54 0ef7d3d256c8: Download complete 21:44:54 93359f2a8cfa: Verifying Checksum 21:44:54 93359f2a8cfa: Download complete 21:44:55 7c6f9722023f: Verifying Checksum 21:44:55 7c6f9722023f: Download complete 21:44:55 188c0c94c7c5: Verifying Checksum 21:44:55 188c0c94c7c5: Download complete 21:44:55 188c0c94c7c5: Pull complete 21:44:55 0ef7d3d256c8: Pull complete 21:44:55 de9db76c5a1d: Pull complete 21:44:57 a35cf1a2eb13: Verifying Checksum 21:44:57 a35cf1a2eb13: Download complete 21:44:58 bca2f99d35d6: Verifying Checksum 21:44:58 bca2f99d35d6: Download complete 21:45:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26961 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 21:45:02 Running in /w/workspace/app-functions-sdk-go/182 [Pipeline] { [Pipeline] checkout 21:45:03 bca2f99d35d6: Pull complete 21:45:03 93359f2a8cfa: Pull complete 21:45:03 7c6f9722023f: Pull complete 21:45:07 using credential edgex-jenkins-ssh 21:45:08 Cloning the remote Git repository 21:45:08 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:45:08 > git init /w/workspace/app-functions-sdk-go/182 # timeout=10 21:45:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:45:08 > git --version # timeout=10 21:45:08 > git --version # 'git version 2.17.1' 21:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:45:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:45:11 a35cf1a2eb13: Pull complete 21:45:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:45:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:45:11 ---> a62c8e92a672 21:45:11 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:45:11 20.10.0: Pulling from library/docker 21:45:11 05e7bc50f07f: Pulling fs layer 21:45:11 6db28d0fdbf6: Pulling fs layer 21:45:11 292df0bc6bf3: Pulling fs layer 21:45:11 2e060f4bd70b: Pulling fs layer 21:45:11 80e8d568a223: Pulling fs layer 21:45:11 8dc6ef1a942a: Pulling fs layer 21:45:11 2312dd95470a: Pulling fs layer 21:45:11 80e8d568a223: Waiting 21:45:11 2e060f4bd70b: Waiting 21:45:11 8dc6ef1a942a: Waiting 21:45:11 2312dd95470a: Waiting 21:45:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:45:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:45:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:45:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:45:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:45:12 Checking out Revision ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (master) 21:45:12 292df0bc6bf3: Verifying Checksum 21:45:12 292df0bc6bf3: Download complete 21:45:12 6db28d0fdbf6: Verifying Checksum 21:45:12 6db28d0fdbf6: Download complete 21:45:12 05e7bc50f07f: Verifying Checksum 21:45:12 80e8d568a223: Verifying Checksum 21:45:12 80e8d568a223: Download complete 21:45:12 05e7bc50f07f: Pull complete 21:45:12 2312dd95470a: Verifying Checksum 21:45:12 2312dd95470a: Download complete 21:45:12 6db28d0fdbf6: Pull complete 21:45:12 292df0bc6bf3: Pull complete 21:45:12 8dc6ef1a942a: Verifying Checksum 21:45:12 8dc6ef1a942a: Download complete 21:45:12 > git config core.sparsecheckout # timeout=10 21:45:12 > git checkout -f ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 21:45:16 Commit message: "feat: Port service template from hanoi branch (#703)" 21:45:17 2e060f4bd70b: Verifying Checksum 21:45:17 2e060f4bd70b: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:45:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:45:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:45:19 + sudo service docker restart 21:45:19 + true 21:45:20 2e060f4bd70b: Pull complete 21:45:20 80e8d568a223: Pull complete 21:45:20 8dc6ef1a942a: Pull complete 21:45:20 2312dd95470a: Pull complete 21:45:20 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:45:20 Status: Downloaded newer image for docker:20.10.0 [Pipeline] unstash [Pipeline] echo 21:45:21 ========================================================= 21:45:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:45:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:45:21 + 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 . 21:45:22 ---> 37b17f283bc4 21:45:22 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:45:22 ---> Running in 2c417899b316 21:45:22 Removing intermediate container 2c417899b316 21:45:22 ---> 408b38ac6661 21:45:22 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:45:22 ---> Running in 164929bf6e0f 21:45:22 Sending build context to Docker daemon 19.21MB 21:45:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:45:22 Step 2/8 : FROM ${BASE} 21:45:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:45:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:45:23 5f621e34cdf4: Pulling fs layer 21:45:23 a4357932f1b6: Pulling fs layer 21:45:23 18c013af1878: Pulling fs layer 21:45:23 00ac8860ef70: Pulling fs layer 21:45:23 63d7cb157983: Pulling fs layer 21:45:23 b116817d02f9: Pulling fs layer 21:45:23 745a02a5169b: Pulling fs layer 21:45:23 00ac8860ef70: Waiting 21:45:23 63d7cb157983: Waiting 21:45:23 b116817d02f9: Waiting 21:45:23 745a02a5169b: Waiting 21:45:23 18c013af1878: Download complete 21:45:23 a4357932f1b6: Download complete 21:45:23 63d7cb157983: Verifying Checksum 21:45:23 63d7cb157983: Download complete 21:45:23 b116817d02f9: Verifying Checksum 21:45:23 b116817d02f9: Download complete 21:45:23 5f621e34cdf4: Verifying Checksum 21:45:23 5f621e34cdf4: Download complete 21:45:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:45:24 5f621e34cdf4: Pull complete 21:45:24 a4357932f1b6: Pull complete 21:45:25 (1/5) Installing libsodium (1.0.18-r0) 21:45:25 18c013af1878: Pull complete 21:45:25 (2/5) Installing libzmq (4.3.3-r0) 21:45:26 (3/5) Installing pkgconf (1.7.2-r0) 21:45:26 745a02a5169b: Verifying Checksum 21:45:26 745a02a5169b: Download complete 21:45:26 (4/5) Installing libsodium-dev (1.0.18-r0) 21:45:26 (5/5) Installing zeromq-dev (4.3.3-r0) 21:45:26 Executing busybox-1.31.1-r19.trigger 21:45:26 OK: 167 MiB in 44 packages 21:45:27 Removing intermediate container 164929bf6e0f 21:45:27 ---> 6b50309acc98 21:45:27 Step 6/8 : WORKDIR /build 21:45:27 ---> Running in da4983db42c7 21:45:27 00ac8860ef70: Verifying Checksum 21:45:27 00ac8860ef70: Download complete 21:45:27 Removing intermediate container da4983db42c7 21:45:27 ---> a0d72c50e93f 21:45:27 Step 7/8 : COPY go.mod . 21:45:27 ---> 5bdcc144f57d 21:45:27 Step 8/8 : RUN go mod download 21:45:27 ---> Running in b3916347d1eb 21:45:37 00ac8860ef70: Pull complete 21:45:38 63d7cb157983: Pull complete 21:45:38 b116817d02f9: Pull complete 21:45:42 745a02a5169b: Pull complete 21:45:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:45:42 ---> b7e6874047d6 21:45:42 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:45:42 20.10.0: Pulling from library/docker 21:45:42 a3cc7d3b244e: Pulling fs layer 21:45:42 02a3295e0d61: Pulling fs layer 21:45:42 0f4f2e6d8100: Pulling fs layer 21:45:42 330b718f631f: Pulling fs layer 21:45:42 a93816041522: Pulling fs layer 21:45:42 bdb6da89ff94: Pulling fs layer 21:45:42 2a70c0c122f4: Pulling fs layer 21:45:42 a93816041522: Waiting 21:45:42 bdb6da89ff94: Waiting 21:45:42 2a70c0c122f4: Waiting 21:45:42 330b718f631f: Waiting 21:45:43 02a3295e0d61: Download complete 21:45:43 a3cc7d3b244e: Verifying Checksum 21:45:43 a3cc7d3b244e: Download complete 21:45:43 0f4f2e6d8100: Verifying Checksum 21:45:43 0f4f2e6d8100: Download complete 21:45:44 a93816041522: Verifying Checksum 21:45:44 a93816041522: Download complete 21:45:44 a3cc7d3b244e: Pull complete 21:45:44 bdb6da89ff94: Download complete 21:45:44 02a3295e0d61: Pull complete 21:45:44 2a70c0c122f4: Verifying Checksum 21:45:44 2a70c0c122f4: Download complete 21:45:45 0f4f2e6d8100: Pull complete 21:45:49 330b718f631f: Verifying Checksum 21:45:49 330b718f631f: Download complete 21:45:49 Removing intermediate container b3916347d1eb 21:45:49 ---> d1ccb393be1b 21:45:49 Successfully built d1ccb393be1b 21:45:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:45:50 + docker inspect -f . ci-base-image-x86_64 21:45:50 . [Pipeline] withDockerContainer 21:45:50 prd-centos7-docker-4c-2g-26962 does not seem to be running inside a container 21:45:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** ci-base-image-x86_64 cat 21:45:51 $ docker top f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:51 + go version 21:45:51 go version go1.15.5 linux/amd64 [Pipeline] } 21:45:51 $ docker stop --time=1 f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 21:45:52 330b718f631f: Pull complete 21:45:52 a93816041522: Pull complete 21:45:53 bdb6da89ff94: Pull complete 21:45:53 $ docker rm -f f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 21:45:53 2a70c0c122f4: Pull complete 21:45:53 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:45:53 Status: Downloaded newer image for docker:20.10.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:45:53 + docker inspect -f . ci-base-image-x86_64 21:45:53 . [Pipeline] withDockerContainer 21:45:54 prd-centos7-docker-4c-2g-26962 does not seem to be running inside a container 21:45:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** ci-base-image-x86_64 cat 21:45:54 $ docker top 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:55 + make test 21:45:55 make -C ./app-service-template build 21:45:55 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:45:55 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 21:46:00 ---> c8ebe208fe5d 21:46:00 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:46:00 ---> Running in 698d1bc35feb 21:46:00 Removing intermediate container 698d1bc35feb 21:46:00 ---> 608d03f51994 21:46:00 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:46:00 ---> Running in cc6013592e80 21:46:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:46:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:46:04 (1/5) Installing libsodium (1.0.18-r0) 21:46:04 (2/5) Installing libzmq (4.3.3-r0) 21:46:04 (3/5) Installing pkgconf (1.7.2-r0) 21:46:04 (4/5) Installing libsodium-dev (1.0.18-r0) 21:46:04 (5/5) Installing zeromq-dev (4.3.3-r0) 21:46:05 Executing busybox-1.31.1-r19.trigger 21:46:05 OK: 144 MiB in 44 packages 21:46:06 Removing intermediate container cc6013592e80 21:46:06 ---> 4bc2b22ac5b9 21:46:06 Step 6/8 : WORKDIR /build 21:46:06 ---> Running in c71f07c6d609 21:46:07 Removing intermediate container c71f07c6d609 21:46:07 ---> 954609720124 21:46:07 Step 7/8 : COPY go.mod . 21:46:08 ---> ff6434923efa 21:46:08 Step 8/8 : RUN go mod download 21:46:08 ---> Running in 54dc447a1c5a 21:46:08 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:46:08 make -C ./app-service-template test 21:46:08 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:46:08 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:46:14 ? new-app-service [no test files] 21:46:14 ok new-app-service/functions 0.008s coverage: 75.8% of statements 21:46:14 CGO_ENABLED=1 go vet ./... 21:46:17 gofmt -l . 21:46:17 [ "`gofmt -l .`" = "" ] 21:46:17 ./bin/test-go-mod-tidy.sh 21:46:17 ./bin/test-attribution-txt.sh 21:46:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:46:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:46:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 21:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.032s coverage: 82.6% of statements 21:46:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.034s coverage: 50.6% of statements 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:46:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.028s coverage: 61.5% of statements 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:46:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 73.2% of statements 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:46:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.0% of statements 21:46:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:46:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.029s coverage: 8.8% of statements 21:46:34 Removing intermediate container 54dc447a1c5a 21:46:34 ---> 24a10c316cec 21:46:34 Successfully built 24a10c316cec 21:46:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:46:35 + docker inspect -f . ci-base-image-arm64 21:46:35 . [Pipeline] withDockerContainer 21:46:35 prd-ubuntu18.04-docker-arm64-4c-16g-26961 does not seem to be running inside a container 21:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** ci-base-image-arm64 cat 21:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.835s coverage: 77.5% of statements 21:46:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.035s coverage: 87.9% of statements 21:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements 21:46:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements 21:46:37 $ docker top 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:38 + go version 21:46:38 go version go1.15.5 linux/arm64 [Pipeline] } 21:46:38 $ docker stop --time=1 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 21:46:40 $ docker rm -f 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:46:41 + docker inspect -f . ci-base-image-arm64 21:46:41 . [Pipeline] withDockerContainer 21:46:41 prd-ubuntu18.04-docker-arm64-4c-16g-26961 does not seem to be running inside a container 21:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** ci-base-image-arm64 cat 21:46:43 $ docker top 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:44 + make test 21:46:44 make -C ./app-service-template build 21:46:44 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:46:44 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 21:46:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.030s coverage: 82.9% of statements 21:46:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 21:46:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:46:49 gofmt -l . 21:46:49 [ "`gofmt -l .`" = "" ] 21:46:49 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 21:46:50 $ docker stop --time=1 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 21:46:51 $ docker rm -f 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:52 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] 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] } 21:47:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:47:23 make -C ./app-service-template test 21:47:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:47:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 21:47:42 ? new-app-service [no test files] 21:47:42 ok new-app-service/functions 0.024s coverage: 75.8% of statements 21:47:42 CGO_ENABLED=1 go vet ./... 21:47:50 gofmt -l . 21:47:50 [ "`gofmt -l .`" = "" ] 21:47:50 ./bin/test-go-mod-tidy.sh 21:47:50 ./bin/test-attribution-txt.sh 21:47:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' 21:47:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 21:47:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements 21:48:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.077s coverage: 50.6% of statements 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:48:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.129s coverage: 61.5% of statements 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:48:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.107s coverage: 73.2% of statements 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:48:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements 21:48:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:48:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.053s coverage: 8.8% of statements 21:48:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.928s coverage: 77.5% of statements 21:48:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:48:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.051s coverage: 87.9% of statements 21:48:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 80.5% of statements 21:48:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.056s coverage: 71.7% of statements 21:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 82.9% of statements 21:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements 21:48:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:48:39 gofmt -l . 21:48:39 [ "`gofmt -l .`" = "" ] 21:48:40 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 21:48:40 $ docker stop --time=1 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 21:48:42 $ docker rm -f 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 [Pipeline] // withDockerContainer [Pipeline] sh 21:48:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:43 Warning: overwriting stash ‘coverage-report’ 21:48:44 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 21:48:46 provisioning config files... 21:48:46 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config674484142788842341tmp [Pipeline] { [Pipeline] sh 21:48:46 + set +x 21:48:46 + curl -s https://codecov.io/bash 21:48:46 + bash -s -- 21:48:47 21:48:47 _____ _ 21:48:47 / ____| | | 21:48:47 | | ___ __| | ___ ___ _____ __ 21:48:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:48:47 | |___| (_) | (_| | __/ (_| (_) \ V / 21:48:47 \_____\___/ \__,_|\___|\___\___/ \_/ 21:48:47 Bash-20210129-7c25fce 21:48:47 21:48:47 21:48:47 ==> git version 2.24.3 found 21:48:47 ==> 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 21:48:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:48:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:48:47 ==> Jenkins CI detected. 21:48:47 project root: . 21:48:47 --> token set from env 21:48:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:48:47 ==> Running gcov in . (disable via -X gcov) 21:48:47 ==> Python coveragepy not found 21:48:47 ==> Searching for coverage reports in: 21:48:47 + . 21:48:47 -> Found 2 reports 21:48:47 ==> Detecting git/mercurial file structure 21:48:47 ==> Reading reports 21:48:47 + ./app-service-template/coverage.out bytes=1148 21:48:47 + ./coverage.out bytes=81242 21:48:47 ==> Appending adjustments 21:48:47 https://docs.codecov.io/docs/fixing-reports 21:48:47 + Found adjustments 21:48:47 ==> Gzipping contents 21:48:47 16K /tmp/codecov.oPLR3G.gz 21:48:47 ==> Uploading reports 21:48:47 url: https://codecov.io 21:48:47 query: branch=master&commit=ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:48:47 -> Pinging Codecov 21:48:47 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:48:47 -> Uploading to 21:48:47 https://storage.googleapis.com/codecov/v4/raw/2021-02-19/3D8B5DFFC46A037C893635FACE044666/ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb/64c578a9-cb2f-43bd-98a5-24673f3bddd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210219T214847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d8e697f4949ff6077250c556c81d094955d53449f58981d4738c123beedaeef 21:48:47 % Total % Received % Xferd Average Speed Time Time Time Current 21:48:47 Dload Upload Total Spent Left Speed 21:48:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14188 0 0 100 14188 0 30437 --:--:-- --:--:-- --:--:-- 30511 21:48:48 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] } 21:48:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:48:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:48:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:48:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:48:49 21:48:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:48:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:48:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:48:49 188c0c94c7c5: Pulling fs layer 21:48:49 0ef7d3d256c8: Pulling fs layer 21:48:49 de9db76c5a1d: Pulling fs layer 21:48:49 0eba1c9be4d2: Pulling fs layer 21:48:49 0d57e429df01: Pulling fs layer 21:48:49 4e4be7b47b0d: Pulling fs layer 21:48:49 e1f770b5df2f: Pulling fs layer 21:48:49 85a0685a4137: Pulling fs layer 21:48:49 0d57e429df01: Waiting 21:48:49 4e4be7b47b0d: Waiting 21:48:49 e1f770b5df2f: Waiting 21:48:49 85a0685a4137: Waiting 21:48:49 0eba1c9be4d2: Waiting 21:48:49 de9db76c5a1d: Verifying Checksum 21:48:49 de9db76c5a1d: Download complete 21:48:49 0ef7d3d256c8: Verifying Checksum 21:48:49 0ef7d3d256c8: Download complete 21:48:49 0d57e429df01: Verifying Checksum 21:48:49 0d57e429df01: Download complete 21:48:49 4e4be7b47b0d: Verifying Checksum 21:48:49 4e4be7b47b0d: Download complete 21:48:49 188c0c94c7c5: Verifying Checksum 21:48:49 188c0c94c7c5: Download complete 21:48:50 188c0c94c7c5: Pull complete 21:48:50 0ef7d3d256c8: Pull complete 21:48:50 de9db76c5a1d: Pull complete 21:48:51 e1f770b5df2f: Verifying Checksum 21:48:51 e1f770b5df2f: Download complete 21:48:55 0eba1c9be4d2: Verifying Checksum 21:48:55 0eba1c9be4d2: Download complete 21:48:55 85a0685a4137: Verifying Checksum 21:48:55 85a0685a4137: Download complete 21:49:01 0eba1c9be4d2: Pull complete 21:49:01 0d57e429df01: Pull complete 21:49:01 4e4be7b47b0d: Pull complete 21:49:03 e1f770b5df2f: Pull complete 21:49:11 85a0685a4137: Pull complete 21:49:11 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:49:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:49:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:49:11 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:49:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:49:12 $ docker top 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 -eo pid,comm [Pipeline] { [Pipeline] echo 21:49:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:49:13 + set -o pipefail 21:49:13 + snyk monitor '--org=edgex-jenkins' 21:49:31 21:49:31 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 21:49:31 21:49:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/38a955f5-a681-4dc2-b782-a4eeb9a3db6d 21:49:31 21:49:31 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:49:31 21:49:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:49:31 21:49:31 21:49:31 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 21:49:31 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:49:31 $ docker stop --time=1 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 21:49:34 $ docker rm -f 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo 21:49:35 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:35 provisioning config files... 21:49:35 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7061047274834993933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:36 --> edgex-publish-swagger.sh 21:49:36 === Publish openapi/v2 API === 21:49:36 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:49:36 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 21:49:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:36 Dload Upload Total Spent Left Speed 21:49:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10489 0:00:01 0:00:01 --:--:-- 10491 100 13052 0 0 100 13052 0 9343 0:00:01 0:00:01 --:--:-- 9349 21:49:37 21:49:37 [Pipeline] } 21:49:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:38 + git log --format=format:%s -1 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] isUnix [Pipeline] sh 21:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:49:38 . [Pipeline] withDockerContainer 21:49:38 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:49:39 $ docker top f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:49:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:49:40 [ssh-agent] Looking for ssh-agent implementation... 21:49:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:49:40 $ docker exec f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 ssh-agent 21:49:40 SSH_AUTH_SOCK=/tmp/ssh-ubNIsNesEWXT/agent.12 21:49:40 SSH_AGENT_PID=17 21:49:40 Running ssh-add (command line suppressed) 21:49:40 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2222075527973272155.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2222075527973272155.key) 21:49:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:49:40 + git semver tag 21:49:40 # -> Open(): unable to determine branch for HEAD 21:49:40 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:49:40 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:49:40 # $SEMVER_REMOTE_NAME = origin 21:49:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:49:40 # $SEMVER_USER_NAME = edgex-jenkins 21:49:40 # $SEMVER_BRANCH = master 21:49:40 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 21:49:40 # ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb HEAD 21:49:40 # -> Force: false 21:49:40 # 4518d95194c3a19e452718d23d8dbe20e360f658 refs/tags/v2.0.0-dev.15 [Pipeline] } 21:49:40 $ docker exec --env ******** --env ******** f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 ssh-agent -k 21:49:41 unset SSH_AUTH_SOCK; 21:49:41 unset SSH_AGENT_PID; 21:49:41 echo Agent pid 17 killed; 21:49:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:49:41 + git semver [Pipeline] } 21:49:41 $ docker stop --time=1 f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 21:49:43 $ docker rm -f f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:49:43 21:49:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:49:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:49:44 0.23.1-centos7: Pulling from edgex-lftools 21:49:44 ab5ef0e58194: Pulling fs layer 21:49:44 9712f1f96733: Pulling fs layer 21:49:44 63f879dbbcfc: Pulling fs layer 21:49:44 0d9ebad4ef96: Pulling fs layer 21:49:44 e9a5061849ea: Pulling fs layer 21:49:44 d747dcd14b5f: Pulling fs layer 21:49:44 2de7ff778b66: Pulling fs layer 21:49:44 e9a5061849ea: Waiting 21:49:44 d747dcd14b5f: Waiting 21:49:44 2de7ff778b66: Waiting 21:49:44 0d9ebad4ef96: Waiting 21:49:44 9712f1f96733: Verifying Checksum 21:49:44 9712f1f96733: Download complete 21:49:45 63f879dbbcfc: Verifying Checksum 21:49:45 63f879dbbcfc: Download complete 21:49:45 e9a5061849ea: Verifying Checksum 21:49:45 e9a5061849ea: Download complete 21:49:45 d747dcd14b5f: Verifying Checksum 21:49:45 d747dcd14b5f: Download complete 21:49:46 2de7ff778b66: Verifying Checksum 21:49:46 2de7ff778b66: Download complete 21:49:46 ab5ef0e58194: Verifying Checksum 21:49:46 ab5ef0e58194: Download complete 21:49:46 0d9ebad4ef96: Verifying Checksum 21:49:46 0d9ebad4ef96: Download complete 21:49:51 ab5ef0e58194: Pull complete 21:49:51 9712f1f96733: Pull complete 21:49:53 63f879dbbcfc: Pull complete 21:50:00 0d9ebad4ef96: Pull complete 21:50:01 e9a5061849ea: Pull complete 21:50:01 d747dcd14b5f: Pull complete 21:50:04 2de7ff778b66: Pull complete 21:50:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:50:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:50:04 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:50:08 $ docker top 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:50:08 provisioning config files... 21:50:08 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config414758912335467679tmp 21:50:08 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config792585724199110130tmp 21:50:08 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3021457655628148520tmp [Pipeline] { [Pipeline] echo 21:50:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:50:08 ---> sigul-configuration.sh 21:50:08 gpg: directory `/root/.gnupg' created 21:50:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:50:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:50:08 gpg: keyring `/root/.gnupg/secring.gpg' created 21:50:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:50:08 gpg: CAST5 encrypted data 21:50:08 gpg: encrypted with 1 passphrase 21:50:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:50:09 + mkdir /home/jenkins 21:50:09 + mkdir /home/jenkins/sigul [Pipeline] sh 21:50:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:50:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:50:09 ---> sigul-install.sh 21:50:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 21:50:16 + git tag --list 21:50:16 v0.1.0 21:50:16 v0.1.1 21:50:16 v1.0.0 21:50:16 v1.1.0 21:50:16 v1.2.0 21:50:16 v1.3.0 21:50:16 v1.3.1 21:50:16 v1.3.1-dev.1 21:50:16 v1.3.2-dev.1 21:50:16 v2.0.0-dev.1 21:50:16 v2.0.0-dev.10 21:50:16 v2.0.0-dev.11 21:50:16 v2.0.0-dev.12 21:50:16 v2.0.0-dev.13 21:50:16 v2.0.0-dev.14 21:50:16 v2.0.0-dev.15 21:50:16 v2.0.0-dev.2 21:50:16 v2.0.0-dev.3 21:50:16 v2.0.0-dev.4 21:50:16 v2.0.0-dev.5 21:50:16 v2.0.0-dev.6 21:50:16 v2.0.0-dev.7 21:50:16 v2.0.0-dev.8 21:50:16 v2.0.0-dev.9 [Pipeline] sh 21:50:16 + lftools sign git-tag v2.0.0-dev.15 21:50:18 Signing Git tag with Sigul... 21:50:18 Signing v2.0.0-dev.15 [Pipeline] echo 21:50:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:50:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:50:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:50:19 $ docker stop --time=1 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 21:50:21 $ docker rm -f 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 21:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:50:23 . [Pipeline] withDockerContainer 21:50:23 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:50:23 $ docker top 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:50:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:24 [ssh-agent] Looking for ssh-agent implementation... 21:50:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:24 $ docker exec 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 ssh-agent 21:50:24 SSH_AUTH_SOCK=/tmp/ssh-Adh5QAJ2AtAf/agent.11 21:50:24 SSH_AGENT_PID=16 21:50:24 Running ssh-add (command line suppressed) 21:50:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4125711358099614462.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4125711358099614462.key) 21:50:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:25 + git semver bump pre 21:50:25 # -> Open(): unable to determine branch for HEAD 21:50:25 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:50:25 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:50:25 # $SEMVER_REMOTE_NAME = origin 21:50:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:50:25 # $SEMVER_USER_NAME = edgex-jenkins 21:50:25 # $SEMVER_BRANCH = master 21:50:25 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 21:50:25 2.0.0-dev.16 [Pipeline] } 21:50:25 $ docker exec --env ******** --env ******** 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 ssh-agent -k 21:50:25 unset SSH_AUTH_SOCK; 21:50:25 unset SSH_AGENT_PID; 21:50:25 echo Agent pid 16 killed; 21:50:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:50:26 + git semver [Pipeline] } 21:50:26 $ docker stop --time=1 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 21:50:27 $ docker rm -f 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:50:28 . [Pipeline] withDockerContainer 21:50:28 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:50:29 $ docker top 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:29 [ssh-agent] Looking for ssh-agent implementation... 21:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:29 $ docker exec 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 ssh-agent 21:50:29 SSH_AUTH_SOCK=/tmp/ssh-Qi7PGF3Tiw2a/agent.12 21:50:29 SSH_AGENT_PID=17 21:50:29 Running ssh-add (command line suppressed) 21:50:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8989547659565526684.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8989547659565526684.key) 21:50:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:30 + git semver push 21:50:30 # -> Open(): unable to determine branch for HEAD 21:50:30 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:50:30 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:50:30 # $SEMVER_REMOTE_NAME = origin 21:50:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:50:30 # $SEMVER_USER_NAME = edgex-jenkins 21:50:30 # $SEMVER_BRANCH = master 21:50:30 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 21:50:35 $ docker exec --env ******** --env ******** 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 ssh-agent -k 21:50:35 unset SSH_AUTH_SOCK; 21:50:35 unset SSH_AGENT_PID; 21:50:35 echo Agent pid 17 killed; 21:50:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:50:36 + git semver [Pipeline] } 21:50:36 $ docker stop --time=1 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 21:50:37 $ docker rm -f 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 21:50:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:50:39 ---> package-listing.sh 21:50:39 ++ facter osfamily 21:50:39 ++ tr '[:upper:]' '[:lower:]' 21:50:39 + OS_FAMILY=redhat 21:50:39 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 21:50:39 + START_PACKAGES=/tmp/packages_start.txt 21:50:39 + END_PACKAGES=/tmp/packages_end.txt 21:50:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:50:39 + PACKAGES=/tmp/packages_start.txt 21:50:39 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 21:50:39 + PACKAGES=/tmp/packages_end.txt 21:50:39 + case "${OS_FAMILY}" in 21:50:39 + rpm -qa 21:50:39 + sort 21:50:45 + '[' -f /tmp/packages_start.txt ']' 21:50:45 + '[' -f /tmp/packages_end.txt ']' 21:50:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:50:45 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 21:50:45 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 21:50:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo 21:50:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:50:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:50:45 21:50:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:50:46 alpine: Pulling from edgex-lftools-log-publisher 21:50:46 df20fa9351a1: Pulling fs layer 21:50:46 36b3adc4ff6f: Pulling fs layer 21:50:46 8ad3a11d3b57: Pulling fs layer 21:50:46 46f8f816bc3b: Pulling fs layer 21:50:46 93b61091891f: Pulling fs layer 21:50:46 93b9cdb0e59b: Pulling fs layer 21:50:46 5e14af77c1be: Pulling fs layer 21:50:46 01666e4c0597: Pulling fs layer 21:50:46 aa168da1d23b: Pulling fs layer 21:50:46 93b61091891f: Waiting 21:50:46 01666e4c0597: Waiting 21:50:46 aa168da1d23b: Waiting 21:50:46 93b9cdb0e59b: Waiting 21:50:46 5e14af77c1be: Waiting 21:50:46 46f8f816bc3b: Waiting 21:50:46 36b3adc4ff6f: Download complete 21:50:46 46f8f816bc3b: Verifying Checksum 21:50:46 46f8f816bc3b: Download complete 21:50:46 df20fa9351a1: Verifying Checksum 21:50:46 df20fa9351a1: Download complete 21:50:46 93b9cdb0e59b: Verifying Checksum 21:50:46 93b9cdb0e59b: Download complete 21:50:46 5e14af77c1be: Verifying Checksum 21:50:46 5e14af77c1be: Download complete 21:50:46 93b61091891f: Verifying Checksum 21:50:46 93b61091891f: Download complete 21:50:46 01666e4c0597: Download complete 21:50:46 df20fa9351a1: Pull complete 21:50:46 36b3adc4ff6f: Pull complete 21:50:46 8ad3a11d3b57: Download complete 21:50:48 8ad3a11d3b57: Pull complete 21:50:48 aa168da1d23b: Verifying Checksum 21:50:48 aa168da1d23b: Download complete 21:50:49 46f8f816bc3b: Pull complete 21:50:49 93b61091891f: Pull complete 21:50:49 93b9cdb0e59b: Pull complete 21:50:49 5e14af77c1be: Pull complete 21:50:49 01666e4c0597: Pull complete 21:50:59 aa168da1d23b: Pull complete 21:50:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:50:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:50:59 prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container 21:50:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:51:01 $ docker top 23c67e1bea1ab2cdf75a5511a5fd5f34f1fb254de3dfd72ff9d151e9af1a155d -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:02 + touch /tmp/pre-build-complete [Pipeline] sh 21:51:02 + mkdir -p /var/log/sa [Pipeline] sh 21:51:02 + ls /var/log/sa-host 21:51:02 + sadf -c /var/log/sa-host/sa19 21:51:02 file_magic: OK 21:51:02 HZ: Using current value: 100 21:51:02 file_header: OK 21:51:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:51:02 Statistics: 21:51:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:51:02 File successfully converted to sysstat format version 12.2.1 21:51:02 + sadf -c /var/log/sa-host/sa23 21:51:02 file_magic: OK 21:51:02 HZ: Using current value: 100 21:51:02 file_header: OK 21:51:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:51:02 Statistics: 21:51:02 Hnuu...uuuununununu... 21:51:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:03 provisioning config files... 21:51:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7106046912714587282tmp [Pipeline] { [Pipeline] echo 21:51:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:51:03 ---> create-netrc.sh [Pipeline] } 21:51:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:51:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:51:03 ---> python-tools-install.sh [Pipeline] echo 21:51:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:51:04 ---> sudo-logs.sh 21:51:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:51:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:51:04 ---> job-cost.sh 21:51:04 lf-activate-venv: SKIPPING 21:51:04 INFO: No Stack... 21:51:06 INFO: Retrieving Pricing Info for: v1-standard-2 21:51:06 INFO: Archiving Costs [Pipeline] echo 21:51:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:51:06 ---> logs-deploy.sh 21:51:06 lf-activate-venv: SKIPPING 21:51:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/182 21:51:06 INFO: archiving workspace using pattern(s): 21:51:08 Archives upload complete. 21:51:08 INFO: archiving logs to Nexus