Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 80a7af3f70910015b8ff19dafd094aaacdf0707c 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31272 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 > 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 Checking out Revision 80a7af3f70910015b8ff19dafd094aaacdf0707c (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 80a7af3f70910015b8ff19dafd094aaacdf0707c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#757)" > git rev-list --no-walk 22022954bdd8991a1593f32837205dd6823d76bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:33:57 ========================================================= 22:33:57 EdgeX Global Pipelines Version Info 22:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:33:59 ------------------- 22:33:59 stable info: 22:33:59 ------------------- 22:33:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:33:59 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:33:59 Message: update stable to v1.0.186 22:34:00 ------------------- 22:34:00 experimental info: 22:34:00 ------------------- 22:34:00 Commited By: **** collab-it+edgex@linuxfoundation.org 22:34:00 Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 22:34:00 Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:34:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:34:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:34:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:34:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80a7af3f70910015b8ff19dafd094aaacdf0707c [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80a7af3 [Pipeline] echo 22:34:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:34:04 + git log --format=format:%s -1 80a7af3f70910015b8ff19dafd094aaacdf0707c [Pipeline] echo 22:34:04 GIT_COMMIT: 80a7af3f70910015b8ff19dafd094aaacdf0707c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#757) [Pipeline] echo 22:34:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:34:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:34:05 22:34:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:34:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:34:06 latest: Pulling from edgex-devops/git-semver 22:34:06 31603596830f: Pulling fs layer 22:34:06 2a8b12db71e7: Pulling fs layer 22:34:06 6ca5941a6612: Pulling fs layer 22:34:06 ecc8261a40a4: Pulling fs layer 22:34:06 ecc8261a40a4: Waiting 22:34:06 2a8b12db71e7: Verifying Checksum 22:34:06 31603596830f: Download complete 22:34:06 6ca5941a6612: Verifying Checksum 22:34:06 6ca5941a6612: Download complete 22:34:06 ecc8261a40a4: Verifying Checksum 22:34:06 ecc8261a40a4: Download complete 22:34:06 31603596830f: Pull complete 22:34:07 2a8b12db71e7: Pull complete 22:34:08 6ca5941a6612: Pull complete 22:34:08 ecc8261a40a4: Pull complete 22:34:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:34:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:34:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:34:08 prd-centos7-docker-4c-2g-31272 does not seem to be running inside a container 22:34:08 $ 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 22:34:10 $ docker top ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:34:11 [ssh-agent] Looking for ssh-agent implementation... 22:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:34:11 $ docker exec ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 ssh-agent 22:34:11 SSH_AUTH_SOCK=/tmp/ssh-nzWZmcEyvKtn/agent.11 22:34:11 SSH_AGENT_PID=16 22:34:12 Running ssh-add (command line suppressed) 22:34:12 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8980261600087167913.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8980261600087167913.key) 22:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:34:12 + git tag --points-at HEAD [Pipeline] } 22:34:12 $ docker exec --env ******** --env ******** ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 ssh-agent -k 22:34:12 unset SSH_AUTH_SOCK; 22:34:12 unset SSH_AGENT_PID; 22:34:12 echo Agent pid 16 killed; 22:34:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:34:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:34:12 [ssh-agent] Looking for ssh-agent implementation... 22:34:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:34:13 $ docker exec ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 ssh-agent 22:34:13 SSH_AUTH_SOCK=/tmp/ssh-x6fCH7GjlxRr/agent.47 22:34:13 SSH_AGENT_PID=52 22:34:13 Running ssh-add (command line suppressed) 22:34:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_694997022433789290.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_694997022433789290.key) 22:34:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:34:13 + git semver init 22:34:13 # -> Open(): unable to determine branch for HEAD 22:34:13 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 22:34:13 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 22:34:13 # $SEMVER_REMOTE_NAME = origin 22:34:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:34:13 # $SEMVER_USER_NAME = edgex-jenkins 22:34:13 # $SEMVER_BRANCH = master 22:34:13 # $SEMVER_TEMP = /tmp/semver-598706763 22:34:13 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:34:18 # '/tmp/semver-598706763' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 22:34:18 # -> Force: false 22:34:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 22:34:18 $ docker exec --env ******** --env ******** ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 ssh-agent -k 22:34:18 unset SSH_AUTH_SOCK; 22:34:18 unset SSH_AGENT_PID; 22:34:18 echo Agent pid 52 killed; 22:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:34:19 + git semver [Pipeline] } 22:34:19 $ docker stop --time=1 ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 22:34:20 $ docker rm -f ca9f9c2a9b769b66ef736a37f5bc26c8c428568b115735fc4675c34446ea5c73 [Pipeline] // withDockerContainer [Pipeline] sh 22:34:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:34:21 Stashed 1 file(s) [Pipeline] echo 22:34:21 [edgeXSemver]: initialized semver on version 2.0.0-dev.33 [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 22:34:37 Still waiting to schedule task 22:34:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31272’ 22:34:37 Still waiting to schedule task 22:34:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:36:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31273 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 22:36:28 Running in /w/workspace/app-functions-sdk-go/201 [Pipeline] { [Pipeline] checkout 22:36:32 using credential edgex-jenkins-ssh 22:36:32 Cloning the remote Git repository 22:36:32 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:36:33 > git init /w/workspace/app-functions-sdk-go/201 # timeout=10 22:36:33 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:36:33 > git --version # timeout=10 22:36:33 > git --version # 'git version 2.17.1' 22:36:33 using GIT_SSH to set credentials SSH Credentials for GitHub 22:36:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:36:36 Checking out Revision 80a7af3f70910015b8ff19dafd094aaacdf0707c (master) 22:36:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:36:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:36:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:36:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:36:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:36:36 > git config core.sparsecheckout # timeout=10 22:36:36 > git checkout -f 80a7af3f70910015b8ff19dafd094aaacdf0707c # timeout=10 22:36:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#757)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:36:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:36:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:36:43 + + true 22:36:43 sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:36:46 ========================================================= 22:36:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:36:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:36:47 + 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 . 22:36:48 Sending build context to Docker daemon 19.38MB 22:36:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:36:48 Step 2/8 : FROM ${BASE} 22:36:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:36:48 5f621e34cdf4: Pulling fs layer 22:36:48 a4357932f1b6: Pulling fs layer 22:36:48 18c013af1878: Pulling fs layer 22:36:48 00ac8860ef70: Pulling fs layer 22:36:48 63d7cb157983: Pulling fs layer 22:36:48 b116817d02f9: Pulling fs layer 22:36:48 745a02a5169b: Pulling fs layer 22:36:48 63d7cb157983: Waiting 22:36:48 b116817d02f9: Waiting 22:36:48 00ac8860ef70: Waiting 22:36:48 745a02a5169b: Waiting 22:36:48 18c013af1878: Verifying Checksum 22:36:48 18c013af1878: Download complete 22:36:48 a4357932f1b6: Verifying Checksum 22:36:48 a4357932f1b6: Download complete 22:36:48 63d7cb157983: Download complete 22:36:48 b116817d02f9: Download complete 22:36:49 5f621e34cdf4: Verifying Checksum 22:36:49 5f621e34cdf4: Download complete 22:36:50 5f621e34cdf4: Pull complete 22:36:50 a4357932f1b6: Pull complete 22:36:50 18c013af1878: Pull complete 22:36:51 745a02a5169b: Verifying Checksum 22:36:51 745a02a5169b: Download complete 22:36:52 00ac8860ef70: Verifying Checksum 22:36:52 00ac8860ef70: Download complete 22:37:03 Running on prd-centos7-docker-4c-2g-31274 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { 22:37:03 00ac8860ef70: Pull complete 22:37:03 63d7cb157983: Pull complete 22:37:03 b116817d02f9: Pull complete [Pipeline] ws 22:37:03 Running in /w/workspace/app-functions-sdk-go/201 [Pipeline] { [Pipeline] checkout 22:37:05 using credential edgex-jenkins-ssh 22:37:05 Cloning the remote Git repository 22:37:05 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:37:05 > git init /w/workspace/app-functions-sdk-go/201 # timeout=10 22:37:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:37:05 > git --version # timeout=10 22:37:05 > git --version # 'git version 2.24.3' 22:37:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:07 745a02a5169b: Pull complete 22:37:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:37:07 ---> b7e6874047d6 22:37:07 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:37:07 20.10.0: Pulling from library/docker 22:37:07 a3cc7d3b244e: Pulling fs layer 22:37:07 02a3295e0d61: Pulling fs layer 22:37:07 0f4f2e6d8100: Pulling fs layer 22:37:07 330b718f631f: Pulling fs layer 22:37:07 a93816041522: Pulling fs layer 22:37:07 bdb6da89ff94: Pulling fs layer 22:37:07 2a70c0c122f4: Pulling fs layer 22:37:07 330b718f631f: Waiting 22:37:07 a93816041522: Waiting 22:37:07 bdb6da89ff94: Waiting 22:37:07 2a70c0c122f4: Waiting 22:37:07 0f4f2e6d8100: Verifying Checksum 22:37:07 0f4f2e6d8100: Download complete 22:37:07 a3cc7d3b244e: Verifying Checksum 22:37:07 a3cc7d3b244e: Download complete 22:37:07 02a3295e0d61: Download complete 22:37:07 bdb6da89ff94: Verifying Checksum 22:37:07 bdb6da89ff94: Download complete 22:37:07 a93816041522: Verifying Checksum 22:37:07 a93816041522: Download complete 22:37:07 2a70c0c122f4: Verifying Checksum 22:37:07 2a70c0c122f4: Download complete 22:37:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:37:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:37:07 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:37:07 a3cc7d3b244e: Pull complete 22:37:07 Checking out Revision 80a7af3f70910015b8ff19dafd094aaacdf0707c (master) 22:37:08 02a3295e0d61: Pull complete 22:37:08 0f4f2e6d8100: Pull complete 22:37:07 > git config core.sparsecheckout # timeout=10 22:37:07 > git checkout -f 80a7af3f70910015b8ff19dafd094aaacdf0707c # timeout=10 22:37:08 330b718f631f: Verifying Checksum 22:37:08 330b718f631f: Download complete 22:37:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#757)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:37:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:37:13 330b718f631f: Pull complete 22:37:13 a93816041522: Pull complete 22:37:13 bdb6da89ff94: Pull complete 22:37:13 + sudo service docker restart 22:37:13 + true 22:37:13 Redirecting to /bin/systemctl restart docker.service 22:37:13 2a70c0c122f4: Pull complete 22:37:13 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:37:13 Status: Downloaded newer image for docker:20.10.0 [Pipeline] unstash [Pipeline] echo 22:37:14 ========================================================= 22:37:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:37:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:37:14 + 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 . 22:37:15 Sending build context to Docker daemon 19.38MB 22:37:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:37:15 Step 2/8 : FROM ${BASE} 22:37:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:37:15 188c0c94c7c5: Pulling fs layer 22:37:15 0ef7d3d256c8: Pulling fs layer 22:37:15 de9db76c5a1d: Pulling fs layer 22:37:15 bca2f99d35d6: Pulling fs layer 22:37:15 93359f2a8cfa: Pulling fs layer 22:37:15 7c6f9722023f: Pulling fs layer 22:37:15 a35cf1a2eb13: Pulling fs layer 22:37:15 93359f2a8cfa: Waiting 22:37:15 bca2f99d35d6: Waiting 22:37:15 7c6f9722023f: Waiting 22:37:15 a35cf1a2eb13: Waiting 22:37:15 de9db76c5a1d: Verifying Checksum 22:37:15 de9db76c5a1d: Download complete 22:37:15 0ef7d3d256c8: Verifying Checksum 22:37:15 0ef7d3d256c8: Download complete 22:37:15 93359f2a8cfa: Verifying Checksum 22:37:15 93359f2a8cfa: Download complete 22:37:15 7c6f9722023f: Verifying Checksum 22:37:15 7c6f9722023f: Download complete 22:37:15 188c0c94c7c5: Verifying Checksum 22:37:15 188c0c94c7c5: Download complete 22:37:15 188c0c94c7c5: Pull complete 22:37:15 0ef7d3d256c8: Pull complete 22:37:16 de9db76c5a1d: Pull complete 22:37:17 a35cf1a2eb13: Verifying Checksum 22:37:17 a35cf1a2eb13: Download complete 22:37:18 bca2f99d35d6: Verifying Checksum 22:37:18 bca2f99d35d6: Download complete 22:37:19 ---> eeaf453377c7 22:37:19 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:37:19 ---> Running in c0877eb493f4 22:37:20 Removing intermediate container c0877eb493f4 22:37:20 ---> 19a92edc0d13 22:37:20 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:37:20 ---> Running in c5ce306f9998 22:37:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:37:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:37:22 (1/5) Installing libsodium (1.0.18-r0) 22:37:22 (2/5) Installing libzmq (4.3.3-r0) 22:37:22 (3/5) Installing pkgconf (1.7.2-r0) 22:37:23 (4/5) Installing libsodium-dev (1.0.18-r0) 22:37:23 (5/5) Installing zeromq-dev (4.3.3-r0) 22:37:23 Executing busybox-1.31.1-r19.trigger 22:37:23 OK: 144 MiB in 44 packages 22:37:23 bca2f99d35d6: Pull complete 22:37:23 93359f2a8cfa: Pull complete 22:37:23 7c6f9722023f: Pull complete 22:37:24 Removing intermediate container c5ce306f9998 22:37:24 ---> a78c85e08b7d 22:37:24 Step 6/8 : WORKDIR /build 22:37:24 ---> Running in ec3e39493e68 22:37:25 Removing intermediate container ec3e39493e68 22:37:25 ---> 95a00f4ffc78 22:37:25 Step 7/8 : COPY go.mod . 22:37:26 ---> dfbaa5681614 22:37:26 Step 8/8 : RUN go mod download 22:37:26 ---> Running in 2111de244e6d 22:37:29 a35cf1a2eb13: Pull complete 22:37:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:37:29 ---> a62c8e92a672 22:37:29 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:37:29 20.10.0: Pulling from library/docker 22:37:29 05e7bc50f07f: Pulling fs layer 22:37:29 6db28d0fdbf6: Pulling fs layer 22:37:29 292df0bc6bf3: Pulling fs layer 22:37:29 2e060f4bd70b: Pulling fs layer 22:37:29 80e8d568a223: Pulling fs layer 22:37:29 8dc6ef1a942a: Pulling fs layer 22:37:29 2312dd95470a: Pulling fs layer 22:37:29 80e8d568a223: Waiting 22:37:29 8dc6ef1a942a: Waiting 22:37:29 2312dd95470a: Waiting 22:37:29 2e060f4bd70b: Waiting 22:37:29 292df0bc6bf3: Download complete 22:37:29 6db28d0fdbf6: Verifying Checksum 22:37:29 6db28d0fdbf6: Download complete 22:37:29 05e7bc50f07f: Verifying Checksum 22:37:29 05e7bc50f07f: Download complete 22:37:29 8dc6ef1a942a: Verifying Checksum 22:37:29 8dc6ef1a942a: Download complete 22:37:29 80e8d568a223: Verifying Checksum 22:37:29 80e8d568a223: Download complete 22:37:29 2312dd95470a: Verifying Checksum 22:37:29 2312dd95470a: Download complete 22:37:29 05e7bc50f07f: Pull complete 22:37:30 6db28d0fdbf6: Pull complete 22:37:30 292df0bc6bf3: Pull complete 22:37:30 2e060f4bd70b: Verifying Checksum 22:37:30 2e060f4bd70b: Download complete 22:37:33 2e060f4bd70b: Pull complete 22:37:33 80e8d568a223: Pull complete 22:37:33 8dc6ef1a942a: Pull complete 22:37:33 2312dd95470a: Pull complete 22:37:33 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:37:33 Status: Downloaded newer image for docker:20.10.0 22:37:35 ---> 9aa79f1d7f26 22:37:35 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:37:35 ---> Running in 6e4189c8cda2 22:37:35 Removing intermediate container 6e4189c8cda2 22:37:35 ---> ad7271e95617 22:37:35 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:37:35 ---> Running in 18ce9a21a951 22:37:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:37:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:37:37 (1/5) Installing libsodium (1.0.18-r0) 22:37:37 (2/5) Installing libzmq (4.3.3-r0) 22:37:37 (3/5) Installing pkgconf (1.7.2-r0) 22:37:37 (4/5) Installing libsodium-dev (1.0.18-r0) 22:37:37 (5/5) Installing zeromq-dev (4.3.3-r0) 22:37:37 Executing busybox-1.31.1-r19.trigger 22:37:37 OK: 167 MiB in 44 packages 22:37:37 Removing intermediate container 18ce9a21a951 22:37:37 ---> b8ad2233572a 22:37:37 Step 6/8 : WORKDIR /build 22:37:38 ---> Running in de9e7d891601 22:37:38 Removing intermediate container de9e7d891601 22:37:38 ---> d861251d9eab 22:37:38 Step 7/8 : COPY go.mod . 22:37:38 ---> cef0bd95f136 22:37:38 Step 8/8 : RUN go mod download 22:37:38 ---> Running in ef009a2343e1 22:37:52 Removing intermediate container 2111de244e6d 22:37:52 ---> 6ba72d94d141 22:37:52 Successfully built 6ba72d94d141 22:37:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:37:53 + docker inspect -f . ci-base-image-arm64 22:37:53 . [Pipeline] withDockerContainer 22:37:53 prd-ubuntu18.04-docker-arm64-4c-16g-31273 does not seem to be running inside a container 22:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/201 -v /w/workspace/app-functions-sdk-go/201:/w/workspace/app-functions-sdk-go/201:rw,z -v /w/workspace/app-functions-sdk-go/201@tmp:/w/workspace/app-functions-sdk-go/201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:54 $ docker top bd7636f5f689f3602904929d406ea706d4aa908ba8da62eac6e0fdd352362e07 -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:56 + go version 22:37:56 go version go1.15.5 linux/arm64 [Pipeline] } 22:37:56 $ docker stop --time=1 bd7636f5f689f3602904929d406ea706d4aa908ba8da62eac6e0fdd352362e07 22:37:57 $ docker rm -f bd7636f5f689f3602904929d406ea706d4aa908ba8da62eac6e0fdd352362e07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:37:58 + docker inspect -f . ci-base-image-arm64 22:37:58 . [Pipeline] withDockerContainer 22:37:59 prd-ubuntu18.04-docker-arm64-4c-16g-31273 does not seem to be running inside a container 22:37:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/201 -v /w/workspace/app-functions-sdk-go/201:/w/workspace/app-functions-sdk-go/201:rw,z -v /w/workspace/app-functions-sdk-go/201@tmp:/w/workspace/app-functions-sdk-go/201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:38:00 Removing intermediate container ef009a2343e1 22:38:00 ---> 9e90b0f8ab13 22:38:00 Successfully built 9e90b0f8ab13 22:38:00 Successfully tagged ci-base-image-x86_64:latest 22:38:00 $ docker top 434db9c4be0b6b9fe5d271d130beb10b5e225c9c4718fbd8842fa9815ed414bc -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:38:01 + docker inspect -f . ci-base-image-x86_64 22:38:01 . [Pipeline] withDockerContainer 22:38:01 prd-centos7-docker-4c-2g-31274 does not seem to be running inside a container 22:38:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/201 -v /w/workspace/app-functions-sdk-go/201:/w/workspace/app-functions-sdk-go/201:rw,z -v /w/workspace/app-functions-sdk-go/201@tmp:/w/workspace/app-functions-sdk-go/201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:01 + make test 22:38:01 make -C ./app-service-template build 22:38:01 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:01 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 22:38:02 $ docker top 5a9f962e530e3a5149a13050fa3da1c83639661ef84f4143611a07dfdad9f2bf -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:02 + go version 22:38:02 go version go1.15.5 linux/amd64 [Pipeline] } 22:38:03 $ docker stop --time=1 5a9f962e530e3a5149a13050fa3da1c83639661ef84f4143611a07dfdad9f2bf 22:38:04 $ docker rm -f 5a9f962e530e3a5149a13050fa3da1c83639661ef84f4143611a07dfdad9f2bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:38:05 + docker inspect -f . ci-base-image-x86_64 22:38:05 . [Pipeline] withDockerContainer 22:38:05 prd-centos7-docker-4c-2g-31274 does not seem to be running inside a container 22:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/201 -v /w/workspace/app-functions-sdk-go/201:/w/workspace/app-functions-sdk-go/201:rw,z -v /w/workspace/app-functions-sdk-go/201@tmp:/w/workspace/app-functions-sdk-go/201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:05 $ docker top 1ea59d264cbfe3faad2af735a504751f95d5a9edc1413a77120bf6c7f65280ab -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:06 + make test 22:38:06 make -C ./app-service-template build 22:38:06 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:06 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 22:38:21 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:21 make -C ./app-service-template test 22:38:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:21 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:38:26 ok new-app-service 0.016s coverage: 47.8% of statements 22:38:26 ? new-app-service/config [no test files] 22:38:27 ok new-app-service/functions 0.009s 22:38:27 CGO_ENABLED=1 go vet ./... 22:38:31 gofmt -l . 22:38:31 [ "`gofmt -l .`" = "" ] 22:38:31 ./bin/test-go-mod-tidy.sh 22:38:31 ./bin/test-attribution-txt.sh 22:38:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:38:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:38:34 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:34 make -C ./app-service-template test 22:38:34 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:38:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 55.4% of statements 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.016s coverage: 92.5% of statements 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.046s coverage: 61.5% of statements 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.053s coverage: 75.4% of statements 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.0% of statements 22:38:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:38:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements 22:38:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.747s coverage: 78.4% of statements 22:38:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:38:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.039s coverage: 20.0% of statements 22:38:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.029s coverage: 27.3% of statements 22:38:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:38:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:38:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.032s coverage: 71.7% of statements 22:39:00 ok new-app-service 0.035s coverage: 47.8% of statements 22:39:00 ? new-app-service/config [no test files] 22:39:00 ok new-app-service/functions 0.026s 22:39:00 CGO_ENABLED=1 go vet ./... 22:39:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.052s coverage: 81.9% of statements 22:39:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 22:39:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:39:06 gofmt -l . 22:39:06 [ "`gofmt -l .`" = "" ] 22:39:06 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 22:39:06 $ docker stop --time=1 1ea59d264cbfe3faad2af735a504751f95d5a9edc1413a77120bf6c7f65280ab 22:39:07 $ docker rm -f 1ea59d264cbfe3faad2af735a504751f95d5a9edc1413a77120bf6c7f65280ab [Pipeline] // withDockerContainer [Pipeline] sh 22:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:39:08 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage 22:39:09 gofmt -l . 22:39:09 [ "`gofmt -l .`" = "" ] 22:39:09 ./bin/test-go-mod-tidy.sh 22:39:09 ./bin/test-attribution-txt.sh [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 Post stage [Pipeline] libraryResource [Pipeline] sh 22:39:09 ---> job-cost.sh 22:39:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aMW2 22:39:10 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/201/app-service-template' 22:39:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:39:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.085s coverage: 55.4% of statements 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.042s coverage: 92.5% of statements 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.092s coverage: 61.5% of statements 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.033s 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.070s coverage: 75.4% of statements 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 22:39:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:39:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.071s coverage: 10.5% of statements 22:39:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:39:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.817s coverage: 78.4% of statements 22:39:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:39:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.078s coverage: 20.0% of statements 22:39:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.038s coverage: 27.3% of statements 22:39:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:39:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:39:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.032s coverage: 71.7% of statements 22:39:51 lf-activate-venv(): INFO: Adding /tmp/venv-aMW2/bin to PATH 22:39:51 INFO: No Stack... 22:39:51 INFO: Retrieving Pricing Info for: v1-standard-2 22:39:52 INFO: Archiving Costs [Pipeline] sh 22:39:52 + cat /w/workspace/app-functions-sdk-go/201/archives/cost.csv 22:39:52 + cut -d, -f6 [Pipeline] lock 22:39:52 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] 22:39:52 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] did not exist. Created. 22:39:52 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] [Pipeline] { [Pipeline] unstash 22:39:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements 22:39:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 22:39:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] sh 22:39:53 + echo total: 0.029999999329447746 [Pipeline] stash 22:39:53 Stashed 1 file(s) [Pipeline] } 22:39:53 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:39:56 gofmt -l . 22:39:56 [ "`gofmt -l .`" = "" ] 22:39:57 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 22:39:57 $ docker stop --time=1 434db9c4be0b6b9fe5d271d130beb10b5e225c9c4718fbd8842fa9815ed414bc 22:39:59 $ docker rm -f 434db9c4be0b6b9fe5d271d130beb10b5e225c9c4718fbd8842fa9815ed414bc [Pipeline] // withDockerContainer [Pipeline] sh 22:40:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:00 Warning: overwriting stash ‘coverage-report’ 22:40:01 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 22:40:02 ---> job-cost.sh 22:40:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wbT1 22:40:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:42:17 lf-activate-venv(): INFO: Adding /tmp/venv-wbT1/bin to PATH 22:42:17 INFO: No Stack... 22:42:17 INFO: Retrieving Pricing Info for: lf-standard-4 22:42:17 INFO: Archiving Costs [Pipeline] sh 22:42:18 + cut -d, -f6 22:42:18 + cat /w/workspace/app-functions-sdk-go/201/archives/cost.csv [Pipeline] lock 22:42:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] 22:42:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] did not exist. Created. 22:42:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-201-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:18 /w/workspace/app-functions-sdk-go/201@tmp/durable-956c9769/script.sh: 1: /w/workspace/app-functions-sdk-go/201@tmp/durable-956c9769/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:42:18 + echo total: 0.20999999344348907 [Pipeline] stash 22:42:19 Warning: overwriting stash ‘stack-cost’ 22:42:19 Stashed 1 file(s) [Pipeline] } 22:42:19 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-201-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 22:42:20 provisioning config files... 22:42:20 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3399414588190358796tmp [Pipeline] { [Pipeline] sh 22:42:21 + set +x 22:42:21 + curl -s https://codecov.io/bash 22:42:21 + bash -s -- 22:42:21 22:42:21 _____ _ 22:42:21 / ____| | | 22:42:21 | | ___ __| | ___ ___ _____ __ 22:42:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:42:21 | |___| (_) | (_| | __/ (_| (_) \ V / 22:42:21 \_____\___/ \__,_|\___|\___\___/ \_/ 22:42:21 Bash-20210309-2b87ace 22:42:21 22:42:21 22:42:21 ==> git version 2.24.3 found 22:42:21 ==> 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 22:42:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:42:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:42:21 ==> Jenkins CI detected. 22:42:21 project root: . 22:42:21 --> token set from env 22:42:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:42:21 ==> Running gcov in . (disable via -X gcov) 22:42:21 ==> Python coveragepy not found 22:42:21 ==> Searching for coverage reports in: 22:42:21 + . 22:42:21 -> Found 2 reports 22:42:21 ==> Detecting git/mercurial file structure 22:42:21 ==> Reading reports 22:42:21 + ./app-service-template/coverage.out bytes=1055 22:42:21 + ./coverage.out bytes=86095 22:42:21 ==> Appending adjustments 22:42:21 https://docs.codecov.io/docs/fixing-reports 22:42:22 + Found adjustments 22:42:22 ==> Gzipping contents 22:42:22 16K /tmp/codecov.jw9bqh.gz 22:42:22 ==> Uploading reports 22:42:22 url: https://codecov.io 22:42:22 query: branch=master&commit=80a7af3f70910015b8ff19dafd094aaacdf0707c&build=201&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F201%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:42:22 -> Pinging Codecov 22:42:22 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=80a7af3f70910015b8ff19dafd094aaacdf0707c&build=201&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F201%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:42:22 -> Uploading to 22:42:22 https://storage.googleapis.com/codecov/v4/raw/2021-03-24/3D8B5DFFC46A037C893635FACE044666/80a7af3f70910015b8ff19dafd094aaacdf0707c/e5b23dcf-6174-488a-b8d7-5d1ce1703779.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210324T224222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c473d899573b60d579f488e51e20101e7b0c65f25a7b8f17ea65d706e49a558 22:42:22 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:22 Dload Upload Total Spent Left Speed 22:42:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15154 0 0 100 15154 0 30529 --:--:-- --:--:-- --:--:-- 30552 22:42:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/80a7af3f70910015b8ff19dafd094aaacdf0707c [Pipeline] } 22:42:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:42:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:42:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:42:24 22:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:42:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:42:24 188c0c94c7c5: Pulling fs layer 22:42:24 0ef7d3d256c8: Pulling fs layer 22:42:24 de9db76c5a1d: Pulling fs layer 22:42:24 0eba1c9be4d2: Pulling fs layer 22:42:24 0d57e429df01: Pulling fs layer 22:42:24 4e4be7b47b0d: Pulling fs layer 22:42:24 e1f770b5df2f: Pulling fs layer 22:42:24 85a0685a4137: Pulling fs layer 22:42:24 0d57e429df01: Waiting 22:42:24 4e4be7b47b0d: Waiting 22:42:24 e1f770b5df2f: Waiting 22:42:24 85a0685a4137: Waiting 22:42:24 0eba1c9be4d2: Waiting 22:42:24 de9db76c5a1d: Verifying Checksum 22:42:24 de9db76c5a1d: Download complete 22:42:24 0ef7d3d256c8: Verifying Checksum 22:42:24 0ef7d3d256c8: Download complete 22:42:24 0d57e429df01: Verifying Checksum 22:42:24 0d57e429df01: Download complete 22:42:24 4e4be7b47b0d: Verifying Checksum 22:42:24 4e4be7b47b0d: Download complete 22:42:24 188c0c94c7c5: Download complete 22:42:25 188c0c94c7c5: Pull complete 22:42:25 0ef7d3d256c8: Pull complete 22:42:25 de9db76c5a1d: Pull complete 22:42:26 e1f770b5df2f: Verifying Checksum 22:42:26 e1f770b5df2f: Download complete 22:42:28 0eba1c9be4d2: Verifying Checksum 22:42:28 0eba1c9be4d2: Download complete 22:42:28 85a0685a4137: Verifying Checksum 22:42:28 85a0685a4137: Download complete 22:42:35 0eba1c9be4d2: Pull complete 22:42:35 0d57e429df01: Pull complete 22:42:35 4e4be7b47b0d: Pull complete 22:42:36 e1f770b5df2f: Pull complete 22:42:44 85a0685a4137: Pull complete 22:42:44 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:42:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:42:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:42:44 prd-centos7-docker-4c-2g-31272 does not seem to be running inside a container 22:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:42:46 $ docker top a05e5067d1b24b5b4f56fb8a8c70d358476fe10fc2ea8f1640cdd745e4a10e8b -eo pid,comm [Pipeline] { [Pipeline] echo 22:42:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:42:46 + set -o pipefail 22:42:46 + snyk monitor '--org=edgex-jenkins' 22:42:50 22:42:50 Monitoring /w/workspace/ndry_app-functions-sdk-go_master... 22:42:50 22:42:50 'go list -json -deps ./...' command failed with error: go: github.com/edgexfoundry/go-mod-core-contracts/v2@v2.0.0-dev.56: reading https://nexus3.edgexfoundry.org/repository/go-proxy/github.com/edgexfoundry/go-mod-core-contracts/v2/@v/v2.0.0-dev.56.mod: 503 Service Unavailable 22:42:50 22:42:50 [Pipeline] } 22:42:50 $ docker stop --time=1 a05e5067d1b24b5b4f56fb8a8c70d358476fe10fc2ea8f1640cdd745e4a10e8b 22:42:51 $ docker rm -f a05e5067d1b24b5b4f56fb8a8c70d358476fe10fc2ea8f1640cdd745e4a10e8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:52 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:42:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:42:55 ---> package-listing.sh 22:42:55 ++ facter osfamily 22:42:55 ++ tr '[:upper:]' '[:lower:]' 22:42:55 + OS_FAMILY=redhat 22:42:55 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 22:42:55 + START_PACKAGES=/tmp/packages_start.txt 22:42:55 + END_PACKAGES=/tmp/packages_end.txt 22:42:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:42:55 + PACKAGES=/tmp/packages_start.txt 22:42:55 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 22:42:55 + PACKAGES=/tmp/packages_end.txt 22:42:55 + case "${OS_FAMILY}" in 22:42:55 + rpm -qa 22:42:55 + sort 22:43:00 + '[' -f /tmp/packages_start.txt ']' 22:43:00 + '[' -f /tmp/packages_end.txt ']' 22:43:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:43:00 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 22:43:00 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 22:43:00 + 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 22:43:00 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 22:43:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:43:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:43:01 22:43:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:43:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:43:01 alpine: Pulling from edgex-lftools-log-publisher 22:43:01 df20fa9351a1: Pulling fs layer 22:43:01 36b3adc4ff6f: Pulling fs layer 22:43:01 8ad3a11d3b57: Pulling fs layer 22:43:01 46f8f816bc3b: Pulling fs layer 22:43:01 93b61091891f: Pulling fs layer 22:43:01 93b9cdb0e59b: Pulling fs layer 22:43:01 5e14af77c1be: Pulling fs layer 22:43:01 01666e4c0597: Pulling fs layer 22:43:01 aa168da1d23b: Pulling fs layer 22:43:01 93b61091891f: Waiting 22:43:01 93b9cdb0e59b: Waiting 22:43:01 5e14af77c1be: Waiting 22:43:01 01666e4c0597: Waiting 22:43:01 aa168da1d23b: Waiting 22:43:01 46f8f816bc3b: Waiting 22:43:01 36b3adc4ff6f: Verifying Checksum 22:43:01 36b3adc4ff6f: Download complete 22:43:01 46f8f816bc3b: Verifying Checksum 22:43:01 46f8f816bc3b: Download complete 22:43:01 df20fa9351a1: Verifying Checksum 22:43:01 df20fa9351a1: Download complete 22:43:01 93b61091891f: Verifying Checksum 22:43:01 93b61091891f: Download complete 22:43:01 93b9cdb0e59b: Verifying Checksum 22:43:01 93b9cdb0e59b: Download complete 22:43:01 5e14af77c1be: Verifying Checksum 22:43:01 5e14af77c1be: Download complete 22:43:01 01666e4c0597: Verifying Checksum 22:43:01 01666e4c0597: Download complete 22:43:01 8ad3a11d3b57: Verifying Checksum 22:43:01 8ad3a11d3b57: Download complete 22:43:02 df20fa9351a1: Pull complete 22:43:02 36b3adc4ff6f: Pull complete 22:43:03 8ad3a11d3b57: Pull complete 22:43:03 46f8f816bc3b: Pull complete 22:43:04 aa168da1d23b: Verifying Checksum 22:43:04 aa168da1d23b: Download complete 22:43:04 93b61091891f: Pull complete 22:43:04 93b9cdb0e59b: Pull complete 22:43:04 5e14af77c1be: Pull complete 22:43:04 01666e4c0597: Pull complete 22:43:12 aa168da1d23b: Pull complete 22:43:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:43:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:43:13 prd-centos7-docker-4c-2g-31272 does not seem to be running inside a container 22:43:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:43:16 $ docker top 82883d622bc060dd1796399bc4dc3a06c1c983cbdbf57c5f010963a01fbf93d8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:16 + touch /tmp/pre-build-complete [Pipeline] sh 22:43:16 + mkdir -p /var/log/sa [Pipeline] sh 22:43:17 + ls /var/log/sa-host 22:43:17 + sadf -c /var/log/sa-host/sa23 22:43:17 file_magic: OK 22:43:17 HZ: Using current value: 100 22:43:17 file_header: OK 22:43:17 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:43:17 Statistics: 22:43:17 Hnuu...uuuununununu... 22:43:17 File successfully converted to sysstat format version 12.2.1 22:43:17 + sadf -c /var/log/sa-host/sa24 22:43:17 file_magic: OK 22:43:17 HZ: Using current value: 100 22:43:17 file_header: OK 22:43:17 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:43:17 Statistics: 22:43:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:43:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:17 provisioning config files... 22:43:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5398721574086300213tmp [Pipeline] { [Pipeline] echo 22:43:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:43:18 ---> create-netrc.sh [Pipeline] } 22:43:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:43:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:43:18 ---> python-tools-install.sh [Pipeline] echo 22:43:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:43:19 ---> sudo-logs.sh 22:43:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:43:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:43:19 ---> job-cost.sh 22:43:19 lf-activate-venv: SKIPPING 22:43:19 DEBUG: total: 0.20999999344348907 22:43:19 INFO: Retrieving Stack Cost... 22:43:20 INFO: Retrieving Pricing Info for: v1-standard-2 22:43:20 INFO: Archiving Costs [Pipeline] echo 22:43:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:43:21 ---> logs-deploy.sh 22:43:21 lf-activate-venv: SKIPPING 22:43:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/201 22:43:21 INFO: archiving workspace using pattern(s): 22:43:22 Archives upload complete. 22:43:22 INFO: archiving logs to Nexus