Pull request #961 opened Connecting to https://api.github.com using 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 29359ecd74c1311beb2cdad839c70663c563f801+7f05a7e52347c365a351e2dd89fdd5f9329d136c (ae58cdf9124429c83b357ea44da469af1aa92bec) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4617425110285236249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7564681188034759718.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git 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-961/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-961/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3499359759868239538.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-961/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6265243152103383616.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5890162790170640471.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE 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-961/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-961/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3975015946527160631.key > 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 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 c141c1271097dc03ad291c2451e310eaf98cdd06 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-28 in /w/workspace/ndry_app-functions-sdk-go_PR-961 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-961 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/jenkins-gitclient-ssh3307134984864392598.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/jenkins-gitclient-ssh568788246482937944.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f05a7e52347c365a351e2dd89fdd5f9329d136c into PR head commit 29359ecd74c1311beb2cdad839c70663c563f801 Merge succeeded, producing 29359ecd74c1311beb2cdad839c70663c563f801 Checking out Revision 29359ecd74c1311beb2cdad839c70663c563f801 (PR-961) > git config core.sparsecheckout # timeout=10 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/jenkins-gitclient-ssh797797356577478354.key > git merge 7f05a7e52347c365a351e2dd89fdd5f9329d136c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 Commit message: "ci: changes required for Jakara LTS" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:02:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:02:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:02:09 ========================================================= 23:02:09 EdgeX Global Pipelines Version Info 23:02:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:02:10 ------------------- 23:02:10 stable info: 23:02:10 ------------------- 23:02:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:02:10 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 23:02:10 Message: update stable to v1.0.206 23:02:11 ------------------- 23:02:11 experimental info: 23:02:11 ------------------- 23:02:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:02:11 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 23:02:11 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:02:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-961 [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-961 [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-961 [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29359ecd74c1311beb2cdad839c70663c563f801 [Pipeline] echo 23:02:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29359ec [Pipeline] echo 23:02: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:02:14 + git log --format=format:%s -1 29359ecd74c1311beb2cdad839c70663c563f801 [Pipeline] echo 23:02:14 GIT_COMMIT: 29359ecd74c1311beb2cdad839c70663c563f801, Commit Message: ci: changes required for Jakara LTS [Pipeline] echo 23:02:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:02:15 23:02:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:02:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:02:15 latest: Pulling from edgex-devops/git-semver 23:02:15 31603596830f: Pulling fs layer 23:02:15 04fac38145f0: Pulling fs layer 23:02:15 701f6daf10bf: Pulling fs layer 23:02:15 24f72da36158: Pulling fs layer 23:02:15 24f72da36158: Waiting 23:02:16 04fac38145f0: Verifying Checksum 23:02:16 04fac38145f0: Download complete 23:02:16 31603596830f: Verifying Checksum 23:02:16 31603596830f: Download complete 23:02:16 24f72da36158: Verifying Checksum 23:02:16 24f72da36158: Download complete 23:02:16 701f6daf10bf: Verifying Checksum 23:02:16 701f6daf10bf: Download complete 23:02:16 31603596830f: Pull complete 23:02:16 04fac38145f0: Pull complete 23:02:16 701f6daf10bf: Pull complete 23:02:16 24f72da36158: Pull complete 23:02:16 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:02:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:02:16 prd-centos7-docker-4c-2g-28 does not seem to be running inside a container 23:02:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-961 -v /w/workspace/ndry_app-functions-sdk-go_PR-961:/w/workspace/ndry_app-functions-sdk-go_PR-961:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-961@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:10004/edgex-devops/git-semver:latest cat 23:02:17 $ docker top 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:02:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:02:17 [ssh-agent] Looking for ssh-agent implementation... 23:02:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:02:18 $ docker exec 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda ssh-agent 23:02:18 SSH_AUTH_SOCK=/tmp/ssh-rFqYKJxbz2qQ/agent.15 23:02:18 SSH_AGENT_PID=21 23:02:18 Running ssh-add (command line suppressed) 23:02:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/private_key_3118784609390882446.key (/w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/private_key_3118784609390882446.key) 23:02:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:02:18 + git tag --points-at HEAD [Pipeline] } 23:02:18 $ docker exec --env ******** --env ******** 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda ssh-agent -k 23:02:18 unset SSH_AUTH_SOCK; 23:02:18 unset SSH_AGENT_PID; 23:02:18 echo Agent pid 21 killed; 23:02:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:02:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:02:18 [ssh-agent] Looking for ssh-agent implementation... 23:02:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:02:19 $ docker exec 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda ssh-agent 23:02:19 SSH_AUTH_SOCK=/tmp/ssh-vTDDtBHONYpo/agent.54 23:02:19 SSH_AGENT_PID=60 23:02:19 Running ssh-add (command line suppressed) 23:02:19 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/private_key_9211820916689221984.key (/w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/private_key_9211820916689221984.key) 23:02:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:02:19 + git semver init 23:02:19 # -> Open(): unable to determine branch for HEAD 23:02:19 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-961/.git 23:02:19 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-961 23:02:19 # $SEMVER_REMOTE_NAME = origin 23:02:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:02:19 # $SEMVER_USER_NAME = edgex-jenkins 23:02:19 # $SEMVER_BRANCH = PR-961 23:02:19 # $SEMVER_TEMP = /tmp/semver-753276663 23:02:19 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:02:21 # '/tmp/semver-753276663' -> '/w/workspace/ndry_app-functions-sdk-go_PR-961/.semver' 23:02:21 # -> Force: false 23:02:22 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-961/.semver [Pipeline] } 23:02:22 $ docker exec --env ******** --env ******** 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda ssh-agent -k 23:02:22 unset SSH_AUTH_SOCK; 23:02:22 unset SSH_AGENT_PID; 23:02:22 echo Agent pid 60 killed; 23:02:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:02:22 + git semver [Pipeline] } 23:02:23 $ docker stop --time=1 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda 23:02:24 $ docker rm -f 2c7d69c89083071f453cbd8818019ed1762cca942517c5470dc0ecf9e38aadda [Pipeline] // withDockerContainer [Pipeline] sh 23:02:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:02:25 Stashed 1 file(s) [Pipeline] echo 23:02:25 [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:02:40 Still waiting to schedule task 23:02:40 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28’ 23:02:40 Still waiting to schedule task 23:02:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:05:12 Running on prd-centos7-docker-4c-2g-31 in /w/workspace/ndry_app-functions-sdk-go_PR-961 [Pipeline] { [Pipeline] ws 23:05:12 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:05:13 The recommended git tool is: git 23:05:16 using credential edgex-jenkins-ssh 23:05:16 Cloning the remote Git repository 23:05:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:15 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:05:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:15 > git --version # timeout=10 23:05:15 > git --version # 'git version 2.24.4' 23:05:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:15 [INFO] Currently running in a labeled security context 23:05:15 [INFO] Currently SELinux is 'enforcing' on the host 23:05:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3114342779822952768.key 23:05:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:05:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:05:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:19 [INFO] Currently running in a labeled security context 23:05:19 [INFO] Currently SELinux is 'enforcing' on the host 23:05:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh3299124142874898912.key 23:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:05:20 Merging remotes/origin/main commit 7f05a7e52347c365a351e2dd89fdd5f9329d136c into PR head commit 29359ecd74c1311beb2cdad839c70663c563f801 23:05:20 Merge succeeded, producing 29359ecd74c1311beb2cdad839c70663c563f801 23:05:20 Checking out Revision 29359ecd74c1311beb2cdad839c70663c563f801 (PR-961) 23:05:20 > git config core.sparsecheckout # timeout=10 23:05:20 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 23:05:20 > git remote # timeout=10 23:05:20 > git config --get remote.origin.url # timeout=10 23:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:20 [INFO] Currently running in a labeled security context 23:05:20 [INFO] Currently SELinux is 'enforcing' on the host 23:05:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh6454830834562960362.key 23:05:20 > git merge 7f05a7e52347c365a351e2dd89fdd5f9329d136c # timeout=10 23:05:20 > git rev-parse HEAD^{commit} # timeout=10 23:05:20 > git config core.sparsecheckout # timeout=10 23:05:20 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 23:05:24 Commit message: "ci: changes required for Jakara LTS" 23:05:24 > git --version # timeout=10 23:05:24 > git --version # 'git version 2.24.4' 23:05:24 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:05:25 ========================================================= 23:05:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:05:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:05:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:05:25 4e9f2cdf4387: Pulling fs layer 23:05:25 57d31006c564: Pulling fs layer 23:05:25 bd5ccded8296: Pulling fs layer 23:05:25 304dd3a0f381: Pulling fs layer 23:05:25 d37cda54a23b: Pulling fs layer 23:05:25 38ea18935520: Pulling fs layer 23:05:25 ceb1e79740a2: Pulling fs layer 23:05:25 b665197a1568: Pulling fs layer 23:05:25 842a00ea3e35: Pulling fs layer 23:05:25 304dd3a0f381: Waiting 23:05:25 d37cda54a23b: Waiting 23:05:25 38ea18935520: Waiting 23:05:25 ceb1e79740a2: Waiting 23:05:25 b665197a1568: Waiting 23:05:25 842a00ea3e35: Waiting 23:05:25 bd5ccded8296: Verifying Checksum 23:05:25 bd5ccded8296: Download complete 23:05:26 57d31006c564: Verifying Checksum 23:05:26 57d31006c564: Download complete 23:05:26 d37cda54a23b: Verifying Checksum 23:05:26 d37cda54a23b: Download complete 23:05:26 38ea18935520: Verifying Checksum 23:05:26 38ea18935520: Download complete 23:05:26 ceb1e79740a2: Verifying Checksum 23:05:26 ceb1e79740a2: Download complete 23:05:26 4e9f2cdf4387: Verifying Checksum 23:05:26 4e9f2cdf4387: Download complete 23:05:26 4e9f2cdf4387: Pull complete 23:05:26 57d31006c564: Pull complete 23:05:26 bd5ccded8296: Pull complete 23:05:27 b665197a1568: Verifying Checksum 23:05:27 b665197a1568: Download complete 23:05:27 304dd3a0f381: Verifying Checksum 23:05:27 304dd3a0f381: Download complete 23:05:27 842a00ea3e35: Verifying Checksum 23:05:27 842a00ea3e35: Download complete 23:05:31 304dd3a0f381: Pull complete 23:05:31 d37cda54a23b: Pull complete 23:05:31 38ea18935520: Pull complete 23:05:31 ceb1e79740a2: Pull complete 23:05:31 b665197a1568: Pull complete 23:05:33 842a00ea3e35: Pull complete 23:05:33 Digest: sha256:8be23356d7c113ca3b28698ca9a8c0562f3cd483a847db66f47f9eff4f9454b6 23:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:05:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:05:34 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:05:34 + docker inspect -f . ci-base-image-x86_64 23:05:34 . [Pipeline] withDockerContainer 23:05:34 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 23:05:34 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:05:37 $ docker top bd99bc640ebe077a8df4d991b9cf9ade9174f65e179cd5b31e2e64793971487c -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:37 + go version 23:05:37 go version go1.16.8 linux/amd64 [Pipeline] } 23:05:37 $ docker stop --time=1 bd99bc640ebe077a8df4d991b9cf9ade9174f65e179cd5b31e2e64793971487c 23:05:39 $ docker rm -f bd99bc640ebe077a8df4d991b9cf9ade9174f65e179cd5b31e2e64793971487c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:05:39 + docker inspect -f . ci-base-image-x86_64 23:05:39 . [Pipeline] withDockerContainer 23:05:40 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 23:05:40 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:05:40 $ docker top f12a98464d0a26c642c995031e732c3d44e1f39d68af82477b8fb488f58559cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:05:40 + make test 23:05:40 make -C ./app-service-template build 23:05:40 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:05:40 go mod tidy 23:05:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:05:42 go: downloading github.com/google/uuid v1.3.0 23:05:42 go: downloading github.com/stretchr/testify v1.7.0 23:05:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:05:43 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:05:43 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:05:44 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:05:44 go: downloading github.com/go-kit/kit v0.9.0 23:05:45 go: downloading gopkg.in/yaml.v2 v2.4.0 23:05:45 go: downloading github.com/davecgh/go-spew v1.1.1 23:05:45 go: downloading github.com/pmezard/go-difflib v1.0.0 23:05:45 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:05:45 go: downloading github.com/stretchr/objx v0.1.0 23:05:45 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:05:46 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:05:46 go: downloading github.com/gorilla/mux v1.8.0 23:05:46 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:05:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:05:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:05:47 go: downloading github.com/go-playground/universal-translator v0.17.0 23:05:47 go: downloading github.com/leodido/go-urn v1.2.0 23:05:47 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:05:48 go: downloading golang.org/x/text v0.3.2 23:05:48 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:05:48 go: downloading github.com/go-playground/locales v0.13.0 23:05:50 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:05:50 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:05:50 go: downloading github.com/go-stack/stack v1.8.0 23:05:51 go: downloading github.com/mitchellh/copystructure v1.0.0 23:05:51 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:05:51 go: downloading github.com/pelletier/go-toml v1.9.2 23:05:52 go: downloading github.com/hashicorp/consul/api v1.8.1 23:05:52 go: downloading github.com/hashicorp/errwrap v1.0.0 23:05:52 go: downloading github.com/gorilla/websocket v1.4.2 23:05:52 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:05:52 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:05:53 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:05:53 go: downloading github.com/kr/pretty v0.2.0 23:05:54 go: downloading github.com/x448/float16 v0.8.4 23:05:54 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:05:54 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:05:54 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:05:54 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:05:54 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:05:55 go: downloading github.com/hashicorp/serf v0.9.5 23:05:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:05:55 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:05:56 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:05:56 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:05:56 go: downloading github.com/kr/text v0.1.0 23:05:56 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:05:56 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:05:56 go: downloading github.com/pebbe/zmq4 v1.2.7 23:05:57 go: downloading github.com/fatih/color v1.9.0 23:05:57 go: downloading github.com/mattn/go-colorable v0.1.6 23:05:57 go: downloading github.com/mattn/go-isatty v0.0.12 23:05:57 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:05:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:05:58 go: downloading github.com/pkg/errors v0.8.1 23:05:58 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:05:58 go: downloading github.com/hashicorp/memberlist v0.2.2 23:05:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:05:58 go: downloading github.com/onsi/ginkgo v1.10.1 23:05:58 go: downloading github.com/onsi/gomega v1.7.0 23:05:58 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:05:59 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:05:59 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:05:59 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:05:59 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:06:00 go: downloading github.com/miekg/dns v1.1.26 23:06:00 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:06:00 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:06:00 go: downloading github.com/hpcloud/tail v1.0.0 23:06:00 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:06:00 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:06:00 go: downloading github.com/golang/protobuf v1.3.2 23:06:00 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:06:00 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:06:00 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:06:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:06:15 make -C ./app-service-template test 23:06:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:06:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:06:26 ok new-app-service 0.023s coverage: 48.1% of statements 23:06:26 ? new-app-service/config [no test files] 23:06:26 ok new-app-service/functions 0.008s 23:06:26 CGO_ENABLED=1 go vet ./... 23:06:34 gofmt -l . 23:06:34 [ "`gofmt -l .`" = "" ] 23:06:34 ./bin/test-attribution-txt.sh 23:06:34 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:06:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:06:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 67.5% of statements 23:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 23:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements 23:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.017s coverage: 61.8% of statements 23:06:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:06:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 23:06:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.095s coverage: 75.7% of statements 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:06:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.3% of statements 23:06:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:06:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 10.5% of statements 23:06:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.058s coverage: 77.0% of statements 23:06:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:06:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 23:06:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements 23:06:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:06:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:06:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 23:06:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32 in /w/workspace/ndry_app-functions-sdk-go_PR-961 [Pipeline] { [Pipeline] ws 23:06:53 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:06:54 The recommended git tool is: git 23:07:00 using credential edgex-jenkins-ssh 23:07:00 Cloning the remote Git repository 23:07:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:07:00 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:07:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:07:00 > git --version # timeout=10 23:07:00 > git --version # 'git version 2.17.1' 23:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:07:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:07:03 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/961/head:refs/remotes/origin/PR-961 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:07:04 Merging remotes/origin/main commit 7f05a7e52347c365a351e2dd89fdd5f9329d136c into PR head commit 29359ecd74c1311beb2cdad839c70663c563f801 23:07:04 Merge succeeded, producing 29359ecd74c1311beb2cdad839c70663c563f801 23:07:04 Checking out Revision 29359ecd74c1311beb2cdad839c70663c563f801 (PR-961) 23:07:04 > git config core.sparsecheckout # timeout=10 23:07:04 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 23:07:04 > git remote # timeout=10 23:07:04 > git config --get remote.origin.url # timeout=10 23:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:04 > git merge 7f05a7e52347c365a351e2dd89fdd5f9329d136c # timeout=10 23:07:04 > git rev-parse HEAD^{commit} # timeout=10 23:07:04 > git config core.sparsecheckout # timeout=10 23:07:04 > git checkout -f 29359ecd74c1311beb2cdad839c70663c563f801 # timeout=10 23:07:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.030s coverage: 77.3% of statements 23:07:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 23:07:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:07:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:07:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 23:07:08 $ docker stop --time=1 f12a98464d0a26c642c995031e732c3d44e1f39d68af82477b8fb488f58559cb 23:07:09 Commit message: "ci: changes required for Jakara LTS" 23:07:09 > git --version # timeout=10 23:07:09 > git --version # 'git version 2.17.1' 23:07:09 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 23:07:10 $ docker rm -f f12a98464d0a26c642c995031e732c3d44e1f39d68af82477b8fb488f58559cb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 23:07:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 23:07:11 ========================================================= 23:07:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:07:11 ========================================================= 23:07:11 Stashed 2 file(s) [Pipeline] fileExists [Pipeline] } [Pipeline] fileExists [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } 23:07:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:13 23:07:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:07:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:13 latest: Pulling from edgex-lftools-log-publisher 23:07:13 b4d181a07f80: Pulling fs layer 23:07:13 a1111a8f2ec3: Pulling fs layer 23:07:13 ed53099fbce6: Pulling fs layer 23:07:13 dc539afda2c1: Pulling fs layer 23:07:13 77bc0d833cb6: Pulling fs layer 23:07:13 9065ff56babe: Pulling fs layer 23:07:13 d287ab97295c: Pulling fs layer 23:07:13 dc539afda2c1: Waiting 23:07:13 77bc0d833cb6: Waiting 23:07:13 9065ff56babe: Waiting 23:07:13 d287ab97295c: Waiting 23:07:13 a1111a8f2ec3: Verifying Checksum 23:07:13 a1111a8f2ec3: Download complete 23:07:13 dc539afda2c1: Verifying Checksum 23:07:13 dc539afda2c1: Download complete 23:07:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:14 bbf911997326: Pulling fs layer 23:07:14 58ec367f63d7: Pulling fs layer 23:07:14 1b4a6ffa7d45: Pulling fs layer 23:07:14 fc5181fea5dc: Pulling fs layer 23:07:14 9c418107303f: Pulling fs layer 23:07:14 0cd29c4cc85c: Pulling fs layer 23:07:14 76d7273c05b8: Pulling fs layer 23:07:14 e9181ef05905: Pulling fs layer 23:07:14 fc5181fea5dc: Waiting 23:07:14 9c418107303f: Waiting 23:07:14 0cd29c4cc85c: Waiting 23:07:14 76d7273c05b8: Waiting 23:07:14 e9181ef05905: Waiting 23:07:14 1b4a6ffa7d45: Verifying Checksum 23:07:14 1b4a6ffa7d45: Download complete 23:07:14 58ec367f63d7: Download complete 23:07:14 9c418107303f: Verifying Checksum 23:07:14 9c418107303f: Download complete 23:07:14 0cd29c4cc85c: Verifying Checksum 23:07:14 0cd29c4cc85c: Download complete 23:07:14 bbf911997326: Verifying Checksum 23:07:14 bbf911997326: Download complete 23:07:14 ed53099fbce6: Verifying Checksum 23:07:14 ed53099fbce6: Download complete 23:07:14 9065ff56babe: Verifying Checksum 23:07:14 9065ff56babe: Download complete 23:07:14 77bc0d833cb6: Verifying Checksum 23:07:14 77bc0d833cb6: Download complete 23:07:14 b4d181a07f80: Verifying Checksum 23:07:14 b4d181a07f80: Download complete 23:07:14 76d7273c05b8: Download complete 23:07:15 bbf911997326: Pull complete 23:07:15 b4d181a07f80: Pull complete 23:07:15 58ec367f63d7: Pull complete 23:07:15 a1111a8f2ec3: Pull complete 23:07:15 1b4a6ffa7d45: Pull complete 23:07:16 ed53099fbce6: Pull complete 23:07:16 dc539afda2c1: Pull complete 23:07:16 77bc0d833cb6: Pull complete 23:07:16 9065ff56babe: Pull complete 23:07:17 d287ab97295c: Verifying Checksum 23:07:17 d287ab97295c: Download complete 23:07:17 e9181ef05905: Verifying Checksum 23:07:17 e9181ef05905: Download complete 23:07:18 fc5181fea5dc: Verifying Checksum 23:07:18 fc5181fea5dc: Download complete 23:07:22 d287ab97295c: Pull complete 23:07:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:07:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:07:22 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 23:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:07:25 $ docker top e928a08c28e40ce5f9f41aba6b3ebbeaced9d7cc6d38e4698fb31181190cd225 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:26 ---> job-cost.sh 23:07:26 lf-activate-venv: SKIPPING 23:07:26 INFO: No Stack... 23:07:26 INFO: Retrieving Pricing Info for: v3-standard-2 23:07:26 INFO: Archiving Costs [Pipeline] sh 23:07:27 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 23:07:27 + cut -d, -f6 [Pipeline] lock 23:07:27 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] 23:07:27 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] did not exist. Created. 23:07:27 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:27 + echo total: 0.05999999865889549 [Pipeline] stash 23:07:27 Stashed 1 file(s) [Pipeline] } 23:07:27 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:07:27 $ docker stop --time=1 e928a08c28e40ce5f9f41aba6b3ebbeaced9d7cc6d38e4698fb31181190cd225 23:07:28 $ docker rm -f e928a08c28e40ce5f9f41aba6b3ebbeaced9d7cc6d38e4698fb31181190cd225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 23:07:29 fc5181fea5dc: Pull complete 23:07:29 9c418107303f: Pull complete 23:07:29 0cd29c4cc85c: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:07:29 76d7273c05b8: Pull complete 23:07:35 e9181ef05905: Pull complete 23:07:35 Digest: sha256:b68600a42bdad252800863e960bd1bff7f9295dc42515d77c75fe1690b9bba97 23:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:07:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 23:07:36 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:07:36 + docker inspect -f . ci-base-image-arm64 23:07:36 . [Pipeline] withDockerContainer 23:07:36 prd-ubuntu18.04-docker-arm64-4c-16g-32 does not seem to be running inside a container 23:07:37 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:43 $ docker top 411c7ade5f31893c07c282491b8d2645177b65d7b725e05d25c7aa952df91d39 -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:44 + go version 23:07:44 go version go1.16.8 linux/arm64 [Pipeline] } 23:07:45 $ docker stop --time=1 411c7ade5f31893c07c282491b8d2645177b65d7b725e05d25c7aa952df91d39 23:07:46 $ docker rm -f 411c7ade5f31893c07c282491b8d2645177b65d7b725e05d25c7aa952df91d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:07:47 + docker inspect -f . ci-base-image-arm64 23:07:47 . [Pipeline] withDockerContainer 23:07:48 prd-ubuntu18.04-docker-arm64-4c-16g-32 does not seem to be running inside a container 23:07:48 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:50 $ docker top 2149b25a6094beeceda0f4015611d5bf5f438bcc4a7bdfe39b1db2bba1409a63 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:07:51 + make test 23:07:51 make -C ./app-service-template build 23:07:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:07:51 go mod tidy 23:07:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:07:52 go: downloading github.com/google/uuid v1.3.0 23:07:52 go: downloading github.com/stretchr/testify v1.7.0 23:07:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:07:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:07:52 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:07:52 go: downloading github.com/davecgh/go-spew v1.1.1 23:07:52 go: downloading github.com/pmezard/go-difflib v1.0.0 23:07:52 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:07:52 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:07:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:07:52 go: downloading github.com/stretchr/objx v0.1.0 23:07:52 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:07:52 go: downloading github.com/go-kit/kit v0.9.0 23:07:52 go: downloading gopkg.in/yaml.v2 v2.4.0 23:07:53 go: downloading github.com/gorilla/mux v1.8.0 23:07:53 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:07:53 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:07:53 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:07:53 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:07:53 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:07:53 go: downloading github.com/mitchellh/copystructure v1.0.0 23:07:53 go: downloading github.com/gorilla/websocket v1.4.2 23:07:53 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:07:53 go: downloading github.com/hashicorp/consul/api v1.8.1 23:07:53 go: downloading github.com/pelletier/go-toml v1.9.2 23:07:53 go: downloading github.com/go-playground/universal-translator v0.17.0 23:07:53 go: downloading github.com/leodido/go-urn v1.2.0 23:07:53 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:07:53 go: downloading golang.org/x/text v0.3.2 23:07:53 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:07:54 go: downloading github.com/go-playground/locales v0.13.0 23:07:57 go: downloading github.com/hashicorp/errwrap v1.0.0 23:07:57 go: downloading github.com/kr/pretty v0.2.0 23:07:57 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:07:57 go: downloading github.com/x448/float16 v0.8.4 23:07:57 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:07:57 go: downloading github.com/go-stack/stack v1.8.0 23:07:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:07:57 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:07:57 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:07:57 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:07:57 go: downloading github.com/hashicorp/serf v0.9.5 23:07:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:07:57 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:07:57 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:07:57 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:07:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:07:57 go: downloading github.com/kr/text v0.1.0 23:07:57 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:07:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:07:57 go: downloading github.com/pebbe/zmq4 v1.2.7 23:07:57 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:07:57 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:07:57 go: downloading github.com/fatih/color v1.9.0 23:07:57 go: downloading github.com/mattn/go-colorable v0.1.6 23:07:57 go: downloading github.com/mattn/go-isatty v0.0.12 23:07:57 go: downloading github.com/pkg/errors v0.8.1 23:07:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:07:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:07:57 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:07:57 go: downloading github.com/hashicorp/memberlist v0.2.2 23:07:57 go: downloading github.com/onsi/ginkgo v1.10.1 23:07:57 go: downloading github.com/onsi/gomega v1.7.0 23:07:57 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:07:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:07:58 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:07:58 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:07:58 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:07:58 go: downloading github.com/miekg/dns v1.1.26 23:07:58 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:07:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:07:58 go: downloading github.com/hpcloud/tail v1.0.0 23:07:58 go: downloading github.com/golang/protobuf v1.3.2 23:07:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:07:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:07:58 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:07:58 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:07:58 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:08:37 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:08:37 make -C ./app-service-template test 23:08:37 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:08:37 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:09:04 ok new-app-service 0.045s coverage: 48.1% of statements 23:09:04 ? new-app-service/config [no test files] 23:09:04 ok new-app-service/functions 0.045s 23:09:04 CGO_ENABLED=1 go vet ./... 23:09:37 gofmt -l . 23:09:37 [ "`gofmt -l .`" = "" ] 23:09:37 ./bin/test-attribution-txt.sh 23:09:37 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:09:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:09:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.125s coverage: 67.5% of statements 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.106s coverage: 93.7% of statements 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.153s coverage: 75.7% of statements 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.3% of statements 23:09:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:09:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.042s coverage: 10.5% of statements 23:09:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.178s coverage: 77.0% of statements 23:09:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:09:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.070s coverage: 12.5% of statements 23:09:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.055s coverage: 27.3% of statements 23:09:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:09:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:09:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.054s coverage: 51.4% of statements 23:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.109s coverage: 77.3% of statements 23:10:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements 23:10:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:10:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:10:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 23:10:22 $ docker stop --time=1 2149b25a6094beeceda0f4015611d5bf5f438bcc4a7bdfe39b1db2bba1409a63 23:10:24 $ docker rm -f 2149b25a6094beeceda0f4015611d5bf5f438bcc4a7bdfe39b1db2bba1409a63 [Pipeline] // withDockerContainer [Pipeline] sh 23:10:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:10:27 Warning: overwriting stash ‘coverage-report’ 23:10:28 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:29 23:10:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:10:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:30 arm64: Pulling from edgex-lftools-log-publisher 23:10:30 448f6bf000e3: Pulling fs layer 23:10:30 f757da607395: Pulling fs layer 23:10:30 05883995daec: Pulling fs layer 23:10:30 8603b9c90790: Pulling fs layer 23:10:30 1560dd03e051: Pulling fs layer 23:10:30 27f5ce0e4adf: Pulling fs layer 23:10:30 c2d8d7efcc4b: Pulling fs layer 23:10:30 8603b9c90790: Waiting 23:10:30 1560dd03e051: Waiting 23:10:30 27f5ce0e4adf: Waiting 23:10:30 c2d8d7efcc4b: Waiting 23:10:30 f757da607395: Verifying Checksum 23:10:30 f757da607395: Download complete 23:10:30 8603b9c90790: Verifying Checksum 23:10:30 8603b9c90790: Download complete 23:10:30 05883995daec: Verifying Checksum 23:10:30 05883995daec: Download complete 23:10:30 1560dd03e051: Verifying Checksum 23:10:30 1560dd03e051: Download complete 23:10:30 27f5ce0e4adf: Download complete 23:10:31 448f6bf000e3: Verifying Checksum 23:10:31 448f6bf000e3: Download complete 23:10:34 c2d8d7efcc4b: Verifying Checksum 23:10:34 c2d8d7efcc4b: Download complete 23:10:35 448f6bf000e3: Pull complete 23:10:36 f757da607395: Pull complete 23:10:37 05883995daec: Pull complete 23:10:38 8603b9c90790: Pull complete 23:10:39 1560dd03e051: Pull complete 23:10:39 27f5ce0e4adf: Pull complete 23:10:54 c2d8d7efcc4b: Pull complete 23:10:54 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:10:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:10:55 prd-ubuntu18.04-docker-arm64-4c-16g-32 does not seem to be running inside a container 23:10:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:10:59 $ docker top bb1ecb49a1eb1f5137ceb2e363a39b562fff0741612cba7e08c3c424275a0b67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:00 ---> job-cost.sh 23:11:00 lf-activate-venv: SKIPPING 23:11:00 INFO: No Stack... 23:11:19 INFO: Retrieving Pricing Info for: v3-standard-4 23:11:19 INFO: Archiving Costs [Pipeline] sh 23:11:20 + cut -d, -f6 23:11:20 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 23:11:20 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] 23:11:20 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] did not exist. Created. 23:11:20 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:11:21 /w/workspace/app-functions-sdk-go/1@tmp/durable-93cb7caa/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-93cb7caa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:11:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:11:22 Warning: overwriting stash ‘stack-cost’ 23:11:22 Stashed 1 file(s) [Pipeline] } 23:11:22 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-961-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:11:22 $ docker stop --time=1 bb1ecb49a1eb1f5137ceb2e363a39b562fff0741612cba7e08c3c424275a0b67 23:11:24 $ docker rm -f bb1ecb49a1eb1f5137ceb2e363a39b562fff0741612cba7e08c3c424275a0b67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:11:25 provisioning config files... 23:11:25 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/config7560484766709789686tmp [Pipeline] { [Pipeline] sh 23:11:26 + set +x 23:11:26 + curl -s https://codecov.io/bash 23:11:26 + bash -s -- 23:11:26 23:11:26 _____ _ 23:11:26 / ____| | | 23:11:26 | | ___ __| | ___ ___ _____ __ 23:11:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:11:26 | |___| (_) | (_| | __/ (_| (_) \ V / 23:11:26 \_____\___/ \__,_|\___|\___\___/ \_/ 23:11:26 Bash-1.0.6 23:11:26 23:11:26 23:11:26 ==> git version 2.24.4 found 23:11:26 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 23:11:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:11:26 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:11:26 ==> Jenkins CI detected. 23:11:26 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-961 23:11:26 project root: . 23:11:26 --> token set from env 23:11:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:11:26 ==> Running gcov in . (disable via -X gcov) 23:11:26 ==> Python coveragepy not found 23:11:26 ==> Searching for coverage reports in: 23:11:26 + . 23:11:26 -> Found 2 reports 23:11:26 ==> Detecting git/mercurial file structure 23:11:26 ==> Reading reports 23:11:26 + ./app-service-template/coverage.out bytes=1219 23:11:26 + ./coverage.out bytes=101380 23:11:26 ==> Appending adjustments 23:11:26 https://docs.codecov.io/docs/fixing-reports 23:11:26 + Found adjustments 23:11:26 ==> Gzipping contents 23:11:26 20K /tmp/codecov.EV1LsO.gz 23:11:26 ==> Uploading reports 23:11:26 url: https://codecov.io 23:11:26 query: branch=PR-961&commit=29359ecd74c1311beb2cdad839c70663c563f801&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-961%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=961&job=&cmd_args= 23:11:26 -> Pinging Codecov 23:11:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-961&commit=29359ecd74c1311beb2cdad839c70663c563f801&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-961%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=961&job=&cmd_args= 23:11:27 -> Uploading to 23:11:27 https://storage.googleapis.com/codecov/v4/raw/2021-10-05/3D8B5DFFC46A037C893635FACE044666/29359ecd74c1311beb2cdad839c70663c563f801/6e24244b-9c35-4f8f-82df-6589cc1b2a39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T231127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc64a408fcbd3771daeea900c6ea88d01980b463ec0850974ed208fe22df6d9c 23:11:27 % Total % Received % Xferd Average Speed Time Time Time Current 23:11:27 Dload Upload Total Spent Left Speed 23:11:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17709 0 0 100 17709 0 58402 --:--:-- --:--:-- --:--:-- 58445 23:11:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/29359ecd74c1311beb2cdad839c70663c563f801 [Pipeline] } 23:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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] sh 23:11:30 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-961/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:11:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:11:31 ---> package-listing.sh 23:11:31 ++ facter osfamily 23:11:31 ++ tr '[:upper:]' '[:lower:]' 23:11:31 + OS_FAMILY=redhat 23:11:31 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-961 23:11:31 + START_PACKAGES=/tmp/packages_start.txt 23:11:31 + END_PACKAGES=/tmp/packages_end.txt 23:11:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:11:31 + PACKAGES=/tmp/packages_start.txt 23:11:31 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-961 ']' 23:11:31 + PACKAGES=/tmp/packages_end.txt 23:11:31 + case "${OS_FAMILY}" in 23:11:31 + rpm -qa 23:11:31 + sort 23:11:32 + '[' -f /tmp/packages_start.txt ']' 23:11:32 + '[' -f /tmp/packages_end.txt ']' 23:11:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:11:32 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-961 ']' 23:11:32 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-961/archives/ 23:11:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-961/archives/ [Pipeline] echo 23:11:32 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-961/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:11:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:32 23:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:11:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:33 latest: Pulling from edgex-lftools-log-publisher 23:11:33 b4d181a07f80: Pulling fs layer 23:11:33 a1111a8f2ec3: Pulling fs layer 23:11:33 ed53099fbce6: Pulling fs layer 23:11:33 dc539afda2c1: Pulling fs layer 23:11:33 77bc0d833cb6: Pulling fs layer 23:11:33 9065ff56babe: Pulling fs layer 23:11:33 d287ab97295c: Pulling fs layer 23:11:33 dc539afda2c1: Waiting 23:11:33 77bc0d833cb6: Waiting 23:11:33 9065ff56babe: Waiting 23:11:33 d287ab97295c: Waiting 23:11:33 a1111a8f2ec3: Verifying Checksum 23:11:33 a1111a8f2ec3: Download complete 23:11:33 dc539afda2c1: Verifying Checksum 23:11:33 dc539afda2c1: Download complete 23:11:33 77bc0d833cb6: Verifying Checksum 23:11:33 77bc0d833cb6: Download complete 23:11:33 9065ff56babe: Verifying Checksum 23:11:33 9065ff56babe: Download complete 23:11:33 ed53099fbce6: Verifying Checksum 23:11:33 ed53099fbce6: Download complete 23:11:33 b4d181a07f80: Verifying Checksum 23:11:33 b4d181a07f80: Download complete 23:11:35 d287ab97295c: Verifying Checksum 23:11:35 d287ab97295c: Download complete 23:11:35 b4d181a07f80: Pull complete 23:11:35 a1111a8f2ec3: Pull complete 23:11:36 ed53099fbce6: Pull complete 23:11:36 dc539afda2c1: Pull complete 23:11:37 77bc0d833cb6: Pull complete 23:11:37 9065ff56babe: Pull complete 23:11:42 d287ab97295c: Pull complete 23:11:42 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:11:42 prd-centos7-docker-4c-2g-28 does not seem to be running inside a container 23:11:42 $ 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-961/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-961 -v /w/workspace/ndry_app-functions-sdk-go_PR-961:/w/workspace/ndry_app-functions-sdk-go_PR-961:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-961@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-961@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:11:44 $ docker top 3cd1e149e2b335574de40fc9d9e42b8960d847e40584a8a74672693dbeb99edc -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:45 + touch /tmp/pre-build-complete [Pipeline] sh 23:11:45 + mkdir -p /var/log/sysstat [Pipeline] sh 23:11:46 + ls /var/log/sa-host 23:11:46 + sadf -c /var/log/sa-host/sa05 23:11:46 file_magic: OK 23:11:46 HZ: Using current value: 100 23:11:46 file_header: OK 23:11:46 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:11:46 Statistics: 23:11:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:11:46 File successfully converted to sysstat format version 12.0.3 23:11:46 + sadf -c /var/log/sa-host/sa30 23:11:46 file_magic: OK 23:11:46 HZ: Using current value: 100 23:11:46 file_header: OK 23:11:46 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:11:46 Statistics: 23:11:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:11:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:46 provisioning config files... 23:11:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-961@tmp/config5114362657336055865tmp [Pipeline] { [Pipeline] echo 23:11:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:11:47 ---> create-netrc.sh [Pipeline] } 23:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:11:47 ---> python-tools-install.sh [Pipeline] echo 23:11:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:11:48 ---> sudo-logs.sh 23:11:48 Archiving 'sudo' log.. 23:11:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-28.novalocal: Name or service not known 23:11:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-28.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:11:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:11:48 ---> job-cost.sh 23:11:48 lf-activate-venv: SKIPPING 23:11:48 DEBUG: total: 0.10999999940395355 23:11:48 INFO: Retrieving Stack Cost... 23:11:48 INFO: Retrieving Pricing Info for: v3-standard-2 23:11:49 INFO: Archiving Costs [Pipeline] echo 23:11:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:11:49 ---> logs-deploy.sh 23:11:49 lf-activate-venv: SKIPPING 23:11:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-961/1 23:11:49 INFO: archiving workspace using pattern(s): 23:11:50 Archives upload complete. 23:11:50 INFO: archiving logs to Nexus 23:11:51 ---> uname -a: 23:11:51 Linux prd-centos7-docker-4c-2g-28.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 23:11:51 23:11:51 23:11:51 ---> lscpu: 23:11:51 Architecture: x86_64 23:11:51 CPU op-mode(s): 32-bit, 64-bit 23:11:51 Byte Order: Little Endian 23:11:51 Address sizes: 40 bits physical, 48 bits virtual 23:11:51 CPU(s): 2 23:11:51 On-line CPU(s) list: 0,1 23:11:51 Thread(s) per core: 1 23:11:51 Core(s) per socket: 1 23:11:51 Socket(s): 2 23:11:51 NUMA node(s): 1 23:11:51 Vendor ID: AuthenticAMD 23:11:51 CPU family: 23 23:11:51 Model: 49 23:11:51 Model name: AMD EPYC-Rome Processor 23:11:51 Stepping: 0 23:11:51 CPU MHz: 2799.998 23:11:51 BogoMIPS: 5599.99 23:11:51 Virtualization: AMD-V 23:11:51 Hypervisor vendor: KVM 23:11:51 Virtualization type: full 23:11:51 L1d cache: 32K 23:11:51 L1i cache: 32K 23:11:51 L2 cache: 512K 23:11:51 L3 cache: 16384K 23:11:51 NUMA node0 CPU(s): 0,1 23:11:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:11:51 23:11:51 23:11:51 ---> nproc: 23:11:51 2 23:11:51 23:11:51 23:11:51 ---> df -h: 23:11:51 Filesystem Size Used Avail Use% Mounted on 23:11:51 overlay 40G 7.7G 33G 20% / 23:11:51 tmpfs 64M 0 64M 0% /dev 23:11:51 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:11:51 shm 64M 0 64M 0% /dev/shm 23:11:51 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:11:51 23:11:51 23:11:51 ---> sar -b -r -n DEV: 23:11:51 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 23:11:51 23:11:51 23:01:32 LINUX RESTART (2 CPU) 23:11:51 23:11:51 23:02:01 tps rtps wtps bread/s bwrtn/s 23:11:51 23:03:01 82.68 3.21 79.47 2307.69 4640.78 23:11:51 23:04:01 0.33 0.00 0.33 0.00 5.80 23:11:51 23:05:01 0.20 0.00 0.20 0.00 2.16 23:11:51 23:06:01 0.27 0.00 0.27 0.00 3.97 23:11:51 23:07:01 0.37 0.00 0.37 0.00 5.61 23:11:51 23:08:01 0.32 0.00 0.32 0.00 4.71 23:11:51 23:09:01 0.18 0.00 0.18 0.00 3.71 23:11:51 23:10:01 0.33 0.00 0.33 0.00 5.33 23:11:51 23:11:01 0.33 0.00 0.33 0.00 4.20 23:11:51 Average: 9.45 0.36 9.09 256.51 519.80 23:11:51 23:11:51 23:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:11:51 23:03:01 5637392 0 629276 7.86 2620 1739652 1270940 14.03 584096 1547556 8 23:11:51 23:04:01 5646944 0 619716 7.74 2620 1739660 1170824 12.93 576744 1547912 8 23:11:51 23:05:01 5649756 0 616904 7.70 2620 1739660 1170620 12.92 573876 1547912 8 23:11:51 23:06:01 5646552 0 620100 7.74 2620 1739668 1170848 12.93 576588 1548616 16 23:11:51 23:07:01 5646452 0 620196 7.74 2620 1739672 1170848 12.93 576644 1548616 20 23:11:51 23:08:01 5647516 0 619128 7.73 2620 1739676 1170656 12.92 575560 1548632 20 23:11:51 23:09:01 5647072 0 619568 7.74 2620 1739680 1170620 12.92 576308 1548632 16 23:11:51 23:10:01 5636880 0 629752 7.86 2620 1739688 1170620 12.92 586408 1548636 8 23:11:51 23:11:01 5634088 0 632544 7.90 2620 1739688 1170800 12.93 589720 1548632 20 23:11:51 Average: 5643628 0 623020 7.78 2620 1739672 1181864 13.05 579549 1548349 14 23:11:51 23:11:51 23:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:11:51 23:03:01 eth0 211.39 219.98 993.83 37.18 0.00 0.00 0.00 0.00 23:11:51 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:03:01 docker0 85.13 49.77 7.97 312.89 0.00 0.00 0.00 0.00 23:11:51 23:04:01 eth0 2.73 0.95 1.36 0.28 0.00 0.00 0.00 0.00 23:11:51 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:05:01 eth0 0.67 0.10 0.06 0.01 0.00 0.00 0.00 0.00 23:11:51 23:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:06:01 eth0 1.12 0.37 0.33 0.20 0.00 0.00 0.00 0.00 23:11:51 23:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:07:01 eth0 0.67 0.53 0.35 0.27 0.00 0.00 0.00 0.00 23:11:51 23:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:08:01 eth0 0.18 0.12 0.07 0.01 0.00 0.00 0.00 0.00 23:11:51 23:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:09:01 eth0 0.40 0.10 0.03 0.01 0.00 0.00 0.00 0.00 23:11:51 23:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:10:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 23:11:51 23:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:11:01 eth0 1.10 0.43 0.33 0.21 0.00 0.00 0.00 0.00 23:11:51 23:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 Average: eth0 24.27 24.75 110.75 4.24 0.00 0.00 0.00 0.00 23:11:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:11:51 Average: docker0 9.46 5.53 0.89 34.78 0.00 0.00 0.00 0.00 23:11:51 23:11:51 23:11:51 ---> sar -P ALL: 23:11:51 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 23:11:51 23:11:51 23:01:32 LINUX RESTART (2 CPU) 23:11:51 23:11:51 23:02:01 CPU %user %nice %system %iowait %steal %idle 23:11:51 23:03:01 all 6.15 0.00 2.34 2.22 0.05 89.24 23:11:51 23:03:01 0 6.16 0.00 2.40 1.73 0.05 89.66 23:11:51 23:03:01 1 6.14 0.00 2.28 2.71 0.05 88.82 23:11:51 23:04:01 all 0.25 0.00 0.08 0.00 0.03 99.64 23:11:51 23:04:01 0 0.43 0.00 0.08 0.00 0.03 99.45 23:11:51 23:04:01 1 0.07 0.00 0.08 0.00 0.02 99.83 23:11:51 23:05:01 all 0.20 0.00 0.07 0.00 0.03 99.71 23:11:51 23:05:01 0 0.33 0.00 0.08 0.00 0.03 99.55 23:11:51 23:05:01 1 0.07 0.00 0.05 0.00 0.02 99.87 23:11:51 23:06:01 all 0.23 0.00 0.07 0.00 0.01 99.69 23:11:51 23:06:01 0 0.40 0.00 0.07 0.00 0.00 99.53 23:11:51 23:06:01 1 0.07 0.00 0.07 0.00 0.02 99.85 23:11:51 23:07:01 all 0.27 0.00 0.04 0.00 0.02 99.67 23:11:51 23:07:01 0 0.47 0.00 0.05 0.00 0.02 99.47 23:11:51 23:07:01 1 0.07 0.00 0.03 0.00 0.02 99.88 23:11:51 23:08:01 all 0.23 0.00 0.03 0.00 0.03 99.72 23:11:51 23:08:01 0 0.38 0.00 0.02 0.00 0.02 99.58 23:11:51 23:08:01 1 0.07 0.00 0.05 0.00 0.03 99.85 23:11:51 23:09:01 all 0.22 0.00 0.05 0.00 0.02 99.72 23:11:51 23:09:01 0 0.38 0.00 0.07 0.00 0.02 99.53 23:11:51 23:09:01 1 0.05 0.00 0.03 0.00 0.02 99.90 23:11:51 23:10:01 all 0.18 0.00 0.06 0.00 0.02 99.74 23:11:51 23:10:01 0 0.05 0.00 0.05 0.00 0.03 99.87 23:11:51 23:10:01 1 0.32 0.00 0.07 0.00 0.00 99.62 23:11:51 23:11:01 all 0.20 0.00 0.04 0.00 0.03 99.72 23:11:51 23:11:01 0 0.05 0.00 0.05 0.00 0.03 99.87 23:11:51 23:11:01 1 0.35 0.00 0.03 0.00 0.03 99.58 23:11:51 Average: all 0.87 0.00 0.31 0.24 0.02 98.55 23:11:51 Average: 0 0.96 0.00 0.32 0.19 0.03 98.51 23:11:51 Average: 1 0.79 0.00 0.30 0.30 0.02 98.59 23:11:51 23:11:51 23:11:51