Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at 613ba3a9f074961a82087988d5f76ae29a1a6b1f rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 613ba3a9f074961a82087988d5f76ae29a1a6b1f Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5074338531904178447.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2854315618118184001.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13508814874966440814.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4415717006161222670.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh455569992002693535.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6348 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/26 [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/26 # 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/26@tmp/jenkins-gitclient-ssh7048608795204967906.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/26@tmp/jenkins-gitclient-ssh4943242383772832658.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 613ba3a9f074961a82087988d5f76ae29a1a6b1f into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 4193945249ced365f5f09e5aeb840cb88c1ebc05 Checking out Revision 4193945249ced365f5f09e5aeb840cb88c1ebc05 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # 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/26@tmp/jenkins-gitclient-ssh9218389903579964944.key > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4193945249ced365f5f09e5aeb840cb88c1ebc05 # timeout=10 Commit message: "Merge commit '613ba3a9f074961a82087988d5f76ae29a1a6b1f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 62541da2aa816bad1356c199eaf1fdcdceb3e71c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-03T20:29:17.540Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-03T20:29:17.605Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-03T20:29:17.620Z] ========================================================= [2022-03-03T20:29:17.620Z] EdgeX Global Pipelines Version Info [2022-03-03T20:29:17.620Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:29:18.746Z] ------------------- [2022-03-03T20:29:18.746Z] stable info: [2022-03-03T20:29:18.746Z] ------------------- [2022-03-03T20:29:18.746Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-03T20:29:18.746Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-03T20:29:18.746Z] Message: update stable to v1.0.220 [2022-03-03T20:29:19.322Z] ------------------- [2022-03-03T20:29:19.322Z] experimental info: [2022-03-03T20:29:19.322Z] ------------------- [2022-03-03T20:29:19.322Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-03T20:29:19.322Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-03T20:29:19.322Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-03T20:29:19.474Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-03T20:29:19.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-03T20:29:19.498Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-03T20:29:19.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-03T20:29:19.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-03T20:29:19.529Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-03T20:29:19.540Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-03T20:29:19.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-03T20:29:19.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-03T20:29:19.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-03T20:29:19.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-03T20:29:19.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-03T20:29:19.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-03T20:29:19.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-03T20:29:19.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-03T20:29:19.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-03T20:29:19.656Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-03T20:29:19.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-03T20:29:19.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-03T20:29:19.691Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-03T20:29:19.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-03T20:29:19.712Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-03T20:29:19.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-03-03T20:29:19.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-03-03T20:29:19.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-03-03T20:29:19.757Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4193945249ced365f5f09e5aeb840cb88c1ebc05 [Pipeline] echo [2022-03-03T20:29:19.770Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4193945 [Pipeline] echo [2022-03-03T20:29:19.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-03T20:29:19.826Z] provisioning config files... [2022-03-03T20:29:19.839Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/26@tmp/config3708473466643697095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:29:20.142Z] ---> docker-login.sh [2022-03-03T20:29:20.143Z] nexus3.edgexfoundry.org:10001 [2022-03-03T20:29:20.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:29:20.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:29:20.408Z] Configure a credential helper to remove this warning. See [2022-03-03T20:29:20.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:29:20.408Z] [2022-03-03T20:29:20.408Z] Login Succeeded [2022-03-03T20:29:20.408Z] nexus3.edgexfoundry.org:10002 [2022-03-03T20:29:20.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:29:20.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:29:20.408Z] Configure a credential helper to remove this warning. See [2022-03-03T20:29:20.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:29:20.408Z] [2022-03-03T20:29:20.408Z] Login Succeeded [2022-03-03T20:29:20.408Z] nexus3.edgexfoundry.org:10003 [2022-03-03T20:29:20.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:29:20.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:29:20.668Z] Configure a credential helper to remove this warning. See [2022-03-03T20:29:20.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:29:20.668Z] [2022-03-03T20:29:20.668Z] Login Succeeded [2022-03-03T20:29:20.668Z] nexus3.edgexfoundry.org:10004 [2022-03-03T20:29:20.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:29:20.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:29:20.668Z] Configure a credential helper to remove this warning. See [2022-03-03T20:29:20.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:29:20.668Z] [2022-03-03T20:29:20.668Z] Login Succeeded [2022-03-03T20:29:20.668Z] docker.io [2022-03-03T20:29:20.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:29:21.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:29:21.241Z] Configure a credential helper to remove this warning. See [2022-03-03T20:29:21.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:29:21.241Z] [2022-03-03T20:29:21.241Z] Login Succeeded [2022-03-03T20:29:21.241Z] ---> docker-login.sh ends [Pipeline] } [2022-03-03T20:29:21.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-03T20:29:21.566Z] ++ 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-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/core-command/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/core-data/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/core-metadata/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/support-notifications/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-03-03T20:29:21.566Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-03T20:29:21.566Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-03T20:29:21.566Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-03T20:29:21.566Z] ++ cut -d/ -f2 [2022-03-03T20:29:21.566Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-03T20:29:21.605Z] 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-03-03T20:29:21.965Z] + git rev-list -1 --merges 4193945249ced365f5f09e5aeb840cb88c1ebc05~1..4193945249ced365f5f09e5aeb840cb88c1ebc05 [Pipeline] echo [2022-03-03T20:29:21.978Z] -----------> git rev-list -1 --merges 4193945249ced365f5f09e5aeb840cb88c1ebc05~1..4193945249ced365f5f09e5aeb840cb88c1ebc05 4193945249ced365f5f09e5aeb840cb88c1ebc05 [2022-03-03T20:29:21.978Z] 4193945249ced365f5f09e5aeb840cb88c1ebc05 [false] [Pipeline] sh [2022-03-03T20:29:22.286Z] + git log --format=format:%s -1 4193945249ced365f5f09e5aeb840cb88c1ebc05 [Pipeline] echo [2022-03-03T20:29:22.307Z] ========================================================= [2022-03-03T20:29:22.307Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-03T20:29:22.307Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-03T20:29:22.858Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-03T20:29:22.858Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-03T20:29:22.858Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-03T20:29:22.858Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-03T20:29:22.858Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-03T20:29:22.858Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-03T20:29:22.858Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:29:23.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-03T20:29:23.288Z] [2022-03-03T20:29:23.288Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:29:23.601Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-03T20:29:23.601Z] latest: Pulling from edgex-devops/git-semver [2022-03-03T20:29:23.601Z] a0d0a0d46f8b: Pulling fs layer [2022-03-03T20:29:23.601Z] 3e5f54012d9b: Pulling fs layer [2022-03-03T20:29:23.601Z] 4c7163046ea9: Pulling fs layer [2022-03-03T20:29:23.601Z] 0c2d73faf560: Pulling fs layer [2022-03-03T20:29:23.601Z] 0c2d73faf560: Waiting [2022-03-03T20:29:23.601Z] 3e5f54012d9b: Verifying Checksum [2022-03-03T20:29:23.601Z] 3e5f54012d9b: Download complete [2022-03-03T20:29:23.601Z] a0d0a0d46f8b: Download complete [2022-03-03T20:29:23.876Z] 4c7163046ea9: Verifying Checksum [2022-03-03T20:29:23.876Z] 4c7163046ea9: Download complete [2022-03-03T20:29:23.876Z] 0c2d73faf560: Verifying Checksum [2022-03-03T20:29:23.876Z] 0c2d73faf560: Download complete [2022-03-03T20:29:23.876Z] a0d0a0d46f8b: Pull complete [2022-03-03T20:29:23.876Z] 3e5f54012d9b: Pull complete [2022-03-03T20:29:24.139Z] 4c7163046ea9: Pull complete [2022-03-03T20:29:24.400Z] 0c2d73faf560: Pull complete [2022-03-03T20:29:24.400Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-03T20:29:24.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-03T20:29:24.400Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-03T20:29:24.472Z] prd-centos7-docker-4c-2g-6348 does not seem to be running inside a container [2022-03-03T20:29:24.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-03T20:29:25.163Z] $ docker top 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-03T20:29:25.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-03T20:29:25.290Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-03T20:29:25.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-03T20:29:25.400Z] $ docker exec 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b ssh-agent [2022-03-03T20:29:25.499Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLiOgoi/agent.12 [2022-03-03T20:29:25.499Z] SSH_AGENT_PID=18 [2022-03-03T20:29:25.507Z] Running ssh-add (command line suppressed) [2022-03-03T20:29:25.596Z] Identity added: /w/workspace/edgex-go/26@tmp/private_key_5571310599047135360.key (/w/workspace/edgex-go/26@tmp/private_key_5571310599047135360.key) [2022-03-03T20:29:25.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-03T20:29:25.907Z] + git tag --points-at HEAD [Pipeline] } [2022-03-03T20:29:25.933Z] $ docker exec --env ******** --env ******** 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b ssh-agent -k [2022-03-03T20:29:26.028Z] unset SSH_AUTH_SOCK; [2022-03-03T20:29:26.028Z] unset SSH_AGENT_PID; [2022-03-03T20:29:26.028Z] echo Agent pid 18 killed; [2022-03-03T20:29:26.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-03T20:29:26.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-03T20:29:26.063Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-03T20:29:26.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-03T20:29:26.197Z] $ docker exec 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b ssh-agent [2022-03-03T20:29:26.303Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJeGJih/agent.51 [2022-03-03T20:29:26.303Z] SSH_AGENT_PID=58 [2022-03-03T20:29:26.309Z] Running ssh-add (command line suppressed) [2022-03-03T20:29:26.387Z] Identity added: /w/workspace/edgex-go/26@tmp/private_key_1097299330033239193.key (/w/workspace/edgex-go/26@tmp/private_key_1097299330033239193.key) [2022-03-03T20:29:26.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-03T20:29:26.686Z] + git semver init [2022-03-03T20:29:26.686Z] # -> Open(): unable to determine branch for HEAD [2022-03-03T20:29:26.686Z] # $GIT_DIR = /w/workspace/edgex-go/26/.git [2022-03-03T20:29:26.686Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/26 [2022-03-03T20:29:26.686Z] # $SEMVER_REMOTE_NAME = origin [2022-03-03T20:29:26.686Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-03T20:29:26.686Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-03T20:29:26.686Z] # $SEMVER_BRANCH = PR-3842 [2022-03-03T20:29:26.686Z] # $SEMVER_TEMP = /tmp/semver-975821236 [2022-03-03T20:29:26.686Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-03T20:29:41.645Z] # '/tmp/semver-975821236' -> '/w/workspace/edgex-go/26/.semver' [2022-03-03T20:29:41.645Z] # -> Force: false [2022-03-03T20:29:41.645Z] # $SEMVER_DIR = /w/workspace/edgex-go/26/.semver [Pipeline] } [2022-03-03T20:29:41.657Z] $ docker exec --env ******** --env ******** 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b ssh-agent -k [2022-03-03T20:29:41.743Z] unset SSH_AUTH_SOCK; [2022-03-03T20:29:41.743Z] unset SSH_AGENT_PID; [2022-03-03T20:29:41.743Z] echo Agent pid 58 killed; [2022-03-03T20:29:41.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-03T20:29:42.063Z] + git semver [Pipeline] } [2022-03-03T20:29:42.076Z] $ docker stop --time=1 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b [2022-03-03T20:29:44.289Z] $ docker rm -f 0d2c2d4cfc8af6c89604b9729022d338a2182afa39307e529d5eb79278105a7b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-03T20:29:44.659Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-03T20:29:44.879Z] Stashed 1 file(s) [Pipeline] echo [2022-03-03T20:29:44.882Z] [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-03-03T20:29:45.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-03T20:29:45.022Z] ========================================================= [2022-03-03T20:29:45.022Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-03T20:29:45.022Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:29:45.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-03T20:29:45.317Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-03T20:29:45.317Z] 59bf1c3509f3: Pulling fs layer [2022-03-03T20:29:45.317Z] 666ba61612fd: Pulling fs layer [2022-03-03T20:29:45.317Z] 8ed8ca486205: Pulling fs layer [2022-03-03T20:29:45.317Z] 4fe6c5a15a65: Pulling fs layer [2022-03-03T20:29:45.317Z] 22a0e8bec74d: Pulling fs layer [2022-03-03T20:29:45.317Z] 640e595b4fbd: Pulling fs layer [2022-03-03T20:29:45.317Z] 763cafe07f6e: Pulling fs layer [2022-03-03T20:29:45.317Z] 0c0b528cf693: Pulling fs layer [2022-03-03T20:29:45.317Z] 10935f4eaf8b: Pulling fs layer [2022-03-03T20:29:45.317Z] 763cafe07f6e: Waiting [2022-03-03T20:29:45.317Z] 4fe6c5a15a65: Waiting [2022-03-03T20:29:45.317Z] 0c0b528cf693: Waiting [2022-03-03T20:29:45.317Z] 22a0e8bec74d: Waiting [2022-03-03T20:29:45.317Z] 10935f4eaf8b: Waiting [2022-03-03T20:29:45.317Z] 640e595b4fbd: Waiting [2022-03-03T20:29:45.317Z] 8ed8ca486205: Verifying Checksum [2022-03-03T20:29:45.317Z] 8ed8ca486205: Download complete [2022-03-03T20:29:45.317Z] 666ba61612fd: Verifying Checksum [2022-03-03T20:29:45.317Z] 666ba61612fd: Download complete [2022-03-03T20:29:45.317Z] 22a0e8bec74d: Verifying Checksum [2022-03-03T20:29:45.317Z] 22a0e8bec74d: Download complete [2022-03-03T20:29:45.317Z] 640e595b4fbd: Download complete [2022-03-03T20:29:45.317Z] 763cafe07f6e: Verifying Checksum [2022-03-03T20:29:45.317Z] 763cafe07f6e: Download complete [2022-03-03T20:29:45.317Z] 59bf1c3509f3: Verifying Checksum [2022-03-03T20:29:45.317Z] 59bf1c3509f3: Download complete [2022-03-03T20:29:45.583Z] 0c0b528cf693: Verifying Checksum [2022-03-03T20:29:45.583Z] 0c0b528cf693: Download complete [2022-03-03T20:29:45.848Z] 59bf1c3509f3: Pull complete [2022-03-03T20:29:45.848Z] 4fe6c5a15a65: Verifying Checksum [2022-03-03T20:29:45.848Z] 4fe6c5a15a65: Download complete [2022-03-03T20:29:46.113Z] 10935f4eaf8b: Verifying Checksum [2022-03-03T20:29:46.113Z] 10935f4eaf8b: Download complete [2022-03-03T20:29:46.113Z] 666ba61612fd: Pull complete [2022-03-03T20:29:46.113Z] 8ed8ca486205: Pull complete [2022-03-03T20:29:50.356Z] 4fe6c5a15a65: Pull complete [2022-03-03T20:29:50.356Z] 22a0e8bec74d: Pull complete [2022-03-03T20:29:50.356Z] 640e595b4fbd: Pull complete [2022-03-03T20:29:50.356Z] 763cafe07f6e: Pull complete [2022-03-03T20:29:50.356Z] 0c0b528cf693: Pull complete [2022-03-03T20:29:52.938Z] 10935f4eaf8b: Pull complete [2022-03-03T20:29:52.938Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-03T20:29:52.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-03T20:29:52.938Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:29:53.265Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-03T20:29:53.265Z] WORKDIR /edgex [2022-03-03T20:29:53.265Z] COPY go.mod . [2022-03-03T20:29:53.265Z] RUN go mod download' [2022-03-03T20:29:53.265Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-03T20:29:55.864Z] Sending build context to Docker daemon 334.2MB [2022-03-03T20:29:55.864Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-03T20:29:55.864Z] ---> 99d49a6021b9 [2022-03-03T20:29:55.864Z] Step 2/4 : WORKDIR /edgex [2022-03-03T20:29:56.813Z] ---> Running in 616a3c08341a [2022-03-03T20:29:56.813Z] Removing intermediate container 616a3c08341a [2022-03-03T20:29:56.813Z] ---> ef9af28ed745 [2022-03-03T20:29:56.813Z] Step 3/4 : COPY go.mod . [2022-03-03T20:29:56.813Z] ---> 6c09912808d5 [2022-03-03T20:29:56.813Z] Step 4/4 : RUN go mod download [2022-03-03T20:29:56.813Z] ---> Running in 7da241196b0f [2022-03-03T20:29:59.973Z] Still waiting to schedule task [2022-03-03T20:29:59.973Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-03T20:30:35.618Z] Removing intermediate container 7da241196b0f [2022-03-03T20:30:35.618Z] ---> 8b4a5eaea5b2 [2022-03-03T20:30:35.618Z] Successfully built 8b4a5eaea5b2 [2022-03-03T20:30:35.618Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:30:35.919Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-03T20:30:35.919Z] . [Pipeline] withDockerContainer [2022-03-03T20:30:35.984Z] prd-centos7-docker-4c-2g-6348 does not seem to be running inside a container [2022-03-03T20:30:36.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-03T20:30:36.384Z] $ docker top 1ff7872db937d408c95986aee610d7097dff83b2b67b5717a432379db0c0a42f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-03T20:30:36.740Z] + go version [2022-03-03T20:30:36.740Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-03T20:30:36.754Z] $ docker stop --time=1 1ff7872db937d408c95986aee610d7097dff83b2b67b5717a432379db0c0a42f [2022-03-03T20:30:37.947Z] $ docker rm -f 1ff7872db937d408c95986aee610d7097dff83b2b67b5717a432379db0c0a42f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:30:38.338Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-03T20:30:38.338Z] . [Pipeline] withDockerContainer [2022-03-03T20:30:38.403Z] prd-centos7-docker-4c-2g-6348 does not seem to be running inside a container [2022-03-03T20:30:38.442Z] $ 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/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-03T20:30:38.759Z] $ docker top 3b62061d7c6cffab5cecc7bcf47b9d3522c964b49f8e59caca70c6c61c722b6b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-03T20:30:38.830Z] ========================================================= [2022-03-03T20:30:38.830Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-03T20:30:38.830Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:30:39.129Z] + make test [2022-03-03T20:30:39.129Z] go mod tidy [2022-03-03T20:30:39.390Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-03T20:30:39.965Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1503 [2022-03-03T20:30:44.204Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1503 [2022-03-03T20:30:44.204Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-03T20:30:44.204Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-03T20:30:50.823Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-03T20:31:17.580Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-03T20:31:20.899Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-03T20:31:20.899Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-03T20:31:21.171Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-03T20:31:23.106Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-03T20:31:24.055Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-03T20:31:24.055Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-03T20:31:24.055Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-03T20:31:28.311Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-03T20:31:28.311Z] /w/workspace/edgex-go/26/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-03T20:31:28.311Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-03T20:31:28.341Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6350 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-03-03T20:31:28.351Z] Running in /w/workspace/edgex-go/26 [Pipeline] { [Pipeline] checkout [2022-03-03T20:31:28.539Z] The recommended git tool is: git [2022-03-03T20:31:29.713Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.048s coverage: 28.7% of statements [2022-03-03T20:31:30.298Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.054s coverage: 98.5% of statements [2022-03-03T20:31:30.874Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.053s coverage: 44.7% of statements [2022-03-03T20:31:31.841Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.122s coverage: 89.5% of statements [2022-03-03T20:31:32.785Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.050s coverage: 84.4% of statements [2022-03-03T20:31:33.391Z] using credential edgex-jenkins-ssh [2022-03-03T20:31:33.408Z] Cloning the remote Git repository [2022-03-03T20:31:33.470Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-03T20:31:33.539Z] > git init /w/workspace/edgex-go/26 # timeout=10 [2022-03-03T20:31:33.745Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.259s coverage: 94.2% of statements [2022-03-03T20:31:33.745Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.053s coverage: 59.1% of statements [2022-03-03T20:31:34.010Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements [2022-03-03T20:31:33.625Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-03T20:31:33.625Z] > git --version # timeout=10 [2022-03-03T20:31:33.643Z] > git --version # 'git version 2.17.1' [2022-03-03T20:31:33.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-03T20:31:33.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-03T20:31:34.969Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.050s coverage: 0.9% of statements [2022-03-03T20:31:34.970Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2022-03-03T20:31:35.235Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.051s coverage: 21.7% of statements [2022-03-03T20:31:35.502Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.048s coverage: 47.1% of statements [2022-03-03T20:31:35.502Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.049s coverage: 79.5% of statements [2022-03-03T20:31:36.087Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.053s coverage: 94.1% of statements [2022-03-03T20:31:36.087Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.065s coverage: 96.3% of statements [2022-03-03T20:31:36.661Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements [2022-03-03T20:31:48.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.064s coverage: 94.4% of statements [2022-03-03T20:31:48.887Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements [2022-03-03T20:31:50.021Z] Merging remotes/origin/main commit 613ba3a9f074961a82087988d5f76ae29a1a6b1f into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-03-03T20:31:50.637Z] Merge succeeded, producing 78ddf839a574bb689bbc5453e2346f3c37ebe332 [2022-03-03T20:31:50.637Z] Checking out Revision 78ddf839a574bb689bbc5453e2346f3c37ebe332 (PR-3842) [2022-03-03T20:31:49.076Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-03T20:31:49.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-03T20:31:49.124Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-03T20:31:49.152Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-03T20:31:49.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-03T20:31:49.165Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-03T20:31:50.040Z] > git config core.sparsecheckout # timeout=10 [2022-03-03T20:31:50.062Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-03-03T20:31:50.290Z] > git remote # timeout=10 [2022-03-03T20:31:50.305Z] > git config --get remote.origin.url # timeout=10 [2022-03-03T20:31:50.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-03T20:31:50.327Z] > git merge 613ba3a9f074961a82087988d5f76ae29a1a6b1f # timeout=10 [2022-03-03T20:31:50.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-03T20:31:50.647Z] > git config core.sparsecheckout # timeout=10 [2022-03-03T20:31:50.658Z] > git checkout -f 78ddf839a574bb689bbc5453e2346f3c37ebe332 # timeout=10 [2022-03-03T20:31:54.876Z] Commit message: "Merge commit '613ba3a9f074961a82087988d5f76ae29a1a6b1f' into HEAD" [2022-03-03T20:31:54.901Z] First time build. Skipping changelog. [2022-03-03T20:31:54.888Z] > git rev-list --no-walk 62541da2aa816bad1356c199eaf1fdcdceb3e71c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-03T20:31:55.486Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.199s coverage: 82.5% of statements [2022-03-03T20:31:55.736Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-03T20:31:55.736Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-03T20:31:55.737Z] Dload Upload Total Spent Left Speed [2022-03-03T20:31:55.737Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh [2022-03-03T20:31:56.234Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-03T20:31:56.575Z] + sudo tee /etc/docker/daemon.new+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-03-03T20:31:56.575Z] /etc/docker/daemon.json [2022-03-03T20:31:56.575Z] { [2022-03-03T20:31:56.575Z] "registry-mirrors": [ [2022-03-03T20:31:56.575Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-03T20:31:56.575Z] ], [2022-03-03T20:31:56.575Z] "bip": "10.250.0.254/24", [2022-03-03T20:31:56.575Z] "hosts": [ [2022-03-03T20:31:56.575Z] "tcp://0.0.0.0:5555", [2022-03-03T20:31:56.575Z] "unix:///var/run/docker.sock" [2022-03-03T20:31:56.575Z] ], [2022-03-03T20:31:56.575Z] "mtu": 1458, [2022-03-03T20:31:56.575Z] "selinux-enabled": true, [2022-03-03T20:31:56.575Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-03T20:31:56.575Z] } [Pipeline] sh [2022-03-03T20:31:56.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-03T20:31:57.324Z] + sudo service docker restart [2022-03-03T20:32:10.398Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.082s coverage: 92.9% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.066s coverage: 87.2% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.056s coverage: 100.0% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.065s coverage: 80.0% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements [2022-03-03T20:32:10.399Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.137s coverage: 91.2% of statements [2022-03-03T20:32:10.667Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.147s coverage: 64.4% of statements [2022-03-03T20:32:10.933Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements [2022-03-03T20:32:11.194Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.026s coverage: 89.4% of statements [2022-03-03T20:32:11.194Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2022-03-03T20:32:11.786Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements [2022-03-03T20:32:11.786Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements [2022-03-03T20:32:12.765Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.262s coverage: 65.4% of statements [2022-03-03T20:32:13.032Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.117s coverage: 43.8% of statements [2022-03-03T20:32:13.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.052s coverage: 89.5% of statements [2022-03-03T20:32:13.576Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.049s coverage: 84.8% of statements [2022-03-03T20:32:13.576Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-03T20:32:13.576Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-03T20:32:14.174Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.076s coverage: 63.2% of statements [2022-03-03T20:32:14.749Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.116s coverage: 97.7% of statements [2022-03-03T20:32:14.749Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.048s coverage: 28.9% of statements [2022-03-03T20:32:15.013Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.047s coverage: 100.0% of statements [2022-03-03T20:32:15.013Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-03-03T20:32:15.274Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-03T20:32:15.288Z] $ docker stop --time=1 3b62061d7c6cffab5cecc7bcf47b9d3522c964b49f8e59caca70c6c61c722b6b [2022-03-03T20:32:16.645Z] $ docker rm -f 3b62061d7c6cffab5cecc7bcf47b9d3522c964b49f8e59caca70c6c61c722b6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2022-03-03T20:32:17.635Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [2022-03-03T20:32:17.664Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/26@tmp/config1734603121774554109tmp [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-03T20:32:17.844Z] Failed in branch amd64 [2022-03-03T20:32:18.041Z] ---> docker-login.sh [2022-03-03T20:32:18.041Z] nexus3.edgexfoundry.org:10001 [2022-03-03T20:32:18.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:32:18.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:32:18.914Z] Configure a credential helper to remove this warning. See [2022-03-03T20:32:18.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:32:18.914Z] [2022-03-03T20:32:18.914Z] Login Succeeded [2022-03-03T20:32:18.914Z] nexus3.edgexfoundry.org:10002 [2022-03-03T20:32:19.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:32:19.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:32:19.464Z] Configure a credential helper to remove this warning. See [2022-03-03T20:32:19.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:32:19.464Z] [2022-03-03T20:32:19.464Z] Login Succeeded [2022-03-03T20:32:19.464Z] nexus3.edgexfoundry.org:10003 [2022-03-03T20:32:19.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:32:20.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:32:20.012Z] Configure a credential helper to remove this warning. See [2022-03-03T20:32:20.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:32:20.012Z] [2022-03-03T20:32:20.012Z] Login Succeeded [2022-03-03T20:32:20.012Z] nexus3.edgexfoundry.org:10004 [2022-03-03T20:32:20.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:32:20.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:32:20.284Z] Configure a credential helper to remove this warning. See [2022-03-03T20:32:20.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:32:20.284Z] [2022-03-03T20:32:20.284Z] Login Succeeded [2022-03-03T20:32:20.284Z] docker.io [2022-03-03T20:32:20.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-03T20:32:21.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-03T20:32:21.152Z] Configure a credential helper to remove this warning. See [2022-03-03T20:32:21.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-03T20:32:21.152Z] [2022-03-03T20:32:21.152Z] Login Succeeded [2022-03-03T20:32:21.152Z] ---> docker-login.sh ends [Pipeline] } [2022-03-03T20:32:21.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-03T20:32:21.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-03T20:32:21.682Z] ========================================================= [2022-03-03T20:32:21.682Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-03T20:32:21.682Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:32:22.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-03T20:32:22.291Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-03T20:32:22.291Z] 9b3977197b4f: Pulling fs layer [2022-03-03T20:32:22.291Z] 1a89e8eeedd5: Pulling fs layer [2022-03-03T20:32:22.291Z] 94645a83ff95: Pulling fs layer [2022-03-03T20:32:22.291Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-03T20:32:22.291Z] 0c92f367c5e7: Pulling fs layer [2022-03-03T20:32:22.291Z] f7c0051592d6: Pulling fs layer [2022-03-03T20:32:22.291Z] a227ed2f7395: Pulling fs layer [2022-03-03T20:32:22.291Z] 7b1c46037f91: Pulling fs layer [2022-03-03T20:32:22.291Z] 3f3a8bcf1eab: Waiting [2022-03-03T20:32:22.291Z] f7c0051592d6: Waiting [2022-03-03T20:32:22.291Z] a227ed2f7395: Waiting [2022-03-03T20:32:22.291Z] 7b1c46037f91: Waiting [2022-03-03T20:32:22.291Z] 0c92f367c5e7: Waiting [2022-03-03T20:32:22.291Z] 94645a83ff95: Verifying Checksum [2022-03-03T20:32:22.291Z] 94645a83ff95: Download complete [2022-03-03T20:32:22.291Z] 1a89e8eeedd5: Verifying Checksum [2022-03-03T20:32:22.291Z] 1a89e8eeedd5: Download complete [2022-03-03T20:32:22.291Z] 0c92f367c5e7: Verifying Checksum [2022-03-03T20:32:22.291Z] 0c92f367c5e7: Download complete [2022-03-03T20:32:22.291Z] f7c0051592d6: Verifying Checksum [2022-03-03T20:32:22.291Z] f7c0051592d6: Download complete [2022-03-03T20:32:22.291Z] 9b3977197b4f: Verifying Checksum [2022-03-03T20:32:22.291Z] 9b3977197b4f: Download complete [2022-03-03T20:32:22.291Z] a227ed2f7395: Verifying Checksum [2022-03-03T20:32:22.291Z] a227ed2f7395: Download complete [2022-03-03T20:32:22.908Z] 9b3977197b4f: Pull complete [2022-03-03T20:32:23.508Z] 1a89e8eeedd5: Pull complete [2022-03-03T20:32:24.120Z] 94645a83ff95: Pull complete [2022-03-03T20:32:24.120Z] 7b1c46037f91: Verifying Checksum [2022-03-03T20:32:24.120Z] 7b1c46037f91: Download complete [2022-03-03T20:32:24.725Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-03T20:32:24.725Z] 3f3a8bcf1eab: Download complete [2022-03-03T20:32:37.107Z] 3f3a8bcf1eab: Pull complete [2022-03-03T20:32:37.107Z] 0c92f367c5e7: Pull complete [2022-03-03T20:32:37.107Z] f7c0051592d6: Pull complete [2022-03-03T20:32:37.107Z] a227ed2f7395: Pull complete [2022-03-03T20:32:42.505Z] 7b1c46037f91: Pull complete [2022-03-03T20:32:42.505Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-03T20:32:42.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-03T20:32:42.505Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:32:42.855Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-03T20:32:42.855Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-03T20:32:42.855Z] WORKDIR /edgex [2022-03-03T20:32:42.855Z] COPY go.mod . [2022-03-03T20:32:42.855Z] RUN go mod download [2022-03-03T20:32:45.488Z] Sending build context to Docker daemon 168.8MB [2022-03-03T20:32:45.488Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-03T20:32:45.488Z] ---> f79e39bc4007 [2022-03-03T20:32:45.488Z] Step 2/4 : WORKDIR /edgex [2022-03-03T20:32:47.459Z] ---> Running in 2cde10b421c2 [2022-03-03T20:32:47.732Z] Removing intermediate container 2cde10b421c2 [2022-03-03T20:32:47.732Z] ---> 0a04e8bd3b7d [2022-03-03T20:32:47.732Z] Step 3/4 : COPY go.mod . [2022-03-03T20:32:48.325Z] ---> c6cba499b315 [2022-03-03T20:32:48.325Z] Step 4/4 : RUN go mod download [2022-03-03T20:32:48.325Z] ---> Running in b7ed4f8e8070 [2022-03-03T20:34:10.123Z] Removing intermediate container b7ed4f8e8070 [2022-03-03T20:34:10.123Z] ---> 2f141f1741dd [2022-03-03T20:34:10.123Z] Successfully built 2f141f1741dd [2022-03-03T20:34:10.123Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:34:10.463Z] + docker inspect -f . ci-base-image-arm64 [2022-03-03T20:34:10.463Z] . [Pipeline] withDockerContainer [2022-03-03T20:34:10.701Z] prd-ubuntu18.04-docker-arm64-4c-16g-6350 does not seem to be running inside a container [2022-03-03T20:34:10.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-03T20:34:12.223Z] $ docker top 72949483d06bbbe3d0547eb23b453d01f9c753ff5f93b0377dfbb1d093b3dff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-03T20:34:13.109Z] + go version [2022-03-03T20:34:13.109Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-03T20:34:13.135Z] $ docker stop --time=1 72949483d06bbbe3d0547eb23b453d01f9c753ff5f93b0377dfbb1d093b3dff8 [2022-03-03T20:34:14.797Z] $ docker rm -f 72949483d06bbbe3d0547eb23b453d01f9c753ff5f93b0377dfbb1d093b3dff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:34:15.431Z] + docker inspect -f . ci-base-image-arm64 [2022-03-03T20:34:15.431Z] . [Pipeline] withDockerContainer [2022-03-03T20:34:15.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-6350 does not seem to be running inside a container [2022-03-03T20:34:15.753Z] $ 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/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-03T20:34:17.066Z] $ docker top 39fcda3c669b509fb314e2baa5fde1ccc4e2c591558a28477f6e652726119f5c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-03T20:34:17.342Z] ========================================================= [2022-03-03T20:34:17.342Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-03T20:34:17.342Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-03T20:34:18.000Z] + make test [2022-03-03T20:34:18.000Z] go mod tidy [2022-03-03T20:34:18.600Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-03T20:34:19.197Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1503 [2022-03-03T20:34:41.354Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1503 [2022-03-03T20:34:41.354Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-03T20:34:41.354Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-03T20:35:13.700Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-03T20:36:21.782Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-03T20:36:31.971Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-03T20:36:31.971Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-03T20:36:31.971Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-03T20:36:38.712Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-03T20:36:38.988Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-03T20:36:38.988Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-03T20:36:38.988Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-03T20:37:01.177Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-03T20:37:01.177Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-03T20:37:01.178Z] /w/workspace/edgex-go/26/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-03T20:37:01.178Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-03T20:37:01.178Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.180s coverage: 28.7% of statements [2022-03-03T20:37:01.178Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.318s coverage: 98.5% of statements [2022-03-03T20:37:01.178Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.389s coverage: 44.7% of statements [2022-03-03T20:37:01.780Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.714s coverage: 89.5% of statements [2022-03-03T20:37:05.150Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.442s coverage: 84.4% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.900s coverage: 94.2% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.213s coverage: 59.1% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.221s coverage: 60.0% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.386s coverage: 0.9% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.201s coverage: 58.8% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.189s coverage: 21.7% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.246s coverage: 47.1% of statements [2022-03-03T20:37:11.902Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.253s coverage: 79.5% of statements [2022-03-03T20:37:12.180Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.206s coverage: 94.1% of statements [2022-03-03T20:37:14.168Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.249s coverage: 96.3% of statements [2022-03-03T20:37:14.168Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.180s coverage: 87.5% of statements [2022-03-03T20:37:29.261Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.272s coverage: 94.4% of statements [2022-03-03T20:37:29.261Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.243s coverage: 44.8% of statements [2022-03-03T20:37:31.884Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.650s coverage: 82.5% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.250s coverage: 92.9% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.063s coverage: 65.1% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.192s coverage: 87.2% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.172s coverage: 100.0% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.285s coverage: 58.8% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.260s coverage: 80.0% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.218s coverage: 87.2% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.266s coverage: 85.4% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.734s coverage: 91.2% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.722s coverage: 64.4% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.187s coverage: 100.0% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.097s coverage: 89.4% of statements [2022-03-03T20:37:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.058s coverage: 100.0% of statements [2022-03-03T20:37:40.474Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.062s coverage: 73.7% of statements [2022-03-03T20:37:40.750Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2022-03-03T20:37:46.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.337s coverage: 65.4% of statements [2022-03-03T20:37:47.611Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.754s coverage: 43.8% of statements [2022-03-03T20:37:47.611Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.248s coverage: 89.5% of statements [2022-03-03T20:37:47.611Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.247s coverage: 84.8% of statements [2022-03-03T20:37:47.611Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-03T20:37:47.611Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-03T20:37:48.210Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.257s coverage: 63.2% of statements [2022-03-03T20:37:50.831Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.405s coverage: 97.7% of statements [2022-03-03T20:37:50.831Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.199s coverage: 28.9% of statements [2022-03-03T20:37:50.831Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.184s coverage: 100.0% of statements [2022-03-03T20:37:50.831Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.081s coverage: 96.9% of statements [2022-03-03T20:37:51.423Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-03T20:37:51.442Z] $ docker stop --time=1 39fcda3c669b509fb314e2baa5fde1ccc4e2c591558a28477f6e652726119f5c [2022-03-03T20:37:53.426Z] $ docker rm -f 39fcda3c669b509fb314e2baa5fde1ccc4e2c591558a28477f6e652726119f5c [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-03-03T20:37:58.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-03T20:37:58.100Z] [2022-03-03T20:37:58.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:37:58.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-03T20:37:58.720Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-03T20:37:58.720Z] 8998bd30e6a1: Pulling fs layer [2022-03-03T20:37:58.720Z] 04944245beec: Pulling fs layer [2022-03-03T20:37:58.720Z] 699f458cf7ca: Pulling fs layer [2022-03-03T20:37:58.720Z] 765212b225bb: Pulling fs layer [2022-03-03T20:37:58.720Z] f23df028b6ca: Pulling fs layer [2022-03-03T20:37:58.720Z] d65c8cfc05b1: Pulling fs layer [2022-03-03T20:37:58.720Z] 2437ff75d9bd: Pulling fs layer [2022-03-03T20:37:58.720Z] f23df028b6ca: Waiting [2022-03-03T20:37:58.720Z] d65c8cfc05b1: Waiting [2022-03-03T20:37:58.720Z] 2437ff75d9bd: Waiting [2022-03-03T20:37:58.720Z] 765212b225bb: Waiting [2022-03-03T20:37:58.720Z] 04944245beec: Verifying Checksum [2022-03-03T20:37:58.720Z] 04944245beec: Download complete [2022-03-03T20:37:58.720Z] 765212b225bb: Verifying Checksum [2022-03-03T20:37:58.720Z] 765212b225bb: Download complete [2022-03-03T20:37:58.720Z] f23df028b6ca: Verifying Checksum [2022-03-03T20:37:58.720Z] f23df028b6ca: Download complete [2022-03-03T20:37:58.995Z] d65c8cfc05b1: Verifying Checksum [2022-03-03T20:37:58.995Z] d65c8cfc05b1: Download complete [2022-03-03T20:37:58.995Z] 699f458cf7ca: Verifying Checksum [2022-03-03T20:37:58.995Z] 699f458cf7ca: Download complete [2022-03-03T20:37:59.272Z] 8998bd30e6a1: Verifying Checksum [2022-03-03T20:37:59.272Z] 8998bd30e6a1: Download complete [2022-03-03T20:38:01.889Z] 2437ff75d9bd: Verifying Checksum [2022-03-03T20:38:01.889Z] 2437ff75d9bd: Download complete [2022-03-03T20:38:03.325Z] 8998bd30e6a1: Pull complete [2022-03-03T20:38:03.915Z] 04944245beec: Pull complete [2022-03-03T20:38:05.347Z] 699f458cf7ca: Pull complete [2022-03-03T20:38:05.620Z] 765212b225bb: Pull complete [2022-03-03T20:38:06.595Z] f23df028b6ca: Pull complete [2022-03-03T20:38:06.865Z] d65c8cfc05b1: Pull complete [2022-03-03T20:38:21.962Z] 2437ff75d9bd: Pull complete [2022-03-03T20:38:21.962Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-03T20:38:21.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-03T20:38:21.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-03T20:38:22.200Z] prd-ubuntu18.04-docker-arm64-4c-16g-6350 does not seem to be running inside a container [2022-03-03T20:38:22.274Z] $ 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/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-03T20:38:25.086Z] $ docker top 29c2765ccc09d9b2f5f018319475f6286d2278ab07b7647dcc422f9913a5b184 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:26.065Z] ---> job-cost.sh [2022-03-03T20:38:26.065Z] lf-activate-venv: SKIPPING [2022-03-03T20:38:26.065Z] INFO: No Stack... [2022-03-03T20:38:26.657Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-03T20:38:27.251Z] INFO: Archiving Costs [Pipeline] sh [2022-03-03T20:38:27.909Z] + cut -d, -f6 [2022-03-03T20:38:27.909Z] + cat /w/workspace/edgex-go/26/archives/cost.csv [Pipeline] lock [2022-03-03T20:38:27.968Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-26-stack-cost] [2022-03-03T20:38:27.974Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-26-stack-cost] did not exist. Created. [2022-03-03T20:38:27.974Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-03T20:38:28.634Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-03T20:38:29.316Z] Stashed 1 file(s) [Pipeline] } [2022-03-03T20:38:29.323Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-03T20:38:29.337Z] $ docker stop --time=1 29c2765ccc09d9b2f5f018319475f6286d2278ab07b7647dcc422f9913a5b184 [2022-03-03T20:38:30.872Z] $ docker rm -f 29c2765ccc09d9b2f5f018319475f6286d2278ab07b7647dcc422f9913a5b184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-03T20:38:31.227Z] 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-03-03T20:38:31.849Z] + '[' -d /w/workspace/edgex-go/26/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:32.146Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:32.708Z] ---> package-listing.sh [2022-03-03T20:38:32.708Z] ++ facter osfamily [2022-03-03T20:38:32.708Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-03T20:38:32.971Z] + OS_FAMILY=redhat [2022-03-03T20:38:32.971Z] + workspace=/w/workspace/edgex-go/26 [2022-03-03T20:38:32.971Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-03T20:38:32.971Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-03T20:38:32.971Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-03T20:38:32.971Z] + PACKAGES=/tmp/packages_start.txt [2022-03-03T20:38:32.971Z] + '[' /w/workspace/edgex-go/26 ']' [2022-03-03T20:38:32.971Z] + PACKAGES=/tmp/packages_end.txt [2022-03-03T20:38:32.971Z] + case "${OS_FAMILY}" in [2022-03-03T20:38:32.971Z] + rpm -qa [2022-03-03T20:38:32.971Z] + sort [2022-03-03T20:38:33.542Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-03T20:38:33.542Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-03T20:38:33.542Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-03T20:38:33.542Z] + '[' /w/workspace/edgex-go/26 ']' [2022-03-03T20:38:33.542Z] + mkdir -p /w/workspace/edgex-go/26/archives/ [2022-03-03T20:38:33.542Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/26/archives/ [Pipeline] echo [2022-03-03T20:38:33.555Z] 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/26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-03T20:38:33.839Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:38:34.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-03T20:38:34.442Z] [2022-03-03T20:38:34.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-03T20:38:34.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-03T20:38:34.939Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-03T20:38:34.939Z] 5eb5b503b376: Pulling fs layer [2022-03-03T20:38:34.939Z] 5c69ac0246d0: Pulling fs layer [2022-03-03T20:38:34.939Z] ec43610c2a17: Pulling fs layer [2022-03-03T20:38:34.939Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-03T20:38:34.939Z] 33b1e0a273af: Pulling fs layer [2022-03-03T20:38:34.939Z] 5d3b04190fa2: Pulling fs layer [2022-03-03T20:38:34.939Z] 2f39f015ded8: Pulling fs layer [2022-03-03T20:38:34.939Z] 33b1e0a273af: Waiting [2022-03-03T20:38:34.939Z] 5d3b04190fa2: Waiting [2022-03-03T20:38:34.939Z] 2f39f015ded8: Waiting [2022-03-03T20:38:34.939Z] 3a2ae6a8a46f: Waiting [2022-03-03T20:38:34.939Z] 5c69ac0246d0: Verifying Checksum [2022-03-03T20:38:34.939Z] 5c69ac0246d0: Download complete [2022-03-03T20:38:34.939Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-03T20:38:34.939Z] 3a2ae6a8a46f: Download complete [2022-03-03T20:38:34.939Z] 33b1e0a273af: Verifying Checksum [2022-03-03T20:38:34.939Z] 33b1e0a273af: Download complete [2022-03-03T20:38:34.939Z] 5d3b04190fa2: Verifying Checksum [2022-03-03T20:38:34.939Z] 5d3b04190fa2: Download complete [2022-03-03T20:38:34.939Z] ec43610c2a17: Verifying Checksum [2022-03-03T20:38:34.939Z] ec43610c2a17: Download complete [2022-03-03T20:38:35.305Z] 5eb5b503b376: Verifying Checksum [2022-03-03T20:38:35.305Z] 5eb5b503b376: Download complete [2022-03-03T20:38:35.595Z] 2f39f015ded8: Verifying Checksum [2022-03-03T20:38:35.596Z] 2f39f015ded8: Download complete [2022-03-03T20:38:37.018Z] 5eb5b503b376: Pull complete [2022-03-03T20:38:37.018Z] 5c69ac0246d0: Pull complete [2022-03-03T20:38:37.597Z] ec43610c2a17: Pull complete [2022-03-03T20:38:37.597Z] 3a2ae6a8a46f: Pull complete [2022-03-03T20:38:37.861Z] 33b1e0a273af: Pull complete [2022-03-03T20:38:37.861Z] 5d3b04190fa2: Pull complete [2022-03-03T20:38:43.163Z] 2f39f015ded8: Pull complete [2022-03-03T20:38:43.163Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-03T20:38:43.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-03T20:38:43.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-03T20:38:43.229Z] prd-centos7-docker-4c-2g-6348 does not seem to be running inside a container [2022-03-03T20:38:43.261Z] $ 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/26/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/26 -v /w/workspace/edgex-go/26:/w/workspace/edgex-go/26:rw,z -v /w/workspace/edgex-go/26@tmp:/w/workspace/edgex-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-03T20:38:45.481Z] $ docker top 982a6a439fed20f5b2622022bb0336560faae31746729fd8c44458ebc7d2436f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-03T20:38:45.845Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-03T20:38:46.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-03T20:38:46.431Z] + ls /var/log/sa-host [2022-03-03T20:38:46.431Z] + sadf -c /var/log/sa-host/sa03 [2022-03-03T20:38:46.431Z] file_magic: OK [2022-03-03T20:38:46.431Z] HZ: Using current value: 100 [2022-03-03T20:38:46.431Z] file_header: OK [2022-03-03T20:38:46.431Z] 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-03-03T20:38:46.431Z] Statistics: [2022-03-03T20:38:46.431Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-03T20:38:46.431Z] File successfully converted to sysstat format version 12.5.2 [2022-03-03T20:38:46.431Z] + sadf -c /var/log/sa-host/sa17 [2022-03-03T20:38:46.431Z] file_magic: OK [2022-03-03T20:38:46.431Z] HZ: Using current value: 100 [2022-03-03T20:38:46.431Z] file_header: OK [2022-03-03T20:38:46.431Z] 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-03-03T20:38:46.431Z] Statistics: [2022-03-03T20:38:46.431Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-03T20:38:46.431Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-03T20:38:46.698Z] provisioning config files... [2022-03-03T20:38:46.707Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/26@tmp/config7472005879411455959tmp [Pipeline] { [Pipeline] echo [2022-03-03T20:38:46.720Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:47.009Z] ---> create-netrc.sh [Pipeline] } [2022-03-03T20:38:47.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:47.361Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-03T20:38:47.371Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:47.661Z] ---> sudo-logs.sh [2022-03-03T20:38:47.661Z] Archiving 'sudo' log.. [2022-03-03T20:38:47.661Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6348.novalocal: Name or service not known [2022-03-03T20:38:47.661Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6348.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-03T20:38:47.698Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:47.994Z] ---> job-cost.sh [2022-03-03T20:38:47.994Z] lf-activate-venv: SKIPPING [2022-03-03T20:38:47.994Z] DEBUG: total: 0.10999999940395355 [2022-03-03T20:38:47.994Z] INFO: Retrieving Stack Cost... [2022-03-03T20:38:48.253Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-03T20:38:48.822Z] INFO: Archiving Costs [Pipeline] echo [2022-03-03T20:38:48.837Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-03T20:38:49.127Z] ---> logs-deploy.sh [2022-03-03T20:38:49.127Z] lf-activate-venv: SKIPPING [2022-03-03T20:38:49.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/26 [2022-03-03T20:38:49.127Z] INFO: archiving workspace using pattern(s): [2022-03-03T20:38:50.065Z] Archives upload complete. [2022-03-03T20:38:50.065Z] INFO: archiving logs to Nexus