Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e52849b4ed789265e09033222a233a1a53cfae91 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7993932651515960243.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4275915090970930374.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1901376757404634270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2075430378565710969.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8211823193634986814.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3018 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/oundry_app-functions-sdk-go_main # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh1077380074180777240.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e52849b4ed789265e09033222a233a1a53cfae91 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f e52849b4ed789265e09033222a233a1a53cfae91 # timeout=10 Commit message: "fix: Create Event copy with all required fields (#925)" > git rev-list --no-walk 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-15T23:35:29.971Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-15T23:35:30.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-15T23:35:30.085Z] ========================================================= [2021-07-15T23:35:30.085Z] EdgeX Global Pipelines Version Info [2021-07-15T23:35:30.085Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:35:31.427Z] ------------------- [2021-07-15T23:35:31.427Z] stable info: [2021-07-15T23:35:31.427Z] ------------------- [2021-07-15T23:35:31.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-15T23:35:31.427Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T23:35:31.427Z] Message: update stable to v1.0.196 [2021-07-15T23:35:32.012Z] ------------------- [2021-07-15T23:35:32.012Z] experimental info: [2021-07-15T23:35:32.012Z] ------------------- [2021-07-15T23:35:32.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-15T23:35:32.012Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T23:35:32.012Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-15T23:35:32.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-15T23:35:32.198Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-15T23:35:32.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-15T23:35:32.241Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-15T23:35:32.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-15T23:35:32.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-15T23:35:32.313Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-15T23:35:32.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-15T23:35:32.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-15T23:35:32.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-15T23:35:32.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-15T23:35:32.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-15T23:35:32.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-15T23:35:32.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-15T23:35:32.490Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:35:32.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:35:32.533Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:35:32.554Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:35:32.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-15T23:35:32.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-15T23:35:32.648Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-15T23:35:32.670Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-15T23:35:32.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-15T23:35:32.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-15T23:35:32.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-15T23:35:32.753Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-15T23:35:32.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-15T23:35:32.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-15T23:35:32.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-15T23:35:32.921Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e52849b4ed789265e09033222a233a1a53cfae91 [Pipeline] echo [2021-07-15T23:35:32.943Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e52849b [Pipeline] echo [2021-07-15T23:35:32.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T23:35:33.452Z] + git log --format=format:%s -1 e52849b4ed789265e09033222a233a1a53cfae91 [Pipeline] echo [2021-07-15T23:35:33.505Z] GIT_COMMIT: e52849b4ed789265e09033222a233a1a53cfae91, Commit Message: fix: Create Event copy with all required fields (#925) [Pipeline] echo [2021-07-15T23:35:33.519Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:35:34.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:35:34.247Z] [2021-07-15T23:35:34.247Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:35:34.577Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:35:34.577Z] latest: Pulling from edgex-devops/git-semver [2021-07-15T23:35:34.577Z] 31603596830f: Pulling fs layer [2021-07-15T23:35:34.577Z] b6dc333f4379: Pulling fs layer [2021-07-15T23:35:34.577Z] 3d9ef1400e77: Pulling fs layer [2021-07-15T23:35:34.577Z] fd332fbdc1db: Pulling fs layer [2021-07-15T23:35:34.577Z] fd332fbdc1db: Waiting [2021-07-15T23:35:34.577Z] b6dc333f4379: Download complete [2021-07-15T23:35:34.846Z] 31603596830f: Verifying Checksum [2021-07-15T23:35:34.846Z] 31603596830f: Download complete [2021-07-15T23:35:34.846Z] 31603596830f: Pull complete [2021-07-15T23:35:35.117Z] fd332fbdc1db: Verifying Checksum [2021-07-15T23:35:35.117Z] fd332fbdc1db: Download complete [2021-07-15T23:35:35.117Z] b6dc333f4379: Pull complete [2021-07-15T23:35:35.117Z] 3d9ef1400e77: Verifying Checksum [2021-07-15T23:35:35.117Z] 3d9ef1400e77: Download complete [2021-07-15T23:35:35.704Z] 3d9ef1400e77: Pull complete [2021-07-15T23:35:35.704Z] fd332fbdc1db: Pull complete [2021-07-15T23:35:35.973Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-15T23:35:35.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:35:35.973Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-15T23:35:36.073Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:35:36.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T23:35:36.821Z] $ docker top ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T23:35:36.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:35:36.968Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:35:37.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:35:37.089Z] $ docker exec ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 ssh-agent [2021-07-15T23:35:37.213Z] SSH_AUTH_SOCK=/tmp/ssh-izRStemMBzGI/agent.14 [2021-07-15T23:35:37.213Z] SSH_AGENT_PID=20 [2021-07-15T23:35:37.225Z] Running ssh-add (command line suppressed) [2021-07-15T23:35:37.320Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8853694761634382693.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8853694761634382693.key) [2021-07-15T23:35:37.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:35:37.657Z] + git tag --points-at HEAD [Pipeline] } [2021-07-15T23:35:37.889Z] $ docker exec --env ******** --env ******** ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 ssh-agent -k [2021-07-15T23:35:37.994Z] unset SSH_AUTH_SOCK; [2021-07-15T23:35:37.994Z] unset SSH_AGENT_PID; [2021-07-15T23:35:37.995Z] echo Agent pid 20 killed; [2021-07-15T23:35:38.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-15T23:35:38.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:35:38.058Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:35:38.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:35:38.174Z] $ docker exec ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 ssh-agent [2021-07-15T23:35:38.299Z] SSH_AUTH_SOCK=/tmp/ssh-OphdkmtvdmCM/agent.54 [2021-07-15T23:35:38.299Z] SSH_AGENT_PID=61 [2021-07-15T23:35:38.309Z] Running ssh-add (command line suppressed) [2021-07-15T23:35:38.396Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6231173449228742396.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6231173449228742396.key) [2021-07-15T23:35:38.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:35:38.742Z] + git semver init [2021-07-15T23:35:38.742Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T23:35:38.742Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T23:35:38.742Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T23:35:38.742Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T23:35:38.742Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T23:35:38.742Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T23:35:38.742Z] # $SEMVER_BRANCH = main [2021-07-15T23:35:38.742Z] # $SEMVER_TEMP = /tmp/semver-227816919 [2021-07-15T23:35:38.742Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-15T23:35:40.909Z] # '/tmp/semver-227816919' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-07-15T23:35:40.909Z] # -> Force: false [2021-07-15T23:35:40.909Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-15T23:35:40.923Z] $ docker exec --env ******** --env ******** ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 ssh-agent -k [2021-07-15T23:35:41.019Z] unset SSH_AUTH_SOCK; [2021-07-15T23:35:41.019Z] unset SSH_AGENT_PID; [2021-07-15T23:35:41.019Z] echo Agent pid 61 killed; [2021-07-15T23:35:41.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T23:35:41.379Z] + git semver [Pipeline] } [2021-07-15T23:35:41.399Z] $ docker stop --time=1 ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 [2021-07-15T23:35:42.695Z] $ docker rm -f ad5944c594186c2fe606e6fedc85bc4e446538382bd92e84a63ff1a654cfe306 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:35:43.087Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-15T23:35:43.440Z] Stashed 1 file(s) [Pipeline] echo [2021-07-15T23:35:43.444Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [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-07-15T23:35:58.767Z] Still waiting to schedule task [2021-07-15T23:35:58.768Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-15T23:35:58.770Z] Still waiting to schedule task [2021-07-15T23:35:58.770Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-15T23:38:07.165Z] Running on prd-centos7-docker-4c-2g-3020 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-15T23:38:07.183Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-07-15T23:38:07.297Z] The recommended git tool is: git [2021-07-15T23:38:10.336Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3019 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-15T23:38:10.352Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-07-15T23:38:10.571Z] The recommended git tool is: git [2021-07-15T23:38:11.413Z] using credential edgex-jenkins-ssh [2021-07-15T23:38:11.432Z] Cloning the remote Git repository [2021-07-15T23:38:11.671Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:38:11.743Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-07-15T23:38:11.778Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:38:11.778Z] > git --version # timeout=10 [2021-07-15T23:38:11.784Z] > git --version # 'git version 2.24.4' [2021-07-15T23:38:11.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:38:11.814Z] [INFO] Currently running in a labeled security context [2021-07-15T23:38:11.815Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T23:38:11.815Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh3815637764763323500.key [2021-07-15T23:38:11.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:38:13.369Z] Avoid second fetch [2021-07-15T23:38:13.370Z] Checking out Revision e52849b4ed789265e09033222a233a1a53cfae91 (main) [2021-07-15T23:38:13.339Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:38:13.349Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:38:13.378Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:38:13.386Z] > git checkout -f e52849b4ed789265e09033222a233a1a53cfae91 # timeout=10 [2021-07-15T23:38:15.921Z] using credential edgex-jenkins-ssh [2021-07-15T23:38:15.943Z] Cloning the remote Git repository [2021-07-15T23:38:16.013Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:38:16.120Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-07-15T23:38:16.197Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:38:16.197Z] > git --version # timeout=10 [2021-07-15T23:38:16.219Z] > git --version # 'git version 2.17.1' [2021-07-15T23:38:16.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:38:16.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:38:17.205Z] Commit message: "fix: Create Event copy with all required fields (#925)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T23:38:18.189Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:38:18.560Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:38:18.894Z] + sudo service docker restart [2021-07-15T23:38:18.895Z] + true [2021-07-15T23:38:18.895Z] Redirecting to /bin/systemctl restart docker.service [2021-07-15T23:38:19.335Z] Avoid second fetch [2021-07-15T23:38:19.336Z] Checking out Revision e52849b4ed789265e09033222a233a1a53cfae91 (main) [2021-07-15T23:38:19.306Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:38:19.325Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:38:19.366Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:38:19.378Z] > git checkout -f e52849b4ed789265e09033222a233a1a53cfae91 # timeout=10 [2021-07-15T23:38:23.635Z] Commit message: "fix: Create Event copy with all required fields (#925)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T23:38:24.718Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:38:25.136Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:38:25.495Z] + sudo service docker restart [2021-07-15T23:38:25.495Z] + true [Pipeline] unstash [Pipeline] echo [2021-07-15T23:38:37.316Z] ========================================================= [2021-07-15T23:38:37.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-15T23:38:37.316Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:38:37.665Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-15T23:38:37.665Z] Sending build context to Docker daemon 19.74MB [2021-07-15T23:38:37.665Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T23:38:37.665Z] Step 2/8 : FROM ${BASE} [2021-07-15T23:38:37.932Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-15T23:38:37.932Z] 540db60ca938: Pulling fs layer [2021-07-15T23:38:37.932Z] adcc1eea9eea: Pulling fs layer [2021-07-15T23:38:37.932Z] 4c4ab2625f07: Pulling fs layer [2021-07-15T23:38:37.932Z] 0773c198feca: Pulling fs layer [2021-07-15T23:38:37.932Z] 345f892a5656: Pulling fs layer [2021-07-15T23:38:37.932Z] 4796506630df: Pulling fs layer [2021-07-15T23:38:37.932Z] cc55df3e53f1: Pulling fs layer [2021-07-15T23:38:37.932Z] 4d027b6c602c: Pulling fs layer [2021-07-15T23:38:37.932Z] 449e75d2c14e: Pulling fs layer [2021-07-15T23:38:37.932Z] 0773c198feca: Waiting [2021-07-15T23:38:37.932Z] 345f892a5656: Waiting [2021-07-15T23:38:37.932Z] 4796506630df: Waiting [2021-07-15T23:38:37.932Z] cc55df3e53f1: Waiting [2021-07-15T23:38:37.932Z] 4d027b6c602c: Waiting [2021-07-15T23:38:37.932Z] 449e75d2c14e: Waiting [2021-07-15T23:38:37.932Z] 4c4ab2625f07: Verifying Checksum [2021-07-15T23:38:37.932Z] 4c4ab2625f07: Download complete [2021-07-15T23:38:37.932Z] adcc1eea9eea: Verifying Checksum [2021-07-15T23:38:37.932Z] adcc1eea9eea: Download complete [2021-07-15T23:38:38.200Z] 345f892a5656: Verifying Checksum [2021-07-15T23:38:38.200Z] 345f892a5656: Download complete [2021-07-15T23:38:38.200Z] 4796506630df: Verifying Checksum [2021-07-15T23:38:38.200Z] 4796506630df: Download complete [2021-07-15T23:38:38.200Z] cc55df3e53f1: Verifying Checksum [2021-07-15T23:38:38.200Z] cc55df3e53f1: Download complete [2021-07-15T23:38:38.200Z] 540db60ca938: Verifying Checksum [2021-07-15T23:38:38.200Z] 540db60ca938: Download complete [2021-07-15T23:38:38.468Z] 540db60ca938: Pull complete [2021-07-15T23:38:38.468Z] adcc1eea9eea: Pull complete [2021-07-15T23:38:38.468Z] 4c4ab2625f07: Pull complete [2021-07-15T23:38:38.734Z] 4d027b6c602c: Verifying Checksum [2021-07-15T23:38:38.734Z] 4d027b6c602c: Download complete [2021-07-15T23:38:42.089Z] 449e75d2c14e: Verifying Checksum [2021-07-15T23:38:42.089Z] 449e75d2c14e: Download complete [2021-07-15T23:38:42.677Z] 0773c198feca: Verifying Checksum [2021-07-15T23:38:42.677Z] 0773c198feca: Download complete [Pipeline] unstash [Pipeline] echo [2021-07-15T23:38:44.245Z] ========================================================= [2021-07-15T23:38:44.245Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-15T23:38:44.245Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:38:44.662Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-15T23:38:45.667Z] Sending build context to Docker daemon 19.74MB [2021-07-15T23:38:45.667Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T23:38:45.667Z] Step 2/8 : FROM ${BASE} [2021-07-15T23:38:46.650Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-15T23:38:46.650Z] 595b0fe564bb: Pulling fs layer [2021-07-15T23:38:46.650Z] 24495759ef45: Pulling fs layer [2021-07-15T23:38:46.650Z] d148012ef14d: Pulling fs layer [2021-07-15T23:38:46.650Z] cb65c68fc2e2: Pulling fs layer [2021-07-15T23:38:46.650Z] 093eec477d81: Pulling fs layer [2021-07-15T23:38:46.650Z] a6d5b2bbb924: Pulling fs layer [2021-07-15T23:38:46.650Z] 2446dc1eb7d3: Pulling fs layer [2021-07-15T23:38:46.650Z] 596795e73e0f: Pulling fs layer [2021-07-15T23:38:46.650Z] cb65c68fc2e2: Waiting [2021-07-15T23:38:46.650Z] a6d5b2bbb924: Waiting [2021-07-15T23:38:46.650Z] 093eec477d81: Waiting [2021-07-15T23:38:46.650Z] 2446dc1eb7d3: Waiting [2021-07-15T23:38:46.650Z] 596795e73e0f: Waiting [2021-07-15T23:38:46.650Z] d148012ef14d: Verifying Checksum [2021-07-15T23:38:46.650Z] d148012ef14d: Download complete [2021-07-15T23:38:46.650Z] 24495759ef45: Verifying Checksum [2021-07-15T23:38:46.650Z] 24495759ef45: Download complete [2021-07-15T23:38:46.650Z] 093eec477d81: Verifying Checksum [2021-07-15T23:38:46.650Z] 093eec477d81: Download complete [2021-07-15T23:38:46.650Z] a6d5b2bbb924: Verifying Checksum [2021-07-15T23:38:46.650Z] a6d5b2bbb924: Download complete [2021-07-15T23:38:46.650Z] 2446dc1eb7d3: Download complete [2021-07-15T23:38:46.650Z] 595b0fe564bb: Verifying Checksum [2021-07-15T23:38:46.650Z] 595b0fe564bb: Download complete [2021-07-15T23:38:47.013Z] 0773c198feca: Pull complete [2021-07-15T23:38:47.013Z] 345f892a5656: Pull complete [2021-07-15T23:38:47.013Z] 4796506630df: Pull complete [2021-07-15T23:38:47.013Z] cc55df3e53f1: Pull complete [2021-07-15T23:38:47.013Z] 4d027b6c602c: Pull complete [2021-07-15T23:38:47.259Z] 595b0fe564bb: Pull complete [2021-07-15T23:38:47.867Z] 24495759ef45: Pull complete [2021-07-15T23:38:48.464Z] 449e75d2c14e: Pull complete [2021-07-15T23:38:48.464Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-15T23:38:48.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-15T23:38:48.464Z] ---> 0d28375d9b5b [2021-07-15T23:38:48.464Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T23:38:48.464Z] 20.10.0: Pulling from library/docker [2021-07-15T23:38:48.464Z] 05e7bc50f07f: Pulling fs layer [2021-07-15T23:38:48.464Z] 6db28d0fdbf6: Pulling fs layer [2021-07-15T23:38:48.464Z] 292df0bc6bf3: Pulling fs layer [2021-07-15T23:38:48.464Z] 2e060f4bd70b: Pulling fs layer [2021-07-15T23:38:48.464Z] 80e8d568a223: Pulling fs layer [2021-07-15T23:38:48.464Z] 8dc6ef1a942a: Pulling fs layer [2021-07-15T23:38:48.464Z] 2312dd95470a: Pulling fs layer [2021-07-15T23:38:48.464Z] 2e060f4bd70b: Waiting [2021-07-15T23:38:48.464Z] 80e8d568a223: Waiting [2021-07-15T23:38:48.464Z] 8dc6ef1a942a: Waiting [2021-07-15T23:38:48.464Z] 2312dd95470a: Waiting [2021-07-15T23:38:48.464Z] 292df0bc6bf3: Verifying Checksum [2021-07-15T23:38:48.464Z] 292df0bc6bf3: Download complete [2021-07-15T23:38:48.475Z] d148012ef14d: Pull complete [2021-07-15T23:38:48.739Z] 6db28d0fdbf6: Verifying Checksum [2021-07-15T23:38:48.739Z] 6db28d0fdbf6: Download complete [2021-07-15T23:38:48.739Z] 05e7bc50f07f: Verifying Checksum [2021-07-15T23:38:48.739Z] 05e7bc50f07f: Download complete [2021-07-15T23:38:48.739Z] 80e8d568a223: Verifying Checksum [2021-07-15T23:38:48.739Z] 80e8d568a223: Download complete [2021-07-15T23:38:48.739Z] 8dc6ef1a942a: Verifying Checksum [2021-07-15T23:38:48.739Z] 8dc6ef1a942a: Download complete [2021-07-15T23:38:48.739Z] 2312dd95470a: Verifying Checksum [2021-07-15T23:38:48.739Z] 2312dd95470a: Download complete [2021-07-15T23:38:49.005Z] 05e7bc50f07f: Pull complete [2021-07-15T23:38:49.005Z] 6db28d0fdbf6: Pull complete [2021-07-15T23:38:49.080Z] 596795e73e0f: Verifying Checksum [2021-07-15T23:38:49.311Z] 292df0bc6bf3: Pull complete [2021-07-15T23:38:50.527Z] cb65c68fc2e2: Verifying Checksum [2021-07-15T23:38:50.527Z] cb65c68fc2e2: Download complete [2021-07-15T23:38:51.939Z] 2e060f4bd70b: Verifying Checksum [2021-07-15T23:38:51.939Z] 2e060f4bd70b: Download complete [2021-07-15T23:38:53.359Z] 2e060f4bd70b: Pull complete [2021-07-15T23:38:53.359Z] 80e8d568a223: Pull complete [2021-07-15T23:38:53.359Z] 8dc6ef1a942a: Pull complete [2021-07-15T23:38:53.648Z] 2312dd95470a: Pull complete [2021-07-15T23:38:53.648Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T23:38:53.648Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T23:38:55.630Z] ---> 54b1ba5f1775 [2021-07-15T23:38:55.630Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T23:38:55.630Z] ---> Running in 4151fb0b913d [2021-07-15T23:38:55.903Z] Removing intermediate container 4151fb0b913d [2021-07-15T23:38:55.903Z] ---> 99c9a5214d86 [2021-07-15T23:38:55.904Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T23:38:55.904Z] ---> Running in 48672239bddd [2021-07-15T23:38:56.171Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-15T23:38:57.140Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-15T23:38:58.110Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T23:38:58.699Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T23:38:58.699Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T23:38:58.699Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T23:38:58.974Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T23:38:58.974Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T23:38:58.974Z] OK: 150 MiB in 45 packages [2021-07-15T23:38:59.245Z] Removing intermediate container 48672239bddd [2021-07-15T23:38:59.245Z] ---> ab3ce9c23ab0 [2021-07-15T23:38:59.245Z] Step 6/8 : WORKDIR /build [2021-07-15T23:38:59.245Z] ---> Running in d3b499f9f03b [2021-07-15T23:38:59.245Z] Removing intermediate container d3b499f9f03b [2021-07-15T23:38:59.245Z] ---> 87dc38913409 [2021-07-15T23:38:59.245Z] Step 7/8 : COPY go.mod . [2021-07-15T23:38:59.523Z] ---> 5627e0a23c28 [2021-07-15T23:38:59.523Z] Step 8/8 : RUN go mod download [2021-07-15T23:38:59.523Z] ---> Running in be7d65ae0ab3 [2021-07-15T23:39:00.822Z] cb65c68fc2e2: Pull complete [2021-07-15T23:39:01.100Z] 093eec477d81: Pull complete [2021-07-15T23:39:01.380Z] a6d5b2bbb924: Pull complete [2021-07-15T23:39:01.982Z] 2446dc1eb7d3: Pull complete [2021-07-15T23:39:06.324Z] 596795e73e0f: Pull complete [2021-07-15T23:39:06.324Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-15T23:39:06.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-15T23:39:06.324Z] ---> d9e956139c92 [2021-07-15T23:39:06.324Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T23:39:06.324Z] 20.10.0: Pulling from library/docker [2021-07-15T23:39:06.324Z] a3cc7d3b244e: Pulling fs layer [2021-07-15T23:39:06.324Z] 02a3295e0d61: Pulling fs layer [2021-07-15T23:39:06.324Z] 0f4f2e6d8100: Pulling fs layer [2021-07-15T23:39:06.324Z] 330b718f631f: Pulling fs layer [2021-07-15T23:39:06.324Z] a93816041522: Pulling fs layer [2021-07-15T23:39:06.324Z] bdb6da89ff94: Pulling fs layer [2021-07-15T23:39:06.324Z] 2a70c0c122f4: Pulling fs layer [2021-07-15T23:39:06.324Z] 330b718f631f: Waiting [2021-07-15T23:39:06.324Z] a93816041522: Waiting [2021-07-15T23:39:06.324Z] bdb6da89ff94: Waiting [2021-07-15T23:39:06.324Z] 2a70c0c122f4: Waiting [2021-07-15T23:39:06.324Z] 0f4f2e6d8100: Verifying Checksum [2021-07-15T23:39:06.324Z] 0f4f2e6d8100: Download complete [2021-07-15T23:39:06.324Z] 02a3295e0d61: Download complete [2021-07-15T23:39:06.324Z] a3cc7d3b244e: Verifying Checksum [2021-07-15T23:39:06.324Z] a3cc7d3b244e: Download complete [2021-07-15T23:39:06.324Z] a93816041522: Verifying Checksum [2021-07-15T23:39:06.324Z] a93816041522: Download complete [2021-07-15T23:39:06.602Z] 2a70c0c122f4: Verifying Checksum [2021-07-15T23:39:06.602Z] 2a70c0c122f4: Download complete [2021-07-15T23:39:06.602Z] bdb6da89ff94: Verifying Checksum [2021-07-15T23:39:06.602Z] bdb6da89ff94: Download complete [2021-07-15T23:39:07.209Z] a3cc7d3b244e: Pull complete [2021-07-15T23:39:07.809Z] 02a3295e0d61: Pull complete [2021-07-15T23:39:08.087Z] 330b718f631f: Verifying Checksum [2021-07-15T23:39:08.087Z] 330b718f631f: Download complete [2021-07-15T23:39:08.363Z] 0f4f2e6d8100: Pull complete [2021-07-15T23:39:09.647Z] Removing intermediate container be7d65ae0ab3 [2021-07-15T23:39:09.647Z] ---> dd17c91c654a [2021-07-15T23:39:09.647Z] Successfully built dd17c91c654a [2021-07-15T23:39:09.647Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:39:10.003Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T23:39:10.003Z] . [Pipeline] withDockerContainer [2021-07-15T23:39:10.105Z] prd-centos7-docker-4c-2g-3020 does not seem to be running inside a container [2021-07-15T23:39:10.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T23:39:10.597Z] $ docker top 957da552d2a651fc2d3b3ca229dbff0426eb296d90c608f00581d417e78658c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:39:11.030Z] + go version [2021-07-15T23:39:11.030Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-15T23:39:11.043Z] $ docker stop --time=1 957da552d2a651fc2d3b3ca229dbff0426eb296d90c608f00581d417e78658c3 [2021-07-15T23:39:12.227Z] $ docker rm -f 957da552d2a651fc2d3b3ca229dbff0426eb296d90c608f00581d417e78658c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:39:12.696Z] 330b718f631f: Pull complete [2021-07-15T23:39:12.696Z] a93816041522: Pull complete [2021-07-15T23:39:12.854Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T23:39:12.854Z] . [Pipeline] withDockerContainer [2021-07-15T23:39:12.949Z] prd-centos7-docker-4c-2g-3020 does not seem to be running inside a container [2021-07-15T23:39:12.973Z] bdb6da89ff94: Pull complete [2021-07-15T23:39:13.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T23:39:13.248Z] 2a70c0c122f4: Pull complete [2021-07-15T23:39:13.248Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T23:39:13.410Z] $ docker top 7ba6d86c00dd280c4d72f633fb21c597def2283b92515e7c8c463874cb8b3418 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:39:13.527Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T23:39:13.829Z] + go mod tidy [Pipeline] sh [2021-07-15T23:39:14.430Z] + make test [2021-07-15T23:39:14.430Z] make -C ./app-service-template build [2021-07-15T23:39:14.430Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:39:14.430Z] go mod tidy [2021-07-15T23:39:14.714Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-15T23:39:18.946Z] ---> 2b194d2453cf [2021-07-15T23:39:18.946Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T23:39:19.221Z] ---> Running in f216df4213b7 [2021-07-15T23:39:19.825Z] Removing intermediate container f216df4213b7 [2021-07-15T23:39:19.825Z] ---> b514210bdb06 [2021-07-15T23:39:19.825Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T23:39:19.825Z] ---> Running in e58915accee0 [2021-07-15T23:39:21.266Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-15T23:39:22.306Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-15T23:39:22.970Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T23:39:22.970Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T23:39:23.244Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T23:39:23.244Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T23:39:23.244Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T23:39:23.521Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T23:39:23.521Z] OK: 139 MiB in 45 packages [2021-07-15T23:39:24.509Z] Removing intermediate container e58915accee0 [2021-07-15T23:39:24.509Z] ---> b90491ac1789 [2021-07-15T23:39:24.509Z] Step 6/8 : WORKDIR /build [2021-07-15T23:39:24.786Z] ---> Running in 99c10f33afd8 [2021-07-15T23:39:24.870Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:39:24.870Z] make -C ./app-service-template test [2021-07-15T23:39:24.870Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:39:24.870Z] go mod tidy [2021-07-15T23:39:24.870Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T23:39:25.390Z] Removing intermediate container 99c10f33afd8 [2021-07-15T23:39:25.390Z] ---> 8d51584625fd [2021-07-15T23:39:25.390Z] Step 7/8 : COPY go.mod . [2021-07-15T23:39:25.994Z] ---> d74c2aa77b68 [2021-07-15T23:39:25.994Z] Step 8/8 : RUN go mod download [2021-07-15T23:39:26.275Z] ---> Running in ca91a92f7441 [2021-07-15T23:39:33.120Z] ok new-app-service 0.014s coverage: 47.8% of statements [2021-07-15T23:39:33.120Z] ? new-app-service/config [no test files] [2021-07-15T23:39:33.395Z] ok new-app-service/functions 0.008s [2021-07-15T23:39:33.395Z] CGO_ENABLED=1 go vet ./... [2021-07-15T23:39:40.097Z] gofmt -l . [2021-07-15T23:39:40.097Z] [ "`gofmt -l .`" = "" ] [2021-07-15T23:39:40.097Z] ./bin/test-attribution-txt.sh [2021-07-15T23:39:40.372Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:39:40.372Z] go mod tidy [2021-07-15T23:39:40.372Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T23:39:40.961Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T23:39:42.387Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 63.6% of statements [2021-07-15T23:39:42.387Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 96.5% of statements [2021-07-15T23:39:42.387Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T23:39:42.980Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.022s coverage: 61.8% of statements [2021-07-15T23:39:42.981Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T23:39:42.981Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [2021-07-15T23:39:43.573Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.042s coverage: 74.5% of statements [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T23:39:43.573Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.1% of statements [2021-07-15T23:39:43.573Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T23:39:43.573Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-07-15T23:39:46.936Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.740s coverage: 76.1% of statements [2021-07-15T23:39:46.936Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T23:39:46.936Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-07-15T23:39:46.936Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-07-15T23:39:46.936Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T23:39:46.936Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T23:39:46.936Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-07-15T23:39:53.157Z] Removing intermediate container ca91a92f7441 [2021-07-15T23:39:53.158Z] ---> f66192fb4b1e [2021-07-15T23:39:53.158Z] Successfully built f66192fb4b1e [2021-07-15T23:39:53.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:39:53.541Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T23:39:53.541Z] . [Pipeline] withDockerContainer [2021-07-15T23:39:53.808Z] prd-ubuntu18.04-docker-arm64-4c-16g-3019 does not seem to be running inside a container [2021-07-15T23:39:53.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T23:39:55.376Z] $ docker top 240fab3fb2c6186beeab689f8030c22d00e4ccffc89970c8f40a6084ee18af1d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:39:56.531Z] + go version [2021-07-15T23:39:56.531Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-15T23:39:56.555Z] $ docker stop --time=1 240fab3fb2c6186beeab689f8030c22d00e4ccffc89970c8f40a6084ee18af1d [2021-07-15T23:39:58.425Z] $ docker rm -f 240fab3fb2c6186beeab689f8030c22d00e4ccffc89970c8f40a6084ee18af1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:39:59.266Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T23:39:59.266Z] . [Pipeline] withDockerContainer [2021-07-15T23:39:59.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-3019 does not seem to be running inside a container [2021-07-15T23:39:59.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T23:40:01.301Z] $ docker top c40389cb76e8d49d004fdda55b48bfd1247df2ec8726a135610ba73b33473ae2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:40:02.531Z] + go mod tidy [Pipeline] sh [2021-07-15T23:40:04.236Z] + make test [2021-07-15T23:40:04.236Z] make -C ./app-service-template build [2021-07-15T23:40:04.236Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:40:04.236Z] go mod tidy [2021-07-15T23:40:04.854Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-15T23:40:13.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.036s coverage: 78.1% of statements [2021-07-15T23:40:13.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-07-15T23:40:13.667Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T23:40:13.667Z] gofmt -l . [2021-07-15T23:40:13.667Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T23:40:13.681Z] $ docker stop --time=1 7ba6d86c00dd280c4d72f633fb21c597def2283b92515e7c8c463874cb8b3418 [2021-07-15T23:40:14.981Z] $ docker rm -f 7ba6d86c00dd280c4d72f633fb21c597def2283b92515e7c8c463874cb8b3418 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:40:15.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T23:40:15.889Z] 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-07-15T23:40:16.945Z] ---> job-cost.sh [2021-07-15T23:40:16.945Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Crly [2021-07-15T23:40:25.259Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T23:40:40.727Z] lf-activate-venv(): INFO: Adding /tmp/venv-Crly/bin to PATH [2021-07-15T23:40:40.727Z] INFO: No Stack... [2021-07-15T23:40:40.727Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T23:40:40.727Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T23:40:41.078Z] + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [2021-07-15T23:40:41.079Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T23:40:41.121Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] [2021-07-15T23:40:41.131Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] did not exist. Created. [2021-07-15T23:40:41.132Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T23:40:41.490Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-15T23:40:41.566Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T23:40:41.581Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-15T23:40:43.897Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:40:43.897Z] make -C ./app-service-template test [2021-07-15T23:40:43.897Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:40:43.897Z] go mod tidy [2021-07-15T23:40:43.897Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T23:41:10.903Z] ok new-app-service 0.043s coverage: 47.8% of statements [2021-07-15T23:41:10.903Z] ? new-app-service/config [no test files] [2021-07-15T23:41:10.903Z] ok new-app-service/functions 0.044s [2021-07-15T23:41:10.903Z] CGO_ENABLED=1 go vet ./... [2021-07-15T23:41:37.752Z] gofmt -l . [2021-07-15T23:41:37.752Z] [ "`gofmt -l .`" = "" ] [2021-07-15T23:41:37.752Z] ./bin/test-attribution-txt.sh [2021-07-15T23:41:38.357Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-07-15T23:41:38.357Z] go mod tidy [2021-07-15T23:41:38.959Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T23:41:40.407Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T23:41:48.767Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.095s coverage: 63.6% of statements [2021-07-15T23:41:48.767Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.057s coverage: 96.5% of statements [2021-07-15T23:41:48.767Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T23:41:48.767Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.136s coverage: 61.8% of statements [2021-07-15T23:41:48.768Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T23:41:48.768Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.059s [2021-07-15T23:41:49.054Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.094s coverage: 74.5% of statements [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T23:41:49.054Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.1% of statements [2021-07-15T23:41:49.054Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T23:41:49.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.083s coverage: 10.5% of statements [2021-07-15T23:41:56.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.826s coverage: 76.1% of statements [2021-07-15T23:41:56.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T23:41:56.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 12.5% of statements [2021-07-15T23:41:56.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.094s coverage: 27.3% of statements [2021-07-15T23:41:56.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T23:41:56.469Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T23:41:56.469Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 51.4% of statements [2021-07-15T23:42:23.248Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.120s coverage: 78.1% of statements [2021-07-15T23:42:23.248Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-07-15T23:42:23.248Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T23:42:25.973Z] gofmt -l . [2021-07-15T23:42:25.973Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T23:42:26.588Z] $ docker stop --time=1 c40389cb76e8d49d004fdda55b48bfd1247df2ec8726a135610ba73b33473ae2 [2021-07-15T23:42:28.542Z] $ docker rm -f c40389cb76e8d49d004fdda55b48bfd1247df2ec8726a135610ba73b33473ae2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:42:29.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T23:42:29.503Z] Warning: overwriting stash ‘coverage-report’ [2021-07-15T23:42:30.090Z] 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-07-15T23:42:30.805Z] ---> job-cost.sh [2021-07-15T23:42:30.806Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iSi4 [2021-07-15T23:43:09.816Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T23:44:46.612Z] lf-activate-venv(): INFO: Adding /tmp/venv-iSi4/bin to PATH [2021-07-15T23:44:46.612Z] INFO: No Stack... [2021-07-15T23:44:46.612Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-15T23:44:46.612Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T23:44:46.978Z] + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [2021-07-15T23:44:46.978Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T23:44:47.081Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] [2021-07-15T23:44:47.098Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] did not exist. Created. [2021-07-15T23:44:47.098Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T23:44:47.525Z] /w/workspace/app-functions-sdk-go/4@tmp/durable-b9bc8290/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-b9bc8290/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-15T23:44:47.933Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-15T23:44:47.969Z] Warning: overwriting stash ‘stack-cost’ [2021-07-15T23:44:48.188Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T23:44:48.202Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-4-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] configFileProvider [2021-07-15T23:44:49.017Z] provisioning config files... [2021-07-15T23:44:49.034Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2892645834138420708tmp [Pipeline] { [Pipeline] sh [2021-07-15T23:44:49.374Z] + set +x [2021-07-15T23:44:49.374Z] + bash -s -- [2021-07-15T23:44:49.374Z] + curl -s https://codecov.io/bash [2021-07-15T23:44:49.374Z] [2021-07-15T23:44:49.374Z] _____ _ [2021-07-15T23:44:49.374Z] / ____| | | [2021-07-15T23:44:49.374Z] | | ___ __| | ___ ___ _____ __ [2021-07-15T23:44:49.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-15T23:44:49.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-15T23:44:49.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-15T23:44:49.374Z] Bash-1.0.5 [2021-07-15T23:44:49.374Z] [2021-07-15T23:44:49.374Z] [2021-07-15T23:44:49.374Z] ==> git version 2.24.4 found [2021-07-15T23:44:49.374Z] ==> 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-07-15T23:44:49.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-15T23:44:49.374Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-15T23:44:49.374Z] ==> Jenkins CI detected. [2021-07-15T23:44:49.374Z] project root: . [2021-07-15T23:44:49.374Z] --> token set from env [2021-07-15T23:44:49.649Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-15T23:44:49.649Z] ==> Running gcov in . (disable via -X gcov) [2021-07-15T23:44:49.649Z] ==> Python coveragepy not found [2021-07-15T23:44:49.649Z] ==> Searching for coverage reports in: [2021-07-15T23:44:49.649Z] + . [2021-07-15T23:44:49.649Z] -> Found 2 reports [2021-07-15T23:44:49.649Z] ==> Detecting git/mercurial file structure [2021-07-15T23:44:49.649Z] ==> Reading reports [2021-07-15T23:44:49.649Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-15T23:44:49.649Z] + ./coverage.out bytes=95181 [2021-07-15T23:44:49.649Z] ==> Appending adjustments [2021-07-15T23:44:49.649Z] https://docs.codecov.io/docs/fixing-reports [2021-07-15T23:44:49.918Z] + Found adjustments [2021-07-15T23:44:49.918Z] ==> Gzipping contents [2021-07-15T23:44:49.918Z] 20K /tmp/codecov.qoDmjL.gz [2021-07-15T23:44:49.918Z] ==> Uploading reports [2021-07-15T23:44:49.918Z] url: https://codecov.io [2021-07-15T23:44:49.918Z] query: branch=main&commit=e52849b4ed789265e09033222a233a1a53cfae91&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-15T23:44:49.918Z] -> Pinging Codecov [2021-07-15T23:44:49.918Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=e52849b4ed789265e09033222a233a1a53cfae91&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-15T23:44:50.502Z] -> Uploading to [2021-07-15T23:44:50.503Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-15/3D8B5DFFC46A037C893635FACE044666/e52849b4ed789265e09033222a233a1a53cfae91/111de711-c06d-4d9f-9faf-bcdb0b1767cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210715T234450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33cfd38f35bfbb837234e377f007ae4c609ade99dc9840f06f588f12362deeb9 [2021-07-15T23:44:50.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T23:44:50.503Z] Dload Upload Total Spent Left Speed [2021-07-15T23:44:50.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16435 0 0 100 16435 0 36342 --:--:-- --:--:-- --:--:-- 36280 100 16435 0 0 100 16435 0 36329 --:--:-- --:--:-- --:--:-- 36280 [2021-07-15T23:44:50.974Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e52849b4ed789265e09033222a233a1a53cfae91 [Pipeline] } [2021-07-15T23:44:50.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-15T23:44:51.938Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-15T23:44:51.991Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:44:52.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T23:44:52.531Z] [2021-07-15T23:44:52.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:44:52.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T23:44:52.921Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-15T23:44:52.921Z] 188c0c94c7c5: Pulling fs layer [2021-07-15T23:44:52.921Z] 0ef7d3d256c8: Pulling fs layer [2021-07-15T23:44:52.921Z] de9db76c5a1d: Pulling fs layer [2021-07-15T23:44:52.921Z] 0eba1c9be4d2: Pulling fs layer [2021-07-15T23:44:52.921Z] 0d57e429df01: Pulling fs layer [2021-07-15T23:44:52.921Z] 4e4be7b47b0d: Pulling fs layer [2021-07-15T23:44:52.921Z] e1f770b5df2f: Pulling fs layer [2021-07-15T23:44:52.921Z] 85a0685a4137: Pulling fs layer [2021-07-15T23:44:52.921Z] 0eba1c9be4d2: Waiting [2021-07-15T23:44:52.921Z] 0d57e429df01: Waiting [2021-07-15T23:44:52.921Z] 4e4be7b47b0d: Waiting [2021-07-15T23:44:52.921Z] e1f770b5df2f: Waiting [2021-07-15T23:44:52.921Z] 85a0685a4137: Waiting [2021-07-15T23:44:53.193Z] de9db76c5a1d: Verifying Checksum [2021-07-15T23:44:53.193Z] de9db76c5a1d: Download complete [2021-07-15T23:44:53.193Z] 0ef7d3d256c8: Download complete [2021-07-15T23:44:53.193Z] 0d57e429df01: Verifying Checksum [2021-07-15T23:44:53.193Z] 0d57e429df01: Download complete [2021-07-15T23:44:53.193Z] 4e4be7b47b0d: Verifying Checksum [2021-07-15T23:44:53.193Z] 4e4be7b47b0d: Download complete [2021-07-15T23:44:53.193Z] 188c0c94c7c5: Verifying Checksum [2021-07-15T23:44:53.193Z] 188c0c94c7c5: Download complete [2021-07-15T23:44:53.466Z] 188c0c94c7c5: Pull complete [2021-07-15T23:44:53.466Z] 0ef7d3d256c8: Pull complete [2021-07-15T23:44:53.466Z] de9db76c5a1d: Pull complete [2021-07-15T23:44:54.057Z] e1f770b5df2f: Verifying Checksum [2021-07-15T23:44:54.057Z] e1f770b5df2f: Download complete [2021-07-15T23:44:58.330Z] 0eba1c9be4d2: Verifying Checksum [2021-07-15T23:44:58.330Z] 0eba1c9be4d2: Download complete [2021-07-15T23:44:58.607Z] 85a0685a4137: Verifying Checksum [2021-07-15T23:44:58.607Z] 85a0685a4137: Download complete [2021-07-15T23:45:01.253Z] 0eba1c9be4d2: Pull complete [2021-07-15T23:45:01.253Z] 0d57e429df01: Pull complete [2021-07-15T23:45:01.527Z] 4e4be7b47b0d: Pull complete [2021-07-15T23:45:02.143Z] e1f770b5df2f: Pull complete [2021-07-15T23:45:05.602Z] 85a0685a4137: Pull complete [2021-07-15T23:45:05.602Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-15T23:45:05.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T23:45:05.602Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-15T23:45:05.731Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:45:05.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-15T23:45:07.503Z] $ docker top a0790fdd14a8c4cd0053a99d258ca6f42241830ace6300baae71167fb629304f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-15T23:45:07.612Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-15T23:45:07.942Z] + set -o pipefail [2021-07-15T23:45:07.942Z] + snyk monitor '--org=edgex-jenkins' [2021-07-15T23:45:15.011Z] [2021-07-15T23:45:15.011Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-07-15T23:45:15.011Z] [2021-07-15T23:45:15.011Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/a5a69b5f-ba11-4f84-a961-701207f91305 [2021-07-15T23:45:15.011Z] [2021-07-15T23:45:15.011Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-15T23:45:15.011Z] [2021-07-15T23:45:15.011Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-15T23:45:15.011Z] [2021-07-15T23:45:15.011Z] [Pipeline] } [2021-07-15T23:45:15.032Z] $ docker stop --time=1 a0790fdd14a8c4cd0053a99d258ca6f42241830ace6300baae71167fb629304f [2021-07-15T23:45:16.962Z] $ docker rm -f a0790fdd14a8c4cd0053a99d258ca6f42241830ace6300baae71167fb629304f [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-07-15T23:45:17.620Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T23:45:17.642Z] provisioning config files... [2021-07-15T23:45:17.654Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7472150912219484690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:45:17.993Z] --> edgex-publish-swagger.sh [2021-07-15T23:45:17.993Z] === Publish openapi/v2 API === [2021-07-15T23:45:17.993Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-15T23:45:17.993Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-07-15T23:45:17.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T23:45:17.993Z] Dload Upload Total Spent Left Speed [2021-07-15T23:45:18.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11405 0:00:01 0:00:01 --:--:-- 11410 100 13054 0 0 100 13054 0 11404 0:00:01 0:00:01 --:--:-- 11410 [2021-07-15T23:45:18.951Z] [2021-07-15T23:45:18.951Z] [Pipeline] } [2021-07-15T23:45:18.965Z] 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-07-15T23:45:19.544Z] + git log --format=format:%s -1 e52849b4ed789265e09033222a233a1a53cfae91 [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:45:19.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:45:19.875Z] . [Pipeline] withDockerContainer [2021-07-15T23:45:19.966Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:45:20.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T23:45:20.412Z] $ docker top bd7cbed78e78b0e46e627c7f3f0394480c4e17e223035286c16dd5bb0883101b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T23:45:20.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:45:20.565Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:45:20.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:45:20.683Z] $ docker exec bd7cbed78e78b0e46e627c7f3f0394480c4e17e223035286c16dd5bb0883101b ssh-agent [2021-07-15T23:45:20.803Z] SSH_AUTH_SOCK=/tmp/ssh-6ocafPDtkRY8/agent.13 [2021-07-15T23:45:20.803Z] SSH_AGENT_PID=20 [2021-07-15T23:45:20.814Z] Running ssh-add (command line suppressed) [2021-07-15T23:45:20.903Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4006951585797699079.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4006951585797699079.key) [2021-07-15T23:45:20.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:45:21.258Z] + git semver tag [2021-07-15T23:45:21.258Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T23:45:21.258Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T23:45:21.258Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T23:45:21.258Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T23:45:21.258Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T23:45:21.258Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T23:45:21.258Z] # $SEMVER_BRANCH = main [2021-07-15T23:45:21.258Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-15T23:45:21.258Z] # e52849b4ed789265e09033222a233a1a53cfae91 HEAD [2021-07-15T23:45:21.258Z] # -> Force: false [2021-07-15T23:45:21.258Z] # 2364dfdb319d599dc32635a5b54dc69cfe681a45 refs/tags/v2.0.1-dev.5 [Pipeline] } [2021-07-15T23:45:21.267Z] $ docker exec --env ******** --env ******** bd7cbed78e78b0e46e627c7f3f0394480c4e17e223035286c16dd5bb0883101b ssh-agent -k [2021-07-15T23:45:21.371Z] unset SSH_AUTH_SOCK; [2021-07-15T23:45:21.373Z] unset SSH_AGENT_PID; [2021-07-15T23:45:21.373Z] echo Agent pid 20 killed; [2021-07-15T23:45:21.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T23:45:21.744Z] + git semver [Pipeline] } [2021-07-15T23:45:21.767Z] $ docker stop --time=1 bd7cbed78e78b0e46e627c7f3f0394480c4e17e223035286c16dd5bb0883101b [2021-07-15T23:45:23.010Z] $ docker rm -f bd7cbed78e78b0e46e627c7f3f0394480c4e17e223035286c16dd5bb0883101b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:45:23.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T23:45:23.701Z] [2021-07-15T23:45:23.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:45:24.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T23:45:24.052Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-15T23:45:24.052Z] ab5ef0e58194: Pulling fs layer [2021-07-15T23:45:24.052Z] 9712f1f96733: Pulling fs layer [2021-07-15T23:45:24.052Z] 63f879dbbcfc: Pulling fs layer [2021-07-15T23:45:24.052Z] 0d9ebad4ef96: Pulling fs layer [2021-07-15T23:45:24.052Z] e9a5061849ea: Pulling fs layer [2021-07-15T23:45:24.052Z] d747dcd14b5f: Pulling fs layer [2021-07-15T23:45:24.052Z] 2de7ff778b66: Pulling fs layer [2021-07-15T23:45:24.052Z] 0d9ebad4ef96: Waiting [2021-07-15T23:45:24.052Z] d747dcd14b5f: Waiting [2021-07-15T23:45:24.052Z] 2de7ff778b66: Waiting [2021-07-15T23:45:24.052Z] e9a5061849ea: Waiting [2021-07-15T23:45:24.052Z] 9712f1f96733: Verifying Checksum [2021-07-15T23:45:24.052Z] 9712f1f96733: Download complete [2021-07-15T23:45:26.055Z] 63f879dbbcfc: Verifying Checksum [2021-07-15T23:45:26.056Z] 63f879dbbcfc: Download complete [2021-07-15T23:45:26.668Z] e9a5061849ea: Verifying Checksum [2021-07-15T23:45:26.668Z] e9a5061849ea: Download complete [2021-07-15T23:45:26.668Z] d747dcd14b5f: Verifying Checksum [2021-07-15T23:45:26.668Z] d747dcd14b5f: Download complete [2021-07-15T23:45:27.626Z] 2de7ff778b66: Verifying Checksum [2021-07-15T23:45:27.626Z] 2de7ff778b66: Download complete [2021-07-15T23:45:27.626Z] 0d9ebad4ef96: Verifying Checksum [2021-07-15T23:45:27.626Z] 0d9ebad4ef96: Download complete [2021-07-15T23:45:27.950Z] ab5ef0e58194: Verifying Checksum [2021-07-15T23:45:27.950Z] ab5ef0e58194: Download complete [2021-07-15T23:45:30.674Z] ab5ef0e58194: Pull complete [2021-07-15T23:45:30.674Z] 9712f1f96733: Pull complete [2021-07-15T23:45:31.341Z] 63f879dbbcfc: Pull complete [2021-07-15T23:45:34.722Z] 0d9ebad4ef96: Pull complete [2021-07-15T23:45:34.722Z] e9a5061849ea: Pull complete [2021-07-15T23:45:34.722Z] d747dcd14b5f: Pull complete [2021-07-15T23:45:35.688Z] 2de7ff778b66: Pull complete [2021-07-15T23:45:35.688Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-15T23:45:35.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T23:45:35.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-15T23:45:35.834Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:45:35.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-15T23:45:38.875Z] $ docker top 649b5286c71923bc9e4621570d14932efb8aef1f1479d92fe09ba81f9c5aa2dc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-15T23:45:38.986Z] provisioning config files... [2021-07-15T23:45:38.998Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3450564513513179533tmp [2021-07-15T23:45:39.020Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2918488788495814034tmp [2021-07-15T23:45:39.042Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2662065924892831450tmp [Pipeline] { [Pipeline] echo [2021-07-15T23:45:39.069Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:45:39.384Z] ---> sigul-configuration.sh [2021-07-15T23:45:39.384Z] gpg: directory `/root/.gnupg' created [2021-07-15T23:45:39.384Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-15T23:45:39.384Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-15T23:45:39.384Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-15T23:45:39.384Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-15T23:45:39.384Z] gpg: CAST5 encrypted data [2021-07-15T23:45:39.384Z] gpg: encrypted with 1 passphrase [2021-07-15T23:45:39.384Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-15T23:45:39.701Z] + mkdir /home/jenkins [2021-07-15T23:45:39.702Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-15T23:45:40.021Z] + 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-07-15T23:45:40.039Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:45:40.356Z] ---> sigul-install.sh [2021-07-15T23:45:43.981Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-15T23:45:44.571Z] + git tag --list [2021-07-15T23:45:44.571Z] v0.1.0 [2021-07-15T23:45:44.571Z] v0.1.1 [2021-07-15T23:45:44.571Z] v1.0.0 [2021-07-15T23:45:44.571Z] v1.1.0 [2021-07-15T23:45:44.571Z] v1.2.0 [2021-07-15T23:45:44.571Z] v1.3.0 [2021-07-15T23:45:44.571Z] v1.3.1 [2021-07-15T23:45:44.571Z] v2.0.0 [2021-07-15T23:45:44.571Z] v2.0.1-dev.1 [2021-07-15T23:45:44.571Z] v2.0.1-dev.2 [2021-07-15T23:45:44.571Z] v2.0.1-dev.3 [2021-07-15T23:45:44.571Z] v2.0.1-dev.4 [2021-07-15T23:45:44.571Z] v2.0.1-dev.5 [Pipeline] sh [2021-07-15T23:45:44.902Z] + lftools sign git-tag v2.0.1-dev.5 [2021-07-15T23:45:45.520Z] Signing Git tag with Sigul... [2021-07-15T23:45:45.520Z] Signing v2.0.1-dev.5 [Pipeline] echo [2021-07-15T23:45:46.118Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:45:46.445Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-15T23:45:46.457Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-15T23:45:46.483Z] $ docker stop --time=1 649b5286c71923bc9e4621570d14932efb8aef1f1479d92fe09ba81f9c5aa2dc [2021-07-15T23:45:47.996Z] $ docker rm -f 649b5286c71923bc9e4621570d14932efb8aef1f1479d92fe09ba81f9c5aa2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:45:48.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:45:48.772Z] . [Pipeline] withDockerContainer [2021-07-15T23:45:48.864Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:45:48.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T23:45:49.329Z] $ docker top 3de3fb8f7f1680be071fbbac2821a90488c837d09ae098820321c5a8ce4cdde5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T23:45:49.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:45:49.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:45:49.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:45:49.609Z] $ docker exec 3de3fb8f7f1680be071fbbac2821a90488c837d09ae098820321c5a8ce4cdde5 ssh-agent [2021-07-15T23:45:49.735Z] SSH_AUTH_SOCK=/tmp/ssh-5yDuYtpenJUX/agent.14 [2021-07-15T23:45:49.735Z] SSH_AGENT_PID=20 [2021-07-15T23:45:49.747Z] Running ssh-add (command line suppressed) [2021-07-15T23:45:49.837Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7174463676800197958.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7174463676800197958.key) [2021-07-15T23:45:49.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:45:50.251Z] + git semver bump pre [2021-07-15T23:45:50.251Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T23:45:50.251Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T23:45:50.251Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T23:45:50.251Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T23:45:50.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T23:45:50.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T23:45:50.251Z] # $SEMVER_BRANCH = main [2021-07-15T23:45:50.251Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-15T23:45:50.251Z] 2.0.1-dev.6 [Pipeline] } [2021-07-15T23:45:50.262Z] $ docker exec --env ******** --env ******** 3de3fb8f7f1680be071fbbac2821a90488c837d09ae098820321c5a8ce4cdde5 ssh-agent -k [2021-07-15T23:45:50.360Z] unset SSH_AUTH_SOCK; [2021-07-15T23:45:50.360Z] unset SSH_AGENT_PID; [2021-07-15T23:45:50.360Z] echo Agent pid 20 killed; [2021-07-15T23:45:50.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T23:45:50.778Z] + git semver [Pipeline] } [2021-07-15T23:45:50.797Z] $ docker stop --time=1 3de3fb8f7f1680be071fbbac2821a90488c837d09ae098820321c5a8ce4cdde5 [2021-07-15T23:45:51.995Z] $ docker rm -f 3de3fb8f7f1680be071fbbac2821a90488c837d09ae098820321c5a8ce4cdde5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:45:52.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:45:52.436Z] . [Pipeline] withDockerContainer [2021-07-15T23:45:52.544Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:45:52.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T23:45:52.997Z] $ docker top 6dff43878a0b245773c4a0c257a6aafd64d48460e28d3a577e89c4eceba5654a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T23:45:53.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:45:53.164Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:45:53.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:45:53.295Z] $ docker exec 6dff43878a0b245773c4a0c257a6aafd64d48460e28d3a577e89c4eceba5654a ssh-agent [2021-07-15T23:45:53.431Z] SSH_AUTH_SOCK=/tmp/ssh-Ht4vRsqY4c34/agent.13 [2021-07-15T23:45:53.431Z] SSH_AGENT_PID=20 [2021-07-15T23:45:53.441Z] Running ssh-add (command line suppressed) [2021-07-15T23:45:53.535Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7962850330261665876.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7962850330261665876.key) [2021-07-15T23:45:53.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:45:53.921Z] + git semver push [2021-07-15T23:45:53.921Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T23:45:53.921Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T23:45:53.921Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T23:45:53.921Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T23:45:53.922Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T23:45:53.922Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T23:45:53.922Z] # $SEMVER_BRANCH = main [2021-07-15T23:45:53.922Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-15T23:45:59.567Z] $ docker exec --env ******** --env ******** 6dff43878a0b245773c4a0c257a6aafd64d48460e28d3a577e89c4eceba5654a ssh-agent -k [2021-07-15T23:45:59.667Z] unset SSH_AUTH_SOCK; [2021-07-15T23:45:59.667Z] unset SSH_AGENT_PID; [2021-07-15T23:45:59.667Z] echo Agent pid 20 killed; [2021-07-15T23:45:59.691Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T23:46:00.044Z] + git semver [Pipeline] } [2021-07-15T23:46:00.062Z] $ docker stop --time=1 6dff43878a0b245773c4a0c257a6aafd64d48460e28d3a577e89c4eceba5654a [2021-07-15T23:46:01.246Z] $ docker rm -f 6dff43878a0b245773c4a0c257a6aafd64d48460e28d3a577e89c4eceba5654a [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-07-15T23:46:02.198Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:02.795Z] ---> package-listing.sh [2021-07-15T23:46:02.795Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-15T23:46:02.795Z] ++ facter osfamily [2021-07-15T23:46:03.067Z] + OS_FAMILY=redhat [2021-07-15T23:46:03.067Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T23:46:03.067Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-15T23:46:03.067Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-15T23:46:03.067Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-15T23:46:03.067Z] + PACKAGES=/tmp/packages_start.txt [2021-07-15T23:46:03.067Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-15T23:46:03.067Z] + PACKAGES=/tmp/packages_end.txt [2021-07-15T23:46:03.067Z] + case "${OS_FAMILY}" in [2021-07-15T23:46:03.067Z] + rpm -qa [2021-07-15T23:46:03.067Z] + sort [2021-07-15T23:46:03.654Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-15T23:46:03.654Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-15T23:46:03.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-15T23:46:03.654Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-15T23:46:03.654Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-07-15T23:46:03.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2021-07-15T23:46:03.672Z] 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-15T23:46:03.977Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:46:04.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:46:04.562Z] [2021-07-15T23:46:04.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:46:04.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:46:04.892Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-15T23:46:04.892Z] 5843afab3874: Pulling fs layer [2021-07-15T23:46:04.892Z] 2dfaacf7024e: Pulling fs layer [2021-07-15T23:46:04.892Z] 2dbba127c6aa: Pulling fs layer [2021-07-15T23:46:04.892Z] 1a467efa2204: Pulling fs layer [2021-07-15T23:46:04.892Z] 865369a531d5: Pulling fs layer [2021-07-15T23:46:04.892Z] 2dc3bafdbf1c: Pulling fs layer [2021-07-15T23:46:04.892Z] 9ac237eaa80d: Pulling fs layer [2021-07-15T23:46:04.893Z] 6bcad4ecc5c2: Pulling fs layer [2021-07-15T23:46:04.893Z] 7074353bde3e: Pulling fs layer [2021-07-15T23:46:04.893Z] 2dc3bafdbf1c: Waiting [2021-07-15T23:46:04.893Z] 9ac237eaa80d: Waiting [2021-07-15T23:46:04.893Z] 6bcad4ecc5c2: Waiting [2021-07-15T23:46:04.893Z] 7074353bde3e: Waiting [2021-07-15T23:46:04.893Z] 1a467efa2204: Waiting [2021-07-15T23:46:04.893Z] 865369a531d5: Waiting [2021-07-15T23:46:04.893Z] 2dfaacf7024e: Verifying Checksum [2021-07-15T23:46:04.893Z] 2dfaacf7024e: Download complete [2021-07-15T23:46:05.166Z] 1a467efa2204: Verifying Checksum [2021-07-15T23:46:05.166Z] 1a467efa2204: Download complete [2021-07-15T23:46:05.166Z] 5843afab3874: Verifying Checksum [2021-07-15T23:46:05.166Z] 5843afab3874: Download complete [2021-07-15T23:46:05.166Z] 2dc3bafdbf1c: Verifying Checksum [2021-07-15T23:46:05.166Z] 2dc3bafdbf1c: Download complete [2021-07-15T23:46:05.166Z] 9ac237eaa80d: Verifying Checksum [2021-07-15T23:46:05.166Z] 9ac237eaa80d: Download complete [2021-07-15T23:46:05.166Z] 6bcad4ecc5c2: Verifying Checksum [2021-07-15T23:46:05.166Z] 6bcad4ecc5c2: Download complete [2021-07-15T23:46:05.434Z] 5843afab3874: Pull complete [2021-07-15T23:46:05.434Z] 2dfaacf7024e: Pull complete [2021-07-15T23:46:05.434Z] 865369a531d5: Verifying Checksum [2021-07-15T23:46:05.434Z] 865369a531d5: Download complete [2021-07-15T23:46:06.018Z] 2dbba127c6aa: Verifying Checksum [2021-07-15T23:46:06.018Z] 2dbba127c6aa: Download complete [2021-07-15T23:46:06.284Z] 2dbba127c6aa: Pull complete [2021-07-15T23:46:06.550Z] 1a467efa2204: Pull complete [2021-07-15T23:46:06.819Z] 865369a531d5: Pull complete [2021-07-15T23:46:06.819Z] 2dc3bafdbf1c: Pull complete [2021-07-15T23:46:06.819Z] 9ac237eaa80d: Pull complete [2021-07-15T23:46:06.819Z] 6bcad4ecc5c2: Pull complete [2021-07-15T23:46:09.392Z] 7074353bde3e: Verifying Checksum [2021-07-15T23:46:09.392Z] 7074353bde3e: Download complete [2021-07-15T23:46:13.687Z] 7074353bde3e: Pull complete [2021-07-15T23:46:13.687Z] Digest: sha256:2a5174b1bc71a2b706ed38de5c718fca755e8a1691f7904ed9ba2ee036070238 [2021-07-15T23:46:13.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:46:13.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-15T23:46:13.779Z] prd-centos7-docker-4c-2g-3018 does not seem to be running inside a container [2021-07-15T23:46:13.834Z] $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-15T23:46:15.848Z] $ docker top 28dae40d78beb90e2d402fa7a144ebf3025697d5d01cb91ecbf5b13f769f32fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:46:16.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-15T23:46:16.767Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-15T23:46:17.082Z] + ls /var/log/sa-host [2021-07-15T23:46:17.082Z] + sadf -c /var/log/sa-host/sa05 [2021-07-15T23:46:17.082Z] file_magic: OK [2021-07-15T23:46:17.082Z] HZ: Using current value: 100 [2021-07-15T23:46:17.082Z] file_header: OK [2021-07-15T23:46:17.082Z] 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-07-15T23:46:17.082Z] Statistics: [2021-07-15T23:46:17.082Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T23:46:17.082Z] File successfully converted to sysstat format version 12.5.4 [2021-07-15T23:46:17.082Z] + sadf -c /var/log/sa-host/sa15 [2021-07-15T23:46:17.082Z] file_magic: OK [2021-07-15T23:46:17.082Z] HZ: Using current value: 100 [2021-07-15T23:46:17.082Z] file_header: OK [2021-07-15T23:46:17.082Z] 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-07-15T23:46:17.082Z] Statistics: [2021-07-15T23:46:17.082Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T23:46:17.082Z] File successfully converted to sysstat format version 12.5.4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T23:46:17.318Z] provisioning config files... [2021-07-15T23:46:17.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7455426187495249213tmp [Pipeline] { [Pipeline] echo [2021-07-15T23:46:17.366Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:17.682Z] ---> create-netrc.sh [Pipeline] } [2021-07-15T23:46:17.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:18.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-15T23:46:18.120Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:18.446Z] ---> sudo-logs.sh [2021-07-15T23:46:18.447Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-15T23:46:18.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:18.795Z] ---> job-cost.sh [2021-07-15T23:46:18.795Z] lf-activate-venv: SKIPPING [2021-07-15T23:46:18.795Z] DEBUG: total: 0.18000000715255737 [2021-07-15T23:46:18.795Z] INFO: Retrieving Stack Cost... [2021-07-15T23:46:20.205Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T23:46:20.472Z] INFO: Archiving Costs [Pipeline] echo [2021-07-15T23:46:20.490Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:46:20.802Z] ---> logs-deploy.sh [2021-07-15T23:46:20.802Z] lf-activate-venv: SKIPPING [2021-07-15T23:46:20.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/4 [2021-07-15T23:46:20.802Z] INFO: archiving workspace using pattern(s): [2021-07-15T23:46:21.390Z] Archives upload complete. [2021-07-15T23:46:21.658Z] INFO: archiving logs to Nexus