Pull request #3408 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 898bc89b3dc87913a5f40b5afd22a8bee90de398+d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 (9df6faf28ea3c9830deddcab90212f4c1e29cf48) 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cf598ef4eee878cf4fd68936879ff849bf9f782f # timeout=10 Commit message: "Merge pull request #334 from ernestojeda/archives-permissions" > 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ‘prd-centos7-docker-4c-2g-2260’ is offline Running on prd-centos7-docker-4c-2g-2261 in /w/workspace/edgexfoundry_edgex-go_PR-3408 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/5 [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/5 # 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 > 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/3408/head:refs/remotes/origin/PR-3408 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 into PR head commit 898bc89b3dc87913a5f40b5afd22a8bee90de398 Merge succeeded, producing 898bc89b3dc87913a5f40b5afd22a8bee90de398 Checking out Revision 898bc89b3dc87913a5f40b5afd22a8bee90de398 (PR-3408) > git config core.sparsecheckout # timeout=10 > git checkout -f 898bc89b3dc87913a5f40b5afd22a8bee90de398 # 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 d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 898bc89b3dc87913a5f40b5afd22a8bee90de398 # timeout=10 Commit message: "fix: Added more error checking to failing unit test" > git rev-list --no-walk 1cef1bd8ae16f4d7a7188260ee3b1fe1081748b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:01:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:01:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:01:30 ========================================================= 00:01:30 EdgeX Global Pipelines Version Info 00:01:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:01:31 ------------------- 00:01:31 stable info: 00:01:31 ------------------- 00:01:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:01:31 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 00:01:31 Message: update stable to v1.0.190 00:01:32 ------------------- 00:01:32 experimental info: 00:01:32 ------------------- 00:01:32 Commited By: **** collab-it+edgex@linuxfoundation.org 00:01:32 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 00:01:32 Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3408 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3408 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3408 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 898bc89b3dc87913a5f40b5afd22a8bee90de398 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 898bc89 [Pipeline] echo 00:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:01:33 provisioning config files... 00:01:33 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config7572568776630327049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:34 ---> docker-login.sh 00:01:34 nexus3.edgexfoundry.org:10001 00:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:34 Configure a credential helper to remove this warning. See 00:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:34 00:01:34 Login Succeeded 00:01:34 nexus3.edgexfoundry.org:10002 00:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:34 Configure a credential helper to remove this warning. See 00:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:34 00:01:34 Login Succeeded 00:01:34 nexus3.edgexfoundry.org:10003 00:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:34 Configure a credential helper to remove this warning. See 00:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:34 00:01:34 Login Succeeded 00:01:34 nexus3.edgexfoundry.org:10004 00:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:34 Configure a credential helper to remove this warning. See 00:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:34 00:01:34 Login Succeeded 00:01:34 docker.io 00:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:35 Configure a credential helper to remove this warning. See 00:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:35 00:01:35 Login Succeeded 00:01:35 ---> docker-login.sh ends [Pipeline] } 00:01:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:01:35 ++ 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:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/core-command/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo core-command,cmd/core-command/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/core-data/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo core-data,cmd/core-data/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/core-metadata/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo core-metadata,cmd/core-metadata/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/security-bootstrapper/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/security-proxy-setup/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/support-notifications/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo support-notifications,cmd/support-notifications/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/support-scheduler/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:01:35 + for file in '`ls cmd/**/Dockerfile`' 00:01:35 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:01:35 ++ cut -d/ -f2 00:01:35 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:01:35 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 00:01:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:01:36 00:01:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:01:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:01:37 latest: Pulling from edgex-devops/git-semver 00:01:37 31603596830f: Pulling fs layer 00:01:37 54011a49482f: Pulling fs layer 00:01:37 a6820b24f6d8: Pulling fs layer 00:01:37 f581987b2513: Pulling fs layer 00:01:37 f581987b2513: Waiting 00:01:37 54011a49482f: Verifying Checksum 00:01:37 54011a49482f: Download complete 00:01:37 31603596830f: Download complete 00:01:37 f581987b2513: Verifying Checksum 00:01:37 f581987b2513: Download complete 00:01:37 a6820b24f6d8: Verifying Checksum 00:01:37 31603596830f: Pull complete 00:01:37 54011a49482f: Pull complete 00:01:38 a6820b24f6d8: Pull complete 00:01:38 f581987b2513: Pull complete 00:01:38 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:01:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:01:38 prd-centos7-docker-4c-2g-2261 does not seem to be running inside a container 00:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:01:41 $ docker top 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:01:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:41 [ssh-agent] Looking for ssh-agent implementation... 00:01:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:41 $ docker exec 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 ssh-agent 00:01:42 SSH_AUTH_SOCK=/tmp/ssh-geGsEJpUEggE/agent.13 00:01:42 SSH_AGENT_PID=18 00:01:42 Running ssh-add (command line suppressed) 00:01:42 Identity added: /w/workspace/edgex-go/5@tmp/private_key_6354162855910531835.key (/w/workspace/edgex-go/5@tmp/private_key_6354162855910531835.key) 00:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:42 + git tag --points-at HEAD [Pipeline] } 00:01:42 $ docker exec --env ******** --env ******** 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 ssh-agent -k 00:01:42 unset SSH_AUTH_SOCK; 00:01:42 unset SSH_AGENT_PID; 00:01:42 echo Agent pid 18 killed; 00:01:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:42 [ssh-agent] Looking for ssh-agent implementation... 00:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:43 $ docker exec 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 ssh-agent 00:01:43 SSH_AUTH_SOCK=/tmp/ssh-ZNUUATWrvYdK/agent.46 00:01:43 SSH_AGENT_PID=51 00:01:43 Running ssh-add (command line suppressed) 00:01:43 Identity added: /w/workspace/edgex-go/5@tmp/private_key_4398411567517606219.key (/w/workspace/edgex-go/5@tmp/private_key_4398411567517606219.key) 00:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:43 + git semver init 00:01:43 # -> Open(): unable to determine branch for HEAD 00:01:43 # $GIT_DIR = /w/workspace/edgex-go/5/.git 00:01:43 # $GIT_WORK_TREE = /w/workspace/edgex-go/5 00:01:43 # $SEMVER_REMOTE_NAME = origin 00:01:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:01:43 # $SEMVER_USER_NAME = edgex-jenkins 00:01:43 # $SEMVER_BRANCH = PR-3408 00:01:43 # $SEMVER_TEMP = /tmp/semver-176998613 00:01:43 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:02:01 # '/tmp/semver-176998613' -> '/w/workspace/edgex-go/5/.semver' 00:02:01 # -> Force: false 00:02:01 # $SEMVER_DIR = /w/workspace/edgex-go/5/.semver [Pipeline] } 00:02:01 $ docker exec --env ******** --env ******** 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 ssh-agent -k 00:02:02 unset SSH_AUTH_SOCK; 00:02:02 unset SSH_AGENT_PID; 00:02:02 echo Agent pid 51 killed; 00:02:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:02 + git semver [Pipeline] } 00:02:02 $ docker stop --time=1 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 00:02:04 $ docker rm -f 60f26876ffa11e1321a23634e05f4d0fb21e0c3570588c34ddba7e3072a0c1d3 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:02:04 Stashed 1 file(s) [Pipeline] echo 00:02:05 [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:02:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:02:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:02:06 + sudo service docker restart 00:02:06 + true 00:02:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:02:06 ========================================================= 00:02:06 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:02:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:02:07 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:02:10 Sending build context to Docker daemon 329.7MB 00:02:10 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:02:10 Step 2/6 : FROM ${BASE} 00:02:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:02:10 188c0c94c7c5: Pulling fs layer 00:02:10 0ef7d3d256c8: Pulling fs layer 00:02:10 de9db76c5a1d: Pulling fs layer 00:02:10 bca2f99d35d6: Pulling fs layer 00:02:10 93359f2a8cfa: Pulling fs layer 00:02:10 7c6f9722023f: Pulling fs layer 00:02:10 a35cf1a2eb13: Pulling fs layer 00:02:10 93359f2a8cfa: Waiting 00:02:10 7c6f9722023f: Waiting 00:02:10 a35cf1a2eb13: Waiting 00:02:10 bca2f99d35d6: Waiting 00:02:10 de9db76c5a1d: Verifying Checksum 00:02:10 de9db76c5a1d: Download complete 00:02:10 0ef7d3d256c8: Download complete 00:02:10 93359f2a8cfa: Verifying Checksum 00:02:10 93359f2a8cfa: Download complete 00:02:10 7c6f9722023f: Verifying Checksum 00:02:10 7c6f9722023f: Download complete 00:02:10 188c0c94c7c5: Verifying Checksum 00:02:10 188c0c94c7c5: Download complete 00:02:11 188c0c94c7c5: Pull complete 00:02:11 0ef7d3d256c8: Pull complete 00:02:11 de9db76c5a1d: Pull complete 00:02:12 a35cf1a2eb13: Verifying Checksum 00:02:12 a35cf1a2eb13: Download complete 00:02:13 bca2f99d35d6: Verifying Checksum 00:02:13 bca2f99d35d6: Download complete 00:02:19 bca2f99d35d6: Pull complete 00:02:19 93359f2a8cfa: Pull complete 00:02:19 7c6f9722023f: Pull complete 00:02:20 Still waiting to schedule task 00:02:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:02:23 a35cf1a2eb13: Pull complete 00:02:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:02:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:02:23 ---> a62c8e92a672 00:02:23 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:02:23 ---> Running in cc4e0b993830 00:02:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:02:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:02:25 (1/12) Installing libmagic (5.38-r0) 00:02:25 (2/12) Installing file (5.38-r0) 00:02:25 (3/12) Installing libc-dev (0.7.2-r3) 00:02:25 (4/12) Installing g++ (9.3.0-r2) 00:02:29 (5/12) Installing fortify-headers (1.1-r0) 00:02:29 (6/12) Installing patch (2.7.6-r6) 00:02:29 (7/12) Installing build-base (0.5-r2) 00:02:29 (8/12) Installing libsodium (1.0.18-r0) 00:02:30 (9/12) Installing pkgconf (1.7.2-r0) 00:02:30 (10/12) Installing libsodium-dev (1.0.18-r0) 00:02:30 (11/12) Installing libzmq (4.3.3-r0) 00:02:30 (12/12) Installing zeromq-dev (4.3.3-r0) 00:02:30 Executing busybox-1.31.1-r19.trigger 00:02:30 OK: 233 MiB in 51 packages 00:02:34 Removing intermediate container cc4e0b993830 00:02:34 ---> 2b60c06cc738 00:02:34 Step 4/6 : WORKDIR /edgex-go 00:02:34 ---> Running in 227b321af48f 00:02:34 Removing intermediate container 227b321af48f 00:02:34 ---> f71444a81311 00:02:34 Step 5/6 : COPY go.mod . 00:02:35 ---> 4da58b36e87f 00:02:35 Step 6/6 : RUN go mod download 00:02:35 ---> Running in 631a7dfa0101 00:03:01 Removing intermediate container 631a7dfa0101 00:03:01 ---> 94aaebe9c095 00:03:01 Successfully built 94aaebe9c095 00:03:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:03:02 + docker inspect -f . ci-base-image-x86_64 00:03:02 . [Pipeline] withDockerContainer 00:03:02 prd-centos7-docker-4c-2g-2261 does not seem to be running inside a container 00:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:03:03 $ docker top 719cb63236e9a6e73ebaadf73c48266b9ca3a71d1c70bf7674bf5fa9102fe2da -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:03 + go version 00:03:03 go version go1.15.5 linux/amd64 [Pipeline] } 00:03:03 $ docker stop --time=1 719cb63236e9a6e73ebaadf73c48266b9ca3a71d1c70bf7674bf5fa9102fe2da 00:03:04 $ docker rm -f 719cb63236e9a6e73ebaadf73c48266b9ca3a71d1c70bf7674bf5fa9102fe2da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:05 + docker inspect -f . ci-base-image-x86_64 00:03:05 . [Pipeline] withDockerContainer 00:03:05 prd-centos7-docker-4c-2g-2261 does not seem to be running inside a container 00:03:05 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:03:06 $ docker top e41659d8731b137a48d6cd90f21f9adce5ba584f2aac9414972fadafa6c3f114 -eo pid,comm [Pipeline] { [Pipeline] echo 00:03:06 ========================================================= 00:03:06 [edgeXBuildGoParallel] Running Tests and Build... 00:03:06 ========================================================= [Pipeline] sh 00:03:06 + make test 00:03:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:03:16 ? github.com/edgexfoundry/edgex-go [no test files] 00:03:39 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:03:42 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:03:42 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:03:42 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:03:45 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:03:45 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:03:45 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:03:45 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:03:46 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:03:46 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:03:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:03:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:03:49 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:03:52 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.133s coverage: 45.9% of statements 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:03:52 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:03:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.068s coverage: 19.8% of statements 00:03:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.116s coverage: 100.0% of statements 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.249s coverage: 27.1% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.065s coverage: 100.0% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.065s coverage: 100.0% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.126s coverage: 71.3% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.225s coverage: 87.7% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:03:57 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.079s coverage: 78.9% of statements 00:03:57 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.437s coverage: 28.6% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.105s coverage: 100.0% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.113s coverage: 100.0% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.170s coverage: 86.7% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.206s coverage: 97.5% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:04:01 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.108s coverage: 78.3% of statements 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:04:01 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.365s coverage: 95.1% of statements 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.063s coverage: 58.8% of statements 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.076s coverage: 0.9% of statements 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:04:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 47.1% of statements 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.099s coverage: 79.5% of statements 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.072s coverage: 94.1% of statements 00:04:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 00:04:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.075s coverage: 87.5% of statements 00:04:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2262 in /w/workspace/edgexfoundry_edgex-go_PR-3408 [Pipeline] { [Pipeline] ws 00:04:06 Running in /w/workspace/edgex-go/5 [Pipeline] { [Pipeline] checkout 00:04:12 using credential edgex-jenkins-ssh 00:04:12 Cloning the remote Git repository 00:04:12 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:04:12 > git init /w/workspace/edgex-go/5 # timeout=10 00:04:12 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:04:12 > git --version # timeout=10 00:04:12 > git --version # 'git version 2.17.1' 00:04:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.064s coverage: 94.4% of statements 00:04:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.056s coverage: 44.8% of statements 00:04:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.231s coverage: 81.8% of statements 00:04:19 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.096s coverage: 92.9% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 77.8% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.041s coverage: 87.2% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.065s coverage: 75.5% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.8% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.085s coverage: 87.2% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 84.6% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.108s coverage: 91.6% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.195s coverage: 64.4% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.057s coverage: 100.0% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 91.3% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.035s coverage: 100.0% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.038s coverage: 73.7% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.045s coverage: 100.0% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.370s coverage: 69.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:04:29 --- FAIL: TestCreatesFile (0.00s) 00:04:29 tokenprovider_linux_test.go:52: 00:04:29 Error Trace: tokenprovider_linux_test.go:52 00:04:29 Error: Received unexpected error: 00:04:29 Failed to locate touch on PATH: exec: "touch": executable file not found in $PATH 00:04:29 Test: TestCreatesFile 00:04:29 FAIL 00:04:29 coverage: 40.0% of statements 00:04:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.148s 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.162s coverage: 47.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.048s coverage: 100.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.047s coverage: 100.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.055s coverage: 9.6% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.138s coverage: 92.6% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.774s coverage: 28.7% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.068s coverage: 99.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.083s coverage: 100.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.059s coverage: 64.6% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.127s coverage: 97.6% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system 0.025s coverage: 0.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.034s coverage: 100.0% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.051s coverage: 87.9% of statements 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:04:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.027s coverage: 100.0% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.054s coverage: 28.1% of statements 00:04:29 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 00:04:29 FAIL 00:04:30 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:04:30 Merging remotes/origin/master commit d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 into PR head commit 898bc89b3dc87913a5f40b5afd22a8bee90de398 00:04:30 $ docker stop --time=1 e41659d8731b137a48d6cd90f21f9adce5ba584f2aac9414972fadafa6c3f114 00:04:30 Merge succeeded, producing 898bc89b3dc87913a5f40b5afd22a8bee90de398 00:04:30 Checking out Revision 898bc89b3dc87913a5f40b5afd22a8bee90de398 (PR-3408) 00:04:29 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:04:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:29 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:04:29 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:04:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3408/head:refs/remotes/origin/PR-3408 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:04:30 > git config core.sparsecheckout # timeout=10 00:04:30 > git checkout -f 898bc89b3dc87913a5f40b5afd22a8bee90de398 # timeout=10 00:04:30 > git remote # timeout=10 00:04:30 > git config --get remote.origin.url # timeout=10 00:04:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:30 > git merge d6c94b2bf9e03361c9a87fbe2ddec88137f69d04 # timeout=10 00:04:30 > git rev-parse HEAD^{commit} # timeout=10 00:04:30 > git config core.sparsecheckout # timeout=10 00:04:30 > git checkout -f 898bc89b3dc87913a5f40b5afd22a8bee90de398 # timeout=10 00:04:32 $ docker rm -f e41659d8731b137a48d6cd90f21f9adce5ba584f2aac9414972fadafa6c3f114 [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:04:33 Failed in branch amd64 00:04:35 Commit message: "fix: Added more error checking to failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:04:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:04:37 + sudo service docker restart 00:04:37 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:04:39 provisioning config files... 00:04:39 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/5@tmp/config8003352789516291572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:39 ---> docker-login.sh 00:04:39 nexus3.edgexfoundry.org:10001 00:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:41 Configure a credential helper to remove this warning. See 00:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:41 00:04:41 Login Succeeded 00:04:41 nexus3.edgexfoundry.org:10002 00:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:41 Configure a credential helper to remove this warning. See 00:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:41 00:04:41 Login Succeeded 00:04:42 nexus3.edgexfoundry.org:10003 00:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:42 Configure a credential helper to remove this warning. See 00:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:42 00:04:42 Login Succeeded 00:04:42 nexus3.edgexfoundry.org:10004 00:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:42 Configure a credential helper to remove this warning. See 00:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:42 00:04:43 Login Succeeded 00:04:43 docker.io 00:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:43 Configure a credential helper to remove this warning. See 00:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:43 00:04:43 Login Succeeded 00:04:43 ---> docker-login.sh ends [Pipeline] } 00:04:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:04:44 ========================================================= 00:04:44 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:04:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:04:44 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:04:47 Sending build context to Docker daemon 167.4MB 00:04:47 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 00:04:47 Step 2/6 : FROM ${BASE} 00:04:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:04:47 5f621e34cdf4: Pulling fs layer 00:04:47 a4357932f1b6: Pulling fs layer 00:04:47 18c013af1878: Pulling fs layer 00:04:47 00ac8860ef70: Pulling fs layer 00:04:47 63d7cb157983: Pulling fs layer 00:04:47 b116817d02f9: Pulling fs layer 00:04:47 745a02a5169b: Pulling fs layer 00:04:47 00ac8860ef70: Waiting 00:04:47 63d7cb157983: Waiting 00:04:47 b116817d02f9: Waiting 00:04:47 745a02a5169b: Waiting 00:04:47 18c013af1878: Download complete 00:04:47 a4357932f1b6: Download complete 00:04:47 63d7cb157983: Verifying Checksum 00:04:47 63d7cb157983: Download complete 00:04:47 b116817d02f9: Download complete 00:04:47 5f621e34cdf4: Verifying Checksum 00:04:47 5f621e34cdf4: Download complete 00:04:47 5f621e34cdf4: Pull complete 00:04:48 a4357932f1b6: Pull complete 00:04:48 18c013af1878: Pull complete 00:04:49 745a02a5169b: Verifying Checksum 00:04:49 745a02a5169b: Download complete 00:04:50 00ac8860ef70: Verifying Checksum 00:04:50 00ac8860ef70: Download complete 00:05:01 00ac8860ef70: Pull complete 00:05:01 63d7cb157983: Pull complete 00:05:01 b116817d02f9: Pull complete 00:05:05 745a02a5169b: Pull complete 00:05:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:05:05 ---> b7e6874047d6 00:05:05 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:05:08 ---> Running in a5604c22c928 00:05:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:05:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:05:10 (1/12) Installing libmagic (5.38-r0) 00:05:11 (2/12) Installing file (5.38-r0) 00:05:11 (3/12) Installing libc-dev (0.7.2-r3) 00:05:11 (4/12) Installing g++ (9.3.0-r2) 00:05:15 (5/12) Installing fortify-headers (1.1-r0) 00:05:15 (6/12) Installing patch (2.7.6-r6) 00:05:15 (7/12) Installing build-base (0.5-r2) 00:05:15 (8/12) Installing libsodium (1.0.18-r0) 00:05:15 (9/12) Installing pkgconf (1.7.2-r0) 00:05:15 (10/12) Installing libsodium-dev (1.0.18-r0) 00:05:15 (11/12) Installing libzmq (4.3.3-r0) 00:05:15 (12/12) Installing zeromq-dev (4.3.3-r0) 00:05:16 Executing busybox-1.31.1-r19.trigger 00:05:16 OK: 217 MiB in 51 packages 00:05:20 Removing intermediate container a5604c22c928 00:05:20 ---> c6c7fc95cc62 00:05:20 Step 4/6 : WORKDIR /edgex-go 00:05:20 ---> Running in e15c5ff5690e 00:05:20 Removing intermediate container e15c5ff5690e 00:05:20 ---> 9f0215f69b3b 00:05:20 Step 5/6 : COPY go.mod . 00:05:21 ---> db67f8c8320a 00:05:21 Step 6/6 : RUN go mod download 00:05:21 ---> Running in 2c863a30b6d6 00:05:48 Removing intermediate container 2c863a30b6d6 00:05:48 ---> bf1dc7c46cca 00:05:48 Successfully built bf1dc7c46cca 00:05:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:05:48 + docker inspect -f . ci-base-image-arm64 00:05:48 . [Pipeline] withDockerContainer 00:05:48 prd-ubuntu18.04-docker-arm64-4c-16g-2262 does not seem to be running inside a container 00:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:05:50 $ docker top 6d3be0097047292a591ff4b51bc5e9ec70575a0ee83486db4a43560d072ad378 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:51 + go version 00:05:51 go version go1.15.5 linux/arm64 [Pipeline] } 00:05:51 $ docker stop --time=1 6d3be0097047292a591ff4b51bc5e9ec70575a0ee83486db4a43560d072ad378 00:05:53 $ docker rm -f 6d3be0097047292a591ff4b51bc5e9ec70575a0ee83486db4a43560d072ad378 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:05:54 + docker inspect -f . ci-base-image-arm64 00:05:54 . [Pipeline] withDockerContainer 00:05:54 prd-ubuntu18.04-docker-arm64-4c-16g-2262 does not seem to be running inside a container 00:05:54 $ 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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:05:56 $ docker top d42c7a5ed86d030be864fd30f530f927ad5a3203a800df4c54157a567185cc6e -eo pid,comm [Pipeline] { [Pipeline] echo 00:05:56 ========================================================= 00:05:56 [edgeXBuildGoParallel] Running Tests and Build... 00:05:56 ========================================================= [Pipeline] sh 00:05:57 + make test 00:05:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:06:19 ? github.com/edgexfoundry/edgex-go [no test files] 00:07:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:07:15 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:07:22 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:07:22 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:07:24 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 00:07:24 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:07:24 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:07:24 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:07:27 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:07:28 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:07:36 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:07:36 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:07:36 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:07:43 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.336s coverage: 45.9% of statements 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:07:43 ? github.com/edgexfoundry/edgex-go/internal/core/command/v2 [no test files] 00:07:43 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.123s coverage: 19.8% of statements 00:07:43 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.267s coverage: 100.0% of statements 00:07:50 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.526s coverage: 27.1% of statements 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:07:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.156s coverage: 100.0% of statements 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:07:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.162s coverage: 100.0% of statements 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:07:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:07:51 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.307s coverage: 71.3% of statements 00:07:51 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:07:51 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:07:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.498s coverage: 87.7% of statements 00:07:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:07:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:07:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.139s coverage: 78.9% of statements 00:07:52 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.158s coverage: 28.6% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.235s coverage: 100.0% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.201s coverage: 100.0% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.478s coverage: 86.7% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.411s coverage: 97.5% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:08:02 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.196s coverage: 78.3% of statements 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:08:02 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.149s coverage: 95.1% of statements 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.139s coverage: 58.8% of statements 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.207s coverage: 0.9% of statements 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:08:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.124s coverage: 47.1% of statements 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.180s coverage: 79.5% of statements 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.116s coverage: 94.1% of statements 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.166s coverage: 96.3% of statements 00:08:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.119s coverage: 87.5% of statements 00:08:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.145s coverage: 94.4% of statements 00:08:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.147s coverage: 44.8% of statements 00:08:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.508s coverage: 81.8% of statements 00:08:30 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.176s coverage: 92.9% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 77.8% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.082s coverage: 87.2% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.110s coverage: 100.0% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.166s coverage: 75.5% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.140s coverage: 80.8% of statements 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.222s coverage: 87.2% of statements 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.189s coverage: 84.6% of statements 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.217s coverage: 91.6% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.565s coverage: 64.4% of statements 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:08:40 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.127s coverage: 100.0% of statements 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements 00:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements 00:08:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.081s coverage: 73.7% of statements 00:08:41 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements 00:08:45 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.953s coverage: 69.0% of statements 00:08:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:08:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:08:45 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 00:08:47 --- FAIL: TestCreatesFile (0.00s) 00:08:47 tokenprovider_linux_test.go:52: 00:08:47 Error Trace: tokenprovider_linux_test.go:52 00:08:47 Error: Received unexpected error: 00:08:47 Failed to locate touch on PATH: exec: "touch": executable file not found in $PATH 00:08:47 Test: TestCreatesFile 00:08:47 FAIL 00:08:47 coverage: 40.0% of statements 00:08:47 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.616s 00:08:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:08:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:08:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.122s coverage: 89.5% of statements 00:08:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 00:08:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.087s coverage: 84.8% of statements 00:08:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.433s coverage: 47.0% of statements 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:08:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.137s coverage: 100.0% of statements 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:08:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.105s coverage: 100.0% of statements 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2 [no test files] 00:08:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 0.206s coverage: 9.6% of statements 00:08:53 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/bootstrap/container [no test files] 00:08:54 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.475s coverage: 92.6% of statements 00:08:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces [no test files] 00:08:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/infrastructure/interfaces/mocks [no test files] 00:08:54 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/io [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.144s coverage: 28.7% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.213s coverage: 99.0% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.162s coverage: 100.0% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2 [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.141s coverage: 64.6% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/bootstrap/container [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.379s coverage: 97.6% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/infrastructure/interfaces/mocks [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/io [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/system 0.048s coverage: 0.0% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.078s coverage: 100.0% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.085s coverage: 87.9% of statements 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:09:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:09:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 00:09:05 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.113s coverage: 28.1% of statements 00:09:06 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 00:09:06 FAIL 00:09:06 make: *** [Makefile:94: test] Error 1 [Pipeline] } 00:09:06 $ docker stop --time=1 d42c7a5ed86d030be864fd30f530f927ad5a3203a800df4c54157a567185cc6e 00:09:09 $ docker rm -f d42c7a5ed86d030be864fd30f530f927ad5a3203a800df4c54157a567185cc6e [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:09:10 ---> job-cost.sh 00:09:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OWAG 00:09:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:11:26 lf-activate-venv(): INFO: Adding /tmp/venv-OWAG/bin to PATH 00:11:26 INFO: No Stack... 00:11:26 INFO: Retrieving Pricing Info for: lf-standard-4 00:11:26 INFO: Archiving Costs [Pipeline] sh 00:11:26 + cat+ /w/workspace/edgex-go/5/archives/cost.csv 00:11:26 cut -d, -f6 [Pipeline] lock 00:11:27 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3408-5-stack-cost] 00:11:27 Resource [jenkins-edgexfoundry-edgex-go-PR-3408-5-stack-cost] did not exist. Created. 00:11:27 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3408-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:11:27 + echo total: 0.20999999344348907 [Pipeline] stash 00:11:28 Stashed 1 file(s) [Pipeline] } 00:11:28 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3408-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:11:28 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:11:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:11:30 ---> package-listing.sh 00:11:30 ++ facter osfamily 00:11:30 ++ tr '[:upper:]' '[:lower:]' 00:11:30 + OS_FAMILY=redhat 00:11:30 + workspace=/w/workspace/edgex-go/5 00:11:30 + START_PACKAGES=/tmp/packages_start.txt 00:11:30 + END_PACKAGES=/tmp/packages_end.txt 00:11:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:11:30 + PACKAGES=/tmp/packages_start.txt 00:11:30 + '[' /w/workspace/edgex-go/5 ']' 00:11:30 + PACKAGES=/tmp/packages_end.txt 00:11:30 + case "${OS_FAMILY}" in 00:11:30 + rpm -qa 00:11:30 + sort 00:11:36 + '[' -f /tmp/packages_start.txt ']' 00:11:36 + '[' -f /tmp/packages_end.txt ']' 00:11:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:11:36 + '[' /w/workspace/edgex-go/5 ']' 00:11:36 + mkdir -p /w/workspace/edgex-go/5/archives/ 00:11:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/5/archives/ [Pipeline] echo 00:11:36 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/5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:11:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:11:36 00:11:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:11:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:11:37 alpine: Pulling from edgex-lftools-log-publisher 00:11:37 df20fa9351a1: Pulling fs layer 00:11:37 36b3adc4ff6f: Pulling fs layer 00:11:37 8ad3a11d3b57: Pulling fs layer 00:11:37 46f8f816bc3b: Pulling fs layer 00:11:37 93b61091891f: Pulling fs layer 00:11:37 93b9cdb0e59b: Pulling fs layer 00:11:37 5e14af77c1be: Pulling fs layer 00:11:37 01666e4c0597: Pulling fs layer 00:11:37 aa168da1d23b: Pulling fs layer 00:11:37 93b61091891f: Waiting 00:11:37 93b9cdb0e59b: Waiting 00:11:37 5e14af77c1be: Waiting 00:11:37 01666e4c0597: Waiting 00:11:37 aa168da1d23b: Waiting 00:11:37 46f8f816bc3b: Waiting 00:11:37 36b3adc4ff6f: Verifying Checksum 00:11:37 36b3adc4ff6f: Download complete 00:11:37 46f8f816bc3b: Verifying Checksum 00:11:37 46f8f816bc3b: Download complete 00:11:37 df20fa9351a1: Download complete 00:11:37 93b61091891f: Verifying Checksum 00:11:37 93b61091891f: Download complete 00:11:37 93b9cdb0e59b: Verifying Checksum 00:11:37 93b9cdb0e59b: Download complete 00:11:37 01666e4c0597: Verifying Checksum 00:11:37 01666e4c0597: Download complete 00:11:37 5e14af77c1be: Verifying Checksum 00:11:37 5e14af77c1be: Download complete 00:11:37 8ad3a11d3b57: Verifying Checksum 00:11:37 8ad3a11d3b57: Download complete 00:11:37 df20fa9351a1: Pull complete 00:11:37 36b3adc4ff6f: Pull complete 00:11:38 8ad3a11d3b57: Pull complete 00:11:38 46f8f816bc3b: Pull complete 00:11:39 93b61091891f: Pull complete 00:11:39 aa168da1d23b: Verifying Checksum 00:11:39 aa168da1d23b: Download complete 00:11:39 93b9cdb0e59b: Pull complete 00:11:39 5e14af77c1be: Pull complete 00:11:40 01666e4c0597: Pull complete 00:11:46 aa168da1d23b: Pull complete 00:11:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:11:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:11:47 prd-centos7-docker-4c-2g-2261 does not seem to be running inside a container 00:11:47 $ 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/5/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/5 -v /w/workspace/edgex-go/5:/w/workspace/edgex-go/5:rw,z -v /w/workspace/edgex-go/5@tmp:/w/workspace/edgex-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:11:50 $ docker top f36528994bb1b76026dcf44577e2a9880bad8460771f8cb8f92f12215830c951 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:50 + touch /tmp/pre-build-complete [Pipeline] sh 00:11:51 + mkdir -p /var/log/sa [Pipeline] sh 00:11:51 + ls /var/log/sa-host 00:11:51 + sadf -c /var/log/sa-host/sa23 00:11:51 file_magic: OK 00:11:51 HZ: Using current value: 100 00:11:51 file_header: OK 00:11: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:11:51 Statistics: 00:11:51 Hnuu...uuuununununu... 00:11:51 File successfully converted to sysstat format version 12.2.1 00:11:51 + sadf -c /var/log/sa-host/sa29 00:11:51 file_magic: OK 00:11:51 HZ: Using current value: 100 00:11:51 file_header: OK 00:11: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:11:51 Statistics: 00:11:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:11:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:51 provisioning config files... 00:11:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/5@tmp/config4571380268803439386tmp [Pipeline] { [Pipeline] echo 00:11:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:11:52 ---> create-netrc.sh [Pipeline] } 00:11:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:11:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:11:52 ---> python-tools-install.sh [Pipeline] echo 00:11:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:11:52 ---> sudo-logs.sh 00:11:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:11:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:11:53 ---> job-cost.sh 00:11:53 lf-activate-venv: SKIPPING 00:11:53 DEBUG: total: 0.20999999344348907 00:11:53 INFO: Retrieving Stack Cost... 00:11:55 INFO: Retrieving Pricing Info for: v1-standard-2 00:11:56 INFO: Archiving Costs [Pipeline] echo 00:11:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:11:56 ---> logs-deploy.sh 00:11:56 lf-activate-venv: SKIPPING 00:11:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3408/5 00:11:56 INFO: archiving workspace using pattern(s): 00:11:57 Archives upload complete. 00:11:57 INFO: archiving logs to Nexus