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 76a2231e8148cb604158a0f3c13d077a257babdb rather than 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 Obtained Jenkinsfile from 76a2231e8148cb604158a0f3c13d077a257babdb 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-ssh9372537860252999583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh841838516308733533.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh14324479916109097081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh13126684593479464736.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-ssh5417080452036087362.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.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1517 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/10 [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/10 # 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/10@tmp/jenkins-gitclient-ssh1076660678406040231.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 76a2231e8148cb604158a0f3c13d077a257babdb into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 > 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/10@tmp/jenkins-gitclient-ssh2253701594858996776.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 Merge succeeded, producing c68033d4455690080235369fe019edbd1e486d92 Checking out Revision c68033d4455690080235369fe019edbd1e486d92 (PR-3842) > 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/10@tmp/jenkins-gitclient-ssh3566618404140624577.key > git merge 76a2231e8148cb604158a0f3c13d077a257babdb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c68033d4455690080235369fe019edbd1e486d92 # timeout=10 Commit message: "Merge commit '76a2231e8148cb604158a0f3c13d077a257babdb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:23 ========================================================= 20:29:23 EdgeX Global Pipelines Version Info 20:29:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3602c753060db3bf3b2ae8a30b587da7ea9b0d16 # timeout=10 20:29:24 ------------------- 20:29:24 stable info: 20:29:24 ------------------- 20:29:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:24 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:29:24 Message: update stable to v1.0.219 20:29:25 ------------------- 20:29:25 experimental info: 20:29:25 ------------------- 20:29:25 Commited By: **** collab-it+edgex@linuxfoundation.org 20:29:25 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:29:25 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c68033d4455690080235369fe019edbd1e486d92 [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c68033d [Pipeline] echo 20:29:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:26 provisioning config files... 20:29:26 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config2006016016032623946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:26 ---> docker-login.sh 20:29:26 nexus3.edgexfoundry.org:10001 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10002 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10003 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10004 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 docker.io 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:27 Configure a credential helper to remove this warning. See 20:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:27 20:29:27 Login Succeeded 20:29:27 ---> docker-login.sh ends [Pipeline] } 20:29:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:27 ++ 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:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ cut -d/ -f2 20:29:27 ++ dirname cmd/core-command/Dockerfile 20:29:27 + echo core-command,cmd/core-command/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/core-data/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo core-data,cmd/core-data/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/core-metadata/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo core-metadata,cmd/core-metadata/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/security-bootstrapper/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/security-proxy-setup/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/security-secretstore-setup/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/support-notifications/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo support-notifications,cmd/support-notifications/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/support-scheduler/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:29:27 + for file in '`ls cmd/**/Dockerfile`' 20:29:27 ++ dirname cmd/sys-mgmt-agent/Dockerfile 20:29:27 ++ cut -d/ -f2 20:29:27 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:29:27 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:29:27 + git rev-list -1 --merges c68033d4455690080235369fe019edbd1e486d92~1..c68033d4455690080235369fe019edbd1e486d92 [Pipeline] echo 20:29:27 -----------> git rev-list -1 --merges c68033d4455690080235369fe019edbd1e486d92~1..c68033d4455690080235369fe019edbd1e486d92 c68033d4455690080235369fe019edbd1e486d92 20:29:27 c68033d4455690080235369fe019edbd1e486d92 [false] [Pipeline] sh 20:29:28 + git log --format=format:%s -1 c68033d4455690080235369fe019edbd1e486d92 [Pipeline] echo 20:29:28 ========================================================= 20:29:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:29:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:29:28 + grep -v github /etc/ssh/ssh_known_hosts 20:29:28 + '[' -e /tmp/ssh_known_hosts ']' 20:29:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:29:28 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:29 20:29:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:29:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:29 latest: Pulling from edgex-devops/git-semver 20:29:29 a0d0a0d46f8b: Pulling fs layer 20:29:29 3e5f54012d9b: Pulling fs layer 20:29:29 4c7163046ea9: Pulling fs layer 20:29:29 0c2d73faf560: Pulling fs layer 20:29:29 0c2d73faf560: Waiting 20:29:29 3e5f54012d9b: Verifying Checksum 20:29:29 3e5f54012d9b: Download complete 20:29:29 a0d0a0d46f8b: Verifying Checksum 20:29:29 a0d0a0d46f8b: Download complete 20:29:29 4c7163046ea9: Verifying Checksum 20:29:29 4c7163046ea9: Download complete 20:29:29 0c2d73faf560: Verifying Checksum 20:29:29 0c2d73faf560: Download complete 20:29:29 a0d0a0d46f8b: Pull complete 20:29:29 3e5f54012d9b: Pull complete 20:29:30 4c7163046ea9: Pull complete 20:29:30 0c2d73faf560: Pull complete 20:29:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:29:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:29:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:29:30 prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container 20:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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:29:31 $ docker top a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:31 [ssh-agent] Looking for ssh-agent implementation... 20:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:31 $ docker exec a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f ssh-agent 20:29:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmMAphh/agent.14 20:29:31 SSH_AGENT_PID=20 20:29:31 Running ssh-add (command line suppressed) 20:29:31 Identity added: /w/workspace/edgex-go/10@tmp/private_key_6389174567531389583.key (/w/workspace/edgex-go/10@tmp/private_key_6389174567531389583.key) 20:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:31 + git tag --points-at HEAD [Pipeline] } 20:29:31 $ docker exec --env ******** --env ******** a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f ssh-agent -k 20:29:31 unset SSH_AUTH_SOCK; 20:29:31 unset SSH_AGENT_PID; 20:29:31 echo Agent pid 20 killed; 20:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:31 [ssh-agent] Looking for ssh-agent implementation... 20:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:31 $ docker exec a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f ssh-agent 20:29:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcfanoM/agent.54 20:29:32 SSH_AGENT_PID=60 20:29:32 Running ssh-add (command line suppressed) 20:29:32 Identity added: /w/workspace/edgex-go/10@tmp/private_key_8173236734966690384.key (/w/workspace/edgex-go/10@tmp/private_key_8173236734966690384.key) 20:29:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:32 + git semver init 20:29:32 # -> Open(): unable to determine branch for HEAD 20:29:32 # $GIT_DIR = /w/workspace/edgex-go/10/.git 20:29:32 # $GIT_WORK_TREE = /w/workspace/edgex-go/10 20:29:32 # $SEMVER_REMOTE_NAME = origin 20:29:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:29:32 # $SEMVER_USER_NAME = edgex-jenkins 20:29:32 # $SEMVER_BRANCH = PR-3842 20:29:32 # $SEMVER_TEMP = /tmp/semver-170450680 20:29:32 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:29:44 # '/tmp/semver-170450680' -> '/w/workspace/edgex-go/10/.semver' 20:29:44 # -> Force: false 20:29:44 # $SEMVER_DIR = /w/workspace/edgex-go/10/.semver [Pipeline] } 20:29:44 $ docker exec --env ******** --env ******** a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f ssh-agent -k 20:29:45 unset SSH_AUTH_SOCK; 20:29:45 unset SSH_AGENT_PID; 20:29:45 echo Agent pid 60 killed; 20:29:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:45 + git semver [Pipeline] } 20:29:45 $ docker stop --time=1 a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f 20:29:47 $ docker rm -f a4926e8b7bf7b8075f99a29d37b808e6a4b3a578711b43bc3b12768fd86d340f [Pipeline] // withDockerContainer [Pipeline] sh 20:29:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:48 Stashed 1 file(s) [Pipeline] echo 20:29:48 [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:29:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:48 ========================================================= 20:29:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:29:48 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:29:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:48 59bf1c3509f3: Pulling fs layer 20:29:48 666ba61612fd: Pulling fs layer 20:29:48 8ed8ca486205: Pulling fs layer 20:29:48 4fe6c5a15a65: Pulling fs layer 20:29:48 22a0e8bec74d: Pulling fs layer 20:29:48 f965cba54748: Pulling fs layer 20:29:48 861ffc35075e: Pulling fs layer 20:29:48 4b385c91608e: Pulling fs layer 20:29:48 560528eb2ebb: Pulling fs layer 20:29:48 4fe6c5a15a65: Waiting 20:29:48 22a0e8bec74d: Waiting 20:29:48 f965cba54748: Waiting 20:29:48 861ffc35075e: Waiting 20:29:48 4b385c91608e: Waiting 20:29:48 560528eb2ebb: Waiting 20:29:48 8ed8ca486205: Verifying Checksum 20:29:48 8ed8ca486205: Download complete 20:29:48 666ba61612fd: Verifying Checksum 20:29:48 666ba61612fd: Download complete 20:29:48 22a0e8bec74d: Verifying Checksum 20:29:48 22a0e8bec74d: Download complete 20:29:48 f965cba54748: Verifying Checksum 20:29:48 f965cba54748: Download complete 20:29:48 59bf1c3509f3: Verifying Checksum 20:29:48 59bf1c3509f3: Download complete 20:29:48 861ffc35075e: Verifying Checksum 20:29:48 861ffc35075e: Download complete 20:29:48 4b385c91608e: Verifying Checksum 20:29:48 4b385c91608e: Download complete 20:29:48 59bf1c3509f3: Pull complete 20:29:49 4fe6c5a15a65: Verifying Checksum 20:29:49 4fe6c5a15a65: Download complete 20:29:49 666ba61612fd: Pull complete 20:29:49 560528eb2ebb: Verifying Checksum 20:29:49 560528eb2ebb: Download complete 20:29:49 8ed8ca486205: Pull complete 20:29:53 4fe6c5a15a65: Pull complete 20:29:53 22a0e8bec74d: Pull complete 20:29:53 f965cba54748: Pull complete 20:29:53 861ffc35075e: Pull complete 20:29:53 4b385c91608e: Pull complete 20:29:55 560528eb2ebb: Pull complete 20:29:55 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:29:55 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:55 WORKDIR /edgex 20:29:55 COPY go.mod . 20:29:55 RUN go mod download' 20:29:55 + docker build -t ci-base-image-x86_64 -f - . 20:29:57 Sending build context to Docker daemon 333.8MB 20:29:57 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:29:57 ---> dd4a08f94e63 20:29:57 Step 2/4 : WORKDIR /edgex 20:29:59 ---> Running in 655346f07ea5 20:29:59 Removing intermediate container 655346f07ea5 20:29:59 ---> a94daa51da46 20:29:59 Step 3/4 : COPY go.mod . 20:29:59 ---> 81512039a3ba 20:29:59 Step 4/4 : RUN go mod download 20:29:59 ---> Running in c342cb6204ff 20:30:03 Still waiting to schedule task 20:30:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:30:31 Removing intermediate container c342cb6204ff 20:30:31 ---> 63c57438bcf4 20:30:31 Successfully built 63c57438bcf4 20:30:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:30:32 + docker inspect -f . ci-base-image-x86_64 20:30:32 . [Pipeline] withDockerContainer 20:30:32 prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container 20:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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:30:32 $ docker top 59353204cb8352b8d3b0a1ea5b7bb7f742d1602124d3d4ad5f9a56e0fdf7aee5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:32 + go version 20:30:32 go version go1.17.6 linux/amd64 [Pipeline] } 20:30:32 $ docker stop --time=1 59353204cb8352b8d3b0a1ea5b7bb7f742d1602124d3d4ad5f9a56e0fdf7aee5 20:30:34 $ docker rm -f 59353204cb8352b8d3b0a1ea5b7bb7f742d1602124d3d4ad5f9a56e0fdf7aee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:30:34 + docker inspect -f . ci-base-image-x86_64 20:30:34 . [Pipeline] withDockerContainer 20:30:34 prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container 20:30:34 $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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:30:35 $ docker top fdf091d714387fc7ab72e69ec853c877b3977a09f26480ca08dc0d7ab7b1fefd -eo pid,comm [Pipeline] { [Pipeline] echo 20:30:35 ========================================================= 20:30:35 [edgeXBuildGoParallel] Running Tests and Build... 20:30:35 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:30:35 + make test 20:30:35 go mod tidy 20:30:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:30:42 ? github.com/edgexfoundry/edgex-go [no test files] 20:31:04 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:31:09 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:31:09 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:31:10 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:31:12 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:31:12 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:31:12 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:31:12 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:31:13 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:31:15 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.031s coverage: 28.7% of statements 20:31:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:31:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.063s coverage: 98.5% of statements 20:31:16 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:31:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.056s coverage: 44.7% of statements 20:31:16 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:31:16 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:31:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.112s coverage: 89.5% of statements 20:31:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:31:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:31:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.045s coverage: 84.4% of statements 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:31:18 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.280s coverage: 94.2% of statements 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:31:18 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:31:19 ok github.com/edgexfoundry/edgex-go/internal/io 0.044s coverage: 59.1% of statements 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:31:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.047s coverage: 60.0% of statements 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:31:19 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.044s coverage: 0.9% of statements 20:31:20 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.070s coverage: 58.8% of statements 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 21.7% of statements 20:31:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.043s coverage: 79.5% of statements 20:31:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.043s coverage: 94.1% of statements 20:31:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.073s coverage: 96.3% of statements 20:31:21 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements 20:31:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1520 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 20:31:26 Running in /w/workspace/edgex-go/10 [Pipeline] { [Pipeline] checkout 20:31:26 The recommended git tool is: git 20:31:30 using credential edgex-jenkins-ssh 20:31:30 Cloning the remote Git repository 20:31:30 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:31:31 > git init /w/workspace/edgex-go/10 # timeout=10 20:31:31 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:31:31 > git --version # timeout=10 20:31:31 > git --version # 'git version 2.17.1' 20:31:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.066s coverage: 94.4% of statements 20:31:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements 20:31:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.188s coverage: 82.5% of statements 20:31:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:31:48 Merging remotes/origin/main commit 76a2231e8148cb604158a0f3c13d077a257babdb into PR head commit 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 20:31:47 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:31:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:47 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:31:47 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:31:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:47 > 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:31:48 > git config core.sparsecheckout # timeout=10 20:31:48 > git checkout -f 4ab70ab1fcd161f8cfc49379d0d2259d7a703d11 # timeout=10 20:31:48 Merge succeeded, producing e025e0071303a325b6ac161af1a3d582d4da0d49 20:31:48 Checking out Revision e025e0071303a325b6ac161af1a3d582d4da0d49 (PR-3842) 20:31:48 > git remote # timeout=10 20:31:48 > git config --get remote.origin.url # timeout=10 20:31:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:48 > git merge 76a2231e8148cb604158a0f3c13d077a257babdb # timeout=10 20:31:48 > git rev-parse HEAD^{commit} # timeout=10 20:31:48 > git config core.sparsecheckout # timeout=10 20:31:48 > git checkout -f e025e0071303a325b6ac161af1a3d582d4da0d49 # timeout=10 20:31:53 Commit message: "Merge commit '76a2231e8148cb604158a0f3c13d077a257babdb' into HEAD" 20:31:53 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:53 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:53 Dload Upload Total Spent Left Speed 20:31:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 59512 0 --:--:-- --:--:-- --:--:-- 59512 [Pipeline] sh 20:31:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:54 + sudo tee /etc/docker/daemon.new 20:31:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:54 { 20:31:54 "registry-mirrors": [ 20:31:54 "https://nexus3.edgexfoundry.org:10001" 20:31:54 ], 20:31:54 "bip": "10.250.0.254/24", 20:31:54 "hosts": [ 20:31:54 "tcp://0.0.0.0:5555", 20:31:54 "unix:///var/run/docker.sock" 20:31:54 ], 20:31:54 "mtu": 1458, 20:31:54 "selinux-enabled": true, 20:31:54 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:54 } [Pipeline] sh 20:31:53 > git rev-list --no-walk 3602c753060db3bf3b2ae8a30b587da7ea9b0d16 # timeout=10 20:31:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:55 + sudo service docker restart 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.072s coverage: 92.9% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.059s coverage: 58.8% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.062s coverage: 80.0% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.053s coverage: 87.2% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.054s coverage: 85.4% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.128s coverage: 91.2% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.124s coverage: 64.4% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.271s coverage: 65.4% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.102s coverage: 43.8% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.044s coverage: 89.5% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:31:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.042s coverage: 84.8% of statements 20:31:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.054s coverage: 17.7% of statements 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.116s coverage: 92.3% of statements 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.090s coverage: 97.7% of statements 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.043s coverage: 28.9% of statements 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:32:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements 20:32:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 20:32:03 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:13 provisioning config files... 20:32:13 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/10@tmp/config5425172790991809038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:14 ---> docker-login.sh 20:32:14 nexus3.edgexfoundry.org:10001 20:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:14 Configure a credential helper to remove this warning. See 20:32:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:14 20:32:14 Login Succeeded 20:32:14 nexus3.edgexfoundry.org:10002 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:15 Configure a credential helper to remove this warning. See 20:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:15 20:32:15 Login Succeeded 20:32:15 nexus3.edgexfoundry.org:10003 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:15 Configure a credential helper to remove this warning. See 20:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:15 20:32:15 Login Succeeded 20:32:15 nexus3.edgexfoundry.org:10004 20:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:16 Configure a credential helper to remove this warning. See 20:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:16 20:32:16 Login Succeeded 20:32:16 docker.io 20:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:16 Configure a credential helper to remove this warning. See 20:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:16 20:32:16 Login Succeeded 20:32:16 ---> docker-login.sh ends [Pipeline] } 20:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:17 ========================================================= 20:32:17 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:32:17 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:32:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:32:17 9b3977197b4f: Pulling fs layer 20:32:17 1a89e8eeedd5: Pulling fs layer 20:32:17 94645a83ff95: Pulling fs layer 20:32:17 3f3a8bcf1eab: Pulling fs layer 20:32:17 0c92f367c5e7: Pulling fs layer 20:32:17 4b8299f9d1f4: Pulling fs layer 20:32:17 9a6b49a46696: Pulling fs layer 20:32:17 cf05db05a679: Pulling fs layer 20:32:17 3f3a8bcf1eab: Waiting 20:32:17 0c92f367c5e7: Waiting 20:32:17 4b8299f9d1f4: Waiting 20:32:17 9a6b49a46696: Waiting 20:32:17 cf05db05a679: Waiting 20:32:17 94645a83ff95: Verifying Checksum 20:32:17 94645a83ff95: Download complete 20:32:17 1a89e8eeedd5: Verifying Checksum 20:32:17 1a89e8eeedd5: Download complete 20:32:17 0c92f367c5e7: Verifying Checksum 20:32:17 0c92f367c5e7: Download complete 20:32:17 4b8299f9d1f4: Verifying Checksum 20:32:17 4b8299f9d1f4: Download complete 20:32:17 9b3977197b4f: Verifying Checksum 20:32:17 9a6b49a46696: Verifying Checksum 20:32:17 9a6b49a46696: Download complete 20:32:18 9b3977197b4f: Pull complete 20:32:19 1a89e8eeedd5: Pull complete 20:32:19 94645a83ff95: Pull complete 20:32:19 cf05db05a679: Verifying Checksum 20:32:19 cf05db05a679: Download complete 20:32:20 3f3a8bcf1eab: Verifying Checksum 20:32:20 3f3a8bcf1eab: Download complete 20:32:32 3f3a8bcf1eab: Pull complete 20:32:32 0c92f367c5e7: Pull complete 20:32:32 4b8299f9d1f4: Pull complete 20:32:32 9a6b49a46696: Pull complete 20:32:38 cf05db05a679: Pull complete 20:32:38 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:32:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:32:38 + docker build -t ci-base-image-arm64 -f+ -echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:38 WORKDIR /edgex 20:32:38 COPY go.mod . 20:32:38 RUN go mod download . 20:32:38 20:32:41 Sending build context to Docker daemon 168.6MB 20:32:41 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:32:41 ---> 0ccda1f7e2ee 20:32:41 Step 2/4 : WORKDIR /edgex 20:32:42 GO111MODULE=on go vet ./... 20:32:43 ---> Running in 97b788e82036 20:32:43 Removing intermediate container 97b788e82036 20:32:43 ---> 2fb4b2111744 20:32:43 Step 3/4 : COPY go.mod . 20:32:43 ---> 19b46dfc4de3 20:32:43 Step 4/4 : RUN go mod download 20:32:44 ---> Running in aae9c60c3293 20:32:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:50 ./internal/core/command/prometheus.go 20:32:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:50 make: *** [Makefile:111: test] Error 1 [Pipeline] } 20:32:50 $ docker stop --time=1 fdf091d714387fc7ab72e69ec853c877b3977a09f26480ca08dc0d7ab7b1fefd 20:32:52 $ docker rm -f fdf091d714387fc7ab72e69ec853c877b3977a09f26480ca08dc0d7ab7b1fefd [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:32:52 Failed in branch amd64 20:34:05 Removing intermediate container aae9c60c3293 20:34:05 ---> 7977c24ca86f 20:34:05 Successfully built 7977c24ca86f 20:34:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:34:06 + docker inspect -f . ci-base-image-arm64 20:34:06 . [Pipeline] withDockerContainer 20:34:06 prd-ubuntu18.04-docker-arm64-4c-16g-1520 does not seem to be running inside a container 20:34:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:34:08 $ docker top 6f5c5d77104cd39810fcfe6dfa87718561a945d6be3c14080805f0bf8e31bef0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:08 + go version 20:34:08 go version go1.17.6 linux/arm64 [Pipeline] } 20:34:08 $ docker stop --time=1 6f5c5d77104cd39810fcfe6dfa87718561a945d6be3c14080805f0bf8e31bef0 20:34:10 $ docker rm -f 6f5c5d77104cd39810fcfe6dfa87718561a945d6be3c14080805f0bf8e31bef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:34:11 + docker inspect -f . ci-base-image-arm64 20:34:11 . [Pipeline] withDockerContainer 20:34:11 prd-ubuntu18.04-docker-arm64-4c-16g-1520 does not seem to be running inside a container 20:34:11 $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:34:12 $ docker top 2e8018b4cd64e23604f97379d4e3fb68e98425a979d575c12a3a4ca82fcfb9b3 -eo pid,comm [Pipeline] { [Pipeline] echo 20:34:13 ========================================================= 20:34:13 [edgeXBuildGoParallel] Running Tests and Build... 20:34:13 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:34:13 + make test 20:34:13 go mod tidy 20:34:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:34:47 ? github.com/edgexfoundry/edgex-go [no test files] 20:36:08 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:36:11 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:36:11 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:36:11 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:36:19 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:36:19 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:36:19 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:36:19 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:36:19 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 20:36:20 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 20:36:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 20:36:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 20:36:20 ? github.com/edgexfoundry/edgex-go/internal [no test files] 20:36:20 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 20:36:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.187s coverage: 28.7% of statements 20:36:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 20:36:28 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 20:36:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.364s coverage: 98.5% of statements 20:36:34 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 20:36:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.361s coverage: 44.7% of statements 20:36:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 20:36:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 20:36:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.647s coverage: 89.5% of statements 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 20:36:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.250s coverage: 84.4% of statements 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 20:36:36 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.660s coverage: 94.2% of statements 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/io 0.217s coverage: 59.1% of statements 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.184s coverage: 60.0% of statements 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.410s coverage: 0.9% of statements 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.171s coverage: 58.8% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.201s coverage: 21.7% of statements 20:36:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.195s coverage: 47.1% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.196s coverage: 79.5% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.215s coverage: 94.1% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.247s coverage: 96.3% of statements 20:36:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.196s coverage: 87.5% of statements 20:36:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.261s coverage: 94.4% of statements 20:36:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.206s coverage: 44.8% of statements 20:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.657s coverage: 82.5% of statements 20:37:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.313s coverage: 92.9% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.181s coverage: 87.2% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.170s coverage: 100.0% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.264s coverage: 58.8% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.292s coverage: 80.0% of statements 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.249s coverage: 87.2% of statements 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.260s coverage: 85.4% of statements 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.762s coverage: 91.2% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.006s coverage: 64.4% of statements 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 20:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.180s coverage: 100.0% of statements 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.087s coverage: 89.4% of statements 20:37:12 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.075s coverage: 100.0% of statements 20:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.084s coverage: 73.7% of statements 20:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.095s coverage: 100.0% of statements 20:37:18 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.394s coverage: 65.4% of statements 20:37:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 20:37:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 20:37:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 20:37:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.789s coverage: 43.8% of statements 20:37:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 20:37:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 20:37:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.227s coverage: 89.5% of statements 20:37:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 20:37:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.198s coverage: 84.8% of statements 20:37:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.301s coverage: 17.7% of statements 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.624s coverage: 92.3% of statements 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.293s coverage: 63.2% of statements 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.421s coverage: 97.7% of statements 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.188s coverage: 28.9% of statements 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 20:37:28 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.186s coverage: 100.0% of statements 20:37:28 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements 20:37:29 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:37:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:37:29 GO111MODULE=on go vet ./... 20:39:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:39:05 ./internal/core/command/prometheus.go 20:39:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:39:05 make: *** [Makefile:111: test] Error 1 [Pipeline] } 20:39:06 $ docker stop --time=1 2e8018b4cd64e23604f97379d4e3fb68e98425a979d575c12a3a4ca82fcfb9b3 20:39:08 $ docker rm -f 2e8018b4cd64e23604f97379d4e3fb68e98425a979d575c12a3a4ca82fcfb9b3 [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:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:09 20:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:39:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:10 arm64: Pulling from edgex-lftools-log-publisher 20:39:10 448f6bf000e3: Pulling fs layer 20:39:10 f757da607395: Pulling fs layer 20:39:10 05883995daec: Pulling fs layer 20:39:10 8603b9c90790: Pulling fs layer 20:39:10 1560dd03e051: Pulling fs layer 20:39:10 27f5ce0e4adf: Pulling fs layer 20:39:10 c2d8d7efcc4b: Pulling fs layer 20:39:10 8603b9c90790: Waiting 20:39:10 1560dd03e051: Waiting 20:39:10 27f5ce0e4adf: Waiting 20:39:10 c2d8d7efcc4b: Waiting 20:39:10 f757da607395: Verifying Checksum 20:39:10 f757da607395: Download complete 20:39:10 8603b9c90790: Verifying Checksum 20:39:10 8603b9c90790: Download complete 20:39:10 1560dd03e051: Verifying Checksum 20:39:10 1560dd03e051: Download complete 20:39:10 27f5ce0e4adf: Verifying Checksum 20:39:10 27f5ce0e4adf: Download complete 20:39:10 05883995daec: Verifying Checksum 20:39:10 05883995daec: Download complete 20:39:10 448f6bf000e3: Verifying Checksum 20:39:10 448f6bf000e3: Download complete 20:39:13 c2d8d7efcc4b: Verifying Checksum 20:39:13 c2d8d7efcc4b: Download complete 20:39:14 448f6bf000e3: Pull complete 20:39:15 f757da607395: Pull complete 20:39:16 05883995daec: Pull complete 20:39:16 8603b9c90790: Pull complete 20:39:17 1560dd03e051: Pull complete 20:39:18 27f5ce0e4adf: Pull complete 20:39:33 c2d8d7efcc4b: Pull complete 20:39:33 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:39:33 prd-ubuntu18.04-docker-arm64-4c-16g-1520 does not seem to be running inside a container 20:39:33 $ 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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:39:36 $ docker top bec173eee0fa73765c3fbcd4fc5dbafb6026ad896e6d4aea0bff4f649bf79df1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:37 ---> job-cost.sh 20:39:37 lf-activate-venv: SKIPPING 20:39:37 INFO: No Stack... 20:39:37 INFO: Retrieving Pricing Info for: v3-standard-4 20:39:38 INFO: Archiving Costs [Pipeline] sh 20:39:39 + cat /w/workspace/edgex-go/10/archives/cost.csv 20:39:39 + cut -d, -f6 [Pipeline] lock 20:39:39 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-10-stack-cost] 20:39:39 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-10-stack-cost] did not exist. Created. 20:39:39 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:39 + echo total: 0.10999999940395355 [Pipeline] stash 20:39:40 Stashed 1 file(s) [Pipeline] } 20:39:40 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-10-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:40 $ docker stop --time=1 bec173eee0fa73765c3fbcd4fc5dbafb6026ad896e6d4aea0bff4f649bf79df1 20:39:42 $ docker rm -f bec173eee0fa73765c3fbcd4fc5dbafb6026ad896e6d4aea0bff4f649bf79df1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:39:42 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:39:43 + '[' -d /w/workspace/edgex-go/10/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:39:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:39:44 ---> package-listing.sh 20:39:44 ++ facter osfamily 20:39:44 ++ tr '[:upper:]' '[:lower:]' 20:39:44 + OS_FAMILY=redhat 20:39:44 + workspace=/w/workspace/edgex-go/10 20:39:44 + START_PACKAGES=/tmp/packages_start.txt 20:39:44 + END_PACKAGES=/tmp/packages_end.txt 20:39:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:39:44 + PACKAGES=/tmp/packages_start.txt 20:39:44 + '[' /w/workspace/edgex-go/10 ']' 20:39:44 + PACKAGES=/tmp/packages_end.txt 20:39:44 + case "${OS_FAMILY}" in 20:39:44 + sort 20:39:44 + rpm -qa 20:39:45 + '[' -f /tmp/packages_start.txt ']' 20:39:45 + '[' -f /tmp/packages_end.txt ']' 20:39:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:39:45 + '[' /w/workspace/edgex-go/10 ']' 20:39:45 + mkdir -p /w/workspace/edgex-go/10/archives/ 20:39:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/10/archives/ [Pipeline] echo 20:39:45 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/10/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:39:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:39:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:46 20:39:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:39:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:46 latest: Pulling from edgex-lftools-log-publisher 20:39:46 b4d181a07f80: Pulling fs layer 20:39:46 a1111a8f2ec3: Pulling fs layer 20:39:46 ed53099fbce6: Pulling fs layer 20:39:46 dc539afda2c1: Pulling fs layer 20:39:46 77bc0d833cb6: Pulling fs layer 20:39:46 9065ff56babe: Pulling fs layer 20:39:46 d287ab97295c: Pulling fs layer 20:39:46 77bc0d833cb6: Waiting 20:39:46 9065ff56babe: Waiting 20:39:46 d287ab97295c: Waiting 20:39:46 dc539afda2c1: Waiting 20:39:46 a1111a8f2ec3: Verifying Checksum 20:39:46 a1111a8f2ec3: Download complete 20:39:46 dc539afda2c1: Verifying Checksum 20:39:46 dc539afda2c1: Download complete 20:39:46 ed53099fbce6: Verifying Checksum 20:39:46 ed53099fbce6: Download complete 20:39:46 77bc0d833cb6: Verifying Checksum 20:39:46 77bc0d833cb6: Download complete 20:39:46 9065ff56babe: Verifying Checksum 20:39:46 9065ff56babe: Download complete 20:39:46 b4d181a07f80: Verifying Checksum 20:39:46 b4d181a07f80: Download complete 20:39:47 d287ab97295c: Verifying Checksum 20:39:47 d287ab97295c: Download complete 20:39:48 b4d181a07f80: Pull complete 20:39:48 a1111a8f2ec3: Pull complete 20:39:48 ed53099fbce6: Pull complete 20:39:48 dc539afda2c1: Pull complete 20:39:49 77bc0d833cb6: Pull complete 20:39:49 9065ff56babe: Pull complete 20:39:54 d287ab97295c: Pull complete 20:39:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:39:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:39:54 prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container 20:39:54 $ 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/10/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/10 -v /w/workspace/edgex-go/10:/w/workspace/edgex-go/10:rw,z -v /w/workspace/edgex-go/10@tmp:/w/workspace/edgex-go/10@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:39:56 $ docker top 1f0b3c70ad2bbd2a82888b2b170d25bc9d7af942809d3e57b5ef5b2769c977e7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:57 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:57 + mkdir -p /var/log/sysstat [Pipeline] sh 20:39:57 + ls /var/log/sa-host 20:39:57 + sadf -c /var/log/sa-host/sa14 20:39:57 file_magic: OK 20:39:57 HZ: Using current value: 100 20:39:57 file_header: OK 20:39:57 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:39:57 Statistics: 20:39:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:39:57 File successfully converted to sysstat format version 12.0.3 20:39:57 + sadf -c /var/log/sa-host/sa17 20:39:57 file_magic: OK 20:39:57 HZ: Using current value: 100 20:39:57 file_header: OK 20:39:57 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:39:57 Statistics: 20:39:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:39:57 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:57 provisioning config files... 20:39:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/10@tmp/config6665433092824092513tmp [Pipeline] { [Pipeline] echo 20:39:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:58 ---> create-netrc.sh [Pipeline] } 20:39:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:39:58 ---> python-tools-install.sh [Pipeline] echo 20:39:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:58 ---> sudo-logs.sh 20:39:58 Archiving 'sudo' log.. 20:39:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1517.novalocal: Name or service not known 20:39:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1517.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:39:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:59 ---> job-cost.sh 20:39:59 lf-activate-venv: SKIPPING 20:39:59 DEBUG: total: 0.10999999940395355 20:39:59 INFO: Retrieving Stack Cost... 20:39:59 INFO: Retrieving Pricing Info for: v3-standard-2 20:40:00 INFO: Archiving Costs [Pipeline] echo 20:40:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:40:00 ---> logs-deploy.sh 20:40:00 lf-activate-venv: SKIPPING 20:40:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/10 20:40:00 INFO: archiving workspace using pattern(s): 20:40:00 Archives upload complete. 20:40:01 INFO: archiving logs to Nexus