Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-7524 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a (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 --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 d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a # timeout=10 Commit message: "fix: http trigger response can set content-type (#551)" > git rev-list --no-walk 10e68ac7c91ef0a5c8c99ad9d778819a8d46231e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:11:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:11:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:11:59 ========================================================= 17:11:59 EdgeX Global Pipelines Version Info 17:11:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:12:01 ------------------- 17:12:01 stable info: 17:12:01 ------------------- 17:12:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:12:01 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 17:12:01 Message: update stable to v1.0.144 17:12:02 ------------------- 17:12:02 experimental info: 17:12:02 ------------------- 17:12:02 Commited By: **** collab-it+edgex@linuxfoundation.org 17:12:02 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 17:12:02 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:12:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:12:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:12:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:12:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:12:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a [Pipeline] echo 17:12:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7502e4 [Pipeline] echo 17:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:06 + git log --format=format:%s -1 d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a [Pipeline] echo 17:12:07 GIT_COMMIT: d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a, Commit Message: fix: http trigger response can set content-type (#551) [Pipeline] echo 17:12:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:12:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:12:08 17:12:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:12:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:12:08 latest: Pulling from edgex-devops/git-semver 17:12:08 31603596830f: Pulling fs layer 17:12:08 2a8b12db71e7: Pulling fs layer 17:12:08 6ca5941a6612: Pulling fs layer 17:12:08 ecc8261a40a4: Pulling fs layer 17:12:08 ecc8261a40a4: Waiting 17:12:08 2a8b12db71e7: Verifying Checksum 17:12:08 2a8b12db71e7: Download complete 17:12:08 31603596830f: Verifying Checksum 17:12:08 31603596830f: Download complete 17:12:08 ecc8261a40a4: Verifying Checksum 17:12:08 ecc8261a40a4: Download complete 17:12:08 6ca5941a6612: Verifying Checksum 17:12:08 6ca5941a6612: Download complete 17:12:09 31603596830f: Pull complete 17:12:09 2a8b12db71e7: Pull complete 17:12:10 6ca5941a6612: Pull complete 17:12:10 ecc8261a40a4: Pull complete 17:12:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:12:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:12:10 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:12:10 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:12:13 $ docker top 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:12:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:13 [ssh-agent] Looking for ssh-agent implementation... 17:12:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:13 $ docker exec 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 ssh-agent 17:12:13 SSH_AUTH_SOCK=/tmp/ssh-79ITv0EUqndY/agent.12 17:12:13 SSH_AGENT_PID=17 17:12:13 Running ssh-add (command line suppressed) 17:12:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3011035046947992527.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3011035046947992527.key) 17:12:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:14 + git tag --points-at HEAD [Pipeline] } 17:12:14 $ docker exec --env ******** --env ******** 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 ssh-agent -k 17:12:14 unset SSH_AUTH_SOCK; 17:12:14 unset SSH_AGENT_PID; 17:12:14 echo Agent pid 17 killed; 17:12:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:12:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:14 [ssh-agent] Looking for ssh-agent implementation... 17:12:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:15 $ docker exec 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 ssh-agent 17:12:15 SSH_AUTH_SOCK=/tmp/ssh-f6We8wJbETce/agent.46 17:12:15 SSH_AGENT_PID=51 17:12:15 Running ssh-add (command line suppressed) 17:12:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4248449671905353706.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4248449671905353706.key) 17:12:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:15 + git semver init 17:12:15 # -> Open(): unable to determine branch for HEAD 17:12:15 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:12:15 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:12:15 # $SEMVER_REMOTE_NAME = origin 17:12:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:12:15 # $SEMVER_USER_NAME = edgex-jenkins 17:12:15 # $SEMVER_BRANCH = master 17:12:15 # $SEMVER_TEMP = /tmp/semver-672743781 17:12:15 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:12:18 # '/tmp/semver-672743781' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 17:12:18 # -> Force: false 17:12:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 17:12:18 $ docker exec --env ******** --env ******** 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 ssh-agent -k 17:12:18 unset SSH_AUTH_SOCK; 17:12:18 unset SSH_AGENT_PID; 17:12:18 echo Agent pid 51 killed; 17:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:12:19 + git semver [Pipeline] } 17:12:19 $ docker stop --time=1 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 17:12:20 $ docker rm -f 187d5f056b863f370a63bd80f5b43b5cc63d65725fee144bd2ef59d847e67a71 [Pipeline] // withDockerContainer [Pipeline] sh 17:12:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:12:21 Stashed 1 file(s) [Pipeline] echo 17:12:21 [edgeXSemver]: initialized semver on version 1.2.1-dev.48 [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 17:12:37 Still waiting to schedule task 17:12:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:12:37 Still waiting to schedule task 17:12:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:14:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7525 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 17:14:34 Running in /w/workspace/app-functions-sdk-go/136 [Pipeline] { [Pipeline] checkout 17:14:39 using credential edgex-jenkins-ssh 17:14:39 Cloning the remote Git repository 17:14:39 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:39 > git init /w/workspace/app-functions-sdk-go/136 # timeout=10 17:14:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:39 > git --version # timeout=10 17:14:39 > git --version # 'git version 2.17.1' 17:14:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:43 Checking out Revision d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a (master) 17:14:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:14:43 > git config core.sparsecheckout # timeout=10 17:14:43 > git checkout -f d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a # timeout=10 17:14:47 Commit message: "fix: http trigger response can set content-type (#551)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:14:49 ========================================================= 17:14:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:14:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:14:50 + 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 . 17:14:51 Sending build context to Docker daemon 19.14MB 17:14:51 Step 1/8 : ARG BASE=golang:1.15-alpine 17:14:51 Step 2/8 : FROM ${BASE} 17:14:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:14:51 b538f80385f9: Pulling fs layer 17:14:51 74f711af9a0d: Pulling fs layer 17:14:51 99f96fe45779: Pulling fs layer 17:14:51 8529a6b9a6be: Pulling fs layer 17:14:51 45590311c82a: Pulling fs layer 17:14:51 69ca0ff8b7b3: Pulling fs layer 17:14:51 209524e5b208: Pulling fs layer 17:14:51 45590311c82a: Waiting 17:14:51 69ca0ff8b7b3: Waiting 17:14:51 209524e5b208: Waiting 17:14:51 8529a6b9a6be: Waiting 17:14:51 99f96fe45779: Verifying Checksum 17:14:51 99f96fe45779: Download complete 17:14:51 74f711af9a0d: Download complete 17:14:51 45590311c82a: Download complete 17:14:51 69ca0ff8b7b3: Verifying Checksum 17:14:51 69ca0ff8b7b3: Download complete 17:14:52 b538f80385f9: Verifying Checksum 17:14:52 b538f80385f9: Download complete 17:14:53 b538f80385f9: Pull complete 17:14:54 74f711af9a0d: Pull complete 17:14:54 99f96fe45779: Pull complete 17:14:54 209524e5b208: Verifying Checksum 17:14:54 209524e5b208: Download complete 17:14:56 8529a6b9a6be: Verifying Checksum 17:14:56 8529a6b9a6be: Download complete 17:15:06 8529a6b9a6be: Pull complete 17:15:06 45590311c82a: Pull complete 17:15:06 69ca0ff8b7b3: Pull complete 17:15:11 209524e5b208: Pull complete 17:15:11 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:15:11 ---> 5bddaf1c2fca 17:15:11 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:15:11 latest: Pulling from library/docker 17:15:11 b538f80385f9: Already exists 17:15:11 259a493cd78d: Pulling fs layer 17:15:11 b8e66b5100f5: Pulling fs layer 17:15:11 203964748c9f: Pulling fs layer 17:15:11 d6fc4445224b: Pulling fs layer 17:15:11 5ea39d09386c: Pulling fs layer 17:15:11 78a785fe32a7: Pulling fs layer 17:15:11 d6fc4445224b: Waiting 17:15:11 5ea39d09386c: Waiting 17:15:11 78a785fe32a7: Waiting 17:15:11 b8e66b5100f5: Verifying Checksum 17:15:11 b8e66b5100f5: Download complete 17:15:11 259a493cd78d: Download complete 17:15:11 d6fc4445224b: Verifying Checksum 17:15:11 d6fc4445224b: Download complete 17:15:11 5ea39d09386c: Download complete 17:15:11 78a785fe32a7: Verifying Checksum 17:15:11 78a785fe32a7: Download complete 17:15:12 259a493cd78d: Pull complete 17:15:12 b8e66b5100f5: Pull complete 17:15:12 203964748c9f: Verifying Checksum 17:15:12 203964748c9f: Download complete 17:15:16 203964748c9f: Pull complete 17:15:16 d6fc4445224b: Pull complete 17:15:16 5ea39d09386c: Pull complete 17:15:16 78a785fe32a7: Pull complete 17:15:16 Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 17:15:16 Status: Downloaded newer image for docker:latest 17:15:23 ---> 0c878eee5830 17:15:23 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:15:23 ---> Running in d989458c5011 17:15:23 Removing intermediate container d989458c5011 17:15:23 ---> fc147bf86791 17:15:23 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:15:23 ---> Running in 0c364ce3bf9b 17:15:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:15:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:15:26 (1/5) Installing libsodium (1.0.18-r0) 17:15:26 (2/5) Installing libzmq (4.3.3-r0) 17:15:26 (3/5) Installing pkgconf (1.7.2-r0) 17:15:26 (4/5) Installing libsodium-dev (1.0.18-r0) 17:15:26 (5/5) Installing zeromq-dev (4.3.3-r0) 17:15:27 Executing busybox-1.31.1-r16.trigger 17:15:27 OK: 144 MiB in 44 packages 17:15:28 Removing intermediate container 0c364ce3bf9b 17:15:28 ---> e950b71d9f90 17:15:28 Step 6/8 : WORKDIR /build 17:15:28 ---> Running in 9ed936a5c7a0 17:15:28 Removing intermediate container 9ed936a5c7a0 17:15:28 ---> 9f032323f9f5 17:15:28 Step 7/8 : COPY go.mod . 17:15:29 ---> 63da65a027c5 17:15:29 Step 8/8 : RUN go mod download 17:15:29 ---> Running in e3cc92295f24 17:15:32 Running on prd-centos7-docker-4c-2g-7526 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 17:15:32 Running in /w/workspace/app-functions-sdk-go/136 [Pipeline] { [Pipeline] checkout 17:15:41 using credential edgex-jenkins-ssh 17:15:41 Cloning the remote Git repository 17:15:41 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:41 > git init /w/workspace/app-functions-sdk-go/136 # timeout=10 17:15:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:41 > git --version # timeout=10 17:15:41 > git --version # 'git version 2.16.5' 17:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:47 Checking out Revision d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a (master) 17:15:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:15:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:15:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:15:47 > git config core.sparsecheckout # timeout=10 17:15:47 > git checkout -f d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a # timeout=10 17:15:52 Commit message: "fix: http trigger response can set content-type (#551)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:15:53 ========================================================= 17:15:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:15:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:15:55 + 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 . 17:15:56 Sending build context to Docker daemon 19.14MB 17:15:56 Step 1/8 : ARG BASE=golang:1.15-alpine 17:15:56 Step 2/8 : FROM ${BASE} 17:15:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:15:56 df20fa9351a1: Pulling fs layer 17:15:56 ed8968b2872e: Pulling fs layer 17:15:56 a92cc7c5fd73: Pulling fs layer 17:15:56 e871e8e8d7a9: Pulling fs layer 17:15:56 e73272ec9a57: Pulling fs layer 17:15:56 1e910a182e73: Pulling fs layer 17:15:56 4e634b169226: Pulling fs layer 17:15:56 e871e8e8d7a9: Waiting 17:15:56 e73272ec9a57: Waiting 17:15:56 1e910a182e73: Waiting 17:15:56 4e634b169226: Waiting 17:15:56 a92cc7c5fd73: Verifying Checksum 17:15:56 a92cc7c5fd73: Download complete 17:15:56 ed8968b2872e: Download complete 17:15:56 e73272ec9a57: Verifying Checksum 17:15:56 e73272ec9a57: Download complete 17:15:56 1e910a182e73: Verifying Checksum 17:15:56 1e910a182e73: Download complete 17:15:56 df20fa9351a1: Verifying Checksum 17:15:56 df20fa9351a1: Download complete 17:15:57 df20fa9351a1: Pull complete 17:15:57 ed8968b2872e: Pull complete 17:15:57 a92cc7c5fd73: Pull complete 17:16:02 Removing intermediate container e3cc92295f24 17:16:02 ---> 66bbe064d07c 17:16:02 Successfully built 66bbe064d07c 17:16:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:16:02 + docker inspect -f . ci-base-image-arm64 17:16:02 . [Pipeline] withDockerContainer 17:16:02 prd-ubuntu18.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 17:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/136 -v /w/workspace/app-functions-sdk-go/136:/w/workspace/app-functions-sdk-go/136:rw,z -v /w/workspace/app-functions-sdk-go/136@tmp:/w/workspace/app-functions-sdk-go/136@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-arm64 cat 17:16:04 $ docker top 4b89addfcdfa41c68dc6ee25628f5ab032561079f639d47a6d0fb4927a2dff6f -eo pid,comm 17:16:05 4e634b169226: Verifying Checksum 17:16:05 4e634b169226: Download complete [Pipeline] { [Pipeline] sh 17:16:06 + go version 17:16:06 go version go1.15.2 linux/arm64 [Pipeline] } 17:16:06 $ docker stop --time=1 4b89addfcdfa41c68dc6ee25628f5ab032561079f639d47a6d0fb4927a2dff6f 17:16:07 e871e8e8d7a9: Verifying Checksum 17:16:07 e871e8e8d7a9: Download complete 17:16:08 $ docker rm -f 4b89addfcdfa41c68dc6ee25628f5ab032561079f639d47a6d0fb4927a2dff6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [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] } 17:16:21 e871e8e8d7a9: Pull complete 17:16:21 e73272ec9a57: Pull complete 17:16:21 1e910a182e73: Pull complete 17:16:26 4e634b169226: Pull complete 17:16:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:16:26 ---> f7629b54cfaa 17:16:26 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:16:27 latest: Pulling from library/docker 17:16:27 df20fa9351a1: Already exists 17:16:27 25ad7478873d: Pulling fs layer 17:16:27 4684f6177b5d: Pulling fs layer 17:16:27 206f78d23536: Pulling fs layer 17:16:27 cee0542293f3: Pulling fs layer 17:16:27 d951dd9fd09f: Pulling fs layer 17:16:27 dce9c88c04bd: Pulling fs layer 17:16:27 cee0542293f3: Waiting 17:16:27 d951dd9fd09f: Waiting 17:16:27 dce9c88c04bd: Waiting 17:16:27 4684f6177b5d: Verifying Checksum 17:16:27 4684f6177b5d: Download complete 17:16:27 25ad7478873d: Verifying Checksum 17:16:27 25ad7478873d: Download complete 17:16:27 cee0542293f3: Verifying Checksum 17:16:27 cee0542293f3: Download complete 17:16:27 d951dd9fd09f: Verifying Checksum 17:16:27 d951dd9fd09f: Download complete 17:16:28 dce9c88c04bd: Verifying Checksum 17:16:28 dce9c88c04bd: Download complete 17:16:28 25ad7478873d: Pull complete 17:16:28 4684f6177b5d: Pull complete 17:16:30 206f78d23536: Verifying Checksum 17:16:30 206f78d23536: Download complete 17:16:36 206f78d23536: Pull complete 17:16:36 cee0542293f3: Pull complete 17:16:36 d951dd9fd09f: Pull complete 17:16:36 dce9c88c04bd: Pull complete 17:16:36 Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 17:16:36 Status: Downloaded newer image for docker:latest 17:16:39 ---> 63b8800a78ac 17:16:39 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:16:39 ---> Running in feaee7a39b7a 17:16:39 Removing intermediate container feaee7a39b7a 17:16:39 ---> 51aab1c2e7cc 17:16:39 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:16:39 ---> Running in ea734d9dee91 17:16:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:16:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:16:42 (1/5) Installing libsodium (1.0.18-r0) 17:16:42 (2/5) Installing libzmq (4.3.3-r0) 17:16:42 (3/5) Installing pkgconf (1.7.2-r0) 17:16:42 (4/5) Installing libsodium-dev (1.0.18-r0) 17:16:42 (5/5) Installing zeromq-dev (4.3.3-r0) 17:16:42 Executing busybox-1.31.1-r16.trigger 17:16:42 OK: 167 MiB in 44 packages 17:16:44 Removing intermediate container ea734d9dee91 17:16:44 ---> 4f0beec3fe31 17:16:44 Step 6/8 : WORKDIR /build 17:16:44 ---> Running in 220eadb4ea7a 17:16:44 Removing intermediate container 220eadb4ea7a 17:16:44 ---> ea690e081309 17:16:44 Step 7/8 : COPY go.mod . 17:16:45 ---> dd301ee19f84 17:16:45 Step 8/8 : RUN go mod download 17:16:45 ---> Running in 699f0355b022 17:17:17 Removing intermediate container 699f0355b022 17:17:17 ---> 8e1c2de85353 17:17:17 Successfully built 8e1c2de85353 17:17:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:17:18 + docker inspect -f . ci-base-image-x86_64 17:17:18 . [Pipeline] withDockerContainer 17:17:18 prd-centos7-docker-4c-2g-7526 does not seem to be running inside a container 17:17:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/136 -v /w/workspace/app-functions-sdk-go/136:/w/workspace/app-functions-sdk-go/136:rw,z -v /w/workspace/app-functions-sdk-go/136@tmp:/w/workspace/app-functions-sdk-go/136@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 ******** ci-base-image-x86_64 cat 17:17:20 $ docker top 58ba8f0d9e258c87643dbf85bb33ade2c9e122d14b0e44baae4ff1cadfe46502 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:21 + go version 17:17:21 go version go1.15.2 linux/amd64 [Pipeline] } 17:17:21 $ docker stop --time=1 58ba8f0d9e258c87643dbf85bb33ade2c9e122d14b0e44baae4ff1cadfe46502 17:17:22 $ docker rm -f 58ba8f0d9e258c87643dbf85bb33ade2c9e122d14b0e44baae4ff1cadfe46502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 17:17:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 17:17:26 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 17:17:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:17:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:17:26 17:17:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 17:17:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:17:27 1.317.0: Pulling from edgex-devops/edgex-snyk-go 17:17:27 cbdbe7a5bc2a: Pulling fs layer 17:17:27 408f87550127: Pulling fs layer 17:17:27 fe522b08c979: Pulling fs layer 17:17:27 221eaa008020: Pulling fs layer 17:17:27 2a4607e5d6b9: Pulling fs layer 17:17:27 8f79b27c4fd2: Pulling fs layer 17:17:27 e5c8dbe1645b: Pulling fs layer 17:17:27 23e8b3b47431: Pulling fs layer 17:17:27 5c568d65a230: Pulling fs layer 17:17:27 8f79b27c4fd2: Waiting 17:17:27 e5c8dbe1645b: Waiting 17:17:27 221eaa008020: Waiting 17:17:27 2a4607e5d6b9: Waiting 17:17:27 fe522b08c979: Verifying Checksum 17:17:27 fe522b08c979: Download complete 17:17:27 408f87550127: Verifying Checksum 17:17:27 408f87550127: Download complete 17:17:27 2a4607e5d6b9: Verifying Checksum 17:17:27 2a4607e5d6b9: Download complete 17:17:27 8f79b27c4fd2: Verifying Checksum 17:17:27 8f79b27c4fd2: Download complete 17:17:27 cbdbe7a5bc2a: Verifying Checksum 17:17:27 cbdbe7a5bc2a: Download complete 17:17:27 cbdbe7a5bc2a: Pull complete 17:17:27 408f87550127: Pull complete 17:17:27 fe522b08c979: Pull complete 17:17:28 e5c8dbe1645b: Verifying Checksum 17:17:28 e5c8dbe1645b: Download complete 17:17:29 5c568d65a230: Verifying Checksum 17:17:29 5c568d65a230: Download complete 17:17:29 23e8b3b47431: Verifying Checksum 17:17:29 23e8b3b47431: Download complete 17:17:30 221eaa008020: Download complete 17:17:37 221eaa008020: Pull complete 17:17:37 2a4607e5d6b9: Pull complete 17:17:37 8f79b27c4fd2: Pull complete 17:17:38 e5c8dbe1645b: Pull complete 17:17:42 23e8b3b47431: Pull complete 17:17:44 5c568d65a230: Pull complete 17:17:44 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 17:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 17:17:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 17:17:44 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:17:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/ndry_app-functions-sdk-go_master:/ws -w /ws --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 17:17:45 $ docker top 480a35f0a8db9b060437ca841c6ba94b9056dca0c9dbafb160a9f963fde13388 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:46 + snyk monitor '--org=edgex-jenkins' 17:17:54 17:17:54 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go)... 17:17:54 17:17:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/67cbeef7-a104-448f-b1ed-770f154b6c18 17:17:54 17:17:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:17:54 17:17:54 17:17:54 Snyk CLI supports Node.js 8 and higher. 17:17:54 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 17:17:54 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 17:17:54 17:17:54 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 17:17:54 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. 17:17:54 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 17:17:54 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:17:54 $ docker stop --time=1 480a35f0a8db9b060437ca841c6ba94b9056dca0c9dbafb160a9f963fde13388 17:18:00 $ docker rm -f 480a35f0a8db9b060437ca841c6ba94b9056dca0c9dbafb160a9f963fde13388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 17:18:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:02 provisioning config files... 17:18:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2789127166564114594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:02 --> edgex-publish-swagger.sh 17:18:02 === Publish openapi/v2 API === 17:18:02 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:18:02 [publishToSwagger] Publishing API Name [app-functions-sdk] 17:18:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:02 Dload Upload Total Spent Left Speed 17:18:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13025 0 0 100 13025 0 10618 0:00:01 0:00:01 --:--:-- 10632 100 13025 0 0 100 13025 0 10616 0:00:01 0:00:01 --:--:-- 10632 17:18:04 17:18:04 [Pipeline] } 17:18:04 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 17:18:05 + git log --format=format:%s -1 d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a [Pipeline] isUnix [Pipeline] sh 17:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:18:05 . [Pipeline] withDockerContainer 17:18:05 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:18:05 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:18:06 $ docker top 37a9b02bc78ebb5bf6aca91641b0f7cda54ce0f996ac129629deabcff07c3a6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:06 [ssh-agent] Looking for ssh-agent implementation... 17:18:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:06 $ docker exec 37a9b02bc78ebb5bf6aca91641b0f7cda54ce0f996ac129629deabcff07c3a6e ssh-agent 17:18:07 SSH_AUTH_SOCK=/tmp/ssh-geRGPOQV4yqj/agent.12 17:18:07 SSH_AGENT_PID=17 17:18:07 Running ssh-add (command line suppressed) 17:18:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1211328244926631175.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1211328244926631175.key) 17:18:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:07 + git semver tag 17:18:07 # -> Open(): unable to determine branch for HEAD 17:18:07 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:18:07 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:18:07 # $SEMVER_REMOTE_NAME = origin 17:18:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:18:07 # $SEMVER_USER_NAME = edgex-jenkins 17:18:07 # $SEMVER_BRANCH = master 17:18:07 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 17:18:07 # d7502e4a4c464622ceb4bf99fdbbcc4855e2f57a HEAD 17:18:07 # -> Force: false 17:18:07 # 123e216cce4101e8fc9a646912f95e4cd0266ea5 refs/tags/v1.2.1-dev.48 [Pipeline] } 17:18:07 $ docker exec --env ******** --env ******** 37a9b02bc78ebb5bf6aca91641b0f7cda54ce0f996ac129629deabcff07c3a6e ssh-agent -k 17:18:07 unset SSH_AUTH_SOCK; 17:18:07 unset SSH_AGENT_PID; 17:18:07 echo Agent pid 17 killed; 17:18:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:08 + git semver [Pipeline] } 17:18:08 $ docker stop --time=1 37a9b02bc78ebb5bf6aca91641b0f7cda54ce0f996ac129629deabcff07c3a6e 17:18:09 $ docker rm -f 37a9b02bc78ebb5bf6aca91641b0f7cda54ce0f996ac129629deabcff07c3a6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:18:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:18:10 17:18:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:18:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:18:10 0.23.1-centos7: Pulling from edgex-lftools 17:18:10 ab5ef0e58194: Pulling fs layer 17:18:10 9712f1f96733: Pulling fs layer 17:18:10 63f879dbbcfc: Pulling fs layer 17:18:10 0d9ebad4ef96: Pulling fs layer 17:18:10 e9a5061849ea: Pulling fs layer 17:18:10 d747dcd14b5f: Pulling fs layer 17:18:10 2de7ff778b66: Pulling fs layer 17:18:10 e9a5061849ea: Waiting 17:18:10 2de7ff778b66: Waiting 17:18:10 d747dcd14b5f: Waiting 17:18:10 0d9ebad4ef96: Waiting 17:18:10 9712f1f96733: Verifying Checksum 17:18:10 9712f1f96733: Download complete 17:18:12 63f879dbbcfc: Verifying Checksum 17:18:12 63f879dbbcfc: Download complete 17:18:13 e9a5061849ea: Verifying Checksum 17:18:13 e9a5061849ea: Download complete 17:18:13 d747dcd14b5f: Verifying Checksum 17:18:13 d747dcd14b5f: Download complete 17:18:13 2de7ff778b66: Verifying Checksum 17:18:13 2de7ff778b66: Download complete 17:18:13 0d9ebad4ef96: Verifying Checksum 17:18:13 0d9ebad4ef96: Download complete 17:18:13 ab5ef0e58194: Verifying Checksum 17:18:13 ab5ef0e58194: Download complete 17:18:18 ab5ef0e58194: Pull complete 17:18:18 9712f1f96733: Pull complete 17:18:21 63f879dbbcfc: Pull complete 17:18:28 0d9ebad4ef96: Pull complete 17:18:29 e9a5061849ea: Pull complete 17:18:29 d747dcd14b5f: Pull complete 17:18:32 2de7ff778b66: Pull complete 17:18:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:18:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:18:32 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:18:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:18:37 $ docker top 40d82c1a65d38c2de77f347a397099ad5ca83d0ed6b5a7de832d8be6859f924f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:18:37 provisioning config files... 17:18:37 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5481723348555355028tmp 17:18:37 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6843863073416147616tmp 17:18:37 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1423237928659308743tmp [Pipeline] { [Pipeline] echo 17:18:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:18:37 ---> sigul-configuration.sh 17:18:37 gpg: directory `/root/.gnupg' created 17:18:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:18:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:18:37 gpg: keyring `/root/.gnupg/secring.gpg' created 17:18:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:18:37 gpg: CAST5 encrypted data 17:18:38 gpg: encrypted with 1 passphrase 17:18:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:18:38 + mkdir /home/jenkins 17:18:38 + mkdir /home/jenkins/sigul [Pipeline] sh 17:18:38 + 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 17:18:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:18:39 ---> sigul-install.sh 17:18:45 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:18:45 + git tag --list 17:18:45 v0.1.0 17:18:45 v0.1.1 17:18:45 v1.0.0 17:18:45 v1.1.0 17:18:45 v1.2.0 17:18:45 v1.2.1-dev.1 17:18:45 v1.2.1-dev.10 17:18:45 v1.2.1-dev.11 17:18:45 v1.2.1-dev.12 17:18:45 v1.2.1-dev.13 17:18:45 v1.2.1-dev.14 17:18:45 v1.2.1-dev.15 17:18:45 v1.2.1-dev.16 17:18:45 v1.2.1-dev.17 17:18:45 v1.2.1-dev.18 17:18:45 v1.2.1-dev.19 17:18:45 v1.2.1-dev.2 17:18:45 v1.2.1-dev.20 17:18:45 v1.2.1-dev.21 17:18:45 v1.2.1-dev.22 17:18:45 v1.2.1-dev.23 17:18:45 v1.2.1-dev.24 17:18:45 v1.2.1-dev.25 17:18:45 v1.2.1-dev.26 17:18:45 v1.2.1-dev.27 17:18:45 v1.2.1-dev.28 17:18:45 v1.2.1-dev.29 17:18:45 v1.2.1-dev.3 17:18:45 v1.2.1-dev.30 17:18:45 v1.2.1-dev.31 17:18:45 v1.2.1-dev.32 17:18:45 v1.2.1-dev.33 17:18:45 v1.2.1-dev.34 17:18:45 v1.2.1-dev.35 17:18:45 v1.2.1-dev.36 17:18:45 v1.2.1-dev.37 17:18:45 v1.2.1-dev.38 17:18:45 v1.2.1-dev.39 17:18:45 v1.2.1-dev.4 17:18:45 v1.2.1-dev.40 17:18:45 v1.2.1-dev.41 17:18:45 v1.2.1-dev.42 17:18:45 v1.2.1-dev.43 17:18:45 v1.2.1-dev.44 17:18:45 v1.2.1-dev.45 17:18:45 v1.2.1-dev.46 17:18:45 v1.2.1-dev.47 17:18:45 v1.2.1-dev.48 17:18:45 v1.2.1-dev.5 17:18:45 v1.2.1-dev.6 17:18:45 v1.2.1-dev.7 17:18:45 v1.2.1-dev.8 17:18:45 v1.2.1-dev.9 [Pipeline] sh 17:18:46 + lftools sign git-tag v1.2.1-dev.48 17:18:47 Signing Git tag with Sigul... 17:18:47 Signing v1.2.1-dev.48 [Pipeline] echo 17:18:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:18:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:18:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:18:49 $ docker stop --time=1 40d82c1a65d38c2de77f347a397099ad5ca83d0ed6b5a7de832d8be6859f924f 17:18:51 $ docker rm -f 40d82c1a65d38c2de77f347a397099ad5ca83d0ed6b5a7de832d8be6859f924f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:18:52 . [Pipeline] withDockerContainer 17:18:52 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:18:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:18:53 $ docker top b2f3f6ae7a0b6387a60018b32e59458b4ea824bae1b41eee46575d65f4f16a10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:53 [ssh-agent] Looking for ssh-agent implementation... 17:18:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:53 $ docker exec b2f3f6ae7a0b6387a60018b32e59458b4ea824bae1b41eee46575d65f4f16a10 ssh-agent 17:18:54 SSH_AUTH_SOCK=/tmp/ssh-kfGuGzBhgPCp/agent.11 17:18:54 SSH_AGENT_PID=16 17:18:54 Running ssh-add (command line suppressed) 17:18:54 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5185023293398690738.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5185023293398690738.key) 17:18:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:54 + git semver bump pre 17:18:54 # -> Open(): unable to determine branch for HEAD 17:18:54 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:18:54 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:18:54 # $SEMVER_REMOTE_NAME = origin 17:18:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:18:54 # $SEMVER_USER_NAME = edgex-jenkins 17:18:54 # $SEMVER_BRANCH = master 17:18:54 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 17:18:54 1.2.1-dev.49 [Pipeline] } 17:18:54 $ docker exec --env ******** --env ******** b2f3f6ae7a0b6387a60018b32e59458b4ea824bae1b41eee46575d65f4f16a10 ssh-agent -k 17:18:54 unset SSH_AUTH_SOCK; 17:18:54 unset SSH_AGENT_PID; 17:18:54 echo Agent pid 16 killed; 17:18:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:55 + git semver [Pipeline] } 17:18:55 $ docker stop --time=1 b2f3f6ae7a0b6387a60018b32e59458b4ea824bae1b41eee46575d65f4f16a10 17:18:56 $ docker rm -f b2f3f6ae7a0b6387a60018b32e59458b4ea824bae1b41eee46575d65f4f16a10 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:18:57 . [Pipeline] withDockerContainer 17:18:57 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:18:57 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:18:58 $ docker top 9f3bfdae4645e821bdb2a9c520639207a274413800601a73a26b4859e4d84b27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:58 [ssh-agent] Looking for ssh-agent implementation... 17:18:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:58 $ docker exec 9f3bfdae4645e821bdb2a9c520639207a274413800601a73a26b4859e4d84b27 ssh-agent 17:18:59 SSH_AUTH_SOCK=/tmp/ssh-Wftz2VIm64SZ/agent.13 17:18:59 SSH_AGENT_PID=18 17:18:59 Running ssh-add (command line suppressed) 17:18:59 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4224573920369040629.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4224573920369040629.key) 17:18:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:59 + git semver push 17:18:59 # -> Open(): unable to determine branch for HEAD 17:18:59 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:18:59 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:18:59 # $SEMVER_REMOTE_NAME = origin 17:18:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:18:59 # $SEMVER_USER_NAME = edgex-jenkins 17:18:59 # $SEMVER_BRANCH = master 17:18:59 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 17:19:06 $ docker exec --env ******** --env ******** 9f3bfdae4645e821bdb2a9c520639207a274413800601a73a26b4859e4d84b27 ssh-agent -k 17:19:06 unset SSH_AUTH_SOCK; 17:19:06 unset SSH_AGENT_PID; 17:19:06 echo Agent pid 18 killed; 17:19:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:19:07 + git semver [Pipeline] } 17:19:07 $ docker stop --time=1 9f3bfdae4645e821bdb2a9c520639207a274413800601a73a26b4859e4d84b27 17:19:08 $ docker rm -f 9f3bfdae4645e821bdb2a9c520639207a274413800601a73a26b4859e4d84b27 [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 17:19:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:19:10 ---> package-listing.sh 17:19:10 ++ facter osfamily 17:19:10 ++ tr '[:upper:]' '[:lower:]' 17:19:10 + OS_FAMILY=redhat 17:19:10 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 17:19:10 + START_PACKAGES=/tmp/packages_start.txt 17:19:10 + END_PACKAGES=/tmp/packages_end.txt 17:19:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:19:10 + PACKAGES=/tmp/packages_start.txt 17:19:10 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 17:19:10 + PACKAGES=/tmp/packages_end.txt 17:19:10 + case "${OS_FAMILY}" in 17:19:10 + rpm -qa 17:19:10 + sort 17:19:14 + '[' -f /tmp/packages_start.txt ']' 17:19:14 + '[' -f /tmp/packages_end.txt ']' 17:19:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:19:14 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 17:19:14 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 17:19:14 + 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 17:19:14 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 17:19:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:15 17:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:15 alpine: Pulling from edgex-lftools-log-publisher 17:19:15 df20fa9351a1: Pulling fs layer 17:19:15 36b3adc4ff6f: Pulling fs layer 17:19:15 8ad3a11d3b57: Pulling fs layer 17:19:15 46f8f816bc3b: Pulling fs layer 17:19:15 93b61091891f: Pulling fs layer 17:19:15 93b9cdb0e59b: Pulling fs layer 17:19:15 5e14af77c1be: Pulling fs layer 17:19:15 01666e4c0597: Pulling fs layer 17:19:15 aa168da1d23b: Pulling fs layer 17:19:15 93b9cdb0e59b: Waiting 17:19:15 aa168da1d23b: Waiting 17:19:15 5e14af77c1be: Waiting 17:19:15 01666e4c0597: Waiting 17:19:15 46f8f816bc3b: Waiting 17:19:15 93b61091891f: Waiting 17:19:15 36b3adc4ff6f: Verifying Checksum 17:19:15 36b3adc4ff6f: Download complete 17:19:15 46f8f816bc3b: Verifying Checksum 17:19:15 46f8f816bc3b: Download complete 17:19:15 df20fa9351a1: Verifying Checksum 17:19:15 df20fa9351a1: Download complete 17:19:15 93b9cdb0e59b: Verifying Checksum 17:19:15 93b9cdb0e59b: Download complete 17:19:16 5e14af77c1be: Verifying Checksum 17:19:16 5e14af77c1be: Download complete 17:19:16 93b61091891f: Verifying Checksum 17:19:16 93b61091891f: Download complete 17:19:16 01666e4c0597: Verifying Checksum 17:19:16 01666e4c0597: Download complete 17:19:16 8ad3a11d3b57: Verifying Checksum 17:19:16 8ad3a11d3b57: Download complete 17:19:16 df20fa9351a1: Pull complete 17:19:16 36b3adc4ff6f: Pull complete 17:19:17 8ad3a11d3b57: Pull complete 17:19:17 46f8f816bc3b: Pull complete 17:19:17 93b61091891f: Pull complete 17:19:18 93b9cdb0e59b: Pull complete 17:19:18 aa168da1d23b: Verifying Checksum 17:19:18 aa168da1d23b: Download complete 17:19:18 5e14af77c1be: Pull complete 17:19:18 01666e4c0597: Pull complete 17:19:25 aa168da1d23b: Pull complete 17:19:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:19:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:19:25 prd-centos7-docker-4c-2g-7524 does not seem to be running inside a container 17:19: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:19:29 $ docker top 26ee290691d20594ad1ffffab6b01d5d36a32da96205a1c812416a3f1d1e8ae9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:30 + mkdir -p /var/log/sa [Pipeline] sh 17:19:30 + ls /var/log/sa-host 17:19:30 + sadf -c /var/log/sa-host/sa05 17:19:30 file_magic: OK 17:19:30 HZ: Using current value: 100 17:19:30 file_header: OK 17:19:30 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 17:19:30 Statistics: 17:19:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:30 File successfully converted to sysstat format version 12.2.1 17:19:30 + sadf -c /var/log/sa-host/sa21 17:19:30 file_magic: OK 17:19:30 HZ: Using current value: 100 17:19:30 file_header: OK 17:19:30 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 17:19:30 Statistics: 17:19:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:19:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:31 provisioning config files... 17:19:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4286536425785732399tmp [Pipeline] { [Pipeline] echo 17:19:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:31 ---> create-netrc.sh [Pipeline] } 17:19:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:19:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:19:32 ---> python-tools-install.sh [Pipeline] echo 17:19:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:32 ---> sudo-logs.sh 17:19:32 Archiving 'sudo' log.. [Pipeline] echo 17:19:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:32 ---> job-cost.sh 17:19:32 lf-activate-venv: SKIPPING 17:19:32 INFO: No Stack... 17:19:33 INFO: Retrieving Pricing Info for: v1-standard-2 17:19:34 INFO: Archiving Costs [Pipeline] echo 17:19:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:34 ---> logs-deploy.sh 17:19:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/136 17:19:34 INFO: archiving workspace using pattern(s): 17:19:37 Archives upload complete. 17:19:37 INFO: archiving logs to Nexus