Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at 4edb777b9d60e900e8671f5ac6453e52ef440742 rather than f72980ee2e3b65de4e42a8ac343d76ba1da632ca Obtained Jenkinsfile from 4edb777b9d60e900e8671f5ac6453e52ef440742 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8750606686455659708.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-ssh8580751401613386223.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9134502171293091625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh716772944048030408.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7115390439202457790.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2159 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/8 [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/8 # 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/8@tmp/jenkins-gitclient-ssh7505539356539461424.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 f72980ee2e3b65de4e42a8ac343d76ba1da632ca Merge succeeded, producing 8596edf1b86d79e2306ed53b562f5ed92f9f4341 Checking out Revision 8596edf1b86d79e2306ed53b562f5ed92f9f4341 (PR-3577) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/8@tmp/jenkins-gitclient-ssh1905684571737580503.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/8@tmp/jenkins-gitclient-ssh9007997048140127900.key > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8596edf1b86d79e2306ed53b562f5ed92f9f4341 # timeout=10 Commit message: "Merge commit '4edb777b9d60e900e8671f5ac6453e52ef440742' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:51 ========================================================= 00:30:51 EdgeX Global Pipelines Version Info 00:30:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk af363eb9a958e705fbbb39980ea2fba7eb09370c # timeout=10 00:30:52 ------------------- 00:30:52 stable info: 00:30:52 ------------------- 00:30:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:52 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 00:30:52 Message: update stable to v1.0.196 00:30:53 ------------------- 00:30:53 experimental info: 00:30:53 ------------------- 00:30:53 Commited By: **** collab-it+edgex@linuxfoundation.org 00:30:53 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 00:30:53 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:30:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3577 [Pipeline] echo 00:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3577 [Pipeline] echo 00:30:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3577 [Pipeline] echo 00:30:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8596edf1b86d79e2306ed53b562f5ed92f9f4341 [Pipeline] echo 00:30:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8596edf [Pipeline] echo 00:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:54 provisioning config files... 00:30:54 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config2656114091565432743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:54 ---> docker-login.sh 00:30:54 nexus3.edgexfoundry.org:10001 00:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:54 Configure a credential helper to remove this warning. See 00:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:54 00:30:54 Login Succeeded 00:30:54 nexus3.edgexfoundry.org:10002 00:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:54 Configure a credential helper to remove this warning. See 00:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:54 00:30:54 Login Succeeded 00:30:54 nexus3.edgexfoundry.org:10003 00:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:54 Configure a credential helper to remove this warning. See 00:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:54 00:30:55 Login Succeeded 00:30:55 nexus3.edgexfoundry.org:10004 00:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:55 Configure a credential helper to remove this warning. See 00:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:55 00:30:55 Login Succeeded 00:30:55 docker.io 00:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:55 Configure a credential helper to remove this warning. See 00:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:55 00:30:55 Login Succeeded 00:30:55 ---> docker-login.sh ends [Pipeline] } 00:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:55 ++ 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 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/core-command/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo core-command,cmd/core-command/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/core-data/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo core-data,cmd/core-data/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/core-metadata/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo core-metadata,cmd/core-metadata/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/security-bootstrapper/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/security-proxy-setup/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/support-notifications/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo support-notifications,cmd/support-notifications/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/support-scheduler/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:30:55 + for file in '`ls cmd/**/Dockerfile`' 00:30:55 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:30:55 ++ cut -d/ -f2 00:30:55 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:30:55 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 00:30:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:56 00:30:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:56 latest: Pulling from edgex-devops/git-semver 00:30:56 31603596830f: Pulling fs layer 00:30:56 b6dc333f4379: Pulling fs layer 00:30:56 3d9ef1400e77: Pulling fs layer 00:30:56 fd332fbdc1db: Pulling fs layer 00:30:56 fd332fbdc1db: Waiting 00:30:56 b6dc333f4379: Verifying Checksum 00:30:56 b6dc333f4379: Download complete 00:30:57 31603596830f: Verifying Checksum 00:30:57 31603596830f: Download complete 00:30:57 fd332fbdc1db: Verifying Checksum 00:30:57 fd332fbdc1db: Download complete 00:30:57 3d9ef1400e77: Verifying Checksum 00:30:57 3d9ef1400e77: Download complete 00:30:57 31603596830f: Pull complete 00:30:57 b6dc333f4379: Pull complete 00:30:57 3d9ef1400e77: Pull complete 00:30:58 fd332fbdc1db: Pull complete 00:30:58 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 00:30:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:58 prd-centos7-docker-4c-2g-2159 does not seem to be running inside a container 00:30:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 00:31:02 $ docker top a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:02 [ssh-agent] Looking for ssh-agent implementation... 00:31:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:02 $ docker exec a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 ssh-agent 00:31:02 SSH_AUTH_SOCK=/tmp/ssh-JYDet1kgFW5I/agent.14 00:31:02 SSH_AGENT_PID=20 00:31:02 Running ssh-add (command line suppressed) 00:31:02 Identity added: /w/workspace/edgex-go/8@tmp/private_key_8482128176014967956.key (/w/workspace/edgex-go/8@tmp/private_key_8482128176014967956.key) 00:31:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:02 + git tag --points-at HEAD [Pipeline] } 00:31:02 $ docker exec --env ******** --env ******** a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 ssh-agent -k 00:31:03 unset SSH_AUTH_SOCK; 00:31:03 unset SSH_AGENT_PID; 00:31:03 echo Agent pid 20 killed; 00:31:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:03 [ssh-agent] Looking for ssh-agent implementation... 00:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:03 $ docker exec a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 ssh-agent 00:31:03 SSH_AUTH_SOCK=/tmp/ssh-0osDyLOtTaqR/agent.55 00:31:03 SSH_AGENT_PID=61 00:31:03 Running ssh-add (command line suppressed) 00:31:03 Identity added: /w/workspace/edgex-go/8@tmp/private_key_2919472916480748488.key (/w/workspace/edgex-go/8@tmp/private_key_2919472916480748488.key) 00:31:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:03 + git semver init 00:31:03 # -> Open(): unable to determine branch for HEAD 00:31:03 # $GIT_DIR = /w/workspace/edgex-go/8/.git 00:31:03 # $GIT_WORK_TREE = /w/workspace/edgex-go/8 00:31:03 # $SEMVER_REMOTE_NAME = origin 00:31:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:31:03 # $SEMVER_USER_NAME = edgex-jenkins 00:31:03 # $SEMVER_BRANCH = PR-3577 00:31:03 # $SEMVER_TEMP = /tmp/semver-631647761 00:31:03 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:31:18 # '/tmp/semver-631647761' -> '/w/workspace/edgex-go/8/.semver' 00:31:18 # -> Force: false 00:31:18 # $SEMVER_DIR = /w/workspace/edgex-go/8/.semver [Pipeline] } 00:31:18 $ docker exec --env ******** --env ******** a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 ssh-agent -k 00:31:18 unset SSH_AUTH_SOCK; 00:31:18 unset SSH_AGENT_PID; 00:31:18 echo Agent pid 61 killed; 00:31:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:19 + git semver [Pipeline] } 00:31:19 $ docker stop --time=1 a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 00:31:23 $ docker rm -f a319955c4a9204be912710c84fe64bf545ed08c02d003df2c5b6dd7e65eefbd6 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:24 Stashed 1 file(s) [Pipeline] echo 00:31:24 [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 00:31:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:31:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:31:25 + sudo service docker restart 00:31:25 + true 00:31:25 Redirecting to /bin/systemctl restart docker.service 00:31:39 Still waiting to schedule task 00:31:39 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2156’ [Pipeline] echo 00:31:43 ========================================================= 00:31:43 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:31:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:31:43 + 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 . 00:31:45 Sending build context to Docker daemon 328.4MB 00:31:45 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 00:31:45 Step 2/6 : FROM ${BASE} 00:31:45 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:45 540db60ca938: Pulling fs layer 00:31:45 adcc1eea9eea: Pulling fs layer 00:31:45 4c4ab2625f07: Pulling fs layer 00:31:45 0510c868ecb4: Pulling fs layer 00:31:45 afea3b2eda06: Pulling fs layer 00:31:45 7809a108b3ef: Pulling fs layer 00:31:45 f706445af74f: Pulling fs layer 00:31:45 afea3b2eda06: Waiting 00:31:45 7809a108b3ef: Waiting 00:31:45 f706445af74f: Waiting 00:31:45 0510c868ecb4: Waiting 00:31:45 4c4ab2625f07: Verifying Checksum 00:31:45 4c4ab2625f07: Download complete 00:31:45 adcc1eea9eea: Verifying Checksum 00:31:45 adcc1eea9eea: Download complete 00:31:45 afea3b2eda06: Verifying Checksum 00:31:45 afea3b2eda06: Download complete 00:31:45 540db60ca938: Verifying Checksum 00:31:45 540db60ca938: Download complete 00:31:45 7809a108b3ef: Verifying Checksum 00:31:45 7809a108b3ef: Download complete 00:31:45 540db60ca938: Pull complete 00:31:45 adcc1eea9eea: Pull complete 00:31:45 4c4ab2625f07: Pull complete 00:31:47 f706445af74f: Verifying Checksum 00:31:47 f706445af74f: Download complete 00:31:49 0510c868ecb4: Verifying Checksum 00:31:49 0510c868ecb4: Download complete 00:31:52 0510c868ecb4: Pull complete 00:31:52 afea3b2eda06: Pull complete 00:31:52 7809a108b3ef: Pull complete 00:31:55 f706445af74f: Pull complete 00:31:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:31:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:31:55 ---> b068be0155e3 00:31:55 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 00:32:00 ---> Running in 30c949e963ec 00:32:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:32:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:32:02 (1/12) Installing libmagic (5.39-r0) 00:32:03 (2/12) Installing file (5.39-r0) 00:32:03 (3/12) Installing libc-dev (0.7.2-r3) 00:32:03 (4/12) Installing g++ (10.2.1_pre1-r3) 00:32:08 (5/12) Installing fortify-headers (1.1-r0) 00:32:08 (6/12) Installing patch (2.7.6-r7) 00:32:08 (7/12) Installing build-base (0.5-r2) 00:32:08 (8/12) Installing libsodium (1.0.18-r0) 00:32:08 (9/12) Installing pkgconf (1.7.3-r0) 00:32:08 (10/12) Installing libsodium-dev (1.0.18-r0) 00:32:09 (11/12) Installing libzmq (4.3.3-r1) 00:32:09 (12/12) Installing zeromq-dev (4.3.3-r1) 00:32:09 Executing busybox-1.32.1-r6.trigger 00:32:09 OK: 219 MiB in 52 packages 00:32:11 Removing intermediate container 30c949e963ec 00:32:11 ---> a1191b65dc00 00:32:11 Step 4/6 : WORKDIR /edgex-go 00:32:11 ---> Running in 50ef22995b83 00:32:11 Removing intermediate container 50ef22995b83 00:32:11 ---> 43da953423f2 00:32:11 Step 5/6 : COPY go.mod . 00:32:11 ---> e17801035d60 00:32:11 Step 6/6 : RUN go mod download 00:32:11 ---> Running in 40aa2872bb4b 00:32:23 Removing intermediate container 40aa2872bb4b 00:32:23 ---> cde7d5b87152 00:32:23 Successfully built cde7d5b87152 00:32:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:23 + docker inspect -f . ci-base-image-x86_64 00:32:23 . [Pipeline] withDockerContainer 00:32:23 prd-centos7-docker-4c-2g-2159 does not seem to be running inside a container 00:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 00:32:24 $ docker top d4d7c15e674451afeb80799b0f269188fb882559acfb20f76ed62c3f2bf7c667 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:24 + go version 00:32:24 go version go1.16.3 linux/amd64 [Pipeline] } 00:32:24 $ docker stop --time=1 d4d7c15e674451afeb80799b0f269188fb882559acfb20f76ed62c3f2bf7c667 00:32:25 $ docker rm -f d4d7c15e674451afeb80799b0f269188fb882559acfb20f76ed62c3f2bf7c667 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:26 + docker inspect -f . ci-base-image-x86_64 00:32:26 . [Pipeline] withDockerContainer 00:32:26 prd-centos7-docker-4c-2g-2159 does not seem to be running inside a container 00:32:26 $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 00:32:26 $ docker top e4dc68dfc74740d4490c578b06827ff30a187ecbc264fcdb132bc0a26c6c3041 -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:26 ========================================================= 00:32:26 [edgeXBuildGoParallel] Running Tests and Build... 00:32:26 ========================================================= [Pipeline] sh 00:32:27 + go mod tidy [Pipeline] sh 00:32:27 + make test 00:32:27 go mod tidy 00:32:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:32:32 ? github.com/edgexfoundry/edgex-go [no test files] 00:32:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:32:53 # github.com/edgexfoundry/edgex-go/internal/core/data 00:32:53 internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 00:33:01 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.043s coverage: 28.7% of statements 00:33:02 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.060s coverage: 100.0% of statements 00:33:03 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 00:33:03 internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 00:33:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.059s coverage: 50.5% of statements 00:33:03 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 00:33:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.042s coverage: 78.9% of statements 00:33:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.048s coverage: 81.2% of statements 00:33:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.227s coverage: 95.1% of statements 00:33:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.056s coverage: 60.0% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.050s coverage: 0.8% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.039s coverage: 58.8% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.047s coverage: 22.0% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.042s coverage: 47.1% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.050s coverage: 79.5% of statements 00:33:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.041s coverage: 94.1% of statements 00:33:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.048s coverage: 96.3% of statements 00:33:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements 00:33:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.049s coverage: 94.4% of statements 00:33:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.042s coverage: 44.8% of statements 00:33:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.206s coverage: 81.8% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.075s coverage: 92.9% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.056s coverage: 87.2% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.039s coverage: 100.0% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 58.8% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.051s coverage: 80.0% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.061s coverage: 87.2% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 85.4% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.2% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.126s coverage: 64.4% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.047s coverage: 100.0% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 91.3% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.026s coverage: 73.7% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements 00:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.212s coverage: 66.9% of statements 00:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.156s coverage: 43.6% of statements 00:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.046s coverage: 89.5% of statements 00:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.051s coverage: 84.8% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.061s coverage: 19.3% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.126s coverage: 91.9% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 62.7% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.084s coverage: 97.6% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.043s coverage: 28.9% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements 00:33:50 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements 00:33:50 make: *** [Makefile:98: test] Error 2 [Pipeline] } 00:33:50 $ docker stop --time=1 e4dc68dfc74740d4490c578b06827ff30a187ecbc264fcdb132bc0a26c6c3041 00:33:51 $ docker rm -f e4dc68dfc74740d4490c578b06827ff30a187ecbc264fcdb132bc0a26c6c3041 [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] } 00:33:52 Failed in branch amd64 00:35:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2163 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws 00:35:13 Running in /w/workspace/edgex-go/8 [Pipeline] { [Pipeline] checkout 00:35:13 The recommended git tool is: git 00:35:18 using credential edgex-jenkins-ssh 00:35:18 Cloning the remote Git repository 00:35:18 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:35:18 > git init /w/workspace/edgex-go/8 # timeout=10 00:35:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:35:18 > git --version # timeout=10 00:35:18 > git --version # 'git version 2.17.1' 00:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:34 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:35:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:34 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:35:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:35:34 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:35:35 Merging remotes/origin/main commit 4edb777b9d60e900e8671f5ac6453e52ef440742 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca 00:35:36 Merge succeeded, producing 669b9fcbb0b5354a0491d83ac05272a27da07e96 00:35:36 Checking out Revision 669b9fcbb0b5354a0491d83ac05272a27da07e96 (PR-3577) 00:35:35 > git config core.sparsecheckout # timeout=10 00:35:35 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 00:35:35 > git remote # timeout=10 00:35:35 > git config --get remote.origin.url # timeout=10 00:35:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:35 > git merge 4edb777b9d60e900e8671f5ac6453e52ef440742 # timeout=10 00:35:36 > git rev-parse HEAD^{commit} # timeout=10 00:35:36 > git config core.sparsecheckout # timeout=10 00:35:36 > git checkout -f 669b9fcbb0b5354a0491d83ac05272a27da07e96 # timeout=10 00:35:40 Commit message: "Merge commit '4edb777b9d60e900e8671f5ac6453e52ef440742' into HEAD" 00:35:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:35:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:35:40 > git rev-list --no-walk af363eb9a958e705fbbb39980ea2fba7eb09370c # timeout=10 00:35:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:35:42 + sudo service docker restart+ 00:35:42 true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:00 provisioning config files... 00:36:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/8@tmp/config4231217300252572477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:01 ---> docker-login.sh 00:36:01 nexus3.edgexfoundry.org:10001 00:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:02 Configure a credential helper to remove this warning. See 00:36:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:02 00:36:02 Login Succeeded 00:36:02 nexus3.edgexfoundry.org:10002 00:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:03 Configure a credential helper to remove this warning. See 00:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:03 00:36:03 Login Succeeded 00:36:03 nexus3.edgexfoundry.org:10003 00:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:03 Configure a credential helper to remove this warning. See 00:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:03 00:36:03 Login Succeeded 00:36:03 nexus3.edgexfoundry.org:10004 00:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:04 Configure a credential helper to remove this warning. See 00:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:04 00:36:04 Login Succeeded 00:36:04 docker.io 00:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:05 Configure a credential helper to remove this warning. See 00:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:05 00:36:05 Login Succeeded 00:36:05 ---> docker-login.sh ends [Pipeline] } 00:36:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:36:05 ========================================================= 00:36:05 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:36:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:36:05 + 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 . 00:36:07 Sending build context to Docker daemon 165.8MB 00:36:07 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 00:36:07 Step 2/6 : FROM ${BASE} 00:36:07 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:36:07 595b0fe564bb: Pulling fs layer 00:36:07 3088b5b3c5c0: Pulling fs layer 00:36:07 5b7225fbf94c: Pulling fs layer 00:36:07 ba82ee9f976e: Pulling fs layer 00:36:07 506bd15cee9f: Pulling fs layer 00:36:07 75a0a4a0db45: Pulling fs layer 00:36:07 618dc40b7e24: Pulling fs layer 00:36:07 ba82ee9f976e: Waiting 00:36:07 75a0a4a0db45: Waiting 00:36:07 618dc40b7e24: Waiting 00:36:07 5b7225fbf94c: Download complete 00:36:07 3088b5b3c5c0: Verifying Checksum 00:36:07 3088b5b3c5c0: Download complete 00:36:08 506bd15cee9f: Verifying Checksum 00:36:08 506bd15cee9f: Download complete 00:36:08 595b0fe564bb: Verifying Checksum 00:36:08 595b0fe564bb: Download complete 00:36:08 75a0a4a0db45: Verifying Checksum 00:36:08 75a0a4a0db45: Download complete 00:36:08 595b0fe564bb: Pull complete 00:36:09 3088b5b3c5c0: Pull complete 00:36:10 5b7225fbf94c: Pull complete 00:36:10 618dc40b7e24: Verifying Checksum 00:36:10 618dc40b7e24: Download complete 00:36:11 ba82ee9f976e: Download complete 00:36:21 ba82ee9f976e: Pull complete 00:36:21 506bd15cee9f: Pull complete 00:36:22 75a0a4a0db45: Pull complete 00:36:27 618dc40b7e24: Pull complete 00:36:27 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 00:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:36:27 ---> a36622ca3599 00:36:27 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 00:36:28 ---> Running in 11c94b3ab6ce 00:36:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:36:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:36:31 (1/12) Installing libmagic (5.39-r0) 00:36:32 (2/12) Installing file (5.39-r0) 00:36:32 (3/12) Installing libc-dev (0.7.2-r3) 00:36:32 (4/12) Installing g++ (10.2.1_pre1-r3) 00:36:45 (5/12) Installing fortify-headers (1.1-r0) 00:36:45 (6/12) Installing patch (2.7.6-r7) 00:36:45 (7/12) Installing build-base (0.5-r2) 00:36:45 (8/12) Installing libsodium (1.0.18-r0) 00:36:45 (9/12) Installing pkgconf (1.7.3-r0) 00:36:45 (10/12) Installing libsodium-dev (1.0.18-r0) 00:36:45 (11/12) Installing libzmq (4.3.3-r1) 00:36:45 (12/12) Installing zeromq-dev (4.3.3-r1) 00:36:45 Executing busybox-1.32.1-r6.trigger 00:36:45 OK: 218 MiB in 52 packages 00:36:49 Removing intermediate container 11c94b3ab6ce 00:36:49 ---> 38aa7f9ba6d4 00:36:49 Step 4/6 : WORKDIR /edgex-go 00:36:49 ---> Running in 975bbb07160f 00:36:49 Removing intermediate container 975bbb07160f 00:36:49 ---> f750f4806b69 00:36:49 Step 5/6 : COPY go.mod . 00:36:50 ---> 854274fe577b 00:36:50 Step 6/6 : RUN go mod download 00:36:50 ---> Running in 7f49fae4547b 00:37:23 Removing intermediate container 7f49fae4547b 00:37:23 ---> baf3d8149700 00:37:23 Successfully built baf3d8149700 00:37:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:37:23 + docker inspect -f . ci-base-image-arm64 00:37:23 . [Pipeline] withDockerContainer 00:37:23 prd-ubuntu18.04-docker-arm64-4c-16g-2163 does not seem to be running inside a container 00:37:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 00:37:25 $ docker top 75c6b0c7ba53e5278ba2c0248a9b3ac8ef67fabfa7cc4fb9d6893c584f44ddff -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:26 + go version 00:37:26 go version go1.16.5 linux/arm64 [Pipeline] } 00:37:26 $ docker stop --time=1 75c6b0c7ba53e5278ba2c0248a9b3ac8ef67fabfa7cc4fb9d6893c584f44ddff 00:37:28 $ docker rm -f 75c6b0c7ba53e5278ba2c0248a9b3ac8ef67fabfa7cc4fb9d6893c584f44ddff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:37:29 + docker inspect -f . ci-base-image-arm64 00:37:29 . [Pipeline] withDockerContainer 00:37:29 prd-ubuntu18.04-docker-arm64-4c-16g-2163 does not seem to be running inside a container 00:37:29 $ 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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@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 00:37:31 $ docker top 18894db094edf799178ef15e84475292fdf6ac91b07d33f9020624977a0c1573 -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:31 ========================================================= 00:37:31 [edgeXBuildGoParallel] Running Tests and Build... 00:37:31 ========================================================= [Pipeline] sh 00:37:32 + go mod tidy [Pipeline] sh 00:37:33 + make test 00:37:33 go mod tidy 00:37:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:38:00 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:57 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:38:57 # github.com/edgexfoundry/edgex-go/internal/core/data 00:38:57 internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 00:39:24 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 00:39:24 internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 00:39:24 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.157s coverage: 28.7% of statements 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.305s coverage: 100.0% of statements 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.306s coverage: 50.5% of statements 00:39:25 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 00:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.193s coverage: 78.9% of statements 00:39:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.187s coverage: 81.2% of statements 00:39:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.495s coverage: 95.1% of statements 00:39:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.209s coverage: 60.0% of statements 00:39:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.281s coverage: 0.8% of statements 00:39:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.140s coverage: 58.8% of statements 00:39:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.336s coverage: 22.0% of statements 00:39:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements 00:39:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.203s coverage: 79.5% of statements 00:39:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.159s coverage: 94.1% of statements 00:39:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.177s coverage: 96.3% of statements 00:39:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.253s coverage: 87.5% of statements 00:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.185s coverage: 94.4% of statements 00:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.184s coverage: 44.8% of statements 00:39:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.508s coverage: 81.8% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.272s coverage: 92.9% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.174s coverage: 87.2% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.149s coverage: 100.0% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.182s coverage: 58.8% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.206s coverage: 80.0% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.235s coverage: 87.2% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.251s coverage: 85.4% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.284s coverage: 91.2% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.637s coverage: 64.4% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.155s coverage: 100.0% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.047s coverage: 100.0% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.059s coverage: 73.7% of statements 00:40:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.088s coverage: 100.0% of statements 00:40:05 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.996s coverage: 66.9% of statements 00:40:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.739s coverage: 43.6% of statements 00:40:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.193s coverage: 89.5% of statements 00:40:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.326s coverage: 84.8% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.228s coverage: 19.3% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.568s coverage: 91.9% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.220s coverage: 62.7% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.384s coverage: 97.6% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.162s coverage: 28.9% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.177s coverage: 100.0% of statements 00:40:15 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 95.4% of statements 00:40:15 make: *** [Makefile:98: test] Error 2 [Pipeline] } 00:40:15 $ docker stop --time=1 18894db094edf799178ef15e84475292fdf6ac91b07d33f9020624977a0c1573 00:40:17 $ docker rm -f 18894db094edf799178ef15e84475292fdf6ac91b07d33f9020624977a0c1573 [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 00:40:19 ---> job-cost.sh 00:40:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D94a 00:40:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:42:35 lf-activate-venv(): INFO: Adding /tmp/venv-D94a/bin to PATH 00:42:35 INFO: No Stack... 00:42:35 INFO: Retrieving Pricing Info for: v2-standard-4 00:42:35 INFO: Archiving Costs [Pipeline] sh 00:42:35 + + cutcat -d, /w/workspace/edgex-go/8/archives/cost.csv -f6 00:42:35 [Pipeline] lock 00:42:35 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3577-8-stack-cost] 00:42:35 Resource [jenkins-edgexfoundry-edgex-go-PR-3577-8-stack-cost] did not exist. Created. 00:42:35 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3577-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:42:36 + echo total: 0.18000000715255737 [Pipeline] stash 00:42:36 Stashed 1 file(s) [Pipeline] } 00:42:36 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3577-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:42:37 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 00:42:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:42:39 ---> package-listing.sh 00:42:39 ++ facter osfamily 00:42:39 ++ tr '[:upper:]' '[:lower:]' 00:42:39 + OS_FAMILY=redhat 00:42:39 + workspace=/w/workspace/edgex-go/8 00:42:39 + START_PACKAGES=/tmp/packages_start.txt 00:42:39 + END_PACKAGES=/tmp/packages_end.txt 00:42:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:42:39 + PACKAGES=/tmp/packages_start.txt 00:42:39 + '[' /w/workspace/edgex-go/8 ']' 00:42:39 + PACKAGES=/tmp/packages_end.txt 00:42:39 + case "${OS_FAMILY}" in 00:42:39 + sort 00:42:39 + rpm -qa 00:42:40 + '[' -f /tmp/packages_start.txt ']' 00:42:40 + '[' -f /tmp/packages_end.txt ']' 00:42:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:42:40 + '[' /w/workspace/edgex-go/8 ']' 00:42:40 + mkdir -p /w/workspace/edgex-go/8/archives/ 00:42:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/8/archives/ [Pipeline] echo 00:42:40 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/8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:42:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:41 00:42:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:42:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:41 alpine: Pulling from edgex-lftools-log-publisher 00:42:41 df20fa9351a1: Pulling fs layer 00:42:41 36b3adc4ff6f: Pulling fs layer 00:42:41 8ad3a11d3b57: Pulling fs layer 00:42:41 46f8f816bc3b: Pulling fs layer 00:42:41 93b61091891f: Pulling fs layer 00:42:41 93b9cdb0e59b: Pulling fs layer 00:42:41 5e14af77c1be: Pulling fs layer 00:42:41 01666e4c0597: Pulling fs layer 00:42:41 aa168da1d23b: Pulling fs layer 00:42:41 93b9cdb0e59b: Waiting 00:42:41 5e14af77c1be: Waiting 00:42:41 46f8f816bc3b: Waiting 00:42:41 01666e4c0597: Waiting 00:42:41 aa168da1d23b: Waiting 00:42:41 93b61091891f: Waiting 00:42:41 36b3adc4ff6f: Verifying Checksum 00:42:41 36b3adc4ff6f: Download complete 00:42:41 46f8f816bc3b: Verifying Checksum 00:42:41 46f8f816bc3b: Download complete 00:42:41 df20fa9351a1: Verifying Checksum 00:42:41 df20fa9351a1: Download complete 00:42:41 93b9cdb0e59b: Verifying Checksum 00:42:41 93b9cdb0e59b: Download complete 00:42:41 5e14af77c1be: Verifying Checksum 00:42:41 5e14af77c1be: Download complete 00:42:41 93b61091891f: Verifying Checksum 00:42:41 93b61091891f: Download complete 00:42:41 01666e4c0597: Verifying Checksum 00:42:41 01666e4c0597: Download complete 00:42:41 8ad3a11d3b57: Verifying Checksum 00:42:41 8ad3a11d3b57: Download complete 00:42:42 df20fa9351a1: Pull complete 00:42:42 36b3adc4ff6f: Pull complete 00:42:43 8ad3a11d3b57: Pull complete 00:42:43 46f8f816bc3b: Pull complete 00:42:43 93b61091891f: Pull complete 00:42:43 aa168da1d23b: Verifying Checksum 00:42:43 aa168da1d23b: Download complete 00:42:43 93b9cdb0e59b: Pull complete 00:42:43 5e14af77c1be: Pull complete 00:42:43 01666e4c0597: Pull complete 00:42:48 aa168da1d23b: Pull complete 00:42:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:42:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:42:48 prd-centos7-docker-4c-2g-2159 does not seem to be running inside a container 00:42:48 $ 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/8/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/8 -v /w/workspace/edgex-go/8:/w/workspace/edgex-go/8:rw,z -v /w/workspace/edgex-go/8@tmp:/w/workspace/edgex-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:42:50 $ docker top dadf8b9f188a9023682451fb73c0b4a9b73a9d95f633028b2e42a4aaa8f96b92 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:50 + touch /tmp/pre-build-complete [Pipeline] sh 00:42:51 + mkdir -p /var/log/sa [Pipeline] sh 00:42:51 + ls /var/log/sa-host 00:42:51 + sadf -c /var/log/sa-host/sa05 00:42:51 file_magic: OK 00:42:51 HZ: Using current value: 100 00:42:51 file_header: OK 00:42:51 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 00:42:51 Statistics: 00:42:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:42:51 File successfully converted to sysstat format version 12.2.1 00:42:51 + sadf -c /var/log/sa-host/sa08 00:42:51 file_magic: OK 00:42:51 HZ: Using current value: 100 00:42:51 file_header: OK 00:42:51 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 00:42:51 Statistics: 00:42:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:42:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:51 provisioning config files... 00:42:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/8@tmp/config9100517496942442195tmp [Pipeline] { [Pipeline] echo 00:42:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:42:52 ---> create-netrc.sh [Pipeline] } 00:42:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:42:53 ---> python-tools-install.sh [Pipeline] echo 00:42:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:42:53 ---> sudo-logs.sh 00:42:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:42:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:42:53 ---> job-cost.sh 00:42:53 lf-activate-venv: SKIPPING 00:42:53 DEBUG: total: 0.18000000715255737 00:42:53 INFO: Retrieving Stack Cost... 00:42:54 INFO: Retrieving Pricing Info for: v3-standard-2 00:42:55 INFO: Archiving Costs [Pipeline] echo 00:42:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:42:55 ---> logs-deploy.sh 00:42:55 lf-activate-venv: SKIPPING 00:42:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3577/8 00:42:55 INFO: archiving workspace using pattern(s): 00:42:56 Archives upload complete. 00:42:56 INFO: archiving logs to Nexus