Pull request #3615 updated 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 bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 204473890a1a6ceace80963b96ea5cf829d13d7b+4edb777b9d60e900e8671f5ac6453e52ef440742 (804567641fc30947b6ffc66d8b128caf74cce8c0) 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-ssh1600021543929431940.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-ssh1398501195432096994.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-3615/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-3615/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4439318203863770060.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-ssh4006975459190325814.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-3615/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-3615/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh829164634469133554.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 Running on prd-centos7-docker-4c-2g-2305 in /w/workspace/edgexfoundry_edgex-go_PR-3615 [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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh3627503740773376641.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/2@tmp/jenkins-gitclient-ssh858403181827139652.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3615/head:refs/remotes/origin/PR-3615 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4edb777b9d60e900e8671f5ac6453e52ef440742 into PR head commit 204473890a1a6ceace80963b96ea5cf829d13d7b Merge succeeded, producing 204473890a1a6ceace80963b96ea5cf829d13d7b Checking out Revision 204473890a1a6ceace80963b96ea5cf829d13d7b (PR-3615) > git config core.sparsecheckout # timeout=10 > git checkout -f 204473890a1a6ceace80963b96ea5cf829d13d7b # 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/2@tmp/jenkins-gitclient-ssh770140242288246242.key > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 204473890a1a6ceace80963b96ea5cf829d13d7b # timeout=10 Commit message: "feat(security): Lint Dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T18:51:57.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T18:51:57.688Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T18:51:57.716Z] ========================================================= [2021-07-09T18:51:57.716Z] EdgeX Global Pipelines Version Info [2021-07-09T18:51:57.716Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7dec9156b12c67da3ff20911908bbb616b3cc4f8 # timeout=10 [2021-07-09T18:51:59.259Z] ------------------- [2021-07-09T18:51:59.259Z] stable info: [2021-07-09T18:51:59.259Z] ------------------- [2021-07-09T18:51:59.259Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T18:51:59.259Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T18:51:59.259Z] Message: update stable to v1.0.196 [2021-07-09T18:51:59.838Z] ------------------- [2021-07-09T18:51:59.838Z] experimental info: [2021-07-09T18:51:59.838Z] ------------------- [2021-07-09T18:51:59.838Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T18:51:59.838Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T18:51:59.838Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-09T18:51:59.979Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-07-09T18:52:00.005Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-07-09T18:52:00.029Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-09T18:52:00.053Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-09T18:52:00.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-09T18:52:00.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-09T18:52:00.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-09T18:52:00.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-07-09T18:52:00.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-07-09T18:52:00.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-07-09T18:52:00.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-09T18:52:00.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T18:52:00.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-09T18:52:00.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-09T18:52:00.319Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T18:52:00.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T18:52:00.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T18:52:00.386Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-09T18:52:00.410Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-09T18:52:00.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-09T18:52:00.458Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-09T18:52:00.483Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T18:52:00.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3615 [Pipeline] echo [2021-07-09T18:52:00.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3615 [Pipeline] echo [2021-07-09T18:52:00.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3615 [Pipeline] echo [2021-07-09T18:52:00.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 204473890a1a6ceace80963b96ea5cf829d13d7b [Pipeline] echo [2021-07-09T18:52:00.651Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2044738 [Pipeline] echo [2021-07-09T18:52:00.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T18:52:00.830Z] provisioning config files... [2021-07-09T18:52:00.851Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config5541858662658029158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:52:01.194Z] ---> docker-login.sh [2021-07-09T18:52:01.194Z] nexus3.edgexfoundry.org:10001 [2021-07-09T18:52:01.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:52:01.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:52:01.721Z] Configure a credential helper to remove this warning. See [2021-07-09T18:52:01.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:52:01.721Z] [2021-07-09T18:52:01.721Z] Login Succeeded [2021-07-09T18:52:01.721Z] nexus3.edgexfoundry.org:10002 [2021-07-09T18:52:01.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:52:01.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:52:01.721Z] Configure a credential helper to remove this warning. See [2021-07-09T18:52:01.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:52:01.721Z] [2021-07-09T18:52:01.721Z] Login Succeeded [2021-07-09T18:52:01.721Z] nexus3.edgexfoundry.org:10003 [2021-07-09T18:52:01.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:52:01.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:52:01.985Z] Configure a credential helper to remove this warning. See [2021-07-09T18:52:01.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:52:01.985Z] [2021-07-09T18:52:01.985Z] Login Succeeded [2021-07-09T18:52:01.985Z] nexus3.edgexfoundry.org:10004 [2021-07-09T18:52:01.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:52:02.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:52:02.253Z] Configure a credential helper to remove this warning. See [2021-07-09T18:52:02.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:52:02.253Z] [2021-07-09T18:52:02.253Z] Login Succeeded [2021-07-09T18:52:02.253Z] docker.io [2021-07-09T18:52:02.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:52:02.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:52:02.517Z] Configure a credential helper to remove this warning. See [2021-07-09T18:52:02.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:52:02.517Z] [2021-07-09T18:52:02.517Z] Login Succeeded [2021-07-09T18:52:02.517Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T18:52:02.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-09T18:52:02.914Z] ++ 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-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/core-command/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo core-command,cmd/core-command/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/core-data/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo core-data,cmd/core-data/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/core-metadata/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/support-notifications/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-07-09T18:52:02.915Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T18:52:02.915Z] ++ cut -d/ -f2 [2021-07-09T18:52:02.915Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-07-09T18:52:02.915Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-07-09T18:52:02.977Z] 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-09T18:52:04.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T18:52:04.679Z] [2021-07-09T18:52:04.679Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:52:05.003Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T18:52:05.004Z] latest: Pulling from edgex-devops/git-semver [2021-07-09T18:52:05.004Z] 31603596830f: Pulling fs layer [2021-07-09T18:52:05.004Z] b6dc333f4379: Pulling fs layer [2021-07-09T18:52:05.004Z] 3d9ef1400e77: Pulling fs layer [2021-07-09T18:52:05.004Z] fd332fbdc1db: Pulling fs layer [2021-07-09T18:52:05.004Z] fd332fbdc1db: Waiting [2021-07-09T18:52:05.004Z] b6dc333f4379: Verifying Checksum [2021-07-09T18:52:05.004Z] b6dc333f4379: Download complete [2021-07-09T18:52:05.268Z] 31603596830f: Verifying Checksum [2021-07-09T18:52:05.268Z] 31603596830f: Download complete [2021-07-09T18:52:05.268Z] 3d9ef1400e77: Verifying Checksum [2021-07-09T18:52:05.268Z] 3d9ef1400e77: Download complete [2021-07-09T18:52:05.268Z] fd332fbdc1db: Verifying Checksum [2021-07-09T18:52:05.268Z] fd332fbdc1db: Download complete [2021-07-09T18:52:05.531Z] 31603596830f: Pull complete [2021-07-09T18:52:05.531Z] b6dc333f4379: Pull complete [2021-07-09T18:52:06.109Z] 3d9ef1400e77: Pull complete [2021-07-09T18:52:06.374Z] fd332fbdc1db: Pull complete [2021-07-09T18:52:06.374Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-09T18:52:06.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T18:52:06.374Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-09T18:52:06.483Z] prd-centos7-docker-4c-2g-2305 does not seem to be running inside a container [2021-07-09T18:52:06.548Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-09T18:52:07.698Z] $ docker top 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-09T18:52:07.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-09T18:52:07.831Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-09T18:52:07.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-09T18:52:07.959Z] $ docker exec 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 ssh-agent [2021-07-09T18:52:08.088Z] SSH_AUTH_SOCK=/tmp/ssh-VuaRWeQVjd69/agent.13 [2021-07-09T18:52:08.088Z] SSH_AGENT_PID=20 [2021-07-09T18:52:08.099Z] Running ssh-add (command line suppressed) [2021-07-09T18:52:08.212Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2190612665991836985.key (/w/workspace/edgex-go/2@tmp/private_key_2190612665991836985.key) [2021-07-09T18:52:08.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-09T18:52:08.547Z] + git tag --points-at HEAD [Pipeline] } [2021-07-09T18:52:08.563Z] $ docker exec --env ******** --env ******** 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 ssh-agent -k [2021-07-09T18:52:08.665Z] unset SSH_AUTH_SOCK; [2021-07-09T18:52:08.666Z] unset SSH_AGENT_PID; [2021-07-09T18:52:08.666Z] echo Agent pid 20 killed; [2021-07-09T18:52:08.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-09T18:52:08.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-09T18:52:08.715Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-09T18:52:08.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-09T18:52:08.855Z] $ docker exec 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 ssh-agent [2021-07-09T18:52:08.976Z] SSH_AUTH_SOCK=/tmp/ssh-EgYzVrpyWLTz/agent.52 [2021-07-09T18:52:08.976Z] SSH_AGENT_PID=58 [2021-07-09T18:52:08.982Z] Running ssh-add (command line suppressed) [2021-07-09T18:52:09.087Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_2150675058589974383.key (/w/workspace/edgex-go/2@tmp/private_key_2150675058589974383.key) [2021-07-09T18:52:09.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-09T18:52:09.415Z] + git semver init [2021-07-09T18:52:09.415Z] # -> Open(): unable to determine branch for HEAD [2021-07-09T18:52:09.415Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-07-09T18:52:09.415Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-07-09T18:52:09.415Z] # $SEMVER_REMOTE_NAME = origin [2021-07-09T18:52:09.415Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-09T18:52:09.415Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-09T18:52:09.415Z] # $SEMVER_BRANCH = PR-3615 [2021-07-09T18:52:09.415Z] # $SEMVER_TEMP = /tmp/semver-530991952 [2021-07-09T18:52:09.415Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-07-09T18:52:24.377Z] # '/tmp/semver-530991952' -> '/w/workspace/edgex-go/2/.semver' [2021-07-09T18:52:24.377Z] # -> Force: false [2021-07-09T18:52:24.377Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-07-09T18:52:24.390Z] $ docker exec --env ******** --env ******** 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 ssh-agent -k [2021-07-09T18:52:24.503Z] unset SSH_AUTH_SOCK; [2021-07-09T18:52:24.503Z] unset SSH_AGENT_PID; [2021-07-09T18:52:24.503Z] echo Agent pid 58 killed; [2021-07-09T18:52:24.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-09T18:52:24.895Z] + git semver [Pipeline] } [2021-07-09T18:52:24.944Z] $ docker stop --time=1 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 [2021-07-09T18:52:28.017Z] $ docker rm -f 9ae44e21cbcfa9a908aa653c2e1c148b83472d517eb52349464e4750f7250063 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-09T18:52:28.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-09T18:52:28.697Z] Stashed 1 file(s) [Pipeline] echo [2021-07-09T18:52:28.700Z] [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-09T18:52:29.298Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T18:52:29.596Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T18:52:29.896Z] + true [2021-07-09T18:52:29.896Z] + sudo service docker restart [2021-07-09T18:52:29.896Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T18:52:43.906Z] Still waiting to schedule task [2021-07-09T18:52:43.907Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-07-09T18:52:48.045Z] ========================================================= [2021-07-09T18:52:48.045Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-09T18:52:48.045Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:52:48.355Z] + 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-09T18:52:49.749Z] Sending build context to Docker daemon 328.3MB [2021-07-09T18:52:49.750Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-09T18:52:49.750Z] Step 2/6 : FROM ${BASE} [2021-07-09T18:52:49.750Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-09T18:52:49.750Z] 540db60ca938: Pulling fs layer [2021-07-09T18:52:49.750Z] adcc1eea9eea: Pulling fs layer [2021-07-09T18:52:49.750Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T18:52:49.750Z] 0510c868ecb4: Pulling fs layer [2021-07-09T18:52:49.750Z] afea3b2eda06: Pulling fs layer [2021-07-09T18:52:49.750Z] 7809a108b3ef: Pulling fs layer [2021-07-09T18:52:49.750Z] f706445af74f: Pulling fs layer [2021-07-09T18:52:49.750Z] afea3b2eda06: Waiting [2021-07-09T18:52:49.750Z] 7809a108b3ef: Waiting [2021-07-09T18:52:49.750Z] f706445af74f: Waiting [2021-07-09T18:52:49.750Z] 0510c868ecb4: Waiting [2021-07-09T18:52:50.012Z] 4c4ab2625f07: Verifying Checksum [2021-07-09T18:52:50.012Z] 4c4ab2625f07: Download complete [2021-07-09T18:52:50.012Z] adcc1eea9eea: Verifying Checksum [2021-07-09T18:52:50.012Z] adcc1eea9eea: Download complete [2021-07-09T18:52:50.013Z] afea3b2eda06: Verifying Checksum [2021-07-09T18:52:50.013Z] afea3b2eda06: Download complete [2021-07-09T18:52:50.013Z] 540db60ca938: Verifying Checksum [2021-07-09T18:52:50.013Z] 540db60ca938: Download complete [2021-07-09T18:52:50.013Z] 7809a108b3ef: Verifying Checksum [2021-07-09T18:52:50.013Z] 7809a108b3ef: Download complete [2021-07-09T18:52:50.013Z] 540db60ca938: Pull complete [2021-07-09T18:52:50.276Z] adcc1eea9eea: Pull complete [2021-07-09T18:52:50.537Z] 4c4ab2625f07: Pull complete [2021-07-09T18:52:51.929Z] f706445af74f: Verifying Checksum [2021-07-09T18:52:51.929Z] f706445af74f: Download complete [2021-07-09T18:52:52.505Z] 0510c868ecb4: Verifying Checksum [2021-07-09T18:52:52.505Z] 0510c868ecb4: Download complete [2021-07-09T18:52:56.780Z] 0510c868ecb4: Pull complete [2021-07-09T18:52:56.780Z] afea3b2eda06: Pull complete [2021-07-09T18:52:56.780Z] 7809a108b3ef: Pull complete [2021-07-09T18:52:57.743Z] f706445af74f: Pull complete [2021-07-09T18:52:57.743Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-09T18:52:57.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-09T18:52:57.743Z] ---> b068be0155e3 [2021-07-09T18:52:57.743Z] 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-09T18:53:01.058Z] ---> Running in 94a352ee8621 [2021-07-09T18:53:01.058Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-09T18:53:02.006Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-09T18:53:02.582Z] (1/12) Installing libmagic (5.39-r0) [2021-07-09T18:53:02.845Z] (2/12) Installing file (5.39-r0) [2021-07-09T18:53:03.106Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-09T18:53:03.106Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-09T18:53:07.322Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-09T18:53:07.322Z] (6/12) Installing patch (2.7.6-r7) [2021-07-09T18:53:07.322Z] (7/12) Installing build-base (0.5-r2) [2021-07-09T18:53:07.322Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-09T18:53:07.322Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-09T18:53:07.322Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-09T18:53:07.587Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-09T18:53:07.587Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-09T18:53:07.587Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T18:53:07.587Z] OK: 219 MiB in 52 packages [2021-07-09T18:53:09.508Z] Removing intermediate container 94a352ee8621 [2021-07-09T18:53:09.508Z] ---> 9ff0ce3afae6 [2021-07-09T18:53:09.508Z] Step 4/6 : WORKDIR /edgex-go [2021-07-09T18:53:09.508Z] ---> Running in c4e03c0d40dd [2021-07-09T18:53:09.508Z] Removing intermediate container c4e03c0d40dd [2021-07-09T18:53:09.508Z] ---> 17ab6739f8f1 [2021-07-09T18:53:09.508Z] Step 5/6 : COPY go.mod . [2021-07-09T18:53:09.508Z] ---> 6fe5a753a061 [2021-07-09T18:53:09.508Z] Step 6/6 : RUN go mod download [2021-07-09T18:53:09.508Z] ---> Running in 9186d2e5dcbd [2021-07-09T18:53:21.791Z] Removing intermediate container 9186d2e5dcbd [2021-07-09T18:53:21.791Z] ---> 062bca28f474 [2021-07-09T18:53:21.791Z] Successfully built 062bca28f474 [2021-07-09T18:53:21.791Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:53:22.109Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-09T18:53:22.110Z] . [Pipeline] withDockerContainer [2021-07-09T18:53:22.200Z] prd-centos7-docker-4c-2g-2305 does not seem to be running inside a container [2021-07-09T18:53:22.250Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-09T18:53:22.664Z] $ docker top ed018c46d5817d696a3bad02b8864f2ee80fa2f97431b1154a2c1f3cc3c5f753 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T18:53:23.071Z] + go version [2021-07-09T18:53:23.071Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-09T18:53:23.086Z] $ docker stop --time=1 ed018c46d5817d696a3bad02b8864f2ee80fa2f97431b1154a2c1f3cc3c5f753 [2021-07-09T18:53:24.293Z] $ docker rm -f ed018c46d5817d696a3bad02b8864f2ee80fa2f97431b1154a2c1f3cc3c5f753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:53:24.882Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-09T18:53:24.882Z] . [Pipeline] withDockerContainer [2021-07-09T18:53:24.962Z] prd-centos7-docker-4c-2g-2305 does not seem to be running inside a container [2021-07-09T18:53:25.007Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-09T18:53:25.409Z] $ docker top 6bff1d182ca3a92544fcdb04292706090a918d3570d5697241ea5dcdc34c2822 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-09T18:53:25.511Z] ========================================================= [2021-07-09T18:53:25.511Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-09T18:53:25.511Z] ========================================================= [Pipeline] sh [2021-07-09T18:53:25.809Z] + go mod tidy [Pipeline] sh [2021-07-09T18:53:26.384Z] + make test [2021-07-09T18:53:26.384Z] which docker > /dev/null && docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -name 'Dockerfile*' | xargs -i echo '/host/{}'` [2021-07-09T18:53:26.384Z] make: *** [Makefile:97: test] Error 1 [Pipeline] } [2021-07-09T18:53:26.404Z] $ docker stop --time=1 6bff1d182ca3a92544fcdb04292706090a918d3570d5697241ea5dcdc34c2822 [2021-07-09T18:53:27.604Z] $ docker rm -f 6bff1d182ca3a92544fcdb04292706090a918d3570d5697241ea5dcdc34c2822 [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-09T18:53:28.153Z] Failed in branch amd64 [2021-07-09T18:54:47.617Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2306 in /w/workspace/edgexfoundry_edgex-go_PR-3615 [Pipeline] { [Pipeline] ws [2021-07-09T18:54:47.640Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-07-09T18:54:47.894Z] The recommended git tool is: git [2021-07-09T18:54:53.279Z] using credential edgex-jenkins-ssh [2021-07-09T18:54:53.298Z] Cloning the remote Git repository [2021-07-09T18:54:53.323Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-07-09T18:54:53.434Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-07-09T18:54:53.510Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-09T18:54:53.510Z] > git --version # timeout=10 [2021-07-09T18:54:53.584Z] > git --version # 'git version 2.17.1' [2021-07-09T18:54:53.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T18:54:53.675Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T18:55:17.741Z] Merging remotes/origin/main commit 4edb777b9d60e900e8671f5ac6453e52ef440742 into PR head commit 204473890a1a6ceace80963b96ea5cf829d13d7b [2021-07-09T18:55:18.078Z] Merge succeeded, producing 204473890a1a6ceace80963b96ea5cf829d13d7b [2021-07-09T18:55:18.079Z] Checking out Revision 204473890a1a6ceace80963b96ea5cf829d13d7b (PR-3615) [2021-07-09T18:55:16.907Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-09T18:55:16.923Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T18:55:16.957Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-09T18:55:16.991Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-09T18:55:16.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T18:55:17.004Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3615/head:refs/remotes/origin/PR-3615 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-09T18:55:17.771Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T18:55:17.789Z] > git checkout -f 204473890a1a6ceace80963b96ea5cf829d13d7b # timeout=10 [2021-07-09T18:55:18.005Z] > git remote # timeout=10 [2021-07-09T18:55:18.021Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T18:55:18.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T18:55:18.050Z] > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 [2021-07-09T18:55:18.072Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T18:55:18.094Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T18:55:18.110Z] > git checkout -f 204473890a1a6ceace80963b96ea5cf829d13d7b # timeout=10 [2021-07-09T18:55:22.411Z] Commit message: "feat(security): Lint Dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-09T18:55:23.908Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T18:55:24.311Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T18:55:24.659Z] + sudo service docker restart [2021-07-09T18:55:24.659Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T18:55:43.036Z] provisioning config files... [2021-07-09T18:55:43.064Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7344152278594682912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:55:43.443Z] ---> docker-login.sh [2021-07-09T18:55:43.443Z] nexus3.edgexfoundry.org:10001 [2021-07-09T18:55:44.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:55:44.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:55:44.662Z] Configure a credential helper to remove this warning. See [2021-07-09T18:55:44.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:55:44.662Z] [2021-07-09T18:55:44.662Z] Login Succeeded [2021-07-09T18:55:44.662Z] nexus3.edgexfoundry.org:10002 [2021-07-09T18:55:44.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:55:45.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:55:45.211Z] Configure a credential helper to remove this warning. See [2021-07-09T18:55:45.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:55:45.211Z] [2021-07-09T18:55:45.211Z] Login Succeeded [2021-07-09T18:55:45.211Z] nexus3.edgexfoundry.org:10003 [2021-07-09T18:55:45.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:55:45.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:55:45.780Z] Configure a credential helper to remove this warning. See [2021-07-09T18:55:45.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:55:45.780Z] [2021-07-09T18:55:45.780Z] Login Succeeded [2021-07-09T18:55:45.780Z] nexus3.edgexfoundry.org:10004 [2021-07-09T18:55:46.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:55:46.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:55:46.329Z] Configure a credential helper to remove this warning. See [2021-07-09T18:55:46.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:55:46.329Z] [2021-07-09T18:55:46.329Z] Login Succeeded [2021-07-09T18:55:46.329Z] docker.io [2021-07-09T18:55:46.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T18:55:47.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T18:55:47.203Z] Configure a credential helper to remove this warning. See [2021-07-09T18:55:47.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T18:55:47.203Z] [2021-07-09T18:55:47.203Z] Login Succeeded [2021-07-09T18:55:47.203Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T18:55:47.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-09T18:55:47.525Z] ========================================================= [2021-07-09T18:55:47.525Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-09T18:55:47.525Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:55:47.884Z] + 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-09T18:55:49.901Z] Sending build context to Docker daemon 165.7MB [2021-07-09T18:55:49.901Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-09T18:55:49.901Z] Step 2/6 : FROM ${BASE} [2021-07-09T18:55:50.176Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-09T18:55:50.176Z] 595b0fe564bb: Pulling fs layer [2021-07-09T18:55:50.176Z] 3088b5b3c5c0: Pulling fs layer [2021-07-09T18:55:50.176Z] 5b7225fbf94c: Pulling fs layer [2021-07-09T18:55:50.176Z] ba82ee9f976e: Pulling fs layer [2021-07-09T18:55:50.176Z] 506bd15cee9f: Pulling fs layer [2021-07-09T18:55:50.176Z] 75a0a4a0db45: Pulling fs layer [2021-07-09T18:55:50.176Z] 618dc40b7e24: Pulling fs layer [2021-07-09T18:55:50.176Z] 506bd15cee9f: Waiting [2021-07-09T18:55:50.176Z] 75a0a4a0db45: Waiting [2021-07-09T18:55:50.176Z] 618dc40b7e24: Waiting [2021-07-09T18:55:50.176Z] ba82ee9f976e: Waiting [2021-07-09T18:55:50.176Z] 5b7225fbf94c: Download complete [2021-07-09T18:55:50.453Z] 3088b5b3c5c0: Verifying Checksum [2021-07-09T18:55:50.453Z] 3088b5b3c5c0: Download complete [2021-07-09T18:55:50.453Z] 506bd15cee9f: Verifying Checksum [2021-07-09T18:55:50.453Z] 506bd15cee9f: Download complete [2021-07-09T18:55:50.453Z] 595b0fe564bb: Download complete [2021-07-09T18:55:50.453Z] 75a0a4a0db45: Verifying Checksum [2021-07-09T18:55:50.453Z] 75a0a4a0db45: Download complete [2021-07-09T18:55:51.059Z] 595b0fe564bb: Pull complete [2021-07-09T18:55:51.664Z] 3088b5b3c5c0: Pull complete [2021-07-09T18:55:52.266Z] 5b7225fbf94c: Pull complete [2021-07-09T18:55:53.249Z] 618dc40b7e24: Verifying Checksum [2021-07-09T18:55:53.250Z] 618dc40b7e24: Download complete [2021-07-09T18:55:54.244Z] ba82ee9f976e: Verifying Checksum [2021-07-09T18:55:54.245Z] ba82ee9f976e: Download complete [2021-07-09T18:56:04.409Z] ba82ee9f976e: Pull complete [2021-07-09T18:56:04.409Z] 506bd15cee9f: Pull complete [2021-07-09T18:56:04.685Z] 75a0a4a0db45: Pull complete [2021-07-09T18:56:09.010Z] 618dc40b7e24: Pull complete [2021-07-09T18:56:09.010Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-09T18:56:09.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-09T18:56:09.010Z] ---> a36622ca3599 [2021-07-09T18:56:09.010Z] 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-09T18:56:11.023Z] ---> Running in 3c998a949169 [2021-07-09T18:56:12.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T18:56:12.985Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T18:56:13.968Z] (1/12) Installing libmagic (5.39-r0) [2021-07-09T18:56:13.968Z] (2/12) Installing file (5.39-r0) [2021-07-09T18:56:13.968Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-09T18:56:14.241Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-09T18:56:17.616Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-09T18:56:17.616Z] (6/12) Installing patch (2.7.6-r7) [2021-07-09T18:56:17.616Z] (7/12) Installing build-base (0.5-r2) [2021-07-09T18:56:17.616Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-09T18:56:17.616Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-09T18:56:17.889Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-09T18:56:17.889Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-09T18:56:17.889Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-09T18:56:18.163Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T18:56:18.163Z] OK: 218 MiB in 52 packages [2021-07-09T18:56:22.496Z] Removing intermediate container 3c998a949169 [2021-07-09T18:56:22.496Z] ---> 64e2fc18b896 [2021-07-09T18:56:22.496Z] Step 4/6 : WORKDIR /edgex-go [2021-07-09T18:56:22.496Z] ---> Running in e2101da05a87 [2021-07-09T18:56:22.774Z] Removing intermediate container e2101da05a87 [2021-07-09T18:56:22.774Z] ---> 5873c2a22783 [2021-07-09T18:56:22.774Z] Step 5/6 : COPY go.mod . [2021-07-09T18:56:23.373Z] ---> 8accf460e8b8 [2021-07-09T18:56:23.373Z] Step 6/6 : RUN go mod download [2021-07-09T18:56:23.647Z] ---> Running in b5766c0e2f27 [2021-07-09T18:56:50.493Z] Removing intermediate container b5766c0e2f27 [2021-07-09T18:56:50.493Z] ---> c2008a6afb2a [2021-07-09T18:56:50.493Z] Successfully built c2008a6afb2a [2021-07-09T18:56:50.493Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:56:50.841Z] + docker inspect -f . ci-base-image-arm64 [2021-07-09T18:56:50.841Z] . [Pipeline] withDockerContainer [2021-07-09T18:56:51.106Z] prd-ubuntu18.04-docker-arm64-4c-16g-2306 does not seem to be running inside a container [2021-07-09T18:56:51.219Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-09T18:56:52.784Z] $ docker top b8f6e4452e76c41d358caf90ec31cbd9384dbe6db85d6897916178d6aaa4661f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T18:56:53.708Z] + go version [2021-07-09T18:56:53.709Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-09T18:56:53.759Z] $ docker stop --time=1 b8f6e4452e76c41d358caf90ec31cbd9384dbe6db85d6897916178d6aaa4661f [2021-07-09T18:56:55.592Z] $ docker rm -f b8f6e4452e76c41d358caf90ec31cbd9384dbe6db85d6897916178d6aaa4661f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:56:56.377Z] + docker inspect -f . ci-base-image-arm64 [2021-07-09T18:56:56.378Z] . [Pipeline] withDockerContainer [2021-07-09T18:56:56.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-2306 does not seem to be running inside a container [2021-07-09T18:56:56.758Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-09T18:56:58.298Z] $ docker top b41e7e881583ccde97544dea7e5c97e9f24f599ffe8b80a64da7a6bb4146b9a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-09T18:56:58.597Z] ========================================================= [2021-07-09T18:56:58.597Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-09T18:56:58.597Z] ========================================================= [Pipeline] sh [2021-07-09T18:56:59.246Z] + go mod tidy [Pipeline] sh [2021-07-09T18:57:00.512Z] + make test [2021-07-09T18:57:00.512Z] which docker > /dev/null && docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -name 'Dockerfile*' | xargs -i echo '/host/{}'` [2021-07-09T18:57:00.512Z] make: *** [Makefile:97: test] Error 1 [Pipeline] } [2021-07-09T18:57:00.567Z] $ docker stop --time=1 b41e7e881583ccde97544dea7e5c97e9f24f599ffe8b80a64da7a6bb4146b9a1 [2021-07-09T18:57:02.453Z] $ docker rm -f b41e7e881583ccde97544dea7e5c97e9f24f599ffe8b80a64da7a6bb4146b9a1 [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-09T18:57:03.603Z] ---> job-cost.sh [2021-07-09T18:57:03.603Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-csc4 [2021-07-09T18:57:42.648Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-09T18:59:04.388Z] lf-activate-venv(): INFO: Adding /tmp/venv-csc4/bin to PATH [2021-07-09T18:59:04.388Z] INFO: No Stack... [2021-07-09T18:59:04.388Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-09T18:59:04.388Z] INFO: Archiving Costs [Pipeline] sh [2021-07-09T18:59:04.753Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [2021-07-09T18:59:04.753Z] + cut -d, -f6 [Pipeline] lock [2021-07-09T18:59:04.816Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3615-2-stack-cost] [2021-07-09T18:59:04.825Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3615-2-stack-cost] did not exist. Created. [2021-07-09T18:59:04.825Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3615-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-09T18:59:05.201Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-09T18:59:05.921Z] Stashed 1 file(s) [Pipeline] } [2021-07-09T18:59:05.931Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3615-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-09T18:59:06.287Z] 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-09T18:59:08.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:08.867Z] ---> package-listing.sh [2021-07-09T18:59:08.867Z] ++ facter osfamily [2021-07-09T18:59:08.867Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T18:59:09.130Z] + OS_FAMILY=redhat [2021-07-09T18:59:09.130Z] + workspace=/w/workspace/edgex-go/2 [2021-07-09T18:59:09.130Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T18:59:09.130Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T18:59:09.130Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T18:59:09.130Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T18:59:09.130Z] + '[' /w/workspace/edgex-go/2 ']' [2021-07-09T18:59:09.130Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T18:59:09.130Z] + case "${OS_FAMILY}" in [2021-07-09T18:59:09.130Z] + rpm -qa [2021-07-09T18:59:09.130Z] + sort [2021-07-09T18:59:09.704Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T18:59:09.704Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T18:59:09.704Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T18:59:09.704Z] + '[' /w/workspace/edgex-go/2 ']' [2021-07-09T18:59:09.704Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-07-09T18:59:09.704Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-07-09T18:59:09.720Z] 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 [2021-07-09T18:59:10.011Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:59:10.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T18:59:10.591Z] [2021-07-09T18:59:10.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T18:59:10.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T18:59:10.929Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T18:59:10.929Z] df20fa9351a1: Pulling fs layer [2021-07-09T18:59:10.929Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T18:59:10.929Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T18:59:10.929Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T18:59:10.929Z] 93b61091891f: Pulling fs layer [2021-07-09T18:59:10.929Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T18:59:10.929Z] 5e14af77c1be: Pulling fs layer [2021-07-09T18:59:10.929Z] 01666e4c0597: Pulling fs layer [2021-07-09T18:59:10.929Z] aa168da1d23b: Pulling fs layer [2021-07-09T18:59:10.929Z] 46f8f816bc3b: Waiting [2021-07-09T18:59:10.929Z] 93b61091891f: Waiting [2021-07-09T18:59:10.929Z] 93b9cdb0e59b: Waiting [2021-07-09T18:59:10.929Z] 5e14af77c1be: Waiting [2021-07-09T18:59:10.929Z] 01666e4c0597: Waiting [2021-07-09T18:59:10.929Z] aa168da1d23b: Waiting [2021-07-09T18:59:10.929Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T18:59:10.929Z] 36b3adc4ff6f: Download complete [2021-07-09T18:59:11.195Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T18:59:11.195Z] 46f8f816bc3b: Download complete [2021-07-09T18:59:11.195Z] df20fa9351a1: Verifying Checksum [2021-07-09T18:59:11.195Z] df20fa9351a1: Download complete [2021-07-09T18:59:11.195Z] 93b61091891f: Verifying Checksum [2021-07-09T18:59:11.195Z] 93b61091891f: Download complete [2021-07-09T18:59:11.195Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T18:59:11.195Z] 93b9cdb0e59b: Download complete [2021-07-09T18:59:11.195Z] 5e14af77c1be: Verifying Checksum [2021-07-09T18:59:11.195Z] 5e14af77c1be: Download complete [2021-07-09T18:59:11.195Z] 01666e4c0597: Verifying Checksum [2021-07-09T18:59:11.195Z] 01666e4c0597: Download complete [2021-07-09T18:59:11.195Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T18:59:11.195Z] 8ad3a11d3b57: Download complete [2021-07-09T18:59:11.195Z] df20fa9351a1: Pull complete [2021-07-09T18:59:11.465Z] 36b3adc4ff6f: Pull complete [2021-07-09T18:59:12.051Z] 8ad3a11d3b57: Pull complete [2021-07-09T18:59:12.051Z] 46f8f816bc3b: Pull complete [2021-07-09T18:59:12.313Z] 93b61091891f: Pull complete [2021-07-09T18:59:12.576Z] 93b9cdb0e59b: Pull complete [2021-07-09T18:59:12.576Z] 5e14af77c1be: Pull complete [2021-07-09T18:59:12.576Z] 01666e4c0597: Pull complete [2021-07-09T18:59:13.530Z] aa168da1d23b: Verifying Checksum [2021-07-09T18:59:13.530Z] aa168da1d23b: Download complete [2021-07-09T18:59:17.759Z] aa168da1d23b: Pull complete [2021-07-09T18:59:17.759Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T18:59:17.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T18:59:17.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T18:59:17.838Z] prd-centos7-docker-4c-2g-2305 does not seem to be running inside a container [2021-07-09T18:59:17.888Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-09T18:59:20.189Z] $ docker top c6ae4af91ad45b7a5c51e3ef112423fda7a9fcbd8508275fe7fd662f61db49bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T18:59:20.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T18:59:20.939Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T18:59:21.245Z] + ls /var/log/sa-host [2021-07-09T18:59:21.245Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T18:59:21.245Z] file_magic: OK [2021-07-09T18:59:21.245Z] HZ: Using current value: 100 [2021-07-09T18:59:21.245Z] file_header: OK [2021-07-09T18:59:21.245Z] 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-09T18:59:21.245Z] Statistics: [2021-07-09T18:59:21.245Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T18:59:21.245Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T18:59:21.245Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T18:59:21.245Z] file_magic: OK [2021-07-09T18:59:21.245Z] HZ: Using current value: 100 [2021-07-09T18:59:21.245Z] file_header: OK [2021-07-09T18:59:21.245Z] 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-09T18:59:21.245Z] Statistics: [2021-07-09T18:59:21.245Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T18:59:21.245Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T18:59:21.925Z] provisioning config files... [2021-07-09T18:59:21.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config7548307685859797567tmp [Pipeline] { [Pipeline] echo [2021-07-09T18:59:21.958Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:22.539Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T18:59:22.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:23.178Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T18:59:23.188Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:23.487Z] ---> sudo-logs.sh [2021-07-09T18:59:23.487Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T18:59:23.527Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:23.835Z] ---> job-cost.sh [2021-07-09T18:59:23.835Z] lf-activate-venv: SKIPPING [2021-07-09T18:59:23.835Z] DEBUG: total: 0.18000000715255737 [2021-07-09T18:59:23.835Z] INFO: Retrieving Stack Cost... [2021-07-09T18:59:25.763Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T18:59:26.024Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T18:59:26.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T18:59:26.337Z] ---> logs-deploy.sh [2021-07-09T18:59:26.337Z] lf-activate-venv: SKIPPING [2021-07-09T18:59:26.337Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3615/2 [2021-07-09T18:59:26.337Z] INFO: archiving workspace using pattern(s): [2021-07-09T18:59:27.283Z] Archives upload complete. [2021-07-09T18:59:27.283Z] INFO: archiving logs to Nexus