Pull request #3766 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from d6a824c83185bc9301c1f503f9901c1d90cf650d+86411704c056e83a3fc2a54d4c214538f329b007 (a7b755ab11ce9489b9c0e3d147d4b95388772131) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3342486001032109179.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2636394598291956760.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-3766/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3766/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8838689948775912514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3171854272133879055.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3766/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3766/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh69741240211191200.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-529 in /w/workspace/edgexfoundry_edgex-go_PR-3766 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh9035152474753989972.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 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit d6a824c83185bc9301c1f503f9901c1d90cf650d Merge succeeded, producing d6a824c83185bc9301c1f503f9901c1d90cf650d Checking out Revision d6a824c83185bc9301c1f503f9901c1d90cf650d (PR-3766) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh4657807918577495850.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3766/head:refs/remotes/origin/PR-3766 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh6789119652431496960.key > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 Commit message: "feat(data): new API to search Readings by multiple resource names" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:13:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:13:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:13:26 ========================================================= 14:13:26 EdgeX Global Pipelines Version Info 14:13:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b7bc12fe09005458275216f0f5ec47cc7e7b4590 # timeout=10 14:13:27 ------------------- 14:13:27 stable info: 14:13:27 ------------------- 14:13:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:13:27 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 14:13:27 Message: update stable to v1.0.210 14:13:28 ------------------- 14:13:28 experimental info: 14:13:28 ------------------- 14:13:28 Commited By: **** collab-it+edgex@linuxfoundation.org 14:13:28 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 14:13:28 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3766 [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3766 [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3766 [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6a824c83185bc9301c1f503f9901c1d90cf650d [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6a824c [Pipeline] echo 14:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:13:28 provisioning config files... 14:13:28 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6506613175573936706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:28 ---> docker-login.sh 14:13:28 nexus3.edgexfoundry.org:10001 14:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:28 Configure a credential helper to remove this warning. See 14:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:28 14:13:28 Login Succeeded 14:13:28 nexus3.edgexfoundry.org:10002 14:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:29 Configure a credential helper to remove this warning. See 14:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:29 14:13:29 Login Succeeded 14:13:29 nexus3.edgexfoundry.org:10003 14:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:29 Configure a credential helper to remove this warning. See 14:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:29 14:13:29 Login Succeeded 14:13:29 nexus3.edgexfoundry.org:10004 14:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:29 Configure a credential helper to remove this warning. See 14:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:29 14:13:29 Login Succeeded 14:13:29 docker.io 14:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:29 Configure a credential helper to remove this warning. See 14:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:29 14:13:29 Login Succeeded 14:13:29 ---> docker-login.sh ends [Pipeline] } 14:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:30 ++ 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 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/core-command/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo core-command,cmd/core-command/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/core-data/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo core-data,cmd/core-data/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/core-metadata/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo core-metadata,cmd/core-metadata/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/security-bootstrapper/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/security-proxy-setup/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/security-secretstore-setup/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/support-notifications/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo support-notifications,cmd/support-notifications/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/support-scheduler/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo support-scheduler,cmd/support-scheduler/Dockerfile 14:13:30 + for file in '`ls cmd/**/Dockerfile`' 14:13:30 ++ dirname cmd/sys-mgmt-agent/Dockerfile 14:13:30 ++ cut -d/ -f2 14:13:30 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 14:13:30 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 14:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:13:30 14:13:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:13:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:13:31 latest: Pulling from edgex-devops/git-semver 14:13:31 a0d0a0d46f8b: Pulling fs layer 14:13:31 3e5f54012d9b: Pulling fs layer 14:13:31 4c7163046ea9: Pulling fs layer 14:13:31 0c2d73faf560: Pulling fs layer 14:13:31 0c2d73faf560: Waiting 14:13:31 3e5f54012d9b: Verifying Checksum 14:13:31 3e5f54012d9b: Download complete 14:13:31 a0d0a0d46f8b: Verifying Checksum 14:13:31 a0d0a0d46f8b: Download complete 14:13:31 0c2d73faf560: Verifying Checksum 14:13:31 0c2d73faf560: Download complete 14:13:31 4c7163046ea9: Verifying Checksum 14:13:31 4c7163046ea9: Download complete 14:13:31 a0d0a0d46f8b: Pull complete 14:13:31 3e5f54012d9b: Pull complete 14:13:31 4c7163046ea9: Pull complete 14:13:32 0c2d73faf560: Pull complete 14:13:32 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:13:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:13:32 prd-centos7-docker-4c-2g-529 does not seem to be running inside a container 14:13:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:13:32 $ docker top 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:32 [ssh-agent] Looking for ssh-agent implementation... 14:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:33 $ docker exec 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent 14:13:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIIIKg/agent.15 14:13:33 SSH_AGENT_PID=22 14:13:33 Running ssh-add (command line suppressed) 14:13:33 Identity added: /w/workspace/edgex-go/2@tmp/private_key_8681054583582523367.key (/w/workspace/edgex-go/2@tmp/private_key_8681054583582523367.key) 14:13:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:33 + git tag --points-at HEAD [Pipeline] } 14:13:33 $ docker exec --env ******** --env ******** 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent -k 14:13:33 unset SSH_AUTH_SOCK; 14:13:33 unset SSH_AGENT_PID; 14:13:33 echo Agent pid 22 killed; 14:13:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:33 [ssh-agent] Looking for ssh-agent implementation... 14:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:33 $ docker exec 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent 14:13:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBNLebC/agent.55 14:13:33 SSH_AGENT_PID=61 14:13:33 Running ssh-add (command line suppressed) 14:13:34 Identity added: /w/workspace/edgex-go/2@tmp/private_key_6336905087757195155.key (/w/workspace/edgex-go/2@tmp/private_key_6336905087757195155.key) 14:13:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:34 + git semver init 14:13:34 # -> Open(): unable to determine branch for HEAD 14:13:34 # $GIT_DIR = /w/workspace/edgex-go/2/.git 14:13:34 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 14:13:34 # $SEMVER_REMOTE_NAME = origin 14:13:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:13:34 # $SEMVER_USER_NAME = edgex-jenkins 14:13:34 # $SEMVER_BRANCH = PR-3766 14:13:34 # $SEMVER_TEMP = /tmp/semver-566234383 14:13:34 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 14:13:49 # '/tmp/semver-566234383' -> '/w/workspace/edgex-go/2/.semver' 14:13:49 # -> Force: false 14:13:49 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 14:13:49 $ docker exec --env ******** --env ******** 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent -k 14:13:49 unset SSH_AUTH_SOCK; 14:13:49 unset SSH_AGENT_PID; 14:13:49 echo Agent pid 61 killed; 14:13:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:49 + git semver [Pipeline] } 14:13:49 $ docker stop --time=1 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 14:13:51 $ docker rm -f 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:13:52 Stashed 1 file(s) [Pipeline] echo 14:13:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 14:13:52 ========================================================= 14:13:52 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:13:52 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:13:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:13:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:13:52 a0d0a0d46f8b: Already exists 14:13:52 31adcdaf11c8: Pulling fs layer 14:13:52 b8b176561691: Pulling fs layer 14:13:52 4527c011a84f: Pulling fs layer 14:13:52 5d74067f8e1e: Pulling fs layer 14:13:52 e0aca202a116: Pulling fs layer 14:13:52 3a43be97a3b4: Pulling fs layer 14:13:52 34cad66bf833: Pulling fs layer 14:13:52 b4e3c513aaa6: Pulling fs layer 14:13:52 5d74067f8e1e: Waiting 14:13:52 e0aca202a116: Waiting 14:13:52 3a43be97a3b4: Waiting 14:13:52 34cad66bf833: Waiting 14:13:52 b4e3c513aaa6: Waiting 14:13:52 b8b176561691: Verifying Checksum 14:13:52 b8b176561691: Download complete 14:13:52 31adcdaf11c8: Verifying Checksum 14:13:52 31adcdaf11c8: Download complete 14:13:52 5d74067f8e1e: Verifying Checksum 14:13:52 5d74067f8e1e: Download complete 14:13:52 e0aca202a116: Verifying Checksum 14:13:52 e0aca202a116: Download complete 14:13:52 3a43be97a3b4: Verifying Checksum 14:13:52 3a43be97a3b4: Download complete 14:13:53 34cad66bf833: Verifying Checksum 14:13:53 34cad66bf833: Download complete 14:13:53 31adcdaf11c8: Pull complete 14:13:53 b8b176561691: Pull complete 14:13:53 b4e3c513aaa6: Verifying Checksum 14:13:53 b4e3c513aaa6: Download complete 14:13:53 4527c011a84f: Verifying Checksum 14:13:53 4527c011a84f: Download complete 14:13:57 4527c011a84f: Pull complete 14:13:57 5d74067f8e1e: Pull complete 14:13:57 e0aca202a116: Pull complete 14:13:57 3a43be97a3b4: Pull complete 14:13:57 34cad66bf833: Pull complete 14:13:59 b4e3c513aaa6: Pull complete 14:13:59 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 14:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:13:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 14:14:00 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:14:00 WORKDIR /edgex 14:14:00 COPY go.mod . 14:14:00 RUN go mod download' 14:14:00 + docker build -t ci-base-image-x86_64 -f - . 14:14:01 Sending build context to Docker daemon 329.6MB 14:14:01 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:14:01 ---> 9f6097aaca64 14:14:01 Step 2/4 : WORKDIR /edgex 14:14:03 ---> Running in c8c97705133a 14:14:03 Removing intermediate container c8c97705133a 14:14:03 ---> a4c547604e70 14:14:03 Step 3/4 : COPY go.mod . 14:14:03 ---> b168a54169ae 14:14:03 Step 4/4 : RUN go mod download 14:14:03 ---> Running in c1274650ff7c 14:14:07 Still waiting to schedule task 14:14:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:14:35 Removing intermediate container c1274650ff7c 14:14:35 ---> 6a134d422e14 14:14:35 Successfully built 6a134d422e14 14:14:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:14:35 + docker inspect -f . ci-base-image-x86_64 14:14:35 . [Pipeline] withDockerContainer 14:14:35 prd-centos7-docker-4c-2g-529 does not seem to be running inside a container 14:14:36 $ 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-x86_64 cat 14:14:36 $ docker top 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:36 + go version 14:14:36 go version go1.16.8 linux/amd64 [Pipeline] } 14:14:36 $ docker stop --time=1 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a 14:14:37 $ docker rm -f 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:14:38 + docker inspect -f . ci-base-image-x86_64 14:14:38 . [Pipeline] withDockerContainer 14:14:38 prd-centos7-docker-4c-2g-529 does not seem to be running inside a container 14:14:38 $ 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-x86_64 cat 14:14:38 $ docker top 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 -eo pid,comm [Pipeline] { [Pipeline] echo 14:14:38 ========================================================= 14:14:38 [edgeXBuildGoParallel] Running Tests and Build... 14:14:38 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:14:39 + make test 14:14:39 go mod tidy 14:14:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:14:44 ? github.com/edgexfoundry/edgex-go [no test files] 14:15:02 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:15:04 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 14:15:04 internal/core/data/controller/http/reading.go:278:29: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames 14:15:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.052s coverage: 28.7% of statements 14:15:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.066s coverage: 98.5% of statements 14:15:13 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 14:15:13 internal/core/data/controller/http/reading.go:278: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames 14:15:13 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.048s coverage: 44.7% of statements 14:15:13 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 14:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.055s coverage: 84.4% of statements 14:15:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.279s coverage: 94.2% of statements 14:15:15 ok github.com/edgexfoundry/edgex-go/internal/io 0.055s coverage: 59.1% of statements 14:15:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.053s coverage: 60.0% of statements 14:15:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.073s coverage: 0.9% of statements 14:15:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements 14:15:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 21.7% of statements 14:15:17 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.044s coverage: 47.1% of statements 14:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.048s coverage: 79.5% of statements 14:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.040s coverage: 94.1% of statements 14:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements 14:15:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.050s coverage: 87.5% of statements 14:15:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.050s coverage: 94.4% of statements 14:15:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements 14:15:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.191s coverage: 82.5% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.080s coverage: 92.9% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.066s coverage: 58.8% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.115s coverage: 91.2% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.127s coverage: 64.4% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.242s coverage: 70.4% of statements 14:15:53 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.118s coverage: 43.4% of statements 14:15:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements 14:15:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.043s coverage: 84.8% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.061s coverage: 18.1% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.131s coverage: 92.0% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.040s coverage: 28.9% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements 14:16:01 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements 14:16:01 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 14:16:01 $ docker stop --time=1 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 14:16:02 $ docker rm -f 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 [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] } 14:16:03 Failed in branch amd64 14:17:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-532 in /w/workspace/edgexfoundry_edgex-go_PR-3766 [Pipeline] { [Pipeline] ws 14:17:44 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 14:17:44 The recommended git tool is: git 14:17:51 using credential edgex-jenkins-ssh 14:17:51 Cloning the remote Git repository 14:17:51 Cloning repository git@github.com:edgexfoundry/edgex-go.git 14:17:51 > git init /w/workspace/edgex-go/2 # timeout=10 14:17:51 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:17:51 > git --version # timeout=10 14:17:52 > git --version # 'git version 2.17.1' 14:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:18:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:18:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:18:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:18:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:18:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:18:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3766/head:refs/remotes/origin/PR-3766 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:18:09 Merging remotes/origin/main commit 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit d6a824c83185bc9301c1f503f9901c1d90cf650d 14:18:10 Merge succeeded, producing d6a824c83185bc9301c1f503f9901c1d90cf650d 14:18:10 Checking out Revision d6a824c83185bc9301c1f503f9901c1d90cf650d (PR-3766) 14:18:09 > git config core.sparsecheckout # timeout=10 14:18:09 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 14:18:09 > git remote # timeout=10 14:18:09 > git config --get remote.origin.url # timeout=10 14:18:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:18:09 > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 14:18:10 > git rev-parse HEAD^{commit} # timeout=10 14:18:10 > git config core.sparsecheckout # timeout=10 14:18:10 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 14:18:14 Commit message: "feat(data): new API to search Readings by multiple resource names" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:18:15 % Total % Received % Xferd Average Speed Time Time Time Current 14:18:15 Dload Upload Total Spent Left Speed 14:18:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 14:18:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:18:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:18:16 + sudo tee /etc/docker/daemon.new 14:18:16 { 14:18:16 "registry-mirrors": [ 14:18:16 "https://nexus3.edgexfoundry.org:10001" 14:18:16 ], 14:18:16 "bip": "10.250.0.254/24", 14:18:16 "hosts": [ 14:18:16 "tcp://0.0.0.0:5555", 14:18:16 "unix:///var/run/docker.sock" 14:18:16 ], 14:18:16 "mtu": 1458, 14:18:16 "selinux-enabled": true, 14:18:16 "seccomp-profile": "/etc/docker/seccomp.json" 14:18:16 } [Pipeline] sh 14:18:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:18:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:18:35 provisioning config files... 14:18:35 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config1293741111466106425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:36 ---> docker-login.sh 14:18:36 nexus3.edgexfoundry.org:10001 14:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:38 Configure a credential helper to remove this warning. See 14:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:38 14:18:38 Login Succeeded 14:18:38 nexus3.edgexfoundry.org:10002 14:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:38 Configure a credential helper to remove this warning. See 14:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:38 14:18:38 Login Succeeded 14:18:38 nexus3.edgexfoundry.org:10003 14:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:39 Configure a credential helper to remove this warning. See 14:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:39 14:18:39 Login Succeeded 14:18:39 nexus3.edgexfoundry.org:10004 14:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:39 Configure a credential helper to remove this warning. See 14:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:39 14:18:39 Login Succeeded 14:18:39 docker.io 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 ---> docker-login.sh ends [Pipeline] } 14:18:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:18:41 ========================================================= 14:18:41 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:18:41 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:18:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:18:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:18:42 552d1f2373af: Pulling fs layer 14:18:42 ea3f2d53f512: Pulling fs layer 14:18:42 9e70ebbbe112: Pulling fs layer 14:18:42 7a9cfe048b4a: Pulling fs layer 14:18:42 72dc09318566: Pulling fs layer 14:18:42 f4f7b4309257: Pulling fs layer 14:18:42 0ac9a79272e3: Pulling fs layer 14:18:42 b78e95d17946: Pulling fs layer 14:18:42 72dc09318566: Waiting 14:18:42 f4f7b4309257: Waiting 14:18:42 0ac9a79272e3: Waiting 14:18:42 b78e95d17946: Waiting 14:18:42 7a9cfe048b4a: Waiting 14:18:42 9e70ebbbe112: Verifying Checksum 14:18:42 9e70ebbbe112: Download complete 14:18:42 ea3f2d53f512: Verifying Checksum 14:18:42 ea3f2d53f512: Download complete 14:18:42 72dc09318566: Verifying Checksum 14:18:42 72dc09318566: Download complete 14:18:42 f4f7b4309257: Verifying Checksum 14:18:42 f4f7b4309257: Download complete 14:18:42 0ac9a79272e3: Verifying Checksum 14:18:42 0ac9a79272e3: Download complete 14:18:42 552d1f2373af: Verifying Checksum 14:18:42 552d1f2373af: Download complete 14:18:43 552d1f2373af: Pull complete 14:18:44 ea3f2d53f512: Pull complete 14:18:44 9e70ebbbe112: Pull complete 14:18:44 b78e95d17946: Verifying Checksum 14:18:44 b78e95d17946: Download complete 14:18:44 7a9cfe048b4a: Verifying Checksum 14:18:44 7a9cfe048b4a: Download complete 14:18:55 7a9cfe048b4a: Pull complete 14:18:55 72dc09318566: Pull complete 14:18:55 f4f7b4309257: Pull complete 14:18:55 0ac9a79272e3: Pull complete 14:19:00 b78e95d17946: Pull complete 14:19:00 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 14:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:19:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 14:19:00 + docker build -t ci-base-image-arm64 -f - . 14:19:00 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:19:00 WORKDIR /edgex 14:19:00 COPY go.mod . 14:19:00 RUN go mod download 14:19:02 Sending build context to Docker daemon 166.5MB 14:19:02 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:19:02 ---> 8b459fc5aaf0 14:19:02 Step 2/4 : WORKDIR /edgex 14:19:09 ---> Running in c95fdbdcd11b 14:19:09 Removing intermediate container c95fdbdcd11b 14:19:09 ---> 3b1af9f93f6b 14:19:09 Step 3/4 : COPY go.mod . 14:19:10 ---> 4b8641f1ed9b 14:19:10 Step 4/4 : RUN go mod download 14:19:10 ---> Running in bd0fab621de7 14:20:32 Removing intermediate container bd0fab621de7 14:20:32 ---> a0d0687e0a9e 14:20:32 Successfully built a0d0687e0a9e 14:20:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:20:32 + docker inspect -f . ci-base-image-arm64 14:20:32 . [Pipeline] withDockerContainer 14:20:33 prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 14:20:33 $ 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 14:20:34 $ docker top fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 -eo pid,comm [Pipeline] { [Pipeline] sh 14:20:35 + go version 14:20:35 go version go1.16.8 linux/arm64 [Pipeline] } 14:20:35 $ docker stop --time=1 fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 14:20:37 $ docker rm -f fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:20:38 + docker inspect -f . ci-base-image-arm64 14:20:38 . [Pipeline] withDockerContainer 14:20:38 prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 14:20:38 $ 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 14:20:40 $ docker top f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 -eo pid,comm [Pipeline] { [Pipeline] echo 14:20:40 ========================================================= 14:20:40 [edgeXBuildGoParallel] Running Tests and Build... 14:20:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:20:41 + make test 14:20:41 go mod tidy 14:20:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:21:09 ? github.com/edgexfoundry/edgex-go [no test files] 14:22:05 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:22:05 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 14:22:05 internal/core/data/controller/http/reading.go:278:29: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames 14:22:32 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 14:22:32 internal/core/data/controller/http/reading.go:278: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames 14:22:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.291s coverage: 28.7% of statements 14:22:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.326s coverage: 98.5% of statements 14:22:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.313s coverage: 44.7% of statements 14:22:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 14:22:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.218s coverage: 84.4% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.604s coverage: 94.2% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/io 0.213s coverage: 59.1% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.212s coverage: 60.0% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.301s coverage: 0.9% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.212s coverage: 58.8% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.188s coverage: 21.7% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.222s coverage: 47.1% of statements 14:22:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.184s coverage: 79.5% of statements 14:22:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.321s coverage: 94.1% of statements 14:22:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.244s coverage: 96.3% of statements 14:22:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.229s coverage: 87.5% of statements 14:22:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.200s coverage: 94.4% of statements 14:22:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.196s coverage: 44.8% of statements 14:23:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.524s coverage: 82.5% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.280s coverage: 92.9% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.187s coverage: 87.2% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.148s coverage: 100.0% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.231s coverage: 58.8% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.346s coverage: 80.0% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.305s coverage: 87.2% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.250s coverage: 85.4% of statements 14:23:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.736s coverage: 91.2% of statements 14:23:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.815s coverage: 64.4% of statements 14:23:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.168s coverage: 100.0% of statements 14:23:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.093s coverage: 89.4% of statements 14:23:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.064s coverage: 100.0% of statements 14:23:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements 14:23:13 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.047s coverage: 100.0% of statements 14:23:16 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.139s coverage: 70.4% of statements 14:23:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.713s coverage: 43.4% of statements 14:23:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.224s coverage: 89.5% of statements 14:23:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.231s coverage: 84.8% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.370s coverage: 18.1% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.568s coverage: 92.0% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.191s coverage: 63.2% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.397s coverage: 97.7% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.181s coverage: 28.9% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.186s coverage: 100.0% of statements 14:23:27 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.074s coverage: 96.9% of statements 14:23:27 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 14:23:27 $ docker stop --time=1 f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 14:23:29 $ docker rm -f f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:31 14:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:31 arm64: Pulling from edgex-lftools-log-publisher 14:23:31 448f6bf000e3: Pulling fs layer 14:23:31 f757da607395: Pulling fs layer 14:23:31 05883995daec: Pulling fs layer 14:23:31 8603b9c90790: Pulling fs layer 14:23:31 1560dd03e051: Pulling fs layer 14:23:31 27f5ce0e4adf: Pulling fs layer 14:23:31 c2d8d7efcc4b: Pulling fs layer 14:23:31 1560dd03e051: Waiting 14:23:31 8603b9c90790: Waiting 14:23:31 27f5ce0e4adf: Waiting 14:23:31 c2d8d7efcc4b: Waiting 14:23:32 f757da607395: Verifying Checksum 14:23:32 f757da607395: Download complete 14:23:32 8603b9c90790: Verifying Checksum 14:23:32 8603b9c90790: Download complete 14:23:32 05883995daec: Verifying Checksum 14:23:32 05883995daec: Download complete 14:23:32 1560dd03e051: Verifying Checksum 14:23:32 1560dd03e051: Download complete 14:23:32 27f5ce0e4adf: Download complete 14:23:32 448f6bf000e3: Verifying Checksum 14:23:32 448f6bf000e3: Download complete 14:23:35 c2d8d7efcc4b: Verifying Checksum 14:23:35 c2d8d7efcc4b: Download complete 14:23:36 448f6bf000e3: Pull complete 14:23:36 f757da607395: Pull complete 14:23:38 05883995daec: Pull complete 14:23:38 8603b9c90790: Pull complete 14:23:39 1560dd03e051: Pull complete 14:23:39 27f5ce0e4adf: Pull complete 14:23:55 c2d8d7efcc4b: Pull complete 14:23:55 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:23:55 prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 14:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:23:58 $ docker top b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:59 ---> job-cost.sh 14:23:59 lf-activate-venv: SKIPPING 14:23:59 INFO: No Stack... 14:24:00 INFO: Retrieving Pricing Info for: v3-standard-4 14:24:00 INFO: Archiving Costs [Pipeline] sh 14:24:01 + cut -d, -f6 14:24:01 + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock 14:24:01 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] 14:24:01 Resource [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] did not exist. Created. 14:24:01 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:24:02 + echo total: 0.10999999940395355 [Pipeline] stash 14:24:03 Stashed 1 file(s) [Pipeline] } 14:24:03 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:24:03 $ docker stop --time=1 b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc 14:24:04 $ docker rm -f b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:24:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:24:06 + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:24:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:24:06 ---> package-listing.sh 14:24:06 ++ facter osfamily 14:24:06 ++ tr '[:upper:]' '[:lower:]' 14:24:06 + OS_FAMILY=redhat 14:24:06 + workspace=/w/workspace/edgex-go/2 14:24:06 + START_PACKAGES=/tmp/packages_start.txt 14:24:06 + END_PACKAGES=/tmp/packages_end.txt 14:24:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:24:06 + PACKAGES=/tmp/packages_start.txt 14:24:06 + '[' /w/workspace/edgex-go/2 ']' 14:24:06 + PACKAGES=/tmp/packages_end.txt 14:24:06 + case "${OS_FAMILY}" in 14:24:06 + rpm -qa 14:24:07 + sort 14:24:07 + '[' -f /tmp/packages_start.txt ']' 14:24:07 + '[' -f /tmp/packages_end.txt ']' 14:24:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:24:07 + '[' /w/workspace/edgex-go/2 ']' 14:24:07 + mkdir -p /w/workspace/edgex-go/2/archives/ 14:24:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 14:24:07 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 14:24:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:08 14:24:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:24:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:09 latest: Pulling from edgex-lftools-log-publisher 14:24:09 b4d181a07f80: Pulling fs layer 14:24:09 a1111a8f2ec3: Pulling fs layer 14:24:09 ed53099fbce6: Pulling fs layer 14:24:09 dc539afda2c1: Pulling fs layer 14:24:09 77bc0d833cb6: Pulling fs layer 14:24:09 9065ff56babe: Pulling fs layer 14:24:09 d287ab97295c: Pulling fs layer 14:24:09 dc539afda2c1: Waiting 14:24:09 77bc0d833cb6: Waiting 14:24:09 9065ff56babe: Waiting 14:24:09 d287ab97295c: Waiting 14:24:09 a1111a8f2ec3: Verifying Checksum 14:24:09 a1111a8f2ec3: Download complete 14:24:09 dc539afda2c1: Verifying Checksum 14:24:09 dc539afda2c1: Download complete 14:24:09 ed53099fbce6: Verifying Checksum 14:24:09 ed53099fbce6: Download complete 14:24:09 9065ff56babe: Verifying Checksum 14:24:09 9065ff56babe: Download complete 14:24:09 77bc0d833cb6: Verifying Checksum 14:24:09 77bc0d833cb6: Download complete 14:24:09 b4d181a07f80: Verifying Checksum 14:24:09 b4d181a07f80: Download complete 14:24:09 d287ab97295c: Verifying Checksum 14:24:09 d287ab97295c: Download complete 14:24:10 b4d181a07f80: Pull complete 14:24:10 a1111a8f2ec3: Pull complete 14:24:11 ed53099fbce6: Pull complete 14:24:11 dc539afda2c1: Pull complete 14:24:11 77bc0d833cb6: Pull complete 14:24:11 9065ff56babe: Pull complete 14:24:17 d287ab97295c: Pull complete 14:24:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:24:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:24:17 prd-centos7-docker-4c-2g-529 does not seem to be running inside a container 14:24:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:24:19 $ docker top a8600c41405cb75f8ef997292a0e41749da88d73e819bef98ea4210e19b90d10 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:19 + touch /tmp/pre-build-complete [Pipeline] sh 14:24:20 + mkdir -p /var/log/sysstat [Pipeline] sh 14:24:20 + ls /var/log/sa-host 14:24:20 + sadf -c /var/log/sa-host/sa20 14:24:20 file_magic: OK 14:24:20 HZ: Using current value: 100 14:24:20 file_header: OK 14:24:20 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 14:24:20 Statistics: 14:24:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:24:20 File successfully converted to sysstat format version 12.0.3 14:24:20 + sadf -c /var/log/sa-host/sa30 14:24:20 file_magic: OK 14:24:20 HZ: Using current value: 100 14:24:20 file_header: OK 14:24:20 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 14:24:20 Statistics: 14:24:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:24:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:24:20 provisioning config files... 14:24:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config3286828035170848205tmp [Pipeline] { [Pipeline] echo 14:24:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:24:20 ---> create-netrc.sh [Pipeline] } 14:24:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:24:21 ---> python-tools-install.sh [Pipeline] echo 14:24:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:24:21 ---> sudo-logs.sh 14:24:21 Archiving 'sudo' log.. 14:24:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-529.novalocal: Name or service not known 14:24:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-529.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:24:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:24:22 ---> job-cost.sh 14:24:22 lf-activate-venv: SKIPPING 14:24:22 DEBUG: total: 0.10999999940395355 14:24:22 INFO: Retrieving Stack Cost... 14:24:22 INFO: Retrieving Pricing Info for: v3-standard-2 14:24:22 INFO: Archiving Costs [Pipeline] echo 14:24:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:24:22 ---> logs-deploy.sh 14:24:22 lf-activate-venv: SKIPPING 14:24:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3766/2 14:24:22 INFO: archiving workspace using pattern(s): 14:24:23 Archives upload complete. 14:24:23 INFO: archiving logs to Nexus