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 0dc7fb43dfbc61ec4b325044d074184b8b9e402a rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 0dc7fb43dfbc61ec4b325044d074184b8b9e402a 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-ssh11242225509710761411.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-ssh13508690004711088581.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-ssh6184739492486157295.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-ssh5499018744770543275.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-ssh9570120854997750896.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-4687 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/22 [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/22 # 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/22@tmp/jenkins-gitclient-ssh1298317046272926559.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/22@tmp/jenkins-gitclient-ssh5989872072888778507.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 0dc7fb43dfbc61ec4b325044d074184b8b9e402a into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 Checking out Revision 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 (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/22@tmp/jenkins-gitclient-ssh7329263424357076926.key > git merge 0dc7fb43dfbc61ec4b325044d074184b8b9e402a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 # timeout=10 Commit message: "Merge commit '0dc7fb43dfbc61ec4b325044d074184b8b9e402a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-05T20:30:14.105Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-05T20:30:14.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 04a3b54f50143a8943946d75f1e8ced95a2a07f1 # timeout=10 [Pipeline] echo [2022-02-05T20:30:14.185Z] ========================================================= [2022-02-05T20:30:14.185Z] EdgeX Global Pipelines Version Info [2022-02-05T20:30:14.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:30:15.312Z] ------------------- [2022-02-05T20:30:15.312Z] stable info: [2022-02-05T20:30:15.312Z] ------------------- [2022-02-05T20:30:15.312Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-05T20:30:15.312Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-05T20:30:15.312Z] Message: update stable to v1.0.220 [2022-02-05T20:30:15.886Z] ------------------- [2022-02-05T20:30:15.886Z] experimental info: [2022-02-05T20:30:15.886Z] ------------------- [2022-02-05T20:30:15.886Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-05T20:30:15.886Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-05T20:30:15.886Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-05T20:30:16.037Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-02-05T20:30:16.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-02-05T20:30:16.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-05T20:30:16.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-05T20:30:16.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-05T20:30:16.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-05T20:30:16.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-05T20:30:16.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-02-05T20:30:16.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-02-05T20:30:16.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-02-05T20:30:16.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-05T20:30:16.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-05T20:30:16.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-05T20:30:16.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-05T20:30:16.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-05T20:30:16.239Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-05T20:30:16.255Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-05T20:30:16.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-05T20:30:16.281Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-05T20:30:16.293Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-05T20:30:16.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-05T20:30:16.322Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-05T20:30:16.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-02-05T20:30:16.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-02-05T20:30:16.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-02-05T20:30:16.366Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 [Pipeline] echo [2022-02-05T20:30:16.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ae1b32 [Pipeline] echo [2022-02-05T20:30:16.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-05T20:30:16.429Z] provisioning config files... [2022-02-05T20:30:16.445Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/22@tmp/config2808323536987500950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:30:16.748Z] ---> docker-login.sh [2022-02-05T20:30:16.748Z] nexus3.edgexfoundry.org:10001 [2022-02-05T20:30:16.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:30:16.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:30:16.748Z] Configure a credential helper to remove this warning. See [2022-02-05T20:30:16.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:30:16.748Z] [2022-02-05T20:30:16.748Z] Login Succeeded [2022-02-05T20:30:16.748Z] nexus3.edgexfoundry.org:10002 [2022-02-05T20:30:17.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:30:17.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:30:17.014Z] Configure a credential helper to remove this warning. See [2022-02-05T20:30:17.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:30:17.014Z] [2022-02-05T20:30:17.014Z] Login Succeeded [2022-02-05T20:30:17.014Z] nexus3.edgexfoundry.org:10003 [2022-02-05T20:30:17.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:30:17.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:30:17.014Z] Configure a credential helper to remove this warning. See [2022-02-05T20:30:17.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:30:17.014Z] [2022-02-05T20:30:17.014Z] Login Succeeded [2022-02-05T20:30:17.014Z] nexus3.edgexfoundry.org:10004 [2022-02-05T20:30:17.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:30:17.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:30:17.282Z] Configure a credential helper to remove this warning. See [2022-02-05T20:30:17.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:30:17.282Z] [2022-02-05T20:30:17.282Z] Login Succeeded [2022-02-05T20:30:17.282Z] docker.io [2022-02-05T20:30:17.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:30:17.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:30:17.544Z] Configure a credential helper to remove this warning. See [2022-02-05T20:30:17.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:30:17.544Z] [2022-02-05T20:30:17.544Z] Login Succeeded [2022-02-05T20:30:17.544Z] ---> docker-login.sh ends [Pipeline] } [2022-02-05T20:30:17.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-05T20:30:17.879Z] ++ 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-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/core-command/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo core-command,cmd/core-command/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/core-data/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo core-data,cmd/core-data/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/core-metadata/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/support-notifications/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-02-05T20:30:17.879Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-05T20:30:17.879Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-02-05T20:30:17.879Z] ++ cut -d/ -f2 [2022-02-05T20:30:17.879Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-02-05T20:30:17.913Z] 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-02-05T20:30:18.267Z] + git rev-list -1 --merges 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616~1..8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 [Pipeline] echo [2022-02-05T20:30:18.280Z] -----------> git rev-list -1 --merges 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616~1..8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 [2022-02-05T20:30:18.280Z] 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 [false] [Pipeline] sh [2022-02-05T20:30:18.575Z] + git log --format=format:%s -1 8ae1b32df95a7ef6fc7d24159a9eeb9eea37b616 [Pipeline] echo [2022-02-05T20:30:18.590Z] ========================================================= [2022-02-05T20:30:18.591Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-05T20:30:18.591Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-05T20:30:18.980Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-05T20:30:18.980Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-05T20:30:18.980Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-05T20:30:18.980Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-05T20:30:18.980Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-05T20:30:18.980Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-05T20:30:18.980Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:30:19.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-05T20:30:19.333Z] [2022-02-05T20:30:19.333Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:30:19.642Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-05T20:30:19.642Z] latest: Pulling from edgex-devops/git-semver [2022-02-05T20:30:19.642Z] a0d0a0d46f8b: Pulling fs layer [2022-02-05T20:30:19.642Z] 3e5f54012d9b: Pulling fs layer [2022-02-05T20:30:19.642Z] 4c7163046ea9: Pulling fs layer [2022-02-05T20:30:19.642Z] 0c2d73faf560: Pulling fs layer [2022-02-05T20:30:19.642Z] 0c2d73faf560: Waiting [2022-02-05T20:30:19.642Z] 3e5f54012d9b: Verifying Checksum [2022-02-05T20:30:19.642Z] 3e5f54012d9b: Download complete [2022-02-05T20:30:19.642Z] a0d0a0d46f8b: Verifying Checksum [2022-02-05T20:30:19.642Z] a0d0a0d46f8b: Download complete [2022-02-05T20:30:19.642Z] 4c7163046ea9: Verifying Checksum [2022-02-05T20:30:19.642Z] 4c7163046ea9: Download complete [2022-02-05T20:30:19.642Z] 0c2d73faf560: Verifying Checksum [2022-02-05T20:30:19.642Z] 0c2d73faf560: Download complete [2022-02-05T20:30:19.908Z] a0d0a0d46f8b: Pull complete [2022-02-05T20:30:19.908Z] 3e5f54012d9b: Pull complete [2022-02-05T20:30:20.168Z] 4c7163046ea9: Pull complete [2022-02-05T20:30:20.434Z] 0c2d73faf560: Pull complete [2022-02-05T20:30:20.434Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-05T20:30:20.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-05T20:30:20.434Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-05T20:30:20.518Z] prd-centos7-docker-4c-2g-4687 does not seem to be running inside a container [2022-02-05T20:30:20.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@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-02-05T20:30:21.274Z] $ docker top b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-05T20:30:21.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-05T20:30:21.382Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-05T20:30:21.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-05T20:30:21.487Z] $ docker exec b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b ssh-agent [2022-02-05T20:30:21.584Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmGfpM/agent.13 [2022-02-05T20:30:21.584Z] SSH_AGENT_PID=19 [2022-02-05T20:30:21.591Z] Running ssh-add (command line suppressed) [2022-02-05T20:30:21.684Z] Identity added: /w/workspace/edgex-go/22@tmp/private_key_2431670510382393242.key (/w/workspace/edgex-go/22@tmp/private_key_2431670510382393242.key) [2022-02-05T20:30:21.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-05T20:30:21.997Z] + git tag --points-at HEAD [Pipeline] } [2022-02-05T20:30:22.015Z] $ docker exec --env ******** --env ******** b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b ssh-agent -k [2022-02-05T20:30:22.104Z] unset SSH_AUTH_SOCK; [2022-02-05T20:30:22.105Z] unset SSH_AGENT_PID; [2022-02-05T20:30:22.105Z] echo Agent pid 19 killed; [2022-02-05T20:30:22.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-05T20:30:22.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-05T20:30:22.140Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-05T20:30:22.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-05T20:30:22.258Z] $ docker exec b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b ssh-agent [2022-02-05T20:30:22.351Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgmdKcg/agent.53 [2022-02-05T20:30:22.351Z] SSH_AGENT_PID=59 [2022-02-05T20:30:22.358Z] Running ssh-add (command line suppressed) [2022-02-05T20:30:22.454Z] Identity added: /w/workspace/edgex-go/22@tmp/private_key_2404010561896425397.key (/w/workspace/edgex-go/22@tmp/private_key_2404010561896425397.key) [2022-02-05T20:30:22.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-05T20:30:22.761Z] + git semver init [2022-02-05T20:30:22.761Z] # -> Open(): unable to determine branch for HEAD [2022-02-05T20:30:22.761Z] # $GIT_DIR = /w/workspace/edgex-go/22/.git [2022-02-05T20:30:22.761Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/22 [2022-02-05T20:30:22.761Z] # $SEMVER_REMOTE_NAME = origin [2022-02-05T20:30:22.762Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-05T20:30:22.762Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-05T20:30:22.762Z] # $SEMVER_BRANCH = PR-3842 [2022-02-05T20:30:22.762Z] # $SEMVER_TEMP = /tmp/semver-721671138 [2022-02-05T20:30:22.762Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-02-05T20:30:37.712Z] # '/tmp/semver-721671138' -> '/w/workspace/edgex-go/22/.semver' [2022-02-05T20:30:37.712Z] # -> Force: false [2022-02-05T20:30:37.712Z] # $SEMVER_DIR = /w/workspace/edgex-go/22/.semver [Pipeline] } [2022-02-05T20:30:37.722Z] $ docker exec --env ******** --env ******** b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b ssh-agent -k [2022-02-05T20:30:37.811Z] unset SSH_AUTH_SOCK; [2022-02-05T20:30:37.811Z] unset SSH_AGENT_PID; [2022-02-05T20:30:37.811Z] echo Agent pid 59 killed; [2022-02-05T20:30:37.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-05T20:30:38.138Z] + git semver [Pipeline] } [2022-02-05T20:30:38.151Z] $ docker stop --time=1 b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b [2022-02-05T20:30:40.291Z] $ docker rm -f b49657e83e37d0eeedc92f34a3e6329ebd757d5784606ea5ee753fc35b04d00b [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-05T20:30:40.652Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-05T20:30:40.861Z] Stashed 1 file(s) [Pipeline] echo [2022-02-05T20:30:40.865Z] [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-02-05T20:30:40.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-05T20:30:41.005Z] ========================================================= [2022-02-05T20:30:41.005Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-05T20:30:41.005Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:30:41.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-05T20:30:41.304Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-05T20:30:41.304Z] 59bf1c3509f3: Pulling fs layer [2022-02-05T20:30:41.304Z] 666ba61612fd: Pulling fs layer [2022-02-05T20:30:41.304Z] 8ed8ca486205: Pulling fs layer [2022-02-05T20:30:41.304Z] 4fe6c5a15a65: Pulling fs layer [2022-02-05T20:30:41.304Z] 22a0e8bec74d: Pulling fs layer [2022-02-05T20:30:41.304Z] 640e595b4fbd: Pulling fs layer [2022-02-05T20:30:41.304Z] 763cafe07f6e: Pulling fs layer [2022-02-05T20:30:41.304Z] 0c0b528cf693: Pulling fs layer [2022-02-05T20:30:41.304Z] 10935f4eaf8b: Pulling fs layer [2022-02-05T20:30:41.304Z] 4fe6c5a15a65: Waiting [2022-02-05T20:30:41.304Z] 22a0e8bec74d: Waiting [2022-02-05T20:30:41.304Z] 640e595b4fbd: Waiting [2022-02-05T20:30:41.304Z] 763cafe07f6e: Waiting [2022-02-05T20:30:41.304Z] 0c0b528cf693: Waiting [2022-02-05T20:30:41.304Z] 10935f4eaf8b: Waiting [2022-02-05T20:30:41.304Z] 8ed8ca486205: Verifying Checksum [2022-02-05T20:30:41.304Z] 8ed8ca486205: Download complete [2022-02-05T20:30:41.304Z] 666ba61612fd: Verifying Checksum [2022-02-05T20:30:41.304Z] 666ba61612fd: Download complete [2022-02-05T20:30:41.304Z] 22a0e8bec74d: Verifying Checksum [2022-02-05T20:30:41.304Z] 22a0e8bec74d: Download complete [2022-02-05T20:30:41.304Z] 640e595b4fbd: Download complete [2022-02-05T20:30:41.304Z] 59bf1c3509f3: Verifying Checksum [2022-02-05T20:30:41.304Z] 59bf1c3509f3: Download complete [2022-02-05T20:30:41.304Z] 763cafe07f6e: Verifying Checksum [2022-02-05T20:30:41.304Z] 763cafe07f6e: Download complete [2022-02-05T20:30:41.566Z] 0c0b528cf693: Verifying Checksum [2022-02-05T20:30:41.566Z] 0c0b528cf693: Download complete [2022-02-05T20:30:41.833Z] 59bf1c3509f3: Pull complete [2022-02-05T20:30:41.833Z] 4fe6c5a15a65: Verifying Checksum [2022-02-05T20:30:41.833Z] 4fe6c5a15a65: Download complete [2022-02-05T20:30:41.833Z] 10935f4eaf8b: Verifying Checksum [2022-02-05T20:30:41.833Z] 10935f4eaf8b: Download complete [2022-02-05T20:30:42.099Z] 666ba61612fd: Pull complete [2022-02-05T20:30:42.099Z] 8ed8ca486205: Pull complete [2022-02-05T20:30:46.328Z] 4fe6c5a15a65: Pull complete [2022-02-05T20:30:46.328Z] 22a0e8bec74d: Pull complete [2022-02-05T20:30:46.328Z] 640e595b4fbd: Pull complete [2022-02-05T20:30:46.328Z] 763cafe07f6e: Pull complete [2022-02-05T20:30:46.328Z] 0c0b528cf693: Pull complete [2022-02-05T20:30:48.281Z] 10935f4eaf8b: Pull complete [2022-02-05T20:30:48.281Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-05T20:30:48.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-05T20:30:48.281Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:30:48.585Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-05T20:30:48.585Z] WORKDIR /edgex [2022-02-05T20:30:48.585Z] COPY go.mod . [2022-02-05T20:30:48.585Z] RUN go mod download' [2022-02-05T20:30:48.585Z] + docker build -t ci-base-image-x86_64 -f - . [2022-02-05T20:30:50.035Z] Sending build context to Docker daemon 334.1MB [2022-02-05T20:30:50.035Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-05T20:30:50.035Z] ---> 99d49a6021b9 [2022-02-05T20:30:50.035Z] Step 2/4 : WORKDIR /edgex [2022-02-05T20:30:51.955Z] ---> Running in 32ea00690b47 [2022-02-05T20:30:51.955Z] Removing intermediate container 32ea00690b47 [2022-02-05T20:30:51.955Z] ---> e6aa5969621b [2022-02-05T20:30:51.955Z] Step 3/4 : COPY go.mod . [2022-02-05T20:30:52.215Z] ---> f5d30b09aa99 [2022-02-05T20:30:52.215Z] Step 4/4 : RUN go mod download [2022-02-05T20:30:52.215Z] ---> Running in fcf10b13ece3 [2022-02-05T20:30:55.954Z] Still waiting to schedule task [2022-02-05T20:30:55.955Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4688’ is offline [2022-02-05T20:31:24.379Z] Removing intermediate container fcf10b13ece3 [2022-02-05T20:31:24.379Z] ---> fca459be75f7 [2022-02-05T20:31:24.379Z] Successfully built fca459be75f7 [2022-02-05T20:31:24.379Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:31:24.686Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-05T20:31:24.686Z] . [Pipeline] withDockerContainer [2022-02-05T20:31:24.742Z] prd-centos7-docker-4c-2g-4687 does not seem to be running inside a container [2022-02-05T20:31:24.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@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-02-05T20:31:25.133Z] $ docker top fe95d29a54e15f62e5dc13b0a4fba34d8acb1570b64687341a8305d0de952a7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-05T20:31:25.483Z] + go version [2022-02-05T20:31:25.483Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-05T20:31:25.493Z] $ docker stop --time=1 fe95d29a54e15f62e5dc13b0a4fba34d8acb1570b64687341a8305d0de952a7e [2022-02-05T20:31:26.660Z] $ docker rm -f fe95d29a54e15f62e5dc13b0a4fba34d8acb1570b64687341a8305d0de952a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:31:27.057Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-05T20:31:27.057Z] . [Pipeline] withDockerContainer [2022-02-05T20:31:27.119Z] prd-centos7-docker-4c-2g-4687 does not seem to be running inside a container [2022-02-05T20:31:27.154Z] $ 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/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@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-02-05T20:31:27.497Z] $ docker top 285451e71ab0b6b40ede3e848fd6fbca2c2edccd37d41f52972c47901f6ce121 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-05T20:31:27.566Z] ========================================================= [2022-02-05T20:31:27.566Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-02-05T20:31:27.566Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:31:27.856Z] + make test [2022-02-05T20:31:27.856Z] go mod tidy [2022-02-05T20:31:27.856Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-02-05T20:31:28.796Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-05T20:31:35.400Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-05T20:31:35.400Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-02-05T20:31:35.400Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-05T20:31:42.024Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-02-05T20:32:00.213Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-02-05T20:32:08.377Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-02-05T20:32:08.377Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-02-05T20:32:08.640Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-02-05T20:32:10.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-02-05T20:32:11.154Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-02-05T20:32:11.154Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-02-05T20:32:11.154Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-02-05T20:32:15.375Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-02-05T20:32:15.375Z] 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-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-02-05T20:32:15.375Z] 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-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-02-05T20:32:15.375Z] /w/workspace/edgex-go/22/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-02-05T20:32:15.375Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-02-05T20:32:15.954Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.064s coverage: 28.7% of statements [2022-02-05T20:32:16.579Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.051s coverage: 98.5% of statements [2022-02-05T20:32:17.166Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.047s coverage: 44.7% of statements [2022-02-05T20:32:17.747Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.107s coverage: 89.5% of statements [2022-02-05T20:32:19.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.052s coverage: 84.4% of statements [2022-02-05T20:32:19.403Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.244s coverage: 94.2% of statements [2022-02-05T20:32:19.403Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.055s coverage: 59.1% of statements [2022-02-05T20:32:19.979Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.048s coverage: 60.0% of statements [2022-02-05T20:32:20.554Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.041s coverage: 0.9% of statements [2022-02-05T20:32:20.554Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.046s coverage: 58.8% of statements [2022-02-05T20:32:20.554Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.044s coverage: 21.7% of statements [2022-02-05T20:32:21.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.051s coverage: 47.1% of statements [2022-02-05T20:32:21.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.047s coverage: 79.5% of statements [2022-02-05T20:32:21.425Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.046s coverage: 94.1% of statements [2022-02-05T20:32:21.692Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.066s coverage: 96.3% of statements [2022-02-05T20:32:21.692Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements [2022-02-05T20:32:33.928Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.056s coverage: 94.4% of statements [2022-02-05T20:32:33.928Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.042s coverage: 44.8% of statements [2022-02-05T20:32:38.144Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.187s coverage: 82.5% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.059s coverage: 87.2% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.061s coverage: 58.8% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.049s coverage: 87.2% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 85.4% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.126s coverage: 91.2% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.132s coverage: 64.4% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.043s coverage: 100.0% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.031s coverage: 73.7% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements [2022-02-05T20:32:56.282Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.215s coverage: 65.4% of statements [2022-02-05T20:32:56.870Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.144s coverage: 43.8% of statements [2022-02-05T20:32:56.870Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements [2022-02-05T20:32:56.870Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.057s coverage: 84.8% of statements [2022-02-05T20:32:57.134Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-02-05T20:32:57.134Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-02-05T20:32:57.398Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.056s coverage: 63.2% of statements [2022-02-05T20:32:57.977Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.7% of statements [2022-02-05T20:32:57.977Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.043s coverage: 28.9% of statements [2022-02-05T20:32:58.239Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements [2022-02-05T20:32:58.239Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements [2022-02-05T20:32:58.240Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-02-05T20:32:58.256Z] $ docker stop --time=1 285451e71ab0b6b40ede3e848fd6fbca2c2edccd37d41f52972c47901f6ce121 [2022-02-05T20:32:59.624Z] $ docker rm -f 285451e71ab0b6b40ede3e848fd6fbca2c2edccd37d41f52972c47901f6ce121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-05T20:33:00.520Z] Failed in branch amd64 [2022-02-05T20:33:12.164Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4689 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-02-05T20:33:12.176Z] Running in /w/workspace/edgex-go/22 [Pipeline] { [Pipeline] checkout [2022-02-05T20:33:12.368Z] The recommended git tool is: git [2022-02-05T20:33:17.136Z] using credential edgex-jenkins-ssh [2022-02-05T20:33:17.159Z] Cloning the remote Git repository [2022-02-05T20:33:17.228Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-02-05T20:33:17.316Z] > git init /w/workspace/edgex-go/22 # timeout=10 [2022-02-05T20:33:17.401Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-02-05T20:33:17.402Z] > git --version # timeout=10 [2022-02-05T20:33:17.424Z] > git --version # 'git version 2.17.1' [2022-02-05T20:33:17.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-05T20:33:17.491Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-05T20:33:34.324Z] Merging remotes/origin/main commit 0dc7fb43dfbc61ec4b325044d074184b8b9e402a into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-02-05T20:33:33.238Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-02-05T20:33:33.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-05T20:33:33.333Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-02-05T20:33:33.388Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-02-05T20:33:33.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-05T20:33:33.407Z] > 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-02-05T20:33:34.347Z] > git config core.sparsecheckout # timeout=10 [2022-02-05T20:33:34.368Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-02-05T20:33:35.010Z] Merge succeeded, producing c9b1d09f9eea32eb8fe43ba08077acab1745a6d1 [2022-02-05T20:33:35.010Z] Checking out Revision c9b1d09f9eea32eb8fe43ba08077acab1745a6d1 (PR-3842) [2022-02-05T20:33:34.610Z] > git remote # timeout=10 [2022-02-05T20:33:34.630Z] > git config --get remote.origin.url # timeout=10 [2022-02-05T20:33:34.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-05T20:33:34.655Z] > git merge 0dc7fb43dfbc61ec4b325044d074184b8b9e402a # timeout=10 [2022-02-05T20:33:34.994Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-05T20:33:35.018Z] > git config core.sparsecheckout # timeout=10 [2022-02-05T20:33:35.031Z] > git checkout -f c9b1d09f9eea32eb8fe43ba08077acab1745a6d1 # timeout=10 [2022-02-05T20:33:39.322Z] Commit message: "Merge commit '0dc7fb43dfbc61ec4b325044d074184b8b9e402a' into HEAD" [2022-02-05T20:33:39.346Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-05T20:33:40.175Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-05T20:33:40.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-05T20:33:40.175Z] Dload Upload Total Spent Left Speed [2022-02-05T20:33:40.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-02-05T20:33:40.688Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-05T20:33:41.034Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-05T20:33:41.034Z] + sudo tee /etc/docker/daemon.new [2022-02-05T20:33:41.034Z] { [2022-02-05T20:33:41.034Z] "registry-mirrors": [ [2022-02-05T20:33:41.034Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-05T20:33:41.034Z] ], [2022-02-05T20:33:41.034Z] "bip": "10.250.0.254/24", [2022-02-05T20:33:41.034Z] "hosts": [ [2022-02-05T20:33:41.034Z] "tcp://0.0.0.0:5555", [2022-02-05T20:33:41.034Z] "unix:///var/run/docker.sock" [2022-02-05T20:33:41.034Z] ], [2022-02-05T20:33:41.034Z] "mtu": 1458, [2022-02-05T20:33:41.034Z] "selinux-enabled": true, [2022-02-05T20:33:41.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-05T20:33:41.034Z] } [Pipeline] sh [2022-02-05T20:33:39.330Z] > git rev-list --no-walk 04a3b54f50143a8943946d75f1e8ced95a2a07f1 # timeout=10 [2022-02-05T20:33:41.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-05T20:33:41.811Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-05T20:34:00.127Z] provisioning config files... [2022-02-05T20:34:00.150Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/22@tmp/config191859828626506247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:34:00.511Z] ---> docker-login.sh [2022-02-05T20:34:00.511Z] nexus3.edgexfoundry.org:10001 [2022-02-05T20:34:01.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:34:01.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:34:01.387Z] Configure a credential helper to remove this warning. See [2022-02-05T20:34:01.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:34:01.387Z] [2022-02-05T20:34:01.387Z] Login Succeeded [2022-02-05T20:34:01.387Z] nexus3.edgexfoundry.org:10002 [2022-02-05T20:34:01.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:34:01.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:34:01.659Z] Configure a credential helper to remove this warning. See [2022-02-05T20:34:01.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:34:01.659Z] [2022-02-05T20:34:01.659Z] Login Succeeded [2022-02-05T20:34:01.659Z] nexus3.edgexfoundry.org:10003 [2022-02-05T20:34:01.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:34:02.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:34:02.209Z] Configure a credential helper to remove this warning. See [2022-02-05T20:34:02.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:34:02.209Z] [2022-02-05T20:34:02.209Z] Login Succeeded [2022-02-05T20:34:02.209Z] nexus3.edgexfoundry.org:10004 [2022-02-05T20:34:02.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:34:02.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:34:02.755Z] Configure a credential helper to remove this warning. See [2022-02-05T20:34:02.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:34:02.755Z] [2022-02-05T20:34:02.755Z] Login Succeeded [2022-02-05T20:34:02.755Z] docker.io [2022-02-05T20:34:03.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-05T20:34:03.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-05T20:34:03.295Z] Configure a credential helper to remove this warning. See [2022-02-05T20:34:03.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-05T20:34:03.295Z] [2022-02-05T20:34:03.295Z] Login Succeeded [2022-02-05T20:34:03.295Z] ---> docker-login.sh ends [Pipeline] } [2022-02-05T20:34:03.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-05T20:34:03.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-05T20:34:03.789Z] ========================================================= [2022-02-05T20:34:03.789Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-05T20:34:03.789Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:34:04.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-05T20:34:04.387Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-05T20:34:04.387Z] 9b3977197b4f: Pulling fs layer [2022-02-05T20:34:04.387Z] 1a89e8eeedd5: Pulling fs layer [2022-02-05T20:34:04.387Z] 94645a83ff95: Pulling fs layer [2022-02-05T20:34:04.387Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-05T20:34:04.387Z] 0c92f367c5e7: Pulling fs layer [2022-02-05T20:34:04.387Z] f7c0051592d6: Pulling fs layer [2022-02-05T20:34:04.387Z] a227ed2f7395: Pulling fs layer [2022-02-05T20:34:04.387Z] 7b1c46037f91: Pulling fs layer [2022-02-05T20:34:04.387Z] 3f3a8bcf1eab: Waiting [2022-02-05T20:34:04.387Z] 0c92f367c5e7: Waiting [2022-02-05T20:34:04.387Z] f7c0051592d6: Waiting [2022-02-05T20:34:04.387Z] a227ed2f7395: Waiting [2022-02-05T20:34:04.387Z] 7b1c46037f91: Waiting [2022-02-05T20:34:04.387Z] 94645a83ff95: Verifying Checksum [2022-02-05T20:34:04.387Z] 94645a83ff95: Download complete [2022-02-05T20:34:04.387Z] 1a89e8eeedd5: Verifying Checksum [2022-02-05T20:34:04.387Z] 1a89e8eeedd5: Download complete [2022-02-05T20:34:04.387Z] 0c92f367c5e7: Verifying Checksum [2022-02-05T20:34:04.387Z] 0c92f367c5e7: Download complete [2022-02-05T20:34:04.387Z] f7c0051592d6: Download complete [2022-02-05T20:34:04.387Z] a227ed2f7395: Verifying Checksum [2022-02-05T20:34:04.387Z] a227ed2f7395: Download complete [2022-02-05T20:34:04.387Z] 9b3977197b4f: Download complete [2022-02-05T20:34:04.999Z] 9b3977197b4f: Pull complete [2022-02-05T20:34:05.602Z] 1a89e8eeedd5: Pull complete [2022-02-05T20:34:05.876Z] 94645a83ff95: Pull complete [2022-02-05T20:34:06.150Z] 7b1c46037f91: Verifying Checksum [2022-02-05T20:34:06.150Z] 7b1c46037f91: Download complete [2022-02-05T20:34:06.747Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-05T20:34:06.747Z] 3f3a8bcf1eab: Download complete [2022-02-05T20:34:19.141Z] 3f3a8bcf1eab: Pull complete [2022-02-05T20:34:19.141Z] 0c92f367c5e7: Pull complete [2022-02-05T20:34:19.141Z] f7c0051592d6: Pull complete [2022-02-05T20:34:19.141Z] a227ed2f7395: Pull complete [2022-02-05T20:34:24.540Z] 7b1c46037f91: Pull complete [2022-02-05T20:34:24.540Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-05T20:34:24.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-05T20:34:24.540Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:34:24.882Z] + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-05T20:34:24.882Z] WORKDIR /edgex [2022-02-05T20:34:24.882Z] COPY go.mod . [2022-02-05T20:34:24.882Z] RUN go mod downloaddocker [2022-02-05T20:34:24.882Z] build -t ci-base-image-arm64 -f - . [2022-02-05T20:34:27.521Z] Sending build context to Docker daemon 168.8MB [2022-02-05T20:34:27.521Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-05T20:34:27.521Z] ---> f79e39bc4007 [2022-02-05T20:34:27.521Z] Step 2/4 : WORKDIR /edgex [2022-02-05T20:34:28.943Z] ---> Running in de7259df0099 [2022-02-05T20:34:29.544Z] Removing intermediate container de7259df0099 [2022-02-05T20:34:29.544Z] ---> 4d36a93f4b17 [2022-02-05T20:34:29.544Z] Step 3/4 : COPY go.mod . [2022-02-05T20:34:30.136Z] ---> 04c9c8f5c024 [2022-02-05T20:34:30.137Z] Step 4/4 : RUN go mod download [2022-02-05T20:34:30.137Z] ---> Running in 419968d138d2 [2022-02-05T20:35:38.157Z] Removing intermediate container 419968d138d2 [2022-02-05T20:35:38.157Z] ---> 179f49f831c9 [2022-02-05T20:35:38.431Z] Successfully built 179f49f831c9 [2022-02-05T20:35:38.431Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:35:38.775Z] + docker inspect -f . ci-base-image-arm64 [2022-02-05T20:35:38.775Z] . [Pipeline] withDockerContainer [2022-02-05T20:35:38.998Z] prd-ubuntu18.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container [2022-02-05T20:35:39.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-05T20:35:40.389Z] $ docker top e6c0bb49a1de0c1eebb8ca0a7b7d5438f778701887dcf0cd35f9124b659aaa04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-05T20:35:41.268Z] + go version [2022-02-05T20:35:41.268Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-05T20:35:41.288Z] $ docker stop --time=1 e6c0bb49a1de0c1eebb8ca0a7b7d5438f778701887dcf0cd35f9124b659aaa04 [2022-02-05T20:35:42.875Z] $ docker rm -f e6c0bb49a1de0c1eebb8ca0a7b7d5438f778701887dcf0cd35f9124b659aaa04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:35:43.455Z] + docker inspect -f . ci-base-image-arm64 [2022-02-05T20:35:43.455Z] . [Pipeline] withDockerContainer [2022-02-05T20:35:43.680Z] prd-ubuntu18.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container [2022-02-05T20:35:43.751Z] $ 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/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-05T20:35:44.989Z] $ docker top c630191f9f371bf9813d24809ec10078d8cc081ff0e0cf7e7f2a9a20f02204e0 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-05T20:35:45.234Z] ========================================================= [2022-02-05T20:35:45.234Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-02-05T20:35:45.234Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-05T20:35:45.884Z] + make test [2022-02-05T20:35:45.884Z] go mod tidy [2022-02-05T20:35:46.484Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-02-05T20:35:47.080Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-05T20:36:09.237Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-05T20:36:09.237Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-02-05T20:36:09.237Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-05T20:36:36.044Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-02-05T20:37:44.116Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-02-05T20:37:48.441Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-02-05T20:37:48.441Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-02-05T20:37:48.441Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-02-05T20:37:55.159Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-02-05T20:37:55.760Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-02-05T20:37:56.764Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-02-05T20:37:56.764Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-02-05T20:38:15.294Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-02-05T20:38:15.294Z] 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-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-02-05T20:38:15.294Z] 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-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-02-05T20:38:15.294Z] /w/workspace/edgex-go/22/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-02-05T20:38:15.294Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-02-05T20:38:15.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.189s coverage: 28.7% of statements [2022-02-05T20:38:15.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.317s coverage: 98.5% of statements [2022-02-05T20:38:15.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.400s coverage: 44.7% of statements [2022-02-05T20:38:18.688Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.696s coverage: 89.5% of statements [2022-02-05T20:38:21.322Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.202s coverage: 84.4% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.606s coverage: 94.2% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.218s coverage: 59.1% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.186s coverage: 60.0% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.409s coverage: 0.9% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.166s coverage: 58.8% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.212s coverage: 21.7% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.193s coverage: 47.1% of statements [2022-02-05T20:38:26.758Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.207s coverage: 79.5% of statements [2022-02-05T20:38:27.031Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.212s coverage: 94.1% of statements [2022-02-05T20:38:29.006Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.287s coverage: 96.3% of statements [2022-02-05T20:38:29.006Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.213s coverage: 87.5% of statements [2022-02-05T20:38:41.410Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.201s coverage: 94.4% of statements [2022-02-05T20:38:41.410Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.204s coverage: 44.8% of statements [2022-02-05T20:38:48.119Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.647s coverage: 82.5% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.237s coverage: 92.9% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.183s coverage: 87.2% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.160s coverage: 100.0% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.266s coverage: 58.8% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.225s coverage: 80.0% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.201s coverage: 87.2% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.271s coverage: 85.4% of statements [2022-02-05T20:38:54.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.797s coverage: 91.2% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.695s coverage: 64.4% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.172s coverage: 100.0% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 89.4% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.094s coverage: 73.7% of statements [2022-02-05T20:38:54.858Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.066s coverage: 100.0% of statements [2022-02-05T20:38:59.182Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.274s coverage: 65.4% of statements [2022-02-05T20:39:01.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.616s coverage: 43.8% of statements [2022-02-05T20:39:01.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.244s coverage: 89.5% of statements [2022-02-05T20:39:01.163Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.223s coverage: 84.8% of statements [2022-02-05T20:39:01.163Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-02-05T20:39:01.163Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-02-05T20:39:01.440Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.213s coverage: 63.2% of statements [2022-02-05T20:39:03.424Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.363s coverage: 97.7% of statements [2022-02-05T20:39:03.424Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.253s coverage: 28.9% of statements [2022-02-05T20:39:03.424Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.175s coverage: 100.0% of statements [2022-02-05T20:39:04.018Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements [2022-02-05T20:39:04.608Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-02-05T20:39:04.621Z] $ docker stop --time=1 c630191f9f371bf9813d24809ec10078d8cc081ff0e0cf7e7f2a9a20f02204e0 [2022-02-05T20:39:06.682Z] $ docker rm -f c630191f9f371bf9813d24809ec10078d8cc081ff0e0cf7e7f2a9a20f02204e0 [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-02-05T20:39:10.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-05T20:39:10.951Z] [2022-02-05T20:39:10.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:39:11.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-05T20:39:11.573Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-05T20:39:11.573Z] 448f6bf000e3: Pulling fs layer [2022-02-05T20:39:11.573Z] f757da607395: Pulling fs layer [2022-02-05T20:39:11.573Z] 05883995daec: Pulling fs layer [2022-02-05T20:39:11.573Z] 8603b9c90790: Pulling fs layer [2022-02-05T20:39:11.573Z] 1560dd03e051: Pulling fs layer [2022-02-05T20:39:11.573Z] 27f5ce0e4adf: Pulling fs layer [2022-02-05T20:39:11.573Z] c2d8d7efcc4b: Pulling fs layer [2022-02-05T20:39:11.573Z] 8603b9c90790: Waiting [2022-02-05T20:39:11.573Z] 1560dd03e051: Waiting [2022-02-05T20:39:11.573Z] 27f5ce0e4adf: Waiting [2022-02-05T20:39:11.573Z] c2d8d7efcc4b: Waiting [2022-02-05T20:39:11.573Z] f757da607395: Verifying Checksum [2022-02-05T20:39:11.573Z] f757da607395: Download complete [2022-02-05T20:39:11.573Z] 8603b9c90790: Verifying Checksum [2022-02-05T20:39:11.573Z] 8603b9c90790: Download complete [2022-02-05T20:39:11.844Z] 1560dd03e051: Verifying Checksum [2022-02-05T20:39:11.844Z] 1560dd03e051: Download complete [2022-02-05T20:39:11.844Z] 27f5ce0e4adf: Verifying Checksum [2022-02-05T20:39:11.844Z] 27f5ce0e4adf: Download complete [2022-02-05T20:39:11.844Z] 05883995daec: Verifying Checksum [2022-02-05T20:39:11.844Z] 05883995daec: Download complete [2022-02-05T20:39:12.115Z] 448f6bf000e3: Verifying Checksum [2022-02-05T20:39:12.115Z] 448f6bf000e3: Download complete [2022-02-05T20:39:14.724Z] c2d8d7efcc4b: Verifying Checksum [2022-02-05T20:39:14.724Z] c2d8d7efcc4b: Download complete [2022-02-05T20:39:15.696Z] 448f6bf000e3: Pull complete [2022-02-05T20:39:16.290Z] f757da607395: Pull complete [2022-02-05T20:39:17.716Z] 05883995daec: Pull complete [2022-02-05T20:39:17.716Z] 8603b9c90790: Pull complete [2022-02-05T20:39:18.689Z] 1560dd03e051: Pull complete [2022-02-05T20:39:18.959Z] 27f5ce0e4adf: Pull complete [2022-02-05T20:39:34.025Z] c2d8d7efcc4b: Pull complete [2022-02-05T20:39:34.025Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-05T20:39:34.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-05T20:39:34.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-05T20:39:34.245Z] prd-ubuntu18.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container [2022-02-05T20:39:34.312Z] $ 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/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-05T20:39:36.711Z] $ docker top 8c36e193279ed6647bf42f5a96e757b4293b33074ef2469f6c1afbeef5998f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:37.598Z] ---> job-cost.sh [2022-02-05T20:39:37.598Z] lf-activate-venv: SKIPPING [2022-02-05T20:39:37.598Z] INFO: No Stack... [2022-02-05T20:39:37.868Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-05T20:39:38.460Z] INFO: Archiving Costs [Pipeline] sh [2022-02-05T20:39:39.113Z] + cat /w/workspace/edgex-go/22/archives/cost.csv [2022-02-05T20:39:39.113Z] + cut -d, -f6 [Pipeline] lock [2022-02-05T20:39:39.170Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-22-stack-cost] [2022-02-05T20:39:39.177Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-22-stack-cost] did not exist. Created. [2022-02-05T20:39:39.177Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-05T20:39:39.829Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-05T20:39:40.521Z] Stashed 1 file(s) [Pipeline] } [2022-02-05T20:39:40.529Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-05T20:39:40.540Z] $ docker stop --time=1 8c36e193279ed6647bf42f5a96e757b4293b33074ef2469f6c1afbeef5998f50 [2022-02-05T20:39:42.019Z] $ docker rm -f 8c36e193279ed6647bf42f5a96e757b4293b33074ef2469f6c1afbeef5998f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-05T20:39:42.339Z] 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-02-05T20:39:42.883Z] + '[' -d /w/workspace/edgex-go/22/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:43.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:43.734Z] ---> package-listing.sh [2022-02-05T20:39:43.734Z] ++ facter osfamily [2022-02-05T20:39:43.734Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-05T20:39:43.996Z] + OS_FAMILY=redhat [2022-02-05T20:39:43.996Z] + workspace=/w/workspace/edgex-go/22 [2022-02-05T20:39:43.996Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-05T20:39:43.996Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-05T20:39:43.996Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-05T20:39:43.996Z] + PACKAGES=/tmp/packages_start.txt [2022-02-05T20:39:43.996Z] + '[' /w/workspace/edgex-go/22 ']' [2022-02-05T20:39:43.996Z] + PACKAGES=/tmp/packages_end.txt [2022-02-05T20:39:43.996Z] + case "${OS_FAMILY}" in [2022-02-05T20:39:43.996Z] + sort [2022-02-05T20:39:43.996Z] + rpm -qa [2022-02-05T20:39:44.566Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-05T20:39:44.566Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-05T20:39:44.566Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-05T20:39:44.566Z] + '[' /w/workspace/edgex-go/22 ']' [2022-02-05T20:39:44.566Z] + mkdir -p /w/workspace/edgex-go/22/archives/ [2022-02-05T20:39:44.566Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/22/archives/ [Pipeline] echo [2022-02-05T20:39:44.580Z] 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/22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-05T20:39:44.879Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:39:45.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-05T20:39:45.176Z] [2022-02-05T20:39:45.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-05T20:39:45.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-05T20:39:45.487Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-05T20:39:45.487Z] b4d181a07f80: Pulling fs layer [2022-02-05T20:39:45.487Z] a1111a8f2ec3: Pulling fs layer [2022-02-05T20:39:45.487Z] ed53099fbce6: Pulling fs layer [2022-02-05T20:39:45.487Z] dc539afda2c1: Pulling fs layer [2022-02-05T20:39:45.487Z] 77bc0d833cb6: Pulling fs layer [2022-02-05T20:39:45.487Z] 9065ff56babe: Pulling fs layer [2022-02-05T20:39:45.487Z] d287ab97295c: Pulling fs layer [2022-02-05T20:39:45.487Z] dc539afda2c1: Waiting [2022-02-05T20:39:45.487Z] 77bc0d833cb6: Waiting [2022-02-05T20:39:45.487Z] 9065ff56babe: Waiting [2022-02-05T20:39:45.487Z] d287ab97295c: Waiting [2022-02-05T20:39:45.487Z] a1111a8f2ec3: Verifying Checksum [2022-02-05T20:39:45.487Z] a1111a8f2ec3: Download complete [2022-02-05T20:39:45.487Z] dc539afda2c1: Verifying Checksum [2022-02-05T20:39:45.487Z] dc539afda2c1: Download complete [2022-02-05T20:39:45.487Z] ed53099fbce6: Verifying Checksum [2022-02-05T20:39:45.487Z] ed53099fbce6: Download complete [2022-02-05T20:39:45.756Z] 9065ff56babe: Verifying Checksum [2022-02-05T20:39:45.756Z] 9065ff56babe: Download complete [2022-02-05T20:39:45.756Z] 77bc0d833cb6: Verifying Checksum [2022-02-05T20:39:45.756Z] 77bc0d833cb6: Download complete [2022-02-05T20:39:45.756Z] b4d181a07f80: Verifying Checksum [2022-02-05T20:39:45.756Z] b4d181a07f80: Download complete [2022-02-05T20:39:46.331Z] d287ab97295c: Verifying Checksum [2022-02-05T20:39:46.331Z] d287ab97295c: Download complete [2022-02-05T20:39:47.293Z] b4d181a07f80: Pull complete [2022-02-05T20:39:47.293Z] a1111a8f2ec3: Pull complete [2022-02-05T20:39:47.869Z] ed53099fbce6: Pull complete [2022-02-05T20:39:47.869Z] dc539afda2c1: Pull complete [2022-02-05T20:39:48.372Z] 77bc0d833cb6: Pull complete [2022-02-05T20:39:48.372Z] 9065ff56babe: Pull complete [2022-02-05T20:39:53.958Z] d287ab97295c: Pull complete [2022-02-05T20:39:53.958Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-05T20:39:53.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-05T20:39:53.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-05T20:39:54.020Z] prd-centos7-docker-4c-2g-4687 does not seem to be running inside a container [2022-02-05T20:39:54.050Z] $ 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/22/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/22 -v /w/workspace/edgex-go/22:/w/workspace/edgex-go/22:rw,z -v /w/workspace/edgex-go/22@tmp:/w/workspace/edgex-go/22@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-02-05T20:39:56.648Z] $ docker top c7a9f094b64b6ccc5b64913156442199445c057c90493f1871a698e6834e52db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-05T20:39:57.004Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-05T20:39:57.300Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-05T20:39:57.600Z] + ls /var/log/sa-host [2022-02-05T20:39:57.600Z] + sadf -c /var/log/sa-host/sa05 [2022-02-05T20:39:57.600Z] file_magic: OK [2022-02-05T20:39:57.600Z] HZ: Using current value: 100 [2022-02-05T20:39:57.600Z] file_header: OK [2022-02-05T20:39:57.600Z] 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-02-05T20:39:57.600Z] Statistics: [2022-02-05T20:39:57.600Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-05T20:39:57.600Z] File successfully converted to sysstat format version 12.0.3 [2022-02-05T20:39:57.600Z] + sadf -c /var/log/sa-host/sa17 [2022-02-05T20:39:57.600Z] file_magic: OK [2022-02-05T20:39:57.600Z] HZ: Using current value: 100 [2022-02-05T20:39:57.600Z] file_header: OK [2022-02-05T20:39:57.600Z] 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-02-05T20:39:57.600Z] Statistics: [2022-02-05T20:39:57.600Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-05T20:39:57.600Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-05T20:39:57.681Z] provisioning config files... [2022-02-05T20:39:57.690Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/22@tmp/config5335924532621314600tmp [Pipeline] { [Pipeline] echo [2022-02-05T20:39:57.708Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:57.994Z] ---> create-netrc.sh [Pipeline] } [2022-02-05T20:39:58.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:58.349Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-05T20:39:58.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:58.650Z] ---> sudo-logs.sh [2022-02-05T20:39:58.650Z] Archiving 'sudo' log.. [2022-02-05T20:39:58.650Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4687.novalocal: Name or service not known [2022-02-05T20:39:58.650Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4687.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-05T20:39:58.686Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:39:58.980Z] ---> job-cost.sh [2022-02-05T20:39:58.980Z] lf-activate-venv: SKIPPING [2022-02-05T20:39:58.980Z] DEBUG: total: 0.10999999940395355 [2022-02-05T20:39:58.980Z] INFO: Retrieving Stack Cost... [2022-02-05T20:39:59.554Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-05T20:39:59.818Z] INFO: Archiving Costs [Pipeline] echo [2022-02-05T20:39:59.835Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-05T20:40:00.132Z] ---> logs-deploy.sh [2022-02-05T20:40:00.132Z] lf-activate-venv: SKIPPING [2022-02-05T20:40:00.132Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/22 [2022-02-05T20:40:00.132Z] INFO: archiving workspace using pattern(s): [2022-02-05T20:40:00.703Z] Archives upload complete. [2022-02-05T20:40:00.964Z] INFO: archiving logs to Nexus