Pull request #610 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 ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from cf51aae973340b7b3d3da594962ebdf018dd460e+c9ed7d50ea1ae9051570182c8cb685d3221d57d1 (e60370f28cdaa3adda465ccbb4d25c6f69433a48) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-610/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-610/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16545 in /w/workspace/ndry_app-functions-sdk-go_PR-610 [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-610 # 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit cf51aae973340b7b3d3da594962ebdf018dd460e Merge succeeded, producing cf51aae973340b7b3d3da594962ebdf018dd460e Checking out Revision cf51aae973340b7b3d3da594962ebdf018dd460e (PR-610) > 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/610/head:refs/remotes/origin/PR-610 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:40:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:40:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:40:33 ========================================================= 18:40:33 EdgeX Global Pipelines Version Info 18:40:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:40:35 ------------------- 18:40:35 stable info: 18:40:35 ------------------- 18:40:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:40:35 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:40:35 Message: update stable to v1.0.173 18:40:36 ------------------- 18:40:36 experimental info: 18:40:36 ------------------- 18:40:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:40:36 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:40:36 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:40:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:40:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:40:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:40:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:40:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:40:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-610 [Pipeline] echo 18:40:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-610 [Pipeline] echo 18:40:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-610 [Pipeline] echo 18:40:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf51aae973340b7b3d3da594962ebdf018dd460e [Pipeline] echo 18:40:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf51aae [Pipeline] echo 18:40:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:42 + git log --format=format:%s -1 cf51aae973340b7b3d3da594962ebdf018dd460e [Pipeline] echo 18:40:43 GIT_COMMIT: cf51aae973340b7b3d3da594962ebdf018dd460e, Commit Message: ci: standardize dockerfiles [Pipeline] echo 18:40:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:40:44 18:40:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:40:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:40:45 latest: Pulling from edgex-devops/git-semver 18:40:45 31603596830f: Pulling fs layer 18:40:45 2a8b12db71e7: Pulling fs layer 18:40:45 6ca5941a6612: Pulling fs layer 18:40:45 ecc8261a40a4: Pulling fs layer 18:40:45 ecc8261a40a4: Waiting 18:40:45 2a8b12db71e7: Verifying Checksum 18:40:45 2a8b12db71e7: Download complete 18:40:45 31603596830f: Verifying Checksum 18:40:45 31603596830f: Download complete 18:40:46 ecc8261a40a4: Verifying Checksum 18:40:46 ecc8261a40a4: Download complete 18:40:46 6ca5941a6612: Verifying Checksum 18:40:46 6ca5941a6612: Download complete 18:40:46 31603596830f: Pull complete 18:40:46 2a8b12db71e7: Pull complete 18:40:48 6ca5941a6612: Pull complete 18:40:48 ecc8261a40a4: Pull complete 18:40:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:40:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:40:48 prd-centos7-docker-4c-2g-16545 does not seem to be running inside a container 18:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-610 -v /w/workspace/ndry_app-functions-sdk-go_PR-610:/w/workspace/ndry_app-functions-sdk-go_PR-610:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-610@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-610@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:40:51 $ docker top 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:40:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:52 [ssh-agent] Looking for ssh-agent implementation... 18:40:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:52 $ docker exec 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 ssh-agent 18:40:52 SSH_AUTH_SOCK=/tmp/ssh-4UQWfaLJhfuz/agent.12 18:40:52 SSH_AGENT_PID=17 18:40:52 Running ssh-add (command line suppressed) 18:40:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/private_key_7172895751491717436.key (/w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/private_key_7172895751491717436.key) 18:40:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:53 + git tag --points-at HEAD [Pipeline] } 18:40:53 $ docker exec --env ******** --env ******** 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 ssh-agent -k 18:40:53 unset SSH_AUTH_SOCK; 18:40:53 unset SSH_AGENT_PID; 18:40:53 echo Agent pid 17 killed; 18:40:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:40:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:54 [ssh-agent] Looking for ssh-agent implementation... 18:40:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:54 $ docker exec 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 ssh-agent 18:40:54 SSH_AUTH_SOCK=/tmp/ssh-OH63Gk4FtiZY/agent.47 18:40:54 SSH_AGENT_PID=53 18:40:54 Running ssh-add (command line suppressed) 18:40:54 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/private_key_6958745854864892475.key (/w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/private_key_6958745854864892475.key) 18:40:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:55 + git semver init 18:40:55 # -> Open(): unable to determine branch for HEAD 18:40:55 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-610/.git 18:40:55 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-610 18:40:55 # $SEMVER_REMOTE_NAME = origin 18:40:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:40:55 # $SEMVER_USER_NAME = edgex-jenkins 18:40:55 # $SEMVER_BRANCH = PR-610 18:40:55 # $SEMVER_TEMP = /tmp/semver-174107375 18:40:55 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:40:58 # '/tmp/semver-174107375' -> '/w/workspace/ndry_app-functions-sdk-go_PR-610/.semver' 18:40:59 # -> Force: false 18:40:59 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-610/.semver [Pipeline] } 18:40:59 $ docker exec --env ******** --env ******** 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 ssh-agent -k 18:40:59 unset SSH_AUTH_SOCK; 18:40:59 unset SSH_AGENT_PID; 18:40:59 echo Agent pid 53 killed; 18:40:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:00 + git semver [Pipeline] } 18:41:00 $ docker stop --time=1 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 18:41:01 $ docker rm -f 3ebe8e7fa1486b899a69c08434e6ac935797e7da4fab3405fb15821ae66797b2 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:03 Stashed 1 file(s) [Pipeline] echo 18:41:03 [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 18:41:19 Still waiting to schedule task 18:41:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:41:19 Still waiting to schedule task 18:41:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:43:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16546 in /w/workspace/ndry_app-functions-sdk-go_PR-610 [Pipeline] { [Pipeline] ws 18:43:13 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:43:18 using credential edgex-jenkins-ssh 18:43:18 Cloning the remote Git repository 18:43:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:18 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 18:43:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:18 > git --version # timeout=10 18:43:18 > git --version # 'git version 2.17.1' 18:43:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/610/head:refs/remotes/origin/PR-610 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:22 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit cf51aae973340b7b3d3da594962ebdf018dd460e 18:43:23 Merge succeeded, producing cf51aae973340b7b3d3da594962ebdf018dd460e 18:43:23 Checking out Revision cf51aae973340b7b3d3da594962ebdf018dd460e (PR-610) 18:43:22 > git config core.sparsecheckout # timeout=10 18:43:22 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 18:43:22 > git remote # timeout=10 18:43:22 > git config --get remote.origin.url # timeout=10 18:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:22 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 18:43:23 > git rev-parse HEAD^{commit} # timeout=10 18:43:23 > git config core.sparsecheckout # timeout=10 18:43:23 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 18:43:27 Commit message: "ci: standardize dockerfiles" 18:43:27 > git --version # timeout=10 18:43:27 > git --version # 'git version 2.17.1' 18:43:27 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:29 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:43:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:43:30 + sudo service docker restart 18:43:30 + true [Pipeline] unstash [Pipeline] echo 18:43:33 ========================================================= 18:43:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:43:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:43:33 + 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 . 18:43:34 Sending build context to Docker daemon 19.16MB 18:43:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:43:34 Step 2/8 : FROM ${BASE} 18:43:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:43:35 5f621e34cdf4: Pulling fs layer 18:43:35 a4357932f1b6: Pulling fs layer 18:43:35 18c013af1878: Pulling fs layer 18:43:35 00ac8860ef70: Pulling fs layer 18:43:35 63d7cb157983: Pulling fs layer 18:43:35 b116817d02f9: Pulling fs layer 18:43:35 745a02a5169b: Pulling fs layer 18:43:35 63d7cb157983: Waiting 18:43:35 b116817d02f9: Waiting 18:43:35 745a02a5169b: Waiting 18:43:35 00ac8860ef70: Waiting 18:43:35 18c013af1878: Download complete 18:43:35 a4357932f1b6: Verifying Checksum 18:43:35 a4357932f1b6: Download complete 18:43:35 63d7cb157983: Verifying Checksum 18:43:35 63d7cb157983: Download complete 18:43:35 b116817d02f9: Verifying Checksum 18:43:35 b116817d02f9: Download complete 18:43:35 5f621e34cdf4: Download complete 18:43:35 5f621e34cdf4: Pull complete 18:43:36 a4357932f1b6: Pull complete 18:43:36 18c013af1878: Pull complete 18:43:37 745a02a5169b: Verifying Checksum 18:43:37 745a02a5169b: Download complete 18:43:39 00ac8860ef70: Download complete 18:43:43 Running on prd-centos7-docker-4c-2g-16547 in /w/workspace/ndry_app-functions-sdk-go_PR-610 [Pipeline] { [Pipeline] ws 18:43:43 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:43:46 using credential edgex-jenkins-ssh 18:43:46 Cloning the remote Git repository 18:43:46 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:46 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 18:43:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:46 > git --version # timeout=10 18:43:46 > git --version # 'git version 2.24.3' 18:43:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:43:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:43:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/610/head:refs/remotes/origin/PR-610 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:43:48 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit cf51aae973340b7b3d3da594962ebdf018dd460e 18:43:48 Merge succeeded, producing cf51aae973340b7b3d3da594962ebdf018dd460e 18:43:48 Checking out Revision cf51aae973340b7b3d3da594962ebdf018dd460e (PR-610) 18:43:48 > git config core.sparsecheckout # timeout=10 18:43:48 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 18:43:48 > git remote # timeout=10 18:43:48 > git config --get remote.origin.url # timeout=10 18:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:48 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 18:43:48 > git rev-parse HEAD^{commit} # timeout=10 18:43:48 > git config core.sparsecheckout # timeout=10 18:43:48 > git checkout -f cf51aae973340b7b3d3da594962ebdf018dd460e # timeout=10 18:43:49 00ac8860ef70: Pull complete 18:43:49 63d7cb157983: Pull complete 18:43:49 b116817d02f9: Pull complete 18:43:51 Commit message: "ci: standardize dockerfiles" 18:43:52 > git --version # timeout=10 18:43:52 > git --version # 'git version 2.24.3' 18:43:52 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:43:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:43:54 + sudo service docker restart 18:43:54 + true 18:43:54 Redirecting to /bin/systemctl restart docker.service 18:43:54 745a02a5169b: Pull complete 18:43:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:43:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:43:54 ---> b7e6874047d6 18:43:54 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:43:54 20.10.0: Pulling from library/docker 18:43:55 a3cc7d3b244e: Pulling fs layer 18:43:55 02a3295e0d61: Pulling fs layer 18:43:55 0f4f2e6d8100: Pulling fs layer 18:43:55 330b718f631f: Pulling fs layer 18:43:55 a93816041522: Pulling fs layer 18:43:55 bdb6da89ff94: Pulling fs layer 18:43:55 2a70c0c122f4: Pulling fs layer 18:43:55 330b718f631f: Waiting 18:43:55 bdb6da89ff94: Waiting 18:43:55 2a70c0c122f4: Waiting 18:43:55 a93816041522: Waiting 18:43:55 0f4f2e6d8100: Verifying Checksum 18:43:55 0f4f2e6d8100: Download complete [Pipeline] unstash [Pipeline] echo 18:43:55 ========================================================= 18:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:43:55 ========================================================= 18:43:55 02a3295e0d61: Verifying Checksum 18:43:55 02a3295e0d61: Download complete 18:43:55 a3cc7d3b244e: Verifying Checksum 18:43:55 a3cc7d3b244e: Download complete 18:43:55 bdb6da89ff94: Verifying Checksum 18:43:55 bdb6da89ff94: Download complete [Pipeline] isUnix [Pipeline] sh 18:43:55 2a70c0c122f4: Verifying Checksum 18:43:55 2a70c0c122f4: Download complete 18:43:55 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 18:43:55 a93816041522: Download complete 18:43:55 a3cc7d3b244e: Pull complete 18:43:56 Sending build context to Docker daemon 19.16MB 18:43:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:43:56 Step 2/8 : FROM ${BASE} 18:43:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:43:56 188c0c94c7c5: Pulling fs layer 18:43:56 0ef7d3d256c8: Pulling fs layer 18:43:56 de9db76c5a1d: Pulling fs layer 18:43:56 bca2f99d35d6: Pulling fs layer 18:43:56 93359f2a8cfa: Pulling fs layer 18:43:56 7c6f9722023f: Pulling fs layer 18:43:56 a35cf1a2eb13: Pulling fs layer 18:43:56 93359f2a8cfa: Waiting 18:43:56 7c6f9722023f: Waiting 18:43:56 a35cf1a2eb13: Waiting 18:43:56 bca2f99d35d6: Waiting 18:43:56 de9db76c5a1d: Verifying Checksum 18:43:56 de9db76c5a1d: Download complete 18:43:56 0ef7d3d256c8: Verifying Checksum 18:43:56 0ef7d3d256c8: Download complete 18:43:56 02a3295e0d61: Pull complete 18:43:56 93359f2a8cfa: Verifying Checksum 18:43:56 93359f2a8cfa: Download complete 18:43:56 7c6f9722023f: Verifying Checksum 18:43:56 7c6f9722023f: Download complete 18:43:56 188c0c94c7c5: Verifying Checksum 18:43:56 188c0c94c7c5: Download complete 18:43:56 0f4f2e6d8100: Pull complete 18:43:56 188c0c94c7c5: Pull complete 18:43:57 0ef7d3d256c8: Pull complete 18:43:57 de9db76c5a1d: Pull complete 18:43:58 a35cf1a2eb13: Verifying Checksum 18:43:58 a35cf1a2eb13: Download complete 18:43:59 bca2f99d35d6: Verifying Checksum 18:43:59 bca2f99d35d6: Download complete 18:44:01 330b718f631f: Verifying Checksum 18:44:01 330b718f631f: Download complete 18:44:04 bca2f99d35d6: Pull complete 18:44:04 93359f2a8cfa: Pull complete 18:44:04 330b718f631f: Pull complete 18:44:04 7c6f9722023f: Pull complete 18:44:04 a93816041522: Pull complete 18:44:05 bdb6da89ff94: Pull complete 18:44:05 2a70c0c122f4: Pull complete 18:44:05 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:44:05 Status: Downloaded newer image for docker:20.10.0 18:44:10 a35cf1a2eb13: Pull complete 18:44:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:10 ---> a62c8e92a672 18:44:10 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:44:10 20.10.0: Pulling from library/docker 18:44:10 05e7bc50f07f: Pulling fs layer 18:44:10 6db28d0fdbf6: Pulling fs layer 18:44:10 292df0bc6bf3: Pulling fs layer 18:44:10 2e060f4bd70b: Pulling fs layer 18:44:10 80e8d568a223: Pulling fs layer 18:44:10 8dc6ef1a942a: Pulling fs layer 18:44:10 2312dd95470a: Pulling fs layer 18:44:10 80e8d568a223: Waiting 18:44:10 8dc6ef1a942a: Waiting 18:44:10 2312dd95470a: Waiting 18:44:10 2e060f4bd70b: Waiting 18:44:10 292df0bc6bf3: Verifying Checksum 18:44:10 292df0bc6bf3: Download complete 18:44:10 05e7bc50f07f: Verifying Checksum 18:44:10 05e7bc50f07f: Download complete 18:44:10 6db28d0fdbf6: Verifying Checksum 18:44:10 6db28d0fdbf6: Download complete 18:44:10 05e7bc50f07f: Pull complete 18:44:10 80e8d568a223: Verifying Checksum 18:44:10 80e8d568a223: Download complete 18:44:10 8dc6ef1a942a: Download complete 18:44:10 2312dd95470a: Verifying Checksum 18:44:10 2312dd95470a: Download complete 18:44:10 6db28d0fdbf6: Pull complete 18:44:10 292df0bc6bf3: Pull complete 18:44:12 ---> 6c0a3bfcfdf0 18:44:12 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:44:12 ---> Running in 4f0668748d67 18:44:12 Removing intermediate container 4f0668748d67 18:44:12 ---> d42d2ae066af 18:44:12 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:44:12 ---> Running in 395662fd9188 18:44:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:44:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:44:14 2e060f4bd70b: Verifying Checksum 18:44:14 2e060f4bd70b: Download complete 18:44:15 (1/5) Installing libsodium (1.0.18-r0) 18:44:15 (2/5) Installing libzmq (4.3.3-r0) 18:44:16 (3/5) Installing pkgconf (1.7.2-r0) 18:44:16 (4/5) Installing libsodium-dev (1.0.18-r0) 18:44:16 (5/5) Installing zeromq-dev (4.3.3-r0) 18:44:16 Executing busybox-1.31.1-r19.trigger 18:44:16 OK: 144 MiB in 44 packages 18:44:17 2e060f4bd70b: Pull complete 18:44:17 80e8d568a223: Pull complete 18:44:17 8dc6ef1a942a: Pull complete 18:44:17 2312dd95470a: Pull complete 18:44:17 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:44:17 Status: Downloaded newer image for docker:20.10.0 18:44:17 Removing intermediate container 395662fd9188 18:44:17 ---> 0f78ff5dd33d 18:44:17 Step 6/8 : WORKDIR /build 18:44:17 ---> Running in b58220bd0da5 18:44:18 Removing intermediate container b58220bd0da5 18:44:18 ---> bd862eb2e955 18:44:18 Step 7/8 : COPY go.mod . 18:44:18 ---> b76dec481880 18:44:18 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:44:18 ---> Running in 6c31fc639aad 18:44:18 ---> 1b89d7eedeec 18:44:18 Step 8/8 : RUN go mod download 18:44:19 Removing intermediate container 6c31fc639aad 18:44:19 ---> f1d6a3803b96 18:44:19 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:44:19 ---> Running in bfb41007800d 18:44:19 ---> Running in 3adb8bac72bc 18:44:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:21 (1/5) Installing libsodium (1.0.18-r0) 18:44:21 (2/5) Installing libzmq (4.3.3-r0) 18:44:22 (3/5) Installing pkgconf (1.7.2-r0) 18:44:22 (4/5) Installing libsodium-dev (1.0.18-r0) 18:44:22 (5/5) Installing zeromq-dev (4.3.3-r0) 18:44:22 Executing busybox-1.31.1-r19.trigger 18:44:22 OK: 167 MiB in 44 packages 18:44:23 Removing intermediate container bfb41007800d 18:44:23 ---> 0f7dcc29b6b4 18:44:23 Step 6/8 : WORKDIR /build 18:44:23 ---> Running in 16691df83f87 18:44:23 Removing intermediate container 16691df83f87 18:44:23 ---> 7c3f972bfd19 18:44:23 Step 7/8 : COPY go.mod . 18:44:23 ---> 55317e6fb669 18:44:23 Step 8/8 : RUN go mod download 18:44:23 ---> Running in c78dfc04dff3 18:44:45 Removing intermediate container c78dfc04dff3 18:44:45 ---> 1e976b1644c7 18:44:45 Successfully built 1e976b1644c7 18:44:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:44:46 + docker inspect -f . ci-base-image-x86_64 18:44:46 . 18:44:46 Removing intermediate container 3adb8bac72bc 18:44:46 ---> 83c24fef22fa 18:44:46 Successfully built 83c24fef22fa 18:44:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] withDockerContainer 18:44:46 prd-centos7-docker-4c-2g-16547 does not seem to be running inside a container 18:44:46 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:46 $ docker top 3eb06b527a9c0813f11c16edf823b0f00b22980b9eef0c6028ba3f7a74682c08 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 18:44:47 + go version 18:44:47 go version go1.15.5 linux/amd64 [Pipeline] } 18:44:47 $ docker stop --time=1 3eb06b527a9c0813f11c16edf823b0f00b22980b9eef0c6028ba3f7a74682c08 18:44:47 + docker inspect -f . ci-base-image-arm64 18:44:47 . 18:44:48 $ docker rm -f 3eb06b527a9c0813f11c16edf823b0f00b22980b9eef0c6028ba3f7a74682c08 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 18:44:49 prd-ubuntu18.04-docker-arm64-4c-16g-16546 does not seem to be running inside a container 18:44:49 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 18:44:51 $ docker top bf59ee853ba4b3d8b59e749cba35efee600290833ecf64bedb56c52ccb3c4f82 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:44:52 + go version 18:44:52 go version go1.15.5 linux/arm64 [Pipeline] } 18:44:52 $ docker stop --time=1 bf59ee853ba4b3d8b59e749cba35efee600290833ecf64bedb56c52ccb3c4f82 18:44:52 + docker inspect -f . ci-base-image-x86_64 18:44:52 . 18:44:54 $ docker rm -f bf59ee853ba4b3d8b59e749cba35efee600290833ecf64bedb56c52ccb3c4f82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 18:44:54 prd-centos7-docker-4c-2g-16547 does not seem to be running inside a container 18:44:54 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:55 $ docker top dc8b022a33bd32c6ceb1e2b3494456f5cd28bb7b9e0a357b34d28a7edf8e060e -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 18:44:55 + make test 18:44:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:44:56 + docker inspect -f . ci-base-image-arm64 18:44:56 . [Pipeline] withDockerContainer 18:44:56 prd-ubuntu18.04-docker-arm64-4c-16g-16546 does not seem to be running inside a container 18:44:56 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 18:44:57 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 18:44:58 $ docker top fd88c739a6343e436cf7488374dda66b4980d785c5a85e74542120569c841386 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:59 + make test 18:44:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:45:00 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 18:45:03 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.023s coverage: 86.2% of statements 18:45:16 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.028s coverage: 50.5% of statements 18:45:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 18:45:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 18:45:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.023s coverage: 54.7% of statements 18:45:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 18:45:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.043s coverage: 69.1% of statements 18:45:22 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.045s coverage: 86.2% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.429s coverage: 61.6% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.011s coverage: 8.8% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.916s coverage: 75.0% of statements 18:45:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.014s coverage: 89.7% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements 18:45:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements 18:45:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.150s coverage: 81.6% of statements 18:45:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 18:45:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:45:47 gofmt -l . 18:45:47 [ "`gofmt -l .`" = "" ] 18:45:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:45:48 $ docker stop --time=1 dc8b022a33bd32c6ceb1e2b3494456f5cd28bb7b9e0a357b34d28a7edf8e060e 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.053s coverage: 50.5% of statements 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.112s coverage: 54.7% of statements 18:45:49 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 18:45:49 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.052s coverage: 69.1% of statements 18:45:50 $ docker rm -f dc8b022a33bd32c6ceb1e2b3494456f5cd28bb7b9e0a357b34d28a7edf8e060e [Pipeline] // withDockerContainer [Pipeline] sh 18:45:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:51 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.462s coverage: 61.6% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.031s coverage: 100.0% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.018s coverage: 97.7% of statements 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.023s coverage: 8.8% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.936s coverage: 75.0% of statements 18:46:00 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.7% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.031s coverage: 88.9% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.046s coverage: 80.5% of statements 18:46:00 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.020s coverage: 71.7% of statements 18:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 81.6% of statements 18:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.017s coverage: 94.4% of statements 18:46:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:46:33 gofmt -l . 18:46:33 [ "`gofmt -l .`" = "" ] 18:46:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:46:34 $ docker stop --time=1 fd88c739a6343e436cf7488374dda66b4980d785c5a85e74542120569c841386 18:46:36 $ docker rm -f fd88c739a6343e436cf7488374dda66b4980d785c5a85e74542120569c841386 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:37 Warning: overwriting stash ‘coverage-report’ 18:46:38 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 18:46:41 provisioning config files... 18:46:41 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/config1860839494948638230tmp [Pipeline] { [Pipeline] sh 18:46:41 + set +x 18:46:41 + bash -s -- 18:46:41 + curl -s https://codecov.io/bash 18:46:42 18:46:42 _____ _ 18:46:42 / ____| | | 18:46:42 | | ___ __| | ___ ___ _____ __ 18:46:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:46:42 | |___| (_) | (_| | __/ (_| (_) \ V / 18:46:42 \_____\___/ \__,_|\___|\___\___/ \_/ 18:46:42 Bash-20201130-cc6d3fe 18:46:42 18:46:42 18:46:42 ==> Jenkins CI detected. 18:46:42 project root: . 18:46:42 --> token set from env 18:46:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:46:42 ==> Running gcov in . (disable via -X gcov) 18:46:42 ==> Python coveragepy not found 18:46:42 ==> Searching for coverage reports in: 18:46:42 + . 18:46:42 -> Found 1 reports 18:46:42 ==> Detecting git/mercurial file structure 18:46:42 ==> Reading reports 18:46:42 + ./coverage.out bytes=85267 18:46:42 ==> Appending adjustments 18:46:42 https://docs.codecov.io/docs/fixing-reports 18:46:43 + Found adjustments 18:46:43 ==> Gzipping contents 18:46:43 16K /tmp/codecov.Ohy21T.gz 18:46:43 ==> Uploading reports 18:46:43 url: https://codecov.io 18:46:43 query: branch=PR-610&commit=cf51aae973340b7b3d3da594962ebdf018dd460e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=610&job=&cmd_args= 18:46:43 -> Pinging Codecov 18:46:43 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-610&commit=cf51aae973340b7b3d3da594962ebdf018dd460e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=610&job=&cmd_args= 18:46:43 -> Uploading to 18:46:43 https://storage.googleapis.com/codecov/v4/raw/2020-12-17/3D8B5DFFC46A037C893635FACE044666/cf51aae973340b7b3d3da594962ebdf018dd460e/ef11b046-45a3-4b23-91e6-37518f312f0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T184643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43e74cfd490f94e3a925472b63047e3ad495c729e9fb205039fb60e083ba263a 18:46:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:43 Dload Upload Total Spent Left Speed 18:46:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15103 0 0 100 15103 0 27317 --:--:-- --:--:-- --:--:-- 27360 18:46:44 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cf51aae973340b7b3d3da594962ebdf018dd460e [Pipeline] } 18:46:44 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 18:46:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:46:48 ---> package-listing.sh 18:46:48 ++ facter osfamily 18:46:48 ++ tr '[:upper:]' '[:lower:]' 18:46:49 + OS_FAMILY=redhat 18:46:49 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-610 18:46:49 + START_PACKAGES=/tmp/packages_start.txt 18:46:49 + END_PACKAGES=/tmp/packages_end.txt 18:46:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:49 + PACKAGES=/tmp/packages_start.txt 18:46:49 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-610 ']' 18:46:49 + PACKAGES=/tmp/packages_end.txt 18:46:49 + case "${OS_FAMILY}" in 18:46:49 + rpm -qa 18:46:49 + sort 18:46:56 + '[' -f /tmp/packages_start.txt ']' 18:46:56 + '[' -f /tmp/packages_end.txt ']' 18:46:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:56 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-610 ']' 18:46:56 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-610/archives/ 18:46:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-610/archives/ [Pipeline] echo 18:46:56 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-610/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:46:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:46:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:57 18:46:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:46:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:58 alpine: Pulling from edgex-lftools-log-publisher 18:46:58 df20fa9351a1: Pulling fs layer 18:46:58 36b3adc4ff6f: Pulling fs layer 18:46:58 8ad3a11d3b57: Pulling fs layer 18:46:58 46f8f816bc3b: Pulling fs layer 18:46:58 93b61091891f: Pulling fs layer 18:46:58 93b9cdb0e59b: Pulling fs layer 18:46:58 5e14af77c1be: Pulling fs layer 18:46:58 46f8f816bc3b: Waiting 18:46:58 93b9cdb0e59b: Waiting 18:46:58 93b61091891f: Waiting 18:46:58 5e14af77c1be: Waiting 18:46:58 01666e4c0597: Pulling fs layer 18:46:58 aa168da1d23b: Pulling fs layer 18:46:58 01666e4c0597: Waiting 18:46:58 aa168da1d23b: Waiting 18:46:58 36b3adc4ff6f: Verifying Checksum 18:46:58 36b3adc4ff6f: Download complete 18:46:58 46f8f816bc3b: Download complete 18:46:58 df20fa9351a1: Verifying Checksum 18:46:58 df20fa9351a1: Download complete 18:46:58 93b9cdb0e59b: Verifying Checksum 18:46:58 93b9cdb0e59b: Download complete 18:46:58 93b61091891f: Verifying Checksum 18:46:58 93b61091891f: Download complete 18:46:58 5e14af77c1be: Verifying Checksum 18:46:58 5e14af77c1be: Download complete 18:46:58 01666e4c0597: Verifying Checksum 18:46:58 01666e4c0597: Download complete 18:47:00 df20fa9351a1: Pull complete 18:47:00 8ad3a11d3b57: Verifying Checksum 18:47:00 8ad3a11d3b57: Download complete 18:47:01 36b3adc4ff6f: Pull complete 18:47:04 8ad3a11d3b57: Pull complete 18:47:05 46f8f816bc3b: Pull complete 18:47:06 93b61091891f: Pull complete 18:47:06 93b9cdb0e59b: Pull complete 18:47:06 5e14af77c1be: Pull complete 18:47:06 aa168da1d23b: Verifying Checksum 18:47:06 aa168da1d23b: Download complete 18:47:06 01666e4c0597: Pull complete 18:47:25 aa168da1d23b: Pull complete 18:47:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:47:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:47:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:47:25 prd-centos7-docker-4c-2g-16545 does not seem to be running inside a container 18:47:26 $ 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-610/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-610 -v /w/workspace/ndry_app-functions-sdk-go_PR-610:/w/workspace/ndry_app-functions-sdk-go_PR-610:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-610@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-610@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:47:30 $ docker top 076cdc5fd16165c418bcd90182232e79658b4614f2b606b9fa529354a5385b19 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:31 + touch /tmp/pre-build-complete [Pipeline] sh 18:47:31 + mkdir -p /var/log/sa [Pipeline] sh 18:47:32 + ls /var/log/sa-host 18:47:32 + sadf -c /var/log/sa-host/sa17 18:47:32 file_magic: OK 18:47:32 HZ: Using current value: 100 18:47:32 file_header: OK 18:47:32 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 18:47:32 Statistics: 18:47:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:47:32 File successfully converted to sysstat format version 12.2.1 18:47:32 + sadf -c /var/log/sa-host/sa23 18:47:32 file_magic: OK 18:47:32 HZ: Using current value: 100 18:47:32 file_header: OK 18:47:32 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 18:47:32 Statistics: 18:47:32 Hnuu...uuuununununu... 18:47:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:34 provisioning config files... 18:47:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-610@tmp/config3733207741971021455tmp [Pipeline] { [Pipeline] echo 18:47:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:47:34 ---> create-netrc.sh [Pipeline] } 18:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:47:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:47:35 ---> python-tools-install.sh [Pipeline] echo 18:47:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:47:35 ---> sudo-logs.sh 18:47:35 Archiving 'sudo' log.. [Pipeline] echo 18:47:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:47:36 ---> job-cost.sh 18:47:36 lf-activate-venv: SKIPPING 18:47:36 INFO: No Stack... 18:47:37 INFO: Retrieving Pricing Info for: v1-standard-2 18:47:38 INFO: Archiving Costs [Pipeline] echo 18:47:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:47:38 ---> logs-deploy.sh 18:47:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-610/1 18:47:38 INFO: archiving workspace using pattern(s): 18:47:41 Archives upload complete. 18:47:41 INFO: archiving logs to Nexus