Pull request #3864 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/edgex-go Obtained Jenkinsfile from a5fd0b7429c107f2789a4a82bc7a73d3affa1bae+3acce916edd26c48cc534c43f5f6a7ed858771e5 (d49144354ea195c172561b4c564d7e7a6ebc16ea) 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-ssh6904937520091444443.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-ssh14346040581485646505.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-3864/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-3864/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7674860361137042838.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-ssh2133036979574254689.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-3864/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-3864/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10774908781595264634.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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-2140’ is offline ‘prd-centos7-docker-4c-2g-2144’ is offline ‘prd-centos7-docker-4c-2g-2147’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-2141’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2148 in /w/workspace/edgexfoundry_edgex-go_PR-3864 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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/2@tmp/jenkins-gitclient-ssh7238276761493905900.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/2@tmp/jenkins-gitclient-ssh3132130317845106341.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3864/head:refs/remotes/origin/PR-3864 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3acce916edd26c48cc534c43f5f6a7ed858771e5 into PR head commit a5fd0b7429c107f2789a4a82bc7a73d3affa1bae Merge succeeded, producing a5fd0b7429c107f2789a4a82bc7a73d3affa1bae Checking out Revision a5fd0b7429c107f2789a4a82bc7a73d3affa1bae (PR-3864) > git config core.sparsecheckout # timeout=10 > git checkout -f a5fd0b7429c107f2789a4a82bc7a73d3affa1bae # 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/2@tmp/jenkins-gitclient-ssh2093370689571750596.key > git merge 3acce916edd26c48cc534c43f5f6a7ed858771e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5fd0b7429c107f2789a4a82bc7a73d3affa1bae # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 506c43586085517618ff933759d64dc5da56e7e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T23:37:13.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T23:37:13.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T23:37:13.675Z] ========================================================= [2022-01-19T23:37:13.675Z] EdgeX Global Pipelines Version Info [2022-01-19T23:37:13.675Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:37:14.794Z] ------------------- [2022-01-19T23:37:14.794Z] stable info: [2022-01-19T23:37:14.794Z] ------------------- [2022-01-19T23:37:14.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T23:37:14.794Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:37:14.794Z] Message: update stable to v1.0.219 [2022-01-19T23:37:15.376Z] ------------------- [2022-01-19T23:37:15.376Z] experimental info: [2022-01-19T23:37:15.376Z] ------------------- [2022-01-19T23:37:15.376Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T23:37:15.376Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:37:15.376Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T23:37:15.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-01-19T23:37:15.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-01-19T23:37:15.534Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T23:37:15.548Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T23:37:15.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T23:37:15.570Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T23:37:15.581Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T23:37:15.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-01-19T23:37:15.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-01-19T23:37:15.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-01-19T23:37:15.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T23:37:15.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T23:37:15.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T23:37:15.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T23:37:15.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T23:37:15.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:37:15.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:37:15.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T23:37:15.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-19T23:37:15.735Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-19T23:37:15.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-19T23:37:15.757Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T23:37:15.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3864 [Pipeline] echo [2022-01-19T23:37:15.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3864 [Pipeline] echo [2022-01-19T23:37:15.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3864 [Pipeline] echo [2022-01-19T23:37:15.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [Pipeline] echo [2022-01-19T23:37:15.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5fd0b7 [Pipeline] echo [2022-01-19T23:37:15.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:37:15.879Z] provisioning config files... [2022-01-19T23:37:15.893Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2054747308359763112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:37:16.201Z] ---> docker-login.sh [2022-01-19T23:37:16.201Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:37:16.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:37:16.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:37:16.201Z] Configure a credential helper to remove this warning. See [2022-01-19T23:37:16.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:37:16.201Z] [2022-01-19T23:37:16.201Z] Login Succeeded [2022-01-19T23:37:16.201Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:37:16.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:37:16.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:37:16.464Z] Configure a credential helper to remove this warning. See [2022-01-19T23:37:16.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:37:16.464Z] [2022-01-19T23:37:16.464Z] Login Succeeded [2022-01-19T23:37:16.464Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:37:16.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:37:16.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:37:16.464Z] Configure a credential helper to remove this warning. See [2022-01-19T23:37:16.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:37:16.464Z] [2022-01-19T23:37:16.464Z] Login Succeeded [2022-01-19T23:37:16.464Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:37:16.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:37:16.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:37:16.729Z] Configure a credential helper to remove this warning. See [2022-01-19T23:37:16.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:37:16.729Z] [2022-01-19T23:37:16.729Z] Login Succeeded [2022-01-19T23:37:16.729Z] docker.io [2022-01-19T23:37:16.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:37:16.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:37:16.991Z] Configure a credential helper to remove this warning. See [2022-01-19T23:37:16.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:37:16.991Z] [2022-01-19T23:37:16.991Z] Login Succeeded [2022-01-19T23:37:16.991Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:37:16.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T23:37:17.311Z] ++ 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 [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/core-command/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo core-command,cmd/core-command/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/core-data/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo core-data,cmd/core-data/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/core-metadata/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/support-notifications/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-01-19T23:37:17.311Z] + for file in '`ls cmd/**/Dockerfile`' [2022-01-19T23:37:17.311Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-01-19T23:37:17.311Z] ++ cut -d/ -f2 [2022-01-19T23:37:17.311Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-01-19T23:37:17.352Z] 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 [2022-01-19T23:37:17.703Z] + git rev-list -1 --merges a5fd0b7429c107f2789a4a82bc7a73d3affa1bae~1..a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [Pipeline] echo [2022-01-19T23:37:17.722Z] -----------> git rev-list -1 --merges a5fd0b7429c107f2789a4a82bc7a73d3affa1bae~1..a5fd0b7429c107f2789a4a82bc7a73d3affa1bae a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [false] [Pipeline] sh [2022-01-19T23:37:18.018Z] + git log --format=format:%s -1 a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [Pipeline] echo [2022-01-19T23:37:18.037Z] ========================================================= [2022-01-19T23:37:18.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T23:37:18.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-01-19T23:37:18.441Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T23:37:18.441Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T23:37:18.441Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T23:37:18.441Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T23:37:18.441Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T23:37:18.441Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T23:37:18.441Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:37:18.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:37:18.787Z] [2022-01-19T23:37:18.787Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:37:19.093Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:37:19.093Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T23:37:19.093Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T23:37:19.093Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T23:37:19.093Z] 4c7163046ea9: Pulling fs layer [2022-01-19T23:37:19.093Z] 0c2d73faf560: Pulling fs layer [2022-01-19T23:37:19.093Z] 0c2d73faf560: Waiting [2022-01-19T23:37:19.093Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T23:37:19.093Z] 3e5f54012d9b: Download complete [2022-01-19T23:37:19.093Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T23:37:19.093Z] a0d0a0d46f8b: Download complete [2022-01-19T23:37:19.093Z] 0c2d73faf560: Verifying Checksum [2022-01-19T23:37:19.093Z] 0c2d73faf560: Download complete [2022-01-19T23:37:19.093Z] 4c7163046ea9: Verifying Checksum [2022-01-19T23:37:19.093Z] 4c7163046ea9: Download complete [2022-01-19T23:37:19.357Z] a0d0a0d46f8b: Pull complete [2022-01-19T23:37:19.357Z] 3e5f54012d9b: Pull complete [2022-01-19T23:37:19.627Z] 4c7163046ea9: Pull complete [2022-01-19T23:37:19.887Z] 0c2d73faf560: Pull complete [2022-01-19T23:37:19.887Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T23:37:19.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:37:19.887Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T23:37:19.949Z] prd-centos7-docker-4c-2g-2148 does not seem to be running inside a container [2022-01-19T23:37:19.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T23:37:20.564Z] $ docker top 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T23:37:20.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:37:20.648Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:37:20.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:37:20.747Z] $ docker exec 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 ssh-agent [2022-01-19T23:37:20.843Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMbhFbp/agent.14 [2022-01-19T23:37:20.843Z] SSH_AGENT_PID=20 [2022-01-19T23:37:20.850Z] Running ssh-add (command line suppressed) [2022-01-19T23:37:20.947Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_3124704119297608157.key (/w/workspace/edgex-go/2@tmp/private_key_3124704119297608157.key) [2022-01-19T23:37:20.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:37:21.254Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T23:37:21.266Z] $ docker exec --env ******** --env ******** 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 ssh-agent -k [2022-01-19T23:37:21.365Z] unset SSH_AUTH_SOCK; [2022-01-19T23:37:21.365Z] unset SSH_AGENT_PID; [2022-01-19T23:37:21.365Z] echo Agent pid 20 killed; [2022-01-19T23:37:21.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T23:37:21.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:37:21.396Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:37:21.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:37:21.496Z] $ docker exec 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 ssh-agent [2022-01-19T23:37:21.592Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIahDON/agent.55 [2022-01-19T23:37:21.592Z] SSH_AGENT_PID=61 [2022-01-19T23:37:21.597Z] Running ssh-add (command line suppressed) [2022-01-19T23:37:21.691Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_5261629440972978321.key (/w/workspace/edgex-go/2@tmp/private_key_5261629440972978321.key) [2022-01-19T23:37:21.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:37:22.000Z] + git semver init [2022-01-19T23:37:22.000Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T23:37:22.000Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2022-01-19T23:37:22.000Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2022-01-19T23:37:22.000Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T23:37:22.000Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T23:37:22.000Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T23:37:22.000Z] # $SEMVER_BRANCH = PR-3864 [2022-01-19T23:37:22.000Z] # $SEMVER_TEMP = /tmp/semver-214835120 [2022-01-19T23:37:22.000Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-01-19T23:37:34.268Z] # '/tmp/semver-214835120' -> '/w/workspace/edgex-go/2/.semver' [2022-01-19T23:37:34.527Z] # -> Force: false [2022-01-19T23:37:34.527Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2022-01-19T23:37:34.538Z] $ docker exec --env ******** --env ******** 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 ssh-agent -k [2022-01-19T23:37:34.619Z] unset SSH_AUTH_SOCK; [2022-01-19T23:37:34.619Z] unset SSH_AGENT_PID; [2022-01-19T23:37:34.619Z] echo Agent pid 61 killed; [2022-01-19T23:37:34.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T23:37:34.930Z] + git semver [Pipeline] } [2022-01-19T23:37:34.944Z] $ docker stop --time=1 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 [2022-01-19T23:37:36.871Z] $ docker rm -f 00b0a27f77311c9345f0cd4e8d824c6a826ef4b1d31b24c649d6b5b2477068a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T23:37:37.251Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T23:37:37.477Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T23:37:37.481Z] [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 [2022-01-19T23:37:37.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:37:37.619Z] ========================================================= [2022-01-19T23:37:37.619Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T23:37:37.619Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:37:37.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:37:37.919Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T23:37:37.919Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T23:37:37.919Z] 666ba61612fd: Pulling fs layer [2022-01-19T23:37:37.919Z] 8ed8ca486205: Pulling fs layer [2022-01-19T23:37:37.919Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T23:37:37.919Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T23:37:37.919Z] f965cba54748: Pulling fs layer [2022-01-19T23:37:37.919Z] 861ffc35075e: Pulling fs layer [2022-01-19T23:37:37.919Z] 4b385c91608e: Pulling fs layer [2022-01-19T23:37:37.919Z] 560528eb2ebb: Pulling fs layer [2022-01-19T23:37:37.919Z] 4fe6c5a15a65: Waiting [2022-01-19T23:37:37.919Z] 22a0e8bec74d: Waiting [2022-01-19T23:37:37.919Z] f965cba54748: Waiting [2022-01-19T23:37:37.919Z] 861ffc35075e: Waiting [2022-01-19T23:37:37.919Z] 4b385c91608e: Waiting [2022-01-19T23:37:37.919Z] 560528eb2ebb: Waiting [2022-01-19T23:37:37.919Z] 8ed8ca486205: Verifying Checksum [2022-01-19T23:37:37.919Z] 8ed8ca486205: Download complete [2022-01-19T23:37:37.919Z] 666ba61612fd: Download complete [2022-01-19T23:37:37.919Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T23:37:37.919Z] 22a0e8bec74d: Download complete [2022-01-19T23:37:37.919Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T23:37:37.919Z] 59bf1c3509f3: Download complete [2022-01-19T23:37:37.919Z] f965cba54748: Verifying Checksum [2022-01-19T23:37:37.919Z] f965cba54748: Download complete [2022-01-19T23:37:37.919Z] 861ffc35075e: Verifying Checksum [2022-01-19T23:37:37.919Z] 861ffc35075e: Download complete [2022-01-19T23:37:38.183Z] 4b385c91608e: Verifying Checksum [2022-01-19T23:37:38.183Z] 4b385c91608e: Download complete [2022-01-19T23:37:38.449Z] 59bf1c3509f3: Pull complete [2022-01-19T23:37:38.449Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T23:37:38.449Z] 4fe6c5a15a65: Download complete [2022-01-19T23:37:38.449Z] 560528eb2ebb: Verifying Checksum [2022-01-19T23:37:38.449Z] 560528eb2ebb: Download complete [2022-01-19T23:37:38.449Z] 666ba61612fd: Pull complete [2022-01-19T23:37:38.710Z] 8ed8ca486205: Pull complete [2022-01-19T23:37:42.947Z] 4fe6c5a15a65: Pull complete [2022-01-19T23:37:42.947Z] 22a0e8bec74d: Pull complete [2022-01-19T23:37:42.947Z] f965cba54748: Pull complete [2022-01-19T23:37:42.947Z] 861ffc35075e: Pull complete [2022-01-19T23:37:42.947Z] 4b385c91608e: Pull complete [2022-01-19T23:37:45.522Z] 560528eb2ebb: Pull complete [2022-01-19T23:37:45.522Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T23:37:45.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:37:45.522Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:37:45.820Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:37:45.820Z] WORKDIR /edgex [2022-01-19T23:37:45.820Z] COPY go.mod . [2022-01-19T23:37:45.820Z] RUN go mod download' [2022-01-19T23:37:45.820Z] + docker build -t ci-base-image-x86_64 -f - . [2022-01-19T23:37:47.208Z] Sending build context to Docker daemon 333.7MB [2022-01-19T23:37:47.208Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:37:47.208Z] ---> dd4a08f94e63 [2022-01-19T23:37:47.208Z] Step 2/4 : WORKDIR /edgex [2022-01-19T23:37:49.123Z] ---> Running in e4b79495c508 [2022-01-19T23:37:49.123Z] Removing intermediate container e4b79495c508 [2022-01-19T23:37:49.123Z] ---> adf914cf7c89 [2022-01-19T23:37:49.123Z] Step 3/4 : COPY go.mod . [2022-01-19T23:37:49.383Z] ---> 11cbcdafb11e [2022-01-19T23:37:49.383Z] Step 4/4 : RUN go mod download [2022-01-19T23:37:49.383Z] ---> Running in c3e0fc14506d [2022-01-19T23:37:52.557Z] Still waiting to schedule task [2022-01-19T23:37:52.557Z] ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T23:37:52.557Z] ‘prd-centos7-docker-4c-2g-2140’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T23:37:52.557Z] ‘prd-centos7-docker-4c-2g-2144’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T23:37:52.557Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2141’ is offline [2022-01-19T23:37:52.557Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2149’ is offline [2022-01-19T23:38:15.993Z] Removing intermediate container c3e0fc14506d [2022-01-19T23:38:15.993Z] ---> 9ca8de1701ee [2022-01-19T23:38:15.993Z] Successfully built 9ca8de1701ee [2022-01-19T23:38:15.993Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:38:16.303Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:38:16.303Z] . [Pipeline] withDockerContainer [2022-01-19T23:38:16.371Z] prd-centos7-docker-4c-2g-2148 does not seem to be running inside a container [2022-01-19T23:38:16.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T23:38:16.748Z] $ docker top 69abd7ef67910b17efd6c398e5a5d68bfc3509b4329ee476843c040e196b25d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:38:17.108Z] + go version [2022-01-19T23:38:17.109Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T23:38:17.120Z] $ docker stop --time=1 69abd7ef67910b17efd6c398e5a5d68bfc3509b4329ee476843c040e196b25d8 [2022-01-19T23:38:18.302Z] $ docker rm -f 69abd7ef67910b17efd6c398e5a5d68bfc3509b4329ee476843c040e196b25d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:38:18.717Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:38:18.717Z] . [Pipeline] withDockerContainer [2022-01-19T23:38:18.776Z] prd-centos7-docker-4c-2g-2148 does not seem to be running inside a container [2022-01-19T23:38:18.808Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T23:38:19.133Z] $ docker top afd0f0fd2dcfadd86d5995b22eca380c8b6827f7e3a8393fd020e2cf9712ddd5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T23:38:19.221Z] ========================================================= [2022-01-19T23:38:19.221Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-19T23:38:19.221Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:38:19.513Z] + make test [2022-01-19T23:38:19.513Z] go mod tidy [2022-01-19T23:38:19.513Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-19T23:38:26.182Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-01-19T23:38:41.197Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-01-19T23:38:46.567Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-01-19T23:38:46.567Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-01-19T23:38:46.568Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-01-19T23:38:48.503Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-01-19T23:38:49.094Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-01-19T23:38:49.095Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-01-19T23:38:49.095Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-01-19T23:38:49.666Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-01-19T23:38:49.927Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-01-19T23:38:49.927Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-01-19T23:38:50.203Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-01-19T23:38:50.203Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-01-19T23:38:50.203Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-01-19T23:38:51.613Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.034s coverage: 28.7% of statements [2022-01-19T23:38:51.613Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-01-19T23:38:51.613Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-01-19T23:38:52.602Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.051s coverage: 98.5% of statements [2022-01-19T23:38:52.602Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-01-19T23:38:52.866Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.063s coverage: 44.7% of statements [2022-01-19T23:38:52.866Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-01-19T23:38:52.866Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-01-19T23:38:53.439Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.108s coverage: 89.5% of statements [2022-01-19T23:38:53.439Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-01-19T23:38:53.439Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-01-19T23:38:54.817Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.057s coverage: 84.4% of statements [2022-01-19T23:38:54.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-01-19T23:38:54.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-01-19T23:38:54.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-01-19T23:38:54.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-01-19T23:38:54.817Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-01-19T23:38:55.078Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.262s coverage: 94.2% of statements [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-01-19T23:38:55.078Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.045s coverage: 59.1% of statements [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-01-19T23:38:55.078Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-01-19T23:38:55.655Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.048s coverage: 60.0% of statements [2022-01-19T23:38:55.655Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-01-19T23:38:55.655Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-01-19T23:38:55.655Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-01-19T23:38:56.238Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.057s coverage: 0.9% of statements [2022-01-19T23:38:56.238Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-01-19T23:38:56.238Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.046s coverage: 58.8% of statements [2022-01-19T23:38:56.502Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.047s coverage: 21.7% of statements [2022-01-19T23:38:56.502Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-01-19T23:38:56.762Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.049s coverage: 47.1% of statements [2022-01-19T23:38:56.762Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.046s coverage: 79.5% of statements [2022-01-19T23:38:57.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.050s coverage: 94.1% of statements [2022-01-19T23:38:57.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements [2022-01-19T23:38:57.547Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.058s coverage: 87.5% of statements [2022-01-19T23:39:09.791Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.051s coverage: 94.4% of statements [2022-01-19T23:39:09.791Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.042s coverage: 44.8% of statements [2022-01-19T23:39:15.070Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.189s coverage: 82.5% of statements [2022-01-19T23:39:15.070Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.071s coverage: 92.9% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 65.1% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.054s coverage: 58.8% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.053s coverage: 80.0% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.052s coverage: 87.2% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.053s coverage: 85.4% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.129s coverage: 91.2% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.138s coverage: 64.4% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.043s coverage: 100.0% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.020s coverage: 100.0% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.033s coverage: 73.7% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.231s coverage: 65.4% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.107s coverage: 43.8% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.055s coverage: 89.5% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-01-19T23:39:33.187Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.039s coverage: 84.8% of statements [2022-01-19T23:39:33.187Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.057s coverage: 17.7% of statements [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.124s coverage: 92.3% of statements [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.074s coverage: 97.7% of statements [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.044s coverage: 28.9% of statements [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-01-19T23:39:39.782Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements [2022-01-19T23:39:39.782Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-01-19T23:39:39.782Z] 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 [2022-01-19T23:40:18.652Z] GO111MODULE=on go vet ./... [2022-01-19T23:40:18.652Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T23:40:18.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T23:40:19.174Z] ./bin/test-attribution-txt.sh [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.435Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.695Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.695Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.695Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.696Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.696Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.696Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.696Z] An attribution for explicit; is missing from Attribution.txt, please add [2022-01-19T23:40:19.696Z] make: *** [Makefile:112: test] Error 1 [Pipeline] } [2022-01-19T23:40:19.709Z] $ docker stop --time=1 afd0f0fd2dcfadd86d5995b22eca380c8b6827f7e3a8393fd020e2cf9712ddd5 [2022-01-19T23:40:21.108Z] $ docker rm -f afd0f0fd2dcfadd86d5995b22eca380c8b6827f7e3a8393fd020e2cf9712ddd5 [2022-01-19T23:40:21.188Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2153 in /w/workspace/edgexfoundry_edgex-go_PR-3864 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2022-01-19T23:40:21.419Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] checkout 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] } [2022-01-19T23:40:21.542Z] Failed in branch amd64 [2022-01-19T23:40:21.632Z] The recommended git tool is: git [2022-01-19T23:40:27.202Z] using credential edgex-jenkins-ssh [2022-01-19T23:40:27.222Z] Cloning the remote Git repository [2022-01-19T23:40:27.290Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-01-19T23:40:27.377Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2022-01-19T23:40:27.483Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-19T23:40:27.484Z] > git --version # timeout=10 [2022-01-19T23:40:27.562Z] > git --version # 'git version 2.17.1' [2022-01-19T23:40:27.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:40:27.692Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:40:46.958Z] Merging remotes/origin/main commit 3acce916edd26c48cc534c43f5f6a7ed858771e5 into PR head commit a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [2022-01-19T23:40:47.357Z] Merge succeeded, producing a5fd0b7429c107f2789a4a82bc7a73d3affa1bae [2022-01-19T23:40:47.357Z] Checking out Revision a5fd0b7429c107f2789a4a82bc7a73d3affa1bae (PR-3864) [2022-01-19T23:40:45.940Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-19T23:40:45.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:40:46.000Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-01-19T23:40:46.044Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-01-19T23:40:46.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:40:46.067Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3864/head:refs/remotes/origin/PR-3864 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-19T23:40:46.979Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:40:46.998Z] > git checkout -f a5fd0b7429c107f2789a4a82bc7a73d3affa1bae # timeout=10 [2022-01-19T23:40:47.260Z] > git remote # timeout=10 [2022-01-19T23:40:47.278Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T23:40:47.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:40:47.310Z] > git merge 3acce916edd26c48cc534c43f5f6a7ed858771e5 # timeout=10 [2022-01-19T23:40:47.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T23:40:47.364Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:40:47.379Z] > git checkout -f a5fd0b7429c107f2789a4a82bc7a73d3affa1bae # timeout=10 [2022-01-19T23:40:51.886Z] Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:40:52.760Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T23:40:52.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T23:40:52.760Z] Dload Upload Total Spent Left Speed [2022-01-19T23:40:52.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-01-19T23:40:53.389Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T23:40:53.794Z] + sudo tee /etc/docker/daemon.new [2022-01-19T23:40:53.795Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T23:40:53.795Z] { [2022-01-19T23:40:53.795Z] "registry-mirrors": [ [2022-01-19T23:40:53.795Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T23:40:53.795Z] ], [2022-01-19T23:40:53.795Z] "bip": "10.250.0.254/24", [2022-01-19T23:40:53.795Z] "hosts": [ [2022-01-19T23:40:53.795Z] "tcp://0.0.0.0:5555", [2022-01-19T23:40:53.795Z] "unix:///var/run/docker.sock" [2022-01-19T23:40:53.795Z] ], [2022-01-19T23:40:53.795Z] "mtu": 1458, [2022-01-19T23:40:53.795Z] "selinux-enabled": true, [2022-01-19T23:40:53.795Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T23:40:53.795Z] } [Pipeline] sh [2022-01-19T23:40:54.155Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T23:40:54.510Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:41:12.863Z] provisioning config files... [2022-01-19T23:41:12.892Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7189400620004233040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:41:13.256Z] ---> docker-login.sh [2022-01-19T23:41:13.256Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:41:13.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:14.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:14.128Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:14.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:14.128Z] [2022-01-19T23:41:14.128Z] Login Succeeded [2022-01-19T23:41:14.128Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:41:14.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:14.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:14.727Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:14.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:14.727Z] [2022-01-19T23:41:14.727Z] Login Succeeded [2022-01-19T23:41:14.727Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:41:15.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:15.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:15.280Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:15.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:15.280Z] [2022-01-19T23:41:15.280Z] Login Succeeded [2022-01-19T23:41:15.280Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:41:15.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:15.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:15.831Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:15.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:15.831Z] [2022-01-19T23:41:15.831Z] Login Succeeded [2022-01-19T23:41:15.831Z] docker.io [2022-01-19T23:41:16.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:16.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:16.702Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:16.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:16.702Z] [2022-01-19T23:41:16.702Z] Login Succeeded [2022-01-19T23:41:16.702Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:41:16.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T23:41:17.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:41:17.342Z] ========================================================= [2022-01-19T23:41:17.342Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T23:41:17.342Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:41:17.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:41:17.959Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T23:41:17.959Z] 9b3977197b4f: Pulling fs layer [2022-01-19T23:41:17.959Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T23:41:17.959Z] 94645a83ff95: Pulling fs layer [2022-01-19T23:41:17.959Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T23:41:17.959Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T23:41:17.959Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T23:41:17.959Z] 9a6b49a46696: Pulling fs layer [2022-01-19T23:41:17.959Z] cf05db05a679: Pulling fs layer [2022-01-19T23:41:17.959Z] 4b8299f9d1f4: Waiting [2022-01-19T23:41:17.959Z] 9a6b49a46696: Waiting [2022-01-19T23:41:17.959Z] cf05db05a679: Waiting [2022-01-19T23:41:17.959Z] 3f3a8bcf1eab: Waiting [2022-01-19T23:41:17.959Z] 0c92f367c5e7: Waiting [2022-01-19T23:41:17.959Z] 94645a83ff95: Verifying Checksum [2022-01-19T23:41:17.959Z] 94645a83ff95: Download complete [2022-01-19T23:41:17.959Z] 1a89e8eeedd5: Download complete [2022-01-19T23:41:17.959Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T23:41:17.959Z] 0c92f367c5e7: Download complete [2022-01-19T23:41:17.959Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T23:41:17.959Z] 4b8299f9d1f4: Download complete [2022-01-19T23:41:17.959Z] 9b3977197b4f: Verifying Checksum [2022-01-19T23:41:17.959Z] 9b3977197b4f: Download complete [2022-01-19T23:41:17.959Z] 9a6b49a46696: Verifying Checksum [2022-01-19T23:41:17.959Z] 9a6b49a46696: Download complete [2022-01-19T23:41:18.955Z] 9b3977197b4f: Pull complete [2022-01-19T23:41:19.234Z] 1a89e8eeedd5: Pull complete [2022-01-19T23:41:19.838Z] 94645a83ff95: Pull complete [2022-01-19T23:41:20.115Z] cf05db05a679: Verifying Checksum [2022-01-19T23:41:20.115Z] cf05db05a679: Download complete [2022-01-19T23:41:20.709Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T23:41:20.709Z] 3f3a8bcf1eab: Download complete [2022-01-19T23:41:33.104Z] 3f3a8bcf1eab: Pull complete [2022-01-19T23:41:33.104Z] 0c92f367c5e7: Pull complete [2022-01-19T23:41:33.104Z] 4b8299f9d1f4: Pull complete [2022-01-19T23:41:33.104Z] 9a6b49a46696: Pull complete [2022-01-19T23:41:38.519Z] cf05db05a679: Pull complete [2022-01-19T23:41:38.794Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T23:41:38.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:41:38.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:41:39.156Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:41:39.157Z] WORKDIR /edgex [2022-01-19T23:41:39.157Z] COPY go.mod . [2022-01-19T23:41:39.157Z] RUN go mod download [2022-01-19T23:41:39.157Z] + docker build -t ci-base-image-arm64 -f - . [2022-01-19T23:41:41.806Z] Sending build context to Docker daemon 168.6MB [2022-01-19T23:41:41.806Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:41:41.806Z] ---> 0ccda1f7e2ee [2022-01-19T23:41:41.806Z] Step 2/4 : WORKDIR /edgex [2022-01-19T23:41:43.785Z] ---> Running in 5d509820bbad [2022-01-19T23:41:44.394Z] Removing intermediate container 5d509820bbad [2022-01-19T23:41:44.394Z] ---> 64fa6ca1726d [2022-01-19T23:41:44.394Z] Step 3/4 : COPY go.mod . [2022-01-19T23:41:44.991Z] ---> b7a4b45e8b42 [2022-01-19T23:41:44.991Z] Step 4/4 : RUN go mod download [2022-01-19T23:41:44.991Z] ---> Running in e52c84231369 [2022-01-19T23:43:06.823Z] Removing intermediate container e52c84231369 [2022-01-19T23:43:06.823Z] ---> 4bdc80cd60cb [2022-01-19T23:43:06.823Z] Successfully built 4bdc80cd60cb [2022-01-19T23:43:06.823Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:43:07.175Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:43:07.175Z] . [Pipeline] withDockerContainer [2022-01-19T23:43:07.480Z] prd-ubuntu18.04-docker-arm64-4c-16g-2153 does not seem to be running inside a container [2022-01-19T23:43:07.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T23:43:09.180Z] $ docker top d66d31be183820dd51c72f715adf30adede0680b72f9a339d1cba8eea94c61b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:43:10.155Z] + go version [2022-01-19T23:43:10.155Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T23:43:10.178Z] $ docker stop --time=1 d66d31be183820dd51c72f715adf30adede0680b72f9a339d1cba8eea94c61b0 [2022-01-19T23:43:11.896Z] $ docker rm -f d66d31be183820dd51c72f715adf30adede0680b72f9a339d1cba8eea94c61b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:43:12.553Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:43:12.553Z] . [Pipeline] withDockerContainer [2022-01-19T23:43:12.815Z] prd-ubuntu18.04-docker-arm64-4c-16g-2153 does not seem to be running inside a container [2022-01-19T23:43:12.906Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T23:43:14.342Z] $ docker top 16f06e88ddaa825e5e72c0318c018688fd3aa8281eac9bc42b2ca8a4673dd72b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T23:43:14.645Z] ========================================================= [2022-01-19T23:43:14.645Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-01-19T23:43:14.645Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:43:15.307Z] + make test [2022-01-19T23:43:15.308Z] go mod tidy [2022-01-19T23:43:16.293Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-19T23:43:55.324Z] ? github.com/edgexfoundry/edgex-go [no test files] Aborted by Ernesto Ojeda [2022-01-19T23:44:34.616Z] Sending interrupt signal to process [Pipeline] } [2022-01-19T23:44:35.273Z] $ docker stop --time=1 16f06e88ddaa825e5e72c0318c018688fd3aa8281eac9bc42b2ca8a4673dd72b [2022-01-19T23:44:37.596Z] $ docker rm -f 16f06e88ddaa825e5e72c0318c018688fd3aa8281eac9bc42b2ca8a4673dd72b [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 [2022-01-19T23:44:38.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:44:38.868Z] [2022-01-19T23:44:38.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:44:39.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:44:39.502Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T23:44:39.502Z] 448f6bf000e3: Pulling fs layer [2022-01-19T23:44:39.502Z] f757da607395: Pulling fs layer [2022-01-19T23:44:39.502Z] 05883995daec: Pulling fs layer [2022-01-19T23:44:39.502Z] 8603b9c90790: Pulling fs layer [2022-01-19T23:44:39.502Z] 1560dd03e051: Pulling fs layer [2022-01-19T23:44:39.502Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T23:44:39.502Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T23:44:39.502Z] 8603b9c90790: Waiting [2022-01-19T23:44:39.502Z] 1560dd03e051: Waiting [2022-01-19T23:44:39.502Z] c2d8d7efcc4b: Waiting [2022-01-19T23:44:39.502Z] 27f5ce0e4adf: Waiting [2022-01-19T23:44:39.502Z] f757da607395: Verifying Checksum [2022-01-19T23:44:39.502Z] f757da607395: Download complete [2022-01-19T23:44:39.502Z] 8603b9c90790: Verifying Checksum [2022-01-19T23:44:39.502Z] 8603b9c90790: Download complete [2022-01-19T23:44:39.779Z] 1560dd03e051: Verifying Checksum [2022-01-19T23:44:39.779Z] 1560dd03e051: Download complete [2022-01-19T23:44:39.779Z] 27f5ce0e4adf: Download complete [2022-01-19T23:44:39.779Z] 05883995daec: Verifying Checksum [2022-01-19T23:44:39.779Z] 05883995daec: Download complete [2022-01-19T23:44:40.053Z] 448f6bf000e3: Verifying Checksum [2022-01-19T23:44:40.053Z] 448f6bf000e3: Download complete [2022-01-19T23:44:42.686Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T23:44:42.686Z] c2d8d7efcc4b: Download complete [2022-01-19T23:44:44.127Z] 448f6bf000e3: Pull complete [2022-01-19T23:44:44.722Z] f757da607395: Pull complete [2022-01-19T23:44:46.163Z] 05883995daec: Pull complete [2022-01-19T23:44:46.435Z] 8603b9c90790: Pull complete [2022-01-19T23:44:47.416Z] 1560dd03e051: Pull complete [2022-01-19T23:44:47.416Z] 27f5ce0e4adf: Pull complete Click here to forcibly terminate running steps [2022-01-19T23:45:02.503Z] c2d8d7efcc4b: Pull complete [2022-01-19T23:45:02.503Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T23:45:02.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:45:02.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T23:45:02.752Z] prd-ubuntu18.04-docker-arm64-4c-16g-2153 does not seem to be running inside a container [2022-01-19T23:45:03.046Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-19T23:45:05.875Z] $ docker top cdb0afa1beaf1a7b4c60e32304704523bbb70f9bbc6c9bf7692e185bdde95c37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:06.863Z] ---> job-cost.sh [2022-01-19T23:45:06.863Z] lf-activate-venv: SKIPPING [2022-01-19T23:45:06.863Z] INFO: No Stack... [2022-01-19T23:45:07.462Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T23:45:07.734Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T23:45:08.411Z] + cut+ -d, -f6cat [2022-01-19T23:45:08.411Z] /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock [2022-01-19T23:45:08.484Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3864-2-stack-cost] [2022-01-19T23:45:08.493Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3864-2-stack-cost] did not exist. Created. [2022-01-19T23:45:08.493Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3864-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T23:45:09.165Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T23:45:09.845Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T23:45:09.852Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3864-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T23:45:09.866Z] $ docker stop --time=1 cdb0afa1beaf1a7b4c60e32304704523bbb70f9bbc6c9bf7692e185bdde95c37 [2022-01-19T23:45:11.365Z] $ docker rm -f cdb0afa1beaf1a7b4c60e32304704523bbb70f9bbc6c9bf7692e185bdde95c37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T23:45:11.681Z] 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 [2022-01-19T23:45:12.286Z] + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:12.584Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:13.155Z] ---> package-listing.sh [2022-01-19T23:45:13.156Z] ++ facter osfamily [2022-01-19T23:45:13.156Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T23:45:13.417Z] + OS_FAMILY=redhat [2022-01-19T23:45:13.417Z] + workspace=/w/workspace/edgex-go/2 [2022-01-19T23:45:13.417Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T23:45:13.417Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T23:45:13.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T23:45:13.417Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T23:45:13.417Z] + '[' /w/workspace/edgex-go/2 ']' [2022-01-19T23:45:13.417Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T23:45:13.417Z] + case "${OS_FAMILY}" in [2022-01-19T23:45:13.417Z] + rpm -qa [2022-01-19T23:45:13.417Z] + sort [2022-01-19T23:45:13.992Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T23:45:13.992Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T23:45:13.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T23:45:13.992Z] + '[' /w/workspace/edgex-go/2 ']' [2022-01-19T23:45:13.992Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2022-01-19T23:45:13.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2022-01-19T23:45:14.005Z] 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T23:45:14.286Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:45:14.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:45:14.987Z] [2022-01-19T23:45:14.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:45:15.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:45:15.480Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T23:45:15.480Z] b4d181a07f80: Pulling fs layer [2022-01-19T23:45:15.480Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T23:45:15.480Z] ed53099fbce6: Pulling fs layer [2022-01-19T23:45:15.480Z] dc539afda2c1: Pulling fs layer [2022-01-19T23:45:15.480Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T23:45:15.480Z] 9065ff56babe: Pulling fs layer [2022-01-19T23:45:15.480Z] d287ab97295c: Pulling fs layer [2022-01-19T23:45:15.480Z] dc539afda2c1: Waiting [2022-01-19T23:45:15.480Z] 9065ff56babe: Waiting [2022-01-19T23:45:15.480Z] d287ab97295c: Waiting [2022-01-19T23:45:15.480Z] 77bc0d833cb6: Waiting [2022-01-19T23:45:15.480Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T23:45:15.480Z] a1111a8f2ec3: Download complete [2022-01-19T23:45:15.480Z] dc539afda2c1: Verifying Checksum [2022-01-19T23:45:15.480Z] dc539afda2c1: Download complete [2022-01-19T23:45:15.480Z] ed53099fbce6: Verifying Checksum [2022-01-19T23:45:15.480Z] ed53099fbce6: Download complete [2022-01-19T23:45:15.480Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T23:45:15.480Z] 77bc0d833cb6: Download complete [2022-01-19T23:45:15.480Z] 9065ff56babe: Verifying Checksum [2022-01-19T23:45:15.480Z] 9065ff56babe: Download complete [2022-01-19T23:45:15.777Z] b4d181a07f80: Verifying Checksum [2022-01-19T23:45:15.777Z] b4d181a07f80: Download complete [2022-01-19T23:45:16.042Z] d287ab97295c: Verifying Checksum [2022-01-19T23:45:16.042Z] d287ab97295c: Download complete [2022-01-19T23:45:16.994Z] b4d181a07f80: Pull complete [2022-01-19T23:45:17.256Z] a1111a8f2ec3: Pull complete [2022-01-19T23:45:17.834Z] ed53099fbce6: Pull complete [2022-01-19T23:45:17.834Z] dc539afda2c1: Pull complete [2022-01-19T23:45:18.093Z] 77bc0d833cb6: Pull complete [2022-01-19T23:45:18.094Z] 9065ff56babe: Pull complete [2022-01-19T23:45:23.425Z] d287ab97295c: Pull complete [2022-01-19T23:45:23.425Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T23:45:23.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:45:23.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T23:45:23.490Z] prd-centos7-docker-4c-2g-2148 does not seem to be running inside a container [2022-01-19T23:45:23.523Z] $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T23:45:25.664Z] $ docker top 22f87a04d91bc9ad9233fc5adf4defed61fd896a13e74d98bc114056da324260 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:45:26.022Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T23:45:26.313Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T23:45:26.604Z] + ls /var/log/sa-host [2022-01-19T23:45:26.604Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T23:45:26.604Z] file_magic: OK [2022-01-19T23:45:26.604Z] HZ: Using current value: 100 [2022-01-19T23:45:26.604Z] file_header: OK [2022-01-19T23:45:26.604Z] 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 [2022-01-19T23:45:26.604Z] Statistics: [2022-01-19T23:45:26.604Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:45:26.604Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T23:45:26.604Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T23:45:26.604Z] file_magic: OK [2022-01-19T23:45:26.604Z] HZ: Using current value: 100 [2022-01-19T23:45:26.604Z] file_header: OK [2022-01-19T23:45:26.604Z] 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 [2022-01-19T23:45:26.604Z] Statistics: [2022-01-19T23:45:26.604Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:45:26.604Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:45:26.689Z] provisioning config files... [2022-01-19T23:45:26.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config5708487003248836601tmp [Pipeline] { [Pipeline] echo [2022-01-19T23:45:26.716Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:27.002Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T23:45:27.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:27.337Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T23:45:27.346Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:27.637Z] ---> sudo-logs.sh [2022-01-19T23:45:27.637Z] Archiving 'sudo' log.. [2022-01-19T23:45:27.637Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2148.novalocal: Name or service not known [2022-01-19T23:45:27.637Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2148.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T23:45:27.682Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:27.972Z] ---> job-cost.sh [2022-01-19T23:45:27.972Z] lf-activate-venv: SKIPPING [2022-01-19T23:45:27.972Z] DEBUG: total: 0.10999999940395355 [2022-01-19T23:45:27.972Z] INFO: Retrieving Stack Cost... [2022-01-19T23:45:28.231Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T23:45:28.491Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T23:45:28.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:45:28.792Z] ---> logs-deploy.sh [2022-01-19T23:45:28.792Z] lf-activate-venv: SKIPPING [2022-01-19T23:45:28.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3864/2 [2022-01-19T23:45:28.792Z] INFO: archiving workspace using pattern(s): [2022-01-19T23:45:29.361Z] Archives upload complete. [2022-01-19T23:45:29.622Z] INFO: archiving logs to Nexus