Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at ac868777e331c26268a5ad6e9d5ebabff26c403f rather than f72980ee2e3b65de4e42a8ac343d76ba1da632ca Obtained Jenkinsfile from ac868777e331c26268a5ad6e9d5ebabff26c403f 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7266882968690979289.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4557080779438881015.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1216076617835997161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6338221932649014320.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-3577/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6290882054709839708.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_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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2366 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/9 [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/9 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/9@tmp/jenkins-gitclient-ssh2684361016332399800.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 ac868777e331c26268a5ad6e9d5ebabff26c403f into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca Merge succeeded, producing a00cb160a270fa71a20c597543d2aebabebd0947 Checking out Revision a00cb160a270fa71a20c597543d2aebabebd0947 (PR-3577) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/9@tmp/jenkins-gitclient-ssh1005509040465858599.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/9@tmp/jenkins-gitclient-ssh8609751849873198004.key > git merge ac868777e331c26268a5ad6e9d5ebabff26c403f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a00cb160a270fa71a20c597543d2aebabebd0947 # timeout=10 Commit message: "Merge commit 'ac868777e331c26268a5ad6e9d5ebabff26c403f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 669b9fcbb0b5354a0491d83ac05272a27da07e96 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-10T00:30:19.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-10T00:30:19.249Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-10T00:30:19.277Z] ========================================================= [2021-07-10T00:30:19.277Z] EdgeX Global Pipelines Version Info [2021-07-10T00:30:19.277Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:30:20.743Z] ------------------- [2021-07-10T00:30:20.743Z] stable info: [2021-07-10T00:30:20.743Z] ------------------- [2021-07-10T00:30:20.743Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-10T00:30:20.743Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-10T00:30:20.743Z] Message: update stable to v1.0.196 [2021-07-10T00:30:21.319Z] ------------------- [2021-07-10T00:30:21.319Z] experimental info: [2021-07-10T00:30:21.319Z] ------------------- [2021-07-10T00:30:21.319Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-10T00:30:21.319Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-10T00:30:21.319Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-10T00:30:21.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-07-10T00:30:21.485Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-07-10T00:30:21.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-10T00:30:21.530Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-10T00:30:21.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-10T00:30:21.576Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-10T00:30:21.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-10T00:30:21.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-07-10T00:30:21.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-07-10T00:30:21.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-07-10T00:30:21.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-10T00:30:21.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-10T00:30:21.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-10T00:30:21.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-10T00:30:21.783Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-10T00:30:21.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-10T00:30:21.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-10T00:30:21.857Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-10T00:30:21.882Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-10T00:30:21.913Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-10T00:30:21.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-10T00:30:21.971Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-10T00:30:22.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3577 [Pipeline] echo [2021-07-10T00:30:22.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3577 [Pipeline] echo [2021-07-10T00:30:22.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3577 [Pipeline] echo [2021-07-10T00:30:22.088Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a00cb160a270fa71a20c597543d2aebabebd0947 [Pipeline] echo [2021-07-10T00:30:22.118Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a00cb16 [Pipeline] echo [2021-07-10T00:30:22.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-10T00:30:22.252Z] provisioning config files... [2021-07-10T00:30:22.279Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config351211361636685218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:30:22.632Z] ---> docker-login.sh [2021-07-10T00:30:22.632Z] nexus3.edgexfoundry.org:10001 [2021-07-10T00:30:22.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:30:22.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:30:22.896Z] Configure a credential helper to remove this warning. See [2021-07-10T00:30:22.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:30:22.896Z] [2021-07-10T00:30:22.896Z] Login Succeeded [2021-07-10T00:30:22.896Z] nexus3.edgexfoundry.org:10002 [2021-07-10T00:30:22.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:30:23.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:30:23.167Z] Configure a credential helper to remove this warning. See [2021-07-10T00:30:23.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:30:23.167Z] [2021-07-10T00:30:23.167Z] Login Succeeded [2021-07-10T00:30:23.167Z] nexus3.edgexfoundry.org:10003 [2021-07-10T00:30:23.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:30:23.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:30:23.167Z] Configure a credential helper to remove this warning. See [2021-07-10T00:30:23.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:30:23.167Z] [2021-07-10T00:30:23.167Z] Login Succeeded [2021-07-10T00:30:23.167Z] nexus3.edgexfoundry.org:10004 [2021-07-10T00:30:23.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:30:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:30:23.431Z] Configure a credential helper to remove this warning. See [2021-07-10T00:30:23.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:30:23.431Z] [2021-07-10T00:30:23.431Z] Login Succeeded [2021-07-10T00:30:23.431Z] docker.io [2021-07-10T00:30:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:30:23.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:30:23.695Z] Configure a credential helper to remove this warning. See [2021-07-10T00:30:23.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:30:23.695Z] [2021-07-10T00:30:23.695Z] Login Succeeded [2021-07-10T00:30:23.695Z] ---> docker-login.sh ends [Pipeline] } [2021-07-10T00:30:23.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-10T00:30:24.036Z] ++ 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 [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/core-command/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo core-command,cmd/core-command/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/core-data/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo core-data,cmd/core-data/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/core-metadata/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/support-notifications/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.036Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-07-10T00:30:24.036Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.036Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-07-10T00:30:24.036Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.037Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-07-10T00:30:24.037Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-10T00:30:24.037Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-07-10T00:30:24.037Z] ++ cut -d/ -f2 [2021-07-10T00:30:24.037Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-07-10T00:30:24.078Z] 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 [2021-07-10T00:30:25.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-10T00:30:25.633Z] [2021-07-10T00:30:25.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:30:25.951Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-10T00:30:25.951Z] latest: Pulling from edgex-devops/git-semver [2021-07-10T00:30:25.951Z] 31603596830f: Pulling fs layer [2021-07-10T00:30:25.951Z] b6dc333f4379: Pulling fs layer [2021-07-10T00:30:25.951Z] 3d9ef1400e77: Pulling fs layer [2021-07-10T00:30:25.951Z] fd332fbdc1db: Pulling fs layer [2021-07-10T00:30:25.951Z] fd332fbdc1db: Waiting [2021-07-10T00:30:25.951Z] b6dc333f4379: Verifying Checksum [2021-07-10T00:30:25.951Z] b6dc333f4379: Download complete [2021-07-10T00:30:26.214Z] 31603596830f: Verifying Checksum [2021-07-10T00:30:26.214Z] 31603596830f: Download complete [2021-07-10T00:30:26.214Z] fd332fbdc1db: Verifying Checksum [2021-07-10T00:30:26.214Z] fd332fbdc1db: Download complete [2021-07-10T00:30:26.214Z] 3d9ef1400e77: Verifying Checksum [2021-07-10T00:30:26.214Z] 3d9ef1400e77: Download complete [2021-07-10T00:30:26.214Z] 31603596830f: Pull complete [2021-07-10T00:30:26.475Z] b6dc333f4379: Pull complete [2021-07-10T00:30:27.055Z] 3d9ef1400e77: Pull complete [2021-07-10T00:30:27.317Z] fd332fbdc1db: Pull complete [2021-07-10T00:30:27.317Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-10T00:30:27.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-10T00:30:27.317Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-10T00:30:27.400Z] prd-centos7-docker-4c-2g-2366 does not seem to be running inside a container [2021-07-10T00:30:27.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-10T00:30:28.373Z] $ docker top d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-10T00:30:28.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-10T00:30:28.505Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-10T00:30:28.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-10T00:30:28.620Z] $ docker exec d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b ssh-agent [2021-07-10T00:30:28.736Z] SSH_AUTH_SOCK=/tmp/ssh-i3nYy9aJjM3g/agent.14 [2021-07-10T00:30:28.736Z] SSH_AGENT_PID=21 [2021-07-10T00:30:28.745Z] Running ssh-add (command line suppressed) [2021-07-10T00:30:28.837Z] Identity added: /w/workspace/edgex-go/9@tmp/private_key_9057685058960597754.key (/w/workspace/edgex-go/9@tmp/private_key_9057685058960597754.key) [2021-07-10T00:30:28.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-10T00:30:29.158Z] + git tag --points-at HEAD [Pipeline] } [2021-07-10T00:30:29.168Z] $ docker exec --env ******** --env ******** d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b ssh-agent -k [2021-07-10T00:30:29.260Z] unset SSH_AUTH_SOCK; [2021-07-10T00:30:29.261Z] unset SSH_AGENT_PID; [2021-07-10T00:30:29.261Z] echo Agent pid 21 killed; [2021-07-10T00:30:29.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-10T00:30:29.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-10T00:30:29.314Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-10T00:30:29.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-10T00:30:29.426Z] $ docker exec d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b ssh-agent [2021-07-10T00:30:29.543Z] SSH_AUTH_SOCK=/tmp/ssh-RgbxAiuIeV01/agent.54 [2021-07-10T00:30:29.543Z] SSH_AGENT_PID=61 [2021-07-10T00:30:29.548Z] Running ssh-add (command line suppressed) [2021-07-10T00:30:29.637Z] Identity added: /w/workspace/edgex-go/9@tmp/private_key_5498354380803675803.key (/w/workspace/edgex-go/9@tmp/private_key_5498354380803675803.key) [2021-07-10T00:30:29.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-10T00:30:29.960Z] + git semver init [2021-07-10T00:30:29.960Z] # -> Open(): unable to determine branch for HEAD [2021-07-10T00:30:29.960Z] # $GIT_DIR = /w/workspace/edgex-go/9/.git [2021-07-10T00:30:29.960Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/9 [2021-07-10T00:30:29.960Z] # $SEMVER_REMOTE_NAME = origin [2021-07-10T00:30:29.960Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-10T00:30:29.960Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-10T00:30:29.960Z] # $SEMVER_BRANCH = PR-3577 [2021-07-10T00:30:29.960Z] # $SEMVER_TEMP = /tmp/semver-820202697 [2021-07-10T00:30:29.960Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-07-10T00:30:44.915Z] # '/tmp/semver-820202697' -> '/w/workspace/edgex-go/9/.semver' [2021-07-10T00:30:44.915Z] # -> Force: false [2021-07-10T00:30:44.915Z] # $SEMVER_DIR = /w/workspace/edgex-go/9/.semver [Pipeline] } [2021-07-10T00:30:44.923Z] $ docker exec --env ******** --env ******** d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b ssh-agent -k [2021-07-10T00:30:45.017Z] unset SSH_AUTH_SOCK; [2021-07-10T00:30:45.018Z] unset SSH_AGENT_PID; [2021-07-10T00:30:45.018Z] echo Agent pid 61 killed; [2021-07-10T00:30:45.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-10T00:30:45.364Z] + git semver [Pipeline] } [2021-07-10T00:30:45.382Z] $ docker stop --time=1 d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b [2021-07-10T00:30:48.473Z] $ docker rm -f d21cb75f5c34fbb44a3bfa8a76667096981a4cd50c68910adaefd0e98b108d1b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-10T00:30:48.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-10T00:30:49.137Z] Stashed 1 file(s) [Pipeline] echo [2021-07-10T00:30:49.143Z] [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] sh [2021-07-10T00:30:49.772Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-10T00:30:50.070Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-10T00:30:50.368Z] + sudo service docker restart [2021-07-10T00:30:50.368Z] + true [2021-07-10T00:30:50.368Z] Redirecting to /bin/systemctl restart docker.service [2021-07-10T00:31:04.400Z] Still waiting to schedule task [2021-07-10T00:31:04.401Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [Pipeline] echo [2021-07-10T00:31:08.531Z] ========================================================= [2021-07-10T00:31:08.531Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-10T00:31:08.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:31:08.844Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-10T00:31:10.240Z] Sending build context to Docker daemon 328.4MB [2021-07-10T00:31:10.240Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-10T00:31:10.240Z] Step 2/6 : FROM ${BASE} [2021-07-10T00:31:10.240Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-10T00:31:10.240Z] 540db60ca938: Pulling fs layer [2021-07-10T00:31:10.240Z] adcc1eea9eea: Pulling fs layer [2021-07-10T00:31:10.240Z] 4c4ab2625f07: Pulling fs layer [2021-07-10T00:31:10.240Z] 0773c198feca: Pulling fs layer [2021-07-10T00:31:10.240Z] 345f892a5656: Pulling fs layer [2021-07-10T00:31:10.240Z] 9ac62484cfdc: Pulling fs layer [2021-07-10T00:31:10.240Z] 5ac4037533be: Pulling fs layer [2021-07-10T00:31:10.240Z] dc6bda0758c5: Pulling fs layer [2021-07-10T00:31:10.240Z] 345f892a5656: Waiting [2021-07-10T00:31:10.240Z] 9ac62484cfdc: Waiting [2021-07-10T00:31:10.240Z] 5ac4037533be: Waiting [2021-07-10T00:31:10.240Z] dc6bda0758c5: Waiting [2021-07-10T00:31:10.240Z] 0773c198feca: Waiting [2021-07-10T00:31:10.240Z] 4c4ab2625f07: Verifying Checksum [2021-07-10T00:31:10.240Z] 4c4ab2625f07: Download complete [2021-07-10T00:31:10.240Z] adcc1eea9eea: Verifying Checksum [2021-07-10T00:31:10.240Z] adcc1eea9eea: Download complete [2021-07-10T00:31:10.240Z] 345f892a5656: Verifying Checksum [2021-07-10T00:31:10.240Z] 345f892a5656: Download complete [2021-07-10T00:31:10.240Z] 540db60ca938: Verifying Checksum [2021-07-10T00:31:10.240Z] 540db60ca938: Download complete [2021-07-10T00:31:10.500Z] 9ac62484cfdc: Verifying Checksum [2021-07-10T00:31:10.500Z] 9ac62484cfdc: Download complete [2021-07-10T00:31:10.500Z] 540db60ca938: Pull complete [2021-07-10T00:31:10.500Z] 5ac4037533be: Verifying Checksum [2021-07-10T00:31:10.500Z] 5ac4037533be: Download complete [2021-07-10T00:31:10.761Z] adcc1eea9eea: Pull complete [2021-07-10T00:31:10.761Z] 4c4ab2625f07: Pull complete [2021-07-10T00:31:12.145Z] dc6bda0758c5: Verifying Checksum [2021-07-10T00:31:12.145Z] dc6bda0758c5: Download complete [2021-07-10T00:31:12.719Z] 0773c198feca: Verifying Checksum [2021-07-10T00:31:12.719Z] 0773c198feca: Download complete [2021-07-10T00:31:16.034Z] 0773c198feca: Pull complete [2021-07-10T00:31:16.034Z] 345f892a5656: Pull complete [2021-07-10T00:31:16.034Z] 9ac62484cfdc: Pull complete [2021-07-10T00:31:16.034Z] 5ac4037533be: Pull complete [2021-07-10T00:31:18.605Z] dc6bda0758c5: Pull complete [2021-07-10T00:31:18.605Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-10T00:31:18.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-10T00:31:18.606Z] ---> eb58bd16d52e [2021-07-10T00:31:18.606Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-07-10T00:31:19.991Z] ---> Running in e04b221266e3 [2021-07-10T00:31:20.253Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-10T00:31:21.201Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-10T00:31:21.774Z] (1/12) Installing libmagic (5.39-r0) [2021-07-10T00:31:22.350Z] (2/12) Installing file (5.39-r0) [2021-07-10T00:31:22.350Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-10T00:31:22.612Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-10T00:31:25.915Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-10T00:31:26.177Z] (6/12) Installing patch (2.7.6-r7) [2021-07-10T00:31:26.177Z] (7/12) Installing build-base (0.5-r2) [2021-07-10T00:31:26.177Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-10T00:31:26.437Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-10T00:31:26.437Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-10T00:31:26.437Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-10T00:31:26.698Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-10T00:31:26.698Z] Executing busybox-1.32.1-r6.trigger [2021-07-10T00:31:26.698Z] OK: 219 MiB in 52 packages [2021-07-10T00:31:28.624Z] Removing intermediate container e04b221266e3 [2021-07-10T00:31:28.624Z] ---> 7b8b54f04fc7 [2021-07-10T00:31:28.624Z] Step 4/6 : WORKDIR /edgex-go [2021-07-10T00:31:28.624Z] ---> Running in 85864b40e884 [2021-07-10T00:31:28.624Z] Removing intermediate container 85864b40e884 [2021-07-10T00:31:28.624Z] ---> 29d7b842fce4 [2021-07-10T00:31:28.624Z] Step 5/6 : COPY go.mod . [2021-07-10T00:31:28.624Z] ---> fae8e63f521a [2021-07-10T00:31:28.624Z] Step 6/6 : RUN go mod download [2021-07-10T00:31:28.624Z] ---> Running in 3e8c0114c3aa [2021-07-10T00:31:43.553Z] Removing intermediate container 3e8c0114c3aa [2021-07-10T00:31:43.553Z] ---> 0600be15d1e6 [2021-07-10T00:31:43.553Z] Successfully built 0600be15d1e6 [2021-07-10T00:31:43.553Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:31:43.858Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-10T00:31:43.858Z] . [Pipeline] withDockerContainer [2021-07-10T00:31:43.934Z] prd-centos7-docker-4c-2g-2366 does not seem to be running inside a container [2021-07-10T00:31:43.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-10T00:31:44.342Z] $ docker top ac3d79a2a7517bf57977923f8905e126f7af72cf67348eb5ed95c0982ee73cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-10T00:31:44.744Z] + go version [2021-07-10T00:31:44.744Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-10T00:31:44.753Z] $ docker stop --time=1 ac3d79a2a7517bf57977923f8905e126f7af72cf67348eb5ed95c0982ee73cc6 [2021-07-10T00:31:45.929Z] $ docker rm -f ac3d79a2a7517bf57977923f8905e126f7af72cf67348eb5ed95c0982ee73cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:31:46.456Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-10T00:31:46.456Z] . [Pipeline] withDockerContainer [2021-07-10T00:31:46.525Z] prd-centos7-docker-4c-2g-2366 does not seem to be running inside a container [2021-07-10T00:31:46.566Z] $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-10T00:31:46.886Z] $ docker top 67e3ecc23a9d3ea9b8083145960111fc72062eb066cc10723db3ac5d6d4777c2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-10T00:31:47.015Z] ========================================================= [2021-07-10T00:31:47.015Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-10T00:31:47.015Z] ========================================================= [Pipeline] sh [2021-07-10T00:31:47.310Z] + go mod tidy [Pipeline] sh [2021-07-10T00:31:47.895Z] + make test [2021-07-10T00:31:47.895Z] 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 [2021-07-10T00:31:48.160Z] go mod tidy [2021-07-10T00:31:48.160Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-10T00:31:53.526Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-10T00:32:08.776Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-10T00:32:13.027Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-10T00:32:13.027Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-10T00:32:21.216Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.039s coverage: 28.7% of statements [2021-07-10T00:32:21.793Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.057s coverage: 100.0% of statements [2021-07-10T00:32:21.793Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-10T00:32:21.793Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-10T00:32:21.793Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.073s coverage: 50.5% of statements [2021-07-10T00:32:21.793Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-10T00:32:22.369Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.044s coverage: 78.9% of statements [2021-07-10T00:32:23.782Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.049s coverage: 81.2% of statements [2021-07-10T00:32:24.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.286s coverage: 95.1% of statements [2021-07-10T00:32:24.046Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.043s coverage: 60.0% of statements [2021-07-10T00:32:25.444Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.043s coverage: 0.8% of statements [2021-07-10T00:32:25.444Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.064s coverage: 58.8% of statements [2021-07-10T00:32:25.444Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.047s coverage: 22.0% of statements [2021-07-10T00:32:25.444Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.049s coverage: 47.1% of statements [2021-07-10T00:32:25.444Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.049s coverage: 79.5% of statements [2021-07-10T00:32:25.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.044s coverage: 94.1% of statements [2021-07-10T00:32:25.968Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements [2021-07-10T00:32:26.228Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.054s coverage: 87.5% of statements [2021-07-10T00:32:38.470Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.048s coverage: 94.4% of statements [2021-07-10T00:32:38.470Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2021-07-10T00:32:42.677Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.193s coverage: 81.8% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.074s coverage: 92.9% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.052s coverage: 87.2% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.052s coverage: 100.0% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.053s coverage: 58.8% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.053s coverage: 80.0% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.055s coverage: 85.4% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.077s coverage: 91.2% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.136s coverage: 64.4% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 91.3% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.021s coverage: 100.0% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.031s coverage: 100.0% of statements [2021-07-10T00:33:00.821Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.172s coverage: 66.9% of statements [2021-07-10T00:33:01.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.113s coverage: 43.6% of statements [2021-07-10T00:33:01.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.053s coverage: 89.5% of statements [2021-07-10T00:33:01.664Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.048s coverage: 84.8% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.062s coverage: 19.3% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.128s coverage: 91.9% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 62.7% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.6% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.049s coverage: 28.9% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements [2021-07-10T00:33:09.840Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements [2021-07-10T00:33:09.840Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-07-10T00:33:09.854Z] $ docker stop --time=1 67e3ecc23a9d3ea9b8083145960111fc72062eb066cc10723db3ac5d6d4777c2 [2021-07-10T00:33:11.209Z] $ docker rm -f 67e3ecc23a9d3ea9b8083145960111fc72062eb066cc10723db3ac5d6d4777c2 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-10T00:33:11.933Z] Failed in branch amd64 [2021-07-10T00:34:45.174Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2369 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws [2021-07-10T00:34:45.215Z] Running in /w/workspace/edgex-go/9 [Pipeline] { [Pipeline] checkout [2021-07-10T00:34:45.534Z] The recommended git tool is: git [2021-07-10T00:34:51.024Z] using credential edgex-jenkins-ssh [2021-07-10T00:34:51.055Z] Cloning the remote Git repository [2021-07-10T00:34:51.106Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-07-10T00:34:51.240Z] > git init /w/workspace/edgex-go/9 # timeout=10 [2021-07-10T00:34:51.325Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-10T00:34:51.326Z] > git --version # timeout=10 [2021-07-10T00:34:51.342Z] > git --version # 'git version 2.17.1' [2021-07-10T00:34:51.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-10T00:34:51.439Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-10T00:35:09.330Z] Merging remotes/origin/main commit ac868777e331c26268a5ad6e9d5ebabff26c403f into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca [2021-07-10T00:35:08.451Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-10T00:35:08.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-10T00:35:08.500Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-10T00:35:08.553Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-10T00:35:08.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-10T00:35:08.571Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-10T00:35:09.343Z] > git config core.sparsecheckout # timeout=10 [2021-07-10T00:35:09.370Z] > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 [2021-07-10T00:35:09.604Z] > git remote # timeout=10 [2021-07-10T00:35:09.623Z] > git config --get remote.origin.url # timeout=10 [2021-07-10T00:35:09.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-10T00:35:09.653Z] > git merge ac868777e331c26268a5ad6e9d5ebabff26c403f # timeout=10 [2021-07-10T00:35:10.000Z] Merge succeeded, producing 96cc2a34c2f8f4f5af6484dc0fc8dc59b02262ac [2021-07-10T00:35:10.001Z] Checking out Revision 96cc2a34c2f8f4f5af6484dc0fc8dc59b02262ac (PR-3577) [2021-07-10T00:35:09.973Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-10T00:35:10.002Z] > git config core.sparsecheckout # timeout=10 [2021-07-10T00:35:10.025Z] > git checkout -f 96cc2a34c2f8f4f5af6484dc0fc8dc59b02262ac # timeout=10 [2021-07-10T00:35:14.596Z] Commit message: "Merge commit 'ac868777e331c26268a5ad6e9d5ebabff26c403f' into HEAD" [2021-07-10T00:35:14.623Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-10T00:35:16.080Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-10T00:35:16.483Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-10T00:35:14.598Z] > git rev-list --no-walk 669b9fcbb0b5354a0491d83ac05272a27da07e96 # timeout=10 [2021-07-10T00:35:16.832Z] + true [2021-07-10T00:35:16.832Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-10T00:35:35.233Z] provisioning config files... [2021-07-10T00:35:35.263Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config7238186741657142024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:35:35.638Z] ---> docker-login.sh [2021-07-10T00:35:35.638Z] nexus3.edgexfoundry.org:10001 [2021-07-10T00:35:36.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:35:36.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:35:36.920Z] Configure a credential helper to remove this warning. See [2021-07-10T00:35:36.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:35:36.920Z] [2021-07-10T00:35:36.920Z] Login Succeeded [2021-07-10T00:35:36.920Z] nexus3.edgexfoundry.org:10002 [2021-07-10T00:35:37.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:35:37.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:35:37.476Z] Configure a credential helper to remove this warning. See [2021-07-10T00:35:37.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:35:37.476Z] [2021-07-10T00:35:37.476Z] Login Succeeded [2021-07-10T00:35:37.476Z] nexus3.edgexfoundry.org:10003 [2021-07-10T00:35:37.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:35:38.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:35:38.024Z] Configure a credential helper to remove this warning. See [2021-07-10T00:35:38.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:35:38.024Z] [2021-07-10T00:35:38.024Z] Login Succeeded [2021-07-10T00:35:38.024Z] nexus3.edgexfoundry.org:10004 [2021-07-10T00:35:38.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:35:38.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:35:38.596Z] Configure a credential helper to remove this warning. See [2021-07-10T00:35:38.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:35:38.596Z] [2021-07-10T00:35:38.596Z] Login Succeeded [2021-07-10T00:35:38.596Z] docker.io [2021-07-10T00:35:38.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-10T00:35:39.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-10T00:35:39.470Z] Configure a credential helper to remove this warning. See [2021-07-10T00:35:39.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-10T00:35:39.470Z] [2021-07-10T00:35:39.470Z] Login Succeeded [2021-07-10T00:35:39.470Z] ---> docker-login.sh ends [Pipeline] } [2021-07-10T00:35:39.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-10T00:35:39.800Z] ========================================================= [2021-07-10T00:35:39.800Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-10T00:35:39.801Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:35:40.181Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-10T00:35:42.186Z] Sending build context to Docker daemon 165.8MB [2021-07-10T00:35:42.186Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-10T00:35:42.186Z] Step 2/6 : FROM ${BASE} [2021-07-10T00:35:42.461Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-10T00:35:42.461Z] 595b0fe564bb: Pulling fs layer [2021-07-10T00:35:42.461Z] 24495759ef45: Pulling fs layer [2021-07-10T00:35:42.461Z] d148012ef14d: Pulling fs layer [2021-07-10T00:35:42.461Z] cb65c68fc2e2: Pulling fs layer [2021-07-10T00:35:42.461Z] 093eec477d81: Pulling fs layer [2021-07-10T00:35:42.461Z] 20fd20ab2234: Pulling fs layer [2021-07-10T00:35:42.461Z] 43245461236d: Pulling fs layer [2021-07-10T00:35:42.461Z] 5a37c24eccbd: Pulling fs layer [2021-07-10T00:35:42.461Z] cb65c68fc2e2: Waiting [2021-07-10T00:35:42.461Z] 093eec477d81: Waiting [2021-07-10T00:35:42.461Z] 20fd20ab2234: Waiting [2021-07-10T00:35:42.461Z] 43245461236d: Waiting [2021-07-10T00:35:42.461Z] 5a37c24eccbd: Waiting [2021-07-10T00:35:42.745Z] d148012ef14d: Verifying Checksum [2021-07-10T00:35:42.745Z] d148012ef14d: Download complete [2021-07-10T00:35:42.745Z] 24495759ef45: Verifying Checksum [2021-07-10T00:35:42.745Z] 24495759ef45: Download complete [2021-07-10T00:35:42.745Z] 093eec477d81: Verifying Checksum [2021-07-10T00:35:42.745Z] 093eec477d81: Download complete [2021-07-10T00:35:42.745Z] 595b0fe564bb: Download complete [2021-07-10T00:35:42.745Z] 20fd20ab2234: Verifying Checksum [2021-07-10T00:35:42.745Z] 20fd20ab2234: Download complete [2021-07-10T00:35:42.745Z] 43245461236d: Verifying Checksum [2021-07-10T00:35:42.745Z] 43245461236d: Download complete [2021-07-10T00:35:43.365Z] 595b0fe564bb: Pull complete [2021-07-10T00:35:43.989Z] 24495759ef45: Pull complete [2021-07-10T00:35:44.596Z] d148012ef14d: Pull complete [2021-07-10T00:35:44.869Z] 5a37c24eccbd: Verifying Checksum [2021-07-10T00:35:44.869Z] 5a37c24eccbd: Download complete [2021-07-10T00:35:46.349Z] cb65c68fc2e2: Verifying Checksum [2021-07-10T00:35:46.349Z] cb65c68fc2e2: Download complete [2021-07-10T00:35:56.508Z] cb65c68fc2e2: Pull complete [2021-07-10T00:35:56.508Z] 093eec477d81: Pull complete [2021-07-10T00:35:56.508Z] 20fd20ab2234: Pull complete [2021-07-10T00:35:56.508Z] 43245461236d: Pull complete [2021-07-10T00:36:00.933Z] 5a37c24eccbd: Pull complete [2021-07-10T00:36:00.933Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-10T00:36:00.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-10T00:36:00.933Z] ---> 274d7007c78b [2021-07-10T00:36:00.933Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-07-10T00:36:03.609Z] ---> Running in de2ef2b31c6a [2021-07-10T00:36:05.057Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-10T00:36:05.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-10T00:36:06.636Z] (1/12) Installing libmagic (5.39-r0) [2021-07-10T00:36:06.912Z] (2/12) Installing file (5.39-r0) [2021-07-10T00:36:06.912Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-10T00:36:06.912Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-10T00:36:11.230Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-10T00:36:11.230Z] (6/12) Installing patch (2.7.6-r7) [2021-07-10T00:36:11.230Z] (7/12) Installing build-base (0.5-r2) [2021-07-10T00:36:11.230Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-10T00:36:11.230Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-10T00:36:11.502Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-10T00:36:11.502Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-10T00:36:11.502Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-10T00:36:11.776Z] Executing busybox-1.32.1-r6.trigger [2021-07-10T00:36:11.776Z] OK: 218 MiB in 52 packages [2021-07-10T00:36:16.122Z] Removing intermediate container de2ef2b31c6a [2021-07-10T00:36:16.122Z] ---> d1b3131e8e14 [2021-07-10T00:36:16.122Z] Step 4/6 : WORKDIR /edgex-go [2021-07-10T00:36:16.122Z] ---> Running in ea7bfd869153 [2021-07-10T00:36:16.122Z] Removing intermediate container ea7bfd869153 [2021-07-10T00:36:16.122Z] ---> b0d74d8eb5be [2021-07-10T00:36:16.122Z] Step 5/6 : COPY go.mod . [2021-07-10T00:36:17.107Z] ---> 5037a6acc607 [2021-07-10T00:36:17.107Z] Step 6/6 : RUN go mod download [2021-07-10T00:36:17.390Z] ---> Running in e7c4e6495439 [2021-07-10T00:36:44.207Z] Removing intermediate container e7c4e6495439 [2021-07-10T00:36:44.207Z] ---> e6532b783699 [2021-07-10T00:36:44.207Z] Successfully built e6532b783699 [2021-07-10T00:36:44.207Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:36:44.573Z] + docker inspect -f . ci-base-image-arm64 [2021-07-10T00:36:44.573Z] . [Pipeline] withDockerContainer [2021-07-10T00:36:44.871Z] prd-ubuntu18.04-docker-arm64-4c-16g-2369 does not seem to be running inside a container [2021-07-10T00:36:44.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-10T00:36:46.387Z] $ docker top 0eb539e475b5c3cb25f59d0a1258d4741b4b6cebcd9c6aa3188be3cbea2deefd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-10T00:36:47.350Z] + go version [2021-07-10T00:36:47.350Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-10T00:36:47.370Z] $ docker stop --time=1 0eb539e475b5c3cb25f59d0a1258d4741b4b6cebcd9c6aa3188be3cbea2deefd [2021-07-10T00:36:49.123Z] $ docker rm -f 0eb539e475b5c3cb25f59d0a1258d4741b4b6cebcd9c6aa3188be3cbea2deefd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:36:49.884Z] + docker inspect -f . ci-base-image-arm64 [2021-07-10T00:36:49.884Z] . [Pipeline] withDockerContainer [2021-07-10T00:36:50.116Z] prd-ubuntu18.04-docker-arm64-4c-16g-2369 does not seem to be running inside a container [2021-07-10T00:36:50.207Z] $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-10T00:36:51.637Z] $ docker top d23091780e2c2fee7543c844fda8f466c139e0b1c86cd920645b0fcc54e5a4fc -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-10T00:36:51.933Z] ========================================================= [2021-07-10T00:36:51.933Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-10T00:36:51.933Z] ========================================================= [Pipeline] sh [2021-07-10T00:36:52.614Z] + go mod tidy [Pipeline] sh [2021-07-10T00:36:53.913Z] + make test [2021-07-10T00:36:53.913Z] 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 [2021-07-10T00:36:53.913Z] go mod tidy [2021-07-10T00:36:54.520Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-10T00:37:21.359Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-07-10T00:38:17.971Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-07-10T00:38:19.429Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2021-07-10T00:38:19.429Z] internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-10T00:38:51.847Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-07-10T00:38:51.847Z] internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute [2021-07-10T00:38:51.847Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.174s coverage: 28.7% of statements [2021-07-10T00:38:54.507Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.348s coverage: 100.0% of statements [2021-07-10T00:38:54.789Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.388s coverage: 50.5% of statements [2021-07-10T00:38:54.789Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-07-10T00:38:54.789Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.338s coverage: 78.9% of statements [2021-07-10T00:38:58.207Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.199s coverage: 81.2% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.473s coverage: 95.1% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.228s coverage: 60.0% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.255s coverage: 0.8% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.165s coverage: 58.8% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.226s coverage: 22.0% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.180s coverage: 47.1% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.220s coverage: 79.5% of statements [2021-07-10T00:39:04.980Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.189s coverage: 94.1% of statements [2021-07-10T00:39:05.972Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.223s coverage: 96.3% of statements [2021-07-10T00:39:06.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.266s coverage: 87.5% of statements [2021-07-10T00:39:19.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.196s coverage: 94.4% of statements [2021-07-10T00:39:19.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.187s coverage: 44.8% of statements [2021-07-10T00:39:26.145Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.587s coverage: 81.8% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.255s coverage: 92.9% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.057s coverage: 65.1% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.191s coverage: 87.2% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.161s coverage: 100.0% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.170s coverage: 58.8% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.179s coverage: 80.0% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.263s coverage: 87.2% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.273s coverage: 85.4% of statements [2021-07-10T00:39:32.920Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.324s coverage: 91.2% of statements [2021-07-10T00:39:35.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.945s coverage: 64.4% of statements [2021-07-10T00:39:35.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.195s coverage: 100.0% of statements [2021-07-10T00:39:35.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.096s coverage: 91.3% of statements [2021-07-10T00:39:35.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.068s coverage: 100.0% of statements [2021-07-10T00:39:35.026Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements [2021-07-10T00:39:36.133Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.097s coverage: 100.0% of statements [2021-07-10T00:39:41.663Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.243s coverage: 66.9% of statements [2021-07-10T00:39:44.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.885s coverage: 43.6% of statements [2021-07-10T00:39:44.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.319s coverage: 89.5% of statements [2021-07-10T00:39:44.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.274s coverage: 84.8% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.263s coverage: 19.3% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.641s coverage: 91.9% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.247s coverage: 62.7% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.415s coverage: 97.6% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.172s coverage: 28.9% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.211s coverage: 100.0% of statements [2021-07-10T00:39:52.615Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 95.4% of statements [2021-07-10T00:39:52.615Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-07-10T00:39:52.634Z] $ docker stop --time=1 d23091780e2c2fee7543c844fda8f466c139e0b1c86cd920645b0fcc54e5a4fc [2021-07-10T00:39:54.789Z] $ docker rm -f d23091780e2c2fee7543c844fda8f466c139e0b1c86cd920645b0fcc54e5a4fc [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] libraryResource [Pipeline] sh [2021-07-10T00:39:56.582Z] ---> job-cost.sh [2021-07-10T00:39:56.582Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DLuv [2021-07-10T00:40:43.548Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-10T00:42:35.323Z] lf-activate-venv(): INFO: Adding /tmp/venv-DLuv/bin to PATH [2021-07-10T00:42:35.323Z] INFO: No Stack... [2021-07-10T00:42:35.323Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-10T00:42:35.915Z] INFO: Archiving Costs [Pipeline] sh [2021-07-10T00:42:36.265Z] + cat /w/workspace/edgex-go/9/archives/cost.csv [2021-07-10T00:42:36.265Z] + cut -d, -f6 [Pipeline] lock [2021-07-10T00:42:36.356Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3577-9-stack-cost] [2021-07-10T00:42:36.366Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3577-9-stack-cost] did not exist. Created. [2021-07-10T00:42:36.366Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3577-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-10T00:42:36.731Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-10T00:42:37.452Z] Stashed 1 file(s) [Pipeline] } [2021-07-10T00:42:37.464Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3577-9-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-10T00:42:37.700Z] 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] libraryResource [Pipeline] sh [2021-07-10T00:42:39.642Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:40.237Z] ---> package-listing.sh [2021-07-10T00:42:40.237Z] ++ facter osfamily [2021-07-10T00:42:40.237Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-10T00:42:40.500Z] + OS_FAMILY=redhat [2021-07-10T00:42:40.500Z] + workspace=/w/workspace/edgex-go/9 [2021-07-10T00:42:40.500Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-10T00:42:40.500Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-10T00:42:40.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-10T00:42:40.500Z] + PACKAGES=/tmp/packages_start.txt [2021-07-10T00:42:40.500Z] + '[' /w/workspace/edgex-go/9 ']' [2021-07-10T00:42:40.500Z] + PACKAGES=/tmp/packages_end.txt [2021-07-10T00:42:40.500Z] + case "${OS_FAMILY}" in [2021-07-10T00:42:40.500Z] + rpm -qa [2021-07-10T00:42:40.500Z] + sort [2021-07-10T00:42:41.072Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-10T00:42:41.072Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-10T00:42:41.072Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-10T00:42:41.072Z] + '[' /w/workspace/edgex-go/9 ']' [2021-07-10T00:42:41.072Z] + mkdir -p /w/workspace/edgex-go/9/archives/ [2021-07-10T00:42:41.072Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/9/archives/ [Pipeline] echo [2021-07-10T00:42:41.088Z] 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/9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-10T00:42:41.379Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:42:41.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-10T00:42:41.946Z] [2021-07-10T00:42:41.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-10T00:42:42.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-10T00:42:42.256Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-10T00:42:42.256Z] df20fa9351a1: Pulling fs layer [2021-07-10T00:42:42.256Z] 36b3adc4ff6f: Pulling fs layer [2021-07-10T00:42:42.256Z] 8ad3a11d3b57: Pulling fs layer [2021-07-10T00:42:42.256Z] 46f8f816bc3b: Pulling fs layer [2021-07-10T00:42:42.256Z] 93b61091891f: Pulling fs layer [2021-07-10T00:42:42.256Z] 93b9cdb0e59b: Pulling fs layer [2021-07-10T00:42:42.256Z] 5e14af77c1be: Pulling fs layer [2021-07-10T00:42:42.256Z] 01666e4c0597: Pulling fs layer [2021-07-10T00:42:42.256Z] aa168da1d23b: Pulling fs layer [2021-07-10T00:42:42.256Z] 93b9cdb0e59b: Waiting [2021-07-10T00:42:42.256Z] 5e14af77c1be: Waiting [2021-07-10T00:42:42.256Z] 01666e4c0597: Waiting [2021-07-10T00:42:42.256Z] aa168da1d23b: Waiting [2021-07-10T00:42:42.256Z] 46f8f816bc3b: Waiting [2021-07-10T00:42:42.256Z] 93b61091891f: Waiting [2021-07-10T00:42:42.256Z] 36b3adc4ff6f: Verifying Checksum [2021-07-10T00:42:42.256Z] 36b3adc4ff6f: Download complete [2021-07-10T00:42:42.256Z] 46f8f816bc3b: Download complete [2021-07-10T00:42:42.516Z] 93b61091891f: Verifying Checksum [2021-07-10T00:42:42.516Z] 93b61091891f: Download complete [2021-07-10T00:42:42.516Z] 93b9cdb0e59b: Verifying Checksum [2021-07-10T00:42:42.516Z] 93b9cdb0e59b: Download complete [2021-07-10T00:42:42.516Z] 5e14af77c1be: Verifying Checksum [2021-07-10T00:42:42.516Z] 5e14af77c1be: Download complete [2021-07-10T00:42:42.516Z] 01666e4c0597: Verifying Checksum [2021-07-10T00:42:42.516Z] 01666e4c0597: Download complete [2021-07-10T00:42:42.781Z] df20fa9351a1: Verifying Checksum [2021-07-10T00:42:42.781Z] df20fa9351a1: Download complete [2021-07-10T00:42:42.781Z] df20fa9351a1: Pull complete [2021-07-10T00:42:43.048Z] 8ad3a11d3b57: Verifying Checksum [2021-07-10T00:42:43.048Z] 8ad3a11d3b57: Download complete [2021-07-10T00:42:43.048Z] 36b3adc4ff6f: Pull complete [2021-07-10T00:42:43.307Z] 8ad3a11d3b57: Pull complete [2021-07-10T00:42:43.567Z] 46f8f816bc3b: Pull complete [2021-07-10T00:42:43.829Z] 93b61091891f: Pull complete [2021-07-10T00:42:43.829Z] 93b9cdb0e59b: Pull complete [2021-07-10T00:42:43.829Z] 5e14af77c1be: Pull complete [2021-07-10T00:42:43.829Z] 01666e4c0597: Pull complete [2021-07-10T00:42:44.775Z] aa168da1d23b: Verifying Checksum [2021-07-10T00:42:44.775Z] aa168da1d23b: Download complete [2021-07-10T00:42:49.004Z] aa168da1d23b: Pull complete [2021-07-10T00:42:49.004Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-10T00:42:49.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-10T00:42:49.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-10T00:42:49.080Z] prd-centos7-docker-4c-2g-2366 does not seem to be running inside a container [2021-07-10T00:42:49.114Z] $ 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/9/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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-10T00:42:51.347Z] $ docker top 6d2b9200ae15a70ae449338095984a125cff23043c359bda426a15684fc55f7e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-10T00:42:51.734Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-10T00:42:52.030Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-10T00:42:52.336Z] + ls /var/log/sa-host [2021-07-10T00:42:52.336Z] + sadf -c /var/log/sa-host/sa05 [2021-07-10T00:42:52.336Z] file_magic: OK [2021-07-10T00:42:52.336Z] HZ: Using current value: 100 [2021-07-10T00:42:52.336Z] file_header: OK [2021-07-10T00:42:52.336Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-10T00:42:52.336Z] Statistics: [2021-07-10T00:42:52.336Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-10T00:42:52.336Z] File successfully converted to sysstat format version 12.2.1 [2021-07-10T00:42:52.336Z] + sadf -c /var/log/sa-host/sa10 [2021-07-10T00:42:52.336Z] file_magic: OK [2021-07-10T00:42:52.336Z] HZ: Using current value: 100 [2021-07-10T00:42:52.336Z] file_header: OK [2021-07-10T00:42:52.336Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-10T00:42:52.336Z] Statistics: [2021-07-10T00:42:52.336Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-10T00:42:52.336Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-10T00:42:52.990Z] provisioning config files... [2021-07-10T00:42:53.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/9@tmp/config5168874404813625603tmp [Pipeline] { [Pipeline] echo [2021-07-10T00:42:53.029Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:53.326Z] ---> create-netrc.sh [Pipeline] } [2021-07-10T00:42:53.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:53.756Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-10T00:42:53.772Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:54.079Z] ---> sudo-logs.sh [2021-07-10T00:42:54.079Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-10T00:42:54.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:54.428Z] ---> job-cost.sh [2021-07-10T00:42:54.428Z] lf-activate-venv: SKIPPING [2021-07-10T00:42:54.428Z] DEBUG: total: 0.18000000715255737 [2021-07-10T00:42:54.428Z] INFO: Retrieving Stack Cost... [2021-07-10T00:42:55.819Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-10T00:42:56.080Z] INFO: Archiving Costs [Pipeline] echo [2021-07-10T00:42:56.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-10T00:42:56.392Z] ---> logs-deploy.sh [2021-07-10T00:42:56.392Z] lf-activate-venv: SKIPPING [2021-07-10T00:42:56.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3577/9 [2021-07-10T00:42:56.392Z] INFO: archiving workspace using pattern(s): [2021-07-10T00:42:57.351Z] Archives upload complete. [2021-07-10T00:42:57.351Z] INFO: archiving logs to Nexus