Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from 652b88d02732414116d36a9ef8f1b948e700292e+829549d17866dcb3455a2494230a0e5a9e7c571b (1d1dd5ccceb75d989ab265099868fc118990b693) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3168870380945722769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3008180983564327781.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4993251480364709561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3122096418558952586.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3138942021497193397.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-250 in /w/workspace/edgexfoundry_edgex-go_PR-3746 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh6447700970017580428.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh263936733779762090.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3746/head:refs/remotes/origin/PR-3746 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 829549d17866dcb3455a2494230a0e5a9e7c571b into PR head commit 652b88d02732414116d36a9ef8f1b948e700292e Merge succeeded, producing 171776af480d5144d5d698c67250dc34e96bd28e Checking out Revision 171776af480d5144d5d698c67250dc34e96bd28e (PR-3746) > git config core.sparsecheckout # timeout=10 > git checkout -f 652b88d02732414116d36a9ef8f1b948e700292e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh2480728608275909397.key > git merge 829549d17866dcb3455a2494230a0e5a9e7c571b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 171776af480d5144d5d698c67250dc34e96bd28e # timeout=10 Commit message: "Merge commit '829549d17866dcb3455a2494230a0e5a9e7c571b' into HEAD" > git rev-list --no-walk 652b88d02732414116d36a9ef8f1b948e700292e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:29:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:29:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:29:24 ========================================================= 16:29:24 EdgeX Global Pipelines Version Info 16:29:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:29:25 ------------------- 16:29:25 stable info: 16:29:25 ------------------- 16:29:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:29:25 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 16:29:25 Message: update stable to v1.0.209 16:29:26 ------------------- 16:29:26 experimental info: 16:29:26 ------------------- 16:29:26 Commited By: **** collab-it+edgex@linuxfoundation.org 16:29:26 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 16:29:26 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3746 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3746 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3746 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 171776af480d5144d5d698c67250dc34e96bd28e [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 171776a [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:26 provisioning config files... 16:29:26 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6851916328635607695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:26 ---> docker-login.sh 16:29:26 nexus3.edgexfoundry.org:10001 16:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10002 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10003 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10004 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 docker.io 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:28 Configure a credential helper to remove this warning. See 16:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:28 16:29:28 Login Succeeded 16:29:28 ---> docker-login.sh ends [Pipeline] } 16:29:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:28 ++ 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 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/core-command/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo core-command,cmd/core-command/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/core-data/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo core-data,cmd/core-data/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/core-metadata/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo core-metadata,cmd/core-metadata/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/security-bootstrapper/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/security-proxy-setup/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/security-secretstore-setup/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/support-notifications/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo support-notifications,cmd/support-notifications/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/support-scheduler/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:29:28 + for file in '`ls cmd/**/Dockerfile`' 16:29:28 ++ dirname cmd/sys-mgmt-agent/Dockerfile 16:29:28 ++ cut -d/ -f2 16:29:28 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:29:28 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:29 16:29:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:29:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:29 latest: Pulling from edgex-devops/git-semver 16:29:29 a0d0a0d46f8b: Pulling fs layer 16:29:29 3e5f54012d9b: Pulling fs layer 16:29:29 4c7163046ea9: Pulling fs layer 16:29:29 0c2d73faf560: Pulling fs layer 16:29:29 0c2d73faf560: Waiting 16:29:29 3e5f54012d9b: Verifying Checksum 16:29:29 3e5f54012d9b: Download complete 16:29:29 a0d0a0d46f8b: Verifying Checksum 16:29:29 a0d0a0d46f8b: Download complete 16:29:29 4c7163046ea9: Verifying Checksum 16:29:29 4c7163046ea9: Download complete 16:29:29 0c2d73faf560: Verifying Checksum 16:29:29 0c2d73faf560: Download complete 16:29:29 a0d0a0d46f8b: Pull complete 16:29:29 3e5f54012d9b: Pull complete 16:29:30 4c7163046ea9: Pull complete 16:29:30 0c2d73faf560: Pull complete 16:29:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:29:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:29:30 prd-centos7-docker-4c-2g-250 does not seem to be running inside a container 16:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:29:31 $ docker top 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:31 [ssh-agent] Looking for ssh-agent implementation... 16:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:31 $ docker exec 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 ssh-agent 16:29:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbHoNmh/agent.14 16:29:31 SSH_AGENT_PID=20 16:29:31 Running ssh-add (command line suppressed) 16:29:31 Identity added: /w/workspace/edgex-go/2@tmp/private_key_8473626504292930946.key (/w/workspace/edgex-go/2@tmp/private_key_8473626504292930946.key) 16:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:31 + git tag --points-at HEAD [Pipeline] } 16:29:31 $ docker exec --env ******** --env ******** 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 ssh-agent -k 16:29:31 unset SSH_AUTH_SOCK; 16:29:31 unset SSH_AGENT_PID; 16:29:31 echo Agent pid 20 killed; 16:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:31 [ssh-agent] Looking for ssh-agent implementation... 16:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:32 $ docker exec 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 ssh-agent 16:29:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeABGCb/agent.53 16:29:32 SSH_AGENT_PID=59 16:29:32 Running ssh-add (command line suppressed) 16:29:32 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3389991335980661987.key (/w/workspace/edgex-go/2@tmp/private_key_3389991335980661987.key) 16:29:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:32 + git semver init 16:29:32 # -> Open(): unable to determine branch for HEAD 16:29:32 # $GIT_DIR = /w/workspace/edgex-go/2/.git 16:29:32 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 16:29:32 # $SEMVER_REMOTE_NAME = origin 16:29:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:29:32 # $SEMVER_USER_NAME = edgex-jenkins 16:29:32 # $SEMVER_BRANCH = PR-3746 16:29:32 # $SEMVER_TEMP = /tmp/semver-345584444 16:29:32 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 16:29:44 # '/tmp/semver-345584444' -> '/w/workspace/edgex-go/2/.semver' 16:29:44 # -> Force: false 16:29:44 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 16:29:44 $ docker exec --env ******** --env ******** 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 ssh-agent -k 16:29:44 unset SSH_AUTH_SOCK; 16:29:44 unset SSH_AGENT_PID; 16:29:44 echo Agent pid 59 killed; 16:29:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:45 + git semver [Pipeline] } 16:29:45 $ docker stop --time=1 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 16:29:47 $ docker rm -f 3addef194cfab53e5985b77a1b1ba575a47f93b37d09145930e9059dbfc89374 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:47 Stashed 1 file(s) [Pipeline] echo 16:29:47 [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 16:29:47 ========================================================= 16:29:47 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:29:47 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:29:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:29:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:29:48 4e9f2cdf4387: Pulling fs layer 16:29:48 57d31006c564: Pulling fs layer 16:29:48 bd5ccded8296: Pulling fs layer 16:29:48 304dd3a0f381: Pulling fs layer 16:29:48 d37cda54a23b: Pulling fs layer 16:29:48 bae75c0f2455: Pulling fs layer 16:29:48 806579b3d29a: Pulling fs layer 16:29:48 c77eb801bf70: Pulling fs layer 16:29:48 6d0567d44e1a: Pulling fs layer 16:29:48 bae75c0f2455: Waiting 16:29:48 806579b3d29a: Waiting 16:29:48 c77eb801bf70: Waiting 16:29:48 6d0567d44e1a: Waiting 16:29:48 304dd3a0f381: Waiting 16:29:48 d37cda54a23b: Waiting 16:29:48 bd5ccded8296: Verifying Checksum 16:29:48 bd5ccded8296: Download complete 16:29:48 57d31006c564: Verifying Checksum 16:29:48 57d31006c564: Download complete 16:29:48 d37cda54a23b: Verifying Checksum 16:29:48 d37cda54a23b: Download complete 16:29:48 bae75c0f2455: Verifying Checksum 16:29:48 bae75c0f2455: Download complete 16:29:48 4e9f2cdf4387: Verifying Checksum 16:29:48 4e9f2cdf4387: Download complete 16:29:48 806579b3d29a: Verifying Checksum 16:29:48 806579b3d29a: Download complete 16:29:48 c77eb801bf70: Verifying Checksum 16:29:48 c77eb801bf70: Download complete 16:29:48 4e9f2cdf4387: Pull complete 16:29:48 57d31006c564: Pull complete 16:29:48 304dd3a0f381: Verifying Checksum 16:29:48 304dd3a0f381: Download complete 16:29:48 bd5ccded8296: Pull complete 16:29:49 6d0567d44e1a: Verifying Checksum 16:29:49 6d0567d44e1a: Download complete 16:29:52 304dd3a0f381: Pull complete 16:29:52 d37cda54a23b: Pull complete 16:29:52 bae75c0f2455: Pull complete 16:29:52 806579b3d29a: Pull complete 16:29:52 c77eb801bf70: Pull complete 16:29:55 6d0567d44e1a: Pull complete 16:29:55 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 16:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:29:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 16:29:55 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:29:55 WORKDIR /edgex 16:29:55 COPY go.mod . 16:29:55 RUN go mod download' 16:29:55 + docker build -t ci-base-image-x86_64 -f - . 16:29:56 Sending build context to Docker daemon 329.4MB 16:29:56 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:29:56 ---> e839a31ac9d1 16:29:56 Step 2/4 : WORKDIR /edgex 16:29:58 ---> Running in b27d6150b121 16:29:58 Removing intermediate container b27d6150b121 16:29:58 ---> bd0acdb6a22c 16:29:58 Step 3/4 : COPY go.mod . 16:29:58 ---> 9bf65ed4c853 16:29:58 Step 4/4 : RUN go mod download 16:29:58 ---> Running in 4a4ea5d679a9 16:30:02 Still waiting to schedule task 16:30:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:30:31 Removing intermediate container 4a4ea5d679a9 16:30:31 ---> 8d2fbbf12cb7 16:30:31 Successfully built 8d2fbbf12cb7 16:30:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:30:31 + docker inspect -f . ci-base-image-x86_64 16:30:31 . [Pipeline] withDockerContainer 16:30:31 prd-centos7-docker-4c-2g-250 does not seem to be running inside a container 16:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:30:31 $ docker top bd4f56840b69083261bb4e02dc7b74a6bacb8f28ed6369bfc09c7192048510e6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:32 + go version 16:30:32 go version go1.16.8 linux/amd64 [Pipeline] } 16:30:32 $ docker stop --time=1 bd4f56840b69083261bb4e02dc7b74a6bacb8f28ed6369bfc09c7192048510e6 16:30:33 $ docker rm -f bd4f56840b69083261bb4e02dc7b74a6bacb8f28ed6369bfc09c7192048510e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:30:33 + docker inspect -f . ci-base-image-x86_64 16:30:33 . [Pipeline] withDockerContainer 16:30:33 prd-centos7-docker-4c-2g-250 does not seem to be running inside a container 16:30:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:30:34 $ docker top 82e0a2493188d21fb6a811f2fb7cac726f21e5e3b32d59de1de1fd9998f05dd8 -eo pid,comm [Pipeline] { [Pipeline] echo 16:30:34 ========================================================= 16:30:34 [edgeXBuildGoParallel] Running Tests and Build... 16:30:34 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:30:34 + make test 16:30:34 go mod tidy 16:30:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:30:39 ? github.com/edgexfoundry/edgex-go [no test files] 16:30:55 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:30:59 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 16:30:59 internal/core/data/controller/http/event.go:205:48: too many arguments in call to responses.NewMultiEventsResponse 16:30:59 have (string, string, number, uint32, []dtos.Event) 16:30:59 want (string, string, int, []dtos.Event) 16:30:59 internal/core/data/controller/http/event.go:230:48: too many arguments in call to responses.NewMultiEventsResponse 16:30:59 have (string, string, number, uint32, []dtos.Event) 16:30:59 want (string, string, int, []dtos.Event) 16:30:59 internal/core/data/controller/http/event.go:273:48: too many arguments in call to responses.NewMultiEventsResponse 16:30:59 have (string, string, number, uint32, []dtos.Event) 16:30:59 want (string, string, int, []dtos.Event) 16:31:07 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.043s coverage: 28.7% of statements 16:31:07 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.067s coverage: 98.5% of statements 16:31:07 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 16:31:07 internal/core/data/controller/http/event.go:205: too many arguments in call to responses.NewMultiEventsResponse 16:31:07 have (string, string, number, uint32, []dtos.Event) 16:31:07 want (string, string, int, []dtos.Event) 16:31:07 internal/core/data/controller/http/event.go:230: too many arguments in call to responses.NewMultiEventsResponse 16:31:07 have (string, string, number, uint32, []dtos.Event) 16:31:07 want (string, string, int, []dtos.Event) 16:31:07 internal/core/data/controller/http/event.go:273: too many arguments in call to responses.NewMultiEventsResponse 16:31:07 have (string, string, number, uint32, []dtos.Event) 16:31:07 want (string, string, int, []dtos.Event) 16:31:07 internal/core/data/controller/http/event_test.go:548:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:31:07 internal/core/data/controller/http/event_test.go:633:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:31:07 internal/core/data/controller/http/event_test.go:706:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:31:07 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.047s coverage: 45.3% of statements 16:31:07 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 16:31:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.044s coverage: 84.4% of statements 16:31:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.228s coverage: 94.2% of statements 16:31:09 ok github.com/edgexfoundry/edgex-go/internal/io 0.045s coverage: 59.1% of statements 16:31:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 60.0% of statements 16:31:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.049s coverage: 1.0% of statements 16:31:10 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.062s coverage: 58.8% of statements 16:31:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 21.7% of statements 16:31:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.045s coverage: 47.1% of statements 16:31:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.049s coverage: 79.5% of statements 16:31:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.042s coverage: 94.1% of statements 16:31:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.097s coverage: 96.3% of statements 16:31:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.047s coverage: 87.5% of statements 16:31:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements 16:31:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements 16:31:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.182s coverage: 82.5% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.080s coverage: 92.9% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 65.1% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.060s coverage: 87.2% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 85.4% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.138s coverage: 91.2% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.140s coverage: 64.4% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.028s coverage: 89.4% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.220s coverage: 70.4% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.112s coverage: 43.4% of statements 16:31:49 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements 16:31:50 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.053s coverage: 84.8% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.068s coverage: 19.5% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.116s coverage: 92.0% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.083s coverage: 97.7% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.054s coverage: 28.9% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements 16:31:56 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.038s coverage: 96.9% of statements 16:31:56 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 16:31:56 $ docker stop --time=1 82e0a2493188d21fb6a811f2fb7cac726f21e5e3b32d59de1de1fd9998f05dd8 16:31:58 $ docker rm -f 82e0a2493188d21fb6a811f2fb7cac726f21e5e3b32d59de1de1fd9998f05dd8 [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] } 16:31:58 Failed in branch amd64 16:37:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-256 in /w/workspace/edgexfoundry_edgex-go_PR-3746 [Pipeline] { [Pipeline] ws 16:37:28 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 16:37:29 The recommended git tool is: git 16:37:34 using credential edgex-jenkins-ssh 16:37:34 Cloning the remote Git repository 16:37:35 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:37:35 > git init /w/workspace/edgex-go/2 # timeout=10 16:37:35 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:37:35 > git --version # timeout=10 16:37:35 > git --version # 'git version 2.17.1' 16:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:37:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:50 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:37:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:50 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:37:50 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:37:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3746/head:refs/remotes/origin/PR-3746 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:37:51 Merging remotes/origin/main commit 829549d17866dcb3455a2494230a0e5a9e7c571b into PR head commit 652b88d02732414116d36a9ef8f1b948e700292e 16:37:52 Merge succeeded, producing 2ae408328e9e2f9511b3534db6e97eea913bd384 16:37:52 Checking out Revision 2ae408328e9e2f9511b3534db6e97eea913bd384 (PR-3746) 16:37:51 > git config core.sparsecheckout # timeout=10 16:37:51 > git checkout -f 652b88d02732414116d36a9ef8f1b948e700292e # timeout=10 16:37:52 > git remote # timeout=10 16:37:52 > git config --get remote.origin.url # timeout=10 16:37:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:37:52 > git merge 829549d17866dcb3455a2494230a0e5a9e7c571b # timeout=10 16:37:52 > git rev-parse HEAD^{commit} # timeout=10 16:37:52 > git config core.sparsecheckout # timeout=10 16:37:52 > git checkout -f 2ae408328e9e2f9511b3534db6e97eea913bd384 # timeout=10 16:37:56 Commit message: "Merge commit '829549d17866dcb3455a2494230a0e5a9e7c571b' into HEAD" 16:37:56 > git rev-list --no-walk 652b88d02732414116d36a9ef8f1b948e700292e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:57 provisioning config files... 16:37:57 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config9109695442602925679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:57 ---> docker-login.sh 16:37:57 nexus3.edgexfoundry.org:10001 16:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:59 Configure a credential helper to remove this warning. See 16:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:59 16:37:59 Login Succeeded 16:37:59 nexus3.edgexfoundry.org:10002 16:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:00 Configure a credential helper to remove this warning. See 16:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:00 16:38:00 Login Succeeded 16:38:00 nexus3.edgexfoundry.org:10003 16:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:00 Configure a credential helper to remove this warning. See 16:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:00 16:38:00 Login Succeeded 16:38:00 nexus3.edgexfoundry.org:10004 16:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:01 Configure a credential helper to remove this warning. See 16:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:01 16:38:01 Login Succeeded 16:38:01 docker.io 16:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:02 Configure a credential helper to remove this warning. See 16:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:02 16:38:02 Login Succeeded 16:38:02 ---> docker-login.sh ends [Pipeline] } 16:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:38:03 ========================================================= 16:38:03 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:38:03 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:38:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:38:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:38:04 bbf911997326: Pulling fs layer 16:38:04 58ec367f63d7: Pulling fs layer 16:38:04 1b4a6ffa7d45: Pulling fs layer 16:38:04 fc5181fea5dc: Pulling fs layer 16:38:04 9c418107303f: Pulling fs layer 16:38:04 284eca6f2348: Pulling fs layer 16:38:04 842844d905b1: Pulling fs layer 16:38:04 901a3a57568e: Pulling fs layer 16:38:04 9c418107303f: Waiting 16:38:04 284eca6f2348: Waiting 16:38:04 842844d905b1: Waiting 16:38:04 901a3a57568e: Waiting 16:38:04 fc5181fea5dc: Waiting 16:38:04 1b4a6ffa7d45: Verifying Checksum 16:38:04 1b4a6ffa7d45: Download complete 16:38:04 58ec367f63d7: Verifying Checksum 16:38:04 58ec367f63d7: Download complete 16:38:04 9c418107303f: Download complete 16:38:04 284eca6f2348: Verifying Checksum 16:38:04 284eca6f2348: Download complete 16:38:04 842844d905b1: Verifying Checksum 16:38:04 842844d905b1: Download complete 16:38:04 bbf911997326: Verifying Checksum 16:38:04 bbf911997326: Download complete 16:38:05 bbf911997326: Pull complete 16:38:06 58ec367f63d7: Pull complete 16:38:06 1b4a6ffa7d45: Pull complete 16:38:06 901a3a57568e: Verifying Checksum 16:38:06 901a3a57568e: Download complete 16:38:06 fc5181fea5dc: Download complete 16:38:16 fc5181fea5dc: Pull complete 16:38:17 9c418107303f: Pull complete 16:38:17 284eca6f2348: Pull complete 16:38:18 842844d905b1: Pull complete 16:38:24 901a3a57568e: Pull complete 16:38:24 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 16:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:38:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 16:38:25 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:38:25 WORKDIR /edgex 16:38:25 COPY go.mod . 16:38:25 RUN go mod download 16:38:25 + docker build -t ci-base-image-arm64 -f - . 16:38:27 Sending build context to Docker daemon 166.4MB 16:38:27 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:38:27 ---> 72ade6ffb461 16:38:27 Step 2/4 : WORKDIR /edgex 16:38:34 ---> Running in 48613c864386 16:38:34 Removing intermediate container 48613c864386 16:38:34 ---> d55c5f202fc9 16:38:34 Step 3/4 : COPY go.mod . 16:38:34 ---> ff35432b3878 16:38:34 Step 4/4 : RUN go mod download 16:38:34 ---> Running in faa718aeb73a 16:39:56 Removing intermediate container faa718aeb73a 16:39:56 ---> f02b94a2378d 16:39:56 Successfully built f02b94a2378d 16:39:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:39:56 + docker inspect -f . ci-base-image-arm64 16:39:56 . [Pipeline] withDockerContainer 16:39:57 prd-ubuntu18.04-docker-arm64-4c-16g-256 does not seem to be running inside a container 16:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:39:58 $ docker top 715df26b1dcdad36cf5fbde1ddda54e723929a524b21d85e25d9c119a19481a7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:59 + go version 16:39:59 go version go1.16.8 linux/arm64 [Pipeline] } 16:39:59 $ docker stop --time=1 715df26b1dcdad36cf5fbde1ddda54e723929a524b21d85e25d9c119a19481a7 16:40:01 $ docker rm -f 715df26b1dcdad36cf5fbde1ddda54e723929a524b21d85e25d9c119a19481a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:40:02 + docker inspect -f . ci-base-image-arm64 16:40:02 . [Pipeline] withDockerContainer 16:40:02 prd-ubuntu18.04-docker-arm64-4c-16g-256 does not seem to be running inside a container 16:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:40:04 $ docker top def4196a742bd04fb99f03bbfc86052a05e334824453ded060b9526b1cee5697 -eo pid,comm [Pipeline] { [Pipeline] echo 16:40:05 ========================================================= 16:40:05 [edgeXBuildGoParallel] Running Tests and Build... 16:40:05 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:40:05 + make test 16:40:05 go mod tidy 16:40:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:40:33 ? github.com/edgexfoundry/edgex-go [no test files] 16:41:29 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:41:29 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 16:41:29 internal/core/data/controller/http/event.go:205:48: too many arguments in call to responses.NewMultiEventsResponse 16:41:29 have (string, string, number, uint32, []dtos.Event) 16:41:29 want (string, string, int, []dtos.Event) 16:41:29 internal/core/data/controller/http/event.go:230:48: too many arguments in call to responses.NewMultiEventsResponse 16:41:29 have (string, string, number, uint32, []dtos.Event) 16:41:29 want (string, string, int, []dtos.Event) 16:41:29 internal/core/data/controller/http/event.go:273:48: too many arguments in call to responses.NewMultiEventsResponse 16:41:29 have (string, string, number, uint32, []dtos.Event) 16:41:29 want (string, string, int, []dtos.Event) 16:41:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.200s coverage: 28.7% of statements 16:41:56 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 16:41:56 internal/core/data/controller/http/event.go:205: too many arguments in call to responses.NewMultiEventsResponse 16:41:56 have (string, string, number, uint32, []dtos.Event) 16:41:56 want (string, string, int, []dtos.Event) 16:41:56 internal/core/data/controller/http/event.go:230: too many arguments in call to responses.NewMultiEventsResponse 16:41:56 have (string, string, number, uint32, []dtos.Event) 16:41:56 want (string, string, int, []dtos.Event) 16:41:56 internal/core/data/controller/http/event.go:273: too many arguments in call to responses.NewMultiEventsResponse 16:41:56 have (string, string, number, uint32, []dtos.Event) 16:41:56 want (string, string, int, []dtos.Event) 16:41:56 internal/core/data/controller/http/event_test.go:548:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:41:56 internal/core/data/controller/http/event_test.go:633:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:41:56 internal/core/data/controller/http/event_test.go:706:53: res.TotalCount undefined (type responses.MultiEventsResponse has no field or method TotalCount) 16:41:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.308s coverage: 98.5% of statements 16:41:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.328s coverage: 45.3% of statements 16:41:59 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 16:41:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.213s coverage: 84.4% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.535s coverage: 94.2% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/io 0.193s coverage: 59.1% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.215s coverage: 60.0% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.594s coverage: 1.0% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.232s coverage: 58.8% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.231s coverage: 21.7% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.286s coverage: 47.1% of statements 16:42:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.298s coverage: 79.5% of statements 16:42:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.227s coverage: 94.1% of statements 16:42:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.485s coverage: 96.3% of statements 16:42:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.403s coverage: 87.5% of statements 16:42:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.306s coverage: 94.4% of statements 16:42:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.188s coverage: 44.8% of statements 16:42:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.592s coverage: 82.5% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.293s coverage: 92.9% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.059s coverage: 65.1% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.183s coverage: 87.2% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.165s coverage: 100.0% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.249s coverage: 58.8% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.296s coverage: 80.0% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.275s coverage: 87.2% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.275s coverage: 85.4% of statements 16:42:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.849s coverage: 91.2% of statements 16:42:36 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.813s coverage: 64.4% of statements 16:42:36 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.179s coverage: 100.0% of statements 16:42:36 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.088s coverage: 89.4% of statements 16:42:36 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements 16:42:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.076s coverage: 73.7% of statements 16:42:38 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.059s coverage: 100.0% of statements 16:42:42 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.354s coverage: 70.4% of statements 16:42:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.794s coverage: 43.4% of statements 16:42:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.347s coverage: 89.5% of statements 16:42:44 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.241s coverage: 84.8% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.252s coverage: 19.5% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.613s coverage: 92.0% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.277s coverage: 63.2% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.419s coverage: 97.7% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.168s coverage: 28.9% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.168s coverage: 100.0% of statements 16:42:53 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements 16:42:53 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 16:42:53 $ docker stop --time=1 def4196a742bd04fb99f03bbfc86052a05e334824453ded060b9526b1cee5697 16:42:55 $ docker rm -f def4196a742bd04fb99f03bbfc86052a05e334824453ded060b9526b1cee5697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:42:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:42:57 16:42:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:42:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:42:57 arm64: Pulling from edgex-lftools-log-publisher 16:42:57 448f6bf000e3: Pulling fs layer 16:42:57 f757da607395: Pulling fs layer 16:42:57 05883995daec: Pulling fs layer 16:42:57 8603b9c90790: Pulling fs layer 16:42:57 1560dd03e051: Pulling fs layer 16:42:57 27f5ce0e4adf: Pulling fs layer 16:42:57 c2d8d7efcc4b: Pulling fs layer 16:42:57 1560dd03e051: Waiting 16:42:57 27f5ce0e4adf: Waiting 16:42:57 c2d8d7efcc4b: Waiting 16:42:57 8603b9c90790: Waiting 16:42:58 f757da607395: Verifying Checksum 16:42:58 f757da607395: Download complete 16:42:58 8603b9c90790: Verifying Checksum 16:42:58 8603b9c90790: Download complete 16:42:58 1560dd03e051: Verifying Checksum 16:42:58 1560dd03e051: Download complete 16:42:58 27f5ce0e4adf: Verifying Checksum 16:42:58 27f5ce0e4adf: Download complete 16:42:58 05883995daec: Verifying Checksum 16:42:58 05883995daec: Download complete 16:42:58 448f6bf000e3: Verifying Checksum 16:42:58 448f6bf000e3: Download complete 16:43:00 c2d8d7efcc4b: Download complete 16:43:01 448f6bf000e3: Pull complete 16:43:02 f757da607395: Pull complete 16:43:04 05883995daec: Pull complete 16:43:04 8603b9c90790: Pull complete 16:43:05 1560dd03e051: Pull complete 16:43:05 27f5ce0e4adf: Pull complete 16:43:21 c2d8d7efcc4b: Pull complete 16:43:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:43:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:43:21 prd-ubuntu18.04-docker-arm64-4c-16g-256 does not seem to be running inside a container 16:43:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:43:24 $ docker top d2f09e16ae84f1f81395e20fc781b43c3bc1643f5eb05f57d7f8a026b1159a49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:25 ---> job-cost.sh 16:43:25 lf-activate-venv: SKIPPING 16:43:25 INFO: No Stack... 16:43:26 INFO: Retrieving Pricing Info for: v3-standard-4 16:43:26 INFO: Archiving Costs [Pipeline] sh 16:43:27 + cut -d, -f6 16:43:27 + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock 16:43:27 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3746-2-stack-cost] 16:43:27 Resource [jenkins-edgexfoundry-edgex-go-PR-3746-2-stack-cost] did not exist. Created. 16:43:27 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3746-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:43:27 + echo total: 0.10999999940395355 [Pipeline] stash 16:43:28 Stashed 1 file(s) [Pipeline] } 16:43:28 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3746-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:43:28 $ docker stop --time=1 d2f09e16ae84f1f81395e20fc781b43c3bc1643f5eb05f57d7f8a026b1159a49 16:43:30 $ docker rm -f d2f09e16ae84f1f81395e20fc781b43c3bc1643f5eb05f57d7f8a026b1159a49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:43:30 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:43:31 + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:43:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:43:32 ---> package-listing.sh 16:43:32 ++ facter osfamily 16:43:32 ++ tr '[:upper:]' '[:lower:]' 16:43:33 + OS_FAMILY=redhat 16:43:33 + workspace=/w/workspace/edgex-go/2 16:43:33 + START_PACKAGES=/tmp/packages_start.txt 16:43:33 + END_PACKAGES=/tmp/packages_end.txt 16:43:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:43:33 + PACKAGES=/tmp/packages_start.txt 16:43:33 + '[' /w/workspace/edgex-go/2 ']' 16:43:33 + PACKAGES=/tmp/packages_end.txt 16:43:33 + case "${OS_FAMILY}" in 16:43:33 + rpm -qa 16:43:33 + sort 16:43:33 + '[' -f /tmp/packages_start.txt ']' 16:43:33 + '[' -f /tmp/packages_end.txt ']' 16:43:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:43:33 + '[' /w/workspace/edgex-go/2 ']' 16:43:33 + mkdir -p /w/workspace/edgex-go/2/archives/ 16:43:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 16:43:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:43:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:34 16:43:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:43:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:34 latest: Pulling from edgex-lftools-log-publisher 16:43:34 b4d181a07f80: Pulling fs layer 16:43:34 a1111a8f2ec3: Pulling fs layer 16:43:34 ed53099fbce6: Pulling fs layer 16:43:34 dc539afda2c1: Pulling fs layer 16:43:34 77bc0d833cb6: Pulling fs layer 16:43:34 9065ff56babe: Pulling fs layer 16:43:34 d287ab97295c: Pulling fs layer 16:43:34 77bc0d833cb6: Waiting 16:43:34 9065ff56babe: Waiting 16:43:34 d287ab97295c: Waiting 16:43:34 dc539afda2c1: Waiting 16:43:34 a1111a8f2ec3: Verifying Checksum 16:43:34 a1111a8f2ec3: Download complete 16:43:34 dc539afda2c1: Verifying Checksum 16:43:34 dc539afda2c1: Download complete 16:43:35 ed53099fbce6: Verifying Checksum 16:43:35 ed53099fbce6: Download complete 16:43:35 9065ff56babe: Verifying Checksum 16:43:35 9065ff56babe: Download complete 16:43:35 b4d181a07f80: Verifying Checksum 16:43:35 b4d181a07f80: Download complete 16:43:35 77bc0d833cb6: Verifying Checksum 16:43:35 77bc0d833cb6: Download complete 16:43:35 d287ab97295c: Verifying Checksum 16:43:35 d287ab97295c: Download complete 16:43:36 b4d181a07f80: Pull complete 16:43:36 a1111a8f2ec3: Pull complete 16:43:37 ed53099fbce6: Pull complete 16:43:37 dc539afda2c1: Pull complete 16:43:37 77bc0d833cb6: Pull complete 16:43:37 9065ff56babe: Pull complete 16:43:43 d287ab97295c: Pull complete 16:43:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:43:43 prd-centos7-docker-4c-2g-250 does not seem to be running inside a container 16:43:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:43:45 $ docker top c3d738af5bf834578abac223eb36d01ded0f11035b9877826c60e20347867080 -eo pid,comm [Pipeline] { [Pipeline] sh 16:43:45 + touch /tmp/pre-build-complete [Pipeline] sh 16:43:45 + mkdir -p /var/log/sysstat [Pipeline] sh 16:43:46 + ls /var/log/sa-host 16:43:46 + sadf -c /var/log/sa-host/sa09 16:43:46 file_magic: OK 16:43:46 HZ: Using current value: 100 16:43:46 file_header: OK 16:43:46 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 16:43:46 Statistics: 16:43:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:43:46 File successfully converted to sysstat format version 12.0.3 16:43:46 + sadf -c /var/log/sa-host/sa30 16:43:46 file_magic: OK 16:43:46 HZ: Using current value: 100 16:43:46 file_header: OK 16:43:46 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 16:43:46 Statistics: 16:43:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:43:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:43:46 provisioning config files... 16:43:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config2323689097645459910tmp [Pipeline] { [Pipeline] echo 16:43:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:43:46 ---> create-netrc.sh [Pipeline] } 16:43:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:43:47 ---> python-tools-install.sh [Pipeline] echo 16:43:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:43:47 ---> sudo-logs.sh 16:43:47 Archiving 'sudo' log.. 16:43:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-250.novalocal: Name or service not known 16:43:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-250.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:43:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:43:47 ---> job-cost.sh 16:43:47 lf-activate-venv: SKIPPING 16:43:47 DEBUG: total: 0.10999999940395355 16:43:47 INFO: Retrieving Stack Cost... 16:43:57 INFO: Retrieving Pricing Info for: v3-standard-2 16:43:57 INFO: Archiving Costs [Pipeline] echo 16:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:43:58 ---> logs-deploy.sh 16:43:58 lf-activate-venv: SKIPPING 16:43:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3746/2 16:43:58 INFO: archiving workspace using pattern(s): 16:43:58 Archives upload complete. 16:43:59 INFO: archiving logs to Nexus