Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at dc332ed083f1c61ee8ecfefd91dd0e56b233d913 rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from dc332ed083f1c61ee8ecfefd91dd0e56b233d913 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-ssh15519558806989846584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh15817293425920346186.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-3842/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-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh887794547120952236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh13524606865022158550.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/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-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14535114135509140289.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-1368 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/9 [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/9 # 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/9@tmp/jenkins-gitclient-ssh7165702976579985701.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc332ed083f1c61ee8ecfefd91dd0e56b233d913 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Merge succeeded, producing 9c13d1d872bb57e8351d55b303ecc563c7aae36b Checking out Revision 9c13d1d872bb57e8351d55b303ecc563c7aae36b (PR-3842) > 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/9@tmp/jenkins-gitclient-ssh6221864026271478809.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # 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/9@tmp/jenkins-gitclient-ssh8956149979644709188.key > git merge dc332ed083f1c61ee8ecfefd91dd0e56b233d913 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c13d1d872bb57e8351d55b303ecc563c7aae36b # timeout=10 Commit message: "Merge commit 'dc332ed083f1c61ee8ecfefd91dd0e56b233d913' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:31:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:31:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:31:00 ========================================================= 20:31:00 EdgeX Global Pipelines Version Info 20:31:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2a0ba6a7b7fe7c4485f805fb3c7db8b6b306d6ba # timeout=10 20:31:01 ------------------- 20:31:01 stable info: 20:31:01 ------------------- 20:31:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:31:01 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 20:31:01 Message: update stable to v1.0.218 20:31:02 ------------------- 20:31:02 experimental info: 20:31:02 ------------------- 20:31:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:31:02 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 20:31:02 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c13d1d872bb57e8351d55b303ecc563c7aae36b [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c13d1d [Pipeline] echo 20:31:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:03 provisioning config files... 20:31:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config2388027634246344279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:03 ---> docker-login.sh 20:31:03 nexus3.edgexfoundry.org:10001 20:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:03 Configure a credential helper to remove this warning. See 20:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:03 20:31:03 Login Succeeded 20:31:03 nexus3.edgexfoundry.org:10002 20:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:03 Configure a credential helper to remove this warning. See 20:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:03 20:31:03 Login Succeeded 20:31:03 nexus3.edgexfoundry.org:10003 20:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:03 Configure a credential helper to remove this warning. See 20:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:03 20:31:03 Login Succeeded 20:31:03 nexus3.edgexfoundry.org:10004 20:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:03 Configure a credential helper to remove this warning. See 20:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:03 20:31:03 Login Succeeded 20:31:03 docker.io 20:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:04 Configure a credential helper to remove this warning. See 20:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:04 20:31:04 Login Succeeded 20:31:04 ---> docker-login.sh ends [Pipeline] } 20:31:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:04 ++ 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 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/core-command/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo core-command,cmd/core-command/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/core-data/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo core-data,cmd/core-data/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/core-metadata/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo core-metadata,cmd/core-metadata/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/security-bootstrapper/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/security-proxy-setup/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/support-notifications/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo support-notifications,cmd/support-notifications/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/support-scheduler/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:31:04 + for file in '`ls cmd/**/Dockerfile`' 20:31:04 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:31:04 ++ cut -d/ -f2 20:31:04 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:31:04 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 20:31:05 + git rev-list -1 --merges 9c13d1d872bb57e8351d55b303ecc563c7aae36b~1..9c13d1d872bb57e8351d55b303ecc563c7aae36b [Pipeline] echo 20:31:05 -----------> git rev-list -1 --merges 9c13d1d872bb57e8351d55b303ecc563c7aae36b~1..9c13d1d872bb57e8351d55b303ecc563c7aae36b 9c13d1d872bb57e8351d55b303ecc563c7aae36b 20:31:05 9c13d1d872bb57e8351d55b303ecc563c7aae36b [false] [Pipeline] sh 20:31:05 + git log --format=format:%s -1 9c13d1d872bb57e8351d55b303ecc563c7aae36b [Pipeline] echo 20:31:05 ========================================================= 20:31:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:31:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:31:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:31:05 + grep -v github /etc/ssh/ssh_known_hosts 20:31:05 + '[' -e /tmp/ssh_known_hosts ']' 20:31:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:31:05 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:31:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:31:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:31:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:31:06 20:31:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:31:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:31:06 latest: Pulling from edgex-devops/git-semver 20:31:06 a0d0a0d46f8b: Pulling fs layer 20:31:06 3e5f54012d9b: Pulling fs layer 20:31:06 4c7163046ea9: Pulling fs layer 20:31:06 0c2d73faf560: Pulling fs layer 20:31:06 0c2d73faf560: Waiting 20:31:06 3e5f54012d9b: Verifying Checksum 20:31:06 3e5f54012d9b: Download complete 20:31:06 a0d0a0d46f8b: Verifying Checksum 20:31:06 a0d0a0d46f8b: Download complete 20:31:06 0c2d73faf560: Verifying Checksum 20:31:06 0c2d73faf560: Download complete 20:31:06 4c7163046ea9: Verifying Checksum 20:31:06 4c7163046ea9: Download complete 20:31:06 a0d0a0d46f8b: Pull complete 20:31:06 3e5f54012d9b: Pull complete 20:31:07 4c7163046ea9: Pull complete 20:31:07 0c2d73faf560: Pull complete 20:31:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:31:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:31:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:31:07 prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container 20:31:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:31:08 $ docker top 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:31:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:08 [ssh-agent] Looking for ssh-agent implementation... 20:31:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:08 $ docker exec 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 ssh-agent 20:31:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGfpbcl/agent.14 20:31:08 SSH_AGENT_PID=20 20:31:08 Running ssh-add (command line suppressed) 20:31:08 Identity added: /w/workspace/edgex-go/9@tmp/private_key_8451318213012752945.key (/w/workspace/edgex-go/9@tmp/private_key_8451318213012752945.key) 20:31:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:09 + git tag --points-at HEAD [Pipeline] } 20:31:09 $ docker exec --env ******** --env ******** 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 ssh-agent -k 20:31:09 unset SSH_AUTH_SOCK; 20:31:09 unset SSH_AGENT_PID; 20:31:09 echo Agent pid 20 killed; 20:31:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:31:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:09 [ssh-agent] Looking for ssh-agent implementation... 20:31:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:09 $ docker exec 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 ssh-agent 20:31:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOLEhGM/agent.54 20:31:09 SSH_AGENT_PID=61 20:31:09 Running ssh-add (command line suppressed) 20:31:09 Identity added: /w/workspace/edgex-go/9@tmp/private_key_5732286754686334944.key (/w/workspace/edgex-go/9@tmp/private_key_5732286754686334944.key) 20:31:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:10 + git semver init 20:31:10 # -> Open(): unable to determine branch for HEAD 20:31:10 # $GIT_DIR = /w/workspace/edgex-go/9/.git 20:31:10 # $GIT_WORK_TREE = /w/workspace/edgex-go/9 20:31:10 # $SEMVER_REMOTE_NAME = origin 20:31:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:31:10 # $SEMVER_USER_NAME = edgex-jenkins 20:31:10 # $SEMVER_BRANCH = PR-3842 20:31:10 # $SEMVER_TEMP = /tmp/semver-435464567 20:31:10 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:31:24 # '/tmp/semver-435464567' -> '/w/workspace/edgex-go/9/.semver' 20:31:24 # -> Force: false 20:31:24 # $SEMVER_DIR = /w/workspace/edgex-go/9/.semver [Pipeline] } 20:31:25 $ docker exec --env ******** --env ******** 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 ssh-agent -k 20:31:25 unset SSH_AUTH_SOCK; 20:31:25 unset SSH_AGENT_PID; 20:31:25 echo Agent pid 61 killed; 20:31:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:25 + git semver [Pipeline] } 20:31:25 $ docker stop --time=1 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 20:31:27 $ docker rm -f 3ccbf0cf42d8d0adf9b6b57994c49978db002d358d430061c3d4ed78d9d86759 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:31:28 Stashed 1 file(s) [Pipeline] echo 20:31:28 [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 20:31:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:28 ========================================================= 20:31:28 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:31:28 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:31:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:31:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:31:28 a0d0a0d46f8b: Already exists 20:31:28 31adcdaf11c8: Pulling fs layer 20:31:28 b8b176561691: Pulling fs layer 20:31:28 4527c011a84f: Pulling fs layer 20:31:28 5d74067f8e1e: Pulling fs layer 20:31:28 e0aca202a116: Pulling fs layer 20:31:28 3a43be97a3b4: Pulling fs layer 20:31:28 34cad66bf833: Pulling fs layer 20:31:28 b4e3c513aaa6: Pulling fs layer 20:31:28 5d74067f8e1e: Waiting 20:31:28 e0aca202a116: Waiting 20:31:28 3a43be97a3b4: Waiting 20:31:28 34cad66bf833: Waiting 20:31:28 b4e3c513aaa6: Waiting 20:31:28 b8b176561691: Verifying Checksum 20:31:28 b8b176561691: Download complete 20:31:28 31adcdaf11c8: Verifying Checksum 20:31:28 31adcdaf11c8: Download complete 20:31:28 5d74067f8e1e: Verifying Checksum 20:31:28 5d74067f8e1e: Download complete 20:31:28 e0aca202a116: Verifying Checksum 20:31:28 e0aca202a116: Download complete 20:31:28 3a43be97a3b4: Verifying Checksum 20:31:28 3a43be97a3b4: Download complete 20:31:28 34cad66bf833: Verifying Checksum 20:31:28 34cad66bf833: Download complete 20:31:28 31adcdaf11c8: Pull complete 20:31:28 b8b176561691: Pull complete 20:31:29 4527c011a84f: Verifying Checksum 20:31:29 4527c011a84f: Download complete 20:31:29 b4e3c513aaa6: Verifying Checksum 20:31:29 b4e3c513aaa6: Download complete 20:31:32 4527c011a84f: Pull complete 20:31:32 5d74067f8e1e: Pull complete 20:31:33 e0aca202a116: Pull complete 20:31:33 3a43be97a3b4: Pull complete 20:31:33 34cad66bf833: Pull complete 20:31:36 b4e3c513aaa6: Pull complete 20:31:36 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 20:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:31:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 20:31:36 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:31:36 WORKDIR /edgex 20:31:36 COPY go.mod . 20:31:36 RUN go mod download' 20:31:36 + docker build -t ci-base-image-x86_64 -f - . 20:31:38 Sending build context to Docker daemon 333.9MB 20:31:38 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:31:38 ---> 9f6097aaca64 20:31:38 Step 2/4 : WORKDIR /edgex 20:31:43 Still waiting to schedule task 20:31:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1369’ is offline 20:31:48 ---> Running in 0032f30d7a4d 20:31:48 Removing intermediate container 0032f30d7a4d 20:31:48 ---> 55d5b8f9e09e 20:31:48 Step 3/4 : COPY go.mod . 20:31:48 ---> 91ec0d39f610 20:31:48 Step 4/4 : RUN go mod download 20:31:48 ---> Running in d837a53675d5 20:32:20 Removing intermediate container d837a53675d5 20:32:20 ---> 88af4da85a1b 20:32:20 Successfully built 88af4da85a1b 20:32:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:32:20 + docker inspect -f . ci-base-image-x86_64 20:32:20 . [Pipeline] withDockerContainer 20:32:20 prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container 20:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:32:21 $ docker top fc44144059993a92c9ed68810a9441a87d8909a52529ad87ee3da665e225a3db -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:21 + go version 20:32:21 go version go1.16.8 linux/amd64 [Pipeline] } 20:32:21 $ docker stop --time=1 fc44144059993a92c9ed68810a9441a87d8909a52529ad87ee3da665e225a3db 20:32:22 $ docker rm -f fc44144059993a92c9ed68810a9441a87d8909a52529ad87ee3da665e225a3db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:32:23 + docker inspect -f . ci-base-image-x86_64 20:32:23 . [Pipeline] withDockerContainer 20:32:23 prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container 20:32:23 $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:32:23 $ docker top 7bccc58da14e95c36d5d52c99d8549d3ceb23bb319f6b6ac3ce68c8e51ebc4fc -eo pid,comm [Pipeline] { [Pipeline] echo 20:32:23 ========================================================= 20:32:23 [edgeXBuildGoParallel] Running Tests and Build... 20:32:23 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:32:23 + make test 20:32:23 go mod tidy 20:32:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:32:29 ? github.com/edgexfoundry/edgex-go [no test files] 20:32:51 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:32:56 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:32:57 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:32:57 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:32:59 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:33:00 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:33:00 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:33:00 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:33:00 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:33:01 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:33:01 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:33:01 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:33:01 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:33:01 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:33:03 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.047s coverage: 28.7% of statements 20:33:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:33:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:33:04 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.061s coverage: 98.5% of statements 20:33:04 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:33:04 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.061s coverage: 44.7% of statements 20:33:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:33:04 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:33:05 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.123s coverage: 89.5% of statements 20:33:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:33:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:33:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.057s coverage: 84.4% of statements 20:33:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:33:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:33:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:33:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:33:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:33:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.275s coverage: 94.2% of statements 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:33:07 ok github.com/edgexfoundry/edgex-go/internal/io 0.053s coverage: 59.1% of statements 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:33:07 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.044s coverage: 60.0% of statements 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:33:07 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:33:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.043s coverage: 0.9% of statements 20:33:08 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:33:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements 20:33:09 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.044s coverage: 21.7% of statements 20:33:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:33:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.040s coverage: 47.1% of statements 20:33:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.054s coverage: 79.5% of statements 20:33:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.048s coverage: 94.1% of statements 20:33:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.050s coverage: 96.3% of statements 20:33:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.044s coverage: 87.5% of statements 20:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.059s coverage: 94.4% of statements 20:33:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.045s coverage: 44.8% of statements 20:33:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.188s coverage: 82.5% of statements 20:33:29 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.082s coverage: 92.9% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.035s coverage: 65.1% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.060s coverage: 87.2% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s coverage: 58.8% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.059s coverage: 87.2% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 85.4% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.139s coverage: 91.2% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.137s coverage: 64.4% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.049s coverage: 100.0% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.022s coverage: 100.0% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.036s coverage: 73.7% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.235s coverage: 65.4% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.129s coverage: 43.8% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.071s coverage: 89.5% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:33:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements 20:33:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.057s coverage: 17.7% of statements 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.138s coverage: 92.3% of statements 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.051s coverage: 28.9% of statements 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:33:55 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 20:33:55 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 20:33:55 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 20:34:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1371 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 20:34:12 Running in /w/workspace/edgex-go/9 [Pipeline] { [Pipeline] checkout 20:34:13 The recommended git tool is: git 20:34:18 using credential edgex-jenkins-ssh 20:34:18 Cloning the remote Git repository 20:34:18 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:34:18 > git init /w/workspace/edgex-go/9 # timeout=10 20:34:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:34:18 > git --version # timeout=10 20:34:18 > git --version # 'git version 2.17.1' 20:34:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:34 GO111MODULE=on go vet ./... 20:34:36 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:34:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:36 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:34:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:34:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:34:37 Merging remotes/origin/main commit dc332ed083f1c61ee8ecfefd91dd0e56b233d913 into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 20:34:38 Merge succeeded, producing 3602c753060db3bf3b2ae8a30b587da7ea9b0d16 20:34:38 Checking out Revision 3602c753060db3bf3b2ae8a30b587da7ea9b0d16 (PR-3842) 20:34:37 > git config core.sparsecheckout # timeout=10 20:34:37 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 20:34:37 > git remote # timeout=10 20:34:37 > git config --get remote.origin.url # timeout=10 20:34:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:38 > git merge dc332ed083f1c61ee8ecfefd91dd0e56b233d913 # timeout=10 20:34:38 > git rev-parse HEAD^{commit} # timeout=10 20:34:38 > git config core.sparsecheckout # timeout=10 20:34:38 > git checkout -f 3602c753060db3bf3b2ae8a30b587da7ea9b0d16 # timeout=10 20:34:42 Commit message: "Merge commit 'dc332ed083f1c61ee8ecfefd91dd0e56b233d913' into HEAD" 20:34:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:34:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:43 Dload Upload Total Spent Left Speed 20:34:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 20:34:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:34:42 > git rev-list --no-walk 2a0ba6a7b7fe7c4485f805fb3c7db8b6b306d6ba # timeout=10 20:34:44 + + sudo tee /etc/docker/daemon.newsudo 20:34:44 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:34:44 { 20:34:44 "registry-mirrors": [ 20:34:44 "https://nexus3.edgexfoundry.org:10001" 20:34:44 ], 20:34:44 "bip": "10.250.0.254/24", 20:34:44 "hosts": [ 20:34:44 "tcp://0.0.0.0:5555", 20:34:44 "unix:///var/run/docker.sock" 20:34:44 ], 20:34:44 "mtu": 1458, 20:34:44 "selinux-enabled": true, 20:34:44 "seccomp-profile": "/etc/docker/seccomp.json" 20:34:44 } [Pipeline] sh 20:34:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:34:45 + sudo service docker restart 20:34:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:34:47 ./internal/core/command/prometheus.go 20:34:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:34:47 make: *** [Makefile:111: test] Error 1 [Pipeline] } 20:34:47 $ docker stop --time=1 7bccc58da14e95c36d5d52c99d8549d3ceb23bb319f6b6ac3ce68c8e51ebc4fc 20:34:48 $ docker rm -f 7bccc58da14e95c36d5d52c99d8549d3ceb23bb319f6b6ac3ce68c8e51ebc4fc [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] } 20:34:49 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:35:03 provisioning config files... 20:35:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config7144853711569101795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:03 ---> docker-login.sh 20:35:03 nexus3.edgexfoundry.org:10001 20:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:04 Configure a credential helper to remove this warning. See 20:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:04 20:35:04 Login Succeeded 20:35:04 nexus3.edgexfoundry.org:10002 20:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:04 Configure a credential helper to remove this warning. See 20:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:04 20:35:04 Login Succeeded 20:35:04 nexus3.edgexfoundry.org:10003 20:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:05 Configure a credential helper to remove this warning. See 20:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:05 20:35:05 Login Succeeded 20:35:05 nexus3.edgexfoundry.org:10004 20:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:05 Configure a credential helper to remove this warning. See 20:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:05 20:35:05 Login Succeeded 20:35:05 docker.io 20:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:06 Configure a credential helper to remove this warning. See 20:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:06 20:35:06 Login Succeeded 20:35:06 ---> docker-login.sh ends [Pipeline] } 20:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:07 ========================================================= 20:35:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:35:07 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:35:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:35:07 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:35:07 552d1f2373af: Pulling fs layer 20:35:07 ea3f2d53f512: Pulling fs layer 20:35:07 9e70ebbbe112: Pulling fs layer 20:35:07 7a9cfe048b4a: Pulling fs layer 20:35:07 72dc09318566: Pulling fs layer 20:35:07 f4f7b4309257: Pulling fs layer 20:35:07 0ac9a79272e3: Pulling fs layer 20:35:07 b78e95d17946: Pulling fs layer 20:35:07 7a9cfe048b4a: Waiting 20:35:07 72dc09318566: Waiting 20:35:07 f4f7b4309257: Waiting 20:35:07 0ac9a79272e3: Waiting 20:35:07 b78e95d17946: Waiting 20:35:07 9e70ebbbe112: Verifying Checksum 20:35:07 9e70ebbbe112: Download complete 20:35:07 ea3f2d53f512: Verifying Checksum 20:35:07 ea3f2d53f512: Download complete 20:35:07 72dc09318566: Verifying Checksum 20:35:07 72dc09318566: Download complete 20:35:07 f4f7b4309257: Verifying Checksum 20:35:07 f4f7b4309257: Download complete 20:35:07 0ac9a79272e3: Download complete 20:35:07 552d1f2373af: Verifying Checksum 20:35:07 552d1f2373af: Download complete 20:35:08 552d1f2373af: Pull complete 20:35:09 ea3f2d53f512: Pull complete 20:35:09 9e70ebbbe112: Pull complete 20:35:09 b78e95d17946: Verifying Checksum 20:35:09 b78e95d17946: Download complete 20:35:10 7a9cfe048b4a: Verifying Checksum 20:35:10 7a9cfe048b4a: Download complete 20:35:20 7a9cfe048b4a: Pull complete 20:35:20 72dc09318566: Pull complete 20:35:20 f4f7b4309257: Pull complete 20:35:20 0ac9a79272e3: Pull complete 20:35:25 b78e95d17946: Pull complete 20:35:25 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 20:35:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:35:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 20:35:26 + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:35:26 WORKDIR /edgex 20:35:26 COPY go.mod . 20:35:26 RUN go mod download -t 20:35:26 ci-base-image-arm64 -f - . 20:35:28 Sending build context to Docker daemon 168.6MB 20:35:28 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:35:28 ---> 8b459fc5aaf0 20:35:28 Step 2/4 : WORKDIR /edgex 20:35:30 ---> Running in 9d5768cdb112 20:35:31 Removing intermediate container 9d5768cdb112 20:35:31 ---> 4a68448178fb 20:35:31 Step 3/4 : COPY go.mod . 20:35:31 ---> 1fd47b184a80 20:35:31 Step 4/4 : RUN go mod download 20:35:31 ---> Running in ddea1353955d 20:36:53 Removing intermediate container ddea1353955d 20:36:53 ---> 74f7add047b8 20:36:53 Successfully built 74f7add047b8 20:36:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:36:53 + docker inspect -f . ci-base-image-arm64 20:36:53 . [Pipeline] withDockerContainer 20:36:53 prd-ubuntu18.04-docker-arm64-4c-16g-1371 does not seem to be running inside a container 20:36:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:36:55 $ docker top ddcf09a66b58f8803ee52b3fc8c163ee5b6a8bf1c6cbadd63d5f67df443fd215 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:56 + go version 20:36:56 go version go1.16.8 linux/arm64 [Pipeline] } 20:36:56 $ docker stop --time=1 ddcf09a66b58f8803ee52b3fc8c163ee5b6a8bf1c6cbadd63d5f67df443fd215 20:36:57 $ docker rm -f ddcf09a66b58f8803ee52b3fc8c163ee5b6a8bf1c6cbadd63d5f67df443fd215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:36:58 + docker inspect -f . ci-base-image-arm64 20:36:58 . [Pipeline] withDockerContainer 20:36:58 prd-ubuntu18.04-docker-arm64-4c-16g-1371 does not seem to be running inside a container 20:36:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:37:00 $ docker top d27f60d757247bf54f023aaf58d5329fed694408bf2dede17d36776e3067c653 -eo pid,comm [Pipeline] { [Pipeline] echo 20:37:00 ========================================================= 20:37:00 [edgeXBuildGoParallel] Running Tests and Build... 20:37:00 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:37:00 + make test 20:37:00 go mod tidy 20:37:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:37:33 ? github.com/edgexfoundry/edgex-go [no test files] 20:38:55 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:39:03 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:39:03 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:39:16 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:39:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:39:17 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:39:17 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:39:17 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:39:25 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.205s coverage: 28.7% of statements 20:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:39:25 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:39:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.403s coverage: 98.5% of statements 20:39:29 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:39:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.518s coverage: 44.7% of statements 20:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:39:30 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:39:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.764s coverage: 89.5% of statements 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:39:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.253s coverage: 84.4% of statements 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:39:32 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.757s coverage: 94.2% of statements 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/io 0.229s coverage: 59.1% of statements 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.242s coverage: 60.0% of statements 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.351s coverage: 0.9% of statements 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.170s coverage: 58.8% of statements 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.210s coverage: 21.7% of statements 20:39:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.323s coverage: 47.1% of statements 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.367s coverage: 79.5% of statements 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.218s coverage: 94.1% of statements 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.244s coverage: 96.3% of statements 20:39:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.233s coverage: 87.5% of statements 20:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.223s coverage: 94.4% of statements 20:39:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.175s coverage: 44.8% of statements 20:40:04 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.673s coverage: 82.5% of statements 20:40:04 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.283s coverage: 92.9% of statements 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.184s coverage: 100.0% of statements 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.284s coverage: 58.8% of statements 20:40:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.301s coverage: 80.0% of statements 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.261s coverage: 87.2% of statements 20:40:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.294s coverage: 85.4% of statements 20:40:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.929s coverage: 91.2% of statements 20:40:11 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.886s coverage: 64.4% of statements 20:40:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:40:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.250s coverage: 100.0% of statements 20:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.102s coverage: 89.4% of statements 20:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.048s coverage: 100.0% of statements 20:40:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.074s coverage: 73.7% of statements 20:40:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.105s coverage: 100.0% of statements 20:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.355s coverage: 65.4% of statements 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.867s coverage: 43.8% of statements 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.284s coverage: 89.5% of statements 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.263s coverage: 84.8% of statements 20:40:22 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.345s coverage: 17.7% of statements 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.681s coverage: 92.3% of statements 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.287s coverage: 63.2% of statements 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.449s coverage: 97.7% of statements 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.205s coverage: 28.9% of statements 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:40:32 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.207s coverage: 100.0% of statements 20:40:32 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 96.9% of statements 20:40:32 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 20:40:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:40:32 GO111MODULE=on go vet ./... 20:42:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:24 ./internal/core/command/prometheus.go 20:42:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:24 make: *** [Makefile:111: test] Error 1 [Pipeline] } 20:42:24 $ docker stop --time=1 d27f60d757247bf54f023aaf58d5329fed694408bf2dede17d36776e3067c653 20:42:26 $ docker rm -f d27f60d757247bf54f023aaf58d5329fed694408bf2dede17d36776e3067c653 [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 20:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:28 20:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:29 arm64: Pulling from edgex-lftools-log-publisher 20:42:29 448f6bf000e3: Pulling fs layer 20:42:29 f757da607395: Pulling fs layer 20:42:29 05883995daec: Pulling fs layer 20:42:29 8603b9c90790: Pulling fs layer 20:42:29 1560dd03e051: Pulling fs layer 20:42:29 27f5ce0e4adf: Pulling fs layer 20:42:29 c2d8d7efcc4b: Pulling fs layer 20:42:29 27f5ce0e4adf: Waiting 20:42:29 c2d8d7efcc4b: Waiting 20:42:29 8603b9c90790: Waiting 20:42:29 1560dd03e051: Waiting 20:42:29 f757da607395: Verifying Checksum 20:42:29 f757da607395: Download complete 20:42:29 8603b9c90790: Verifying Checksum 20:42:29 8603b9c90790: Download complete 20:42:29 1560dd03e051: Verifying Checksum 20:42:29 1560dd03e051: Download complete 20:42:29 27f5ce0e4adf: Verifying Checksum 20:42:29 27f5ce0e4adf: Download complete 20:42:29 05883995daec: Verifying Checksum 20:42:29 05883995daec: Download complete 20:42:29 448f6bf000e3: Verifying Checksum 20:42:29 448f6bf000e3: Download complete 20:42:32 c2d8d7efcc4b: Verifying Checksum 20:42:32 c2d8d7efcc4b: Download complete 20:42:33 448f6bf000e3: Pull complete 20:42:34 f757da607395: Pull complete 20:42:35 05883995daec: Pull complete 20:42:36 8603b9c90790: Pull complete 20:42:37 1560dd03e051: Pull complete 20:42:37 27f5ce0e4adf: Pull complete 20:42:52 c2d8d7efcc4b: Pull complete 20:42:52 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:42:52 prd-ubuntu18.04-docker-arm64-4c-16g-1371 does not seem to be running inside a container 20:42:52 $ 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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:42:55 $ docker top fdd20c4b85c06c8db6debe0c46e7534b3ca00e8a0d23f6c36bfad0d2efa90469 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:56 ---> job-cost.sh 20:42:56 lf-activate-venv: SKIPPING 20:42:56 INFO: No Stack... 20:42:57 INFO: Retrieving Pricing Info for: v3-standard-4 20:42:57 INFO: Archiving Costs [Pipeline] sh 20:42:58 + cat /w/workspace/edgex-go/9/archives/cost.csv 20:42:58 + cut -d, -f6 [Pipeline] lock 20:42:58 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-9-stack-cost] 20:42:58 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-9-stack-cost] did not exist. Created. 20:42:58 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:42:59 Stashed 1 file(s) [Pipeline] } 20:42:59 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-9-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:59 $ docker stop --time=1 fdd20c4b85c06c8db6debe0c46e7534b3ca00e8a0d23f6c36bfad0d2efa90469 20:43:01 $ docker rm -f fdd20c4b85c06c8db6debe0c46e7534b3ca00e8a0d23f6c36bfad0d2efa90469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:01 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 20:43:02 + '[' -d /w/workspace/edgex-go/9/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:43:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:03 ---> package-listing.sh 20:43:03 ++ tr '[:upper:]' '[:lower:]' 20:43:03 ++ facter osfamily 20:43:03 + OS_FAMILY=redhat 20:43:03 + workspace=/w/workspace/edgex-go/9 20:43:03 + START_PACKAGES=/tmp/packages_start.txt 20:43:03 + END_PACKAGES=/tmp/packages_end.txt 20:43:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:03 + PACKAGES=/tmp/packages_start.txt 20:43:03 + '[' /w/workspace/edgex-go/9 ']' 20:43:03 + PACKAGES=/tmp/packages_end.txt 20:43:03 + case "${OS_FAMILY}" in 20:43:03 + rpm -qa 20:43:03 + sort 20:43:04 + '[' -f /tmp/packages_start.txt ']' 20:43:04 + '[' -f /tmp/packages_end.txt ']' 20:43:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:04 + '[' /w/workspace/edgex-go/9 ']' 20:43:04 + mkdir -p /w/workspace/edgex-go/9/archives/ 20:43:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/9/archives/ [Pipeline] echo 20:43:04 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/9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:43:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:43:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:05 20:43:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:43:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:05 latest: Pulling from edgex-lftools-log-publisher 20:43:05 b4d181a07f80: Pulling fs layer 20:43:05 a1111a8f2ec3: Pulling fs layer 20:43:05 ed53099fbce6: Pulling fs layer 20:43:05 dc539afda2c1: Pulling fs layer 20:43:05 77bc0d833cb6: Pulling fs layer 20:43:05 9065ff56babe: Pulling fs layer 20:43:05 d287ab97295c: Pulling fs layer 20:43:05 dc539afda2c1: Waiting 20:43:05 77bc0d833cb6: Waiting 20:43:05 d287ab97295c: Waiting 20:43:05 9065ff56babe: Waiting 20:43:05 a1111a8f2ec3: Verifying Checksum 20:43:05 a1111a8f2ec3: Download complete 20:43:05 dc539afda2c1: Verifying Checksum 20:43:05 dc539afda2c1: Download complete 20:43:05 ed53099fbce6: Verifying Checksum 20:43:05 ed53099fbce6: Download complete 20:43:05 9065ff56babe: Verifying Checksum 20:43:05 9065ff56babe: Download complete 20:43:05 77bc0d833cb6: Verifying Checksum 20:43:05 77bc0d833cb6: Download complete 20:43:05 b4d181a07f80: Verifying Checksum 20:43:05 b4d181a07f80: Download complete 20:43:06 d287ab97295c: Verifying Checksum 20:43:06 d287ab97295c: Download complete 20:43:07 b4d181a07f80: Pull complete 20:43:07 a1111a8f2ec3: Pull complete 20:43:07 ed53099fbce6: Pull complete 20:43:07 dc539afda2c1: Pull complete 20:43:07 77bc0d833cb6: Pull complete 20:43:07 9065ff56babe: Pull complete 20:43:13 d287ab97295c: Pull complete 20:43:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:43:13 prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container 20:43:13 $ 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/9/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/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:16 $ docker top 1d2b7bbba65165e9e4aca5d1d34050b3da34d06fec32caba3fe9f0e76444bc1d -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:16 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:17 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:17 + ls /var/log/sa-host 20:43:17 + sadf -c /var/log/sa-host/sa12 20:43:17 file_magic: OK 20:43:17 HZ: Using current value: 100 20:43:17 file_header: OK 20:43:17 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 20:43:17 Statistics: 20:43:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:43:17 File successfully converted to sysstat format version 12.0.3 20:43:17 + sadf -c /var/log/sa-host/sa17 20:43:17 file_magic: OK 20:43:17 HZ: Using current value: 100 20:43:17 file_header: OK 20:43:17 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 20:43:17 Statistics: 20:43:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:43:17 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:17 provisioning config files... 20:43:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/9@tmp/config4149354601298771133tmp [Pipeline] { [Pipeline] echo 20:43:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:17 ---> create-netrc.sh [Pipeline] } 20:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:18 ---> python-tools-install.sh [Pipeline] echo 20:43:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:18 ---> sudo-logs.sh 20:43:18 Archiving 'sudo' log.. 20:43:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-1368.novalocal: Name or service not known 20:43:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-1368.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:43:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:18 ---> job-cost.sh 20:43:18 lf-activate-venv: SKIPPING 20:43:18 DEBUG: total: 0.10999999940395355 20:43:18 INFO: Retrieving Stack Cost... 20:43:19 INFO: Retrieving Pricing Info for: v3-standard-2 20:43:19 INFO: Archiving Costs [Pipeline] echo 20:43:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:20 ---> logs-deploy.sh 20:43:20 lf-activate-venv: SKIPPING 20:43:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/9 20:43:20 INFO: archiving workspace using pattern(s): 20:43:21 Archives upload complete. 20:43:21 INFO: archiving logs to Nexus