Pull request #3787 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from fc14d731c3608070744849fe7d3313468b722e19+d325f454062a1ab7df1627f6a73b0f166109ba5b (94b6a9413529079481189019762a81df74ec011f) Running in Durability level: MAX_SURVIVABILITY 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-ssh7788740345815812907.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8335506910720055383.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3787/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3787/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8202252334117661609.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3787/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9219783190462833721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3861028220570844795.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3787/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3787/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6210353076797380104.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2325’ is offline Running on prd-centos7-docker-4c-2g-2326 in /w/workspace/edgexfoundry_edgex-go_PR-3787 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh5786240712775999123.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh8653912368336739129.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3787/head:refs/remotes/origin/PR-3787 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d325f454062a1ab7df1627f6a73b0f166109ba5b into PR head commit fc14d731c3608070744849fe7d3313468b722e19 Merge succeeded, producing fc14d731c3608070744849fe7d3313468b722e19 Checking out Revision fc14d731c3608070744849fe7d3313468b722e19 (PR-3787) > git config core.sparsecheckout # timeout=10 > git checkout -f fc14d731c3608070744849fe7d3313468b722e19 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh779336620649675798.key > git merge d325f454062a1ab7df1627f6a73b0f166109ba5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc14d731c3608070744849fe7d3313468b722e19 # timeout=10 Commit message: "fix: Don't write eKuiper file if file doesn't already exist" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:26:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:26:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:26:22 ========================================================= 19:26:22 EdgeX Global Pipelines Version Info 19:26:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:26:23 ------------------- 19:26:23 stable info: 19:26:23 ------------------- 19:26:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:26:23 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 19:26:23 Message: update stable to v1.0.210 19:26:24 ------------------- 19:26:24 experimental info: 19:26:24 ------------------- 19:26:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:26:24 Commit SHA: 6722a7c1c8ebe94597741d4fbba21f45702e0c7d 19:26:24 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:26:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3787 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3787 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3787 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc14d731c3608070744849fe7d3313468b722e19 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc14d73 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:27 provisioning config files... 19:26:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3838061098075374165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:27 ---> docker-login.sh 19:26:27 nexus3.edgexfoundry.org:10001 19:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:27 Configure a credential helper to remove this warning. See 19:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:27 19:26:27 Login Succeeded 19:26:28 nexus3.edgexfoundry.org:10002 19:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:28 Configure a credential helper to remove this warning. See 19:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:28 19:26:28 Login Succeeded 19:26:28 nexus3.edgexfoundry.org:10003 19:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:28 Configure a credential helper to remove this warning. See 19:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:28 19:26:28 Login Succeeded 19:26:28 nexus3.edgexfoundry.org:10004 19:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:28 Configure a credential helper to remove this warning. See 19:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:28 19:26:28 Login Succeeded 19:26:28 docker.io 19:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:29 Configure a credential helper to remove this warning. See 19:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:29 19:26:29 Login Succeeded 19:26:29 ---> docker-login.sh ends [Pipeline] } 19:26:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:29 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/core-command/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo core-command,cmd/core-command/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/core-data/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo core-data,cmd/core-data/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/core-metadata/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo core-metadata,cmd/core-metadata/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/security-bootstrapper/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/security-proxy-setup/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/security-secretstore-setup/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/support-notifications/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo support-notifications,cmd/support-notifications/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/support-scheduler/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo support-scheduler,cmd/support-scheduler/Dockerfile 19:26:29 + for file in '`ls cmd/**/Dockerfile`' 19:26:29 ++ dirname cmd/sys-mgmt-agent/Dockerfile 19:26:29 ++ cut -d/ -f2 19:26:29 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 19:26:29 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 19:26:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:32 19:26:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:26:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:33 latest: Pulling from edgex-devops/git-semver 19:26:33 a0d0a0d46f8b: Pulling fs layer 19:26:33 3e5f54012d9b: Pulling fs layer 19:26:33 4c7163046ea9: Pulling fs layer 19:26:33 0c2d73faf560: Pulling fs layer 19:26:33 0c2d73faf560: Waiting 19:26:33 3e5f54012d9b: Download complete 19:26:33 a0d0a0d46f8b: Verifying Checksum 19:26:33 a0d0a0d46f8b: Download complete 19:26:33 0c2d73faf560: Verifying Checksum 19:26:33 0c2d73faf560: Download complete 19:26:33 4c7163046ea9: Verifying Checksum 19:26:33 4c7163046ea9: Download complete 19:26:33 a0d0a0d46f8b: Pull complete 19:26:33 3e5f54012d9b: Pull complete 19:26:33 4c7163046ea9: Pull complete 19:26:33 0c2d73faf560: Pull complete 19:26:33 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:26:33 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 19:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:26:34 $ docker top 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:34 [ssh-agent] Looking for ssh-agent implementation... 19:26:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:34 $ docker exec 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b ssh-agent 19:26:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoFBgHc/agent.13 19:26:35 SSH_AGENT_PID=19 19:26:35 Running ssh-add (command line suppressed) 19:26:35 Identity added: /w/workspace/edgex-go/1@tmp/private_key_8172705387289663612.key (/w/workspace/edgex-go/1@tmp/private_key_8172705387289663612.key) 19:26:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:35 + git tag --points-at HEAD [Pipeline] } 19:26:35 $ docker exec --env ******** --env ******** 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b ssh-agent -k 19:26:35 unset SSH_AUTH_SOCK; 19:26:35 unset SSH_AGENT_PID; 19:26:35 echo Agent pid 19 killed; 19:26:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:26:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:35 [ssh-agent] Looking for ssh-agent implementation... 19:26:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:35 $ docker exec 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b ssh-agent 19:26:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNadICa/agent.53 19:26:35 SSH_AGENT_PID=59 19:26:35 Running ssh-add (command line suppressed) 19:26:35 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2778860815473266650.key (/w/workspace/edgex-go/1@tmp/private_key_2778860815473266650.key) 19:26:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:36 + git semver init 19:26:36 # -> Open(): unable to determine branch for HEAD 19:26:36 # $GIT_DIR = /w/workspace/edgex-go/1/.git 19:26:36 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 19:26:36 # $SEMVER_REMOTE_NAME = origin 19:26:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:26:36 # $SEMVER_USER_NAME = edgex-jenkins 19:26:36 # $SEMVER_BRANCH = PR-3787 19:26:36 # $SEMVER_TEMP = /tmp/semver-108262026 19:26:36 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 19:26:48 # '/tmp/semver-108262026' -> '/w/workspace/edgex-go/1/.semver' 19:26:48 # -> Force: false 19:26:48 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 19:26:48 $ docker exec --env ******** --env ******** 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b ssh-agent -k 19:26:48 unset SSH_AUTH_SOCK; 19:26:48 unset SSH_AGENT_PID; 19:26:48 echo Agent pid 59 killed; 19:26:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:49 + git semver [Pipeline] } 19:26:49 $ docker stop --time=1 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b 19:26:51 $ docker rm -f 9f457597b8bf2eadeaba064a8f2971b603dea74bdd4a3eb8f66b38d69fd15a5b [Pipeline] // withDockerContainer [Pipeline] sh 19:26:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:26:52 Stashed 1 file(s) [Pipeline] echo 19:26:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 19:26:53 ========================================================= 19:26:53 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:26:53 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:26:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:26:53 a0d0a0d46f8b: Already exists 19:26:53 31adcdaf11c8: Pulling fs layer 19:26:53 b8b176561691: Pulling fs layer 19:26:53 4527c011a84f: Pulling fs layer 19:26:53 5d74067f8e1e: Pulling fs layer 19:26:53 e0aca202a116: Pulling fs layer 19:26:53 3a43be97a3b4: Pulling fs layer 19:26:53 34cad66bf833: Pulling fs layer 19:26:53 b4e3c513aaa6: Pulling fs layer 19:26:53 5d74067f8e1e: Waiting 19:26:53 3a43be97a3b4: Waiting 19:26:53 34cad66bf833: Waiting 19:26:53 b4e3c513aaa6: Waiting 19:26:53 e0aca202a116: Waiting 19:26:53 b8b176561691: Download complete 19:26:53 31adcdaf11c8: Verifying Checksum 19:26:53 31adcdaf11c8: Download complete 19:26:53 5d74067f8e1e: Verifying Checksum 19:26:53 5d74067f8e1e: Download complete 19:26:53 e0aca202a116: Verifying Checksum 19:26:53 e0aca202a116: Download complete 19:26:53 3a43be97a3b4: Verifying Checksum 19:26:53 3a43be97a3b4: Download complete 19:26:54 34cad66bf833: Verifying Checksum 19:26:54 34cad66bf833: Download complete 19:26:54 31adcdaf11c8: Pull complete 19:26:54 b8b176561691: Pull complete 19:26:54 4527c011a84f: Verifying Checksum 19:26:54 4527c011a84f: Download complete 19:26:54 b4e3c513aaa6: Verifying Checksum 19:26:54 b4e3c513aaa6: Download complete 19:26:58 4527c011a84f: Pull complete 19:26:58 5d74067f8e1e: Pull complete 19:26:58 e0aca202a116: Pull complete 19:26:58 3a43be97a3b4: Pull complete 19:26:58 34cad66bf833: Pull complete 19:27:00 b4e3c513aaa6: Pull complete 19:27:00 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 19:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:27:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 19:27:00 + docker build -t ci-base-image-x86_64 -f - . 19:27:00 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:27:00 WORKDIR /edgex 19:27:00 COPY go.mod . 19:27:00 RUN go mod download' 19:27:02 Sending build context to Docker daemon 329.8MB 19:27:02 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:27:02 ---> 9f6097aaca64 19:27:02 Step 2/4 : WORKDIR /edgex 19:27:03 ---> Running in a082a29add77 19:27:03 Removing intermediate container a082a29add77 19:27:03 ---> 747e2b05c202 19:27:03 Step 3/4 : COPY go.mod . 19:27:03 ---> 5206d3d7e848 19:27:03 Step 4/4 : RUN go mod download 19:27:03 ---> Running in 61a112a153bc 19:27:08 Still waiting to schedule task 19:27:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:27:36 Removing intermediate container 61a112a153bc 19:27:36 ---> deb4b35ccf41 19:27:36 Successfully built deb4b35ccf41 19:27:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:27:36 + docker inspect -f . ci-base-image-x86_64 19:27:36 . [Pipeline] withDockerContainer 19:27:36 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 19:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:27:37 $ docker top f4e0aa15b34d64b23e9e6a7cecc357395d2bbe827c1d9bedb67f8c82889a7985 -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:38 + go version 19:27:38 go version go1.16.8 linux/amd64 [Pipeline] } 19:27:38 $ docker stop --time=1 f4e0aa15b34d64b23e9e6a7cecc357395d2bbe827c1d9bedb67f8c82889a7985 19:27:39 $ docker rm -f f4e0aa15b34d64b23e9e6a7cecc357395d2bbe827c1d9bedb67f8c82889a7985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:27:40 + docker inspect -f . ci-base-image-x86_64 19:27:40 . [Pipeline] withDockerContainer 19:27:40 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 19:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:27:40 $ docker top bb288cbc3ec8e4b3581521cb884564a934bb84c4c345c2c01bacaa2ab9f3045f -eo pid,comm [Pipeline] { [Pipeline] echo 19:27:40 ========================================================= 19:27:40 [edgeXBuildGoParallel] Running Tests and Build... 19:27:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:27:41 + make test 19:27:41 go mod tidy 19:27:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:27:47 ? github.com/edgexfoundry/edgex-go [no test files] 19:28:06 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 19:28:12 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 19:28:12 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 19:28:12 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:28:15 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:28:15 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:28:15 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 19:28:15 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:28:16 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 19:28:18 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.048s coverage: 28.7% of statements 19:28:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:28:18 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:28:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.064s coverage: 98.5% of statements 19:28:19 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 19:28:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.068s coverage: 44.7% of statements 19:28:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:28:20 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:28:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.140s coverage: 89.5% of statements 19:28:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:28:21 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:28:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.054s coverage: 84.4% of statements 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:28:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.300s coverage: 94.2% of statements 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:28:22 ok github.com/edgexfoundry/edgex-go/internal/io 0.052s coverage: 59.1% of statements 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:28:22 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:28:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.055s coverage: 60.0% of statements 19:28:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:28:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:28:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:28:24 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.069s coverage: 0.9% of statements 19:28:24 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:28:24 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements 19:28:24 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.046s coverage: 21.7% of statements 19:28:24 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.044s coverage: 47.1% of statements 19:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.045s coverage: 79.5% of statements 19:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.049s coverage: 94.1% of statements 19:28:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.294s coverage: 96.3% of statements 19:28:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.040s coverage: 87.5% of statements 19:28:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.061s coverage: 94.4% of statements 19:28:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements 19:28:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.153s coverage: 82.5% of statements 19:28:43 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:28:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2327 in /w/workspace/edgexfoundry_edgex-go_PR-3787 [Pipeline] { [Pipeline] ws 19:28:47 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 19:28:47 The recommended git tool is: git 19:28:53 using credential edgex-jenkins-ssh 19:28:53 Cloning the remote Git repository 19:28:53 Cloning repository git@github.com:edgexfoundry/edgex-go.git 19:28:53 > git init /w/workspace/edgex-go/1 # timeout=10 19:28:53 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:28:53 > git --version # timeout=10 19:28:53 > git --version # 'git version 2.17.1' 19:28:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:28:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.055s coverage: 58.8% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.062s coverage: 80.0% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 85.4% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.136s coverage: 91.2% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.125s coverage: 64.4% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.022s coverage: 73.7% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.213s coverage: 65.4% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.114s coverage: 43.8% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.088s coverage: 89.5% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:29:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.062s coverage: 84.8% of statements 19:29:02 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 19:29:09 Merging remotes/origin/main commit d325f454062a1ab7df1627f6a73b0f166109ba5b into PR head commit fc14d731c3608070744849fe7d3313468b722e19 19:29:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:29:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:29:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:29:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:29:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:29:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3787/head:refs/remotes/origin/PR-3787 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:29:09 > git config core.sparsecheckout # timeout=10 19:29:09 > git checkout -f fc14d731c3608070744849fe7d3313468b722e19 # timeout=10 19:29:09 > git remote # timeout=10 19:29:09 > git config --get remote.origin.url # timeout=10 19:29:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:29:09 Merge succeeded, producing fc14d731c3608070744849fe7d3313468b722e19 19:29:09 Checking out Revision fc14d731c3608070744849fe7d3313468b722e19 (PR-3787) 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.058s coverage: 17.7% of statements 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.138s coverage: 92.3% of statements 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 63.2% of statements 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.081s coverage: 97.7% of statements 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 19:29:11 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 19:29:11 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements 19:29:11 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 19:29:09 > git merge d325f454062a1ab7df1627f6a73b0f166109ba5b # timeout=10 19:29:09 > git rev-parse HEAD^{commit} # timeout=10 19:29:09 > git config core.sparsecheckout # timeout=10 19:29:09 > git checkout -f fc14d731c3608070744849fe7d3313468b722e19 # timeout=10 19:29:15 Commit message: "fix: Don't write eKuiper file if file doesn't already exist" 19:29:15 > git --version # timeout=10 19:29:15 > git --version # 'git version 2.17.1' 19:29:15 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:29:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:29:16 % Total % Received % Xferd Average Speed Time Time Time Current 19:29:16 Dload Upload Total Spent Left Speed 19:29:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh 19:29:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:29:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:29:17 + sudo tee /etc/docker/daemon.new 19:29:17 { 19:29:17 "registry-mirrors": [ 19:29:17 "https://nexus3.edgexfoundry.org:10001" 19:29:17 ], 19:29:17 "bip": "10.250.0.254/24", 19:29:17 "hosts": [ 19:29:17 "tcp://0.0.0.0:5555", 19:29:17 "unix:///var/run/docker.sock" 19:29:17 ], 19:29:17 "mtu": 1458, 19:29:17 "selinux-enabled": true, 19:29:17 "seccomp-profile": "/etc/docker/seccomp.json" 19:29:17 } [Pipeline] sh 19:29:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:29:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:36 provisioning config files... 19:29:36 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1106381009049044650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:36 ---> docker-login.sh 19:29:36 nexus3.edgexfoundry.org:10001 19:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:37 Configure a credential helper to remove this warning. See 19:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:37 19:29:37 Login Succeeded 19:29:37 nexus3.edgexfoundry.org:10002 19:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:38 Configure a credential helper to remove this warning. See 19:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:38 19:29:38 Login Succeeded 19:29:38 nexus3.edgexfoundry.org:10003 19:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:38 Configure a credential helper to remove this warning. See 19:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:38 19:29:38 Login Succeeded 19:29:38 nexus3.edgexfoundry.org:10004 19:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:39 Configure a credential helper to remove this warning. See 19:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:39 19:29:39 Login Succeeded 19:29:39 docker.io 19:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:40 Configure a credential helper to remove this warning. See 19:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:40 19:29:40 Login Succeeded 19:29:40 ---> docker-login.sh ends [Pipeline] } 19:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:29:41 ========================================================= 19:29:41 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:29:41 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:29:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:29:42 552d1f2373af: Pulling fs layer 19:29:42 ea3f2d53f512: Pulling fs layer 19:29:42 9e70ebbbe112: Pulling fs layer 19:29:42 7a9cfe048b4a: Pulling fs layer 19:29:42 72dc09318566: Pulling fs layer 19:29:42 f4f7b4309257: Pulling fs layer 19:29:42 0ac9a79272e3: Pulling fs layer 19:29:42 b78e95d17946: Pulling fs layer 19:29:42 7a9cfe048b4a: Waiting 19:29:42 72dc09318566: Waiting 19:29:42 f4f7b4309257: Waiting 19:29:42 b78e95d17946: Waiting 19:29:42 0ac9a79272e3: Waiting 19:29:42 9e70ebbbe112: Verifying Checksum 19:29:42 9e70ebbbe112: Download complete 19:29:42 ea3f2d53f512: Download complete 19:29:42 72dc09318566: Verifying Checksum 19:29:42 72dc09318566: Download complete 19:29:42 f4f7b4309257: Verifying Checksum 19:29:42 f4f7b4309257: Download complete 19:29:42 552d1f2373af: Verifying Checksum 19:29:42 552d1f2373af: Download complete 19:29:42 0ac9a79272e3: Verifying Checksum 19:29:42 0ac9a79272e3: Download complete 19:29:43 GO111MODULE=on go vet ./... 19:29:43 552d1f2373af: Pull complete 19:29:44 ea3f2d53f512: Pull complete 19:29:44 9e70ebbbe112: Pull complete 19:29:44 b78e95d17946: Verifying Checksum 19:29:44 b78e95d17946: Download complete 19:29:45 7a9cfe048b4a: Verifying Checksum 19:29:45 7a9cfe048b4a: Download complete 19:29:55 7a9cfe048b4a: Pull complete 19:29:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:29:55 ./internal/security/secretstore/secure-messagebus_test.go 19:29:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:29:55 make: *** [Makefile:111: test] Error 1 [Pipeline] } 19:29:55 $ docker stop --time=1 bb288cbc3ec8e4b3581521cb884564a934bb84c4c345c2c01bacaa2ab9f3045f 19:29:55 72dc09318566: Pull complete 19:29:56 f4f7b4309257: Pull complete 19:29:56 0ac9a79272e3: Pull complete 19:29:56 $ docker rm -f bb288cbc3ec8e4b3581521cb884564a934bb84c4c345c2c01bacaa2ab9f3045f [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] } 19:29:59 Failed in branch amd64 19:30:02 b78e95d17946: Pull complete 19:30:02 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 19:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:30:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 19:30:02 + docker build -t ci-base-image-arm64 -f - . 19:30:02 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:30:02 WORKDIR /edgex 19:30:02 COPY go.mod . 19:30:02 RUN go mod download 19:30:05 Sending build context to Docker daemon 166.6MB 19:30:05 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:30:05 ---> 8b459fc5aaf0 19:30:05 Step 2/4 : WORKDIR /edgex 19:30:06 ---> Running in 616b539e3940 19:30:07 Removing intermediate container 616b539e3940 19:30:07 ---> 60472b0b6ecc 19:30:07 Step 3/4 : COPY go.mod . 19:30:08 ---> 1c7abcc1aaf8 19:30:08 Step 4/4 : RUN go mod download 19:30:08 ---> Running in 01d99c61bf02 19:31:29 Removing intermediate container 01d99c61bf02 19:31:29 ---> f190dc19a5a9 19:31:29 Successfully built f190dc19a5a9 19:31:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:31:30 + docker inspect -f . ci-base-image-arm64 19:31:30 . [Pipeline] withDockerContainer 19:31:30 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 19:31:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:31:32 $ docker top 578ec82d712fb64ffdb60623c2cc2fc535ae89bd35fd091dff8a7c04b6af7ada -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:33 + go version 19:31:33 go version go1.16.8 linux/arm64 [Pipeline] } 19:31:33 $ docker stop --time=1 578ec82d712fb64ffdb60623c2cc2fc535ae89bd35fd091dff8a7c04b6af7ada 19:31:34 $ docker rm -f 578ec82d712fb64ffdb60623c2cc2fc535ae89bd35fd091dff8a7c04b6af7ada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:31:35 + docker inspect -f . ci-base-image-arm64 19:31:35 . [Pipeline] withDockerContainer 19:31:36 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 19:31:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:31:37 $ docker top 0b420127986d4889ed7e9866b3f502e1558073e74c870647acd8dd72fb388497 -eo pid,comm [Pipeline] { [Pipeline] echo 19:31:37 ========================================================= 19:31:37 [edgeXBuildGoParallel] Running Tests and Build... 19:31:37 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:31:39 + make test 19:31:39 go mod tidy 19:31:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:32:07 ? github.com/edgexfoundry/edgex-go [no test files] 19:33:03 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 19:33:04 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 19:33:06 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 19:33:06 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 19:33:19 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 19:33:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 19:33:20 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 19:33:20 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:33:20 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 19:33:27 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.239s coverage: 28.7% of statements 19:33:27 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:33:27 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.494s coverage: 98.5% of statements 19:33:31 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 19:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.383s coverage: 44.7% of statements 19:33:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:33:31 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:33:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.684s coverage: 89.5% of statements 19:33:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:33:33 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:33:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.237s coverage: 84.4% of statements 19:33:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:33:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 19:33:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 19:33:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:33:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.587s coverage: 94.2% of statements 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/io 0.231s coverage: 59.1% of statements 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.209s coverage: 60.0% of statements 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.301s coverage: 0.9% of statements 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.191s coverage: 58.8% of statements 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.289s coverage: 21.7% of statements 19:33:42 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:33:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.303s coverage: 47.1% of statements 19:33:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.200s coverage: 79.5% of statements 19:33:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.173s coverage: 94.1% of statements 19:33:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.425s coverage: 96.3% of statements 19:33:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.360s coverage: 87.5% of statements 19:34:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.191s coverage: 94.4% of statements 19:34:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.164s coverage: 44.8% of statements 19:34:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.670s coverage: 82.5% of statements 19:34:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.259s coverage: 92.9% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.174s coverage: 87.2% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.150s coverage: 100.0% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.316s coverage: 58.8% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.243s coverage: 80.0% of statements 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.229s coverage: 87.2% of statements 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.255s coverage: 85.4% of statements 19:34:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.775s coverage: 91.2% of statements 19:34:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.805s coverage: 64.4% of statements 19:34:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:34:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.162s coverage: 100.0% of statements 19:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.086s coverage: 89.4% of statements 19:34:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.060s coverage: 100.0% of statements 19:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.087s coverage: 73.7% of statements 19:34:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements 19:34:18 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.473s coverage: 65.4% of statements 19:34:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 19:34:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 19:34:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 19:34:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.778s coverage: 43.8% of statements 19:34:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:34:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:34:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.254s coverage: 89.5% of statements 19:34:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:34:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.257s coverage: 84.8% of statements 19:34:19 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.228s coverage: 17.7% of statements 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.630s coverage: 92.3% of statements 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.306s coverage: 63.2% of statements 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.398s coverage: 97.7% of statements 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.174s coverage: 28.9% of statements 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 19:34:29 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.182s coverage: 100.0% of statements 19:34:29 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.074s coverage: 96.9% of statements 19:34: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 19:34:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:34:29 GO111MODULE=on go vet ./... 19:35:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:35:51 ./internal/security/secretstore/secure-messagebus_test.go 19:35:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:35:51 make: *** [Makefile:111: test] Error 1 [Pipeline] } 19:35:51 $ docker stop --time=1 0b420127986d4889ed7e9866b3f502e1558073e74c870647acd8dd72fb388497 19:35:52 $ docker rm -f 0b420127986d4889ed7e9866b3f502e1558073e74c870647acd8dd72fb388497 [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 19:35:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:35:55 19:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:35:56 arm64: Pulling from edgex-lftools-log-publisher 19:35:56 448f6bf000e3: Pulling fs layer 19:35:56 f757da607395: Pulling fs layer 19:35:56 05883995daec: Pulling fs layer 19:35:56 8603b9c90790: Pulling fs layer 19:35:56 1560dd03e051: Pulling fs layer 19:35:56 27f5ce0e4adf: Pulling fs layer 19:35:56 c2d8d7efcc4b: Pulling fs layer 19:35:56 8603b9c90790: Waiting 19:35:56 27f5ce0e4adf: Waiting 19:35:56 c2d8d7efcc4b: Waiting 19:35:56 1560dd03e051: Waiting 19:35:56 f757da607395: Verifying Checksum 19:35:56 f757da607395: Download complete 19:35:56 8603b9c90790: Verifying Checksum 19:35:56 8603b9c90790: Download complete 19:35:57 1560dd03e051: Verifying Checksum 19:35:57 1560dd03e051: Download complete 19:35:57 27f5ce0e4adf: Verifying Checksum 19:35:57 27f5ce0e4adf: Download complete 19:35:57 05883995daec: Verifying Checksum 19:35:57 05883995daec: Download complete 19:35:57 448f6bf000e3: Download complete 19:35:59 c2d8d7efcc4b: Verifying Checksum 19:35:59 c2d8d7efcc4b: Download complete 19:36:00 448f6bf000e3: Pull complete 19:36:01 f757da607395: Pull complete 19:36:02 05883995daec: Pull complete 19:36:03 8603b9c90790: Pull complete 19:36:04 1560dd03e051: Pull complete 19:36:04 27f5ce0e4adf: Pull complete 19:36:19 c2d8d7efcc4b: Pull complete 19:36:19 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:36:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:36:19 prd-ubuntu18.04-docker-arm64-4c-16g-2327 does not seem to be running inside a container 19:36:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:36:22 $ docker top 0bc1d114f5e116057528e09062a6fad1bfc94f98aebcc7697a3a670d6e3aa96a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:23 ---> job-cost.sh 19:36:23 lf-activate-venv: SKIPPING 19:36:23 INFO: No Stack... 19:36:24 INFO: Retrieving Pricing Info for: v3-standard-4 19:36:24 INFO: Archiving Costs [Pipeline] sh 19:36:25 + cut -d, -f6 19:36:25 + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock 19:36:25 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3787-1-stack-cost] 19:36:25 Resource [jenkins-edgexfoundry-edgex-go-PR-3787-1-stack-cost] did not exist. Created. 19:36:25 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3787-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:36:27 + echo total: 0.10999999940395355 [Pipeline] stash 19:36:27 Stashed 1 file(s) [Pipeline] } 19:36:27 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3787-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:36:27 $ docker stop --time=1 0bc1d114f5e116057528e09062a6fad1bfc94f98aebcc7697a3a670d6e3aa96a 19:36:29 $ docker rm -f 0bc1d114f5e116057528e09062a6fad1bfc94f98aebcc7697a3a670d6e3aa96a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:36:30 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:36:32 + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:36:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:36:33 ---> package-listing.sh 19:36:33 ++ facter osfamily 19:36:33 ++ tr '[:upper:]' '[:lower:]' 19:36:34 + OS_FAMILY=redhat 19:36:34 + workspace=/w/workspace/edgex-go/1 19:36:34 + START_PACKAGES=/tmp/packages_start.txt 19:36:34 + END_PACKAGES=/tmp/packages_end.txt 19:36:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:36:34 + PACKAGES=/tmp/packages_start.txt 19:36:34 + '[' /w/workspace/edgex-go/1 ']' 19:36:34 + PACKAGES=/tmp/packages_end.txt 19:36:34 + case "${OS_FAMILY}" in 19:36:34 + sort 19:36:34 + rpm -qa 19:36:34 + '[' -f /tmp/packages_start.txt ']' 19:36:34 + '[' -f /tmp/packages_end.txt ']' 19:36:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:36:34 + '[' /w/workspace/edgex-go/1 ']' 19:36:34 + mkdir -p /w/workspace/edgex-go/1/archives/ 19:36:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 19:36:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:36:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:36:35 19:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:36:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:36:35 latest: Pulling from edgex-lftools-log-publisher 19:36:35 b4d181a07f80: Pulling fs layer 19:36:35 a1111a8f2ec3: Pulling fs layer 19:36:35 ed53099fbce6: Pulling fs layer 19:36:35 dc539afda2c1: Pulling fs layer 19:36:35 77bc0d833cb6: Pulling fs layer 19:36:35 9065ff56babe: Pulling fs layer 19:36:35 d287ab97295c: Pulling fs layer 19:36:35 dc539afda2c1: Waiting 19:36:35 77bc0d833cb6: Waiting 19:36:35 9065ff56babe: Waiting 19:36:35 d287ab97295c: Waiting 19:36:35 a1111a8f2ec3: Verifying Checksum 19:36:35 a1111a8f2ec3: Download complete 19:36:35 dc539afda2c1: Verifying Checksum 19:36:35 dc539afda2c1: Download complete 19:36:35 77bc0d833cb6: Verifying Checksum 19:36:35 77bc0d833cb6: Download complete 19:36:35 ed53099fbce6: Verifying Checksum 19:36:35 ed53099fbce6: Download complete 19:36:36 9065ff56babe: Verifying Checksum 19:36:36 9065ff56babe: Download complete 19:36:36 b4d181a07f80: Verifying Checksum 19:36:36 b4d181a07f80: Download complete 19:36:36 d287ab97295c: Verifying Checksum 19:36:36 d287ab97295c: Download complete 19:36:37 b4d181a07f80: Pull complete 19:36:37 a1111a8f2ec3: Pull complete 19:36:38 ed53099fbce6: Pull complete 19:36:38 dc539afda2c1: Pull complete 19:36:38 77bc0d833cb6: Pull complete 19:36:38 9065ff56babe: Pull complete 19:36:43 d287ab97295c: Pull complete 19:36:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:36:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:36:43 prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container 19:36:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:36:45 $ docker top 08f4d562d85ef9cf19851ef02657677d9e7316cf5f1b628233c8338972e97598 -eo pid,comm [Pipeline] { [Pipeline] sh 19:36:45 + touch /tmp/pre-build-complete [Pipeline] sh 19:36:46 + mkdir -p /var/log/sysstat [Pipeline] sh 19:36:46 + ls /var/log/sa-host 19:36:46 + sadf -c /var/log/sa-host/sa27 19:36:46 file_magic: OK 19:36:46 HZ: Using current value: 100 19:36:46 file_header: OK 19:36:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:36:46 Statistics: 19:36:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:36:46 File successfully converted to sysstat format version 12.0.3 19:36:46 + sadf -c /var/log/sa-host/sa30 19:36:46 file_magic: OK 19:36:46 HZ: Using current value: 100 19:36:46 file_header: OK 19:36:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:36:46 Statistics: 19:36:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:36:46 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:36:47 provisioning config files... 19:36:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3117593181371546267tmp [Pipeline] { [Pipeline] echo 19:36:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:36:48 ---> create-netrc.sh [Pipeline] } 19:36:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:36:48 ---> python-tools-install.sh [Pipeline] echo 19:36:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:36:49 ---> sudo-logs.sh 19:36:49 Archiving 'sudo' log.. 19:36:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-2326.novalocal: Name or service not known 19:36:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-2326.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 19:36:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:36:49 ---> job-cost.sh 19:36:49 lf-activate-venv: SKIPPING 19:36:49 DEBUG: total: 0.10999999940395355 19:36:49 INFO: Retrieving Stack Cost... 19:36:51 INFO: Retrieving Pricing Info for: v3-standard-2 19:36:51 INFO: Archiving Costs [Pipeline] echo 19:36:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:36:51 ---> logs-deploy.sh 19:36:51 lf-activate-venv: SKIPPING 19:36:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3787/1 19:36:51 INFO: archiving workspace using pattern(s): 19:36:52 Archives upload complete. 19:36:52 INFO: archiving logs to Nexus