Pull request #3615 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 7dec9156b12c67da3ff20911908bbb616b3cc4f8+4edb777b9d60e900e8671f5ac6453e52ef440742 (5bcfa30048901ee8ea6e9d8d7a5b325fbf4d9671) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8011433288953796760.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-ssh2679833410092053929.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3615/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh2946592793578288623.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh8456693393324288029.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3334349272674385495.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3615/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh8907589178661022097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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-2300 in /w/workspace/edgexfoundry_edgex-go_PR-3615 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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/1@tmp/jenkins-gitclient-ssh6124100170807158139.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 4edb777b9d60e900e8671f5ac6453e52ef440742 into PR head commit 7dec9156b12c67da3ff20911908bbb616b3cc4f8 > 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/1@tmp/jenkins-gitclient-ssh1732652930595712797.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dec9156b12c67da3ff20911908bbb616b3cc4f8 # timeout=10 Merge succeeded, producing 7dec9156b12c67da3ff20911908bbb616b3cc4f8 Checking out Revision 7dec9156b12c67da3ff20911908bbb616b3cc4f8 (PR-3615) > 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/1@tmp/jenkins-gitclient-ssh1554793259015367853.key > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dec9156b12c67da3ff20911908bbb616b3cc4f8 # timeout=10 Commit message: "feat(security): Lint Dockerfiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T17:14:56.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T17:14:56.880Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T17:14:57.013Z] ========================================================= [2021-07-09T17:14:57.013Z] EdgeX Global Pipelines Version Info [2021-07-09T17:14:57.013Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:14:58.550Z] ------------------- [2021-07-09T17:14:58.550Z] stable info: [2021-07-09T17:14:58.550Z] ------------------- [2021-07-09T17:14:58.550Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T17:14:58.550Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T17:14:58.550Z] Message: update stable to v1.0.196 [2021-07-09T17:14:59.139Z] ------------------- [2021-07-09T17:14:59.139Z] experimental info: [2021-07-09T17:14:59.139Z] ------------------- [2021-07-09T17:14:59.139Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T17:14:59.139Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T17:14:59.139Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-09T17:14:59.451Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-07-09T17:14:59.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-07-09T17:14:59.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-09T17:14:59.671Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-09T17:14:59.749Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-09T17:14:59.810Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-09T17:14:59.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-09T17:14:59.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-07-09T17:15:00.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-07-09T17:15:00.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-07-09T17:15:00.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-09T17:15:00.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T17:15:00.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-09T17:15:00.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-09T17:15:00.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T17:15:00.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T17:15:00.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T17:15:00.588Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-09T17:15:00.665Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-09T17:15:00.723Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-09T17:15:00.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-09T17:15:00.861Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T17:15:00.922Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3615 [Pipeline] echo [2021-07-09T17:15:00.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3615 [Pipeline] echo [2021-07-09T17:15:01.039Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3615 [Pipeline] echo [2021-07-09T17:15:01.099Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7dec9156b12c67da3ff20911908bbb616b3cc4f8 [Pipeline] echo [2021-07-09T17:15:01.175Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7dec915 [Pipeline] echo [2021-07-09T17:15:01.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T17:15:01.440Z] provisioning config files... [2021-07-09T17:15:01.461Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7424648978686965262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:15:01.869Z] ---> docker-login.sh [2021-07-09T17:15:01.869Z] nexus3.edgexfoundry.org:10001 [2021-07-09T17:15:02.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:15:02.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:15:02.406Z] Configure a credential helper to remove this warning. See [2021-07-09T17:15:02.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:15:02.406Z] [2021-07-09T17:15:02.406Z] Login Succeeded [2021-07-09T17:15:02.406Z] nexus3.edgexfoundry.org:10002 [2021-07-09T17:15:02.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:15:02.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:15:02.670Z] Configure a credential helper to remove this warning. See [2021-07-09T17:15:02.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:15:02.670Z] [2021-07-09T17:15:02.670Z] Login Succeeded [2021-07-09T17:15:02.670Z] nexus3.edgexfoundry.org:10003 [2021-07-09T17:15:02.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:15:02.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:15:02.670Z] Configure a credential helper to remove this warning. See [2021-07-09T17:15:02.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:15:02.670Z] [2021-07-09T17:15:02.670Z] Login Succeeded [2021-07-09T17:15:02.670Z] nexus3.edgexfoundry.org:10004 [2021-07-09T17:15:02.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:15:02.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:15:02.939Z] Configure a credential helper to remove this warning. See [2021-07-09T17:15:02.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:15:02.939Z] [2021-07-09T17:15:02.939Z] Login Succeeded [2021-07-09T17:15:02.939Z] docker.io [2021-07-09T17:15:02.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:15:03.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:15:03.202Z] Configure a credential helper to remove this warning. See [2021-07-09T17:15:03.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:15:03.202Z] [2021-07-09T17:15:03.202Z] Login Succeeded [2021-07-09T17:15:03.202Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T17:15:03.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-09T17:15:03.689Z] ++ 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-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/core-command/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo core-command,cmd/core-command/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/core-data/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo core-data,cmd/core-data/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/core-metadata/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/support-notifications/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-07-09T17:15:03.689Z] + for file in '`ls cmd/**/Dockerfile`' [2021-07-09T17:15:03.689Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-07-09T17:15:03.689Z] ++ cut -d/ -f2 [2021-07-09T17:15:03.689Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-07-09T17:15:03.765Z] 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-09T17:15:05.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T17:15:05.513Z] [2021-07-09T17:15:05.513Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:15:05.880Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T17:15:05.880Z] latest: Pulling from edgex-devops/git-semver [2021-07-09T17:15:05.880Z] 31603596830f: Pulling fs layer [2021-07-09T17:15:05.880Z] b6dc333f4379: Pulling fs layer [2021-07-09T17:15:05.880Z] 3d9ef1400e77: Pulling fs layer [2021-07-09T17:15:05.880Z] fd332fbdc1db: Pulling fs layer [2021-07-09T17:15:05.880Z] fd332fbdc1db: Waiting [2021-07-09T17:15:05.880Z] b6dc333f4379: Verifying Checksum [2021-07-09T17:15:05.880Z] b6dc333f4379: Download complete [2021-07-09T17:15:05.880Z] 31603596830f: Verifying Checksum [2021-07-09T17:15:05.880Z] 31603596830f: Download complete [2021-07-09T17:15:06.147Z] fd332fbdc1db: Verifying Checksum [2021-07-09T17:15:06.147Z] fd332fbdc1db: Download complete [2021-07-09T17:15:06.147Z] 3d9ef1400e77: Verifying Checksum [2021-07-09T17:15:06.147Z] 3d9ef1400e77: Download complete [2021-07-09T17:15:06.147Z] 31603596830f: Pull complete [2021-07-09T17:15:06.412Z] b6dc333f4379: Pull complete [2021-07-09T17:15:06.991Z] 3d9ef1400e77: Pull complete [2021-07-09T17:15:07.255Z] fd332fbdc1db: Pull complete [2021-07-09T17:15:07.255Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-09T17:15:07.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-09T17:15:07.255Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-09T17:15:07.378Z] prd-centos7-docker-4c-2g-2300 does not seem to be running inside a container [2021-07-09T17:15:07.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-09T17:15:08.600Z] $ docker top 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-09T17:15:08.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-09T17:15:08.834Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-09T17:15:08.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-09T17:15:08.963Z] $ docker exec 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 ssh-agent [2021-07-09T17:15:09.081Z] SSH_AUTH_SOCK=/tmp/ssh-kE8MMvXQVwJT/agent.13 [2021-07-09T17:15:09.081Z] SSH_AGENT_PID=20 [2021-07-09T17:15:09.091Z] Running ssh-add (command line suppressed) [2021-07-09T17:15:09.201Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2747705571761003754.key (/w/workspace/edgex-go/1@tmp/private_key_2747705571761003754.key) [2021-07-09T17:15:09.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-09T17:15:09.591Z] + git tag --points-at HEAD [Pipeline] } [2021-07-09T17:15:09.616Z] $ docker exec --env ******** --env ******** 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 ssh-agent -k [2021-07-09T17:15:09.723Z] unset SSH_AUTH_SOCK; [2021-07-09T17:15:09.723Z] unset SSH_AGENT_PID; [2021-07-09T17:15:09.723Z] echo Agent pid 20 killed; [2021-07-09T17:15:09.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-09T17:15:09.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-09T17:15:09.832Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-09T17:15:09.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-09T17:15:09.949Z] $ docker exec 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 ssh-agent [2021-07-09T17:15:10.075Z] SSH_AUTH_SOCK=/tmp/ssh-FQLXUBViLDiv/agent.54 [2021-07-09T17:15:10.075Z] SSH_AGENT_PID=60 [2021-07-09T17:15:10.081Z] Running ssh-add (command line suppressed) [2021-07-09T17:15:10.183Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2792318782708120794.key (/w/workspace/edgex-go/1@tmp/private_key_2792318782708120794.key) [2021-07-09T17:15:10.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-09T17:15:10.563Z] + git semver init [2021-07-09T17:15:10.563Z] # -> Open(): unable to determine branch for HEAD [2021-07-09T17:15:10.563Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-07-09T17:15:10.563Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-07-09T17:15:10.563Z] # $SEMVER_REMOTE_NAME = origin [2021-07-09T17:15:10.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-09T17:15:10.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-09T17:15:10.563Z] # $SEMVER_BRANCH = PR-3615 [2021-07-09T17:15:10.563Z] # $SEMVER_TEMP = /tmp/semver-535933727 [2021-07-09T17:15:10.563Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-07-09T17:15:25.554Z] # '/tmp/semver-535933727' -> '/w/workspace/edgex-go/1/.semver' [2021-07-09T17:15:25.554Z] # -> Force: false [2021-07-09T17:15:25.554Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-07-09T17:15:25.575Z] $ docker exec --env ******** --env ******** 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 ssh-agent -k [2021-07-09T17:15:25.692Z] unset SSH_AUTH_SOCK; [2021-07-09T17:15:25.692Z] unset SSH_AGENT_PID; [2021-07-09T17:15:25.692Z] echo Agent pid 60 killed; [2021-07-09T17:15:25.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-09T17:15:26.185Z] + git semver [Pipeline] } [2021-07-09T17:15:26.214Z] $ docker stop --time=1 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 [2021-07-09T17:15:28.050Z] $ docker rm -f 10a798c9143e919bab5d055068e5e92be3e1f911c2dd9f2a95f6a596884a3434 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-09T17:15:28.513Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-09T17:15:28.852Z] Stashed 1 file(s) [Pipeline] echo [2021-07-09T17:15:28.878Z] [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-09T17:15:29.859Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T17:15:30.179Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T17:15:30.513Z] + true [2021-07-09T17:15:30.513Z] + sudo service docker restart [2021-07-09T17:15:30.513Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T17:15:44.329Z] Still waiting to schedule task [2021-07-09T17:15:44.330Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-07-09T17:15:48.718Z] ========================================================= [2021-07-09T17:15:48.718Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-09T17:15:48.718Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:15:49.103Z] + 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-09T17:15:50.502Z] Sending build context to Docker daemon 328.3MB [2021-07-09T17:15:50.502Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-09T17:15:50.502Z] Step 2/6 : FROM ${BASE} [2021-07-09T17:15:50.775Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-09T17:15:50.775Z] 540db60ca938: Pulling fs layer [2021-07-09T17:15:50.775Z] adcc1eea9eea: Pulling fs layer [2021-07-09T17:15:50.775Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T17:15:50.775Z] 0510c868ecb4: Pulling fs layer [2021-07-09T17:15:50.775Z] afea3b2eda06: Pulling fs layer [2021-07-09T17:15:50.775Z] 7809a108b3ef: Pulling fs layer [2021-07-09T17:15:50.775Z] f706445af74f: Pulling fs layer [2021-07-09T17:15:50.775Z] afea3b2eda06: Waiting [2021-07-09T17:15:50.775Z] 0510c868ecb4: Waiting [2021-07-09T17:15:50.775Z] 7809a108b3ef: Waiting [2021-07-09T17:15:50.775Z] f706445af74f: Waiting [2021-07-09T17:15:50.775Z] 4c4ab2625f07: Download complete [2021-07-09T17:15:50.775Z] adcc1eea9eea: Verifying Checksum [2021-07-09T17:15:50.775Z] adcc1eea9eea: Download complete [2021-07-09T17:15:50.775Z] afea3b2eda06: Verifying Checksum [2021-07-09T17:15:50.775Z] afea3b2eda06: Download complete [2021-07-09T17:15:50.775Z] 7809a108b3ef: Verifying Checksum [2021-07-09T17:15:50.775Z] 7809a108b3ef: Download complete [2021-07-09T17:15:50.775Z] 540db60ca938: Verifying Checksum [2021-07-09T17:15:50.775Z] 540db60ca938: Download complete [2021-07-09T17:15:51.038Z] 540db60ca938: Pull complete [2021-07-09T17:15:51.300Z] adcc1eea9eea: Pull complete [2021-07-09T17:15:51.300Z] 4c4ab2625f07: Pull complete [2021-07-09T17:15:52.248Z] f706445af74f: Verifying Checksum [2021-07-09T17:15:52.248Z] f706445af74f: Download complete [2021-07-09T17:15:52.831Z] 0510c868ecb4: Verifying Checksum [2021-07-09T17:15:52.831Z] 0510c868ecb4: Download complete [2021-07-09T17:15:57.086Z] 0510c868ecb4: Pull complete [2021-07-09T17:15:57.086Z] afea3b2eda06: Pull complete [2021-07-09T17:15:57.086Z] 7809a108b3ef: Pull complete [2021-07-09T17:15:59.709Z] f706445af74f: Pull complete [2021-07-09T17:15:59.709Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-09T17:15:59.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-09T17:15:59.709Z] ---> b068be0155e3 [2021-07-09T17:15:59.709Z] 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-09T17:16:01.102Z] ---> Running in 9e7619a5a729 [2021-07-09T17:16:01.103Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-09T17:16:02.051Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-09T17:16:02.625Z] (1/12) Installing libmagic (5.39-r0) [2021-07-09T17:16:02.888Z] (2/12) Installing file (5.39-r0) [2021-07-09T17:16:03.149Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-09T17:16:03.149Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-09T17:16:07.373Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-09T17:16:07.373Z] (6/12) Installing patch (2.7.6-r7) [2021-07-09T17:16:07.373Z] (7/12) Installing build-base (0.5-r2) [2021-07-09T17:16:07.373Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-09T17:16:07.373Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-09T17:16:07.373Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-09T17:16:07.373Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-09T17:16:07.373Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-09T17:16:07.373Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T17:16:07.373Z] OK: 219 MiB in 52 packages [2021-07-09T17:16:09.297Z] Removing intermediate container 9e7619a5a729 [2021-07-09T17:16:09.297Z] ---> 3b943b6731bc [2021-07-09T17:16:09.297Z] Step 4/6 : WORKDIR /edgex-go [2021-07-09T17:16:09.297Z] ---> Running in c1331cc7dca5 [2021-07-09T17:16:09.559Z] Removing intermediate container c1331cc7dca5 [2021-07-09T17:16:09.559Z] ---> fa08514c99cb [2021-07-09T17:16:09.559Z] Step 5/6 : COPY go.mod . [2021-07-09T17:16:09.559Z] ---> 5abc6d5a0aa8 [2021-07-09T17:16:09.559Z] Step 6/6 : RUN go mod download [2021-07-09T17:16:09.559Z] ---> Running in 69aa9a23dbac [2021-07-09T17:16:24.502Z] Removing intermediate container 69aa9a23dbac [2021-07-09T17:16:24.502Z] ---> 484c42ef7535 [2021-07-09T17:16:24.502Z] Successfully built 484c42ef7535 [2021-07-09T17:16:24.502Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:16:24.844Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-09T17:16:24.844Z] . [Pipeline] withDockerContainer [2021-07-09T17:16:24.950Z] prd-centos7-docker-4c-2g-2300 does not seem to be running inside a container [2021-07-09T17:16:24.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-09T17:16:25.426Z] $ docker top 6be6863e24a92541ccc2f4338e21be56544ae788eaf9533309c182d740271d69 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T17:16:25.869Z] + go version [2021-07-09T17:16:25.869Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-09T17:16:25.894Z] $ docker stop --time=1 6be6863e24a92541ccc2f4338e21be56544ae788eaf9533309c182d740271d69 [2021-07-09T17:16:27.087Z] $ docker rm -f 6be6863e24a92541ccc2f4338e21be56544ae788eaf9533309c182d740271d69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:16:27.928Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-09T17:16:27.928Z] . [Pipeline] withDockerContainer [2021-07-09T17:16:28.035Z] prd-centos7-docker-4c-2g-2300 does not seem to be running inside a container [2021-07-09T17:16:28.072Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-09T17:16:28.488Z] $ docker top 7d3cba6eed48ed2cd285ddce80bfdd23947dc8ceb3da8cd9c9fa1d414cef4c81 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-09T17:16:28.650Z] ========================================================= [2021-07-09T17:16:28.650Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-09T17:16:28.650Z] ========================================================= [Pipeline] sh [2021-07-09T17:16:28.968Z] + go mod tidy [Pipeline] sh [2021-07-09T17:16:29.574Z] + make test [2021-07-09T17:16:29.574Z] 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-09T17:16:29.574Z] /bin/sh: docker: not found [2021-07-09T17:16:29.574Z] make: *** [Makefile:97: test] Error 127 [Pipeline] } [2021-07-09T17:16:29.621Z] $ docker stop --time=1 7d3cba6eed48ed2cd285ddce80bfdd23947dc8ceb3da8cd9c9fa1d414cef4c81 [2021-07-09T17:16:30.859Z] $ docker rm -f 7d3cba6eed48ed2cd285ddce80bfdd23947dc8ceb3da8cd9c9fa1d414cef4c81 [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-09T17:16:32.268Z] Failed in branch amd64 [2021-07-09T17:17:52.251Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2301 in /w/workspace/edgexfoundry_edgex-go_PR-3615 [Pipeline] { [Pipeline] ws [2021-07-09T17:17:52.334Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-07-09T17:17:52.609Z] The recommended git tool is: git [2021-07-09T17:17:57.823Z] using credential edgex-jenkins-ssh [2021-07-09T17:17:57.844Z] Cloning the remote Git repository [2021-07-09T17:17:57.940Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-07-09T17:17:58.157Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-07-09T17:17:58.222Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-09T17:17:58.223Z] > git --version # timeout=10 [2021-07-09T17:17:58.242Z] > git --version # 'git version 2.17.1' [2021-07-09T17:17:58.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T17:17:58.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T17:18:14.878Z] Merging remotes/origin/main commit 4edb777b9d60e900e8671f5ac6453e52ef440742 into PR head commit 7dec9156b12c67da3ff20911908bbb616b3cc4f8 [2021-07-09T17:18:14.076Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-09T17:18:14.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T17:18:14.114Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-07-09T17:18:14.145Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-07-09T17:18:14.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T17:18:14.158Z] > 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-09T17:18:15.207Z] Merge succeeded, producing 7dec9156b12c67da3ff20911908bbb616b3cc4f8 [2021-07-09T17:18:15.208Z] Checking out Revision 7dec9156b12c67da3ff20911908bbb616b3cc4f8 (PR-3615) [2021-07-09T17:18:14.897Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T17:18:14.916Z] > git checkout -f 7dec9156b12c67da3ff20911908bbb616b3cc4f8 # timeout=10 [2021-07-09T17:18:15.123Z] > git remote # timeout=10 [2021-07-09T17:18:15.144Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T17:18:15.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T17:18:15.169Z] > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 [2021-07-09T17:18:15.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T17:18:15.213Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T17:18:15.232Z] > git checkout -f 7dec9156b12c67da3ff20911908bbb616b3cc4f8 # timeout=10 [2021-07-09T17:18:19.523Z] Commit message: "feat(security): Lint Dockerfiles" [2021-07-09T17:18:19.598Z] > git --version # timeout=10 [2021-07-09T17:18:19.611Z] > git --version # 'git version 2.17.1' [2021-07-09T17:18:19.623Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-09T17:18:21.318Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T17:18:21.737Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T17:18:22.102Z] + true [2021-07-09T17:18:22.102Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T17:18:40.518Z] provisioning config files... [2021-07-09T17:18:40.547Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4043277257032389742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:18:40.971Z] ---> docker-login.sh [2021-07-09T17:18:40.971Z] nexus3.edgexfoundry.org:10001 [2021-07-09T17:18:42.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:18:42.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:18:42.408Z] Configure a credential helper to remove this warning. See [2021-07-09T17:18:42.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:18:42.408Z] [2021-07-09T17:18:42.408Z] Login Succeeded [2021-07-09T17:18:42.682Z] nexus3.edgexfoundry.org:10002 [2021-07-09T17:18:42.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:18:43.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:18:43.230Z] Configure a credential helper to remove this warning. See [2021-07-09T17:18:43.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:18:43.230Z] [2021-07-09T17:18:43.230Z] Login Succeeded [2021-07-09T17:18:43.230Z] nexus3.edgexfoundry.org:10003 [2021-07-09T17:18:43.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:18:43.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:18:43.778Z] Configure a credential helper to remove this warning. See [2021-07-09T17:18:43.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:18:43.778Z] [2021-07-09T17:18:43.778Z] Login Succeeded [2021-07-09T17:18:43.778Z] nexus3.edgexfoundry.org:10004 [2021-07-09T17:18:44.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:18:44.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:18:44.325Z] Configure a credential helper to remove this warning. See [2021-07-09T17:18:44.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:18:44.325Z] [2021-07-09T17:18:44.325Z] Login Succeeded [2021-07-09T17:18:44.325Z] docker.io [2021-07-09T17:18:44.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T17:18:45.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T17:18:45.200Z] Configure a credential helper to remove this warning. See [2021-07-09T17:18:45.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T17:18:45.200Z] [2021-07-09T17:18:45.200Z] Login Succeeded [2021-07-09T17:18:45.200Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T17:18:45.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-09T17:18:45.914Z] ========================================================= [2021-07-09T17:18:45.914Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-09T17:18:45.914Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:18:46.330Z] + 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-09T17:18:48.328Z] Sending build context to Docker daemon 165.7MB [2021-07-09T17:18:48.328Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-07-09T17:18:48.328Z] Step 2/6 : FROM ${BASE} [2021-07-09T17:18:48.607Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-09T17:18:48.607Z] 595b0fe564bb: Pulling fs layer [2021-07-09T17:18:48.607Z] 3088b5b3c5c0: Pulling fs layer [2021-07-09T17:18:48.607Z] 5b7225fbf94c: Pulling fs layer [2021-07-09T17:18:48.607Z] ba82ee9f976e: Pulling fs layer [2021-07-09T17:18:48.607Z] 506bd15cee9f: Pulling fs layer [2021-07-09T17:18:48.607Z] 75a0a4a0db45: Pulling fs layer [2021-07-09T17:18:48.607Z] 618dc40b7e24: Pulling fs layer [2021-07-09T17:18:48.607Z] ba82ee9f976e: Waiting [2021-07-09T17:18:48.607Z] 75a0a4a0db45: Waiting [2021-07-09T17:18:48.607Z] 506bd15cee9f: Waiting [2021-07-09T17:18:48.607Z] 618dc40b7e24: Waiting [2021-07-09T17:18:48.607Z] 5b7225fbf94c: Verifying Checksum [2021-07-09T17:18:48.607Z] 5b7225fbf94c: Download complete [2021-07-09T17:18:48.607Z] 3088b5b3c5c0: Verifying Checksum [2021-07-09T17:18:48.607Z] 3088b5b3c5c0: Download complete [2021-07-09T17:18:48.881Z] 506bd15cee9f: Verifying Checksum [2021-07-09T17:18:48.881Z] 506bd15cee9f: Download complete [2021-07-09T17:18:48.881Z] 595b0fe564bb: Verifying Checksum [2021-07-09T17:18:48.881Z] 75a0a4a0db45: Verifying Checksum [2021-07-09T17:18:48.881Z] 75a0a4a0db45: Download complete [2021-07-09T17:18:49.482Z] 595b0fe564bb: Pull complete [2021-07-09T17:18:50.080Z] 3088b5b3c5c0: Pull complete [2021-07-09T17:18:50.354Z] 5b7225fbf94c: Pull complete [2021-07-09T17:18:51.348Z] 618dc40b7e24: Verifying Checksum [2021-07-09T17:18:51.348Z] 618dc40b7e24: Download complete [2021-07-09T17:18:52.790Z] ba82ee9f976e: Download complete [2021-07-09T17:19:02.988Z] ba82ee9f976e: Pull complete [2021-07-09T17:19:03.261Z] 506bd15cee9f: Pull complete [2021-07-09T17:19:03.536Z] 75a0a4a0db45: Pull complete [2021-07-09T17:19:06.944Z] 618dc40b7e24: Pull complete [2021-07-09T17:19:07.219Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-09T17:19:07.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-09T17:19:07.219Z] ---> a36622ca3599 [2021-07-09T17:19:07.219Z] 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-09T17:19:09.838Z] ---> Running in 343ca1a601e1 [2021-07-09T17:19:11.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T17:19:11.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T17:19:12.846Z] (1/12) Installing libmagic (5.39-r0) [2021-07-09T17:19:13.119Z] (2/12) Installing file (5.39-r0) [2021-07-09T17:19:13.399Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-07-09T17:19:13.400Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-07-09T17:19:17.699Z] (5/12) Installing fortify-headers (1.1-r0) [2021-07-09T17:19:17.699Z] (6/12) Installing patch (2.7.6-r7) [2021-07-09T17:19:17.699Z] (7/12) Installing build-base (0.5-r2) [2021-07-09T17:19:17.699Z] (8/12) Installing libsodium (1.0.18-r0) [2021-07-09T17:19:17.699Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-07-09T17:19:17.699Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-07-09T17:19:17.699Z] (11/12) Installing libzmq (4.3.3-r1) [2021-07-09T17:19:17.973Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-07-09T17:19:17.973Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T17:19:17.973Z] OK: 218 MiB in 52 packages [2021-07-09T17:19:22.339Z] Removing intermediate container 343ca1a601e1 [2021-07-09T17:19:22.339Z] ---> cd5d3e0b4571 [2021-07-09T17:19:22.339Z] Step 4/6 : WORKDIR /edgex-go [2021-07-09T17:19:22.339Z] ---> Running in ad209dbd2346 [2021-07-09T17:19:22.339Z] Removing intermediate container ad209dbd2346 [2021-07-09T17:19:22.339Z] ---> e78a81fdc678 [2021-07-09T17:19:22.339Z] Step 5/6 : COPY go.mod . [2021-07-09T17:19:22.951Z] ---> 57f49ca121be [2021-07-09T17:19:22.951Z] Step 6/6 : RUN go mod download [2021-07-09T17:19:23.226Z] ---> Running in 2bf878b8040f [2021-07-09T17:19:50.189Z] Removing intermediate container 2bf878b8040f [2021-07-09T17:19:50.189Z] ---> 5354f8f5cb85 [2021-07-09T17:19:50.189Z] Successfully built 5354f8f5cb85 [2021-07-09T17:19:50.189Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:19:50.582Z] + docker inspect -f . ci-base-image-arm64 [2021-07-09T17:19:50.583Z] . [Pipeline] withDockerContainer [2021-07-09T17:19:50.837Z] prd-ubuntu18.04-docker-arm64-4c-16g-2301 does not seem to be running inside a container [2021-07-09T17:19:50.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-09T17:19:52.416Z] $ docker top c3d1e0e777e035dba80f7601f9045b52f62c4f8e2c494c98b8b421dab661b0e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T17:19:53.432Z] + go version [2021-07-09T17:19:53.432Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-09T17:19:53.469Z] $ docker stop --time=1 c3d1e0e777e035dba80f7601f9045b52f62c4f8e2c494c98b8b421dab661b0e0 [2021-07-09T17:19:55.259Z] $ docker rm -f c3d1e0e777e035dba80f7601f9045b52f62c4f8e2c494c98b8b421dab661b0e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:19:56.330Z] + docker inspect -f . ci-base-image-arm64 [2021-07-09T17:19:56.330Z] . [Pipeline] withDockerContainer [2021-07-09T17:19:56.614Z] prd-ubuntu18.04-docker-arm64-4c-16g-2301 does not seem to be running inside a container [2021-07-09T17:19:56.697Z] $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-09T17:19:58.254Z] $ docker top aea47d978822a910e487d87718d77840851a6bf317e5d24d616eca8fe41764ff -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-09T17:19:58.638Z] ========================================================= [2021-07-09T17:19:58.639Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-07-09T17:19:58.639Z] ========================================================= [Pipeline] sh [2021-07-09T17:19:59.306Z] + go mod tidy [Pipeline] sh [2021-07-09T17:20:00.606Z] + make test [2021-07-09T17:20:00.606Z] 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-09T17:20:00.606Z] /bin/sh: docker: not found [2021-07-09T17:20:00.606Z] make: *** [Makefile:97: test] Error 127 [Pipeline] } [2021-07-09T17:20:00.658Z] $ docker stop --time=1 aea47d978822a910e487d87718d77840851a6bf317e5d24d616eca8fe41764ff [2021-07-09T17:20:02.666Z] $ docker rm -f aea47d978822a910e487d87718d77840851a6bf317e5d24d616eca8fe41764ff [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-09T17:20:04.370Z] ---> job-cost.sh [2021-07-09T17:20:04.371Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w1c2 [2021-07-09T17:20:43.336Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-09T17:22:05.082Z] lf-activate-venv(): INFO: Adding /tmp/venv-w1c2/bin to PATH [2021-07-09T17:22:05.082Z] INFO: No Stack... [2021-07-09T17:22:05.082Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-09T17:22:05.355Z] INFO: Archiving Costs [Pipeline] sh [2021-07-09T17:22:05.729Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-07-09T17:22:05.729Z] + cut -d, -f6 [Pipeline] lock [2021-07-09T17:22:05.822Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3615-1-stack-cost] [2021-07-09T17:22:05.831Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3615-1-stack-cost] did not exist. Created. [2021-07-09T17:22:05.831Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-09T17:22:06.305Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-09T17:22:07.638Z] Stashed 1 file(s) [Pipeline] } [2021-07-09T17:22:07.665Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3615-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-09T17:22:08.335Z] 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-09T17:22:10.713Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:11.338Z] ---> package-listing.sh [2021-07-09T17:22:11.338Z] ++ facter osfamily [2021-07-09T17:22:11.338Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T17:22:11.600Z] + OS_FAMILY=redhat [2021-07-09T17:22:11.600Z] + workspace=/w/workspace/edgex-go/1 [2021-07-09T17:22:11.600Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T17:22:11.600Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T17:22:11.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T17:22:11.600Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T17:22:11.600Z] + '[' /w/workspace/edgex-go/1 ']' [2021-07-09T17:22:11.600Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T17:22:11.600Z] + case "${OS_FAMILY}" in [2021-07-09T17:22:11.600Z] + rpm -qa [2021-07-09T17:22:11.600Z] + sort [2021-07-09T17:22:12.552Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T17:22:12.552Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T17:22:12.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T17:22:12.552Z] + '[' /w/workspace/edgex-go/1 ']' [2021-07-09T17:22:12.552Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-07-09T17:22:12.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-07-09T17:22:12.588Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-09T17:22:12.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:22:13.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T17:22:13.525Z] [2021-07-09T17:22:13.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T17:22:13.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T17:22:13.887Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T17:22:13.887Z] df20fa9351a1: Pulling fs layer [2021-07-09T17:22:13.887Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T17:22:13.887Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T17:22:13.887Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T17:22:13.887Z] 93b61091891f: Pulling fs layer [2021-07-09T17:22:13.887Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T17:22:13.887Z] 5e14af77c1be: Pulling fs layer [2021-07-09T17:22:13.887Z] 01666e4c0597: Pulling fs layer [2021-07-09T17:22:13.887Z] aa168da1d23b: Pulling fs layer [2021-07-09T17:22:13.887Z] 46f8f816bc3b: Waiting [2021-07-09T17:22:13.887Z] 93b61091891f: Waiting [2021-07-09T17:22:13.887Z] 93b9cdb0e59b: Waiting [2021-07-09T17:22:13.887Z] 5e14af77c1be: Waiting [2021-07-09T17:22:13.887Z] 01666e4c0597: Waiting [2021-07-09T17:22:13.887Z] aa168da1d23b: Waiting [2021-07-09T17:22:13.887Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T17:22:13.887Z] 36b3adc4ff6f: Download complete [2021-07-09T17:22:13.887Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T17:22:13.887Z] 46f8f816bc3b: Download complete [2021-07-09T17:22:14.149Z] df20fa9351a1: Verifying Checksum [2021-07-09T17:22:14.149Z] df20fa9351a1: Download complete [2021-07-09T17:22:14.149Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T17:22:14.149Z] 93b9cdb0e59b: Download complete [2021-07-09T17:22:14.149Z] 5e14af77c1be: Verifying Checksum [2021-07-09T17:22:14.149Z] 5e14af77c1be: Download complete [2021-07-09T17:22:14.149Z] 93b61091891f: Verifying Checksum [2021-07-09T17:22:14.149Z] 93b61091891f: Download complete [2021-07-09T17:22:14.149Z] 01666e4c0597: Verifying Checksum [2021-07-09T17:22:14.149Z] 01666e4c0597: Download complete [2021-07-09T17:22:14.149Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T17:22:14.149Z] 8ad3a11d3b57: Download complete [2021-07-09T17:22:14.149Z] df20fa9351a1: Pull complete [2021-07-09T17:22:14.416Z] 36b3adc4ff6f: Pull complete [2021-07-09T17:22:14.684Z] 8ad3a11d3b57: Pull complete [2021-07-09T17:22:14.684Z] 46f8f816bc3b: Pull complete [2021-07-09T17:22:14.946Z] 93b61091891f: Pull complete [2021-07-09T17:22:15.209Z] 93b9cdb0e59b: Pull complete [2021-07-09T17:22:15.209Z] 5e14af77c1be: Pull complete [2021-07-09T17:22:15.209Z] 01666e4c0597: Pull complete [2021-07-09T17:22:16.596Z] aa168da1d23b: Verifying Checksum [2021-07-09T17:22:16.596Z] aa168da1d23b: Download complete [2021-07-09T17:22:20.845Z] aa168da1d23b: Pull complete [2021-07-09T17:22:20.845Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T17:22:20.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T17:22:20.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T17:22:20.952Z] prd-centos7-docker-4c-2g-2300 does not seem to be running inside a container [2021-07-09T17:22:20.988Z] $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-09T17:22:23.217Z] $ docker top 2ba008a7e3fa2dd8a1f863d95991195a07ac52091116284d82db11cd66120ee5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T17:22:23.681Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T17:22:24.006Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T17:22:24.799Z] + ls /var/log/sa-host [2021-07-09T17:22:24.799Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T17:22:24.799Z] file_magic: OK [2021-07-09T17:22:24.799Z] HZ: Using current value: 100 [2021-07-09T17:22:24.799Z] file_header: OK [2021-07-09T17:22:24.799Z] 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-09T17:22:24.799Z] Statistics: [2021-07-09T17:22:24.799Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T17:22:24.799Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T17:22:24.799Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T17:22:24.799Z] file_magic: OK [2021-07-09T17:22:24.799Z] HZ: Using current value: 100 [2021-07-09T17:22:24.799Z] file_header: OK [2021-07-09T17:22:24.799Z] 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-09T17:22:24.799Z] Statistics: [2021-07-09T17:22:24.799Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T17:22:24.799Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T17:22:25.568Z] provisioning config files... [2021-07-09T17:22:25.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config7896689331678493285tmp [Pipeline] { [Pipeline] echo [2021-07-09T17:22:25.645Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:25.987Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T17:22:26.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:26.485Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T17:22:26.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:26.867Z] ---> sudo-logs.sh [2021-07-09T17:22:26.867Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T17:22:26.959Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:27.300Z] ---> job-cost.sh [2021-07-09T17:22:27.300Z] lf-activate-venv: SKIPPING [2021-07-09T17:22:27.300Z] DEBUG: total: 0.18000000715255737 [2021-07-09T17:22:27.300Z] INFO: Retrieving Stack Cost... [2021-07-09T17:22:28.685Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T17:22:29.258Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T17:22:29.297Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T17:22:29.646Z] ---> logs-deploy.sh [2021-07-09T17:22:29.646Z] lf-activate-venv: SKIPPING [2021-07-09T17:22:29.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3615/1 [2021-07-09T17:22:29.646Z] INFO: archiving workspace using pattern(s): [2021-07-09T17:22:30.591Z] Archives upload complete. [2021-07-09T17:22:30.591Z] INFO: archiving logs to Nexus