Pull request #3440 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e19b1d60ddd317c2f741079bf586fde4f7f4dff+0a24aac118fe9f9c77ac4216f8244fb603d4f0cd (82e4090e66fe5d0b99aebe0e1e0c7512ddde54f7) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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/v1, 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- DOCKER_IMAGE_NAME_SUFFIX: -go 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/v1 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 ‘prd-centos7-docker-4c-2g-3911’ Running on prd-centos7-docker-4c-2g-3914 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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/4 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Merging remotes/origin/master commit 0a24aac118fe9f9c77ac4216f8244fb603d4f0cd into PR head commit 0e19b1d60ddd317c2f741079bf586fde4f7f4dff Merge succeeded, producing 0e19b1d60ddd317c2f741079bf586fde4f7f4dff Checking out Revision 0e19b1d60ddd317c2f741079bf586fde4f7f4dff (PR-3440) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e19b1d60ddd317c2f741079bf586fde4f7f4dff # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0a24aac118fe9f9c77ac4216f8244fb603d4f0cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e19b1d60ddd317c2f741079bf586fde4f7f4dff # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:34:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:34:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:34:39 ========================================================= 02:34:39 EdgeX Global Pipelines Version Info 02:34:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cb3bd63b9511f9b39efe2369f6d87179b68d6aa1 # timeout=10 02:34:42 ------------------- 02:34:42 stable info: 02:34:42 ------------------- 02:34:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:34:42 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 02:34:42 Message: update stable to v1.0.191 02:34:43 ------------------- 02:34:43 experimental info: 02:34:43 ------------------- 02:34:43 Commited By: **** collab-it+edgex@linuxfoundation.org 02:34:43 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 02:34:43 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3440 [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3440 [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3440 [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e19b1d60ddd317c2f741079bf586fde4f7f4dff [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e19b1d [Pipeline] echo 02:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:34:44 provisioning config files... 02:34:44 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config8666202813771808246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:44 ---> docker-login.sh 02:34:44 nexus3.edgexfoundry.org:10001 02:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:45 Configure a credential helper to remove this warning. See 02:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:45 02:34:45 Login Succeeded 02:34:45 nexus3.edgexfoundry.org:10002 02:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:45 Configure a credential helper to remove this warning. See 02:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:45 02:34:45 Login Succeeded 02:34:45 nexus3.edgexfoundry.org:10003 02:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:45 Configure a credential helper to remove this warning. See 02:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:45 02:34:45 Login Succeeded 02:34:45 nexus3.edgexfoundry.org:10004 02:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:46 Configure a credential helper to remove this warning. See 02:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:46 02:34:46 Login Succeeded 02:34:46 docker.io 02:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:46 Configure a credential helper to remove this warning. See 02:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:46 02:34:46 Login Succeeded 02:34:46 ---> docker-login.sh ends [Pipeline] } 02:34:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:34:47 ++ 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 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/core-command/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo core-command,cmd/core-command/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/core-data/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo core-data,cmd/core-data/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/core-metadata/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo core-metadata,cmd/core-metadata/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/security-bootstrapper/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/security-proxy-setup/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/security-secretstore-setup/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/support-notifications/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo support-notifications,cmd/support-notifications/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/support-scheduler/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo support-scheduler,cmd/support-scheduler/Dockerfile 02:34:47 + for file in '`ls cmd/**/Dockerfile`' 02:34:47 ++ dirname cmd/sys-mgmt-agent/Dockerfile 02:34:47 ++ cut -d/ -f2 02:34:47 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 02:34:47 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:34:48 02:34:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:34:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:34:48 latest: Pulling from edgex-devops/git-semver 02:34:48 31603596830f: Pulling fs layer 02:34:48 54011a49482f: Pulling fs layer 02:34:48 a6820b24f6d8: Pulling fs layer 02:34:48 f581987b2513: Pulling fs layer 02:34:48 f581987b2513: Waiting 02:34:48 54011a49482f: Verifying Checksum 02:34:48 54011a49482f: Download complete 02:34:48 31603596830f: Verifying Checksum 02:34:48 31603596830f: Download complete 02:34:49 f581987b2513: Verifying Checksum 02:34:49 f581987b2513: Download complete 02:34:49 31603596830f: Pull complete 02:34:49 a6820b24f6d8: Verifying Checksum 02:34:49 a6820b24f6d8: Download complete 02:34:49 54011a49482f: Pull complete 02:34:51 a6820b24f6d8: Pull complete 02:34:52 f581987b2513: Pull complete 02:34:52 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:34:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:34:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:34:52 prd-centos7-docker-4c-2g-3914 does not seem to be running inside a container 02:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:34:56 $ docker top ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:34:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:56 [ssh-agent] Looking for ssh-agent implementation... 02:34:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:57 $ docker exec ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 ssh-agent 02:34:57 SSH_AUTH_SOCK=/tmp/ssh-cCFRNvPIDr6k/agent.11 02:34:57 SSH_AGENT_PID=17 02:34:57 Running ssh-add (command line suppressed) 02:34:57 Identity added: /w/workspace/edgex-go/4@tmp/private_key_2226621879873771111.key (/w/workspace/edgex-go/4@tmp/private_key_2226621879873771111.key) 02:34:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:58 + git tag --points-at HEAD [Pipeline] } 02:34:58 $ docker exec --env ******** --env ******** ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 ssh-agent -k 02:34:58 unset SSH_AUTH_SOCK; 02:34:58 unset SSH_AGENT_PID; 02:34:58 echo Agent pid 17 killed; 02:34:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:34:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:58 [ssh-agent] Looking for ssh-agent implementation... 02:34:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:59 $ docker exec ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 ssh-agent 02:34:59 SSH_AUTH_SOCK=/tmp/ssh-yBQJQlWEkUwP/agent.47 02:34:59 SSH_AGENT_PID=52 02:34:59 Running ssh-add (command line suppressed) 02:35:00 Identity added: /w/workspace/edgex-go/4@tmp/private_key_6731400410824528790.key (/w/workspace/edgex-go/4@tmp/private_key_6731400410824528790.key) 02:35:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:00 + git semver init 02:35:01 # -> Open(): unable to determine branch for HEAD 02:35:01 # $GIT_DIR = /w/workspace/edgex-go/4/.git 02:35:01 # $GIT_WORK_TREE = /w/workspace/edgex-go/4 02:35:01 # $SEMVER_REMOTE_NAME = origin 02:35:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:35:01 # $SEMVER_USER_NAME = edgex-jenkins 02:35:01 # $SEMVER_BRANCH = PR-3440 02:35:01 # $SEMVER_TEMP = /tmp/semver-821986559 02:35:01 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 02:35:40 # '/tmp/semver-821986559' -> '/w/workspace/edgex-go/4/.semver' 02:35:40 # -> Force: false 02:35:40 # $SEMVER_DIR = /w/workspace/edgex-go/4/.semver [Pipeline] } 02:35:40 $ docker exec --env ******** --env ******** ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 ssh-agent -k 02:35:41 unset SSH_AUTH_SOCK; 02:35:41 unset SSH_AGENT_PID; 02:35:41 echo Agent pid 52 killed; 02:35:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:41 + git semver [Pipeline] } 02:35:42 $ docker stop --time=1 ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 02:35:44 $ docker rm -f ff476f953603a7ba509b68b688eafac66444044cfd57988a4ec2082121fac9f2 [Pipeline] // withDockerContainer [Pipeline] sh 02:35:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:35:46 Stashed 1 file(s) [Pipeline] echo 02:35:46 [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 02:35:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:35:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:35:47 + true 02:35:47 + sudo service docker restart 02:35:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 02:35:48 ========================================================= 02:35:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:35:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:35:49 + 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 . 02:35:57 Sending build context to Docker daemon 330MB 02:35:57 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 02:35:57 Step 2/6 : FROM ${BASE} 02:35:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:57 540db60ca938: Pulling fs layer 02:35:57 adcc1eea9eea: Pulling fs layer 02:35:57 4c4ab2625f07: Pulling fs layer 02:35:57 0510c868ecb4: Pulling fs layer 02:35:57 afea3b2eda06: Pulling fs layer 02:35:57 7809a108b3ef: Pulling fs layer 02:35:57 f706445af74f: Pulling fs layer 02:35:57 afea3b2eda06: Waiting 02:35:57 7809a108b3ef: Waiting 02:35:57 f706445af74f: Waiting 02:35:57 0510c868ecb4: Waiting 02:35:57 4c4ab2625f07: Verifying Checksum 02:35:57 4c4ab2625f07: Download complete 02:35:57 adcc1eea9eea: Verifying Checksum 02:35:57 adcc1eea9eea: Download complete 02:35:57 afea3b2eda06: Verifying Checksum 02:35:57 afea3b2eda06: Download complete 02:35:57 7809a108b3ef: Verifying Checksum 02:35:57 7809a108b3ef: Download complete 02:35:57 540db60ca938: Verifying Checksum 02:35:57 540db60ca938: Download complete 02:35:58 540db60ca938: Pull complete 02:35:58 adcc1eea9eea: Pull complete 02:35:59 4c4ab2625f07: Pull complete 02:36:01 f706445af74f: Verifying Checksum 02:36:01 f706445af74f: Download complete 02:36:01 Still waiting to schedule task 02:36:01 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:36:03 0510c868ecb4: Verifying Checksum 02:36:03 0510c868ecb4: Download complete 02:36:14 0510c868ecb4: Pull complete 02:36:14 afea3b2eda06: Pull complete 02:36:15 7809a108b3ef: Pull complete 02:36:20 f706445af74f: Pull complete 02:36:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 02:36:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:36:20 ---> b068be0155e3 02:36:20 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 02:36:21 ---> Running in a42852c317cd 02:36:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:36:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:36:25 (1/12) Installing libmagic (5.39-r0) 02:36:26 (2/12) Installing file (5.39-r0) 02:36:26 (3/12) Installing libc-dev (0.7.2-r3) 02:36:26 (4/12) Installing g++ (10.2.1_pre1-r3) 02:37:13 (5/12) Installing fortify-headers (1.1-r0) 02:37:13 (6/12) Installing patch (2.7.6-r6) 02:37:13 (7/12) Installing build-base (0.5-r2) 02:37:13 (8/12) Installing libsodium (1.0.18-r0) 02:37:13 (9/12) Installing pkgconf (1.7.3-r0) 02:37:13 (10/12) Installing libsodium-dev (1.0.18-r0) 02:37:13 (11/12) Installing libzmq (4.3.3-r1) 02:37:13 (12/12) Installing zeromq-dev (4.3.3-r1) 02:37:13 Executing busybox-1.32.1-r6.trigger 02:37:13 OK: 219 MiB in 52 packages 02:37:17 Removing intermediate container a42852c317cd 02:37:17 ---> e533245ebb70 02:37:17 Step 4/6 : WORKDIR /edgex-go 02:37:17 ---> Running in 07bd67427f57 02:37:17 Removing intermediate container 07bd67427f57 02:37:17 ---> 29b8bc3b129a 02:37:17 Step 5/6 : COPY go.mod . 02:37:17 ---> 11cae2aa094a 02:37:17 Step 6/6 : RUN go mod download 02:37:17 ---> Running in 430ae4f11884 02:37:50 Removing intermediate container 430ae4f11884 02:37:50 ---> e8ea0bb73da6 02:37:50 Successfully built e8ea0bb73da6 02:37:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:37:51 + docker inspect -f . ci-base-image-x86_64 02:37:51 . [Pipeline] withDockerContainer 02:37:52 prd-centos7-docker-4c-2g-3914 does not seem to be running inside a container 02:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** ci-base-image-x86_64 cat 02:37:54 $ docker top 5d7c199c58ffcb7a473bfb50509cef13afa7cc7e97633090c652c88d2a458d64 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:55 + go version 02:37:55 go version go1.16.3 linux/amd64 [Pipeline] } 02:37:55 $ docker stop --time=1 5d7c199c58ffcb7a473bfb50509cef13afa7cc7e97633090c652c88d2a458d64 02:37:57 $ docker rm -f 5d7c199c58ffcb7a473bfb50509cef13afa7cc7e97633090c652c88d2a458d64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:37:57 + docker inspect -f . ci-base-image-x86_64 02:37:57 . [Pipeline] withDockerContainer 02:37:58 prd-centos7-docker-4c-2g-3914 does not seem to be running inside a container 02:37:58 $ 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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** ci-base-image-x86_64 cat 02:37:59 $ docker top 26bad15b2636e61d70e64f191ee0f8c65a4b502ccba740404b34d2b9fad4c3c7 -eo pid,comm [Pipeline] { [Pipeline] echo 02:37:59 ========================================================= 02:37:59 [edgeXBuildGoParallel] Running Tests and Build... 02:37:59 ========================================================= [Pipeline] sh 02:38:00 + go mod tidy [Pipeline] sh 02:38:05 + make test 02:38:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:38:24 ? github.com/edgexfoundry/edgex-go [no test files] 02:38:52 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 02:38:52 internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 02:38:52 internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:38:52 internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:38:52 internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:39:25 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application 02:39:25 internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress 02:39:36 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 02:39:36 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.230s coverage: 19.8% of statements 02:39:36 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 02:39:36 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 02:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.093s coverage: 100.0% of statements 02:39:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.090s coverage: 100.0% of statements 02:39:38 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 02:39:38 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 02:39:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.195s coverage: 78.9% of statements 02:39:39 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 02:39:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.238s coverage: 100.0% of statements 02:39:40 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.108s coverage: 100.0% of statements 02:39:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.531s coverage: 86.7% of statements 02:39:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.332s coverage: 97.5% of statements 02:39:43 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] 02:39:43 internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 02:39:43 internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:39:43 internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:39:43 internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:39:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.201s coverage: 78.3% of statements 02:39:43 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 02:39:44 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.166s coverage: 58.8% of statements 02:39:44 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 02:39:44 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] 02:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.121s coverage: 47.1% of statements 02:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.260s coverage: 79.5% of statements 02:39:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.084s coverage: 94.1% of statements 02:39:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.221s coverage: 96.3% of statements 02:39:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.131s coverage: 87.5% of statements 02:39:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3918 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws 02:39:51 Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] checkout 02:39:57 using credential edgex-jenkins-ssh 02:39:57 Cloning the remote Git repository 02:39:57 Cloning repository git@github.com:edgexfoundry/edgex-go.git 02:39:57 > git init /w/workspace/edgex-go/4 # timeout=10 02:39:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:39:57 > git --version # timeout=10 02:39:57 > git --version # 'git version 2.17.1' 02:39:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:40:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.136s coverage: 94.4% of statements 02:40:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.069s coverage: 44.8% of statements 02:40:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.793s coverage: 81.8% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.324s coverage: 92.9% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.082s coverage: 65.1% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.157s coverage: 87.2% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.092s coverage: 100.0% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.328s coverage: 76.0% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.276s coverage: 80.0% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.138s coverage: 87.2% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.136s coverage: 85.4% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.400s coverage: 91.2% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.497s coverage: 64.4% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.262s coverage: 100.0% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.194s coverage: 91.3% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.054s coverage: 100.0% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.126s coverage: 73.7% of statements 02:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.069s coverage: 100.0% of statements 02:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.743s coverage: 66.9% of statements 02:40:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:40:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:40:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:40:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:40:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:40:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:40:16 Merging remotes/origin/master commit 0a24aac118fe9f9c77ac4216f8244fb603d4f0cd into PR head commit 0e19b1d60ddd317c2f741079bf586fde4f7f4dff 02:40:16 Merge succeeded, producing 0e19b1d60ddd317c2f741079bf586fde4f7f4dff 02:40:16 Checking out Revision 0e19b1d60ddd317c2f741079bf586fde4f7f4dff (PR-3440) 02:40:16 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] 02:40:16 internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value 02:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.455s coverage: 43.4% of statements 02:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements 02:40:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.081s coverage: 84.8% of statements 02:40:16 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 02:40:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.074s coverage: 100.0% of statements 02:40:17 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.104s coverage: 100.0% of statements 02:40:17 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] 02:40:17 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 02:40:17 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 02:40:16 > git config core.sparsecheckout # timeout=10 02:40:16 > git checkout -f 0e19b1d60ddd317c2f741079bf586fde4f7f4dff # timeout=10 02:40:16 > git remote # timeout=10 02:40:16 > git config --get remote.origin.url # timeout=10 02:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:40:16 > git merge 0a24aac118fe9f9c77ac4216f8244fb603d4f0cd # timeout=10 02:40:16 > git rev-parse HEAD^{commit} # timeout=10 02:40:16 > git config core.sparsecheckout # timeout=10 02:40:16 > git checkout -f 0e19b1d60ddd317c2f741079bf586fde4f7f4dff # timeout=10 02:40:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.193s coverage: 99.0% of statements 02:40:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.125s coverage: 100.0% of statements 02:40:19 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] 02:40:19 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] 02:40:19 ok github.com/edgexfoundry/edgex-go/internal/system 0.047s coverage: 0.0% of statements 02:40:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.071s coverage: 100.0% of statements 02:40:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.069s coverage: 87.9% of statements 02:40:20 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.138s coverage: 100.0% of statements 02:40:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:40:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.128s coverage: 28.1% of statements 02:40:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:40:22 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.066s coverage: 100.0% of statements 02:40:23 + + truesudo 02:40:23 service docker restart 02:40:23 make: *** [Makefile:94: test] Error 2 [Pipeline] } 02:40:23 $ docker stop --time=1 26bad15b2636e61d70e64f191ee0f8c65a4b502ccba740404b34d2b9fad4c3c7 02:40:26 $ docker rm -f 26bad15b2636e61d70e64f191ee0f8c65a4b502ccba740404b34d2b9fad4c3c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap 02:40:27 provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 02:40:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config315577410944518555tmp [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:40:27 Failed in branch amd64 02:40:28 ---> docker-login.sh 02:40:28 nexus3.edgexfoundry.org:10001 02:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:29 Configure a credential helper to remove this warning. See 02:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:29 02:40:29 Login Succeeded 02:40:29 nexus3.edgexfoundry.org:10002 02:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:29 Configure a credential helper to remove this warning. See 02:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:29 02:40:29 Login Succeeded 02:40:29 nexus3.edgexfoundry.org:10003 02:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:30 Configure a credential helper to remove this warning. See 02:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:30 02:40:30 Login Succeeded 02:40:30 nexus3.edgexfoundry.org:10004 02:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:31 Configure a credential helper to remove this warning. See 02:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:31 02:40:31 Login Succeeded 02:40:31 docker.io 02:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:31 Configure a credential helper to remove this warning. See 02:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:31 02:40:31 Login Succeeded 02:40:31 ---> docker-login.sh ends [Pipeline] } 02:40:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:40:32 ========================================================= 02:40:32 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:40:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:40:32 + 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 . 02:40:35 Sending build context to Docker daemon 167.6MB 02:40:35 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 02:40:35 Step 2/6 : FROM ${BASE} 02:40:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:40:35 595b0fe564bb: Pulling fs layer 02:40:35 7186ed65a4f7: Pulling fs layer 02:40:35 316046926c0a: Pulling fs layer 02:40:35 4ebd0625c992: Pulling fs layer 02:40:35 207e8628e3a3: Pulling fs layer 02:40:35 c791037a9be2: Pulling fs layer 02:40:35 ffd874e62e21: Pulling fs layer 02:40:35 4ebd0625c992: Waiting 02:40:35 207e8628e3a3: Waiting 02:40:35 c791037a9be2: Waiting 02:40:35 ffd874e62e21: Waiting 02:40:35 316046926c0a: Verifying Checksum 02:40:35 316046926c0a: Download complete 02:40:35 7186ed65a4f7: Verifying Checksum 02:40:35 7186ed65a4f7: Download complete 02:40:35 207e8628e3a3: Verifying Checksum 02:40:35 207e8628e3a3: Download complete 02:40:35 c791037a9be2: Download complete 02:40:35 595b0fe564bb: Download complete 02:40:35 595b0fe564bb: Pull complete 02:40:36 7186ed65a4f7: Pull complete 02:40:36 316046926c0a: Pull complete 02:40:37 ffd874e62e21: Verifying Checksum 02:40:37 ffd874e62e21: Download complete 02:40:39 4ebd0625c992: Verifying Checksum 02:40:39 4ebd0625c992: Download complete 02:40:49 4ebd0625c992: Pull complete 02:40:49 207e8628e3a3: Pull complete 02:40:49 c791037a9be2: Pull complete 02:40:54 ffd874e62e21: Pull complete 02:40:54 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 02:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:40:54 ---> cfc18b08335c 02:40:54 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 02:40:57 ---> Running in cc1ba082372d 02:40:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:41:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:41:07 (1/12) Installing libmagic (5.39-r0) 02:41:08 (2/12) Installing file (5.39-r0) 02:41:08 (3/12) Installing libc-dev (0.7.2-r3) 02:41:09 (4/12) Installing g++ (10.2.1_pre1-r3) 02:42:17 (5/12) Installing fortify-headers (1.1-r0) 02:42:17 (6/12) Installing patch (2.7.6-r6) 02:42:17 (7/12) Installing build-base (0.5-r2) 02:42:17 (8/12) Installing libsodium (1.0.18-r0) 02:42:17 (9/12) Installing pkgconf (1.7.3-r0) 02:42:17 (10/12) Installing libsodium-dev (1.0.18-r0) 02:42:18 (11/12) Installing libzmq (4.3.3-r1) 02:42:18 (12/12) Installing zeromq-dev (4.3.3-r1) 02:42:18 Executing busybox-1.32.1-r6.trigger 02:42:18 OK: 218 MiB in 52 packages 02:42:22 Removing intermediate container cc1ba082372d 02:42:22 ---> 00fd852aff96 02:42:22 Step 4/6 : WORKDIR /edgex-go 02:42:22 ---> Running in 1790a8c4f406 02:42:23 Removing intermediate container 1790a8c4f406 02:42:23 ---> e8754f364f97 02:42:23 Step 5/6 : COPY go.mod . 02:42:23 ---> 5cb35bc72b48 02:42:23 Step 6/6 : RUN go mod download 02:42:23 ---> Running in 5e4f35586286 02:42:50 Removing intermediate container 5e4f35586286 02:42:50 ---> 8390254eac66 02:42:50 Successfully built 8390254eac66 02:42:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:42:51 + docker inspect -f . ci-base-image-arm64 02:42:51 . [Pipeline] withDockerContainer 02:42:51 prd-ubuntu18.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container 02:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** ci-base-image-arm64 cat 02:42:52 $ docker top e58ae2681ab3766fe9d3809d54390f3114ceb468182bec829c4d9f3d377bf630 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:53 + go version 02:42:53 go version go1.16.3 linux/arm64 [Pipeline] } 02:42:53 $ docker stop --time=1 e58ae2681ab3766fe9d3809d54390f3114ceb468182bec829c4d9f3d377bf630 02:42:56 $ docker rm -f e58ae2681ab3766fe9d3809d54390f3114ceb468182bec829c4d9f3d377bf630 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:42:56 + docker inspect -f . ci-base-image-arm64 02:42:56 . [Pipeline] withDockerContainer 02:42:57 prd-ubuntu18.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container 02:42:57 $ 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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** ci-base-image-arm64 cat 02:42:58 $ docker top e330bf8d1029e6d209d2f28b4af8c8d06c837152e66234f98b7305eff7666402 -eo pid,comm [Pipeline] { [Pipeline] echo 02:42:58 ========================================================= 02:42:58 [edgeXBuildGoParallel] Running Tests and Build... 02:42:58 ========================================================= [Pipeline] sh 02:42:59 + go mod tidy [Pipeline] sh 02:43:01 + make test 02:43:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:43:33 ? github.com/edgexfoundry/edgex-go [no test files] 02:44:06 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 02:44:06 internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 02:44:06 internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:44:06 internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:44:06 internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:44:45 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application 02:44:45 internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress 02:44:55 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 02:44:55 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.124s coverage: 19.8% of statements 02:44:55 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 02:44:55 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 02:44:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.137s coverage: 100.0% of statements 02:44:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.165s coverage: 100.0% of statements 02:44:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 02:44:57 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 02:44:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.219s coverage: 78.9% of statements 02:44:58 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 02:45:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.268s coverage: 100.0% of statements 02:45:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.138s coverage: 100.0% of statements 02:45:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.407s coverage: 86.7% of statements 02:45:03 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] 02:45:03 internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 02:45:03 internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:45:03 internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:45:03 internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 02:45:04 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.471s coverage: 97.5% of statements 02:45:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.251s coverage: 78.3% of statements 02:45:06 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 02:45:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.108s coverage: 58.8% of statements 02:45:06 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 02:45:06 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] 02:45:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.153s coverage: 47.1% of statements 02:45:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.196s coverage: 79.5% of statements 02:45:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.121s coverage: 94.1% of statements 02:45:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.204s coverage: 96.3% of statements 02:45:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.143s coverage: 87.5% of statements 02:45:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.192s coverage: 94.4% of statements 02:45:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.113s coverage: 44.8% of statements 02:45:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.534s coverage: 81.8% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.216s coverage: 92.9% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.075s coverage: 87.2% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.108s coverage: 100.0% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.145s coverage: 76.0% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.135s coverage: 80.0% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.214s coverage: 87.2% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.235s coverage: 85.4% of statements 02:45:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.255s coverage: 91.2% of statements 02:45:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.716s coverage: 64.4% of statements 02:45:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.118s coverage: 100.0% of statements 02:45:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.097s coverage: 91.3% of statements 02:45:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.067s coverage: 100.0% of statements 02:45:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.123s coverage: 73.7% of statements 02:45:36 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.075s coverage: 100.0% of statements 02:45:40 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.994s coverage: 66.9% of statements 02:45:41 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] 02:45:41 internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value 02:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.638s coverage: 43.4% of statements 02:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.092s coverage: 89.5% of statements 02:45:41 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.085s coverage: 84.8% of statements 02:45:41 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 02:45:43 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.167s coverage: 100.0% of statements 02:45:43 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.103s coverage: 100.0% of statements 02:45:43 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] 02:45:43 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 02:45:43 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 02:45:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.206s coverage: 99.0% of statements 02:45:47 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.239s coverage: 100.0% of statements 02:45:47 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] 02:45:47 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] 02:45:47 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 02:45:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.054s coverage: 100.0% of statements 02:45:47 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.091s coverage: 87.9% of statements 02:45:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.065s coverage: 100.0% of statements 02:45:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.108s coverage: 28.1% of statements 02:45:49 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 100.0% of statements 02:45:49 make: *** [Makefile:94: test] Error 2 [Pipeline] } 02:45:49 $ docker stop --time=1 e330bf8d1029e6d209d2f28b4af8c8d06c837152e66234f98b7305eff7666402 02:45:52 $ docker rm -f e330bf8d1029e6d209d2f28b4af8c8d06c837152e66234f98b7305eff7666402 [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 02:45:53 ---> job-cost.sh 02:45:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pqvy 02:46:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:47:54 lf-activate-venv(): INFO: Adding /tmp/venv-pqvy/bin to PATH 02:47:54 INFO: No Stack... 02:47:54 INFO: Retrieving Pricing Info for: lf-standard-4 02:47:54 INFO: Archiving Costs [Pipeline] sh 02:47:54 + cat /w/workspace/edgex-go/4/archives/cost.csv 02:47:54 + cut -d, -f6 [Pipeline] lock 02:47:55 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3440-4-stack-cost] 02:47:55 Resource [jenkins-edgexfoundry-edgex-go-PR-3440-4-stack-cost] did not exist. Created. 02:47:55 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3440-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:55 + echo total: 0.20999999344348907 [Pipeline] stash 02:47:56 Stashed 1 file(s) [Pipeline] } 02:47:56 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3440-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:56 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 02:47:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:59 ---> package-listing.sh 02:47:59 ++ facter osfamily 02:47:59 ++ tr '[:upper:]' '[:lower:]' 02:47:59 + OS_FAMILY=redhat 02:47:59 + workspace=/w/workspace/edgex-go/4 02:47:59 + START_PACKAGES=/tmp/packages_start.txt 02:47:59 + END_PACKAGES=/tmp/packages_end.txt 02:47:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:59 + PACKAGES=/tmp/packages_start.txt 02:47:59 + '[' /w/workspace/edgex-go/4 ']' 02:47:59 + PACKAGES=/tmp/packages_end.txt 02:47:59 + case "${OS_FAMILY}" in 02:47:59 + rpm -qa 02:47:59 + sort 02:48:06 + '[' -f /tmp/packages_start.txt ']' 02:48:06 + '[' -f /tmp/packages_end.txt ']' 02:48:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:06 + '[' /w/workspace/edgex-go/4 ']' 02:48:06 + mkdir -p /w/workspace/edgex-go/4/archives/ 02:48:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/4/archives/ [Pipeline] echo 02:48:06 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/4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:07 02:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:08 alpine: Pulling from edgex-lftools-log-publisher 02:48:08 df20fa9351a1: Pulling fs layer 02:48:08 36b3adc4ff6f: Pulling fs layer 02:48:08 8ad3a11d3b57: Pulling fs layer 02:48:08 46f8f816bc3b: Pulling fs layer 02:48:08 93b61091891f: Pulling fs layer 02:48:08 93b9cdb0e59b: Pulling fs layer 02:48:08 5e14af77c1be: Pulling fs layer 02:48:08 01666e4c0597: Pulling fs layer 02:48:08 aa168da1d23b: Pulling fs layer 02:48:08 93b9cdb0e59b: Waiting 02:48:08 01666e4c0597: Waiting 02:48:08 aa168da1d23b: Waiting 02:48:08 5e14af77c1be: Waiting 02:48:08 46f8f816bc3b: Waiting 02:48:08 93b61091891f: Waiting 02:48:08 36b3adc4ff6f: Verifying Checksum 02:48:08 36b3adc4ff6f: Download complete 02:48:08 46f8f816bc3b: Verifying Checksum 02:48:08 46f8f816bc3b: Download complete 02:48:09 df20fa9351a1: Verifying Checksum 02:48:09 df20fa9351a1: Download complete 02:48:09 93b9cdb0e59b: Verifying Checksum 02:48:09 93b9cdb0e59b: Download complete 02:48:09 5e14af77c1be: Verifying Checksum 02:48:09 5e14af77c1be: Download complete 02:48:09 01666e4c0597: Verifying Checksum 02:48:09 01666e4c0597: Download complete 02:48:09 93b61091891f: Verifying Checksum 02:48:09 93b61091891f: Download complete 02:48:10 df20fa9351a1: Pull complete 02:48:10 8ad3a11d3b57: Verifying Checksum 02:48:10 8ad3a11d3b57: Download complete 02:48:11 36b3adc4ff6f: Pull complete 02:48:13 8ad3a11d3b57: Pull complete 02:48:14 46f8f816bc3b: Pull complete 02:48:15 93b61091891f: Pull complete 02:48:15 93b9cdb0e59b: Pull complete 02:48:15 5e14af77c1be: Pull complete 02:48:15 01666e4c0597: Pull complete 02:48:16 aa168da1d23b: Verifying Checksum 02:48:16 aa168da1d23b: Download complete 02:48:31 aa168da1d23b: Pull complete 02:48:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:31 prd-centos7-docker-4c-2g-3914 does not seem to be running inside a container 02:48:32 $ 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/4/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/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:48:36 $ docker top 65dd0b0086758300e4d54275bb80193c9b5f812e76594c2b3440f5b4644ea959 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:38 + mkdir -p /var/log/sa [Pipeline] sh 02:48:38 + ls /var/log/sa-host 02:48:38 + sadf -c /var/log/sa-host/sa10 02:48:38 file_magic: OK 02:48:38 HZ: Using current value: 100 02:48:38 file_header: OK 02:48:38 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 02:48:38 Statistics: 02:48:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:38 File successfully converted to sysstat format version 12.2.1 02:48:38 + sadf -c /var/log/sa-host/sa23 02:48:38 file_magic: OK 02:48:38 HZ: Using current value: 100 02:48:38 file_header: OK 02:48:38 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 02:48:38 Statistics: 02:48:38 Hnuu...uuuununununu... 02:48:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:38 provisioning config files... 02:48:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/4@tmp/config8171432128139331183tmp [Pipeline] { [Pipeline] echo 02:48:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:39 ---> create-netrc.sh [Pipeline] } 02:48:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:48:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:39 ---> python-tools-install.sh [Pipeline] echo 02:48:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:40 ---> sudo-logs.sh 02:48:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:48:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:40 ---> job-cost.sh 02:48:41 lf-activate-venv: SKIPPING 02:48:41 DEBUG: total: 0.20999999344348907 02:48:41 INFO: Retrieving Stack Cost... 02:48:42 INFO: Retrieving Pricing Info for: v1-standard-2 02:48:43 INFO: Archiving Costs [Pipeline] echo 02:48:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:43 ---> logs-deploy.sh 02:48:43 lf-activate-venv: SKIPPING 02:48:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3440/4 02:48:43 INFO: archiving workspace using pattern(s): 02:48:45 Archives upload complete. 02:48:46 INFO: archiving logs to Nexus