Pull request #592 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 9f057f22a5f40328376d44021849ef0c79a2e441+d5e638f2527a7df0e2423fefa94ca91616313c76 (52a505077766f157c1e6cd1a8bcf6626555d1617) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-592/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-592/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15298 in /w/workspace/ndry_app-functions-sdk-go_PR-592 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-592 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 9f057f22a5f40328376d44021849ef0c79a2e441 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 Merge succeeded, producing 9f057f22a5f40328376d44021849ef0c79a2e441 Checking out Revision 9f057f22a5f40328376d44021849ef0c79a2e441 (PR-592) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 Commit message: "feat(MQTTSend): Remove deprecated MQTTSend pipeline function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:00:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:00:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:03 ========================================================= 23:00:03 EdgeX Global Pipelines Version Info 23:00:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:00:06 ------------------- 23:00:06 stable info: 23:00:06 ------------------- 23:00:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:06 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 23:00:06 Message: update stable to v1.0.172 23:00:08 ------------------- 23:00:08 experimental info: 23:00:08 ------------------- 23:00:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:08 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 23:00:08 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:00:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:00:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:00:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:00:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:00:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:00:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-592 [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-592 [Pipeline] echo 23:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-592 [Pipeline] echo 23:00:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f057f22a5f40328376d44021849ef0c79a2e441 [Pipeline] echo 23:00:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f057f2 [Pipeline] echo 23:00:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:14 + git log --format=format:%s -1 9f057f22a5f40328376d44021849ef0c79a2e441 [Pipeline] echo 23:00:14 GIT_COMMIT: 9f057f22a5f40328376d44021849ef0c79a2e441, Commit Message: feat(MQTTSend): Remove deprecated MQTTSend pipeline function [Pipeline] echo 23:00:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:16 23:00:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:00:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:16 latest: Pulling from edgex-devops/git-semver 23:00:16 31603596830f: Pulling fs layer 23:00:16 2a8b12db71e7: Pulling fs layer 23:00:16 6ca5941a6612: Pulling fs layer 23:00:16 ecc8261a40a4: Pulling fs layer 23:00:16 ecc8261a40a4: Waiting 23:00:16 2a8b12db71e7: Verifying Checksum 23:00:16 2a8b12db71e7: Download complete 23:00:16 31603596830f: Download complete 23:00:17 ecc8261a40a4: Verifying Checksum 23:00:17 ecc8261a40a4: Download complete 23:00:17 6ca5941a6612: Verifying Checksum 23:00:17 6ca5941a6612: Download complete 23:00:17 31603596830f: Pull complete 23:00:18 2a8b12db71e7: Pull complete 23:00:19 6ca5941a6612: Pull complete 23:00:19 ecc8261a40a4: Pull complete 23:00:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:00:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:00:19 prd-centos7-docker-4c-2g-15298 does not seem to be running inside a container 23:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-592 -v /w/workspace/ndry_app-functions-sdk-go_PR-592:/w/workspace/ndry_app-functions-sdk-go_PR-592:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-592@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-592@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:00:22 $ docker top eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:00:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:23 [ssh-agent] Looking for ssh-agent implementation... 23:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:24 $ docker exec eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd ssh-agent 23:00:24 SSH_AUTH_SOCK=/tmp/ssh-t7oPLVXGf5R4/agent.13 23:00:24 SSH_AGENT_PID=18 23:00:24 Running ssh-add (command line suppressed) 23:00:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/private_key_2679478288829469851.key (/w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/private_key_2679478288829469851.key) 23:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:25 + git tag --points-at HEAD [Pipeline] } 23:00:25 $ docker exec --env ******** --env ******** eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd ssh-agent -k 23:00:25 unset SSH_AUTH_SOCK; 23:00:25 unset SSH_AGENT_PID; 23:00:25 echo Agent pid 18 killed; 23:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:00:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:25 [ssh-agent] Looking for ssh-agent implementation... 23:00:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:26 $ docker exec eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd ssh-agent 23:00:26 SSH_AUTH_SOCK=/tmp/ssh-Go8HLGLFKm3D/agent.47 23:00:26 SSH_AGENT_PID=52 23:00:26 Running ssh-add (command line suppressed) 23:00:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/private_key_6867744533088202760.key (/w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/private_key_6867744533088202760.key) 23:00:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:27 + git semver init 23:00:27 # -> Open(): unable to determine branch for HEAD 23:00:27 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-592/.git 23:00:27 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-592 23:00:27 # $SEMVER_REMOTE_NAME = origin 23:00:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:00:27 # $SEMVER_USER_NAME = edgex-jenkins 23:00:27 # $SEMVER_BRANCH = PR-592 23:00:27 # $SEMVER_TEMP = /tmp/semver-624410712 23:00:27 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:00:31 # '/tmp/semver-624410712' -> '/w/workspace/ndry_app-functions-sdk-go_PR-592/.semver' 23:00:31 # -> Force: false 23:00:31 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-592/.semver [Pipeline] } 23:00:31 $ docker exec --env ******** --env ******** eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd ssh-agent -k 23:00:31 unset SSH_AUTH_SOCK; 23:00:31 unset SSH_AGENT_PID; 23:00:31 echo Agent pid 52 killed; 23:00:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:32 + git semver [Pipeline] } 23:00:32 $ docker stop --time=1 eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd 23:00:33 $ docker rm -f eed19f8d61a70422239307ccab03fa48cf205149210439c0d1d866e1bfe554fd [Pipeline] // withDockerContainer [Pipeline] sh 23:00:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:00:35 Stashed 1 file(s) [Pipeline] echo 23:00:35 [edgeXSemver]: initialized semver on version 0.0.0 [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 23:00:51 Still waiting to schedule task 23:00:51 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15298’ 23:00:51 Still waiting to schedule task 23:00:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:03:24 Running on prd-centos7-docker-4c-2g-15299 in /w/workspace/ndry_app-functions-sdk-go_PR-592 [Pipeline] { [Pipeline] ws 23:03:24 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:03:27 using credential edgex-jenkins-ssh 23:03:27 Cloning the remote Git repository 23:03:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:27 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:03:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:27 > git --version # timeout=10 23:03:27 > git --version # 'git version 2.24.3' 23:03:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:30 Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 9f057f22a5f40328376d44021849ef0c79a2e441 23:03:30 Merge succeeded, producing 9f057f22a5f40328376d44021849ef0c79a2e441 23:03:30 Checking out Revision 9f057f22a5f40328376d44021849ef0c79a2e441 (PR-592) 23:03:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:03:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:03:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:03:30 > git config core.sparsecheckout # timeout=10 23:03:30 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 23:03:30 > git remote # timeout=10 23:03:30 > git config --get remote.origin.url # timeout=10 23:03:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:30 > git merge d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 23:03:30 > git rev-parse HEAD^{commit} # timeout=10 23:03:30 > git config core.sparsecheckout # timeout=10 23:03:30 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 23:03:34 Commit message: "feat(MQTTSend): Remove deprecated MQTTSend pipeline function" 23:03:34 > git --version # timeout=10 23:03:34 > git --version # 'git version 2.24.3' 23:03:34 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:03:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:03:36 + true 23:03:36 + sudo service docker restart 23:03:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 23:03:37 ========================================================= 23:03:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:03:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:03:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 23:03:38 Sending build context to Docker daemon 19.19MB 23:03:38 Step 1/8 : ARG BASE=golang:1.15-alpine 23:03:38 Step 2/8 : FROM ${BASE} 23:03:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:03:38 188c0c94c7c5: Pulling fs layer 23:03:38 0ef7d3d256c8: Pulling fs layer 23:03:38 de9db76c5a1d: Pulling fs layer 23:03:38 bca2f99d35d6: Pulling fs layer 23:03:38 93359f2a8cfa: Pulling fs layer 23:03:38 7c6f9722023f: Pulling fs layer 23:03:38 a35cf1a2eb13: Pulling fs layer 23:03:38 93359f2a8cfa: Waiting 23:03:38 7c6f9722023f: Waiting 23:03:38 a35cf1a2eb13: Waiting 23:03:38 bca2f99d35d6: Waiting 23:03:38 de9db76c5a1d: Verifying Checksum 23:03:38 de9db76c5a1d: Download complete 23:03:38 0ef7d3d256c8: Download complete 23:03:38 93359f2a8cfa: Verifying Checksum 23:03:38 93359f2a8cfa: Download complete 23:03:38 7c6f9722023f: Download complete 23:03:39 188c0c94c7c5: Verifying Checksum 23:03:39 188c0c94c7c5: Download complete 23:03:39 188c0c94c7c5: Pull complete 23:03:39 0ef7d3d256c8: Pull complete 23:03:39 de9db76c5a1d: Pull complete 23:03:41 a35cf1a2eb13: Verifying Checksum 23:03:41 a35cf1a2eb13: Download complete 23:03:42 bca2f99d35d6: Verifying Checksum 23:03:42 bca2f99d35d6: Download complete 23:03:47 bca2f99d35d6: Pull complete 23:03:47 93359f2a8cfa: Pull complete 23:03:47 7c6f9722023f: Pull complete 23:03:52 a35cf1a2eb13: Pull complete 23:03:52 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:03:52 ---> a62c8e92a672 23:03:52 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:03:52 latest: Pulling from library/docker 23:03:52 188c0c94c7c5: Already exists 23:03:52 0c7c675703d6: Pulling fs layer 23:03:52 cc8c12a437cb: Pulling fs layer 23:03:52 f092543453df: Pulling fs layer 23:03:52 65b6bc45957d: Pulling fs layer 23:03:52 4de832df471b: Pulling fs layer 23:03:52 79aa7fa92271: Pulling fs layer 23:03:52 65b6bc45957d: Waiting 23:03:52 4de832df471b: Waiting 23:03:52 79aa7fa92271: Waiting 23:03:52 cc8c12a437cb: Verifying Checksum 23:03:52 cc8c12a437cb: Download complete 23:03:52 65b6bc45957d: Verifying Checksum 23:03:52 65b6bc45957d: Download complete 23:03:52 0c7c675703d6: Verifying Checksum 23:03:52 0c7c675703d6: Download complete 23:03:52 4de832df471b: Verifying Checksum 23:03:52 4de832df471b: Download complete 23:03:52 79aa7fa92271: Verifying Checksum 23:03:52 79aa7fa92271: Download complete 23:03:52 0c7c675703d6: Pull complete 23:03:52 cc8c12a437cb: Pull complete 23:03:53 f092543453df: Verifying Checksum 23:03:53 f092543453df: Download complete 23:03:55 f092543453df: Pull complete 23:03:56 65b6bc45957d: Pull complete 23:03:56 4de832df471b: Pull complete 23:03:56 79aa7fa92271: Pull complete 23:03:56 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 23:03:56 Status: Downloaded newer image for docker:latest 23:03:57 ---> 7d62648f58a6 23:03:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:03:57 ---> Running in 1f4bf8093b7e 23:03:58 Removing intermediate container 1f4bf8093b7e 23:03:58 ---> d8f5dab7b97b 23:03:58 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:03:58 ---> Running in dbe95eb13cd7 23:03:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:03:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:04:00 (1/5) Installing libsodium (1.0.18-r0) 23:04:00 (2/5) Installing libzmq (4.3.3-r0) 23:04:00 (3/5) Installing pkgconf (1.7.2-r0) 23:04:00 (4/5) Installing libsodium-dev (1.0.18-r0) 23:04:00 (5/5) Installing zeromq-dev (4.3.3-r0) 23:04:00 Executing busybox-1.31.1-r19.trigger 23:04:00 OK: 167 MiB in 44 packages 23:04:00 Removing intermediate container dbe95eb13cd7 23:04:00 ---> c24551d307bc 23:04:00 Step 6/8 : WORKDIR /build 23:04:01 ---> Running in 32bbca7cfc60 23:04:01 Removing intermediate container 32bbca7cfc60 23:04:01 ---> 951b4070daff 23:04:01 Step 7/8 : COPY go.mod . 23:04:01 ---> 9782d43b8066 23:04:01 Step 8/8 : RUN go mod download 23:04:01 ---> Running in d6dc12fa8619 23:04:23 Removing intermediate container d6dc12fa8619 23:04:23 ---> 9084cf1cd956 23:04:23 Successfully built 9084cf1cd956 23:04:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:04:23 + docker inspect -f . ci-base-image-x86_64 23:04:23 . [Pipeline] withDockerContainer 23:04:24 prd-centos7-docker-4c-2g-15299 does not seem to be running inside a container 23:04:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:04:24 $ docker top 15687fe7aaa21aeb0ee4b2d83bfa45df42e6421e779827ea2cd94413af307951 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:25 + go version 23:04:25 go version go1.15.5 linux/amd64 [Pipeline] } 23:04:25 $ docker stop --time=1 15687fe7aaa21aeb0ee4b2d83bfa45df42e6421e779827ea2cd94413af307951 23:04:27 $ docker rm -f 15687fe7aaa21aeb0ee4b2d83bfa45df42e6421e779827ea2cd94413af307951 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:04:28 + docker inspect -f . ci-base-image-x86_64 23:04:28 . [Pipeline] withDockerContainer 23:04:28 prd-centos7-docker-4c-2g-15299 does not seem to be running inside a container 23:04:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:04:29 $ docker top 496e66009382e6bb692a65f32c9cc0fe0f4d8cda8210d492bf236a380d8e7055 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:29 + make test 23:04:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:04:30 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:04:37 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.014s coverage: 86.2% of statements 23:04:47 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.018s coverage: 50.5% of statements 23:04:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:04:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:04:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.032s coverage: 54.7% of statements 23:04:47 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:04:47 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.026s coverage: 69.1% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.422s coverage: 61.6% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.013s coverage: 100.0% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.019s coverage: 8.8% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.915s coverage: 75.0% of statements 23:05:02 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.010s coverage: 80.5% of statements 23:05:02 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.033s coverage: 81.6% of statements 23:05:17 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 23:05:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15301 in /w/workspace/ndry_app-functions-sdk-go_PR-592 [Pipeline] { [Pipeline] ws 23:05:19 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:05:21 gofmt -l . 23:05:21 [ "`gofmt -l .`" = "" ] 23:05:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:05:21 $ docker stop --time=1 496e66009382e6bb692a65f32c9cc0fe0f4d8cda8210d492bf236a380d8e7055 23:05:22 $ docker rm -f 496e66009382e6bb692a65f32c9cc0fe0f4d8cda8210d492bf236a380d8e7055 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage 23:05:24 using credential edgex-jenkins-ssh 23:05:24 Cloning the remote Git repository [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 23:05:24 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:24 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:05:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:24 > git --version # timeout=10 23:05:24 > git --version # 'git version 2.17.1' 23:05:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:05:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:05:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:05:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:05:28 Merging remotes/origin/master commit d5e638f2527a7df0e2423fefa94ca91616313c76 into PR head commit 9f057f22a5f40328376d44021849ef0c79a2e441 23:05:28 Merge succeeded, producing 9f057f22a5f40328376d44021849ef0c79a2e441 23:05:28 Checking out Revision 9f057f22a5f40328376d44021849ef0c79a2e441 (PR-592) 23:05:28 > git config core.sparsecheckout # timeout=10 23:05:28 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 23:05:28 > git remote # timeout=10 23:05:28 > git config --get remote.origin.url # timeout=10 23:05:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:28 > git merge d5e638f2527a7df0e2423fefa94ca91616313c76 # timeout=10 23:05:28 > git rev-parse HEAD^{commit} # timeout=10 23:05:28 > git config core.sparsecheckout # timeout=10 23:05:28 > git checkout -f 9f057f22a5f40328376d44021849ef0c79a2e441 # timeout=10 23:05:33 Commit message: "feat(MQTTSend): Remove deprecated MQTTSend pipeline function" 23:05:33 > git --version # timeout=10 23:05:33 > git --version # 'git version 2.17.1' 23:05:33 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:05:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:05:36 + sudo+ service docker restarttrue 23:05:36 [Pipeline] unstash [Pipeline] echo 23:05:38 ========================================================= 23:05:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:05:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:05:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 23:05:39 Sending build context to Docker daemon 19.19MB 23:05:39 Step 1/8 : ARG BASE=golang:1.15-alpine 23:05:39 Step 2/8 : FROM ${BASE} 23:05:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:05:40 5f621e34cdf4: Pulling fs layer 23:05:40 a4357932f1b6: Pulling fs layer 23:05:40 18c013af1878: Pulling fs layer 23:05:40 00ac8860ef70: Pulling fs layer 23:05:40 63d7cb157983: Pulling fs layer 23:05:40 b116817d02f9: Pulling fs layer 23:05:40 745a02a5169b: Pulling fs layer 23:05:40 00ac8860ef70: Waiting 23:05:40 745a02a5169b: Waiting 23:05:40 63d7cb157983: Waiting 23:05:40 b116817d02f9: Waiting 23:05:40 18c013af1878: Verifying Checksum 23:05:40 18c013af1878: Download complete 23:05:40 a4357932f1b6: Verifying Checksum 23:05:40 a4357932f1b6: Download complete 23:05:40 63d7cb157983: Verifying Checksum 23:05:40 63d7cb157983: Download complete 23:05:40 5f621e34cdf4: Verifying Checksum 23:05:40 5f621e34cdf4: Download complete 23:05:40 b116817d02f9: Download complete 23:05:41 5f621e34cdf4: Pull complete 23:05:41 a4357932f1b6: Pull complete 23:05:42 18c013af1878: Pull complete 23:05:43 745a02a5169b: Verifying Checksum 23:05:44 00ac8860ef70: Download complete 23:05:54 00ac8860ef70: Pull complete 23:05:54 63d7cb157983: Pull complete 23:05:55 b116817d02f9: Pull complete 23:05:58 745a02a5169b: Pull complete 23:05:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:05:58 ---> b7e6874047d6 23:05:58 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:05:58 latest: Pulling from library/docker 23:05:58 5f621e34cdf4: Already exists 23:05:58 85db56a05063: Pulling fs layer 23:05:58 ccb67d6aeaaa: Pulling fs layer 23:05:58 de930078acea: Pulling fs layer 23:05:58 d5a9d88a4785: Pulling fs layer 23:05:58 d5a9d88a4785: Waiting 23:05:58 e7f15c1544d5: Pulling fs layer 23:05:58 877c515997d3: Pulling fs layer 23:05:58 e7f15c1544d5: Waiting 23:05:58 877c515997d3: Waiting 23:05:58 ccb67d6aeaaa: Verifying Checksum 23:05:58 ccb67d6aeaaa: Download complete 23:05:58 d5a9d88a4785: Verifying Checksum 23:05:58 d5a9d88a4785: Download complete 23:05:58 e7f15c1544d5: Verifying Checksum 23:05:58 e7f15c1544d5: Download complete 23:05:58 85db56a05063: Download complete 23:05:58 877c515997d3: Download complete 23:05:59 85db56a05063: Pull complete 23:05:59 ccb67d6aeaaa: Pull complete 23:06:00 de930078acea: Verifying Checksum 23:06:00 de930078acea: Download complete 23:06:03 de930078acea: Pull complete 23:06:03 d5a9d88a4785: Pull complete 23:06:04 e7f15c1544d5: Pull complete 23:06:04 877c515997d3: Pull complete 23:06:04 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 23:06:04 Status: Downloaded newer image for docker:latest 23:06:11 ---> 1b0fa28235f1 23:06:11 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:06:11 ---> Running in 3b54cc6152af 23:06:11 Removing intermediate container 3b54cc6152af 23:06:11 ---> 9a9e47d967c4 23:06:11 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:06:11 ---> Running in c27bbba5eb88 23:06:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:06:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:06:13 (1/5) Installing libsodium (1.0.18-r0) 23:06:13 (2/5) Installing libzmq (4.3.3-r0) 23:06:14 (3/5) Installing pkgconf (1.7.2-r0) 23:06:14 (4/5) Installing libsodium-dev (1.0.18-r0) 23:06:14 (5/5) Installing zeromq-dev (4.3.3-r0) 23:06:14 Executing busybox-1.31.1-r19.trigger 23:06:14 OK: 144 MiB in 44 packages 23:06:15 Removing intermediate container c27bbba5eb88 23:06:15 ---> a78ee8e0ba3f 23:06:15 Step 6/8 : WORKDIR /build 23:06:15 ---> Running in cbd50193b72a 23:06:16 Removing intermediate container cbd50193b72a 23:06:16 ---> ca2ec28be0ef 23:06:16 Step 7/8 : COPY go.mod . 23:06:17 ---> 7acb81a198f2 23:06:17 Step 8/8 : RUN go mod download 23:06:17 ---> Running in dd806b4676fe 23:06:43 Removing intermediate container dd806b4676fe 23:06:43 ---> 9b47bc0de5fe 23:06:43 Successfully built 9b47bc0de5fe 23:06:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:06:44 + docker inspect -f . ci-base-image-arm64 23:06:44 . [Pipeline] withDockerContainer 23:06:44 prd-ubuntu18.04-docker-arm64-4c-16g-15301 does not seem to be running inside a container 23:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:06:46 $ docker top 6d5d50cdea7aa1055bfe8ca39e018207fe24a5e90cc81eec8a227945ce5aeac5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:47 + go version 23:06:47 go version go1.15.5 linux/arm64 [Pipeline] } 23:06:47 $ docker stop --time=1 6d5d50cdea7aa1055bfe8ca39e018207fe24a5e90cc81eec8a227945ce5aeac5 23:06:48 $ docker rm -f 6d5d50cdea7aa1055bfe8ca39e018207fe24a5e90cc81eec8a227945ce5aeac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:06:50 + docker inspect -f . ci-base-image-arm64 23:06:50 . [Pipeline] withDockerContainer 23:06:50 prd-ubuntu18.04-docker-arm64-4c-16g-15301 does not seem to be running inside a container 23:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:06:52 $ docker top 8cbc096d510163e216e6e4b4043c2b9cc049283a230ce5787ce047f904da90d5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:53 + make test 23:06:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:06:54 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 23:07:16 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.055s coverage: 86.2% of statements 23:07:43 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.054s coverage: 50.5% of statements 23:07:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 23:07:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 23:07:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.075s coverage: 54.7% of statements 23:07:43 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 23:07:43 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.071s coverage: 69.1% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.468s coverage: 61.6% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.027s coverage: 89.5% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.012s coverage: 100.0% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.031s coverage: 100.0% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.938s coverage: 75.0% of statements 23:07:53 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.038s coverage: 89.7% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.034s coverage: 80.5% of statements 23:07:53 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 23:08:20 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 81.6% of statements 23:08:20 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 23:08:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:08:27 gofmt -l . 23:08:27 [ "`gofmt -l .`" = "" ] 23:08:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:08:28 $ docker stop --time=1 8cbc096d510163e216e6e4b4043c2b9cc049283a230ce5787ce047f904da90d5 23:08:30 $ docker rm -f 8cbc096d510163e216e6e4b4043c2b9cc049283a230ce5787ce047f904da90d5 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:08:31 Warning: overwriting stash ‘coverage-report’ 23:08:32 Stashed 1 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 23:08:35 provisioning config files... 23:08:35 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/config112355640601808665tmp [Pipeline] { [Pipeline] sh 23:08:36 + set +x 23:08:36 + curl -s https://codecov.io/bash 23:08:36 + bash -s -- 23:08:36 23:08:36 _____ _ 23:08:36 / ____| | | 23:08:36 | | ___ __| | ___ ___ _____ __ 23:08:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:08:36 | |___| (_) | (_| | __/ (_| (_) \ V / 23:08:36 \_____\___/ \__,_|\___|\___\___/ \_/ 23:08:36 Bash-20201130-cc6d3fe 23:08:36 23:08:36 23:08:36 ==> Jenkins CI detected. 23:08:36 project root: . 23:08:36 --> token set from env 23:08:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:08:36 ==> Running gcov in . (disable via -X gcov) 23:08:36 ==> Python coveragepy not found 23:08:36 ==> Searching for coverage reports in: 23:08:36 + . 23:08:36 -> Found 1 reports 23:08:36 ==> Detecting git/mercurial file structure 23:08:36 ==> Reading reports 23:08:36 + ./coverage.out bytes=85267 23:08:36 ==> Appending adjustments 23:08:36 https://docs.codecov.io/docs/fixing-reports 23:08:37 + Found adjustments 23:08:37 ==> Gzipping contents 23:08:37 16K /tmp/codecov.dmYp5o.gz 23:08:37 ==> Uploading reports 23:08:37 url: https://codecov.io 23:08:37 query: branch=PR-592&commit=9f057f22a5f40328376d44021849ef0c79a2e441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=592&job=&cmd_args= 23:08:37 -> Pinging Codecov 23:08:37 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-592&commit=9f057f22a5f40328376d44021849ef0c79a2e441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=592&job=&cmd_args= 23:08:38 -> Uploading to 23:08:38 https://storage.googleapis.com/codecov/v4/raw/2020-12-09/3D8B5DFFC46A037C893635FACE044666/9f057f22a5f40328376d44021849ef0c79a2e441/78b95254-4ba3-48d6-bd7c-e3d262d2571a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201209%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201209T230838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f29dfb5fbfc09411e90437bd97296b61d491e175d88d41906637a707789c374b 23:08:38 % Total % Received % Xferd Average Speed Time Time Time Current 23:08:38 Dload Upload Total Spent Left Speed 23:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15086 0 0 100 15086 0 30512 --:--:-- --:--:-- --:--:-- 30538 23:08:38 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/9f057f22a5f40328376d44021849ef0c79a2e441 [Pipeline] } 23:08:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 23:08:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:08:43 ---> package-listing.sh 23:08:43 ++ tr '[:upper:]' '[:lower:]' 23:08:43 ++ facter osfamily 23:08:44 + OS_FAMILY=redhat 23:08:44 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-592 23:08:44 + START_PACKAGES=/tmp/packages_start.txt 23:08:44 + END_PACKAGES=/tmp/packages_end.txt 23:08:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:08:44 + PACKAGES=/tmp/packages_start.txt 23:08:44 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-592 ']' 23:08:44 + PACKAGES=/tmp/packages_end.txt 23:08:44 + case "${OS_FAMILY}" in 23:08:44 + rpm -qa 23:08:44 + sort 23:08:50 + '[' -f /tmp/packages_start.txt ']' 23:08:50 + '[' -f /tmp/packages_end.txt ']' 23:08:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:08:50 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-592 ']' 23:08:50 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-592/archives/ 23:08:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-592/archives/ [Pipeline] echo 23:08:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-592/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:08:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:08:52 23:08:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:08:52 alpine: Pulling from edgex-lftools-log-publisher 23:08:52 df20fa9351a1: Pulling fs layer 23:08:52 36b3adc4ff6f: Pulling fs layer 23:08:52 8ad3a11d3b57: Pulling fs layer 23:08:52 46f8f816bc3b: Pulling fs layer 23:08:52 93b61091891f: Pulling fs layer 23:08:52 93b9cdb0e59b: Pulling fs layer 23:08:52 5e14af77c1be: Pulling fs layer 23:08:52 01666e4c0597: Pulling fs layer 23:08:52 aa168da1d23b: Pulling fs layer 23:08:52 93b9cdb0e59b: Waiting 23:08:52 5e14af77c1be: Waiting 23:08:52 01666e4c0597: Waiting 23:08:52 aa168da1d23b: Waiting 23:08:52 46f8f816bc3b: Waiting 23:08:52 93b61091891f: Waiting 23:08:53 36b3adc4ff6f: Verifying Checksum 23:08:53 36b3adc4ff6f: Download complete 23:08:53 46f8f816bc3b: Download complete 23:08:53 df20fa9351a1: Download complete 23:08:53 93b9cdb0e59b: Verifying Checksum 23:08:53 93b9cdb0e59b: Download complete 23:08:53 5e14af77c1be: Verifying Checksum 23:08:53 5e14af77c1be: Download complete 23:08:53 01666e4c0597: Verifying Checksum 23:08:53 01666e4c0597: Download complete 23:08:53 93b61091891f: Verifying Checksum 23:08:53 93b61091891f: Download complete 23:08:54 df20fa9351a1: Pull complete 23:08:54 8ad3a11d3b57: Verifying Checksum 23:08:54 8ad3a11d3b57: Download complete 23:08:54 36b3adc4ff6f: Pull complete 23:08:56 8ad3a11d3b57: Pull complete 23:08:56 46f8f816bc3b: Pull complete 23:08:58 93b61091891f: Pull complete 23:08:58 93b9cdb0e59b: Pull complete 23:08:59 5e14af77c1be: Pull complete 23:08:59 01666e4c0597: Pull complete 23:08:59 aa168da1d23b: Download complete 23:09:12 aa168da1d23b: Pull complete 23:09:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:09:12 prd-centos7-docker-4c-2g-15298 does not seem to be running inside a container 23:09:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-592/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-592 -v /w/workspace/ndry_app-functions-sdk-go_PR-592:/w/workspace/ndry_app-functions-sdk-go_PR-592:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-592@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-592@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-lftools-log-publisher:alpine cat 23:09:16 $ docker top 3aefa4fb5474c165accb92b5e8614996d2f5a3f3f683cded03e84230cda2ea05 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:17 + touch /tmp/pre-build-complete [Pipeline] sh 23:09:18 + mkdir -p /var/log/sa [Pipeline] sh 23:09:18 + ls /var/log/sa-host 23:09:18 + sadf -c /var/log/sa-host/sa09 23:09:18 file_magic: OK 23:09:18 HZ: Using current value: 100 23:09:18 file_header: OK 23:09:18 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 23:09:18 Statistics: 23:09:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:09:18 File successfully converted to sysstat format version 12.2.1 23:09:18 + sadf -c /var/log/sa-host/sa23 23:09:18 file_magic: OK 23:09:18 HZ: Using current value: 100 23:09:18 file_header: OK 23:09:18 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 23:09:18 Statistics: 23:09:18 Hnuu...uuuununununu... 23:09:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:19 provisioning config files... 23:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-592@tmp/config7839172634185372260tmp [Pipeline] { [Pipeline] echo 23:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:09:20 ---> create-netrc.sh [Pipeline] } 23:09:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:09:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:09:21 ---> python-tools-install.sh [Pipeline] echo 23:09:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:09:22 ---> sudo-logs.sh 23:09:22 Archiving 'sudo' log.. [Pipeline] echo 23:09:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:09:22 ---> job-cost.sh 23:09:22 lf-activate-venv: SKIPPING 23:09:22 INFO: No Stack... 23:09:24 INFO: Retrieving Pricing Info for: v1-standard-2 23:09:24 INFO: Archiving Costs [Pipeline] echo 23:09:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:09:25 ---> logs-deploy.sh 23:09:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-592/1 23:09:25 INFO: archiving workspace using pattern(s): 23:09:27 Archives upload complete. 23:09:28 INFO: archiving logs to Nexus