Pull request #3684 updated 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 tonyespy for edgexfoundry/edgex-go Obtained Jenkinsfile from e47532af24d42593ab4ea58449654d50d922eefd+e89d87e1b047cca713fa4fd161d0eba79eaf23fa (8b643957154d830c7aa6d03af79f90f8e777c8c8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5617908760186837540.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh1472422007128009274.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3684/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3684/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh108018587174286921.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2778156209561318149.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3684/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3684/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9088734803700410928.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true 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-866 in /w/workspace/edgexfoundry_edgex-go_PR-3684 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/2@tmp/jenkins-gitclient-ssh526976922084543516.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e89d87e1b047cca713fa4fd161d0eba79eaf23fa into PR head commit e47532af24d42593ab4ea58449654d50d922eefd > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go/2@tmp/jenkins-gitclient-ssh4636369193388288884.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3684/head:refs/remotes/origin/PR-3684 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing e47532af24d42593ab4ea58449654d50d922eefd Checking out Revision e47532af24d42593ab4ea58449654d50d922eefd (PR-3684) > git config core.sparsecheckout # timeout=10 > git checkout -f e47532af24d42593ab4ea58449654d50d922eefd # 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/edgex-go/2@tmp/jenkins-gitclient-ssh1426762478602678624.key > git merge e89d87e1b047cca713fa4fd161d0eba79eaf23fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e47532af24d42593ab4ea58449654d50d922eefd # timeout=10 Commit message: "build(snap): configure addtl app services" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:39:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:39:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:39:04 ========================================================= 21:39:04 EdgeX Global Pipelines Version Info 21:39:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b703ad651b67515b6532034b67f739ee7314e034 # timeout=10 21:39:05 ------------------- 21:39:05 stable info: 21:39:05 ------------------- 21:39:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:39:05 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:39:05 Message: update stable to v1.0.205 21:39:06 ------------------- 21:39:06 experimental info: 21:39:06 ------------------- 21:39:06 Commited By: **** collab-it+edgex@linuxfoundation.org 21:39:06 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 21:39:06 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:39:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3684 [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3684 [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3684 [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e47532af24d42593ab4ea58449654d50d922eefd [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e47532a [Pipeline] echo 21:39:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:07 provisioning config files... 21:39:07 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config792214366948277624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:07 ---> docker-login.sh 21:39:07 nexus3.edgexfoundry.org:10001 21:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:07 Configure a credential helper to remove this warning. See 21:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:07 21:39:07 Login Succeeded 21:39:07 nexus3.edgexfoundry.org:10002 21:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:08 Configure a credential helper to remove this warning. See 21:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:08 21:39:08 Login Succeeded 21:39:08 nexus3.edgexfoundry.org:10003 21:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:08 Configure a credential helper to remove this warning. See 21:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:08 21:39:08 Login Succeeded 21:39:08 nexus3.edgexfoundry.org:10004 21:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:08 Configure a credential helper to remove this warning. See 21:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:08 21:39:08 Login Succeeded 21:39:08 docker.io 21:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:08 Configure a credential helper to remove this warning. See 21:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:08 21:39:08 Login Succeeded 21:39:08 ---> docker-login.sh ends [Pipeline] } 21:39:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:09 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/core-command/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo core-command,cmd/core-command/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/core-data/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo core-data,cmd/core-data/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/core-metadata/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo core-metadata,cmd/core-metadata/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/security-bootstrapper/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/security-proxy-setup/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/support-notifications/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo support-notifications,cmd/support-notifications/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/support-scheduler/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:39:09 + for file in '`ls cmd/**/Dockerfile`' 21:39:09 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:39:09 ++ cut -d/ -f2 21:39:09 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:39:09 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:39:10 21:39:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:39:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:39:10 latest: Pulling from edgex-devops/git-semver 21:39:10 31603596830f: Pulling fs layer 21:39:10 04fac38145f0: Pulling fs layer 21:39:10 701f6daf10bf: Pulling fs layer 21:39:10 24f72da36158: Pulling fs layer 21:39:10 24f72da36158: Waiting 21:39:10 04fac38145f0: Verifying Checksum 21:39:10 04fac38145f0: Download complete 21:39:11 31603596830f: Verifying Checksum 21:39:11 31603596830f: Download complete 21:39:11 31603596830f: Pull complete 21:39:11 24f72da36158: Verifying Checksum 21:39:11 24f72da36158: Download complete 21:39:11 04fac38145f0: Pull complete 21:39:11 701f6daf10bf: Verifying Checksum 21:39:11 701f6daf10bf: Download complete 21:39:11 701f6daf10bf: Pull complete 21:39:11 24f72da36158: Pull complete 21:39:11 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 21:39:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:39:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:39:12 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 21:39:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:39:12 $ docker top 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:13 [ssh-agent] Looking for ssh-agent implementation... 21:39:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:13 $ docker exec 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e ssh-agent 21:39:13 SSH_AUTH_SOCK=/tmp/ssh-eNsVbPqSk5ex/agent.14 21:39:13 SSH_AGENT_PID=20 21:39:13 Running ssh-add (command line suppressed) 21:39:13 Identity added: /w/workspace/edgex-go/2@tmp/private_key_1357414948467728017.key (/w/workspace/edgex-go/2@tmp/private_key_1357414948467728017.key) 21:39:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:13 + git tag --points-at HEAD [Pipeline] } 21:39:13 $ docker exec --env ******** --env ******** 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e ssh-agent -k 21:39:13 unset SSH_AUTH_SOCK; 21:39:13 unset SSH_AGENT_PID; 21:39:13 echo Agent pid 20 killed; 21:39:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:39:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:13 [ssh-agent] Looking for ssh-agent implementation... 21:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:14 $ docker exec 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e ssh-agent 21:39:14 SSH_AUTH_SOCK=/tmp/ssh-wZvxTHKUZlab/agent.54 21:39:14 SSH_AGENT_PID=61 21:39:14 Running ssh-add (command line suppressed) 21:39:14 Identity added: /w/workspace/edgex-go/2@tmp/private_key_2298489131864370588.key (/w/workspace/edgex-go/2@tmp/private_key_2298489131864370588.key) 21:39:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:14 + git semver init 21:39:14 # -> Open(): unable to determine branch for HEAD 21:39:14 # $GIT_DIR = /w/workspace/edgex-go/2/.git 21:39:14 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 21:39:14 # $SEMVER_REMOTE_NAME = origin 21:39:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:39:14 # $SEMVER_USER_NAME = edgex-jenkins 21:39:14 # $SEMVER_BRANCH = PR-3684 21:39:14 # $SEMVER_TEMP = /tmp/semver-234272395 21:39:14 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:39:32 # '/tmp/semver-234272395' -> '/w/workspace/edgex-go/2/.semver' 21:39:32 # -> Force: false 21:39:32 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 21:39:32 $ docker exec --env ******** --env ******** 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e ssh-agent -k 21:39:32 unset SSH_AUTH_SOCK; 21:39:32 unset SSH_AGENT_PID; 21:39:32 echo Agent pid 61 killed; 21:39:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:33 + git semver [Pipeline] } 21:39:33 $ docker stop --time=1 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e 21:39:35 $ docker rm -f 0b7f966c8af4a420bf5f5b00cc8783d68a9052ab06313da7631db60d3b49898e [Pipeline] // withDockerContainer [Pipeline] sh 21:39:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:39:36 Stashed 1 file(s) [Pipeline] echo 21:39:36 [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 21:39:36 ========================================================= 21:39:36 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:39:36 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:39:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:39:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:39:36 540db60ca938: Pulling fs layer 21:39:36 adcc1eea9eea: Pulling fs layer 21:39:36 4c4ab2625f07: Pulling fs layer 21:39:36 db62176df00c: Pulling fs layer 21:39:36 3b30891b0d05: Pulling fs layer 21:39:36 06b49ca38bd5: Pulling fs layer 21:39:36 c788192a36de: Pulling fs layer 21:39:36 a77e37c0d609: Pulling fs layer 21:39:36 c3185cebc471: Pulling fs layer 21:39:36 db62176df00c: Waiting 21:39:36 3b30891b0d05: Waiting 21:39:36 06b49ca38bd5: Waiting 21:39:36 c788192a36de: Waiting 21:39:36 a77e37c0d609: Waiting 21:39:36 c3185cebc471: Waiting 21:39:36 4c4ab2625f07: Verifying Checksum 21:39:36 4c4ab2625f07: Download complete 21:39:36 adcc1eea9eea: Verifying Checksum 21:39:36 adcc1eea9eea: Download complete 21:39:36 3b30891b0d05: Verifying Checksum 21:39:36 3b30891b0d05: Download complete 21:39:37 06b49ca38bd5: Verifying Checksum 21:39:37 06b49ca38bd5: Download complete 21:39:37 c788192a36de: Verifying Checksum 21:39:37 c788192a36de: Download complete 21:39:37 540db60ca938: Verifying Checksum 21:39:37 540db60ca938: Download complete 21:39:37 540db60ca938: Pull complete 21:39:37 adcc1eea9eea: Pull complete 21:39:37 4c4ab2625f07: Pull complete 21:39:38 a77e37c0d609: Verifying Checksum 21:39:38 a77e37c0d609: Download complete 21:39:41 c3185cebc471: Verifying Checksum 21:39:41 c3185cebc471: Download complete 21:39:41 db62176df00c: Verifying Checksum 21:39:41 db62176df00c: Download complete 21:39:45 db62176df00c: Pull complete 21:39:45 3b30891b0d05: Pull complete 21:39:45 06b49ca38bd5: Pull complete 21:39:45 c788192a36de: Pull complete 21:39:45 a77e37c0d609: Pull complete 21:39:47 c3185cebc471: Pull complete 21:39:47 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 21:39:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:39:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 21:39:47 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:39:47 WORKDIR /edgex 21:39:47 COPY go.mod . 21:39:47 RUN go mod download' 21:39:47 + docker build -t ci-base-image-x86_64 -f - . 21:39:49 Sending build context to Docker daemon 328.7MB 21:39:49 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:39:49 ---> 031687cdd783 21:39:49 Step 2/4 : WORKDIR /edgex 21:39:50 ---> Running in b4bd9e79efea 21:39:50 Removing intermediate container b4bd9e79efea 21:39:50 ---> dbe700309428 21:39:50 Step 3/4 : COPY go.mod . 21:39:50 ---> 5b395c5946f9 21:39:50 Step 4/4 : RUN go mod download 21:39:50 ---> Running in 7e5d261a6664 21:39:51 Still waiting to schedule task 21:39:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:40:29 Removing intermediate container 7e5d261a6664 21:40:29 ---> 5c5aad09138f 21:40:29 Successfully built 5c5aad09138f 21:40:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:40:30 + docker inspect -f . ci-base-image-x86_64 21:40:30 . [Pipeline] withDockerContainer 21:40:30 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 21:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat 21:40:30 $ docker top 1c1c2a4216a6f8cecff16a31bda80a6e1d386faa43cb4e2b4022998865391c03 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:31 + go version 21:40:31 go version go1.16.6 linux/amd64 [Pipeline] } 21:40:31 $ docker stop --time=1 1c1c2a4216a6f8cecff16a31bda80a6e1d386faa43cb4e2b4022998865391c03 21:40:32 $ docker rm -f 1c1c2a4216a6f8cecff16a31bda80a6e1d386faa43cb4e2b4022998865391c03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:40:33 + docker inspect -f . ci-base-image-x86_64 21:40:33 . [Pipeline] withDockerContainer 21:40:33 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 21:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-x86_64 cat 21:40:33 $ docker top 20e67e485184a1645b29f54438735b3bdffa1a83bac23ee03795766204c2e8db -eo pid,comm [Pipeline] { [Pipeline] echo 21:40:33 ========================================================= 21:40:33 [edgeXBuildGoParallel] Running Tests and Build... 21:40:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:40:34 + go mod tidy [Pipeline] sh 21:40:34 + make test 21:40:34 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 21:40:35 go mod tidy 21:40:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:40:42 ? github.com/edgexfoundry/edgex-go [no test files] 21:40:57 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:41:02 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:41:02 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:41:03 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:41:05 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:41:05 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:41:05 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:41:05 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:41:06 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:41:06 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:41:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:41:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:41:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:41:07 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 21:41:08 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.039s coverage: 28.7% of statements 21:41:08 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:41:08 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:41:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.070s coverage: 100.0% of statements 21:41:09 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 21:41:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.049s coverage: 46.3% of statements 21:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:41:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:41:11 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.115s coverage: 90.1% of statements 21:41:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 21:41:11 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 21:41:12 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.063s coverage: 81.2% of statements 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:41:12 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.238s coverage: 94.2% of statements 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 21:41:12 ok github.com/edgexfoundry/edgex-go/internal/io 0.064s coverage: 59.1% of statements 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:41:12 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.045s coverage: 60.0% of statements 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:41:12 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:41:13 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.045s coverage: 0.8% of statements 21:41:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 21:41:13 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements 21:41:13 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.046s coverage: 21.7% of statements 21:41:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:41:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.051s coverage: 47.1% of statements 21:41:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.055s coverage: 79.5% of statements 21:41:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.051s coverage: 94.1% of statements 21:41:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.072s coverage: 96.3% of statements 21:41:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.055s coverage: 87.5% of statements 21:41:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.058s coverage: 94.4% of statements 21:41:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.041s coverage: 44.8% of statements 21:41:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.164s coverage: 81.8% of statements 21:41:33 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.073s coverage: 92.9% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.055s coverage: 87.2% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.055s coverage: 58.8% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 85.4% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.073s coverage: 91.2% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.129s coverage: 64.4% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 91.3% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.023s coverage: 73.7% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.173s coverage: 66.9% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.108s coverage: 43.6% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.049s coverage: 89.5% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:41:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements 21:41:51 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.067s coverage: 19.5% of statements 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.141s coverage: 92.0% of statements 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 62.7% of statements 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.053s coverage: 28.9% of statements 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 21:41:57 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 21:41:57 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements 21:41:57 GO111MODULE=on go vet ./... 21:41:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-867 in /w/workspace/edgexfoundry_edgex-go_PR-3684 [Pipeline] { [Pipeline] ws 21:41:59 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 21:42:00 The recommended git tool is: git 21:42:05 using credential edgex-jenkins-ssh 21:42:05 Cloning the remote Git repository 21:42:05 Cloning repository git@github.com:edgexfoundry/edgex-go.git 21:42:05 > git init /w/workspace/edgex-go/2 # timeout=10 21:42:06 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:42:06 > git --version # timeout=10 21:42:06 > git --version # 'git version 2.17.1' 21:42:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:20 gofmt -l . 21:42:20 snap/local/hooks/cmd/install/install.go 21:42:20 [ "`gofmt -l .`" = "" ] 21:42:20 make: *** [Makefile:104: test] Error 1 [Pipeline] } 21:42:20 $ docker stop --time=1 20e67e485184a1645b29f54438735b3bdffa1a83bac23ee03795766204c2e8db 21:42:21 $ docker rm -f 20e67e485184a1645b29f54438735b3bdffa1a83bac23ee03795766204c2e8db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 21:42:21 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:42:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:21 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 21:42:21 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 21:42:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3684/head:refs/remotes/origin/PR-3684 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:42:22 Failed in branch amd64 21:42:22 Merging remotes/origin/main commit e89d87e1b047cca713fa4fd161d0eba79eaf23fa into PR head commit e47532af24d42593ab4ea58449654d50d922eefd 21:42:23 Merge succeeded, producing e47532af24d42593ab4ea58449654d50d922eefd 21:42:23 Checking out Revision e47532af24d42593ab4ea58449654d50d922eefd (PR-3684) 21:42:22 > git config core.sparsecheckout # timeout=10 21:42:22 > git checkout -f e47532af24d42593ab4ea58449654d50d922eefd # timeout=10 21:42:22 > git remote # timeout=10 21:42:22 > git config --get remote.origin.url # timeout=10 21:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:23 > git merge e89d87e1b047cca713fa4fd161d0eba79eaf23fa # timeout=10 21:42:23 > git rev-parse HEAD^{commit} # timeout=10 21:42:23 > git config core.sparsecheckout # timeout=10 21:42:23 > git checkout -f e47532af24d42593ab4ea58449654d50d922eefd # timeout=10 21:42:27 Commit message: "build(snap): configure addtl app services" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:28 provisioning config files... 21:42:28 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8339950118285392448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:28 ---> docker-login.sh 21:42:28 nexus3.edgexfoundry.org:10001 21:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:30 Configure a credential helper to remove this warning. See 21:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:30 21:42:30 Login Succeeded 21:42:30 nexus3.edgexfoundry.org:10002 21:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:30 Configure a credential helper to remove this warning. See 21:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:30 21:42:30 Login Succeeded 21:42:30 nexus3.edgexfoundry.org:10003 21:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:31 Configure a credential helper to remove this warning. See 21:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:31 21:42:31 Login Succeeded 21:42:31 nexus3.edgexfoundry.org:10004 21:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:31 Configure a credential helper to remove this warning. See 21:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:31 21:42:31 Login Succeeded 21:42:31 docker.io 21:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:32 Configure a credential helper to remove this warning. See 21:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:32 21:42:32 Login Succeeded 21:42:32 ---> docker-login.sh ends [Pipeline] } 21:42:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:42:33 ========================================================= 21:42:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:42:33 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:42:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:42:33 595b0fe564bb: Pulling fs layer 21:42:33 24495759ef45: Pulling fs layer 21:42:33 d148012ef14d: Pulling fs layer 21:42:33 e90a11edd702: Pulling fs layer 21:42:33 d77568369979: Pulling fs layer 21:42:33 fc1c9f9a7f3b: Pulling fs layer 21:42:33 170f2ba95c9a: Pulling fs layer 21:42:33 97ac5df62f85: Pulling fs layer 21:42:33 d77568369979: Waiting 21:42:33 fc1c9f9a7f3b: Waiting 21:42:33 170f2ba95c9a: Waiting 21:42:33 97ac5df62f85: Waiting 21:42:33 e90a11edd702: Waiting 21:42:33 d148012ef14d: Verifying Checksum 21:42:33 d148012ef14d: Download complete 21:42:34 24495759ef45: Verifying Checksum 21:42:34 24495759ef45: Download complete 21:42:34 d77568369979: Verifying Checksum 21:42:34 d77568369979: Download complete 21:42:34 595b0fe564bb: Verifying Checksum 21:42:34 fc1c9f9a7f3b: Verifying Checksum 21:42:34 fc1c9f9a7f3b: Download complete 21:42:34 170f2ba95c9a: Download complete 21:42:34 595b0fe564bb: Pull complete 21:42:35 24495759ef45: Pull complete 21:42:36 d148012ef14d: Pull complete 21:42:38 97ac5df62f85: Verifying Checksum 21:42:38 97ac5df62f85: Download complete 21:42:38 e90a11edd702: Verifying Checksum 21:42:38 e90a11edd702: Download complete 21:42:48 e90a11edd702: Pull complete 21:42:48 d77568369979: Pull complete 21:42:48 fc1c9f9a7f3b: Pull complete 21:42:49 170f2ba95c9a: Pull complete 21:42:55 97ac5df62f85: Pull complete 21:42:55 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 21:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:42:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 21:42:56 + + echodocker build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:42:56 WORKDIR /edgex 21:42:56 COPY go.mod . 21:42:56 RUN go mod download -t ci-base-image-arm64 -f - . 21:42:56 21:42:58 Sending build context to Docker daemon 166MB 21:42:58 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:42:58 ---> 04bc70af865f 21:42:58 Step 2/4 : WORKDIR /edgex 21:43:02 ---> Running in abbdec4d8351 21:43:02 Removing intermediate container abbdec4d8351 21:43:02 ---> 8ebf88f5dda3 21:43:02 Step 3/4 : COPY go.mod . 21:43:03 ---> b4e9ba4d92cf 21:43:03 Step 4/4 : RUN go mod download 21:43:03 ---> Running in 445b465ecea9 21:44:40 Removing intermediate container 445b465ecea9 21:44:40 ---> 8fb5e7919bfc 21:44:40 Successfully built 8fb5e7919bfc 21:44:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:44:41 + docker inspect -f . ci-base-image-arm64 21:44:41 . [Pipeline] withDockerContainer 21:44:41 prd-ubuntu18.04-docker-arm64-4c-16g-867 does not seem to be running inside a container 21:44:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-arm64 cat 21:44:43 $ docker top c9c8293e551fac8132d0a1ee688ddb153f22fc72c347a57e4f2784b962f58e50 -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:44 + go version 21:44:44 go version go1.16.6 linux/arm64 [Pipeline] } 21:44:44 $ docker stop --time=1 c9c8293e551fac8132d0a1ee688ddb153f22fc72c347a57e4f2784b962f58e50 21:44:46 $ docker rm -f c9c8293e551fac8132d0a1ee688ddb153f22fc72c347a57e4f2784b962f58e50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:44:46 + docker inspect -f . ci-base-image-arm64 21:44:46 . [Pipeline] withDockerContainer 21:44:47 prd-ubuntu18.04-docker-arm64-4c-16g-867 does not seem to be running inside a container 21:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** ci-base-image-arm64 cat 21:44:48 $ docker top 26ed29d385ab8c84c3dae31fb5cfd50cbf75b07ad17f6b805ff94a01d8a2e01e -eo pid,comm [Pipeline] { [Pipeline] echo 21:44:49 ========================================================= 21:44:49 [edgeXBuildGoParallel] Running Tests and Build... 21:44:49 ========================================================= [Pipeline] fileExists [Pipeline] sh 21:44:49 + go mod tidy [Pipeline] sh 21:44:51 + make test 21:44:51 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 21:44:51 go mod tidy 21:44:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:45:18 ? github.com/edgexfoundry/edgex-go [no test files] 21:46:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 21:46:17 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 21:46:17 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 21:46:18 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 21:46:31 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 21:46:32 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 21:46:32 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 21:46:32 ? github.com/edgexfoundry/edgex-go/internal [no test files] 21:46:32 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 21:46:38 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.180s coverage: 28.7% of statements 21:46:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 21:46:38 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 21:46:43 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.286s coverage: 100.0% of statements 21:46:43 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 21:46:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.336s coverage: 46.3% of statements 21:46:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 21:46:43 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 21:46:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.565s coverage: 90.1% of statements 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 21:46:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.370s coverage: 81.2% of statements 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 21:46:47 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 21:46:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.408s coverage: 94.2% of statements 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 21:46:52 ok github.com/edgexfoundry/edgex-go/internal/io 0.215s coverage: 59.1% of statements 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 21:46:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.240s coverage: 60.0% of statements 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 21:46:52 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 21:46:53 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.293s coverage: 0.8% of statements 21:46:53 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 21:46:53 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.231s coverage: 58.8% of statements 21:46:53 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.168s coverage: 21.7% of statements 21:46:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 21:46:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.269s coverage: 47.1% of statements 21:46:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.231s coverage: 79.5% of statements 21:46:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.161s coverage: 94.1% of statements 21:46:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.221s coverage: 96.3% of statements 21:46:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.306s coverage: 87.5% of statements 21:47:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.238s coverage: 94.4% of statements 21:47:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.164s coverage: 44.8% of statements 21:47:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.538s coverage: 81.8% of statements 21:47:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.237s coverage: 92.9% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.196s coverage: 87.2% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.151s coverage: 100.0% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.185s coverage: 58.8% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.177s coverage: 80.0% of statements 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.265s coverage: 87.2% of statements 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.317s coverage: 85.4% of statements 21:47:21 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.267s coverage: 91.2% of statements 21:47:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 21:47:22 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.790s coverage: 64.4% of statements 21:47:22 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 21:47:22 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 21:47:22 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.165s coverage: 100.0% of statements 21:47:22 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.105s coverage: 91.3% of statements 21:47:22 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.051s coverage: 100.0% of statements 21:47:22 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.067s coverage: 73.7% of statements 21:47:23 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.055s coverage: 100.0% of statements 21:47:28 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.060s coverage: 66.9% of statements 21:47:28 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 21:47:28 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 21:47:28 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 21:47:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.762s coverage: 43.6% of statements 21:47:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 21:47:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 21:47:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.239s coverage: 89.5% of statements 21:47:30 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 21:47:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.287s coverage: 84.8% of statements 21:47:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.237s coverage: 19.5% of statements 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.494s coverage: 92.0% of statements 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.266s coverage: 62.7% of statements 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.384s coverage: 97.7% of statements 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.176s coverage: 28.9% of statements 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 21:47:38 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.183s coverage: 100.0% of statements 21:47:38 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.074s coverage: 95.4% of statements 21:47:38 GO111MODULE=on go vet ./... 21:49:01 gofmt -l . 21:49:01 snap/local/hooks/cmd/install/install.go 21:49:01 [ "`gofmt -l .`" = "" ] 21:49:01 make: *** [Makefile:104: test] Error 1 [Pipeline] } 21:49:01 $ docker stop --time=1 26ed29d385ab8c84c3dae31fb5cfd50cbf75b07ad17f6b805ff94a01d8a2e01e 21:49:03 $ docker rm -f 26ed29d385ab8c84c3dae31fb5cfd50cbf75b07ad17f6b805ff94a01d8a2e01e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:49:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:05 21:49:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:49:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:06 arm64: Pulling from edgex-lftools-log-publisher 21:49:06 448f6bf000e3: Pulling fs layer 21:49:06 f757da607395: Pulling fs layer 21:49:06 05883995daec: Pulling fs layer 21:49:06 8603b9c90790: Pulling fs layer 21:49:06 1560dd03e051: Pulling fs layer 21:49:06 27f5ce0e4adf: Pulling fs layer 21:49:06 c2d8d7efcc4b: Pulling fs layer 21:49:06 27f5ce0e4adf: Waiting 21:49:06 8603b9c90790: Waiting 21:49:06 1560dd03e051: Waiting 21:49:06 c2d8d7efcc4b: Waiting 21:49:06 f757da607395: Verifying Checksum 21:49:06 f757da607395: Download complete 21:49:06 8603b9c90790: Verifying Checksum 21:49:06 8603b9c90790: Download complete 21:49:06 1560dd03e051: Verifying Checksum 21:49:06 1560dd03e051: Download complete 21:49:06 27f5ce0e4adf: Download complete 21:49:07 05883995daec: Verifying Checksum 21:49:07 05883995daec: Download complete 21:49:07 448f6bf000e3: Verifying Checksum 21:49:07 448f6bf000e3: Download complete 21:49:11 c2d8d7efcc4b: Verifying Checksum 21:49:11 c2d8d7efcc4b: Download complete 21:49:11 448f6bf000e3: Pull complete 21:49:12 f757da607395: Pull complete 21:49:13 05883995daec: Pull complete 21:49:14 8603b9c90790: Pull complete 21:49:15 1560dd03e051: Pull complete 21:49:15 27f5ce0e4adf: Pull complete 21:49:30 c2d8d7efcc4b: Pull complete 21:49:30 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:49:30 prd-ubuntu18.04-docker-arm64-4c-16g-867 does not seem to be running inside a container 21:49:30 $ 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/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:49:34 $ docker top 0d95017636e4574dc0e5b746a6a40f9a63ff902ef50bd8787a4d5434ddccea3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:35 ---> job-cost.sh 21:49:35 lf-activate-venv: SKIPPING 21:49:35 INFO: No Stack... 21:49:36 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:36 INFO: Archiving Costs [Pipeline] sh 21:49:37 + cut -d, -f6+ cat /w/workspace/edgex-go/2/archives/cost.csv 21:49:37 [Pipeline] lock 21:49:37 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3684-2-stack-cost] 21:49:37 Resource [jenkins-edgexfoundry-edgex-go-PR-3684-2-stack-cost] did not exist. Created. 21:49:37 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3684-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:38 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:39 Stashed 1 file(s) [Pipeline] } 21:49:39 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3684-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:39 $ docker stop --time=1 0d95017636e4574dc0e5b746a6a40f9a63ff902ef50bd8787a4d5434ddccea3f 21:49:40 $ docker rm -f 0d95017636e4574dc0e5b746a6a40f9a63ff902ef50bd8787a4d5434ddccea3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:49:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:49:42 + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:49:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:43 ---> package-listing.sh 21:49:43 ++ facter osfamily 21:49:43 ++ tr '[:upper:]' '[:lower:]' 21:49:43 + OS_FAMILY=redhat 21:49:43 + workspace=/w/workspace/edgex-go/2 21:49:43 + START_PACKAGES=/tmp/packages_start.txt 21:49:43 + END_PACKAGES=/tmp/packages_end.txt 21:49:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:43 + PACKAGES=/tmp/packages_start.txt 21:49:43 + '[' /w/workspace/edgex-go/2 ']' 21:49:43 + PACKAGES=/tmp/packages_end.txt 21:49:43 + case "${OS_FAMILY}" in 21:49:43 + sort 21:49:43 + rpm -qa 21:49:44 + '[' -f /tmp/packages_start.txt ']' 21:49:44 + '[' -f /tmp/packages_end.txt ']' 21:49:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:44 + '[' /w/workspace/edgex-go/2 ']' 21:49:44 + mkdir -p /w/workspace/edgex-go/2/archives/ 21:49:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 21:49:44 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:49:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:45 21:49:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:49:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:45 latest: Pulling from edgex-lftools-log-publisher 21:49:45 b4d181a07f80: Pulling fs layer 21:49:45 a1111a8f2ec3: Pulling fs layer 21:49:45 ed53099fbce6: Pulling fs layer 21:49:45 dc539afda2c1: Pulling fs layer 21:49:45 77bc0d833cb6: Pulling fs layer 21:49:45 9065ff56babe: Pulling fs layer 21:49:45 d287ab97295c: Pulling fs layer 21:49:45 dc539afda2c1: Waiting 21:49:45 77bc0d833cb6: Waiting 21:49:45 9065ff56babe: Waiting 21:49:45 d287ab97295c: Waiting 21:49:45 a1111a8f2ec3: Verifying Checksum 21:49:45 a1111a8f2ec3: Download complete 21:49:45 dc539afda2c1: Verifying Checksum 21:49:45 dc539afda2c1: Download complete 21:49:45 77bc0d833cb6: Verifying Checksum 21:49:45 77bc0d833cb6: Download complete 21:49:45 9065ff56babe: Verifying Checksum 21:49:45 9065ff56babe: Download complete 21:49:46 ed53099fbce6: Verifying Checksum 21:49:46 ed53099fbce6: Download complete 21:49:47 b4d181a07f80: Verifying Checksum 21:49:47 b4d181a07f80: Download complete 21:49:48 b4d181a07f80: Pull complete 21:49:48 a1111a8f2ec3: Pull complete 21:49:48 ed53099fbce6: Pull complete 21:49:48 dc539afda2c1: Pull complete 21:49:49 77bc0d833cb6: Pull complete 21:49:49 9065ff56babe: Pull complete 21:49:50 d287ab97295c: Verifying Checksum 21:49:50 d287ab97295c: Download complete 21:49:54 d287ab97295c: Pull complete 21:49:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:49:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:49:55 prd-centos7-docker-4c-2g-866 does not seem to be running inside a container 21:49:55 $ 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:57 $ docker top b0ed26109d540cb48e920c7aa72890737e33283499d6522a05e879c4a9e87fdd -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:57 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:58 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:58 + ls /var/log/sa-host 21:49:58 + sadf -c /var/log/sa-host/sa05 21:49:58 file_magic: OK 21:49:58 HZ: Using current value: 100 21:49:58 file_header: OK 21:49:58 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 21:49:58 Statistics: 21:49:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:49:58 File successfully converted to sysstat format version 12.0.3 21:49:58 + sadf -c /var/log/sa-host/sa26 21:49:58 file_magic: OK 21:49:58 HZ: Using current value: 100 21:49:58 file_header: OK 21:49:58 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 21:49:58 Statistics: 21:49:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:49:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:58 provisioning config files... 21:49:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config8740563444659900377tmp [Pipeline] { [Pipeline] echo 21:49:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:58 ---> create-netrc.sh [Pipeline] } 21:49:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:59 ---> python-tools-install.sh [Pipeline] echo 21:49:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:59 ---> sudo-logs.sh 21:49:59 Archiving 'sudo' log.. 21:49:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-866.vexxhost.local: Name or service not known 21:49:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-866.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 21:49:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:50:00 ---> job-cost.sh 21:50:00 lf-activate-venv: SKIPPING 21:50:00 DEBUG: total: 0.10999999940395355 21:50:00 INFO: Retrieving Stack Cost... 21:50:01 INFO: Retrieving Pricing Info for: v3-standard-2 21:50:01 INFO: Archiving Costs [Pipeline] echo 21:50:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:50:01 ---> logs-deploy.sh 21:50:01 lf-activate-venv: SKIPPING 21:50:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3684/2 21:50:01 INFO: archiving workspace using pattern(s): 21:50:02 Archives upload complete. 21:50:02 INFO: archiving logs to Nexus 21:50:03 ---> uname -a: 21:50:03 Linux prd-centos7-docker-4c-2g-866.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 21:50:03 21:50:03 21:50:03 ---> lscpu: 21:50:03 Architecture: x86_64 21:50:03 CPU op-mode(s): 32-bit, 64-bit 21:50:03 Byte Order: Little Endian 21:50:03 Address sizes: 40 bits physical, 48 bits virtual 21:50:03 CPU(s): 2 21:50:03 On-line CPU(s) list: 0,1 21:50:03 Thread(s) per core: 1 21:50:03 Core(s) per socket: 1 21:50:03 Socket(s): 2 21:50:03 NUMA node(s): 1 21:50:03 Vendor ID: AuthenticAMD 21:50:03 CPU family: 23 21:50:03 Model: 49 21:50:03 Model name: AMD EPYC-Rome Processor 21:50:03 Stepping: 0 21:50:03 CPU MHz: 2799.998 21:50:03 BogoMIPS: 5599.99 21:50:03 Virtualization: AMD-V 21:50:03 Hypervisor vendor: KVM 21:50:03 Virtualization type: full 21:50:03 L1d cache: 32K 21:50:03 L1i cache: 32K 21:50:03 L2 cache: 512K 21:50:03 L3 cache: 16384K 21:50:03 NUMA node0 CPU(s): 0,1 21:50:03 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 21:50:03 21:50:03 21:50:03 ---> nproc: 21:50:03 2 21:50:03 21:50:03 21:50:03 ---> df -h: 21:50:03 Filesystem Size Used Avail Use% Mounted on 21:50:03 overlay 40G 9.3G 31G 24% / 21:50:03 tmpfs 64M 0 64M 0% /dev 21:50:03 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:50:03 shm 64M 0 64M 0% /dev/shm 21:50:03 /dev/vda1 40G 9.3G 31G 24% /facter-os 21:50:03 21:50:03 21:50:03 ---> sar -b -r -n DEV: 21:50:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/26/21 _x86_64_ (2 CPU) 21:50:03 21:50:03 21:38:19 LINUX RESTART (2 CPU) 21:50:03 21:50:03 21:39:02 tps rtps wtps bread/s bwrtn/s 21:50:03 21:40:01 167.30 3.61 163.69 2644.13 45735.22 21:50:03 21:41:01 272.31 0.02 272.29 0.53 57332.78 21:50:03 21:42:01 56.20 0.00 56.20 0.00 10607.58 21:50:03 21:43:01 32.97 0.00 32.97 0.00 3218.22 21:50:03 21:44:01 1.08 0.00 1.08 0.00 12.46 21:50:03 21:45:01 0.33 0.00 0.33 0.00 4.68 21:50:03 21:46:01 0.22 0.00 0.22 0.00 2.57 21:50:03 21:47:01 0.18 0.00 0.18 0.00 2.30 21:50:03 21:48:01 0.32 0.00 0.32 0.00 3.36 21:50:03 21:49:01 0.22 0.00 0.22 0.00 2.43 21:50:03 Average: 52.93 0.36 52.58 260.49 11637.98 21:50:03 21:50:03 21:39:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:50:03 21:40:01 4093304 0 960676 12.00 2620 2952340 1698216 18.75 1051840 2369052 4624 21:50:03 21:41:01 3234344 0 1160528 14.49 2620 3611448 1727464 19.07 1309876 2825828 224916 21:50:03 21:42:01 3289332 0 1135368 14.18 2620 3581620 1576880 17.41 1202248 2869576 40200 21:50:03 21:43:01 3580788 0 1042816 13.02 2620 3382716 1253432 13.84 1164092 2647372 8 21:50:03 21:44:01 3586428 0 1037168 12.95 2620 3382724 1208200 13.34 1159772 2647376 8 21:50:03 21:45:01 3586564 0 1037032 12.95 2620 3382724 1208212 13.34 1150592 2656660 16 21:50:03 21:46:01 3586112 0 1037480 12.95 2620 3382728 1200992 13.26 1151856 2656660 8 21:50:03 21:47:01 3575908 0 1047672 13.08 2620 3382740 1220468 13.47 1161168 2656836 8 21:50:03 21:48:01 3577808 0 1045772 13.06 2620 3382740 1199236 13.24 1161476 2655108 8 21:50:03 21:49:01 3574776 0 1048796 13.10 2620 3382748 1206516 13.32 1164584 2655108 16 21:50:03 Average: 3568536 0 1055331 13.18 2620 3382453 1349962 14.90 1167750 2663958 26981 21:50:03 21:50:03 21:39:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:50:03 21:40:01 eth0 1471.40 1319.51 6494.54 139.16 0.00 0.00 0.00 0.00 21:50:03 21:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:40:01 veth6e40a93 76.85 98.53 7.31 63.64 0.00 0.00 0.00 0.00 21:50:03 21:40:01 docker0 904.96 861.86 75.02 2800.56 0.00 0.00 0.00 0.00 21:50:03 21:41:01 veth0ce697c 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 21:50:03 21:41:01 eth0 483.97 417.08 2029.51 89.62 0.00 0.00 0.00 0.00 21:50:03 21:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:41:01 docker0 393.01 438.69 30.20 1998.61 0.00 0.00 0.00 0.00 21:50:03 21:42:01 veth0ce697c 2.14 2.14 0.17 0.18 0.00 0.00 0.00 0.00 21:50:03 21:42:01 eth0 32.55 18.42 23.54 12.04 0.00 0.00 0.00 0.00 21:50:03 21:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:42:01 docker0 2.14 2.14 0.14 0.18 0.00 0.00 0.00 0.00 21:50:03 21:43:01 eth0 5.28 3.10 4.50 2.03 0.00 0.00 0.00 0.00 21:50:03 21:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:44:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 21:50:03 21:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:45:01 eth0 0.18 0.15 0.07 0.01 0.00 0.00 0.00 0.00 21:50:03 21:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:46:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:50:03 21:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:47:01 eth0 1.12 1.00 0.07 11.36 0.00 0.00 0.00 0.00 21:50:03 21:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:48:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:50:03 21:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:49:01 eth0 1.50 0.77 0.29 6.42 0.00 0.00 0.00 0.00 21:50:03 21:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 21:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 Average: eth0 197.53 174.14 845.88 25.89 0.00 0.00 0.00 0.00 21:50:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:50:03 Average: docker0 128.72 129.06 10.43 476.09 0.00 0.00 0.00 0.00 21:50:03 21:50:03 21:50:03 ---> sar -P ALL: 21:50:03 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/26/21 _x86_64_ (2 CPU) 21:50:03 21:50:03 21:38:19 LINUX RESTART (2 CPU) 21:50:03 21:50:03 21:39:02 CPU %user %nice %system %iowait %steal %idle 21:50:03 21:40:01 all 23.44 0.00 8.27 3.12 0.10 65.08 21:50:03 21:40:01 0 25.78 0.00 9.05 3.13 0.11 61.93 21:50:03 21:40:01 1 21.13 0.00 7.50 3.11 0.09 68.18 21:50:03 21:41:01 all 53.31 0.00 12.54 2.32 0.10 31.73 21:50:03 21:41:01 0 54.52 0.00 12.76 2.51 0.09 30.12 21:50:03 21:41:01 1 52.11 0.00 12.32 2.14 0.11 33.33 21:50:03 21:42:01 all 33.68 0.00 4.78 0.39 0.10 61.05 21:50:03 21:42:01 0 33.47 0.00 4.89 0.39 0.09 61.17 21:50:03 21:42:01 1 33.90 0.00 4.68 0.39 0.11 60.94 21:50:03 21:43:01 all 23.20 0.00 3.32 0.36 0.05 73.07 21:50:03 21:43:01 0 23.17 0.00 3.11 0.54 0.05 73.13 21:50:03 21:43:01 1 23.23 0.00 3.52 0.19 0.05 73.00 21:50:03 21:44:01 all 0.14 0.00 0.03 0.00 0.03 99.79 21:50:03 21:44:01 0 0.05 0.00 0.03 0.00 0.03 99.88 21:50:03 21:44:01 1 0.23 0.00 0.03 0.00 0.03 99.70 21:50:03 21:45:01 all 0.19 0.00 0.13 0.00 0.04 99.63 21:50:03 21:45:01 0 0.10 0.00 0.12 0.00 0.05 99.73 21:50:03 21:45:01 1 0.28 0.00 0.15 0.00 0.03 99.53 21:50:03 21:46:01 all 0.17 0.00 0.04 0.00 0.02 99.77 21:50:03 21:46:01 0 0.03 0.00 0.05 0.00 0.02 99.90 21:50:03 21:46:01 1 0.30 0.00 0.03 0.00 0.02 99.65 21:50:03 21:47:01 all 0.14 0.00 0.07 0.00 0.04 99.75 21:50:03 21:47:01 0 0.12 0.00 0.08 0.00 0.07 99.73 21:50:03 21:47:01 1 0.17 0.00 0.05 0.00 0.02 99.77 21:50:03 21:48:01 all 0.02 0.00 0.03 0.00 0.02 99.93 21:50:03 21:48:01 0 0.02 0.00 0.03 0.00 0.03 99.92 21:50:03 21:48:01 1 0.02 0.00 0.03 0.00 0.00 99.95 21:50:03 21:49:01 all 0.07 0.00 0.04 0.00 0.03 99.86 21:50:03 21:49:01 0 0.08 0.00 0.05 0.00 0.05 99.82 21:50:03 21:49:01 1 0.05 0.00 0.03 0.00 0.02 99.90 21:50:03 Average: all 12.85 0.00 2.78 0.58 0.05 83.73 21:50:03 Average: 0 13.12 0.00 2.86 0.62 0.06 83.34 21:50:03 Average: 1 12.59 0.00 2.70 0.55 0.05 84.11 21:50:03 21:50:03 21:50:03