Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 31d53820897474db1e91be20d42ca7dc6cb60a35 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-320 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 31d53820897474db1e91be20d42ca7dc6cb60a35 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 Commit message: "build: Fix workflow for GitHub actions (#789)" > git rev-list --no-walk 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-15T18:04:31.033Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-15T18:04:31.136Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-15T18:04:31.164Z] ========================================================= [2021-04-15T18:04:31.164Z] EdgeX Global Pipelines Version Info [2021-04-15T18:04:31.164Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:04:32.673Z] ------------------- [2021-04-15T18:04:32.673Z] stable info: [2021-04-15T18:04:32.673Z] ------------------- [2021-04-15T18:04:32.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-15T18:04:32.673Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-15T18:04:32.673Z] Message: update stable to v1.0.186 [2021-04-15T18:04:33.618Z] ------------------- [2021-04-15T18:04:33.618Z] experimental info: [2021-04-15T18:04:33.618Z] ------------------- [2021-04-15T18:04:33.618Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-15T18:04:33.618Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-15T18:04:33.618Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-15T18:04:33.753Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-15T18:04:33.776Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-15T18:04:33.798Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-15T18:04:33.823Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-15T18:04:33.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-15T18:04:33.869Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-15T18:04:33.891Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-15T18:04:33.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-15T18:04:33.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-15T18:04:33.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-15T18:04:33.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-15T18:04:34.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-15T18:04:34.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-15T18:04:34.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-15T18:04:34.074Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T18:04:34.098Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T18:04:34.120Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T18:04:34.142Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T18:04:34.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-15T18:04:34.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-15T18:04:34.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-15T18:04:34.239Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-15T18:04:34.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-15T18:04:34.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-15T18:04:34.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-15T18:04:34.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-15T18:04:34.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-15T18:04:34.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-15T18:04:34.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-15T18:04:34.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31d53820897474db1e91be20d42ca7dc6cb60a35 [Pipeline] echo [2021-04-15T18:04:34.449Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31d5382 [Pipeline] echo [2021-04-15T18:04:34.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T18:04:34.885Z] + git log --format=format:%s -1 31d53820897474db1e91be20d42ca7dc6cb60a35 [Pipeline] echo [2021-04-15T18:04:34.960Z] GIT_COMMIT: 31d53820897474db1e91be20d42ca7dc6cb60a35, Commit Message: build: Fix workflow for GitHub actions (#789) [Pipeline] echo [2021-04-15T18:04:34.973Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:04:35.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:04:35.875Z] [2021-04-15T18:04:35.875Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:04:36.188Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:04:36.188Z] latest: Pulling from edgex-devops/git-semver [2021-04-15T18:04:36.188Z] 31603596830f: Pulling fs layer [2021-04-15T18:04:36.188Z] 2a8b12db71e7: Pulling fs layer [2021-04-15T18:04:36.188Z] 6ca5941a6612: Pulling fs layer [2021-04-15T18:04:36.188Z] ecc8261a40a4: Pulling fs layer [2021-04-15T18:04:36.188Z] ecc8261a40a4: Waiting [2021-04-15T18:04:36.188Z] 2a8b12db71e7: Verifying Checksum [2021-04-15T18:04:36.188Z] 2a8b12db71e7: Download complete [2021-04-15T18:04:36.458Z] 31603596830f: Verifying Checksum [2021-04-15T18:04:36.458Z] 31603596830f: Download complete [2021-04-15T18:04:36.458Z] ecc8261a40a4: Verifying Checksum [2021-04-15T18:04:36.458Z] ecc8261a40a4: Download complete [2021-04-15T18:04:36.458Z] 6ca5941a6612: Verifying Checksum [2021-04-15T18:04:36.458Z] 6ca5941a6612: Download complete [2021-04-15T18:04:36.732Z] 31603596830f: Pull complete [2021-04-15T18:04:36.732Z] 2a8b12db71e7: Pull complete [2021-04-15T18:04:37.683Z] 6ca5941a6612: Pull complete [2021-04-15T18:04:37.683Z] ecc8261a40a4: Pull complete [2021-04-15T18:04:37.683Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-15T18:04:37.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:04:37.683Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-15T18:04:37.783Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:04:37.830Z] $ 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 [2021-04-15T18:04:39.698Z] $ docker top ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T18:04:39.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T18:04:39.837Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T18:04:40.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T18:04:40.040Z] $ docker exec ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 ssh-agent [2021-04-15T18:04:40.196Z] SSH_AUTH_SOCK=/tmp/ssh-UVpLP7gvE9fc/agent.12 [2021-04-15T18:04:40.196Z] SSH_AGENT_PID=17 [2021-04-15T18:04:40.207Z] Running ssh-add (command line suppressed) [2021-04-15T18:04:40.322Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3031344550375976057.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3031344550375976057.key) [2021-04-15T18:04:40.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T18:04:40.663Z] + git tag --points-at HEAD [Pipeline] } [2021-04-15T18:04:40.686Z] $ docker exec --env ******** --env ******** ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 ssh-agent -k [2021-04-15T18:04:40.797Z] unset SSH_AUTH_SOCK; [2021-04-15T18:04:40.798Z] unset SSH_AGENT_PID; [2021-04-15T18:04:40.798Z] echo Agent pid 17 killed; [2021-04-15T18:04:40.839Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-15T18:04:40.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T18:04:40.878Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T18:04:41.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T18:04:41.038Z] $ docker exec ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 ssh-agent [2021-04-15T18:04:41.185Z] SSH_AUTH_SOCK=/tmp/ssh-7EJqvCphEVQu/agent.46 [2021-04-15T18:04:41.185Z] SSH_AGENT_PID=51 [2021-04-15T18:04:41.191Z] Running ssh-add (command line suppressed) [2021-04-15T18:04:41.312Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4578165303605858936.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4578165303605858936.key) [2021-04-15T18:04:41.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T18:04:41.654Z] + git semver init [2021-04-15T18:04:41.654Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T18:04:41.654Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T18:04:41.654Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T18:04:41.654Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T18:04:41.654Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T18:04:41.654Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T18:04:41.654Z] # $SEMVER_BRANCH = master [2021-04-15T18:04:41.654Z] # $SEMVER_TEMP = /tmp/semver-081114570 [2021-04-15T18:04:41.654Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-15T18:04:44.961Z] # '/tmp/semver-081114570' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-15T18:04:44.961Z] # -> Force: false [2021-04-15T18:04:44.961Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-15T18:04:44.977Z] $ docker exec --env ******** --env ******** ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 ssh-agent -k [2021-04-15T18:04:45.081Z] unset SSH_AUTH_SOCK; [2021-04-15T18:04:45.082Z] unset SSH_AGENT_PID; [2021-04-15T18:04:45.082Z] echo Agent pid 51 killed; [2021-04-15T18:04:45.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T18:04:45.466Z] + git semver [Pipeline] } [2021-04-15T18:04:45.486Z] $ docker stop --time=1 ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 [2021-04-15T18:04:46.925Z] $ docker rm -f ae7f6f6a43f84bbaba2c2072b868d29fe711989b5298b96c5629f8af61b1d814 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T18:04:47.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-15T18:04:47.646Z] Stashed 1 file(s) [Pipeline] echo [2021-04-15T18:04:47.649Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.45 [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 [2021-04-15T18:05:02.807Z] Still waiting to schedule task [2021-04-15T18:05:02.808Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-15T18:05:02.810Z] Still waiting to schedule task [2021-04-15T18:05:02.810Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-317’ is offline [2021-04-15T18:06:50.884Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-321 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-15T18:06:50.904Z] Running in /w/workspace/app-functions-sdk-go/214 [Pipeline] { [Pipeline] checkout [2021-04-15T18:06:56.285Z] using credential edgex-jenkins-ssh [2021-04-15T18:06:56.307Z] Cloning the remote Git repository [2021-04-15T18:06:56.425Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:06:56.629Z] > git init /w/workspace/app-functions-sdk-go/214 # timeout=10 [2021-04-15T18:06:56.688Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:06:56.689Z] > git --version # timeout=10 [2021-04-15T18:06:56.705Z] > git --version # 'git version 2.17.1' [2021-04-15T18:06:56.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T18:06:56.780Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T18:07:00.567Z] Checking out Revision 31d53820897474db1e91be20d42ca7dc6cb60a35 (master) [2021-04-15T18:06:59.895Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T18:06:59.915Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T18:06:59.939Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T18:06:59.974Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:06:59.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T18:06:59.988Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T18:07:00.589Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T18:07:00.619Z] > git checkout -f 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 [2021-04-15T18:07:04.982Z] Commit message: "build: Fix workflow for GitHub actions (#789)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T18:07:06.589Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-15T18:07:07.006Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T18:07:07.349Z] + sudo service docker restart [2021-04-15T18:07:07.349Z] + true [Pipeline] unstash [Pipeline] echo [2021-04-15T18:07:09.608Z] ========================================================= [2021-04-15T18:07:09.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-15T18:07:09.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:07:09.964Z] + 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 . [2021-04-15T18:07:11.948Z] Sending build context to Docker daemon 19.46MB [2021-04-15T18:07:11.948Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T18:07:11.948Z] Step 2/8 : FROM ${BASE} [2021-04-15T18:07:12.224Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-15T18:07:12.224Z] 5f621e34cdf4: Pulling fs layer [2021-04-15T18:07:12.224Z] a4357932f1b6: Pulling fs layer [2021-04-15T18:07:12.224Z] 18c013af1878: Pulling fs layer [2021-04-15T18:07:12.224Z] 00ac8860ef70: Pulling fs layer [2021-04-15T18:07:12.224Z] 63d7cb157983: Pulling fs layer [2021-04-15T18:07:12.224Z] b116817d02f9: Pulling fs layer [2021-04-15T18:07:12.224Z] 745a02a5169b: Pulling fs layer [2021-04-15T18:07:12.224Z] 00ac8860ef70: Waiting [2021-04-15T18:07:12.224Z] 63d7cb157983: Waiting [2021-04-15T18:07:12.224Z] b116817d02f9: Waiting [2021-04-15T18:07:12.224Z] 18c013af1878: Download complete [2021-04-15T18:07:12.224Z] a4357932f1b6: Verifying Checksum [2021-04-15T18:07:12.224Z] a4357932f1b6: Download complete [2021-04-15T18:07:12.224Z] 63d7cb157983: Verifying Checksum [2021-04-15T18:07:12.224Z] 63d7cb157983: Download complete [2021-04-15T18:07:12.510Z] b116817d02f9: Verifying Checksum [2021-04-15T18:07:12.510Z] b116817d02f9: Download complete [2021-04-15T18:07:12.510Z] 5f621e34cdf4: Verifying Checksum [2021-04-15T18:07:12.510Z] 5f621e34cdf4: Download complete [2021-04-15T18:07:13.130Z] 5f621e34cdf4: Pull complete [2021-04-15T18:07:13.740Z] a4357932f1b6: Pull complete [2021-04-15T18:07:14.017Z] 18c013af1878: Pull complete [2021-04-15T18:07:14.993Z] 745a02a5169b: Verifying Checksum [2021-04-15T18:07:14.993Z] 745a02a5169b: Download complete [2021-04-15T18:07:16.427Z] 00ac8860ef70: Verifying Checksum [2021-04-15T18:07:16.427Z] 00ac8860ef70: Download complete [2021-04-15T18:07:26.601Z] 00ac8860ef70: Pull complete [2021-04-15T18:07:26.601Z] 63d7cb157983: Pull complete [2021-04-15T18:07:26.874Z] b116817d02f9: Pull complete [2021-04-15T18:07:31.205Z] 745a02a5169b: Pull complete [2021-04-15T18:07:31.205Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-15T18:07:31.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-15T18:07:31.205Z] ---> b7e6874047d6 [2021-04-15T18:07:31.205Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T18:07:31.205Z] 20.10.0: Pulling from library/docker [2021-04-15T18:07:31.205Z] a3cc7d3b244e: Pulling fs layer [2021-04-15T18:07:31.205Z] 02a3295e0d61: Pulling fs layer [2021-04-15T18:07:31.205Z] 0f4f2e6d8100: Pulling fs layer [2021-04-15T18:07:31.205Z] 330b718f631f: Pulling fs layer [2021-04-15T18:07:31.205Z] a93816041522: Pulling fs layer [2021-04-15T18:07:31.205Z] bdb6da89ff94: Pulling fs layer [2021-04-15T18:07:31.205Z] 330b718f631f: Waiting [2021-04-15T18:07:31.205Z] 2a70c0c122f4: Pulling fs layer [2021-04-15T18:07:31.205Z] a93816041522: Waiting [2021-04-15T18:07:31.205Z] bdb6da89ff94: Waiting [2021-04-15T18:07:31.205Z] 2a70c0c122f4: Waiting [2021-04-15T18:07:31.205Z] 0f4f2e6d8100: Verifying Checksum [2021-04-15T18:07:31.205Z] 0f4f2e6d8100: Download complete [2021-04-15T18:07:31.205Z] 02a3295e0d61: Download complete [2021-04-15T18:07:31.205Z] a3cc7d3b244e: Verifying Checksum [2021-04-15T18:07:31.205Z] a3cc7d3b244e: Download complete [2021-04-15T18:07:31.205Z] a93816041522: Verifying Checksum [2021-04-15T18:07:31.205Z] a93816041522: Download complete [2021-04-15T18:07:31.205Z] bdb6da89ff94: Verifying Checksum [2021-04-15T18:07:31.205Z] bdb6da89ff94: Download complete [2021-04-15T18:07:31.205Z] 2a70c0c122f4: Verifying Checksum [2021-04-15T18:07:31.205Z] 2a70c0c122f4: Download complete [2021-04-15T18:07:31.811Z] a3cc7d3b244e: Pull complete [2021-04-15T18:07:32.797Z] 02a3295e0d61: Pull complete [2021-04-15T18:07:33.079Z] 330b718f631f: Verifying Checksum [2021-04-15T18:07:33.079Z] 330b718f631f: Download complete [2021-04-15T18:07:33.079Z] 0f4f2e6d8100: Pull complete [2021-04-15T18:07:37.425Z] 330b718f631f: Pull complete [2021-04-15T18:07:37.425Z] a93816041522: Pull complete [2021-04-15T18:07:37.425Z] bdb6da89ff94: Pull complete [2021-04-15T18:07:38.024Z] 2a70c0c122f4: Pull complete [2021-04-15T18:07:38.024Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T18:07:38.024Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-15T18:07:44.763Z] ---> 040d2e0671a4 [2021-04-15T18:07:44.763Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T18:07:44.763Z] ---> Running in 320209a7ae09 [2021-04-15T18:07:44.763Z] Removing intermediate container 320209a7ae09 [2021-04-15T18:07:44.763Z] ---> 99775ecf2ed4 [2021-04-15T18:07:44.763Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T18:07:44.763Z] ---> Running in 34e2f72614e4 [2021-04-15T18:07:46.210Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T18:07:46.421Z] Running on prd-centos7-docker-4c-2g-322 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-15T18:07:46.438Z] Running in /w/workspace/app-functions-sdk-go/214 [Pipeline] { [Pipeline] checkout [2021-04-15T18:07:46.806Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T18:07:47.399Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T18:07:47.399Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T18:07:47.668Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T18:07:47.668Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T18:07:47.938Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T18:07:47.938Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T18:07:47.938Z] OK: 144 MiB in 44 packages [2021-04-15T18:07:49.150Z] using credential edgex-jenkins-ssh [2021-04-15T18:07:49.165Z] Cloning the remote Git repository [2021-04-15T18:07:49.369Z] Removing intermediate container 34e2f72614e4 [2021-04-15T18:07:49.369Z] ---> 3f3faddebec0 [2021-04-15T18:07:49.369Z] Step 6/8 : WORKDIR /build [2021-04-15T18:07:49.369Z] ---> Running in 4190a0b0de87 [2021-04-15T18:07:49.964Z] Removing intermediate container 4190a0b0de87 [2021-04-15T18:07:49.964Z] ---> 36b4f1dab106 [2021-04-15T18:07:49.964Z] Step 7/8 : COPY go.mod . [2021-04-15T18:07:49.192Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:07:49.260Z] > git init /w/workspace/app-functions-sdk-go/214 # timeout=10 [2021-04-15T18:07:49.340Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:07:49.340Z] > git --version # timeout=10 [2021-04-15T18:07:49.348Z] > git --version # 'git version 2.24.3' [2021-04-15T18:07:49.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T18:07:49.385Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T18:07:50.559Z] ---> 805347b5f383 [2021-04-15T18:07:50.559Z] Step 8/8 : RUN go mod download [2021-04-15T18:07:50.835Z] ---> Running in 6b64f4cb8231 [2021-04-15T18:07:50.892Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T18:07:50.900Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T18:07:50.914Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T18:07:50.925Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T18:07:50.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T18:07:50.930Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T18:07:51.362Z] Checking out Revision 31d53820897474db1e91be20d42ca7dc6cb60a35 (master) [2021-04-15T18:07:51.373Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T18:07:51.378Z] > git checkout -f 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 [2021-04-15T18:07:55.032Z] Commit message: "build: Fix workflow for GitHub actions (#789)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T18:07:56.040Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-15T18:07:56.371Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T18:07:56.677Z] + sudo service docker restart [2021-04-15T18:07:56.677Z] + true [2021-04-15T18:07:56.677Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-15T18:07:57.753Z] ========================================================= [2021-04-15T18:07:57.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-15T18:07:57.754Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:07:58.075Z] + 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 . [2021-04-15T18:07:58.653Z] Sending build context to Docker daemon 19.48MB [2021-04-15T18:07:58.653Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T18:07:58.653Z] Step 2/8 : FROM ${BASE} [2021-04-15T18:07:58.653Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-15T18:07:58.653Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T18:07:58.653Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T18:07:58.653Z] de9db76c5a1d: Pulling fs layer [2021-04-15T18:07:58.653Z] bca2f99d35d6: Pulling fs layer [2021-04-15T18:07:58.653Z] 93359f2a8cfa: Pulling fs layer [2021-04-15T18:07:58.653Z] 7c6f9722023f: Pulling fs layer [2021-04-15T18:07:58.653Z] a35cf1a2eb13: Pulling fs layer [2021-04-15T18:07:58.653Z] bca2f99d35d6: Waiting [2021-04-15T18:07:58.653Z] 93359f2a8cfa: Waiting [2021-04-15T18:07:58.653Z] a35cf1a2eb13: Waiting [2021-04-15T18:07:58.653Z] 7c6f9722023f: Waiting [2021-04-15T18:07:58.653Z] de9db76c5a1d: Verifying Checksum [2021-04-15T18:07:58.653Z] de9db76c5a1d: Download complete [2021-04-15T18:07:58.653Z] 0ef7d3d256c8: Download complete [2021-04-15T18:07:58.918Z] 93359f2a8cfa: Verifying Checksum [2021-04-15T18:07:58.918Z] 93359f2a8cfa: Download complete [2021-04-15T18:07:58.918Z] 7c6f9722023f: Verifying Checksum [2021-04-15T18:07:58.918Z] 7c6f9722023f: Download complete [2021-04-15T18:07:58.918Z] 188c0c94c7c5: Verifying Checksum [2021-04-15T18:07:58.918Z] 188c0c94c7c5: Download complete [2021-04-15T18:07:59.186Z] 188c0c94c7c5: Pull complete [2021-04-15T18:07:59.450Z] 0ef7d3d256c8: Pull complete [2021-04-15T18:07:59.715Z] de9db76c5a1d: Pull complete [2021-04-15T18:08:01.111Z] a35cf1a2eb13: Verifying Checksum [2021-04-15T18:08:01.111Z] a35cf1a2eb13: Download complete [2021-04-15T18:08:01.689Z] bca2f99d35d6: Verifying Checksum [2021-04-15T18:08:01.689Z] bca2f99d35d6: Download complete [2021-04-15T18:08:07.021Z] bca2f99d35d6: Pull complete [2021-04-15T18:08:07.021Z] 93359f2a8cfa: Pull complete [2021-04-15T18:08:07.296Z] 7c6f9722023f: Pull complete [2021-04-15T18:08:17.337Z] a35cf1a2eb13: Pull complete [2021-04-15T18:08:17.337Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-15T18:08:17.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-15T18:08:17.337Z] ---> a62c8e92a672 [2021-04-15T18:08:17.337Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T18:08:17.337Z] 20.10.0: Pulling from library/docker [2021-04-15T18:08:17.337Z] 05e7bc50f07f: Pulling fs layer [2021-04-15T18:08:17.337Z] 6db28d0fdbf6: Pulling fs layer [2021-04-15T18:08:17.337Z] 292df0bc6bf3: Pulling fs layer [2021-04-15T18:08:17.337Z] 2e060f4bd70b: Pulling fs layer [2021-04-15T18:08:17.337Z] 80e8d568a223: Pulling fs layer [2021-04-15T18:08:17.337Z] 8dc6ef1a942a: Pulling fs layer [2021-04-15T18:08:17.337Z] 2312dd95470a: Pulling fs layer [2021-04-15T18:08:17.337Z] 2e060f4bd70b: Waiting [2021-04-15T18:08:17.337Z] 80e8d568a223: Waiting [2021-04-15T18:08:17.337Z] 8dc6ef1a942a: Waiting [2021-04-15T18:08:17.337Z] 2312dd95470a: Waiting [2021-04-15T18:08:17.337Z] 292df0bc6bf3: Verifying Checksum [2021-04-15T18:08:17.337Z] 292df0bc6bf3: Download complete [2021-04-15T18:08:17.337Z] 05e7bc50f07f: Verifying Checksum [2021-04-15T18:08:17.337Z] 05e7bc50f07f: Download complete [2021-04-15T18:08:17.337Z] 80e8d568a223: Verifying Checksum [2021-04-15T18:08:17.337Z] 80e8d568a223: Download complete [2021-04-15T18:08:17.337Z] 6db28d0fdbf6: Verifying Checksum [2021-04-15T18:08:17.337Z] 6db28d0fdbf6: Download complete [2021-04-15T18:08:17.337Z] 8dc6ef1a942a: Verifying Checksum [2021-04-15T18:08:17.337Z] 8dc6ef1a942a: Download complete [2021-04-15T18:08:17.337Z] 2312dd95470a: Verifying Checksum [2021-04-15T18:08:17.337Z] 2312dd95470a: Download complete [2021-04-15T18:08:17.337Z] 05e7bc50f07f: Pull complete [2021-04-15T18:08:17.337Z] 6db28d0fdbf6: Pull complete [2021-04-15T18:08:17.337Z] 292df0bc6bf3: Pull complete [2021-04-15T18:08:17.602Z] 2e060f4bd70b: Verifying Checksum [2021-04-15T18:08:17.602Z] 2e060f4bd70b: Download complete [2021-04-15T18:08:17.650Z] Removing intermediate container 6b64f4cb8231 [2021-04-15T18:08:17.650Z] ---> 441a3b771c24 [2021-04-15T18:08:17.650Z] Successfully built 441a3b771c24 [2021-04-15T18:08:17.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:08:18.003Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T18:08:18.003Z] . [Pipeline] withDockerContainer [2021-04-15T18:08:18.280Z] prd-ubuntu18.04-docker-arm64-4c-16g-321 does not seem to be running inside a container [2021-04-15T18:08:18.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/214 -v /w/workspace/app-functions-sdk-go/214:/w/workspace/app-functions-sdk-go/214:rw,z -v /w/workspace/app-functions-sdk-go/214@tmp:/w/workspace/app-functions-sdk-go/214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-15T18:08:19.949Z] $ docker top 950d93ac10999744e8fc18a63633a6b10d84afc10bb6673d9ff7ea7a822a8e30 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T18:08:20.914Z] + go version [2021-04-15T18:08:20.914Z] go version go1.15.5 linux/arm64 [2021-04-15T18:08:20.928Z] 2e060f4bd70b: Pull complete [2021-04-15T18:08:20.928Z] 80e8d568a223: Pull complete [2021-04-15T18:08:20.929Z] 8dc6ef1a942a: Pull complete [2021-04-15T18:08:20.929Z] 2312dd95470a: Pull complete [2021-04-15T18:08:20.929Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T18:08:20.929Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] } [2021-04-15T18:08:20.936Z] $ docker stop --time=1 950d93ac10999744e8fc18a63633a6b10d84afc10bb6673d9ff7ea7a822a8e30 [2021-04-15T18:08:22.324Z] ---> cddd977735eb [2021-04-15T18:08:22.324Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T18:08:22.324Z] ---> Running in 96ad3e453d48 [2021-04-15T18:08:22.590Z] Removing intermediate container 96ad3e453d48 [2021-04-15T18:08:22.590Z] ---> 6b7008c5aa1e [2021-04-15T18:08:22.590Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T18:08:22.590Z] ---> Running in 280a44397971 [2021-04-15T18:08:22.936Z] $ docker rm -f 950d93ac10999744e8fc18a63633a6b10d84afc10bb6673d9ff7ea7a822a8e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:08:23.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T18:08:23.656Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T18:08:23.656Z] . [Pipeline] withDockerContainer [2021-04-15T18:08:23.921Z] prd-ubuntu18.04-docker-arm64-4c-16g-321 does not seem to be running inside a container [2021-04-15T18:08:24.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/214 -v /w/workspace/app-functions-sdk-go/214:/w/workspace/app-functions-sdk-go/214:rw,z -v /w/workspace/app-functions-sdk-go/214@tmp:/w/workspace/app-functions-sdk-go/214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-15T18:08:24.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T18:08:24.695Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T18:08:24.958Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T18:08:24.959Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T18:08:24.959Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T18:08:25.222Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T18:08:25.222Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T18:08:25.222Z] OK: 167 MiB in 44 packages [2021-04-15T18:08:25.462Z] $ docker top 46242f9aafd286fc2b14150126555a4a1aaa2561a1fc2604109d567c73fc722d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T18:08:26.170Z] Removing intermediate container 280a44397971 [2021-04-15T18:08:26.170Z] ---> 0efa0f3398fd [2021-04-15T18:08:26.170Z] Step 6/8 : WORKDIR /build [2021-04-15T18:08:26.170Z] ---> Running in 76964f58ca2e [2021-04-15T18:08:26.170Z] Removing intermediate container 76964f58ca2e [2021-04-15T18:08:26.170Z] ---> cea628e4bb06 [2021-04-15T18:08:26.170Z] Step 7/8 : COPY go.mod . [2021-04-15T18:08:26.432Z] ---> 28fcc5837343 [2021-04-15T18:08:26.432Z] Step 8/8 : RUN go mod download [2021-04-15T18:08:26.432Z] ---> Running in 30605553e081 [2021-04-15T18:08:26.439Z] + make test [2021-04-15T18:08:26.439Z] make -C ./app-service-template build [2021-04-15T18:08:26.439Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:08:26.439Z] 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 [2021-04-15T18:08:48.462Z] Removing intermediate container 30605553e081 [2021-04-15T18:08:48.462Z] ---> 417c80411be5 [2021-04-15T18:08:48.462Z] Successfully built 417c80411be5 [2021-04-15T18:08:48.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:08:48.773Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T18:08:48.774Z] . [Pipeline] withDockerContainer [2021-04-15T18:08:48.903Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-04-15T18:08:48.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/214 -v /w/workspace/app-functions-sdk-go/214:/w/workspace/app-functions-sdk-go/214:rw,z -v /w/workspace/app-functions-sdk-go/214@tmp:/w/workspace/app-functions-sdk-go/214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-15T18:08:49.857Z] $ docker top 7f99a15134ebe370edec4734be378bfe7394de0dd0c22be84b8885be1b59af53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T18:08:50.302Z] + go version [2021-04-15T18:08:50.302Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-15T18:08:50.320Z] $ docker stop --time=1 7f99a15134ebe370edec4734be378bfe7394de0dd0c22be84b8885be1b59af53 [2021-04-15T18:08:51.659Z] $ docker rm -f 7f99a15134ebe370edec4734be378bfe7394de0dd0c22be84b8885be1b59af53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:08:52.151Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T18:08:52.151Z] . [Pipeline] withDockerContainer [2021-04-15T18:08:52.250Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-04-15T18:08:52.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/214 -v /w/workspace/app-functions-sdk-go/214:/w/workspace/app-functions-sdk-go/214:rw,z -v /w/workspace/app-functions-sdk-go/214@tmp:/w/workspace/app-functions-sdk-go/214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-15T18:08:52.909Z] $ docker top 64f02f0b750486574126e3208bb1763f407f5f7b98680b4e1d8bc0093bb696da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T18:08:53.313Z] + make test [2021-04-15T18:08:53.314Z] make -C ./app-service-template build [2021-04-15T18:08:53.314Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:08:53.314Z] 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 [2021-04-15T18:09:05.442Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:05.442Z] make -C ./app-service-template test [2021-04-15T18:09:05.442Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:05.442Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T18:09:08.366Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:08.366Z] make -C ./app-service-template test [2021-04-15T18:09:08.366Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:08.366Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T18:09:16.611Z] ok new-app-service 0.021s coverage: 47.8% of statements [2021-04-15T18:09:16.611Z] ? new-app-service/config [no test files] [2021-04-15T18:09:16.611Z] ok new-app-service/functions 0.011s [2021-04-15T18:09:16.611Z] CGO_ENABLED=1 go vet ./... [2021-04-15T18:09:19.205Z] gofmt -l . [2021-04-15T18:09:19.205Z] [ "`gofmt -l .`" = "" ] [2021-04-15T18:09:19.205Z] ./bin/test-go-mod-tidy.sh [2021-04-15T18:09:19.468Z] ./bin/test-attribution-txt.sh [2021-04-15T18:09:20.053Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:20.053Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T18:09:20.634Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 55.8% of statements [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.023s coverage: 92.5% of statements [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.033s coverage: 61.5% of statements [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.030s [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.031s coverage: 75.4% of statements [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T18:09:24.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements [2021-04-15T18:09:24.251Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T18:09:24.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements [2021-04-15T18:09:27.653Z] ok new-app-service 0.034s coverage: 47.8% of statements [2021-04-15T18:09:27.653Z] ? new-app-service/config [no test files] [2021-04-15T18:09:27.653Z] ok new-app-service/functions 0.039s [2021-04-15T18:09:27.653Z] CGO_ENABLED=1 go vet ./... [2021-04-15T18:09:28.889Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.746s coverage: 78.4% of statements [2021-04-15T18:09:28.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T18:09:28.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.026s coverage: 18.4% of statements [2021-04-15T18:09:28.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.019s coverage: 27.3% of statements [2021-04-15T18:09:28.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T18:09:28.890Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T18:09:28.890Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.014s coverage: 71.7% of statements [2021-04-15T18:09:35.982Z] gofmt -l . [2021-04-15T18:09:35.983Z] [ "`gofmt -l .`" = "" ] [2021-04-15T18:09:35.983Z] ./bin/test-go-mod-tidy.sh [2021-04-15T18:09:35.983Z] ./bin/test-attribution-txt.sh [2021-04-15T18:09:36.962Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/214/app-service-template' [2021-04-15T18:09:36.962Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T18:09:38.401Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.054s coverage: 55.8% of statements [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.037s coverage: 92.5% of statements [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 61.5% of statements [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.061s coverage: 75.4% of statements [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.040s coverage: 97.0% of statements [2021-04-15T18:09:48.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T18:09:48.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 10.5% of statements [2021-04-15T18:09:55.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.830s coverage: 78.4% of statements [2021-04-15T18:09:55.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T18:09:55.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.028s coverage: 18.4% of statements [2021-04-15T18:09:55.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.093s coverage: 27.3% of statements [2021-04-15T18:09:55.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T18:09:55.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T18:09:55.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 71.7% of statements [2021-04-15T18:09:55.515Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s coverage: 81.9% of statements [2021-04-15T18:09:55.515Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-04-15T18:09:55.515Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T18:09:55.515Z] gofmt -l . [2021-04-15T18:09:55.515Z] [ "`gofmt -l .`" = "" ] [2021-04-15T18:09:55.515Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T18:09:55.533Z] $ docker stop --time=1 64f02f0b750486574126e3208bb1763f407f5f7b98680b4e1d8bc0093bb696da [2021-04-15T18:09:57.187Z] $ docker rm -f 64f02f0b750486574126e3208bb1763f407f5f7b98680b4e1d8bc0093bb696da [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T18:09:57.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T18:09:58.106Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:09:58.780Z] ---> job-cost.sh [2021-04-15T18:09:58.780Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lC2e [2021-04-15T18:10:13.726Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T18:10:22.156Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-04-15T18:10:22.157Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-04-15T18:10:22.157Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T18:10:23.144Z] gofmt -l . [2021-04-15T18:10:23.418Z] [ "`gofmt -l .`" = "" ] [2021-04-15T18:10:24.015Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T18:10:24.629Z] $ docker stop --time=1 46242f9aafd286fc2b14150126555a4a1aaa2561a1fc2604109d567c73fc722d [2021-04-15T18:10:26.793Z] $ docker rm -f 46242f9aafd286fc2b14150126555a4a1aaa2561a1fc2604109d567c73fc722d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T18:10:27.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T18:10:27.748Z] Warning: overwriting stash ‘coverage-report’ [2021-04-15T18:10:28.799Z] 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 [2021-04-15T18:10:29.326Z] ---> job-cost.sh [2021-04-15T18:10:29.326Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-70Et [2021-04-15T18:10:45.887Z] lf-activate-venv(): INFO: Adding /tmp/venv-lC2e/bin to PATH [2021-04-15T18:10:45.887Z] INFO: No Stack... [2021-04-15T18:10:45.887Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T18:10:45.887Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T18:10:46.200Z] + cut -d, -f6 [2021-04-15T18:10:46.201Z] + cat /w/workspace/app-functions-sdk-go/214/archives/cost.csv [Pipeline] lock [2021-04-15T18:10:46.280Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] [2021-04-15T18:10:46.289Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] did not exist. Created. [2021-04-15T18:10:46.289Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T18:10:46.613Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-15T18:10:46.732Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T18:10:46.746Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-15T18:11:08.366Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T18:12:45.113Z] lf-activate-venv(): INFO: Adding /tmp/venv-70Et/bin to PATH [2021-04-15T18:12:45.113Z] INFO: No Stack... [2021-04-15T18:12:45.113Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-15T18:12:45.113Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T18:12:45.456Z] + cat /w/workspace/app-functions-sdk-go/214/archives/cost.csv [2021-04-15T18:12:45.456Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T18:12:45.572Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] [2021-04-15T18:12:45.582Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] did not exist. Created. [2021-04-15T18:12:45.583Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T18:12:45.954Z] /w/workspace/app-functions-sdk-go/214@tmp/durable-3682bbfe/script.sh: 1: /w/workspace/app-functions-sdk-go/214@tmp/durable-3682bbfe/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-15T18:12:46.296Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-15T18:12:46.327Z] Warning: overwriting stash ‘stack-cost’ [2021-04-15T18:12:46.486Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T18:12:46.497Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-214-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 [2021-04-15T18:12:47.082Z] provisioning config files... [2021-04-15T18:12:47.095Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1463048316163501804tmp [Pipeline] { [Pipeline] sh [2021-04-15T18:12:47.409Z] + set +x [2021-04-15T18:12:47.409Z] + curl -s https://codecov.io/bash [2021-04-15T18:12:47.409Z] + bash -s -- [2021-04-15T18:12:47.674Z] [2021-04-15T18:12:47.674Z] _____ _ [2021-04-15T18:12:47.674Z] / ____| | | [2021-04-15T18:12:47.674Z] | | ___ __| | ___ ___ _____ __ [2021-04-15T18:12:47.674Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-15T18:12:47.674Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-15T18:12:47.674Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-15T18:12:47.674Z] Bash-1.0.1 [2021-04-15T18:12:47.674Z] [2021-04-15T18:12:47.674Z] [2021-04-15T18:12:47.674Z] ==> git version 2.24.3 found [2021-04-15T18:12:47.674Z] ==> 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 [2021-04-15T18:12:47.674Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-15T18:12:47.674Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-15T18:12:47.674Z] ==> Jenkins CI detected. [2021-04-15T18:12:47.674Z] project root: . [2021-04-15T18:12:47.674Z] --> token set from env [2021-04-15T18:12:47.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-15T18:12:47.674Z] ==> Running gcov in . (disable via -X gcov) [2021-04-15T18:12:47.674Z] ==> Python coveragepy not found [2021-04-15T18:12:47.674Z] ==> Searching for coverage reports in: [2021-04-15T18:12:47.674Z] + . [2021-04-15T18:12:47.674Z] -> Found 2 reports [2021-04-15T18:12:47.674Z] ==> Detecting git/mercurial file structure [2021-04-15T18:12:47.674Z] ==> Reading reports [2021-04-15T18:12:47.674Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-15T18:12:47.674Z] + ./coverage.out bytes=86827 [2021-04-15T18:12:47.674Z] ==> Appending adjustments [2021-04-15T18:12:47.674Z] https://docs.codecov.io/docs/fixing-reports [2021-04-15T18:12:48.249Z] + Found adjustments [2021-04-15T18:12:48.249Z] ==> Gzipping contents [2021-04-15T18:12:48.249Z] 16K /tmp/codecov.q7Ud1E.gz [2021-04-15T18:12:48.249Z] ==> Uploading reports [2021-04-15T18:12:48.249Z] url: https://codecov.io [2021-04-15T18:12:48.249Z] query: branch=master&commit=31d53820897474db1e91be20d42ca7dc6cb60a35&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F214%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-15T18:12:48.249Z] -> Pinging Codecov [2021-04-15T18:12:48.249Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=31d53820897474db1e91be20d42ca7dc6cb60a35&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F214%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-15T18:12:48.510Z] -> Uploading to [2021-04-15T18:12:48.511Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-15/3D8B5DFFC46A037C893635FACE044666/31d53820897474db1e91be20d42ca7dc6cb60a35/fc1e14ee-6b6c-4819-ab87-992fa55ba5bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210415T181248Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f6cc7b61013a0ba12257a5689f659c58dde2da98bbb093d89e8b375526a6c17 [2021-04-15T18:12:48.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T18:12:48.771Z] Dload Upload Total Spent Left Speed [2021-04-15T18:12:49.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15282 0 0 100 15282 0 32787 --:--:-- --:--:-- --:--:-- 32864 [2021-04-15T18:12:49.033Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/31d53820897474db1e91be20d42ca7dc6cb60a35 [Pipeline] } [2021-04-15T18:12:49.042Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-15T18:12:49.650Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-15T18:12:49.675Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:12:50.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T18:12:50.113Z] [2021-04-15T18:12:50.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:12:50.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T18:12:50.442Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-15T18:12:50.442Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T18:12:50.442Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T18:12:50.442Z] de9db76c5a1d: Pulling fs layer [2021-04-15T18:12:50.442Z] 0eba1c9be4d2: Pulling fs layer [2021-04-15T18:12:50.442Z] 0d57e429df01: Pulling fs layer [2021-04-15T18:12:50.442Z] 4e4be7b47b0d: Pulling fs layer [2021-04-15T18:12:50.442Z] e1f770b5df2f: Pulling fs layer [2021-04-15T18:12:50.442Z] 85a0685a4137: Pulling fs layer [2021-04-15T18:12:50.442Z] 0d57e429df01: Waiting [2021-04-15T18:12:50.442Z] 4e4be7b47b0d: Waiting [2021-04-15T18:12:50.442Z] e1f770b5df2f: Waiting [2021-04-15T18:12:50.442Z] 85a0685a4137: Waiting [2021-04-15T18:12:50.442Z] 0eba1c9be4d2: Waiting [2021-04-15T18:12:50.442Z] de9db76c5a1d: Download complete [2021-04-15T18:12:50.442Z] 0ef7d3d256c8: Verifying Checksum [2021-04-15T18:12:50.442Z] 0ef7d3d256c8: Download complete [2021-04-15T18:12:50.442Z] 0d57e429df01: Verifying Checksum [2021-04-15T18:12:50.442Z] 0d57e429df01: Download complete [2021-04-15T18:12:50.442Z] 4e4be7b47b0d: Verifying Checksum [2021-04-15T18:12:50.442Z] 4e4be7b47b0d: Download complete [2021-04-15T18:12:50.704Z] 188c0c94c7c5: Download complete [2021-04-15T18:12:50.704Z] 188c0c94c7c5: Pull complete [2021-04-15T18:12:50.971Z] 0ef7d3d256c8: Pull complete [2021-04-15T18:12:51.235Z] de9db76c5a1d: Pull complete [2021-04-15T18:12:52.642Z] e1f770b5df2f: Verifying Checksum [2021-04-15T18:12:52.642Z] e1f770b5df2f: Download complete [2021-04-15T18:12:54.032Z] 0eba1c9be4d2: Verifying Checksum [2021-04-15T18:12:54.032Z] 0eba1c9be4d2: Download complete [2021-04-15T18:12:54.292Z] 85a0685a4137: Verifying Checksum [2021-04-15T18:12:54.292Z] 85a0685a4137: Download complete [2021-04-15T18:12:59.597Z] 0eba1c9be4d2: Pull complete [2021-04-15T18:12:59.597Z] 0d57e429df01: Pull complete [2021-04-15T18:12:59.597Z] 4e4be7b47b0d: Pull complete [2021-04-15T18:13:02.149Z] e1f770b5df2f: Pull complete [2021-04-15T18:13:08.779Z] 85a0685a4137: Pull complete [2021-04-15T18:13:08.779Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-15T18:13:08.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T18:13:08.779Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-15T18:13:08.943Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:13:08.991Z] $ 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 [2021-04-15T18:13:09.863Z] $ docker top 885011ed12e94273e401ffa278be93902a1ca9f11dbeffd0a335b23b140ce507 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-15T18:13:09.983Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-15T18:13:10.277Z] + set -o pipefail [2021-04-15T18:13:10.277Z] + snyk monitor '--org=edgex-jenkins' [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/7becc05e-4f4a-4f3f-b4bf-dceb50ca07f8 [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] [2021-04-15T18:13:18.420Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-15T18:13:18.420Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-15T18:13:18.438Z] $ docker stop --time=1 885011ed12e94273e401ffa278be93902a1ca9f11dbeffd0a335b23b140ce507 [2021-04-15T18:13:21.100Z] $ docker rm -f 885011ed12e94273e401ffa278be93902a1ca9f11dbeffd0a335b23b140ce507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-04-15T18:13:21.908Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T18:13:21.928Z] provisioning config files... [2021-04-15T18:13:21.937Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1500503740828733907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:13:22.251Z] --> edgex-publish-swagger.sh [2021-04-15T18:13:22.251Z] === Publish openapi/v2 API === [2021-04-15T18:13:22.251Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-15T18:13:22.251Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-15T18:13:22.251Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T18:13:22.251Z] Dload Upload Total Spent Left Speed [2021-04-15T18:13:23.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12001 0:00:01 0:00:01 --:--:-- 12018 100 13052 0 0 100 13052 0 11999 0:00:01 0:00:01 --:--:-- 12018 [2021-04-15T18:13:23.194Z] [2021-04-15T18:13:23.194Z] [Pipeline] } [2021-04-15T18:13:23.203Z] 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 [2021-04-15T18:13:23.660Z] + git log --format=format:%s -1 31d53820897474db1e91be20d42ca7dc6cb60a35 [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:13:23.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:13:23.965Z] . [Pipeline] withDockerContainer [2021-04-15T18:13:24.060Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:13:24.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-15T18:13:24.756Z] $ docker top e6a76e18eea721b2b3df63e9ca602334f49d696e5b83a840d9713b2c2f574d73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T18:13:24.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T18:13:24.923Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T18:13:25.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T18:13:25.132Z] $ docker exec e6a76e18eea721b2b3df63e9ca602334f49d696e5b83a840d9713b2c2f574d73 ssh-agent [2021-04-15T18:13:25.300Z] SSH_AUTH_SOCK=/tmp/ssh-QuaqQq4PLaII/agent.12 [2021-04-15T18:13:25.300Z] SSH_AGENT_PID=18 [2021-04-15T18:13:25.307Z] Running ssh-add (command line suppressed) [2021-04-15T18:13:25.438Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3844245629946743055.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3844245629946743055.key) [2021-04-15T18:13:25.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T18:13:25.797Z] + git semver tag [2021-04-15T18:13:25.797Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T18:13:25.797Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T18:13:25.797Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T18:13:25.797Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T18:13:25.797Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T18:13:25.797Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T18:13:25.797Z] # $SEMVER_BRANCH = master [2021-04-15T18:13:25.797Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-15T18:13:25.797Z] # 31d53820897474db1e91be20d42ca7dc6cb60a35 HEAD [2021-04-15T18:13:25.797Z] # -> Force: false [2021-04-15T18:13:25.797Z] # c779e48e03729216d21a3d7c2585fd96f58a827c refs/tags/v2.0.0-dev.45 [Pipeline] } [2021-04-15T18:13:25.816Z] $ docker exec --env ******** --env ******** e6a76e18eea721b2b3df63e9ca602334f49d696e5b83a840d9713b2c2f574d73 ssh-agent -k [2021-04-15T18:13:25.938Z] unset SSH_AUTH_SOCK; [2021-04-15T18:13:25.939Z] unset SSH_AGENT_PID; [2021-04-15T18:13:25.939Z] echo Agent pid 18 killed; [2021-04-15T18:13:25.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T18:13:26.321Z] + git semver [Pipeline] } [2021-04-15T18:13:26.341Z] $ docker stop --time=1 e6a76e18eea721b2b3df63e9ca602334f49d696e5b83a840d9713b2c2f574d73 [2021-04-15T18:13:27.686Z] $ docker rm -f e6a76e18eea721b2b3df63e9ca602334f49d696e5b83a840d9713b2c2f574d73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:13:28.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T18:13:28.158Z] [2021-04-15T18:13:28.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:13:28.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T18:13:28.466Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-15T18:13:28.466Z] ab5ef0e58194: Pulling fs layer [2021-04-15T18:13:28.466Z] 9712f1f96733: Pulling fs layer [2021-04-15T18:13:28.466Z] 63f879dbbcfc: Pulling fs layer [2021-04-15T18:13:28.466Z] 0d9ebad4ef96: Pulling fs layer [2021-04-15T18:13:28.466Z] e9a5061849ea: Pulling fs layer [2021-04-15T18:13:28.466Z] d747dcd14b5f: Pulling fs layer [2021-04-15T18:13:28.466Z] 2de7ff778b66: Pulling fs layer [2021-04-15T18:13:28.466Z] 0d9ebad4ef96: Waiting [2021-04-15T18:13:28.466Z] e9a5061849ea: Waiting [2021-04-15T18:13:28.466Z] d747dcd14b5f: Waiting [2021-04-15T18:13:28.466Z] 2de7ff778b66: Waiting [2021-04-15T18:13:28.466Z] 9712f1f96733: Verifying Checksum [2021-04-15T18:13:28.466Z] 9712f1f96733: Download complete [2021-04-15T18:13:29.860Z] 63f879dbbcfc: Verifying Checksum [2021-04-15T18:13:29.860Z] 63f879dbbcfc: Download complete [2021-04-15T18:13:30.123Z] e9a5061849ea: Verifying Checksum [2021-04-15T18:13:30.123Z] e9a5061849ea: Download complete [2021-04-15T18:13:30.123Z] d747dcd14b5f: Verifying Checksum [2021-04-15T18:13:30.123Z] d747dcd14b5f: Download complete [2021-04-15T18:13:30.703Z] 2de7ff778b66: Verifying Checksum [2021-04-15T18:13:30.703Z] 2de7ff778b66: Download complete [2021-04-15T18:13:30.703Z] 0d9ebad4ef96: Verifying Checksum [2021-04-15T18:13:30.703Z] 0d9ebad4ef96: Download complete [2021-04-15T18:13:30.963Z] ab5ef0e58194: Verifying Checksum [2021-04-15T18:13:30.963Z] ab5ef0e58194: Download complete [2021-04-15T18:13:36.261Z] ab5ef0e58194: Pull complete [2021-04-15T18:13:36.261Z] 9712f1f96733: Pull complete [2021-04-15T18:13:38.186Z] 63f879dbbcfc: Pull complete [2021-04-15T18:13:43.503Z] 0d9ebad4ef96: Pull complete [2021-04-15T18:13:46.817Z] e9a5061849ea: Pull complete [2021-04-15T18:13:46.817Z] d747dcd14b5f: Pull complete [2021-04-15T18:13:48.209Z] 2de7ff778b66: Pull complete [2021-04-15T18:13:48.209Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-15T18:13:48.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T18:13:48.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-15T18:13:48.354Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:13:48.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-15T18:13:51.640Z] $ docker top 7f769839df30f617fd2e2838d4a147b6e00f5fb6c90297c86eb83465f3eae09f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-15T18:13:51.777Z] provisioning config files... [2021-04-15T18:13:51.786Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3919592617093390449tmp [2021-04-15T18:13:51.800Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4934051366349363314tmp [2021-04-15T18:13:51.813Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4323944826466535127tmp [Pipeline] { [Pipeline] echo [2021-04-15T18:13:51.832Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:13:52.140Z] ---> sigul-configuration.sh [2021-04-15T18:13:52.140Z] gpg: directory `/root/.gnupg' created [2021-04-15T18:13:52.140Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-15T18:13:52.140Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-15T18:13:52.140Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-15T18:13:52.140Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-15T18:13:52.140Z] gpg: CAST5 encrypted data [2021-04-15T18:13:52.404Z] gpg: encrypted with 1 passphrase [2021-04-15T18:13:52.404Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-15T18:13:52.698Z] + mkdir /home/jenkins [2021-04-15T18:13:52.698Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-15T18:13:52.995Z] + 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 [2021-04-15T18:13:53.006Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:13:53.299Z] ---> sigul-install.sh [2021-04-15T18:13:59.894Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-15T18:14:00.419Z] + git tag --list [2021-04-15T18:14:00.420Z] v0.1.0 [2021-04-15T18:14:00.420Z] v0.1.1 [2021-04-15T18:14:00.420Z] v1.0.0 [2021-04-15T18:14:00.420Z] v1.1.0 [2021-04-15T18:14:00.420Z] v1.2.0 [2021-04-15T18:14:00.420Z] v1.3.0 [2021-04-15T18:14:00.420Z] v1.3.1 [2021-04-15T18:14:00.420Z] v1.3.1-dev.1 [2021-04-15T18:14:00.420Z] v1.3.2-dev.1 [2021-04-15T18:14:00.420Z] v2.0.0-dev.1 [2021-04-15T18:14:00.420Z] v2.0.0-dev.10 [2021-04-15T18:14:00.420Z] v2.0.0-dev.11 [2021-04-15T18:14:00.420Z] v2.0.0-dev.12 [2021-04-15T18:14:00.420Z] v2.0.0-dev.13 [2021-04-15T18:14:00.420Z] v2.0.0-dev.14 [2021-04-15T18:14:00.420Z] v2.0.0-dev.15 [2021-04-15T18:14:00.420Z] v2.0.0-dev.16 [2021-04-15T18:14:00.420Z] v2.0.0-dev.17 [2021-04-15T18:14:00.420Z] v2.0.0-dev.18 [2021-04-15T18:14:00.420Z] v2.0.0-dev.19 [2021-04-15T18:14:00.420Z] v2.0.0-dev.2 [2021-04-15T18:14:00.420Z] v2.0.0-dev.20 [2021-04-15T18:14:00.420Z] v2.0.0-dev.21 [2021-04-15T18:14:00.420Z] v2.0.0-dev.22 [2021-04-15T18:14:00.420Z] v2.0.0-dev.23 [2021-04-15T18:14:00.420Z] v2.0.0-dev.24 [2021-04-15T18:14:00.420Z] v2.0.0-dev.25 [2021-04-15T18:14:00.420Z] v2.0.0-dev.26 [2021-04-15T18:14:00.420Z] v2.0.0-dev.27 [2021-04-15T18:14:00.420Z] v2.0.0-dev.28 [2021-04-15T18:14:00.420Z] v2.0.0-dev.29 [2021-04-15T18:14:00.420Z] v2.0.0-dev.3 [2021-04-15T18:14:00.420Z] v2.0.0-dev.30 [2021-04-15T18:14:00.420Z] v2.0.0-dev.31 [2021-04-15T18:14:00.420Z] v2.0.0-dev.32 [2021-04-15T18:14:00.420Z] v2.0.0-dev.33 [2021-04-15T18:14:00.420Z] v2.0.0-dev.34 [2021-04-15T18:14:00.420Z] v2.0.0-dev.35 [2021-04-15T18:14:00.420Z] v2.0.0-dev.36 [2021-04-15T18:14:00.420Z] v2.0.0-dev.37 [2021-04-15T18:14:00.420Z] v2.0.0-dev.38 [2021-04-15T18:14:00.420Z] v2.0.0-dev.39 [2021-04-15T18:14:00.420Z] v2.0.0-dev.4 [2021-04-15T18:14:00.420Z] v2.0.0-dev.40 [2021-04-15T18:14:00.420Z] v2.0.0-dev.41 [2021-04-15T18:14:00.420Z] v2.0.0-dev.42 [2021-04-15T18:14:00.420Z] v2.0.0-dev.43 [2021-04-15T18:14:00.420Z] v2.0.0-dev.44 [2021-04-15T18:14:00.420Z] v2.0.0-dev.45 [2021-04-15T18:14:00.420Z] v2.0.0-dev.5 [2021-04-15T18:14:00.420Z] v2.0.0-dev.6 [2021-04-15T18:14:00.420Z] v2.0.0-dev.7 [2021-04-15T18:14:00.420Z] v2.0.0-dev.8 [2021-04-15T18:14:00.420Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-15T18:14:00.803Z] + lftools sign git-tag v2.0.0-dev.45 [2021-04-15T18:14:02.190Z] Signing Git tag with Sigul... [2021-04-15T18:14:02.190Z] Signing v2.0.0-dev.45 [Pipeline] echo [2021-04-15T18:14:02.771Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:03.067Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-15T18:14:03.076Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-15T18:14:03.110Z] $ docker stop --time=1 7f769839df30f617fd2e2838d4a147b6e00f5fb6c90297c86eb83465f3eae09f [2021-04-15T18:14:05.146Z] $ docker rm -f 7f769839df30f617fd2e2838d4a147b6e00f5fb6c90297c86eb83465f3eae09f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:14:05.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:14:05.692Z] . [Pipeline] withDockerContainer [2021-04-15T18:14:05.783Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:14:05.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-15T18:14:06.403Z] $ docker top 61fabe652ec62c469c71b9beca2b330551c82a753c2af33b2b4ff7a4403af5cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T18:14:06.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T18:14:06.552Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T18:14:06.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T18:14:06.728Z] $ docker exec 61fabe652ec62c469c71b9beca2b330551c82a753c2af33b2b4ff7a4403af5cd ssh-agent [2021-04-15T18:14:06.883Z] SSH_AUTH_SOCK=/tmp/ssh-UQFZLwV7uWc3/agent.12 [2021-04-15T18:14:06.883Z] SSH_AGENT_PID=18 [2021-04-15T18:14:06.891Z] Running ssh-add (command line suppressed) [2021-04-15T18:14:07.018Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1264686876374786006.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1264686876374786006.key) [2021-04-15T18:14:07.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T18:14:07.374Z] + git semver bump pre [2021-04-15T18:14:07.374Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T18:14:07.375Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T18:14:07.375Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T18:14:07.375Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T18:14:07.375Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T18:14:07.375Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T18:14:07.375Z] # $SEMVER_BRANCH = master [2021-04-15T18:14:07.375Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-15T18:14:07.375Z] 2.0.0-dev.46 [Pipeline] } [2021-04-15T18:14:07.391Z] $ docker exec --env ******** --env ******** 61fabe652ec62c469c71b9beca2b330551c82a753c2af33b2b4ff7a4403af5cd ssh-agent -k [2021-04-15T18:14:07.502Z] unset SSH_AUTH_SOCK; [2021-04-15T18:14:07.502Z] unset SSH_AGENT_PID; [2021-04-15T18:14:07.502Z] echo Agent pid 18 killed; [2021-04-15T18:14:07.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T18:14:07.899Z] + git semver [Pipeline] } [2021-04-15T18:14:07.920Z] $ docker stop --time=1 61fabe652ec62c469c71b9beca2b330551c82a753c2af33b2b4ff7a4403af5cd [2021-04-15T18:14:09.279Z] $ docker rm -f 61fabe652ec62c469c71b9beca2b330551c82a753c2af33b2b4ff7a4403af5cd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:14:09.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T18:14:09.709Z] . [Pipeline] withDockerContainer [2021-04-15T18:14:09.800Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:14:09.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-15T18:14:10.458Z] $ docker top 06010f1103b13f4a9d6a0b7ea44c3a6b49cc90d8a5d5e79e140a8d51d422d450 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T18:14:10.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T18:14:10.592Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T18:14:10.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T18:14:10.798Z] $ docker exec 06010f1103b13f4a9d6a0b7ea44c3a6b49cc90d8a5d5e79e140a8d51d422d450 ssh-agent [2021-04-15T18:14:10.952Z] SSH_AUTH_SOCK=/tmp/ssh-LHWZN9fo2zIG/agent.12 [2021-04-15T18:14:10.952Z] SSH_AGENT_PID=17 [2021-04-15T18:14:10.957Z] Running ssh-add (command line suppressed) [2021-04-15T18:14:11.083Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2139988595423245030.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2139988595423245030.key) [2021-04-15T18:14:11.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T18:14:11.430Z] + git semver push [2021-04-15T18:14:11.430Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T18:14:11.430Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T18:14:11.430Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T18:14:11.430Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T18:14:11.430Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T18:14:11.430Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T18:14:11.430Z] # $SEMVER_BRANCH = master [2021-04-15T18:14:11.430Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-15T18:14:15.648Z] $ docker exec --env ******** --env ******** 06010f1103b13f4a9d6a0b7ea44c3a6b49cc90d8a5d5e79e140a8d51d422d450 ssh-agent -k [2021-04-15T18:14:15.766Z] unset SSH_AUTH_SOCK; [2021-04-15T18:14:15.767Z] unset SSH_AGENT_PID; [2021-04-15T18:14:15.767Z] echo Agent pid 17 killed; [2021-04-15T18:14:15.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T18:14:16.147Z] + git semver [Pipeline] } [2021-04-15T18:14:16.166Z] $ docker stop --time=1 06010f1103b13f4a9d6a0b7ea44c3a6b49cc90d8a5d5e79e140a8d51d422d450 [2021-04-15T18:14:17.490Z] $ docker rm -f 06010f1103b13f4a9d6a0b7ea44c3a6b49cc90d8a5d5e79e140a8d51d422d450 [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 [2021-04-15T18:14:18.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:19.241Z] ---> package-listing.sh [2021-04-15T18:14:19.241Z] ++ facter osfamily [2021-04-15T18:14:19.241Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-15T18:14:19.241Z] + OS_FAMILY=redhat [2021-04-15T18:14:19.241Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T18:14:19.241Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-15T18:14:19.241Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-15T18:14:19.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-15T18:14:19.241Z] + PACKAGES=/tmp/packages_start.txt [2021-04-15T18:14:19.241Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-15T18:14:19.241Z] + PACKAGES=/tmp/packages_end.txt [2021-04-15T18:14:19.241Z] + case "${OS_FAMILY}" in [2021-04-15T18:14:19.241Z] + rpm -qa [2021-04-15T18:14:19.241Z] + sort [2021-04-15T18:14:24.547Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-15T18:14:24.547Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-15T18:14:24.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-15T18:14:24.547Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-15T18:14:24.547Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-15T18:14:24.547Z] + 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 [2021-04-15T18:14:24.559Z] 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 [2021-04-15T18:14:24.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:14:25.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T18:14:25.157Z] [2021-04-15T18:14:25.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-15T18:14:25.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T18:14:25.467Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-15T18:14:25.467Z] df20fa9351a1: Pulling fs layer [2021-04-15T18:14:25.467Z] 36b3adc4ff6f: Pulling fs layer [2021-04-15T18:14:25.467Z] 8ad3a11d3b57: Pulling fs layer [2021-04-15T18:14:25.467Z] 46f8f816bc3b: Pulling fs layer [2021-04-15T18:14:25.467Z] 93b61091891f: Pulling fs layer [2021-04-15T18:14:25.467Z] 93b9cdb0e59b: Pulling fs layer [2021-04-15T18:14:25.467Z] 5e14af77c1be: Pulling fs layer [2021-04-15T18:14:25.467Z] 01666e4c0597: Pulling fs layer [2021-04-15T18:14:25.467Z] aa168da1d23b: Pulling fs layer [2021-04-15T18:14:25.467Z] 93b9cdb0e59b: Waiting [2021-04-15T18:14:25.467Z] 5e14af77c1be: Waiting [2021-04-15T18:14:25.467Z] aa168da1d23b: Waiting [2021-04-15T18:14:25.467Z] 01666e4c0597: Waiting [2021-04-15T18:14:25.467Z] 46f8f816bc3b: Waiting [2021-04-15T18:14:25.467Z] 93b61091891f: Waiting [2021-04-15T18:14:25.467Z] 36b3adc4ff6f: Download complete [2021-04-15T18:14:25.467Z] 46f8f816bc3b: Verifying Checksum [2021-04-15T18:14:25.467Z] 46f8f816bc3b: Download complete [2021-04-15T18:14:25.467Z] df20fa9351a1: Verifying Checksum [2021-04-15T18:14:25.467Z] df20fa9351a1: Download complete [2021-04-15T18:14:25.467Z] 93b9cdb0e59b: Verifying Checksum [2021-04-15T18:14:25.467Z] 93b9cdb0e59b: Download complete [2021-04-15T18:14:25.729Z] 5e14af77c1be: Verifying Checksum [2021-04-15T18:14:25.729Z] 5e14af77c1be: Download complete [2021-04-15T18:14:25.729Z] 01666e4c0597: Verifying Checksum [2021-04-15T18:14:25.729Z] 01666e4c0597: Download complete [2021-04-15T18:14:25.729Z] 8ad3a11d3b57: Verifying Checksum [2021-04-15T18:14:25.729Z] 8ad3a11d3b57: Download complete [2021-04-15T18:14:25.988Z] df20fa9351a1: Pull complete [2021-04-15T18:14:25.988Z] 36b3adc4ff6f: Pull complete [2021-04-15T18:14:26.567Z] 93b61091891f: Verifying Checksum [2021-04-15T18:14:26.567Z] 93b61091891f: Download complete [2021-04-15T18:14:26.829Z] 8ad3a11d3b57: Pull complete [2021-04-15T18:14:27.092Z] 46f8f816bc3b: Pull complete [2021-04-15T18:14:27.663Z] 93b61091891f: Pull complete [2021-04-15T18:14:27.663Z] aa168da1d23b: Verifying Checksum [2021-04-15T18:14:27.663Z] aa168da1d23b: Download complete [2021-04-15T18:14:27.923Z] 93b9cdb0e59b: Pull complete [2021-04-15T18:14:27.923Z] 5e14af77c1be: Pull complete [2021-04-15T18:14:28.188Z] 01666e4c0597: Pull complete [2021-04-15T18:14:34.807Z] aa168da1d23b: Pull complete [2021-04-15T18:14:34.807Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-15T18:14:34.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T18:14:34.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-15T18:14:34.995Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-04-15T18:14:35.110Z] $ 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 [2021-04-15T18:14:37.693Z] $ docker top d1b9174344413cee59e1245c5d8f8f06fcdf0c5e108e675978372a446478fc1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T18:14:38.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-15T18:14:38.398Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-15T18:14:38.688Z] + ls /var/log/sa-host [2021-04-15T18:14:38.688Z] + sadf -c /var/log/sa-host/sa15 [2021-04-15T18:14:38.688Z] file_magic: OK [2021-04-15T18:14:38.688Z] HZ: Using current value: 100 [2021-04-15T18:14:38.688Z] file_header: OK [2021-04-15T18:14:38.688Z] 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 [2021-04-15T18:14:38.688Z] Statistics: [2021-04-15T18:14:38.688Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-15T18:14:38.688Z] File successfully converted to sysstat format version 12.2.1 [2021-04-15T18:14:38.688Z] + sadf -c /var/log/sa-host/sa23 [2021-04-15T18:14:38.688Z] file_magic: OK [2021-04-15T18:14:38.688Z] HZ: Using current value: 100 [2021-04-15T18:14:38.688Z] file_header: OK [2021-04-15T18:14:38.688Z] 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 [2021-04-15T18:14:38.688Z] Statistics: [2021-04-15T18:14:38.688Z] Hnuu...uuuununununu... [2021-04-15T18:14:38.688Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T18:14:38.853Z] provisioning config files... [2021-04-15T18:14:38.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8185905441038429219tmp [Pipeline] { [Pipeline] echo [2021-04-15T18:14:38.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:39.185Z] ---> create-netrc.sh [Pipeline] } [2021-04-15T18:14:39.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-15T18:14:39.218Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:39.512Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-15T18:14:39.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:39.814Z] ---> sudo-logs.sh [2021-04-15T18:14:39.814Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-15T18:14:39.844Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:40.138Z] ---> job-cost.sh [2021-04-15T18:14:40.138Z] lf-activate-venv: SKIPPING [2021-04-15T18:14:40.138Z] DEBUG: total: 0.20999999344348907 [2021-04-15T18:14:40.138Z] INFO: Retrieving Stack Cost... [2021-04-15T18:14:41.522Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T18:14:42.092Z] INFO: Archiving Costs [Pipeline] echo [2021-04-15T18:14:42.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T18:14:42.422Z] ---> logs-deploy.sh [2021-04-15T18:14:42.422Z] lf-activate-venv: SKIPPING [2021-04-15T18:14:42.422Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/214 [2021-04-15T18:14:42.422Z] INFO: archiving workspace using pattern(s): [2021-04-15T18:14:43.805Z] Archives upload complete. [2021-04-15T18:14:43.805Z] INFO: archiving logs to Nexus