Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/edgex-go Obtained Jenkinsfile from 978d774887d91965e452545f712e090d7426a304+54b84b229ba08925bb613cd97ca37288ac469551 (7ab183155d5367c6c3343412688dc77edd4b925c) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2330 in /w/workspace/edgexfoundry_edgex-go_PR-2574 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/52 [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/52 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 54b84b229ba08925bb613cd97ca37288ac469551 into PR head commit 978d774887d91965e452545f712e090d7426a304 Merge succeeded, producing 17123174aacae3074607cb31a4411822d48b784b Checking out Revision 17123174aacae3074607cb31a4411822d48b784b (PR-2574) > 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 --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2574/head:refs/remotes/origin/PR-2574 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 978d774887d91965e452545f712e090d7426a304 # 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 54b84b229ba08925bb613cd97ca37288ac469551 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17123174aacae3074607cb31a4411822d48b784b # timeout=10 Commit message: "Merge commit '54b84b229ba08925bb613cd97ca37288ac469551' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:35:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:35:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:35:38 ========================================================= 00:35:38 EdgeX Global Pipelines Version Info 00:35:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1092cafb04db9188d1e975d713087b4d66fcd4f8 # timeout=10 00:35:40 ------------------- 00:35:40 stable info: 00:35:40 ------------------- 00:35:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:35:40 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:35:40 Message: update stable to v1.0.131 00:35:40 ------------------- 00:35:40 experimental info: 00:35:40 ------------------- 00:35:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:35:40 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:35:40 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:35:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:35:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2574 [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2574 [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2574 [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17123174aacae3074607cb31a4411822d48b784b [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1712317 [Pipeline] echo 00:35:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] sh 00:35:43 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secrets-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-logging/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/core-command/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo core-command,cmd/core-command/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/core-data/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo core-data,cmd/core-data/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/core-metadata/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo core-metadata,cmd/core-metadata/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/security-proxy-setup/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/security-secrets-setup/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo security-secrets-setup,cmd/security-secrets-setup/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/support-logging/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo support-logging,cmd/support-logging/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/support-notifications/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo support-notifications,cmd/support-notifications/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/support-scheduler/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:35:43 + for file in '`ls cmd/**/Dockerfile`' 00:35:43 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:35:43 ++ cut -d/ -f2 00:35:43 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:35:44 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-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secrets-setup-go, dockerfile:cmd/security-secrets-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-logging-go, dockerfile:cmd/support-logging/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:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:45 00:35:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:35:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:45 latest: Pulling from edgex-devops/git-semver 00:35:45 31603596830f: Pulling fs layer 00:35:45 2a8b12db71e7: Pulling fs layer 00:35:45 6ca5941a6612: Pulling fs layer 00:35:45 ecc8261a40a4: Pulling fs layer 00:35:45 ecc8261a40a4: Waiting 00:35:45 2a8b12db71e7: Verifying Checksum 00:35:45 2a8b12db71e7: Download complete 00:35:46 31603596830f: Verifying Checksum 00:35:46 31603596830f: Download complete 00:35:46 ecc8261a40a4: Verifying Checksum 00:35:46 ecc8261a40a4: Download complete 00:35:46 6ca5941a6612: Verifying Checksum 00:35:46 6ca5941a6612: Download complete 00:35:46 31603596830f: Pull complete 00:35:46 2a8b12db71e7: Pull complete 00:35:47 6ca5941a6612: Pull complete 00:35:47 ecc8261a40a4: Pull complete 00:35:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:35:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:35:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:35:48 prd-centos7-docker-4c-2g-2330 does not seem to be running inside a container 00:35:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@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:35:50 $ docker top a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:35:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:50 [ssh-agent] Looking for ssh-agent implementation... 00:35:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:51 $ docker exec a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed ssh-agent 00:35:51 SSH_AUTH_SOCK=/tmp/ssh-Gb7ZAMGG3fGj/agent.11 00:35:51 SSH_AGENT_PID=16 00:35:51 Running ssh-add (command line suppressed) 00:35:51 Identity added: /w/workspace/edgex-go/52@tmp/private_key_8672771478955850507.key (/w/workspace/edgex-go/52@tmp/private_key_8672771478955850507.key) 00:35:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:51 + git describe --exact-match --tags HEAD 00:35:51 fatal: no tag exactly matches '17123174aacae3074607cb31a4411822d48b784b' [Pipeline] } 00:35:51 $ docker exec --env ******** --env ******** a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed ssh-agent -k 00:35:51 unset SSH_AUTH_SOCK; 00:35:51 unset SSH_AGENT_PID; 00:35:51 echo Agent pid 16 killed; 00:35:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:35:52 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:35:52 This usually means this commit has not been tagged. [Pipeline] sshagent 00:35:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:52 [ssh-agent] Looking for ssh-agent implementation... 00:35:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:52 $ docker exec a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed ssh-agent 00:35:52 SSH_AUTH_SOCK=/tmp/ssh-0rpExqRFh8Ed/agent.45 00:35:52 SSH_AGENT_PID=51 00:35:52 Running ssh-add (command line suppressed) 00:35:52 Identity added: /w/workspace/edgex-go/52@tmp/private_key_29521603081767882.key (/w/workspace/edgex-go/52@tmp/private_key_29521603081767882.key) 00:35:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:53 + git semver init 00:35:53 # -> Open(): unable to determine branch for HEAD 00:35:53 # $GIT_DIR = /w/workspace/edgex-go/52/.git 00:35:53 # $GIT_WORK_TREE = /w/workspace/edgex-go/52 00:35:53 # $SEMVER_REMOTE_NAME = origin 00:35:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:35:53 # $SEMVER_USER_NAME = edgex-jenkins 00:35:53 # $SEMVER_BRANCH = PR-2574 00:35:53 # $SEMVER_TEMP = /tmp/semver-326035764 00:35:53 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:36:15 # '/tmp/semver-326035764' -> '/w/workspace/edgex-go/52/.semver' 00:36:15 # -> Force: false 00:36:15 # $SEMVER_DIR = /w/workspace/edgex-go/52/.semver [Pipeline] } 00:36:15 $ docker exec --env ******** --env ******** a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed ssh-agent -k 00:36:15 unset SSH_AUTH_SOCK; 00:36:15 unset SSH_AGENT_PID; 00:36:15 echo Agent pid 51 killed; 00:36:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:36:16 + git semver [Pipeline] } 00:36:16 $ docker stop --time=1 a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed 00:36:17 $ docker rm -f a4bd519aed629a17b08a4b6a939fdf4b770aacca52ed895e66b31ac6db1ad4ed [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:36:32 Stashed 61 file(s) [Pipeline] echo 00:36:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 00:36:33 ========================================================= 00:36:33 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:36:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:36:33 + 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:36:37 Sending build context to Docker daemon 324.7MB 00:36:37 Step 1/7 : ARG BASE=golang:1.15-alpine 00:36:37 Step 2/7 : FROM ${BASE} 00:36:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:36:37 df20fa9351a1: Pulling fs layer 00:36:37 ed8968b2872e: Pulling fs layer 00:36:37 a92cc7c5fd73: Pulling fs layer 00:36:37 e871e8e8d7a9: Pulling fs layer 00:36:37 e73272ec9a57: Pulling fs layer 00:36:37 1e910a182e73: Pulling fs layer 00:36:37 4e634b169226: Pulling fs layer 00:36:37 e73272ec9a57: Waiting 00:36:37 1e910a182e73: Waiting 00:36:37 4e634b169226: Waiting 00:36:37 e871e8e8d7a9: Waiting 00:36:37 a92cc7c5fd73: Verifying Checksum 00:36:37 a92cc7c5fd73: Download complete 00:36:37 ed8968b2872e: Verifying Checksum 00:36:37 ed8968b2872e: Download complete 00:36:37 e73272ec9a57: Verifying Checksum 00:36:37 e73272ec9a57: Download complete 00:36:37 1e910a182e73: Verifying Checksum 00:36:37 1e910a182e73: Download complete 00:36:37 df20fa9351a1: Verifying Checksum 00:36:37 df20fa9351a1: Download complete 00:36:37 df20fa9351a1: Pull complete 00:36:37 ed8968b2872e: Pull complete 00:36:37 a92cc7c5fd73: Pull complete 00:36:41 4e634b169226: Verifying Checksum 00:36:41 4e634b169226: Download complete 00:36:41 e871e8e8d7a9: Verifying Checksum 00:36:41 e871e8e8d7a9: Download complete 00:36:47 e871e8e8d7a9: Pull complete 00:36:47 e73272ec9a57: Pull complete 00:36:47 1e910a182e73: Pull complete 00:36:48 Still waiting to schedule task 00:36:48 Executor slot already in use; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2336’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2337’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2338’ is offline 00:36:57 4e634b169226: Pull complete 00:36:57 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 00:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:36:57 ---> f7629b54cfaa 00:36:57 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:36:57 ---> Running in 0af4d2f4fdbd 00:36:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:36:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:36:59 (1/12) Installing libmagic (5.38-r0) 00:37:00 (2/12) Installing file (5.38-r0) 00:37:00 (3/12) Installing libc-dev (0.7.2-r3) 00:37:00 (4/12) Installing g++ (9.3.0-r2) 00:37:08 (5/12) Installing fortify-headers (1.1-r0) 00:37:08 (6/12) Installing patch (2.7.6-r6) 00:37:08 (7/12) Installing build-base (0.5-r2) 00:37:08 (8/12) Installing libsodium (1.0.18-r0) 00:37:08 (9/12) Installing pkgconf (1.7.2-r0) 00:37:08 (10/12) Installing libsodium-dev (1.0.18-r0) 00:37:08 (11/12) Installing libzmq (4.3.3-r0) 00:37:08 (12/12) Installing zeromq-dev (4.3.3-r0) 00:37:08 Executing busybox-1.31.1-r16.trigger 00:37:08 OK: 233 MiB in 51 packages 00:37:11 Removing intermediate container 0af4d2f4fdbd 00:37:11 ---> db46b0ec4c31 00:37:11 Step 4/7 : WORKDIR /edgex-go 00:37:11 ---> Running in 332ec58994a8 00:37:11 Removing intermediate container 332ec58994a8 00:37:11 ---> 0ea18100702d 00:37:11 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:37:12 latest: Pulling from library/docker 00:37:12 df20fa9351a1: Already exists 00:37:12 25ad7478873d: Pulling fs layer 00:37:12 4684f6177b5d: Pulling fs layer 00:37:12 8ba584e970af: Pulling fs layer 00:37:12 3cdc74d2b06d: Pulling fs layer 00:37:12 4cf5a0d07c1f: Pulling fs layer 00:37:12 fca0ccc462d5: Pulling fs layer 00:37:12 3cdc74d2b06d: Waiting 00:37:12 4cf5a0d07c1f: Waiting 00:37:12 fca0ccc462d5: Waiting 00:37:12 4684f6177b5d: Verifying Checksum 00:37:12 4684f6177b5d: Download complete 00:37:12 25ad7478873d: Verifying Checksum 00:37:12 25ad7478873d: Download complete 00:37:12 3cdc74d2b06d: Verifying Checksum 00:37:12 3cdc74d2b06d: Download complete 00:37:12 4cf5a0d07c1f: Verifying Checksum 00:37:12 4cf5a0d07c1f: Download complete 00:37:12 25ad7478873d: Pull complete 00:37:12 fca0ccc462d5: Verifying Checksum 00:37:12 fca0ccc462d5: Download complete 00:37:12 4684f6177b5d: Pull complete 00:37:13 8ba584e970af: Verifying Checksum 00:37:13 8ba584e970af: Download complete 00:37:16 8ba584e970af: Pull complete 00:37:16 3cdc74d2b06d: Pull complete 00:37:16 4cf5a0d07c1f: Pull complete 00:37:16 fca0ccc462d5: Pull complete 00:37:16 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 00:37:16 Status: Downloaded newer image for docker:latest 00:37:18 ---> adab5dec6254 00:37:18 Step 6/7 : COPY go.mod . 00:37:18 ---> 5dfdad84c8f1 00:37:18 Step 7/7 : RUN go mod download 00:37:18 ---> Running in 8172a82f1353 00:37:45 Removing intermediate container 8172a82f1353 00:37:45 ---> 1c981f7f3e3f 00:37:45 Successfully built 1c981f7f3e3f 00:37:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:37:45 + docker inspect -f . ci-base-image-x86_64 00:37:45 . [Pipeline] withDockerContainer 00:37:45 prd-centos7-docker-4c-2g-2330 does not seem to be running inside a container 00:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@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 ******** ci-base-image-x86_64 cat 00:37:47 $ docker top 94db7dba9b1a4533474c02c33758dcbdc6f85628c3a98d1fdf006716b87c8b89 -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:47 + go version 00:37:47 go version go1.15.2 linux/amd64 [Pipeline] } 00:37:47 $ docker stop --time=1 94db7dba9b1a4533474c02c33758dcbdc6f85628c3a98d1fdf006716b87c8b89 00:37:49 $ docker rm -f 94db7dba9b1a4533474c02c33758dcbdc6f85628c3a98d1fdf006716b87c8b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:37:50 + docker inspect -f . ci-base-image-x86_64 00:37:50 . [Pipeline] withDockerContainer 00:37:50 prd-centos7-docker-4c-2g-2330 does not seem to be running inside a container 00:37:50 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@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 ******** ci-base-image-x86_64 cat 00:37:51 $ docker top 077fd96c1f24cafdcf5453b1eeb1d5c0d3b3f837d1b06f8c6cfe010bc78f0a27 -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:51 ========================================================= 00:37:51 [edgeXBuildGoParallel] Running Tests and Build... 00:37:51 ========================================================= [Pipeline] sh 00:37:52 + make test 00:37:52 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:37:54 ? github.com/edgexfoundry/edgex-go [no test files] 00:38:04 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:38:10 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:38:11 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:38:11 internal/security/secretstore/init.go:143:7: too many arguments to return 00:38:11 have (bool) 00:38:11 want () 00:38:11 internal/security/secretstore/init.go:148:6: too many arguments to return 00:38:11 have (bool) 00:38:11 want () 00:38:11 internal/security/secretstore/init.go:154:6: too many arguments to return 00:38:11 have (bool) 00:38:11 want () 00:38:11 internal/security/secretstore/init.go:160:7: too many arguments to return 00:38:11 have (bool) 00:38:11 want () 00:38:12 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.030s 00:38:12 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 00:38:16 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.028s coverage: 46.6% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.034s coverage: 27.2% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.005s coverage: 100.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.006s coverage: 100.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.339s coverage: 86.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.016s coverage: 93.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.123s coverage: 28.6% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.015s coverage: 100.0% of statements 00:38:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.007s coverage: 100.0% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.033s coverage: 86.7% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.036s coverage: 97.5% of statements 00:38:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.025s coverage: 100.0% of statements 00:38:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.015s coverage: 100.0% of statements 00:38:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.007s coverage: 58.8% of statements 00:38:22 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.007s coverage: 0.0% of statements [no tests to run] 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.078s coverage: 63.5% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.021s coverage: 100.0% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.009s coverage: 91.3% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.005s coverage: 100.0% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements 00:38:23 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements 00:38:24 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.092s coverage: 55.9% of statements 00:38:25 # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] 00:38:25 internal/security/secretstore/init.go:143: too many arguments to return 00:38:25 have (bool) 00:38:25 want () 00:38:25 internal/security/secretstore/init.go:148: too many arguments to return 00:38:25 have (bool) 00:38:25 want () 00:38:25 internal/security/secretstore/init.go:154: too many arguments to return 00:38:25 have (bool) 00:38:25 want () 00:38:25 internal/security/secretstore/init.go:160: too many arguments to return 00:38:25 have (bool) 00:38:25 want () 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 4.730s coverage: 86.3% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 0.372s coverage: 72.2% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.132s coverage: 72.1% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.021s coverage: 82.4% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.020s coverage: 48.4% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.018s coverage: 28.8% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.011s coverage: 96.8% of statements 00:38:29 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.068s coverage: 84.1% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.013s coverage: 100.0% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.009s coverage: 42.9% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.009s coverage: 100.0% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.014s coverage: 83.8% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.042s coverage: 46.9% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.023s coverage: 100.0% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.040s coverage: 100.0% of statements 00:38:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.019s coverage: 100.0% of statements 00:38:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2342 in /w/workspace/edgexfoundry_edgex-go_PR-2574 [Pipeline] { [Pipeline] ws 00:38:29 Running in /w/workspace/edgex-go/52 [Pipeline] { [Pipeline] checkout 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.052s coverage: 29.1% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.028s coverage: 99.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.016s coverage: 100.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system 0.006s coverage: 0.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.004s coverage: 100.0% of statements 00:38:30 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.010s coverage: 87.9% of statements 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.026s coverage: 100.0% of statements 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.005s coverage: 32.1% of statements 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.006s coverage: 100.0% of statements 00:38:31 make: *** [Makefile:81: test] Error 2 [Pipeline] } 00:38:31 $ docker stop --time=1 077fd96c1f24cafdcf5453b1eeb1d5c0d3b3f837d1b06f8c6cfe010bc78f0a27 00:38:34 $ docker rm -f 077fd96c1f24cafdcf5453b1eeb1d5c0d3b3f837d1b06f8c6cfe010bc78f0a27 [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] } 00:38:36 using credential edgex-jenkins-ssh [Pipeline] // withEnv [Pipeline] } 00:38:36 Cloning the remote Git repository [Pipeline] // stage [Pipeline] } 00:38:36 Failed in branch amd64 00:38:36 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:38:36 > git init /w/workspace/edgex-go/52 # timeout=10 00:38:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:38:36 > git --version # timeout=10 00:38:36 > git --version # 'git version 2.17.1' 00:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:38:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:12 Merging remotes/origin/master commit 54b84b229ba08925bb613cd97ca37288ac469551 into PR head commit 978d774887d91965e452545f712e090d7426a304 00:39:13 Merge succeeded, producing b8089bb40270a05cbb498a3253e5b5ea048eebae 00:39:13 Checking out Revision b8089bb40270a05cbb498a3253e5b5ea048eebae (PR-2574) 00:39:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:39:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:39:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:39:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:39:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2574/head:refs/remotes/origin/PR-2574 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:39:12 > git config core.sparsecheckout # timeout=10 00:39:12 > git checkout -f 978d774887d91965e452545f712e090d7426a304 # timeout=10 00:39:13 > git remote # timeout=10 00:39:13 > git config --get remote.origin.url # timeout=10 00:39:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:39:13 > git merge 54b84b229ba08925bb613cd97ca37288ac469551 # timeout=10 00:39:13 > git rev-parse HEAD^{commit} # timeout=10 00:39:13 > git config core.sparsecheckout # timeout=10 00:39:13 > git checkout -f b8089bb40270a05cbb498a3253e5b5ea048eebae # timeout=10 00:39:18 Commit message: "Merge commit '54b84b229ba08925bb613cd97ca37288ac469551' into HEAD" 00:39:18 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 00:39:18 > git rev-list --no-walk 1092cafb04db9188d1e975d713087b4d66fcd4f8 # timeout=10 [Pipeline] echo 00:39:31 ========================================================= 00:39:31 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:39:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:39:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:39:37 Sending build context to Docker daemon 324.7MB 00:39:37 Step 1/7 : ARG BASE=golang:1.15-alpine 00:39:37 Step 2/7 : FROM ${BASE} 00:39:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:39:37 b538f80385f9: Pulling fs layer 00:39:37 74f711af9a0d: Pulling fs layer 00:39:37 99f96fe45779: Pulling fs layer 00:39:37 8529a6b9a6be: Pulling fs layer 00:39:37 8529a6b9a6be: Waiting 00:39:37 45590311c82a: Pulling fs layer 00:39:37 69ca0ff8b7b3: Pulling fs layer 00:39:37 209524e5b208: Pulling fs layer 00:39:37 45590311c82a: Waiting 00:39:37 69ca0ff8b7b3: Waiting 00:39:37 209524e5b208: Waiting 00:39:37 99f96fe45779: Verifying Checksum 00:39:37 99f96fe45779: Download complete 00:39:37 74f711af9a0d: Verifying Checksum 00:39:37 74f711af9a0d: Download complete 00:39:37 45590311c82a: Download complete 00:39:37 69ca0ff8b7b3: Verifying Checksum 00:39:37 69ca0ff8b7b3: Download complete 00:39:37 b538f80385f9: Verifying Checksum 00:39:37 b538f80385f9: Download complete 00:39:38 b538f80385f9: Pull complete 00:39:39 74f711af9a0d: Pull complete 00:39:39 99f96fe45779: Pull complete 00:39:40 209524e5b208: Download complete 00:39:41 8529a6b9a6be: Verifying Checksum 00:39:41 8529a6b9a6be: Download complete 00:39:51 8529a6b9a6be: Pull complete 00:39:52 45590311c82a: Pull complete 00:39:52 69ca0ff8b7b3: Pull complete 00:39:57 209524e5b208: Pull complete 00:39:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 00:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:39:57 ---> 5bddaf1c2fca 00:39:57 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:40:01 ---> Running in d08e06d82920 00:40:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:40:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:40:05 (1/12) Installing libmagic (5.38-r0) 00:40:05 (2/12) Installing file (5.38-r0) 00:40:05 (3/12) Installing libc-dev (0.7.2-r3) 00:40:05 (4/12) Installing g++ (9.3.0-r2) 00:40:10 (5/12) Installing fortify-headers (1.1-r0) 00:40:10 (6/12) Installing patch (2.7.6-r6) 00:40:10 (7/12) Installing build-base (0.5-r2) 00:40:10 (8/12) Installing libsodium (1.0.18-r0) 00:40:10 (9/12) Installing pkgconf (1.7.2-r0) 00:40:10 (10/12) Installing libsodium-dev (1.0.18-r0) 00:40:10 (11/12) Installing libzmq (4.3.3-r0) 00:40:10 (12/12) Installing zeromq-dev (4.3.3-r0) 00:40:10 Executing busybox-1.31.1-r16.trigger 00:40:10 OK: 217 MiB in 51 packages 00:40:15 Removing intermediate container d08e06d82920 00:40:15 ---> 178202a01e57 00:40:15 Step 4/7 : WORKDIR /edgex-go 00:40:15 ---> Running in 8502706e61e1 00:40:15 Removing intermediate container 8502706e61e1 00:40:15 ---> 20cf3b2e5d9c 00:40:15 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:40:16 latest: Pulling from library/docker 00:40:16 b538f80385f9: Already exists 00:40:16 259a493cd78d: Pulling fs layer 00:40:16 b8e66b5100f5: Pulling fs layer 00:40:16 7f8258a56ab6: Pulling fs layer 00:40:16 75a0a0ebb566: Pulling fs layer 00:40:16 4a2c62f0a2a3: Pulling fs layer 00:40:16 294320357d30: Pulling fs layer 00:40:16 75a0a0ebb566: Waiting 00:40:16 294320357d30: Waiting 00:40:16 b8e66b5100f5: Verifying Checksum 00:40:16 b8e66b5100f5: Download complete 00:40:16 259a493cd78d: Download complete 00:40:16 75a0a0ebb566: Verifying Checksum 00:40:16 75a0a0ebb566: Download complete 00:40:16 4a2c62f0a2a3: Verifying Checksum 00:40:16 4a2c62f0a2a3: Download complete 00:40:16 294320357d30: Verifying Checksum 00:40:16 294320357d30: Download complete 00:40:17 259a493cd78d: Pull complete 00:40:17 b8e66b5100f5: Pull complete 00:40:17 7f8258a56ab6: Verifying Checksum 00:40:17 7f8258a56ab6: Download complete 00:40:21 7f8258a56ab6: Pull complete 00:40:21 75a0a0ebb566: Pull complete 00:40:21 4a2c62f0a2a3: Pull complete 00:40:22 294320357d30: Pull complete 00:40:22 Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 00:40:22 Status: Downloaded newer image for docker:latest 00:40:26 ---> 30ddacfe359f 00:40:26 Step 6/7 : COPY go.mod . 00:40:27 ---> 4f454658f3f8 00:40:27 Step 7/7 : RUN go mod download 00:40:27 ---> Running in 875f1b1d4b99 00:40:59 Removing intermediate container 875f1b1d4b99 00:40:59 ---> a71846655aba 00:40:59 Successfully built a71846655aba 00:40:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:41:00 + docker inspect -f . ci-base-image-arm64 00:41:00 . [Pipeline] withDockerContainer 00:41:00 prd-ubuntu18.04-docker-arm64-4c-16g-2342 does not seem to be running inside a container 00:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@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 ******** ci-base-image-arm64 cat 00:41:02 $ docker top 26e6aa4cdbc908fd4bb99588b3043676ce13c8291e455d9721eca4045b51b341 -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:04 + go version 00:41:04 go version go1.15.2 linux/arm64 [Pipeline] } 00:41:04 $ docker stop --time=1 26e6aa4cdbc908fd4bb99588b3043676ce13c8291e455d9721eca4045b51b341 00:41:06 $ docker rm -f 26e6aa4cdbc908fd4bb99588b3043676ce13c8291e455d9721eca4045b51b341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:41:07 + docker inspect -f . ci-base-image-arm64 00:41:07 . [Pipeline] withDockerContainer 00:41:07 prd-ubuntu18.04-docker-arm64-4c-16g-2342 does not seem to be running inside a container 00:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -e GOTESTFLAGS= -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/52 -v /w/workspace/edgex-go/52:/w/workspace/edgex-go/52:rw,z -v /w/workspace/edgex-go/52@tmp:/w/workspace/edgex-go/52@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 ******** ci-base-image-arm64 cat 00:41:09 $ docker top bd8813f035507c297cc7b347ca81e8353b4c67e867946e73d6f6525aa738fb9e -eo pid,comm [Pipeline] { [Pipeline] echo 00:41:10 ========================================================= 00:41:10 [edgeXBuildGoParallel] Running Tests and Build... 00:41:10 ========================================================= [Pipeline] sh 00:41:10 + make test 00:41:10 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:41:14 ? github.com/edgexfoundry/edgex-go [no test files] 00:41:53 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:42:11 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:42:11 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:42:11 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:42:11 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:42:12 # github.com/edgexfoundry/edgex-go/internal/security/secretstore 00:42:12 internal/security/secretstore/init.go:143:7: too many arguments to return 00:42:12 have (bool) 00:42:12 want () 00:42:12 internal/security/secretstore/init.go:148:6: too many arguments to return 00:42:12 have (bool) 00:42:12 want () 00:42:12 internal/security/secretstore/init.go:154:6: too many arguments to return 00:42:12 have (bool) 00:42:12 want () 00:42:12 internal/security/secretstore/init.go:160:7: too many arguments to return 00:42:12 have (bool) 00:42:12 want () 00:42:13 ok github.com/edgexfoundry/edgex-go/cmd/security-secrets-setup 0.028s 00:42:13 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-read [no test files] 00:42:28 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.225s coverage: 46.6% of statements 00:42:32 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.233s coverage: 27.2% of statements 00:42:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.064s coverage: 100.0% of statements 00:42:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.040s coverage: 100.0% of statements 00:42:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.388s coverage: 86.0% of statements 00:42:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.400s coverage: 93.0% of statements 00:42:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.529s coverage: 28.6% of statements 00:42:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.082s coverage: 100.0% of statements 00:42:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.036s coverage: 100.0% of statements 00:42:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.093s coverage: 86.7% of statements 00:42:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.138s coverage: 97.5% of statements 00:42:41 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.041s coverage: 100.0% of statements 00:42:43 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.127s coverage: 100.0% of statements 00:42:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.030s coverage: 58.8% of statements 00:42:43 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.026s coverage: 0.0% of statements [no tests to run] 00:42:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.194s coverage: 63.5% of statements 00:42:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.016s coverage: 100.0% of statements 00:42:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.024s coverage: 91.3% of statements 00:42:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 00:42:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 00:42:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.015s coverage: 100.0% of statements 00:42:51 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.328s coverage: 55.9% of statements 00:42:55 # github.com/edgexfoundry/edgex-go/internal/security/secretstore [github.com/edgexfoundry/edgex-go/internal/security/secretstore.test] 00:42:55 internal/security/secretstore/init.go:143: too many arguments to return 00:42:55 have (bool) 00:42:55 want () 00:42:55 internal/security/secretstore/init.go:148: too many arguments to return 00:42:55 have (bool) 00:42:55 want () 00:42:55 internal/security/secretstore/init.go:154: too many arguments to return 00:42:55 have (bool) 00:42:55 want () 00:42:55 internal/security/secretstore/init.go:160: too many arguments to return 00:42:55 have (bool) 00:42:55 want () 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/certificates 14.982s coverage: 86.3% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/cache 1.363s coverage: 72.2% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/generate 0.453s coverage: 72.1% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/command/import 0.025s coverage: 82.4% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/config 0.016s coverage: 48.4% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/helper 0.021s coverage: 28.8% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secrets/seed 0.020s coverage: 96.8% of statements 00:43:05 FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.304s coverage: 84.1% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.030s coverage: 100.0% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/support/logging 0.022s coverage: 42.9% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/support/logging/filter 0.012s coverage: 100.0% of statements 00:43:05 ok github.com/edgexfoundry/edgex-go/internal/support/logging/logger/file 0.041s coverage: 83.8% of statements 00:43:06 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.153s coverage: 46.9% of statements 00:43:06 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/enums 0.036s coverage: 100.0% of statements 00:43:06 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.045s coverage: 100.0% of statements 00:43:06 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.036s coverage: 100.0% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.227s coverage: 29.1% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.040s coverage: 99.0% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.035s coverage: 100.0% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/system 0.029s coverage: 0.0% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.018s coverage: 100.0% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.031s coverage: 87.9% of statements 00:43:12 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.029s coverage: 100.0% of statements 00:43:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.012s coverage: 32.1% of statements 00:43:14 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.019s coverage: 100.0% of statements 00:43:14 make: *** [Makefile:81: test] Error 2 [Pipeline] } 00:43:14 $ docker stop --time=1 bd8813f035507c297cc7b347ca81e8353b4c67e867946e73d6f6525aa738fb9e 00:43:17 $ docker rm -f bd8813f035507c297cc7b347ca81e8353b4c67e867946e73d6f6525aa738fb9e [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:43:19 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] { (Clair Scan) Stage "Clair 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:43:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:22 ---> package-listing.sh 00:43:22 ++ facter osfamily 00:43:22 ++ tr '[:upper:]' '[:lower:]' 00:43:22 + OS_FAMILY=redhat 00:43:22 + workspace=/w/workspace/edgex-go/52 00:43:22 + START_PACKAGES=/tmp/packages_start.txt 00:43:22 + END_PACKAGES=/tmp/packages_end.txt 00:43:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:22 + PACKAGES=/tmp/packages_start.txt 00:43:22 + '[' /w/workspace/edgex-go/52 ']' 00:43:22 + PACKAGES=/tmp/packages_end.txt 00:43:22 + case "${OS_FAMILY}" in 00:43:22 + rpm -qa 00:43:22 + sort 00:43:26 + '[' -f /tmp/packages_start.txt ']' 00:43:26 + '[' -f /tmp/packages_end.txt ']' 00:43:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:26 + '[' /w/workspace/edgex-go/52 ']' 00:43:26 + mkdir -p /w/workspace/edgex-go/52/archives/ 00:43:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/52/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:26 provisioning config files... 00:43:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/52@tmp/config9041655079861959408tmp [Pipeline] { [Pipeline] echo 00:43:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:43:27 ---> create-netrc.sh [Pipeline] } 00:43:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:43:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:43:27 ---> python-tools-install.sh 00:43:27 Generating Requirements File 00:44:49 Python 3.6.8 00:44:49 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 00:44:49 aiohttp==3.6.2 00:44:49 appdirs==1.4.3 00:44:49 argcomplete==1.12.1 00:44:49 aspy.yaml==1.3.0 00:44:49 async-timeout==3.0.1 00:44:49 attrs==19.3.0 00:44:49 Babel==2.8.0 00:44:49 beautifulsoup4==4.8.2 00:44:49 boto3==1.11.6 00:44:49 botocore==1.14.6 00:44:49 bs4==0.0.1 00:44:49 cachetools==4.1.1 00:44:49 certifi==2019.11.28 00:44:49 cffi==1.14.3 00:44:49 cfgv==2.0.1 00:44:49 chardet==3.0.4 00:44:49 click==7.1 00:44:49 cliff==3.4.0 00:44:49 cmd2==1.3.10 00:44:49 colorama==0.4.3 00:44:49 cryptography==3.1.1 00:44:49 debtcollector==2.2.0 00:44:49 decorator==4.4.2 00:44:49 defusedxml==0.6.0 00:44:49 Deprecated==1.2.7 00:44:49 distlib==0.3.1 00:44:49 distro==1.2.0 00:44:49 dnspython==1.16.0 00:44:49 docker==4.2.0 00:44:49 docutils==0.15.2 00:44:49 dogpile.cache==1.0.2 00:44:49 email-validator==1.0.5 00:44:49 filelock==3.0.12 00:44:49 future==0.18.2 00:44:49 google-auth==1.22.0 00:44:49 httplib2==0.17.0 00:44:49 identify==1.4.11 00:44:49 idna==2.9 00:44:49 idna-ssl==1.1.0 00:44:49 importlib-metadata==1.7.0 00:44:49 importlib-resources==1.5.0 00:44:49 iso8601==0.1.13 00:44:49 Jinja2==2.11.1 00:44:49 jmespath==0.10.0 00:44:49 jsonpatch==1.26 00:44:49 jsonpointer==2.0 00:44:49 jsonschema==3.2.0 00:44:49 keystoneauth1==4.2.1 00:44:49 kubernetes==11.0.0 00:44:49 lftools==0.34.2 00:44:49 lxml==4.5.0 00:44:49 MarkupSafe==0.23 00:44:49 msgpack==1.0.0 00:44:49 multi-key-dict==2.0.3 00:44:49 multidict==4.7.6 00:44:49 munch==2.5.0 00:44:49 netaddr==0.8.0 00:44:49 netifaces==0.10.9 00:44:49 niet==1.4.2 00:44:49 nodeenv==1.3.5 00:44:49 oauth2client==4.1.3 00:44:49 oauthlib==3.1.0 00:44:49 openstacksdk==0.50.0 00:44:49 os-client-config==2.1.0 00:44:49 os-service-types==1.7.0 00:44:49 osc-lib==2.2.1 00:44:49 oslo.config==8.3.2 00:44:49 oslo.context==3.1.1 00:44:49 oslo.i18n==5.0.1 00:44:49 oslo.log==4.4.0 00:44:49 oslo.serialization==4.0.1 00:44:49 oslo.utils==4.6.0 00:44:49 packaging==20.4 00:44:49 pbr==5.4.4 00:44:49 pluggy==0.13.1 00:44:49 prettytable==0.7.2 00:44:49 py==1.9.0 00:44:49 pyasn1==0.4.8 00:44:49 pyasn1-modules==0.2.8 00:44:49 pycparser==2.20 00:44:49 pygerrit2==2.0.10 00:44:49 PyGithub==1.46 00:44:49 pyinotify==0.9.6 00:44:49 PyJWT==1.7.1 00:44:49 pyparsing==2.4.7 00:44:49 pyperclip==1.8.0 00:44:49 pyroute2==0.4.13 00:44:49 pyrsistent==0.15.7 00:44:49 PySocks==1.6.8 00:44:49 python-cinderclient==7.2.0 00:44:49 python-dateutil==2.8.1 00:44:49 python-heatclient==2.2.1 00:44:49 python-jenkins==1.7.0 00:44:49 python-keystoneclient==4.1.1 00:44:49 python-magnumclient==3.2.1 00:44:49 python-novaclient==17.2.1 00:44:49 python-openstackclient==5.3.1 00:44:49 python-swiftclient==3.10.1 00:44:49 pytz==2020.1 00:44:49 PyYAML==5.3 00:44:49 requests==2.23.0 00:44:49 requests-oauthlib==1.3.0 00:44:49 requestsexceptions==1.4.0 00:44:49 rfc3986==1.4.0 00:44:49 rpm==4.11.3 00:44:49 rsa==4.0 00:44:49 ruamel.yaml==0.16.10 00:44:49 ruamel.yaml.clib==0.2.0 00:44:49 s3transfer==0.3.3 00:44:49 shade==1.27.2 00:44:49 simplejson==3.17.2 00:44:49 six==1.14.0 00:44:49 soupsieve==2.0 00:44:49 stevedore==3.2.2 00:44:49 tabulate==0.8.6 00:44:49 toml==0.10.0 00:44:49 tox==3.20.0 00:44:49 tqdm==4.43.0 00:44:49 typing-extensions==3.7.4.3 00:44:49 urllib3==1.25.8 00:44:49 virtualenv==20.0.31 00:44:49 wcwidth==0.2.5 00:44:49 websocket-client==0.57.0 00:44:49 wrapt==1.12.1 00:44:49 xdg==3.0.2 00:44:49 xmltodict==0.12.0 00:44:49 yarl==1.6.0 00:44:49 yq==2.11.1 00:44:49 zipp==3.2.0 00:44:49 Cache entry deserialization failed, entry ignored 00:44:49 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 00:44:49 Python 2.7.5 00:44:49 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 00:44:49 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 00:44:49 ansible==2.9.7 00:44:49 Babel==0.9.6 00:44:49 backports.ssl-match-hostname==3.5.0.1 00:44:49 beautifulsoup4==4.4.1 00:44:49 bodhi==2.11.0 00:44:49 bodhi-client==2.11.0 00:44:49 CCColUtils==1.4 00:44:49 cffi==1.6.0 00:44:49 chardet==2.2.1 00:44:49 click==6.7 00:44:49 cloud-init==18.5 00:44:49 configobj==4.7.2 00:44:49 cryptography==1.7.2 00:44:49 decorator==3.4.0 00:44:49 distro==1.2.0 00:44:49 enum34==1.0.4 00:44:49 fedpkg==1.38 00:44:49 futures==3.1.1 00:44:49 gitdb==0.6.4 00:44:49 GitPython==1.0.1 00:44:49 html5lib==0.999 00:44:49 httplib2==0.9.2 00:44:49 idna==2.4 00:44:49 iniparse==0.4 00:44:49 ipaddress==1.0.16 00:44:49 IPy==0.75 00:44:49 javapackages==1.0.0 00:44:49 Jinja2==2.7.2 00:44:49 jmespath==0.9.4 00:44:49 jsonpatch==1.2 00:44:49 jsonpointer==1.9 00:44:49 kerberos==1.1 00:44:49 kitchen==1.1.1 00:44:49 langtable==0.0.31 00:44:49 lockfile==0.9.1 00:44:49 lxml==3.2.1 00:44:49 MarkupSafe==0.11 00:44:49 munch==2.0.2 00:44:49 offtrac==0.1.0 00:44:49 openidc-client==0.6.0 00:44:49 packagedb-cli==2.14.1 00:44:49 paramiko==2.1.1 00:44:49 perf==0.1 00:44:49 ply==3.4 00:44:49 policycoreutils-default-encoding==0.1 00:44:49 prettytable==0.7.2 00:44:49 pyasn1==0.1.9 00:44:49 pycparser==2.14 00:44:49 pycurl==7.19.0 00:44:49 pygobject==3.22.0 00:44:49 pygpgme==0.3 00:44:49 pyliblzma==0.5.3 00:44:49 pyOpenSSL==0.13.1 00:44:49 pyparsing==1.5.6 00:44:49 pyserial==2.6 00:44:49 python-augeas==0.5.0 00:44:49 python-bugzilla==2.3.0 00:44:49 python-dateutil==1.5 00:44:49 python-fedora==0.10.0 00:44:49 python-linux-procfs==0.4.9 00:44:49 python-yubico==1.2.3 00:44:49 pyudev==0.15 00:44:49 pyusb==1.0.0b1 00:44:49 pyxattr==0.5.1 00:44:49 PyYAML==3.10 00:44:49 requests==2.6.0 00:44:49 requests-kerberos==0.7.0 00:44:49 rpkg==1.60 00:44:49 schedutils==0.4 00:44:49 seobject==0.1 00:44:49 sepolicy==1.1 00:44:49 six==1.9.0 00:44:49 smmap==0.9.0 00:44:49 urlgrabber==3.10 00:44:49 urllib3==1.10.2 00:44:49 virtualenv==15.1.0 00:44:49 yum-langpacks==0.4.2 00:44:49 yum-metadata-parser==1.1.4 [Pipeline] echo 00:44:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:44:49 ---> sudo-logs.sh 00:44:49 Archiving 'sudo' log.. [Pipeline] echo 00:44:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:44:50 ---> job-cost.sh 00:44:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ywYg 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:00 Cache entry deserialization failed, entry ignored 00:45:01 Cache entry deserialization failed, entry ignored 00:45:01 Cache entry deserialization failed, entry ignored 00:45:01 Cache entry deserialization failed, entry ignored 00:45:01 Cache entry deserialization failed, entry ignored 00:45:01 Cache entry deserialization failed, entry ignored 00:45:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:45:36 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 00:45:36 00:45:36 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 00:45:36 00:45:36 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 00:45:36 lf-activate-venv(): INFO: Adding /tmp/venv-ywYg/bin to PATH 00:45:36 INFO: No Stack... 00:45:36 INFO: Retrieving Pricing Info for: v1-standard-2 00:45:36 INFO: Archiving Costs [Pipeline] echo 00:45:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:45:36 ---> logs-deploy.sh 00:45:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2574/52 00:45:36 INFO: archiving workspace using pattern(s): 00:45:38 Archives upload complete. 00:45:38 INFO: archiving logs to Nexus