Pull request #3891 updated 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 6076d354bd018f44ff93aa735beb404469dc6f4e 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-ssh18396370227742179653.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-ssh8924978092306407794.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh447897264573521993.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 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-ssh16145877868517475789.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3891/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11200948067210262074.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-6839 in /w/workspace/edgexfoundry_edgex-go_PR-3891 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/6 [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/6 # 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/6@tmp/jenkins-gitclient-ssh5083422902226588515.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/6@tmp/jenkins-gitclient-ssh960422424581503670.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 6076d354bd018f44ff93aa735beb404469dc6f4e Merge succeeded, producing 6076d354bd018f44ff93aa735beb404469dc6f4e Checking out Revision 6076d354bd018f44ff93aa735beb404469dc6f4e (PR-3891) > git config core.sparsecheckout # timeout=10 > git checkout -f 6076d354bd018f44ff93aa735beb404469dc6f4e # 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/6@tmp/jenkins-gitclient-ssh6634938651068074165.key > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6076d354bd018f44ff93aa735beb404469dc6f4e # timeout=10 Commit message: "Replace ReadAddEventRequestInBytes with CheckPayloadSize" > git rev-list --no-walk 5ef208f8f20f84cc1de897322d3cb06a8acc9453 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:46:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:46:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:46:25 ========================================================= 10:46:25 EdgeX Global Pipelines Version Info 10:46:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:46:26 ------------------- 10:46:26 stable info: 10:46:26 ------------------- 10:46:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:46:26 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 10:46:26 Message: update stable to v1.0.220 10:46:26 ------------------- 10:46:26 experimental info: 10:46:26 ------------------- 10:46:26 Commited By: **** collab-it+edgex@linuxfoundation.org 10:46:26 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:46:26 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:46:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3891 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3891 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3891 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6076d354bd018f44ff93aa735beb404469dc6f4e [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6076d35 [Pipeline] echo 10:46:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:46:27 provisioning config files... 10:46:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config2789083629487110040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:46:27 ---> docker-login.sh 10:46:27 nexus3.edgexfoundry.org:10001 10:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:27 Configure a credential helper to remove this warning. See 10:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:27 10:46:27 Login Succeeded 10:46:27 nexus3.edgexfoundry.org:10002 10:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:27 Configure a credential helper to remove this warning. See 10:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:27 10:46:27 Login Succeeded 10:46:27 nexus3.edgexfoundry.org:10003 10:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:28 Configure a credential helper to remove this warning. See 10:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:28 10:46:28 Login Succeeded 10:46:28 nexus3.edgexfoundry.org:10004 10:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:28 Configure a credential helper to remove this warning. See 10:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:28 10:46:28 Login Succeeded 10:46:28 docker.io 10:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:46:28 Configure a credential helper to remove this warning. See 10:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:46:28 10:46:28 Login Succeeded 10:46:28 ---> docker-login.sh ends [Pipeline] } 10:46:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:46:29 ++ 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 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/core-command/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo core-command,cmd/core-command/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/core-data/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo core-data,cmd/core-data/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/core-metadata/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo core-metadata,cmd/core-metadata/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/security-bootstrapper/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/security-proxy-setup/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/security-secretstore-setup/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/support-notifications/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo support-notifications,cmd/support-notifications/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/support-scheduler/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo support-scheduler,cmd/support-scheduler/Dockerfile 10:46:29 + for file in '`ls cmd/**/Dockerfile`' 10:46:29 ++ dirname cmd/sys-mgmt-agent/Dockerfile 10:46:29 ++ cut -d/ -f2 10:46:29 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 10:46:29 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 10:46:29 + git rev-list -1 --merges 6076d354bd018f44ff93aa735beb404469dc6f4e~1..6076d354bd018f44ff93aa735beb404469dc6f4e [Pipeline] echo 10:46:29 -----------> git rev-list -1 --merges 6076d354bd018f44ff93aa735beb404469dc6f4e~1..6076d354bd018f44ff93aa735beb404469dc6f4e 6076d354bd018f44ff93aa735beb404469dc6f4e [false] [Pipeline] sh 10:46:29 + git log --format=format:%s -1 6076d354bd018f44ff93aa735beb404469dc6f4e [Pipeline] echo 10:46:29 ========================================================= 10:46:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:46:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:46:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 10:46:30 + grep -v github /etc/ssh/ssh_known_hosts 10:46:30 + '[' -e /tmp/ssh_known_hosts ']' 10:46:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:46:30 + sudo tee -a /etc/ssh/ssh_known_hosts 10:46:30 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 10:46:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:46:30 10:46:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:46:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:46:31 latest: Pulling from edgex-devops/git-semver 10:46:31 a0d0a0d46f8b: Pulling fs layer 10:46:31 3e5f54012d9b: Pulling fs layer 10:46:31 4c7163046ea9: Pulling fs layer 10:46:31 0c2d73faf560: Pulling fs layer 10:46:31 0c2d73faf560: Waiting 10:46:31 3e5f54012d9b: Verifying Checksum 10:46:31 3e5f54012d9b: Download complete 10:46:31 a0d0a0d46f8b: Verifying Checksum 10:46:31 a0d0a0d46f8b: Download complete 10:46:31 0c2d73faf560: Verifying Checksum 10:46:31 0c2d73faf560: Download complete 10:46:31 4c7163046ea9: Verifying Checksum 10:46:31 4c7163046ea9: Download complete 10:46:31 a0d0a0d46f8b: Pull complete 10:46:31 3e5f54012d9b: Pull complete 10:46:31 4c7163046ea9: Pull complete 10:46:31 0c2d73faf560: Pull complete 10:46:31 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:46:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:46:32 prd-centos7-docker-4c-2g-6839 does not seem to be running inside a container 10:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:46:32 $ docker top 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:46:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:46:32 [ssh-agent] Looking for ssh-agent implementation... 10:46:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:46:32 $ docker exec 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f ssh-agent 10:46:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNIDpNE/agent.14 10:46:33 SSH_AGENT_PID=20 10:46:33 Running ssh-add (command line suppressed) 10:46:33 Identity added: /w/workspace/edgex-go/6@tmp/private_key_3239730725960852941.key (/w/workspace/edgex-go/6@tmp/private_key_3239730725960852941.key) 10:46:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:46:33 + git tag --points-at HEAD [Pipeline] } 10:46:33 $ docker exec --env ******** --env ******** 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f ssh-agent -k 10:46:33 unset SSH_AUTH_SOCK; 10:46:33 unset SSH_AGENT_PID; 10:46:33 echo Agent pid 20 killed; 10:46:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:46:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:46:33 [ssh-agent] Looking for ssh-agent implementation... 10:46:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:46:33 $ docker exec 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f ssh-agent 10:46:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpknffE/agent.52 10:46:33 SSH_AGENT_PID=58 10:46:33 Running ssh-add (command line suppressed) 10:46:33 Identity added: /w/workspace/edgex-go/6@tmp/private_key_4824197880161375476.key (/w/workspace/edgex-go/6@tmp/private_key_4824197880161375476.key) 10:46:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:46:34 + git semver init 10:46:34 # -> Open(): unable to determine branch for HEAD 10:46:34 # $GIT_DIR = /w/workspace/edgex-go/6/.git 10:46:34 # $GIT_WORK_TREE = /w/workspace/edgex-go/6 10:46:34 # $SEMVER_REMOTE_NAME = origin 10:46:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:46:34 # $SEMVER_USER_NAME = edgex-jenkins 10:46:34 # $SEMVER_BRANCH = PR-3891 10:46:34 # $SEMVER_TEMP = /tmp/semver-827591048 10:46:34 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 10:46:49 # '/tmp/semver-827591048' -> '/w/workspace/edgex-go/6/.semver' 10:46:49 # -> Force: false 10:46:49 # $SEMVER_DIR = /w/workspace/edgex-go/6/.semver [Pipeline] } 10:46:49 $ docker exec --env ******** --env ******** 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f ssh-agent -k 10:46:49 unset SSH_AUTH_SOCK; 10:46:49 unset SSH_AGENT_PID; 10:46:49 echo Agent pid 58 killed; 10:46:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:46:49 + git semver [Pipeline] } 10:46:49 $ docker stop --time=1 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f 10:46:51 $ docker rm -f 24380814400c3bf4ae944e2486926db8782ca89d9c7d7e80b215258256152f7f [Pipeline] // withDockerContainer [Pipeline] sh 10:46:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:46:52 Stashed 1 file(s) [Pipeline] echo 10:46:52 [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 10:46:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:46:52 ========================================================= 10:46:52 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:46:52 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:46:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:46:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:46:52 59bf1c3509f3: Pulling fs layer 10:46:52 666ba61612fd: Pulling fs layer 10:46:52 8ed8ca486205: Pulling fs layer 10:46:52 4fe6c5a15a65: Pulling fs layer 10:46:52 22a0e8bec74d: Pulling fs layer 10:46:52 640e595b4fbd: Pulling fs layer 10:46:52 763cafe07f6e: Pulling fs layer 10:46:52 0c0b528cf693: Pulling fs layer 10:46:52 10935f4eaf8b: Pulling fs layer 10:46:52 4fe6c5a15a65: Waiting 10:46:52 22a0e8bec74d: Waiting 10:46:52 640e595b4fbd: Waiting 10:46:52 763cafe07f6e: Waiting 10:46:52 0c0b528cf693: Waiting 10:46:52 10935f4eaf8b: Waiting 10:46:52 8ed8ca486205: Verifying Checksum 10:46:52 8ed8ca486205: Download complete 10:46:52 666ba61612fd: Verifying Checksum 10:46:52 666ba61612fd: Download complete 10:46:52 22a0e8bec74d: Verifying Checksum 10:46:52 22a0e8bec74d: Download complete 10:46:52 640e595b4fbd: Verifying Checksum 10:46:52 640e595b4fbd: Download complete 10:46:52 763cafe07f6e: Verifying Checksum 10:46:52 763cafe07f6e: Download complete 10:46:52 59bf1c3509f3: Verifying Checksum 10:46:52 59bf1c3509f3: Download complete 10:46:52 0c0b528cf693: Verifying Checksum 10:46:52 0c0b528cf693: Download complete 10:46:53 4fe6c5a15a65: Verifying Checksum 10:46:53 4fe6c5a15a65: Download complete 10:46:53 59bf1c3509f3: Pull complete 10:46:53 10935f4eaf8b: Verifying Checksum 10:46:53 10935f4eaf8b: Download complete 10:46:53 666ba61612fd: Pull complete 10:46:53 8ed8ca486205: Pull complete 10:46:57 4fe6c5a15a65: Pull complete 10:46:57 22a0e8bec74d: Pull complete 10:46:57 640e595b4fbd: Pull complete 10:46:58 763cafe07f6e: Pull complete 10:46:58 0c0b528cf693: Pull complete 10:47:01 10935f4eaf8b: Pull complete 10:47:01 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:47:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 10:47:01 + docker build -t ci-base-image-x86_64 -f - . 10:47:01 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:47:01 WORKDIR /edgex 10:47:01 COPY go.mod . 10:47:01 RUN go mod download' 10:47:03 Sending build context to Docker daemon 334.2MB 10:47:03 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:47:03 ---> 99d49a6021b9 10:47:03 Step 2/4 : WORKDIR /edgex 10:47:05 ---> Running in 68a1527757e5 10:47:05 Removing intermediate container 68a1527757e5 10:47:05 ---> 647e54200527 10:47:05 Step 3/4 : COPY go.mod . 10:47:05 ---> 52d1fea5dd3a 10:47:05 Step 4/4 : RUN go mod download 10:47:05 ---> Running in fe2a03779884 10:47:07 Still waiting to schedule task 10:47:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:47:44 Removing intermediate container fe2a03779884 10:47:44 ---> 0e0d119888e4 10:47:44 Successfully built 0e0d119888e4 10:47:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:47:44 + docker inspect -f . ci-base-image-x86_64 10:47:44 . [Pipeline] withDockerContainer 10:47:44 prd-centos7-docker-4c-2g-6839 does not seem to be running inside a container 10:47:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:47:45 $ docker top 6bf9e773e7d5325a47cb4069491f679d897bcd0bda3085bf48813291a4ec5c56 -eo pid,comm [Pipeline] { [Pipeline] sh 10:47:45 + go version 10:47:45 go version go1.17.6 linux/amd64 [Pipeline] } 10:47:45 $ docker stop --time=1 6bf9e773e7d5325a47cb4069491f679d897bcd0bda3085bf48813291a4ec5c56 10:47:46 $ docker rm -f 6bf9e773e7d5325a47cb4069491f679d897bcd0bda3085bf48813291a4ec5c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:47:47 + docker inspect -f . ci-base-image-x86_64 10:47:47 . [Pipeline] withDockerContainer 10:47:47 prd-centos7-docker-4c-2g-6839 does not seem to be running inside a container 10:47:47 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:47:47 $ docker top acbba020648ec9b0f2682767398e748fd348202248e4196be3e9ceb9efb8aa5c -eo pid,comm [Pipeline] { [Pipeline] echo 10:47:47 ========================================================= 10:47:47 [edgeXBuildGoParallel] Running Tests and Build... 10:47:47 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:47:48 + make test 10:47:48 go mod tidy 10:47:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:47:55 ? github.com/edgexfoundry/edgex-go [no test files] 10:48:10 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 10:48:14 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 10:48:14 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 10:48:14 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 10:48:16 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 10:48:17 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 10:48:17 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 10:48:17 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/internal [no test files] 10:48:18 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 10:48:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.036s coverage: 28.7% of statements 10:48:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 10:48:20 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 10:48:21 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.067s coverage: 98.5% of statements 10:48:21 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 10:48:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.063s coverage: 54.9% of statements 10:48:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 10:48:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 10:48:22 --- FAIL: TestAddEventSize (0.00s) 10:48:22 --- FAIL: TestAddEventSize/Invalid_-_AddEventRequest_JSON_with_too_large_event_size (0.00s) 10:48:22 event_test.go:323: 10:48:22 Error Trace: event_test.go:323 10:48:22 Error: Not equal: 10:48:22 expected: 413 10:48:22 actual : 201 10:48:22 Test: TestAddEventSize/Invalid_-_AddEventRequest_JSON_with_too_large_event_size 10:48:22 Messages: HTTP status code not as expected 10:48:22 --- FAIL: TestAddEventSize/Invalid_-_AddEventRequest_CBOR_with_too_large_evnet_size (0.00s) 10:48:22 event_test.go:323: 10:48:22 Error Trace: event_test.go:323 10:48:22 Error: Not equal: 10:48:22 expected: 413 10:48:22 actual : 201 10:48:22 Test: TestAddEventSize/Invalid_-_AddEventRequest_CBOR_with_too_large_evnet_size 10:48:22 Messages: HTTP status code not as expected 10:48:22 FAIL 10:48:22 coverage: 89.5% of statements 10:48:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.117s 10:48:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 10:48:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 10:48:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 10:48:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.057s coverage: 84.4% of statements 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 10:48:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.280s coverage: 94.2% of statements 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 10:48:23 ok github.com/edgexfoundry/edgex-go/internal/io 0.065s coverage: 50.0% of statements 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 10:48:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 10:48:24 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.066s coverage: 60.0% of statements 10:48:24 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 10:48:24 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 10:48:24 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.058s coverage: 0.9% of statements 10:48:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.057s coverage: 58.8% of statements 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.040s coverage: 21.7% of statements 10:48:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.045s coverage: 47.1% of statements 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.047s coverage: 79.5% of statements 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.067s coverage: 94.1% of statements 10:48:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.060s coverage: 96.3% of statements 10:48:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements 10:48:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.061s coverage: 94.4% of statements 10:48:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.048s coverage: 44.8% of statements 10:48:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6840 in /w/workspace/edgexfoundry_edgex-go_PR-3891 [Pipeline] { [Pipeline] ws 10:48:38 Running in /w/workspace/edgex-go/6 [Pipeline] { [Pipeline] checkout 10:48:38 The recommended git tool is: git 10:48:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.254s coverage: 82.5% of statements 10:48:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 10:48:43 using credential edgex-jenkins-ssh 10:48:43 Cloning the remote Git repository 10:48:43 Cloning repository git@github.com:edgexfoundry/edgex-go.git 10:48:43 > git init /w/workspace/edgex-go/6 # timeout=10 10:48:43 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 10:48:43 > git --version # timeout=10 10:48:43 > git --version # 'git version 2.17.1' 10:48:43 using GIT_SSH to set credentials SSH Credentials for GitHub 10:48:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:49:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 10:49:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:49:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 10:49:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 10:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.075s coverage: 92.9% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.058s coverage: 87.2% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.053s coverage: 58.8% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.056s coverage: 80.0% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.050s coverage: 87.2% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.064s coverage: 85.4% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.146s coverage: 91.2% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.144s coverage: 64.4% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.029s coverage: 89.4% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.024s coverage: 100.0% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.031s coverage: 100.0% of statements 10:49:00 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.226s coverage: 65.4% of statements 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 10:49:00 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 10:49:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.113s coverage: 43.8% of statements 10:49:01 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 10:49:01 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 10:49:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.056s coverage: 89.5% of statements 10:49:01 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 10:49:01 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements 10:49:01 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 10:49:01 Merging remotes/origin/main commit 613ba3a9f074961a82087988d5f76ae29a1a6b1f into PR head commit 6076d354bd018f44ff93aa735beb404469dc6f4e 10:49:02 Merge succeeded, producing 6076d354bd018f44ff93aa735beb404469dc6f4e 10:49:02 Checking out Revision 6076d354bd018f44ff93aa735beb404469dc6f4e (PR-3891) 10:49: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 10:49:01 > git config core.sparsecheckout # timeout=10 10:49:01 > git checkout -f 6076d354bd018f44ff93aa735beb404469dc6f4e # timeout=10 10:49:02 > git remote # timeout=10 10:49:02 > git config --get remote.origin.url # timeout=10 10:49:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:49:02 > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 10:49:02 > git rev-parse HEAD^{commit} # timeout=10 10:49:02 > git config core.sparsecheckout # timeout=10 10:49:02 > git checkout -f 6076d354bd018f44ff93aa735beb404469dc6f4e # timeout=10 10:49:06 Commit message: "Replace ReadAddEventRequestInBytes with CheckPayloadSize" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:49:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:49:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:49:07 Dload Upload Total Spent Left Speed 10:49:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48938 0 --:--:-- --:--:-- --:--:-- 48736 [Pipeline] sh 10:49:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:49:08 + sudo tee /etc/docker/daemon.new 10:49:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:49:08 { 10:49:08 "registry-mirrors": [ 10:49:08 "https://nexus3.edgexfoundry.org:10001" 10:49:08 ], 10:49:08 "bip": "10.250.0.254/24", 10:49:08 "hosts": [ 10:49:08 "tcp://0.0.0.0:5555", 10:49:08 "unix:///var/run/docker.sock" 10:49:08 ], 10:49:08 "mtu": 1458, 10:49:08 "selinux-enabled": true, 10:49:08 "seccomp-profile": "/etc/docker/seccomp.json" 10:49:08 } [Pipeline] sh 10:49:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:49:08 + sudo service docker restart 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.068s coverage: 17.7% of statements 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.130s coverage: 92.3% of statements 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 63.2% of statements 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.097s coverage: 97.7% of statements 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 10:49:09 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements 10:49:09 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements 10:49:09 FAIL 10:49:09 make: *** [Makefile:98: unittest] Error 1 [Pipeline] } 10:49:09 $ docker stop --time=1 acbba020648ec9b0f2682767398e748fd348202248e4196be3e9ceb9efb8aa5c 10:49:11 $ docker rm -f acbba020648ec9b0f2682767398e748fd348202248e4196be3e9ceb9efb8aa5c [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] } 10:49:11 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:49:27 provisioning config files... 10:49:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/6@tmp/config7134137914819347173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:49:27 ---> docker-login.sh 10:49:27 nexus3.edgexfoundry.org:10001 10:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:28 Configure a credential helper to remove this warning. See 10:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:28 10:49:28 Login Succeeded 10:49:28 nexus3.edgexfoundry.org:10002 10:49:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:28 Configure a credential helper to remove this warning. See 10:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:28 10:49:28 Login Succeeded 10:49:28 nexus3.edgexfoundry.org:10003 10:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:29 Configure a credential helper to remove this warning. See 10:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:29 10:49:29 Login Succeeded 10:49:29 nexus3.edgexfoundry.org:10004 10:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:29 Configure a credential helper to remove this warning. See 10:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:29 10:49:29 Login Succeeded 10:49:29 docker.io 10:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:30 Configure a credential helper to remove this warning. See 10:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:30 10:49:30 Login Succeeded 10:49:30 ---> docker-login.sh ends [Pipeline] } 10:49:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:49:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:49:30 ========================================================= 10:49:30 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:49:30 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:49:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:49:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:49:31 9b3977197b4f: Pulling fs layer 10:49:31 1a89e8eeedd5: Pulling fs layer 10:49:31 94645a83ff95: Pulling fs layer 10:49:31 3f3a8bcf1eab: Pulling fs layer 10:49:31 0c92f367c5e7: Pulling fs layer 10:49:31 f7c0051592d6: Pulling fs layer 10:49:31 a227ed2f7395: Pulling fs layer 10:49:31 7b1c46037f91: Pulling fs layer 10:49:31 3f3a8bcf1eab: Waiting 10:49:31 0c92f367c5e7: Waiting 10:49:31 f7c0051592d6: Waiting 10:49:31 a227ed2f7395: Waiting 10:49:31 7b1c46037f91: Waiting 10:49:31 94645a83ff95: Verifying Checksum 10:49:31 94645a83ff95: Download complete 10:49:31 1a89e8eeedd5: Verifying Checksum 10:49:31 1a89e8eeedd5: Download complete 10:49:31 0c92f367c5e7: Download complete 10:49:31 f7c0051592d6: Download complete 10:49:31 9b3977197b4f: Download complete 10:49:31 a227ed2f7395: Verifying Checksum 10:49:31 a227ed2f7395: Download complete 10:49:32 9b3977197b4f: Pull complete 10:49:32 1a89e8eeedd5: Pull complete 10:49:33 94645a83ff95: Pull complete 10:49:33 7b1c46037f91: Verifying Checksum 10:49:33 7b1c46037f91: Download complete 10:49:34 3f3a8bcf1eab: Verifying Checksum 10:49:34 3f3a8bcf1eab: Download complete 10:49:46 3f3a8bcf1eab: Pull complete 10:49:46 0c92f367c5e7: Pull complete 10:49:46 f7c0051592d6: Pull complete 10:49:46 a227ed2f7395: Pull complete 10:49:51 7b1c46037f91: Pull complete 10:49:51 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:49:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:49:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 10:49:52 + docker build -t ci-base-image-arm64 -f - . 10:49:52 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:49:52 WORKDIR /edgex 10:49:52 COPY go.mod . 10:49:52 RUN go mod download 10:49:54 Sending build context to Docker daemon 168.8MB 10:49:54 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:49:54 ---> f79e39bc4007 10:49:54 Step 2/4 : WORKDIR /edgex 10:49:56 ---> Running in b6c8273715b0 10:49:56 Removing intermediate container b6c8273715b0 10:49:56 ---> 09c4324e2cd8 10:49:56 Step 3/4 : COPY go.mod . 10:49:57 ---> bd2fb2f807d6 10:49:57 Step 4/4 : RUN go mod download 10:49:57 ---> Running in c949d027c469 10:51:19 Removing intermediate container c949d027c469 10:51:19 ---> a4b4f5ac7471 10:51:19 Successfully built a4b4f5ac7471 10:51:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:51:19 + docker inspect -f . ci-base-image-arm64 10:51:19 . [Pipeline] withDockerContainer 10:51:19 prd-ubuntu18.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container 10:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:51:21 $ docker top 9125492bb01a2b10cbca8212487da2a1b30be68a1fc60836605899ba6668b45a -eo pid,comm [Pipeline] { [Pipeline] sh 10:51:22 + go version 10:51:22 go version go1.17.6 linux/arm64 [Pipeline] } 10:51:22 $ docker stop --time=1 9125492bb01a2b10cbca8212487da2a1b30be68a1fc60836605899ba6668b45a 10:51:23 $ docker rm -f 9125492bb01a2b10cbca8212487da2a1b30be68a1fc60836605899ba6668b45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:51:24 + docker inspect -f . ci-base-image-arm64 10:51:24 . [Pipeline] withDockerContainer 10:51:24 prd-ubuntu18.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container 10:51:24 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:51:25 $ docker top 6620e18f49d8176f67fc52f13219ff0c8df8673b1e91916c31e77af2b6dfabc4 -eo pid,comm [Pipeline] { [Pipeline] echo 10:51:26 ========================================================= 10:51:26 [edgeXBuildGoParallel] Running Tests and Build... 10:51:26 ========================================================= [Pipeline] fileExists [Pipeline] sh 10:51:26 + make test 10:51:26 go mod tidy 10:51:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:51:59 ? github.com/edgexfoundry/edgex-go [no test files] 10:52:56 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 10:52:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 10:52:56 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 10:52:57 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 10:53:07 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 10:53:08 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 10:53:08 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 10:53:08 ? github.com/edgexfoundry/edgex-go/internal [no test files] 10:53:08 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 10:53:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.171s coverage: 28.7% of statements 10:53:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 10:53:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 10:53:21 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.366s coverage: 98.5% of statements 10:53:21 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 10:53:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.360s coverage: 54.9% of statements 10:53:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 10:53:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 10:53:22 --- FAIL: TestAddEventSize (0.02s) 10:53:22 --- FAIL: TestAddEventSize/Invalid_-_AddEventRequest_JSON_with_too_large_event_size (0.00s) 10:53:22 event_test.go:323: 10:53:22 Error Trace: event_test.go:323 10:53:22 Error: Not equal: 10:53:22 expected: 413 10:53:22 actual : 201 10:53:22 Test: TestAddEventSize/Invalid_-_AddEventRequest_JSON_with_too_large_event_size 10:53:22 Messages: HTTP status code not as expected 10:53:22 --- FAIL: TestAddEventSize/Invalid_-_AddEventRequest_CBOR_with_too_large_evnet_size (0.00s) 10:53:22 event_test.go:323: 10:53:22 Error Trace: event_test.go:323 10:53:22 Error: Not equal: 10:53:22 expected: 413 10:53:22 actual : 201 10:53:22 Test: TestAddEventSize/Invalid_-_AddEventRequest_CBOR_with_too_large_evnet_size 10:53:22 Messages: HTTP status code not as expected 10:53:22 FAIL 10:53:22 coverage: 89.5% of statements 10:53:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.625s 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 10:53:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.229s coverage: 84.4% of statements 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 10:53:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.647s coverage: 94.2% of statements 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/io 0.243s coverage: 50.0% of statements 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.200s coverage: 60.0% of statements 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.381s coverage: 0.9% of statements 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.221s coverage: 58.8% of statements 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.195s coverage: 21.7% of statements 10:53:32 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.176s coverage: 47.1% of statements 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.253s coverage: 79.5% of statements 10:53:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.297s coverage: 94.1% of statements 10:53:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.288s coverage: 96.3% of statements 10:53:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.277s coverage: 87.5% of statements 10:53:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.352s coverage: 94.4% of statements 10:53:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.212s coverage: 44.8% of statements 10:53:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.706s coverage: 82.5% of statements 10:53:53 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.293s coverage: 92.9% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.058s coverage: 65.1% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.187s coverage: 87.2% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.173s coverage: 100.0% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.258s coverage: 58.8% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.237s coverage: 80.0% of statements 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.218s coverage: 87.2% of statements 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.300s coverage: 85.4% of statements 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.912s coverage: 91.2% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.807s coverage: 64.4% of statements 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 10:53:59 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.219s coverage: 100.0% of statements 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.094s coverage: 89.4% of statements 10:53:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.049s coverage: 100.0% of statements 10:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.061s coverage: 73.7% of statements 10:54:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.050s coverage: 100.0% of statements 10:54:05 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.259s coverage: 65.4% of statements 10:54:05 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 10:54:05 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 10:54:05 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 10:54:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.677s coverage: 43.8% of statements 10:54:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 10:54:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 10:54:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.307s coverage: 89.5% of statements 10:54:07 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 10:54:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.238s coverage: 84.8% of statements 10:54:07 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.252s coverage: 17.7% of statements 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.596s coverage: 92.3% of statements 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.220s coverage: 63.2% of statements 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.484s coverage: 97.7% of statements 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.215s coverage: 28.9% of statements 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 10:54:15 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.233s coverage: 100.0% of statements 10:54:15 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 96.9% of statements 10:54:15 FAIL 10:54:15 make: *** [Makefile:98: unittest] Error 1 [Pipeline] } 10:54:15 $ docker stop --time=1 6620e18f49d8176f67fc52f13219ff0c8df8673b1e91916c31e77af2b6dfabc4 10:54:17 $ docker rm -f 6620e18f49d8176f67fc52f13219ff0c8df8673b1e91916c31e77af2b6dfabc4 [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 10:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:18 10:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:54:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:19 arm64: Pulling from edgex-lftools-log-publisher 10:54:19 8998bd30e6a1: Pulling fs layer 10:54:19 04944245beec: Pulling fs layer 10:54:19 699f458cf7ca: Pulling fs layer 10:54:19 765212b225bb: Pulling fs layer 10:54:19 f23df028b6ca: Pulling fs layer 10:54:19 d65c8cfc05b1: Pulling fs layer 10:54:19 2437ff75d9bd: Pulling fs layer 10:54:19 f23df028b6ca: Waiting 10:54:19 d65c8cfc05b1: Waiting 10:54:19 2437ff75d9bd: Waiting 10:54:19 765212b225bb: Waiting 10:54:19 04944245beec: Verifying Checksum 10:54:19 04944245beec: Download complete 10:54:19 765212b225bb: Verifying Checksum 10:54:19 765212b225bb: Download complete 10:54:19 f23df028b6ca: Download complete 10:54:19 d65c8cfc05b1: Verifying Checksum 10:54:19 d65c8cfc05b1: Download complete 10:54:19 699f458cf7ca: Verifying Checksum 10:54:19 699f458cf7ca: Download complete 10:54:20 8998bd30e6a1: Verifying Checksum 10:54:20 8998bd30e6a1: Download complete 10:54:22 2437ff75d9bd: Verifying Checksum 10:54:22 2437ff75d9bd: Download complete 10:54:24 8998bd30e6a1: Pull complete 10:54:24 04944245beec: Pull complete 10:54:26 699f458cf7ca: Pull complete 10:54:26 765212b225bb: Pull complete 10:54:27 f23df028b6ca: Pull complete 10:54:27 d65c8cfc05b1: Pull complete 10:54:42 2437ff75d9bd: Pull complete 10:54:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:54:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:54:42 prd-ubuntu18.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container 10:54:43 $ 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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:54:45 $ docker top 7a0aa1cd9f6a95c87ee8f809ba7a3c222d08941d1bfcc53bfb7ac8bae009b2fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:46 ---> job-cost.sh 10:54:46 lf-activate-venv: SKIPPING 10:54:46 INFO: No Stack... 10:54:47 INFO: Retrieving Pricing Info for: v3-standard-4 10:54:48 INFO: Archiving Costs [Pipeline] sh 10:54:48 + cat+ /w/workspace/edgex-go/6/archives/cost.csv 10:54:48 cut -d, -f6 [Pipeline] lock 10:54:48 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3891-6-stack-cost] 10:54:48 Resource [jenkins-edgexfoundry-edgex-go-PR-3891-6-stack-cost] did not exist. Created. 10:54:48 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3891-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:54:49 + echo total: 0.10999999940395355 [Pipeline] stash 10:54:50 Stashed 1 file(s) [Pipeline] } 10:54:50 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3891-6-stack-cost] [Pipeline] // lock [Pipeline] } 10:54:50 $ docker stop --time=1 7a0aa1cd9f6a95c87ee8f809ba7a3c222d08941d1bfcc53bfb7ac8bae009b2fa 10:54:51 $ docker rm -f 7a0aa1cd9f6a95c87ee8f809ba7a3c222d08941d1bfcc53bfb7ac8bae009b2fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:54:51 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 10:54:52 + '[' -d /w/workspace/edgex-go/6/archives ']' [Pipeline] libraryResource [Pipeline] sh 10:54:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:54:53 ---> package-listing.sh 10:54:53 ++ facter osfamily 10:54:53 ++ tr '[:upper:]' '[:lower:]' 10:54:53 + OS_FAMILY=redhat 10:54:53 + workspace=/w/workspace/edgex-go/6 10:54:53 + START_PACKAGES=/tmp/packages_start.txt 10:54:53 + END_PACKAGES=/tmp/packages_end.txt 10:54:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:54:53 + PACKAGES=/tmp/packages_start.txt 10:54:53 + '[' /w/workspace/edgex-go/6 ']' 10:54:53 + PACKAGES=/tmp/packages_end.txt 10:54:53 + case "${OS_FAMILY}" in 10:54:53 + rpm -qa 10:54:53 + sort 10:54:54 + '[' -f /tmp/packages_start.txt ']' 10:54:54 + '[' -f /tmp/packages_end.txt ']' 10:54:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:54:54 + '[' /w/workspace/edgex-go/6 ']' 10:54:54 + mkdir -p /w/workspace/edgex-go/6/archives/ 10:54:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/6/archives/ [Pipeline] echo 10:54:54 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/6/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:54:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:54:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:55 10:54:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:54:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:54:55 latest: Pulling from edgex-lftools-log-publisher 10:54:55 5eb5b503b376: Pulling fs layer 10:54:55 5c69ac0246d0: Pulling fs layer 10:54:55 ec43610c2a17: Pulling fs layer 10:54:55 3a2ae6a8a46f: Pulling fs layer 10:54:55 33b1e0a273af: Pulling fs layer 10:54:55 5d3b04190fa2: Pulling fs layer 10:54:55 2f39f015ded8: Pulling fs layer 10:54:55 33b1e0a273af: Waiting 10:54:55 5d3b04190fa2: Waiting 10:54:55 2f39f015ded8: Waiting 10:54:55 3a2ae6a8a46f: Waiting 10:54:55 5c69ac0246d0: Verifying Checksum 10:54:55 5c69ac0246d0: Download complete 10:54:55 3a2ae6a8a46f: Verifying Checksum 10:54:55 3a2ae6a8a46f: Download complete 10:54:55 33b1e0a273af: Verifying Checksum 10:54:55 33b1e0a273af: Download complete 10:54:55 ec43610c2a17: Verifying Checksum 10:54:55 ec43610c2a17: Download complete 10:54:55 5d3b04190fa2: Verifying Checksum 10:54:55 5d3b04190fa2: Download complete 10:54:55 5eb5b503b376: Verifying Checksum 10:54:55 5eb5b503b376: Download complete 10:54:56 2f39f015ded8: Download complete 10:54:57 5eb5b503b376: Pull complete 10:54:57 5c69ac0246d0: Pull complete 10:54:58 ec43610c2a17: Pull complete 10:54:58 3a2ae6a8a46f: Pull complete 10:54:58 33b1e0a273af: Pull complete 10:54:58 5d3b04190fa2: Pull complete 10:55:03 2f39f015ded8: Pull complete 10:55:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:55:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:55:03 prd-centos7-docker-4c-2g-6839 does not seem to be running inside a container 10:55:03 $ 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/6/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/6 -v /w/workspace/edgex-go/6:/w/workspace/edgex-go/6:rw,z -v /w/workspace/edgex-go/6@tmp:/w/workspace/edgex-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:55:06 $ docker top e8d245372dcacdf2420b9e359a75cfc8dc04f20bc8f696d2375f034b4702e315 -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:06 + touch /tmp/pre-build-complete [Pipeline] sh 10:55:06 + mkdir -p /var/log/sysstat [Pipeline] sh 10:55:07 + ls /var/log/sa-host 10:55:07 + sadf -c /var/log/sa-host/sa11 10:55:07 file_magic: OK 10:55:07 HZ: Using current value: 100 10:55:07 file_header: OK 10:55:07 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 10:55:07 Statistics: 10:55:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:55:07 File successfully converted to sysstat format version 12.5.2 10:55:07 + sadf -c /var/log/sa-host/sa17 10:55:07 file_magic: OK 10:55:07 HZ: Using current value: 100 10:55:07 file_header: OK 10:55:07 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 10:55:07 Statistics: 10:55:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:55:07 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:07 provisioning config files... 10:55:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/6@tmp/config6961531552422690341tmp [Pipeline] { [Pipeline] echo 10:55:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:55:07 ---> create-netrc.sh [Pipeline] } 10:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:55:07 ---> python-tools-install.sh [Pipeline] echo 10:55:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:55:08 ---> sudo-logs.sh 10:55:08 Archiving 'sudo' log.. 10:55:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-6839.novalocal: Name or service not known 10:55:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-6839.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 10:55:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:55:08 ---> job-cost.sh 10:55:08 lf-activate-venv: SKIPPING 10:55:08 DEBUG: total: 0.10999999940395355 10:55:08 INFO: Retrieving Stack Cost... 10:55:08 INFO: Retrieving Pricing Info for: v3-standard-2 10:55:09 INFO: Archiving Costs [Pipeline] echo 10:55:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:55:09 ---> logs-deploy.sh 10:55:09 lf-activate-venv: SKIPPING 10:55:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3891/6 10:55:09 INFO: archiving workspace using pattern(s): 10:55:10 Archives upload complete. 10:55:10 INFO: archiving logs to Nexus