Pull request #3891 opened 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 jinlinGuan for edgexfoundry/edgex-go Loading trusted files from base branch main at 613ba3a9f074961a82087988d5f76ae29a1a6b1f rather than 7741ae54aec455497486555df05e4973ad7d3c74 Obtained Jenkinsfile from 613ba3a9f074961a82087988d5f76ae29a1a6b1f 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-ssh13133729333337796606.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh13373264519060852951.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/edgex-global-pipelines # timeout=10 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-3891/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11775593075983640483.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-3891/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4695735712203546764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1737545453634363690.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/lf-pipelines # timeout=10 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-3891/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5375159513172753153.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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.17 USE_ALPINE: true 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-6321 in /w/workspace/edgexfoundry_edgex-go_PR-3891 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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/1@tmp/jenkins-gitclient-ssh7210644429693449924.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/1@tmp/jenkins-gitclient-ssh4853131009878142066.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3891/head:refs/remotes/origin/PR-3891 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 613ba3a9f074961a82087988d5f76ae29a1a6b1f into PR head commit 7741ae54aec455497486555df05e4973ad7d3c74 Merge succeeded, producing 7741ae54aec455497486555df05e4973ad7d3c74 Checking out Revision 7741ae54aec455497486555df05e4973ad7d3c74 (PR-3891) > git config core.sparsecheckout # timeout=10 > git checkout -f 7741ae54aec455497486555df05e4973ad7d3c74 # 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/1@tmp/jenkins-gitclient-ssh8568683361664436983.key > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7741ae54aec455497486555df05e4973ad7d3c74 # timeout=10 Commit message: "feat(data): Make MaxEventSize a service configuration setting" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:33:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:33:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:33:26 ========================================================= 08:33:26 EdgeX Global Pipelines Version Info 08:33:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:33:27 ------------------- 08:33:27 stable info: 08:33:27 ------------------- 08:33:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:33:27 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 08:33:27 Message: update stable to v1.0.220 08:33:28 ------------------- 08:33:28 experimental info: 08:33:28 ------------------- 08:33:28 Commited By: **** collab-it+edgex@linuxfoundation.org 08:33:28 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:33:28 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3891 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3891 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3891 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7741ae54aec455497486555df05e4973ad7d3c74 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7741ae5 [Pipeline] echo 08:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:33:29 provisioning config files... 08:33:29 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3011042820057819278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:30 ---> docker-login.sh 08:33:30 nexus3.edgexfoundry.org:10001 08:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:30 Configure a credential helper to remove this warning. See 08:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:30 08:33:30 Login Succeeded 08:33:30 nexus3.edgexfoundry.org:10002 08:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:30 Configure a credential helper to remove this warning. See 08:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:30 08:33:30 Login Succeeded 08:33:30 nexus3.edgexfoundry.org:10003 08:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:30 Configure a credential helper to remove this warning. See 08:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:30 08:33:30 Login Succeeded 08:33:30 nexus3.edgexfoundry.org:10004 08:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:30 Configure a credential helper to remove this warning. See 08:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:30 08:33:30 Login Succeeded 08:33:30 docker.io 08:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:31 Configure a credential helper to remove this warning. See 08:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:31 08:33:31 Login Succeeded 08:33:31 ---> docker-login.sh ends [Pipeline] } 08:33:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:31 ++ 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 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/core-command/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo core-command,cmd/core-command/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/core-data/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo core-data,cmd/core-data/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/core-metadata/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo core-metadata,cmd/core-metadata/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/security-bootstrapper/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/security-proxy-setup/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/security-secretstore-setup/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/support-notifications/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo support-notifications,cmd/support-notifications/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/support-scheduler/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo support-scheduler,cmd/support-scheduler/Dockerfile 08:33:31 + for file in '`ls cmd/**/Dockerfile`' 08:33:31 ++ dirname cmd/sys-mgmt-agent/Dockerfile 08:33:31 ++ cut -d/ -f2 08:33:31 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 08:33:31 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] { (Build Check) [Pipeline] sh 08:33:32 + git rev-list -1 --merges 7741ae54aec455497486555df05e4973ad7d3c74~1..7741ae54aec455497486555df05e4973ad7d3c74 [Pipeline] echo 08:33:32 -----------> git rev-list -1 --merges 7741ae54aec455497486555df05e4973ad7d3c74~1..7741ae54aec455497486555df05e4973ad7d3c74 7741ae54aec455497486555df05e4973ad7d3c74 [false] [Pipeline] sh 08:33:32 + git log --format=format:%s -1 7741ae54aec455497486555df05e4973ad7d3c74 [Pipeline] echo 08:33:32 ========================================================= 08:33:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:33:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:33:33 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 08:33:33 + grep -v github /etc/ssh/ssh_known_hosts 08:33:33 + '[' -e /tmp/ssh_known_hosts ']' 08:33:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:33:33 + sudo tee -a /etc/ssh/ssh_known_hosts 08:33:33 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 08:33:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:33:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:33 08:33:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:33:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:33 latest: Pulling from edgex-devops/git-semver 08:33:33 a0d0a0d46f8b: Pulling fs layer 08:33:33 3e5f54012d9b: Pulling fs layer 08:33:33 4c7163046ea9: Pulling fs layer 08:33:33 0c2d73faf560: Pulling fs layer 08:33:33 0c2d73faf560: Waiting 08:33:33 3e5f54012d9b: Verifying Checksum 08:33:33 3e5f54012d9b: Download complete 08:33:33 a0d0a0d46f8b: Verifying Checksum 08:33:33 a0d0a0d46f8b: Download complete 08:33:33 0c2d73faf560: Verifying Checksum 08:33:33 0c2d73faf560: Download complete 08:33:34 4c7163046ea9: Verifying Checksum 08:33:34 4c7163046ea9: Download complete 08:33:34 a0d0a0d46f8b: Pull complete 08:33:34 3e5f54012d9b: Pull complete 08:33:34 4c7163046ea9: Pull complete 08:33:34 0c2d73faf560: Pull complete 08:33:34 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:33:34 prd-centos7-docker-4c-2g-6321 does not seem to be running inside a container 08:33:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:33:35 $ docker top 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:35 [ssh-agent] Looking for ssh-agent implementation... 08:33:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:35 $ docker exec 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa ssh-agent 08:33:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPckEfl/agent.13 08:33:36 SSH_AGENT_PID=19 08:33:36 Running ssh-add (command line suppressed) 08:33:36 Identity added: /w/workspace/edgex-go/1@tmp/private_key_9198875720013149376.key (/w/workspace/edgex-go/1@tmp/private_key_9198875720013149376.key) 08:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:36 + git tag --points-at HEAD [Pipeline] } 08:33:36 $ docker exec --env ******** --env ******** 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa ssh-agent -k 08:33:36 unset SSH_AUTH_SOCK; 08:33:36 unset SSH_AGENT_PID; 08:33:36 echo Agent pid 19 killed; 08:33:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:33:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:36 [ssh-agent] Looking for ssh-agent implementation... 08:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:36 $ docker exec 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa ssh-agent 08:33:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbneDf/agent.55 08:33:36 SSH_AGENT_PID=62 08:33:36 Running ssh-add (command line suppressed) 08:33:37 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6445435336508127483.key (/w/workspace/edgex-go/1@tmp/private_key_6445435336508127483.key) 08:33:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:37 + git semver init 08:33:37 # -> Open(): unable to determine branch for HEAD 08:33:37 # $GIT_DIR = /w/workspace/edgex-go/1/.git 08:33:37 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 08:33:37 # $SEMVER_REMOTE_NAME = origin 08:33:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:33:37 # $SEMVER_USER_NAME = edgex-jenkins 08:33:37 # $SEMVER_BRANCH = PR-3891 08:33:37 # $SEMVER_TEMP = /tmp/semver-721245037 08:33:37 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 08:33:52 # '/tmp/semver-721245037' -> '/w/workspace/edgex-go/1/.semver' 08:33:52 # -> Force: false 08:33:52 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 08:33:52 $ docker exec --env ******** --env ******** 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa ssh-agent -k 08:33:52 unset SSH_AUTH_SOCK; 08:33:52 unset SSH_AGENT_PID; 08:33:52 echo Agent pid 62 killed; 08:33:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:52 + git semver [Pipeline] } 08:33:52 $ docker stop --time=1 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa 08:33:54 $ docker rm -f 3030d538c0dbdede84deb5284e7bf6254b3b7f005e0ac97148d98f7ac69b51fa [Pipeline] // withDockerContainer [Pipeline] sh 08:33:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:33:55 Stashed 1 file(s) [Pipeline] echo 08:33:55 [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 08:33:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:33:56 ========================================================= 08:33:56 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:33:56 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:33:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:33:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:33:56 59bf1c3509f3: Pulling fs layer 08:33:56 666ba61612fd: Pulling fs layer 08:33:56 8ed8ca486205: Pulling fs layer 08:33:56 4fe6c5a15a65: Pulling fs layer 08:33:56 22a0e8bec74d: Pulling fs layer 08:33:56 640e595b4fbd: Pulling fs layer 08:33:56 763cafe07f6e: Pulling fs layer 08:33:56 0c0b528cf693: Pulling fs layer 08:33:56 10935f4eaf8b: Pulling fs layer 08:33:56 640e595b4fbd: Waiting 08:33:56 763cafe07f6e: Waiting 08:33:56 0c0b528cf693: Waiting 08:33:56 10935f4eaf8b: Waiting 08:33:56 4fe6c5a15a65: Waiting 08:33:56 22a0e8bec74d: Waiting 08:33:56 8ed8ca486205: Verifying Checksum 08:33:56 8ed8ca486205: Download complete 08:33:56 666ba61612fd: Verifying Checksum 08:33:56 666ba61612fd: Download complete 08:33:56 22a0e8bec74d: Verifying Checksum 08:33:56 22a0e8bec74d: Download complete 08:33:56 640e595b4fbd: Verifying Checksum 08:33:56 640e595b4fbd: Download complete 08:33:56 763cafe07f6e: Verifying Checksum 08:33:56 763cafe07f6e: Download complete 08:33:56 59bf1c3509f3: Verifying Checksum 08:33:56 59bf1c3509f3: Download complete 08:33:56 0c0b528cf693: Verifying Checksum 08:33:56 0c0b528cf693: Download complete 08:33:56 59bf1c3509f3: Pull complete 08:33:57 666ba61612fd: Pull complete 08:33:57 8ed8ca486205: Pull complete 08:33:57 4fe6c5a15a65: Verifying Checksum 08:33:57 4fe6c5a15a65: Download complete 08:33:57 10935f4eaf8b: Verifying Checksum 08:33:57 10935f4eaf8b: Download complete 08:34:01 4fe6c5a15a65: Pull complete 08:34:01 22a0e8bec74d: Pull complete 08:34:01 640e595b4fbd: Pull complete 08:34:01 763cafe07f6e: Pull complete 08:34:01 0c0b528cf693: Pull complete 08:34:04 10935f4eaf8b: Pull complete 08:34:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:34:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:34:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 08:34:04 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:34:04 WORKDIR /edgex 08:34:04 COPY go.mod . 08:34:04 RUN go mod download' 08:34:04 + docker build -t ci-base-image-x86_64 -f - . 08:34:06 Sending build context to Docker daemon 334.1MB 08:34:06 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:34:06 ---> 99d49a6021b9 08:34:06 Step 2/4 : WORKDIR /edgex 08:34:08 ---> Running in e94128f0b03e 08:34:08 Removing intermediate container e94128f0b03e 08:34:08 ---> 4c630d8b66b6 08:34:08 Step 3/4 : COPY go.mod . 08:34:08 ---> cd3549c0e5af 08:34:08 Step 4/4 : RUN go mod download 08:34:08 ---> Running in cd53027473e0 08:34:11 Still waiting to schedule task 08:34:11 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:34:55 Removing intermediate container cd53027473e0 08:34:55 ---> 619300e80217 08:34:55 Successfully built 619300e80217 08:34:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:34:55 + docker inspect -f . ci-base-image-x86_64 08:34:55 . [Pipeline] withDockerContainer 08:34:55 prd-centos7-docker-4c-2g-6321 does not seem to be running inside a container 08:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 08:34:56 $ docker top 31e86c7465f1cc8b0604f42222e20385e12f0ca48ee11b164b1e41aca0f2b6e1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:56 + go version 08:34:56 go version go1.17.6 linux/amd64 [Pipeline] } 08:34:56 $ docker stop --time=1 31e86c7465f1cc8b0604f42222e20385e12f0ca48ee11b164b1e41aca0f2b6e1 08:34:57 $ docker rm -f 31e86c7465f1cc8b0604f42222e20385e12f0ca48ee11b164b1e41aca0f2b6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:34:58 + docker inspect -f . ci-base-image-x86_64 08:34:58 . [Pipeline] withDockerContainer 08:34:58 prd-centos7-docker-4c-2g-6321 does not seem to be running inside a container 08:34:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 08:34:58 $ docker top 5912a9d9cf853d4c7102e079fcde88fea6023df5fa5812751cc1d30cbe62fec3 -eo pid,comm [Pipeline] { [Pipeline] echo 08:34:59 ========================================================= 08:34:59 [edgeXBuildGoParallel] Running Tests and Build... 08:34:59 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:34:59 + make test 08:34:59 go mod tidy 08:34:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:35:06 ? github.com/edgexfoundry/edgex-go [no test files] 08:35:21 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:35:26 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:35:26 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:35:26 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:35:28 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:35:29 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:35:29 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:35:29 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:35:30 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:35:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.046s coverage: 28.7% of statements 08:35:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:35:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:35:33 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.057s coverage: 98.5% of statements 08:35:33 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:35:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.115s coverage: 44.7% of statements 08:35:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:35:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:35:34 --- FAIL: TestAddEvent (0.02s) 08:35:34 --- FAIL: TestAddEvent/Valid_-_AddEventRequest_JSON (0.00s) 08:35:34 event_test.go:258: 08:35:34 Error Trace: event_test.go:258 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:35:34 Messages: HTTP status code not as expected 08:35:34 event_test.go:260: 08:35:34 Error Trace: event_test.go:260 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:35:34 Messages: BaseResponse status code not as expected 08:35:34 event_test.go:264: 08:35:34 Error Trace: event_test.go:264 08:35:34 Error: Should be empty, but was *requests.AddEventRequest json decoding failed 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:35:34 Messages: Message should be empty when it is successful 08:35:34 --- FAIL: TestAddEvent/Valid_-_No_RequestId_JSON (0.00s) 08:35:34 event_test.go:258: 08:35:34 Error Trace: event_test.go:258 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:35:34 Messages: HTTP status code not as expected 08:35:34 event_test.go:260: 08:35:34 Error Trace: event_test.go:260 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:35:34 Messages: BaseResponse status code not as expected 08:35:34 event_test.go:264: 08:35:34 Error Trace: event_test.go:264 08:35:34 Error: Should be empty, but was *requests.AddEventRequest json decoding failed 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:35:34 Messages: Message should be empty when it is successful 08:35:34 --- FAIL: TestAddEvent/Valid_-_AddEventRequest_CBOR (0.00s) 08:35:34 event_test.go:258: 08:35:34 Error Trace: event_test.go:258 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:35:34 Messages: HTTP status code not as expected 08:35:34 event_test.go:260: 08:35:34 Error Trace: event_test.go:260 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:35:34 Messages: BaseResponse status code not as expected 08:35:34 event_test.go:264: 08:35:34 Error Trace: event_test.go:264 08:35:34 Error: Should be empty, but was *requests.AddEventRequest cbor decoding failed 08:35:34 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:35:34 Messages: Message should be empty when it is successful 08:35:34 --- FAIL: TestAddEvent/Valid_-_No_RequestId_CBOR (0.00s) 08:35:34 event_test.go:258: 08:35:34 Error Trace: event_test.go:258 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:35:34 Messages: HTTP status code not as expected 08:35:34 event_test.go:260: 08:35:34 Error Trace: event_test.go:260 08:35:34 Error: Not equal: 08:35:34 expected: 201 08:35:34 actual : 400 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:35:34 Messages: BaseResponse status code not as expected 08:35:34 event_test.go:264: 08:35:34 Error Trace: event_test.go:264 08:35:34 Error: Should be empty, but was *requests.AddEventRequest cbor decoding failed 08:35:34 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:35:34 Messages: Message should be empty when it is successful 08:35:34 FAIL 08:35:34 coverage: 87.0% of statements 08:35:34 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.098s 08:35:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:35:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:35:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.056s coverage: 84.4% of statements 08:35:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:35:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:35:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 08:35:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:35:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:35:36 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.286s coverage: 94.2% of statements 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:35:36 ok github.com/edgexfoundry/edgex-go/internal/io 0.052s coverage: 59.1% of statements 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:35:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.062s coverage: 60.0% of statements 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:35:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:35:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.052s coverage: 0.9% of statements 08:35:37 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:35:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements 08:35:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.044s coverage: 21.7% of statements 08:35:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:35:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements 08:35:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.055s coverage: 79.5% of statements 08:35:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements 08:35:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.264s coverage: 96.3% of statements 08:35:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements 08:35:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6322 in /w/workspace/edgexfoundry_edgex-go_PR-3891 [Pipeline] { [Pipeline] ws 08:35:39 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 08:35:39 The recommended git tool is: git 08:35:44 using credential edgex-jenkins-ssh 08:35:44 Cloning the remote Git repository 08:35:44 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:35:44 > git init /w/workspace/edgex-go/1 # timeout=10 08:35:44 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:44 > git --version # timeout=10 08:35:44 > git --version # 'git version 2.17.1' 08:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.055s coverage: 94.4% of statements 08:35:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.042s coverage: 44.8% of statements 08:35:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.166s coverage: 82.5% of statements 08:35:56 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:36:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:36:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:36:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:36:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:36:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:01 Merging remotes/origin/main commit 613ba3a9f074961a82087988d5f76ae29a1a6b1f into PR head commit 7741ae54aec455497486555df05e4973ad7d3c74 08:36:01 Merge succeeded, producing 7741ae54aec455497486555df05e4973ad7d3c74 08:36:01 Checking out Revision 7741ae54aec455497486555df05e4973ad7d3c74 (PR-3891) 08:36:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3891/head:refs/remotes/origin/PR-3891 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:36:01 > git config core.sparsecheckout # timeout=10 08:36:01 > git checkout -f 7741ae54aec455497486555df05e4973ad7d3c74 # timeout=10 08:36:01 > git remote # timeout=10 08:36:01 > git config --get remote.origin.url # timeout=10 08:36:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:01 > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 08:36:01 > git rev-parse HEAD^{commit} # timeout=10 08:36:01 > git config core.sparsecheckout # timeout=10 08:36:01 > git checkout -f 7741ae54aec455497486555df05e4973ad7d3c74 # timeout=10 08:36:05 Commit message: "feat(data): Make MaxEventSize a service configuration setting" 08:36:05 > git --version # timeout=10 08:36:05 > git --version # 'git version 2.17.1' 08:36:05 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:36:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:36:06 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:06 Dload Upload Total Spent Left Speed 08:36:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44522 0 --:--:-- --:--:-- --:--:-- 44522 [Pipeline] sh 08:36:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:36:07 + + sudo teesudo /etc/docker/daemon.new jq 08:36:07 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:36:07 { 08:36:07 "registry-mirrors": [ 08:36:07 "https://nexus3.edgexfoundry.org:10001" 08:36:07 ], 08:36:07 "bip": "10.250.0.254/24", 08:36:07 "hosts": [ 08:36:07 "tcp://0.0.0.0:5555", 08:36:07 "unix:///var/run/docker.sock" 08:36:07 ], 08:36:07 "mtu": 1458, 08:36:07 "selinux-enabled": true, 08:36:07 "seccomp-profile": "/etc/docker/seccomp.json" 08:36:07 } [Pipeline] sh 08:36:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:36:08 + sudo service docker restart 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.076s coverage: 92.9% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.061s coverage: 87.2% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.058s coverage: 58.8% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.062s coverage: 87.2% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.053s coverage: 85.4% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.139s coverage: 91.2% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.125s coverage: 64.4% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.042s coverage: 100.0% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.019s coverage: 73.7% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.215s coverage: 65.4% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.125s coverage: 43.8% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.051s coverage: 89.5% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:36:14 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.068s coverage: 84.8% of statements 08:36:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.061s coverage: 17.7% of statements 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.125s coverage: 92.3% of statements 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.050s coverage: 63.2% of statements 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.083s coverage: 97.7% of statements 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.044s coverage: 28.9% of statements 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 08:36:23 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements 08:36:23 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements 08:36:23 FAIL 08:36:23 make: *** [Makefile:98: unittest] Error 1 [Pipeline] } 08:36:23 $ docker stop --time=1 5912a9d9cf853d4c7102e079fcde88fea6023df5fa5812751cc1d30cbe62fec3 08:36:24 $ docker rm -f 5912a9d9cf853d4c7102e079fcde88fea6023df5fa5812751cc1d30cbe62fec3 [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] } 08:36:25 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:26 provisioning config files... 08:36:26 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5049401389519750678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:27 ---> docker-login.sh 08:36:27 nexus3.edgexfoundry.org:10001 08:36:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:28 Configure a credential helper to remove this warning. See 08:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:28 08:36:28 Login Succeeded 08:36:28 nexus3.edgexfoundry.org:10002 08:36:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:28 Configure a credential helper to remove this warning. See 08:36:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:28 08:36:28 Login Succeeded 08:36:28 nexus3.edgexfoundry.org:10003 08:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:29 Configure a credential helper to remove this warning. See 08:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:29 08:36:29 Login Succeeded 08:36:29 nexus3.edgexfoundry.org:10004 08:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:29 Configure a credential helper to remove this warning. See 08:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:29 08:36:29 Login Succeeded 08:36:29 docker.io 08:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:30 Configure a credential helper to remove this warning. See 08:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:30 08:36:30 Login Succeeded 08:36:30 ---> docker-login.sh ends [Pipeline] } 08:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:36:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:36:30 ========================================================= 08:36:30 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:36:30 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:36:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:36:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:36:31 9b3977197b4f: Pulling fs layer 08:36:31 1a89e8eeedd5: Pulling fs layer 08:36:31 94645a83ff95: Pulling fs layer 08:36:31 3f3a8bcf1eab: Pulling fs layer 08:36:31 0c92f367c5e7: Pulling fs layer 08:36:31 f7c0051592d6: Pulling fs layer 08:36:31 a227ed2f7395: Pulling fs layer 08:36:31 7b1c46037f91: Pulling fs layer 08:36:31 a227ed2f7395: Waiting 08:36:31 7b1c46037f91: Waiting 08:36:31 f7c0051592d6: Waiting 08:36:31 3f3a8bcf1eab: Waiting 08:36:31 94645a83ff95: Download complete 08:36:31 1a89e8eeedd5: Download complete 08:36:31 0c92f367c5e7: Verifying Checksum 08:36:31 0c92f367c5e7: Download complete 08:36:31 f7c0051592d6: Verifying Checksum 08:36:31 f7c0051592d6: Download complete 08:36:31 9b3977197b4f: Verifying Checksum 08:36:31 9b3977197b4f: Download complete 08:36:31 a227ed2f7395: Verifying Checksum 08:36:31 a227ed2f7395: Download complete 08:36:32 9b3977197b4f: Pull complete 08:36:32 1a89e8eeedd5: Pull complete 08:36:33 94645a83ff95: Pull complete 08:36:33 7b1c46037f91: Verifying Checksum 08:36:33 7b1c46037f91: Download complete 08:36:33 3f3a8bcf1eab: Verifying Checksum 08:36:33 3f3a8bcf1eab: Download complete 08:36:46 3f3a8bcf1eab: Pull complete 08:36:46 0c92f367c5e7: Pull complete 08:36:46 f7c0051592d6: Pull complete 08:36:46 a227ed2f7395: Pull complete 08:36:53 7b1c46037f91: Pull complete 08:36:53 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:36:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 08:36:53 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:36:53 WORKDIR /edgex 08:36:53 COPY go.mod . 08:36:53 RUN go mod download 08:36:53 + docker build -t ci-base-image-arm64 -f - . 08:36:55 Sending build context to Docker daemon 168.7MB 08:36:55 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:36:55 ---> f79e39bc4007 08:36:55 Step 2/4 : WORKDIR /edgex 08:36:57 ---> Running in fcac844b8b64 08:36:57 Removing intermediate container fcac844b8b64 08:36:57 ---> f01b8b4c8751 08:36:57 Step 3/4 : COPY go.mod . 08:36:58 ---> 842ef091ba0e 08:36:58 Step 4/4 : RUN go mod download 08:36:58 ---> Running in 08405cc2686a 08:38:20 Removing intermediate container 08405cc2686a 08:38:20 ---> 3dc9a5f5d6c6 08:38:20 Successfully built 3dc9a5f5d6c6 08:38:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:38:20 + docker inspect -f . ci-base-image-arm64 08:38:20 . [Pipeline] withDockerContainer 08:38:20 prd-ubuntu18.04-docker-arm64-4c-16g-6322 does not seem to be running inside a container 08:38:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 08:38:22 $ docker top 79978ac5535c262a7a6c7f8573e80d50fcebc55a86ab08bdd0bf82849d0ff903 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:23 + go version 08:38:23 go version go1.17.6 linux/arm64 [Pipeline] } 08:38:23 $ docker stop --time=1 79978ac5535c262a7a6c7f8573e80d50fcebc55a86ab08bdd0bf82849d0ff903 08:38:24 $ docker rm -f 79978ac5535c262a7a6c7f8573e80d50fcebc55a86ab08bdd0bf82849d0ff903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:38:25 + docker inspect -f . ci-base-image-arm64 08:38:25 . [Pipeline] withDockerContainer 08:38:25 prd-ubuntu18.04-docker-arm64-4c-16g-6322 does not seem to be running inside a container 08:38:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 08:38:27 $ docker top 9468bcb3188518fbc1ae04071c4c969a654262426d36b9d0f9061746ea4e0726 -eo pid,comm [Pipeline] { [Pipeline] echo 08:38:27 ========================================================= 08:38:27 [edgeXBuildGoParallel] Running Tests and Build... 08:38:27 ========================================================= [Pipeline] fileExists [Pipeline] sh 08:38:28 + make test 08:38:28 go mod tidy 08:38:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:39:01 ? github.com/edgexfoundry/edgex-go [no test files] 08:39:48 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:39:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 08:39:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 08:39:56 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 08:40:06 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 08:40:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 08:40:07 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 08:40:07 ? github.com/edgexfoundry/edgex-go/internal [no test files] 08:40:07 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 08:40:15 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.295s coverage: 28.7% of statements 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 08:40:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 08:40:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.336s coverage: 98.5% of statements 08:40:18 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 08:40:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.475s coverage: 44.7% of statements 08:40:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 08:40:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 08:40:21 --- FAIL: TestAddEvent (0.12s) 08:40:21 --- FAIL: TestAddEvent/Valid_-_AddEventRequest_JSON (0.01s) 08:40:21 event_test.go:258: 08:40:21 Error Trace: event_test.go:258 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:40:21 Messages: HTTP status code not as expected 08:40:21 event_test.go:260: 08:40:21 Error Trace: event_test.go:260 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:40:21 Messages: BaseResponse status code not as expected 08:40:21 event_test.go:264: 08:40:21 Error Trace: event_test.go:264 08:40:21 Error: Should be empty, but was *requests.AddEventRequest json decoding failed 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_JSON 08:40:21 Messages: Message should be empty when it is successful 08:40:21 --- FAIL: TestAddEvent/Valid_-_No_RequestId_JSON (0.00s) 08:40:21 event_test.go:258: 08:40:21 Error Trace: event_test.go:258 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:40:21 Messages: HTTP status code not as expected 08:40:21 event_test.go:260: 08:40:21 Error Trace: event_test.go:260 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:40:21 Messages: BaseResponse status code not as expected 08:40:21 event_test.go:264: 08:40:21 Error Trace: event_test.go:264 08:40:21 Error: Should be empty, but was *requests.AddEventRequest json decoding failed 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_JSON 08:40:21 Messages: Message should be empty when it is successful 08:40:21 --- FAIL: TestAddEvent/Valid_-_AddEventRequest_CBOR (0.01s) 08:40:21 event_test.go:258: 08:40:21 Error Trace: event_test.go:258 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:40:21 Messages: HTTP status code not as expected 08:40:21 event_test.go:260: 08:40:21 Error Trace: event_test.go:260 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:40:21 Messages: BaseResponse status code not as expected 08:40:21 event_test.go:264: 08:40:21 Error Trace: event_test.go:264 08:40:21 Error: Should be empty, but was *requests.AddEventRequest cbor decoding failed 08:40:21 Test: TestAddEvent/Valid_-_AddEventRequest_CBOR 08:40:21 Messages: Message should be empty when it is successful 08:40:21 --- FAIL: TestAddEvent/Valid_-_No_RequestId_CBOR (0.02s) 08:40:21 event_test.go:258: 08:40:21 Error Trace: event_test.go:258 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:40:21 Messages: HTTP status code not as expected 08:40:21 event_test.go:260: 08:40:21 Error Trace: event_test.go:260 08:40:21 Error: Not equal: 08:40:21 expected: 201 08:40:21 actual : 400 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:40:21 Messages: BaseResponse status code not as expected 08:40:21 event_test.go:264: 08:40:21 Error Trace: event_test.go:264 08:40:21 Error: Should be empty, but was *requests.AddEventRequest cbor decoding failed 08:40:21 Test: TestAddEvent/Valid_-_No_RequestId_CBOR 08:40:21 Messages: Message should be empty when it is successful 08:40:21 FAIL 08:40:21 coverage: 87.0% of statements 08:40:21 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.585s 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 08:40:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 08:40:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.229s coverage: 84.4% of statements 08:40:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 08:40:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 08:40:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 08:40:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 08:40:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.580s coverage: 94.2% of statements 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/io 0.222s coverage: 59.1% of statements 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.190s coverage: 60.0% of statements 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.334s coverage: 0.9% of statements 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.168s coverage: 58.8% of statements 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.200s coverage: 21.7% of statements 08:40:30 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.199s coverage: 47.1% of statements 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.264s coverage: 79.5% of statements 08:40:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.191s coverage: 94.1% of statements 08:40:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.198s coverage: 96.3% of statements 08:40:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.183s coverage: 87.5% of statements 08:40:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.188s coverage: 94.4% of statements 08:40:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.191s coverage: 44.8% of statements 08:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.662s coverage: 82.5% of statements 08:40:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.387s coverage: 92.9% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.185s coverage: 87.2% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.162s coverage: 100.0% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.243s coverage: 58.8% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.229s coverage: 80.0% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.211s coverage: 87.2% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.273s coverage: 85.4% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.743s coverage: 91.2% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.726s coverage: 64.4% of statements 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 08:40:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.183s coverage: 100.0% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.095s coverage: 89.4% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.047s coverage: 100.0% of statements 08:40:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.078s coverage: 73.7% of statements 08:40:58 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.071s coverage: 100.0% of statements 08:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.368s coverage: 65.4% of statements 08:41:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 08:41:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 08:41:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 08:41:05 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.669s coverage: 43.8% of statements 08:41:05 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 08:41:05 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 08:41:05 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.295s coverage: 89.5% of statements 08:41:05 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 08:41:05 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.302s coverage: 84.8% of statements 08:41:05 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.280s coverage: 17.7% of statements 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.596s coverage: 92.3% of statements 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.231s coverage: 63.2% of statements 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.375s coverage: 97.7% of statements 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.186s coverage: 28.9% of statements 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 08:41:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.166s coverage: 100.0% of statements 08:41:11 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 96.9% of statements 08:41:11 FAIL 08:41:12 make: *** [Makefile:98: unittest] Error 1 [Pipeline] } 08:41:12 $ docker stop --time=1 9468bcb3188518fbc1ae04071c4c969a654262426d36b9d0f9061746ea4e0726 08:41:14 $ docker rm -f 9468bcb3188518fbc1ae04071c4c969a654262426d36b9d0f9061746ea4e0726 [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 08:41:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:41:15 08:41:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:41:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:41:16 arm64: Pulling from edgex-lftools-log-publisher 08:41:16 8998bd30e6a1: Pulling fs layer 08:41:16 04944245beec: Pulling fs layer 08:41:16 699f458cf7ca: Pulling fs layer 08:41:16 765212b225bb: Pulling fs layer 08:41:16 f23df028b6ca: Pulling fs layer 08:41:16 d65c8cfc05b1: Pulling fs layer 08:41:16 2437ff75d9bd: Pulling fs layer 08:41:16 765212b225bb: Waiting 08:41:16 f23df028b6ca: Waiting 08:41:16 d65c8cfc05b1: Waiting 08:41:16 2437ff75d9bd: Waiting 08:41:16 04944245beec: Verifying Checksum 08:41:16 04944245beec: Download complete 08:41:16 765212b225bb: Verifying Checksum 08:41:16 765212b225bb: Download complete 08:41:16 f23df028b6ca: Verifying Checksum 08:41:16 f23df028b6ca: Download complete 08:41:16 699f458cf7ca: Verifying Checksum 08:41:16 699f458cf7ca: Download complete 08:41:17 8998bd30e6a1: Verifying Checksum 08:41:17 8998bd30e6a1: Download complete 08:41:19 2437ff75d9bd: Verifying Checksum 08:41:19 2437ff75d9bd: Download complete 08:41:21 8998bd30e6a1: Pull complete 08:41:21 04944245beec: Pull complete 08:41:23 699f458cf7ca: Pull complete 08:41:23 765212b225bb: Pull complete 08:41:24 f23df028b6ca: Pull complete 08:41:24 d65c8cfc05b1: Pull complete 08:41:39 2437ff75d9bd: Pull complete 08:41:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:41:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:41:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:41:39 prd-ubuntu18.04-docker-arm64-4c-16g-6322 does not seem to be running inside a container 08:41:39 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:41:42 $ docker top faf2685737396ad0402787d55c8bed2426260b6b50ab6d7e4d89b285334d5fd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:43 ---> job-cost.sh 08:41:43 lf-activate-venv: SKIPPING 08:41:43 INFO: No Stack... 08:41:43 INFO: Retrieving Pricing Info for: v3-standard-4 08:41:44 INFO: Archiving Costs [Pipeline] sh 08:41:45 + cut+ cat -d, /w/workspace/edgex-go/1/archives/cost.csv -f6 08:41:45 [Pipeline] lock 08:41:45 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3891-1-stack-cost] 08:41:45 Resource [jenkins-edgexfoundry-edgex-go-PR-3891-1-stack-cost] did not exist. Created. 08:41:45 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3891-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:41:46 + echo total: 0.10999999940395355 [Pipeline] stash 08:41:46 Stashed 1 file(s) [Pipeline] } 08:41:46 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3891-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:41:46 $ docker stop --time=1 faf2685737396ad0402787d55c8bed2426260b6b50ab6d7e4d89b285334d5fd2 08:41:48 $ docker rm -f faf2685737396ad0402787d55c8bed2426260b6b50ab6d7e4d89b285334d5fd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:41:48 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:41:50 + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:41:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:41:51 ---> package-listing.sh 08:41:51 ++ facter osfamily 08:41:51 ++ tr '[:upper:]' '[:lower:]' 08:41:51 + OS_FAMILY=redhat 08:41:51 + workspace=/w/workspace/edgex-go/1 08:41:51 + START_PACKAGES=/tmp/packages_start.txt 08:41:51 + END_PACKAGES=/tmp/packages_end.txt 08:41:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:41:51 + PACKAGES=/tmp/packages_start.txt 08:41:51 + '[' /w/workspace/edgex-go/1 ']' 08:41:51 + PACKAGES=/tmp/packages_end.txt 08:41:51 + case "${OS_FAMILY}" in 08:41:51 + sort 08:41:51 + rpm -qa 08:41:52 + '[' -f /tmp/packages_start.txt ']' 08:41:52 + '[' -f /tmp/packages_end.txt ']' 08:41:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:41:52 + '[' /w/workspace/edgex-go/1 ']' 08:41:52 + mkdir -p /w/workspace/edgex-go/1/archives/ 08:41:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 08:41:52 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:41:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:41:53 08:41:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:41:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:41:53 latest: Pulling from edgex-lftools-log-publisher 08:41:53 5eb5b503b376: Pulling fs layer 08:41:53 5c69ac0246d0: Pulling fs layer 08:41:53 ec43610c2a17: Pulling fs layer 08:41:53 3a2ae6a8a46f: Pulling fs layer 08:41:53 33b1e0a273af: Pulling fs layer 08:41:53 5d3b04190fa2: Pulling fs layer 08:41:53 2f39f015ded8: Pulling fs layer 08:41:53 3a2ae6a8a46f: Waiting 08:41:53 33b1e0a273af: Waiting 08:41:53 5d3b04190fa2: Waiting 08:41:53 2f39f015ded8: Waiting 08:41:53 5c69ac0246d0: Verifying Checksum 08:41:53 5c69ac0246d0: Download complete 08:41:53 3a2ae6a8a46f: Verifying Checksum 08:41:53 3a2ae6a8a46f: Download complete 08:41:53 33b1e0a273af: Verifying Checksum 08:41:53 33b1e0a273af: Download complete 08:41:53 ec43610c2a17: Verifying Checksum 08:41:53 ec43610c2a17: Download complete 08:41:53 5d3b04190fa2: Verifying Checksum 08:41:53 5d3b04190fa2: Download complete 08:41:53 5eb5b503b376: Verifying Checksum 08:41:53 5eb5b503b376: Download complete 08:41:54 2f39f015ded8: Verifying Checksum 08:41:54 2f39f015ded8: Download complete 08:41:55 5eb5b503b376: Pull complete 08:41:55 5c69ac0246d0: Pull complete 08:41:55 ec43610c2a17: Pull complete 08:41:55 3a2ae6a8a46f: Pull complete 08:41:56 33b1e0a273af: Pull complete 08:41:56 5d3b04190fa2: Pull complete 08:42:01 2f39f015ded8: Pull complete 08:42:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:42:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:42:02 prd-centos7-docker-4c-2g-6321 does not seem to be running inside a container 08:42:02 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:42:04 $ docker top 87a01af066466f214a61d3fdbd8c3dcbba807bfb58f9d426430a394ae3130f6e -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:04 + touch /tmp/pre-build-complete [Pipeline] sh 08:42:05 + mkdir -p /var/log/sysstat [Pipeline] sh 08:42:05 + ls /var/log/sa-host 08:42:05 + sadf -c /var/log/sa-host/sa03 08:42:05 file_magic: OK 08:42:05 HZ: Using current value: 100 08:42:05 file_header: OK 08:42:05 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 08:42:05 Statistics: 08:42:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:42:05 File successfully converted to sysstat format version 12.5.2 08:42:05 + sadf -c /var/log/sa-host/sa17 08:42:05 file_magic: OK 08:42:05 HZ: Using current value: 100 08:42:05 file_header: OK 08:42:05 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 08:42:05 Statistics: 08:42:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:42:05 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:42:05 provisioning config files... 08:42:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config5370982287560537124tmp [Pipeline] { [Pipeline] echo 08:42:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:42:06 ---> create-netrc.sh [Pipeline] } 08:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:42:06 ---> python-tools-install.sh [Pipeline] echo 08:42:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:42:06 ---> sudo-logs.sh 08:42:06 Archiving 'sudo' log.. 08:42:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-6321.novalocal: Name or service not known 08:42:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-6321.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:42:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:42:07 ---> job-cost.sh 08:42:07 lf-activate-venv: SKIPPING 08:42:07 DEBUG: total: 0.10999999940395355 08:42:07 INFO: Retrieving Stack Cost... 08:42:07 INFO: Retrieving Pricing Info for: v3-standard-2 08:42:07 INFO: Archiving Costs [Pipeline] echo 08:42:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:42:08 ---> logs-deploy.sh 08:42:08 lf-activate-venv: SKIPPING 08:42:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3891/1 08:42:08 INFO: archiving workspace using pattern(s): 08:42:09 Archives upload complete. 08:42:09 INFO: archiving logs to Nexus