Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4075ac3009cb92cd9075a5419a7194c83a419bba 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27693 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 4075ac3009cb92cd9075a5419a7194c83a419bba (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 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" > git rev-list --no-walk db11a9be6c8646c0b785f5875b2d439dd0a6ea71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:59:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:59:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:59:30 ========================================================= 17:59:30 EdgeX Global Pipelines Version Info 17:59:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:59:34 ------------------- 17:59:34 stable info: 17:59:34 ------------------- 17:59:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:59:34 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 17:59:34 Message: update stable to v1.0.181 17:59:36 ------------------- 17:59:36 experimental info: 17:59:36 ------------------- 17:59:36 Commited By: **** collab-it+edgex@linuxfoundation.org 17:59:36 Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 17:59:36 Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:59:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:59:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:59:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:59:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:59:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:59:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4075ac3 [Pipeline] echo 17:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:40 + git log --format=format:%s -1 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] echo 17:59:41 GIT_COMMIT: 4075ac3009cb92cd9075a5419a7194c83a419bba, Commit Message: refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714) [Pipeline] echo 17:59:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:59:45 17:59:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:59:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:59:47 latest: Pulling from edgex-devops/git-semver 17:59:47 31603596830f: Pulling fs layer 17:59:47 2a8b12db71e7: Pulling fs layer 17:59:47 6ca5941a6612: Pulling fs layer 17:59:47 ecc8261a40a4: Pulling fs layer 17:59:47 ecc8261a40a4: Waiting 17:59:47 2a8b12db71e7: Download complete 17:59:47 31603596830f: Verifying Checksum 17:59:47 31603596830f: Download complete 17:59:49 31603596830f: Pull complete 17:59:49 2a8b12db71e7: Pull complete 17:59:49 ecc8261a40a4: Verifying Checksum 17:59:49 ecc8261a40a4: Download complete 17:59:51 6ca5941a6612: Verifying Checksum 17:59:51 6ca5941a6612: Download complete 17:59:54 6ca5941a6612: Pull complete 17:59:54 ecc8261a40a4: Pull complete 17:59:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:59:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:59:55 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 17:59:55 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:00:02 $ docker top c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:00:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:02 [ssh-agent] Looking for ssh-agent implementation... 18:00:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:03 $ docker exec c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent 18:00:04 SSH_AUTH_SOCK=/tmp/ssh-U2Pw6sHRSLyH/agent.11 18:00:04 SSH_AGENT_PID=16 18:00:04 Running ssh-add (command line suppressed) 18:00:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7367465921659958135.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7367465921659958135.key) 18:00:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:05 + git tag --points-at HEAD [Pipeline] } 18:00:05 $ docker exec --env ******** --env ******** c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent -k 18:00:06 unset SSH_AUTH_SOCK; 18:00:06 unset SSH_AGENT_PID; 18:00:06 echo Agent pid 16 killed; 18:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:00:06 [ssh-agent] Looking for ssh-agent implementation... 18:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:00:07 $ docker exec c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent 18:00:07 SSH_AUTH_SOCK=/tmp/ssh-5TRq1Q3WmizL/agent.44 18:00:07 SSH_AGENT_PID=49 18:00:07 Running ssh-add (command line suppressed) 18:00:08 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6525753425887071977.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6525753425887071977.key) 18:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:00:09 + git semver init 18:00:09 # -> Open(): unable to determine branch for HEAD 18:00:09 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 18:00:09 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 18:00:09 # $SEMVER_REMOTE_NAME = origin 18:00:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:00:09 # $SEMVER_USER_NAME = edgex-jenkins 18:00:09 # $SEMVER_BRANCH = master 18:00:09 # $SEMVER_TEMP = /tmp/semver-879828239 18:00:09 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:00:15 # '/tmp/semver-879828239' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 18:00:15 # -> Force: false 18:00:15 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 18:00:16 $ docker exec --env ******** --env ******** c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent -k 18:00:17 unset SSH_AUTH_SOCK; 18:00:17 unset SSH_AGENT_PID; 18:00:17 echo Agent pid 49 killed; 18:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:00:19 + git semver [Pipeline] } 18:00:19 $ docker stop --time=1 c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 18:00:21 $ docker rm -f c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 [Pipeline] // withDockerContainer [Pipeline] sh 18:00:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:00:23 Stashed 1 file(s) [Pipeline] echo 18:00:23 [edgeXSemver]: initialized semver on version 2.0.0-dev.20 [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 18:00:39 Still waiting to schedule task 18:00:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:00:39 Still waiting to schedule task 18:00:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:03:56 Running on prd-centos7-docker-4c-2g-27694 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 18:03:56 Running in /w/workspace/app-functions-sdk-go/187 [Pipeline] { [Pipeline] checkout 18:03:58 using credential edgex-jenkins-ssh 18:03:58 Cloning the remote Git repository 18:03:58 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:03:58 > git init /w/workspace/app-functions-sdk-go/187 # timeout=10 18:03:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:03:58 > git --version # timeout=10 18:03:58 > git --version # 'git version 2.24.3' 18:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:04:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:04:00 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:04:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:04:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:04:00 Checking out Revision 4075ac3009cb92cd9075a5419a7194c83a419bba (master) 18:04:00 > git config core.sparsecheckout # timeout=10 18:04:00 > git checkout -f 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 18:04:04 Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:04:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:04:06 + sudo service docker restart 18:04:06 + true 18:04:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 18:04:07 ========================================================= 18:04:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:04:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:04:08 + 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 . 18:04:08 Sending build context to Docker daemon 19.24MB 18:04:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:04:08 Step 2/8 : FROM ${BASE} 18:04:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:04:08 188c0c94c7c5: Pulling fs layer 18:04:08 0ef7d3d256c8: Pulling fs layer 18:04:08 de9db76c5a1d: Pulling fs layer 18:04:08 bca2f99d35d6: Pulling fs layer 18:04:08 93359f2a8cfa: Pulling fs layer 18:04:08 7c6f9722023f: Pulling fs layer 18:04:08 a35cf1a2eb13: Pulling fs layer 18:04:08 bca2f99d35d6: Waiting 18:04:08 93359f2a8cfa: Waiting 18:04:08 7c6f9722023f: Waiting 18:04:08 a35cf1a2eb13: Waiting 18:04:08 de9db76c5a1d: Download complete 18:04:08 0ef7d3d256c8: Verifying Checksum 18:04:08 0ef7d3d256c8: Download complete 18:04:08 93359f2a8cfa: Download complete 18:04:08 7c6f9722023f: Download complete 18:04:08 188c0c94c7c5: Verifying Checksum 18:04:08 188c0c94c7c5: Download complete 18:04:09 188c0c94c7c5: Pull complete 18:04:09 0ef7d3d256c8: Pull complete 18:04:09 de9db76c5a1d: Pull complete 18:04:11 a35cf1a2eb13: Verifying Checksum 18:04:11 a35cf1a2eb13: Download complete 18:04:11 bca2f99d35d6: Verifying Checksum 18:04:11 bca2f99d35d6: Download complete 18:04:17 bca2f99d35d6: Pull complete 18:04:17 93359f2a8cfa: Pull complete 18:04:17 7c6f9722023f: Pull complete 18:04:21 a35cf1a2eb13: Pull complete 18:04:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:04:21 ---> a62c8e92a672 18:04:21 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:04:21 20.10.0: Pulling from library/docker 18:04:21 05e7bc50f07f: Pulling fs layer 18:04:21 6db28d0fdbf6: Pulling fs layer 18:04:21 292df0bc6bf3: Pulling fs layer 18:04:21 2e060f4bd70b: Pulling fs layer 18:04:21 80e8d568a223: Pulling fs layer 18:04:21 8dc6ef1a942a: Pulling fs layer 18:04:21 2312dd95470a: Pulling fs layer 18:04:21 80e8d568a223: Waiting 18:04:21 8dc6ef1a942a: Waiting 18:04:21 2312dd95470a: Waiting 18:04:21 2e060f4bd70b: Waiting 18:04:21 292df0bc6bf3: Verifying Checksum 18:04:21 292df0bc6bf3: Download complete 18:04:21 6db28d0fdbf6: Verifying Checksum 18:04:21 6db28d0fdbf6: Download complete 18:04:21 80e8d568a223: Verifying Checksum 18:04:21 80e8d568a223: Download complete 18:04:21 8dc6ef1a942a: Verifying Checksum 18:04:21 8dc6ef1a942a: Download complete 18:04:21 05e7bc50f07f: Verifying Checksum 18:04:21 05e7bc50f07f: Download complete 18:04:21 05e7bc50f07f: Pull complete 18:04:21 6db28d0fdbf6: Pull complete 18:04:21 292df0bc6bf3: Pull complete 18:04:22 2e060f4bd70b: Verifying Checksum 18:04:22 2e060f4bd70b: Download complete 18:04:24 2e060f4bd70b: Pull complete 18:04:25 80e8d568a223: Pull complete 18:04:25 8dc6ef1a942a: Pull complete 18:04:25 2312dd95470a: Pull complete 18:04:25 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:04:25 Status: Downloaded newer image for docker:20.10.0 18:04:26 ---> 5f88a823ac6b 18:04:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:04:26 ---> Running in 3e56fd399ad1 18:04:27 Removing intermediate container 3e56fd399ad1 18:04:27 ---> 66ec999853d5 18:04:27 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:04:27 ---> Running in eb7a48f7c142 18:04:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:04:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:04:29 (1/5) Installing libsodium (1.0.18-r0) 18:04:29 (2/5) Installing libzmq (4.3.3-r0) 18:04:29 (3/5) Installing pkgconf (1.7.2-r0) 18:04:29 (4/5) Installing libsodium-dev (1.0.18-r0) 18:04:29 (5/5) Installing zeromq-dev (4.3.3-r0) 18:04:29 Executing busybox-1.31.1-r19.trigger 18:04:29 OK: 167 MiB in 44 packages 18:04:30 Removing intermediate container eb7a48f7c142 18:04:30 ---> cc832faf002e 18:04:30 Step 6/8 : WORKDIR /build 18:04:30 ---> Running in 47d420a2caca 18:04:30 Removing intermediate container 47d420a2caca 18:04:30 ---> 5f3f9cafeda7 18:04:30 Step 7/8 : COPY go.mod . 18:04:30 ---> e6b47f8d3a7f 18:04:30 Step 8/8 : RUN go mod download 18:04:30 ---> Running in 497d1ccb2f42 18:04:52 Removing intermediate container 497d1ccb2f42 18:04:52 ---> 2f322067e13d 18:04:52 Successfully built 2f322067e13d 18:04:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:04:53 + docker inspect -f . ci-base-image-x86_64 18:04:53 . [Pipeline] withDockerContainer 18:04:53 prd-centos7-docker-4c-2g-27694 does not seem to be running inside a container 18:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-x86_64 cat 18:04:54 $ docker top 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:54 + go version 18:04:54 go version go1.15.5 linux/amd64 [Pipeline] } 18:04:54 $ docker stop --time=1 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 18:04:56 $ docker rm -f 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:04:56 + docker inspect -f . ci-base-image-x86_64 18:04:56 . [Pipeline] withDockerContainer 18:04:57 prd-centos7-docker-4c-2g-27694 does not seem to be running inside a container 18:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-x86_64 cat 18:04:57 $ docker top 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:58 + make test 18:04:58 make -C ./app-service-template build 18:04:58 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:04:58 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 18:05:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27695 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 18:05:05 Running in /w/workspace/app-functions-sdk-go/187 [Pipeline] { [Pipeline] checkout 18:05:10 using credential edgex-jenkins-ssh 18:05:10 Cloning the remote Git repository 18:05:10 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:05:10 make -C ./app-service-template test 18:05:10 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:05:10 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:05:10 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:05:10 > git init /w/workspace/app-functions-sdk-go/187 # timeout=10 18:05:10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:05:10 > git --version # timeout=10 18:05:10 > git --version # 'git version 2.17.1' 18:05:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:05:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:05:13 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:05:13 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:05:14 Checking out Revision 4075ac3009cb92cd9075a5419a7194c83a419bba (master) 18:05:14 > git config core.sparsecheckout # timeout=10 18:05:14 > git checkout -f 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 18:05:17 ? new-app-service [no test files] 18:05:17 ok new-app-service/functions 0.009s coverage: 75.8% of statements 18:05:17 CGO_ENABLED=1 go vet ./... 18:05:19 Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:05:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:05:21 + + sudo service dockertrue restart 18:05:21 18:05:22 gofmt -l . 18:05:22 [ "`gofmt -l .`" = "" ] 18:05:22 ./bin/test-go-mod-tidy.sh 18:05:22 ./bin/test-attribution-txt.sh 18:05:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:05:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:05:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 18:05:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements [Pipeline] unstash [Pipeline] echo 18:05:24 ========================================================= 18:05:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:05:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:05:24 + 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 . 18:05:25 Sending build context to Docker daemon 19.24MB 18:05:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:05:25 Step 2/8 : FROM ${BASE} 18:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.021s coverage: 57.4% of statements 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.090s coverage: 61.5% of statements 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 75.6% of statements 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.0% of statements 18:05:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:05:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.016s coverage: 8.8% of statements 18:05:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:05:26 5f621e34cdf4: Pulling fs layer 18:05:26 a4357932f1b6: Pulling fs layer 18:05:26 18c013af1878: Pulling fs layer 18:05:26 00ac8860ef70: Pulling fs layer 18:05:26 63d7cb157983: Pulling fs layer 18:05:26 b116817d02f9: Pulling fs layer 18:05:26 745a02a5169b: Pulling fs layer 18:05:26 63d7cb157983: Waiting 18:05:26 745a02a5169b: Waiting 18:05:26 b116817d02f9: Waiting 18:05:26 00ac8860ef70: Waiting 18:05:26 18c013af1878: Verifying Checksum 18:05:26 18c013af1878: Download complete 18:05:26 a4357932f1b6: Verifying Checksum 18:05:26 a4357932f1b6: Download complete 18:05:26 63d7cb157983: Download complete 18:05:26 b116817d02f9: Download complete 18:05:26 5f621e34cdf4: Verifying Checksum 18:05:26 5f621e34cdf4: Download complete 18:05:27 5f621e34cdf4: Pull complete 18:05:27 a4357932f1b6: Pull complete 18:05:28 18c013af1878: Pull complete 18:05:28 745a02a5169b: Verifying Checksum 18:05:28 745a02a5169b: Download complete 18:05:30 00ac8860ef70: Verifying Checksum 18:05:30 00ac8860ef70: Download complete 18:05:40 00ac8860ef70: Pull complete 18:05:40 63d7cb157983: Pull complete 18:05:40 b116817d02f9: Pull complete 18:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.844s coverage: 77.5% of statements 18:05:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.015s coverage: 87.9% of statements 18:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements 18:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 71.7% of statements 18:05:44 745a02a5169b: Pull complete 18:05:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:05:44 ---> b7e6874047d6 18:05:44 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:05:44 20.10.0: Pulling from library/docker 18:05:44 a3cc7d3b244e: Pulling fs layer 18:05:44 02a3295e0d61: Pulling fs layer 18:05:44 0f4f2e6d8100: Pulling fs layer 18:05:44 330b718f631f: Pulling fs layer 18:05:44 a93816041522: Pulling fs layer 18:05:44 bdb6da89ff94: Pulling fs layer 18:05:44 2a70c0c122f4: Pulling fs layer 18:05:44 a93816041522: Waiting 18:05:44 330b718f631f: Waiting 18:05:44 bdb6da89ff94: Waiting 18:05:44 2a70c0c122f4: Waiting 18:05:44 0f4f2e6d8100: Verifying Checksum 18:05:44 0f4f2e6d8100: Download complete 18:05:44 a3cc7d3b244e: Verifying Checksum 18:05:44 a3cc7d3b244e: Download complete 18:05:44 a93816041522: Verifying Checksum 18:05:44 a93816041522: Download complete 18:05:44 bdb6da89ff94: Verifying Checksum 18:05:44 bdb6da89ff94: Download complete 18:05:44 2a70c0c122f4: Verifying Checksum 18:05:44 2a70c0c122f4: Download complete 18:05:45 a3cc7d3b244e: Pull complete 18:05:45 02a3295e0d61: Pull complete 18:05:46 0f4f2e6d8100: Pull complete 18:05:46 330b718f631f: Download complete 18:05:50 330b718f631f: Pull complete 18:05:50 a93816041522: Pull complete 18:05:50 bdb6da89ff94: Pull complete 18:05:51 2a70c0c122f4: Pull complete 18:05:51 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:05:51 Status: Downloaded newer image for docker:20.10.0 18:05:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.039s coverage: 82.8% of statements 18:05:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 18:05:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:05:54 gofmt -l . 18:05:54 [ "`gofmt -l .`" = "" ] 18:05:54 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:05:54 $ docker stop --time=1 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 18:05:56 $ docker rm -f 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:57 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] } 18:05:57 ---> f031b6c2993f 18:05:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:05:57 ---> Running in e40f411b75e9 18:05:57 Removing intermediate container e40f411b75e9 18:05:57 ---> 9d8c1885162f 18:05:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [Pipeline] // stage Post stage 18:05:58 ---> Running in 892db18befaf [Pipeline] libraryResource [Pipeline] sh 18:05:58 ---> job-cost.sh 18:05:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-shws 18:05:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:06:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:06:00 (1/5) Installing libsodium (1.0.18-r0) 18:06:01 (2/5) Installing libzmq (4.3.3-r0) 18:06:01 (3/5) Installing pkgconf (1.7.2-r0) 18:06:01 (4/5) Installing libsodium-dev (1.0.18-r0) 18:06:01 (5/5) Installing zeromq-dev (4.3.3-r0) 18:06:01 Executing busybox-1.31.1-r19.trigger 18:06:01 OK: 144 MiB in 44 packages 18:06:02 Removing intermediate container 892db18befaf 18:06:02 ---> 3a04f5da4c44 18:06:02 Step 6/8 : WORKDIR /build 18:06:02 ---> Running in 7af6db37db1b 18:06:03 Removing intermediate container 7af6db37db1b 18:06:03 ---> 179bf32528be 18:06:03 Step 7/8 : COPY go.mod . 18:06:03 ---> f4ddcbcca214 18:06:03 Step 8/8 : RUN go mod download 18:06:04 ---> Running in f061e9f6b64f 18:06:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:06:31 Removing intermediate container f061e9f6b64f 18:06:31 ---> 9e0aaea4fd47 18:06:31 Successfully built 9e0aaea4fd47 18:06:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:06:31 + docker inspect -f . ci-base-image-arm64 18:06:31 . [Pipeline] withDockerContainer 18:06:31 prd-ubuntu18.04-docker-arm64-4c-16g-27695 does not seem to be running inside a container 18:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-arm64 cat 18:06:33 $ docker top 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:34 + go version 18:06:34 go version go1.15.5 linux/arm64 [Pipeline] } 18:06:34 $ docker stop --time=1 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c 18:06:36 $ docker rm -f 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:36 + docker inspect -f . ci-base-image-arm64 18:06:36 . [Pipeline] withDockerContainer 18:06:37 prd-ubuntu18.04-docker-arm64-4c-16g-27695 does not seem to be running inside a container 18:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-arm64 cat 18:06:38 $ docker top 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:39 + make test 18:06:39 make -C ./app-service-template build 18:06:39 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:06:39 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 18:06:45 lf-activate-venv(): INFO: Adding /tmp/venv-shws/bin to PATH 18:06:45 INFO: No Stack... 18:06:45 INFO: Retrieving Pricing Info for: v1-standard-2 18:06:45 INFO: Archiving Costs [Pipeline] sh 18:06:45 + cat /w/workspace/app-functions-sdk-go/187/archives/cost.csv 18:06:45 + cut -d, -f6 [Pipeline] lock 18:06:45 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] 18:06:45 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] did not exist. Created. 18:06:45 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:06:46 + echo total: 0.029999999329447746 [Pipeline] stash 18:06:46 Stashed 1 file(s) [Pipeline] } 18:06:46 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:12 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:07:12 make -C ./app-service-template test 18:07:12 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:07:12 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:07:30 ? new-app-service [no test files] 18:07:31 ok new-app-service/functions 0.024s coverage: 75.8% of statements 18:07:32 CGO_ENABLED=1 go vet ./... 18:07:42 gofmt -l . 18:07:42 [ "`gofmt -l .`" = "" ] 18:07:42 ./bin/test-go-mod-tidy.sh 18:07:42 ./bin/test-attribution-txt.sh 18:07:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' 18:07:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:07:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 18:07:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.035s coverage: 82.6% of statements 18:07:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.077s coverage: 57.4% of statements 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:07:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.117s coverage: 61.5% of statements 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:07:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.069s coverage: 75.6% of statements 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:07:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements 18:07:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:07:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 8.8% of statements 18:08:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.892s coverage: 77.5% of statements 18:08:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:08:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.045s coverage: 87.9% of statements 18:08:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 80.5% of statements 18:08:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.036s coverage: 71.7% of statements 18:08:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.080s coverage: 82.8% of statements 18:08:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 18:08:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:08:28 gofmt -l . 18:08:28 [ "`gofmt -l .`" = "" ] 18:08:28 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:08:29 $ docker stop --time=1 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 18:08:31 $ docker rm -f 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 [Pipeline] // withDockerContainer [Pipeline] sh 18:08:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:08:32 Warning: overwriting stash ‘coverage-report’ 18:08:33 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 Post stage [Pipeline] libraryResource [Pipeline] sh 18:08:34 ---> job-cost.sh 18:08:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JIM2 18:09:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:11:19 lf-activate-venv(): INFO: Adding /tmp/venv-JIM2/bin to PATH 18:11:19 INFO: No Stack... 18:11:19 INFO: Retrieving Pricing Info for: lf-standard-4 18:11:19 INFO: Archiving Costs [Pipeline] sh 18:11:20 + cat /w/workspace/app-functions-sdk-go/187/archives/cost.csv 18:11:20 + cut -d, -f6 [Pipeline] lock 18:11:20 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] 18:11:20 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] did not exist. Created. 18:11:20 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:20 /w/workspace/app-functions-sdk-go/187@tmp/durable-9857a986/script.sh: 1: /w/workspace/app-functions-sdk-go/187@tmp/durable-9857a986/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:11:21 + echo total: 0.20999999344348907 [Pipeline] stash 18:11:21 Warning: overwriting stash ‘stack-cost’ 18:11:21 Stashed 1 file(s) [Pipeline] } 18:11:21 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] // lock [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 18:11:22 provisioning config files... 18:11:22 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config352172880380692308tmp [Pipeline] { [Pipeline] sh 18:11:23 + set +x 18:11:23 + bash -s -- 18:11:23 + curl -s https://codecov.io/bash 18:11:23 18:11:23 _____ _ 18:11:23 / ____| | | 18:11:23 | | ___ __| | ___ ___ _____ __ 18:11:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:11:23 | |___| (_) | (_| | __/ (_| (_) \ V / 18:11:23 \_____\___/ \__,_|\___|\___\___/ \_/ 18:11:23 Bash-20210129-7c25fce 18:11:23 18:11:23 18:11:23 ==> git version 2.24.3 found 18:11:24 ==> 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 18:11:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:11:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:11:24 ==> Jenkins CI detected. 18:11:24 project root: . 18:11:24 --> token set from env 18:11:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:11:25 ==> Running gcov in . (disable via -X gcov) 18:11:25 ==> Python coveragepy not found 18:11:25 ==> Searching for coverage reports in: 18:11:25 + . 18:11:25 -> Found 2 reports 18:11:25 ==> Detecting git/mercurial file structure 18:11:25 ==> Reading reports 18:11:25 + ./app-service-template/coverage.out bytes=1148 18:11:25 + ./coverage.out bytes=83688 18:11:25 ==> Appending adjustments 18:11:25 https://docs.codecov.io/docs/fixing-reports 18:11:28 + Found adjustments 18:11:28 ==> Gzipping contents 18:11:28 16K /tmp/codecov.y9Rags.gz 18:11:28 ==> Uploading reports 18:11:28 url: https://codecov.io 18:11:28 query: branch=master&commit=4075ac3009cb92cd9075a5419a7194c83a419bba&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F187%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:11:28 -> Pinging Codecov 18:11:28 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=4075ac3009cb92cd9075a5419a7194c83a419bba&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F187%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:11:28 -> Uploading to 18:11:28 https://storage.googleapis.com/codecov/v4/raw/2021-02-25/3D8B5DFFC46A037C893635FACE044666/4075ac3009cb92cd9075a5419a7194c83a419bba/901d8383-2c08-4cc0-bfa7-7d94d7c647e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210225%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210225T181128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3bc2554448475193e5b5592b3fec0674b031641358375db78966b350ee5ee45 18:11:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:11:28 Dload Upload Total Spent Left Speed 18:11:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14565 0 0 100 14565 0 25607 --:--:-- --:--:-- --:--:-- 25597 18:11:28 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] } 18:11:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:11:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:11:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:30 18:11:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:11:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:11:31 188c0c94c7c5: Pulling fs layer 18:11:31 0ef7d3d256c8: Pulling fs layer 18:11:31 de9db76c5a1d: Pulling fs layer 18:11:31 0eba1c9be4d2: Pulling fs layer 18:11:31 0d57e429df01: Pulling fs layer 18:11:31 4e4be7b47b0d: Pulling fs layer 18:11:31 e1f770b5df2f: Pulling fs layer 18:11:31 85a0685a4137: Pulling fs layer 18:11:31 0eba1c9be4d2: Waiting 18:11:31 0d57e429df01: Waiting 18:11:31 4e4be7b47b0d: Waiting 18:11:31 e1f770b5df2f: Waiting 18:11:31 85a0685a4137: Waiting 18:11:31 de9db76c5a1d: Verifying Checksum 18:11:31 de9db76c5a1d: Download complete 18:11:31 0ef7d3d256c8: Verifying Checksum 18:11:31 0ef7d3d256c8: Download complete 18:11:32 0d57e429df01: Verifying Checksum 18:11:32 0d57e429df01: Download complete 18:11:32 4e4be7b47b0d: Verifying Checksum 18:11:32 4e4be7b47b0d: Download complete 18:11:32 188c0c94c7c5: Verifying Checksum 18:11:32 188c0c94c7c5: Download complete 18:11:33 188c0c94c7c5: Pull complete 18:11:34 0ef7d3d256c8: Pull complete 18:11:34 de9db76c5a1d: Pull complete 18:11:40 e1f770b5df2f: Verifying Checksum 18:11:40 e1f770b5df2f: Download complete 18:11:57 85a0685a4137: Verifying Checksum 18:11:57 85a0685a4137: Download complete 18:11:57 0eba1c9be4d2: Verifying Checksum 18:11:57 0eba1c9be4d2: Download complete 18:12:26 0eba1c9be4d2: Pull complete 18:12:26 0d57e429df01: Pull complete 18:12:26 4e4be7b47b0d: Pull complete 18:12:29 e1f770b5df2f: Pull complete 18:12:48 85a0685a4137: Pull complete 18:12:48 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:12:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:12:48 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:12:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:12:51 $ docker top 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd -eo pid,comm [Pipeline] { [Pipeline] echo 18:12:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:12:54 + set -o pipefail 18:12:54 + snyk monitor '--org=edgex-jenkins' 18:13:17 18:13:17 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 18:13:17 18:13:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/df961faf-5a23-4f92-a252-0f7fa57f37f8 18:13:17 18:13:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:13:17 18:13:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:13:17 18:13:17 18:13:17 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 18:13:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:13:17 $ docker stop --time=1 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd 18:13:22 $ docker rm -f 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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 18:13:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:24 provisioning config files... 18:13:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2824368153551257595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:25 --> edgex-publish-swagger.sh 18:13:25 === Publish openapi/v2 API === 18:13:25 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 18:13:25 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 18:13:26 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:26 Dload Upload Total Spent Left Speed 18:13:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10080 0:00:01 0:00:01 --:--:-- 10094 100 13052 0 0 100 13052 0 10076 0:00:01 0:00:01 --:--:-- 10094 18:13:28 18:13:28 [Pipeline] } 18:13:28 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 18:13:31 + git log --format=format:%s -1 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] isUnix [Pipeline] sh 18:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:13:32 . [Pipeline] withDockerContainer 18:13:34 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:13:34 $ 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 18:13:36 $ docker top 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:36 [ssh-agent] Looking for ssh-agent implementation... 18:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:37 $ docker exec 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 ssh-agent 18:13:37 SSH_AUTH_SOCK=/tmp/ssh-iQmt7NM3E3rp/agent.11 18:13:37 SSH_AGENT_PID=16 18:13:37 Running ssh-add (command line suppressed) 18:13:39 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4025900298583066604.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4025900298583066604.key) 18:13:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:41 + git semver tag 18:13:41 # -> Open(): unable to determine branch for HEAD 18:13:41 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 18:13:41 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 18:13:41 # $SEMVER_REMOTE_NAME = origin 18:13:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:13:41 # $SEMVER_USER_NAME = edgex-jenkins 18:13:41 # $SEMVER_BRANCH = master 18:13:41 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 18:13:41 # 4075ac3009cb92cd9075a5419a7194c83a419bba HEAD 18:13:41 # -> Force: false 18:13:41 # 6fda9e001d75e3f3e332c37fd0561b81d4c40012 refs/tags/v2.0.0-dev.20 [Pipeline] } 18:13:41 $ docker exec --env ******** --env ******** 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 ssh-agent -k 18:13:41 unset SSH_AUTH_SOCK; 18:13:41 unset SSH_AGENT_PID; 18:13:41 echo Agent pid 16 killed; 18:13:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:13:43 + git semver [Pipeline] } 18:13:43 $ docker stop --time=1 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 18:13:45 $ docker rm -f 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:13:47 18:13:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:13:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:13:49 0.23.1-centos7: Pulling from edgex-lftools 18:13:49 ab5ef0e58194: Pulling fs layer 18:13:49 9712f1f96733: Pulling fs layer 18:13:49 63f879dbbcfc: Pulling fs layer 18:13:49 0d9ebad4ef96: Pulling fs layer 18:13:49 e9a5061849ea: Pulling fs layer 18:13:49 d747dcd14b5f: Pulling fs layer 18:13:49 2de7ff778b66: Pulling fs layer 18:13:49 e9a5061849ea: Waiting 18:13:49 d747dcd14b5f: Waiting 18:13:49 2de7ff778b66: Waiting 18:13:49 0d9ebad4ef96: Waiting 18:13:49 9712f1f96733: Verifying Checksum 18:13:49 9712f1f96733: Download complete 18:13:59 63f879dbbcfc: Verifying Checksum 18:13:59 63f879dbbcfc: Download complete 18:14:00 e9a5061849ea: Verifying Checksum 18:14:00 e9a5061849ea: Download complete 18:14:00 d747dcd14b5f: Verifying Checksum 18:14:00 d747dcd14b5f: Download complete 18:14:03 2de7ff778b66: Verifying Checksum 18:14:03 2de7ff778b66: Download complete 18:14:03 0d9ebad4ef96: Verifying Checksum 18:14:03 0d9ebad4ef96: Download complete 18:14:03 ab5ef0e58194: Verifying Checksum 18:14:03 ab5ef0e58194: Download complete 18:14:22 ab5ef0e58194: Pull complete 18:14:22 9712f1f96733: Pull complete 18:14:26 63f879dbbcfc: Pull complete 18:14:46 0d9ebad4ef96: Pull complete 18:14:47 e9a5061849ea: Pull complete 18:14:47 d747dcd14b5f: Pull complete 18:14:53 2de7ff778b66: Pull complete 18:14:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:14:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:14:54 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:14:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:15:00 $ docker top 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:15:01 provisioning config files... 18:15:01 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config577442827458957687tmp 18:15:02 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4329148115323127605tmp 18:15:02 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1281777205991872253tmp [Pipeline] { [Pipeline] echo 18:15:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:15:04 ---> sigul-configuration.sh 18:15:04 gpg: directory `/root/.gnupg' created 18:15:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:15:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:15:04 gpg: keyring `/root/.gnupg/secring.gpg' created 18:15:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:15:04 gpg: CAST5 encrypted data 18:15:04 gpg: encrypted with 1 passphrase 18:15:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:15:08 + mkdir /home/jenkins 18:15:08 + mkdir /home/jenkins/sigul [Pipeline] sh 18:15:11 + 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 18:15:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:15:13 ---> sigul-install.sh 18:15:29 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:15:31 + git tag --list 18:15:31 v0.1.0 18:15:31 v0.1.1 18:15:31 v1.0.0 18:15:31 v1.1.0 18:15:31 v1.2.0 18:15:31 v1.3.0 18:15:31 v1.3.1 18:15:31 v1.3.1-dev.1 18:15:31 v1.3.2-dev.1 18:15:31 v2.0.0-dev.1 18:15:31 v2.0.0-dev.10 18:15:31 v2.0.0-dev.11 18:15:31 v2.0.0-dev.12 18:15:31 v2.0.0-dev.13 18:15:31 v2.0.0-dev.14 18:15:31 v2.0.0-dev.15 18:15:31 v2.0.0-dev.16 18:15:31 v2.0.0-dev.17 18:15:31 v2.0.0-dev.18 18:15:31 v2.0.0-dev.19 18:15:31 v2.0.0-dev.2 18:15:31 v2.0.0-dev.20 18:15:31 v2.0.0-dev.3 18:15:31 v2.0.0-dev.4 18:15:31 v2.0.0-dev.5 18:15:31 v2.0.0-dev.6 18:15:31 v2.0.0-dev.7 18:15:31 v2.0.0-dev.8 18:15:31 v2.0.0-dev.9 [Pipeline] sh 18:15:32 + lftools sign git-tag v2.0.0-dev.20 18:15:35 Signing Git tag with Sigul... 18:15:35 Signing v2.0.0-dev.20 [Pipeline] echo 18:15:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:15:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:15:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:15:37 $ docker stop --time=1 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b 18:15:41 $ docker rm -f 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:42 . [Pipeline] withDockerContainer 18:15:42 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:15:43 $ 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 18:15:45 $ docker top 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:15:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:46 [ssh-agent] Looking for ssh-agent implementation... 18:15:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:47 $ docker exec 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa ssh-agent 18:15:48 SSH_AUTH_SOCK=/tmp/ssh-BI3teLIZtzCm/agent.11 18:15:48 SSH_AGENT_PID=17 18:15:48 Running ssh-add (command line suppressed) 18:15:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5507960310631122569.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5507960310631122569.key) 18:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:50 + git semver bump pre 18:15:50 # -> Open(): unable to determine branch for HEAD 18:15:50 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 18:15:50 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 18:15:50 # $SEMVER_REMOTE_NAME = origin 18:15:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:15:50 # $SEMVER_USER_NAME = edgex-jenkins 18:15:50 # $SEMVER_BRANCH = master 18:15:50 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 18:15:51 2.0.0-dev.21 [Pipeline] } 18:15:51 $ docker exec --env ******** --env ******** 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa ssh-agent -k 18:15:52 unset SSH_AUTH_SOCK; 18:15:52 unset SSH_AGENT_PID; 18:15:52 echo Agent pid 17 killed; 18:15:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:15:53 + git semver [Pipeline] } 18:15:53 $ docker stop --time=1 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa 18:15:56 $ docker rm -f 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:57 . [Pipeline] withDockerContainer 18:15:58 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:15:59 $ 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 18:16:03 $ docker top d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:16:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:03 [ssh-agent] Looking for ssh-agent implementation... 18:16:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:04 $ docker exec d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 ssh-agent 18:16:05 SSH_AUTH_SOCK=/tmp/ssh-xcFY1jvpxtkK/agent.11 18:16:05 SSH_AGENT_PID=16 18:16:05 Running ssh-add (command line suppressed) 18:16:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2896596108138565033.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2896596108138565033.key) 18:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:07 + git semver push 18:16:07 # -> Open(): unable to determine branch for HEAD 18:16:07 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 18:16:07 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 18:16:07 # $SEMVER_REMOTE_NAME = origin 18:16:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:16:07 # $SEMVER_USER_NAME = edgex-jenkins 18:16:07 # $SEMVER_BRANCH = master 18:16:07 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 18:16:16 $ docker exec --env ******** --env ******** d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 ssh-agent -k 18:16:17 unset SSH_AUTH_SOCK; 18:16:17 unset SSH_AGENT_PID; 18:16:17 echo Agent pid 16 killed; 18:16:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:16:19 + git semver [Pipeline] } 18:16:19 $ docker stop --time=1 d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 18:16:21 $ docker rm -f d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 [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 18:16:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:25 ---> package-listing.sh 18:16:25 ++ facter osfamily 18:16:25 ++ tr '[:upper:]' '[:lower:]' 18:16:25 + OS_FAMILY=redhat 18:16:25 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 18:16:25 + START_PACKAGES=/tmp/packages_start.txt 18:16:25 + END_PACKAGES=/tmp/packages_end.txt 18:16:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:25 + PACKAGES=/tmp/packages_start.txt 18:16:25 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 18:16:25 + PACKAGES=/tmp/packages_end.txt 18:16:25 + case "${OS_FAMILY}" in 18:16:25 + rpm -qa 18:16:25 + sort 18:16:38 + '[' -f /tmp/packages_start.txt ']' 18:16:38 + '[' -f /tmp/packages_end.txt ']' 18:16:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:38 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 18:16:38 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 18:16:38 + 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 18:16:38 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 18:16:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:16:40 18:16:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:16:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:16:41 alpine: Pulling from edgex-lftools-log-publisher 18:16:41 df20fa9351a1: Pulling fs layer 18:16:41 36b3adc4ff6f: Pulling fs layer 18:16:41 8ad3a11d3b57: Pulling fs layer 18:16:41 46f8f816bc3b: Pulling fs layer 18:16:41 93b61091891f: Pulling fs layer 18:16:41 93b9cdb0e59b: Pulling fs layer 18:16:41 5e14af77c1be: Pulling fs layer 18:16:41 01666e4c0597: Pulling fs layer 18:16:41 aa168da1d23b: Pulling fs layer 18:16:41 46f8f816bc3b: Waiting 18:16:41 93b61091891f: Waiting 18:16:41 93b9cdb0e59b: Waiting 18:16:41 5e14af77c1be: Waiting 18:16:41 01666e4c0597: Waiting 18:16:41 aa168da1d23b: Waiting 18:16:41 36b3adc4ff6f: Download complete 18:16:41 46f8f816bc3b: Verifying Checksum 18:16:41 46f8f816bc3b: Download complete 18:16:42 df20fa9351a1: Download complete 18:16:42 93b61091891f: Verifying Checksum 18:16:42 93b61091891f: Download complete 18:16:42 93b9cdb0e59b: Verifying Checksum 18:16:42 93b9cdb0e59b: Download complete 18:16:42 5e14af77c1be: Verifying Checksum 18:16:42 5e14af77c1be: Download complete 18:16:42 01666e4c0597: Verifying Checksum 18:16:42 01666e4c0597: Download complete 18:16:43 8ad3a11d3b57: Verifying Checksum 18:16:43 8ad3a11d3b57: Download complete 18:16:44 df20fa9351a1: Pull complete 18:16:47 36b3adc4ff6f: Pull complete 18:16:47 8ad3a11d3b57: Pull complete 18:16:47 46f8f816bc3b: Pull complete 18:16:50 93b61091891f: Pull complete 18:16:50 93b9cdb0e59b: Pull complete 18:16:50 5e14af77c1be: Pull complete 18:16:50 01666e4c0597: Pull complete 18:16:56 aa168da1d23b: Verifying Checksum 18:16:56 aa168da1d23b: Download complete 18:17:24 aa168da1d23b: Pull complete 18:17:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:17:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:17:25 prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container 18:17:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:17:27 $ docker top 96b0b26e73d2bbd241a30c56ed48a79cf85976689b2227b1b7824d94091243a2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:29 + touch /tmp/pre-build-complete [Pipeline] sh 18:17:30 + mkdir -p /var/log/sa [Pipeline] sh 18:17:32 + ls /var/log/sa-host 18:17:32 + sadf -c /var/log/sa-host/sa23 18:17:32 file_magic: OK 18:17:32 HZ: Using current value: 100 18:17:32 file_header: OK 18:17:32 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 18:17:32 Statistics: 18:17:32 Hnuu...uuuununununu... 18:17:32 File successfully converted to sysstat format version 12.2.1 18:17:32 + sadf -c /var/log/sa-host/sa25 18:17:32 file_magic: OK 18:17:32 HZ: Using current value: 100 18:17:32 file_header: OK 18:17:32 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 18:17:32 Statistics: 18:17:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:17:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:32 provisioning config files... 18:17:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5307716512134583438tmp [Pipeline] { [Pipeline] echo 18:17:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:17:34 ---> create-netrc.sh [Pipeline] } 18:17:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:17:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:17:37 ---> python-tools-install.sh [Pipeline] echo 18:17:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:17:38 ---> sudo-logs.sh 18:17:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:17:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:17:38 ---> job-cost.sh 18:17:39 lf-activate-venv: SKIPPING 18:17:39 DEBUG: total: 0.20999999344348907 18:17:39 INFO: Retrieving Stack Cost... 18:17:39 INFO: Retrieving Pricing Info for: v1-standard-2 18:17:41 INFO: Archiving Costs [Pipeline] echo 18:17:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:17:43 ---> logs-deploy.sh 18:17:43 lf-activate-venv: SKIPPING 18:17:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/187 18:17:43 INFO: archiving workspace using pattern(s): 18:17:46 Archives upload complete. 18:17:47 INFO: archiving logs to Nexus