Pull request #3842 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 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-ssh10565446158342940442.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-ssh15339677700602298365.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-ssh9973770369827708174.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-ssh17419994143667217547.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-ssh2225996813454918519.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-4542 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/20 [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/20 # 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/20@tmp/jenkins-gitclient-ssh720295617528211949.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/20@tmp/jenkins-gitclient-ssh6827866314470246817.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 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing ff021345e98138f178ce1c6684829ec1189dcd17 Checking out Revision ff021345e98138f178ce1c6684829ec1189dcd17 (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/20@tmp/jenkins-gitclient-ssh7492689656774388129.key > git merge 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff021345e98138f178ce1c6684829ec1189dcd17 # timeout=10 Commit message: "Merge commit '6e64952caa3c3a65fc9a01095a97c9e8f8653b98' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-03T10:33:09.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-03T10:33:09.614Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-03T10:33:09.631Z] ========================================================= [2022-02-03T10:33:09.631Z] EdgeX Global Pipelines Version Info [2022-02-03T10:33:09.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 33f2fbeffb0c778bcf3b75882590f5249c7e3ed4 # timeout=10 [2022-02-03T10:33:10.765Z] ------------------- [2022-02-03T10:33:10.765Z] stable info: [2022-02-03T10:33:10.765Z] ------------------- [2022-02-03T10:33:10.765Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T10:33:10.765Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T10:33:10.765Z] Message: update stable to v1.0.220 [2022-02-03T10:33:11.711Z] ------------------- [2022-02-03T10:33:11.711Z] experimental info: [2022-02-03T10:33:11.711Z] ------------------- [2022-02-03T10:33:11.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T10:33:11.711Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T10:33:11.711Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-03T10:33:11.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-02-03T10:33:11.862Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-02-03T10:33:11.874Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-03T10:33:11.890Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-03T10:33:11.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-03T10:33:11.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-03T10:33:11.936Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-03T10:33:11.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-02-03T10:33:11.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-02-03T10:33:11.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-02-03T10:33:11.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-03T10:33:11.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-03T10:33:12.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-03T10:33:12.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-03T10:33:12.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-03T10:33:12.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-03T10:33:12.055Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-03T10:33:12.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-03T10:33:12.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-03T10:33:12.091Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-03T10:33:12.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-03T10:33:12.122Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-03T10:33:12.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-02-03T10:33:12.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-02-03T10:33:12.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-02-03T10:33:12.168Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff021345e98138f178ce1c6684829ec1189dcd17 [Pipeline] echo [2022-02-03T10:33:12.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff02134 [Pipeline] echo [2022-02-03T10:33:12.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T10:33:12.237Z] provisioning config files... [2022-02-03T10:33:12.248Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config2515785377950946170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:33:12.554Z] ---> docker-login.sh [2022-02-03T10:33:12.554Z] nexus3.edgexfoundry.org:10001 [2022-02-03T10:33:12.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:33:12.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:33:12.823Z] Configure a credential helper to remove this warning. See [2022-02-03T10:33:12.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:33:12.823Z] [2022-02-03T10:33:12.823Z] Login Succeeded [2022-02-03T10:33:12.823Z] nexus3.edgexfoundry.org:10002 [2022-02-03T10:33:12.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:33:12.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:33:12.823Z] Configure a credential helper to remove this warning. See [2022-02-03T10:33:12.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:33:12.823Z] [2022-02-03T10:33:12.823Z] Login Succeeded [2022-02-03T10:33:12.823Z] nexus3.edgexfoundry.org:10003 [2022-02-03T10:33:12.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:33:12.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:33:12.823Z] Configure a credential helper to remove this warning. See [2022-02-03T10:33:12.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:33:12.823Z] [2022-02-03T10:33:12.823Z] Login Succeeded [2022-02-03T10:33:12.823Z] nexus3.edgexfoundry.org:10004 [2022-02-03T10:33:13.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:33:13.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:33:13.084Z] Configure a credential helper to remove this warning. See [2022-02-03T10:33:13.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:33:13.084Z] [2022-02-03T10:33:13.084Z] Login Succeeded [2022-02-03T10:33:13.084Z] docker.io [2022-02-03T10:33:13.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:33:13.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:33:13.345Z] Configure a credential helper to remove this warning. See [2022-02-03T10:33:13.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:33:13.345Z] [2022-02-03T10:33:13.345Z] Login Succeeded [2022-02-03T10:33:13.345Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T10:33:13.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T10:33:13.668Z] ++ 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-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/core-command/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo core-command,cmd/core-command/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/core-data/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo core-data,cmd/core-data/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/core-metadata/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-02-03T10:33:13.668Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/support-notifications/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-02-03T10:33:13.668Z] + for file in '`ls cmd/**/Dockerfile`' [2022-02-03T10:33:13.668Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-02-03T10:33:13.668Z] ++ cut -d/ -f2 [2022-02-03T10:33:13.668Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-02-03T10:33:13.703Z] 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-03T10:33:14.120Z] + git rev-list -1 --merges ff021345e98138f178ce1c6684829ec1189dcd17~1..ff021345e98138f178ce1c6684829ec1189dcd17 [Pipeline] echo [2022-02-03T10:33:14.138Z] -----------> git rev-list -1 --merges ff021345e98138f178ce1c6684829ec1189dcd17~1..ff021345e98138f178ce1c6684829ec1189dcd17 ff021345e98138f178ce1c6684829ec1189dcd17 [2022-02-03T10:33:14.138Z] ff021345e98138f178ce1c6684829ec1189dcd17 [false] [Pipeline] sh [2022-02-03T10:33:14.432Z] + git log --format=format:%s -1 ff021345e98138f178ce1c6684829ec1189dcd17 [Pipeline] echo [2022-02-03T10:33:14.448Z] ========================================================= [2022-02-03T10:33:14.448Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-03T10:33:14.448Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-03T10:33:15.006Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T10:33:15.006Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-03T10:33:15.006Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-03T10:33:15.006Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-03T10:33:15.006Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-03T10:33:15.006Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-03T10:33:15.006Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:33:15.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T10:33:15.426Z] [2022-02-03T10:33:15.426Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:33:15.733Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T10:33:15.733Z] latest: Pulling from edgex-devops/git-semver [2022-02-03T10:33:15.733Z] a0d0a0d46f8b: Pulling fs layer [2022-02-03T10:33:15.733Z] 3e5f54012d9b: Pulling fs layer [2022-02-03T10:33:15.733Z] 4c7163046ea9: Pulling fs layer [2022-02-03T10:33:15.733Z] 0c2d73faf560: Pulling fs layer [2022-02-03T10:33:15.733Z] 0c2d73faf560: Waiting [2022-02-03T10:33:15.733Z] 3e5f54012d9b: Verifying Checksum [2022-02-03T10:33:15.733Z] 3e5f54012d9b: Download complete [2022-02-03T10:33:15.733Z] a0d0a0d46f8b: Verifying Checksum [2022-02-03T10:33:15.733Z] a0d0a0d46f8b: Download complete [2022-02-03T10:33:15.733Z] 0c2d73faf560: Verifying Checksum [2022-02-03T10:33:15.733Z] 0c2d73faf560: Download complete [2022-02-03T10:33:15.733Z] 4c7163046ea9: Verifying Checksum [2022-02-03T10:33:15.733Z] 4c7163046ea9: Download complete [2022-02-03T10:33:16.000Z] a0d0a0d46f8b: Pull complete [2022-02-03T10:33:16.000Z] 3e5f54012d9b: Pull complete [2022-02-03T10:33:16.261Z] 4c7163046ea9: Pull complete [2022-02-03T10:33:16.522Z] 0c2d73faf560: Pull complete [2022-02-03T10:33:16.522Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-03T10:33:16.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T10:33:16.522Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-03T10:33:16.585Z] prd-centos7-docker-4c-2g-4542 does not seem to be running inside a container [2022-02-03T10:33:16.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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-03T10:33:17.167Z] $ docker top 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T10:33:17.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T10:33:17.253Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T10:33:17.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T10:33:17.353Z] $ docker exec 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b ssh-agent [2022-02-03T10:33:17.452Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOCaHj/agent.13 [2022-02-03T10:33:17.452Z] SSH_AGENT_PID=19 [2022-02-03T10:33:17.460Z] Running ssh-add (command line suppressed) [2022-02-03T10:33:17.549Z] Identity added: /w/workspace/edgex-go/20@tmp/private_key_3243934374637798536.key (/w/workspace/edgex-go/20@tmp/private_key_3243934374637798536.key) [2022-02-03T10:33:17.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T10:33:17.870Z] + git tag --points-at HEAD [Pipeline] } [2022-02-03T10:33:17.895Z] $ docker exec --env ******** --env ******** 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b ssh-agent -k [2022-02-03T10:33:18.011Z] unset SSH_AUTH_SOCK; [2022-02-03T10:33:18.011Z] unset SSH_AGENT_PID; [2022-02-03T10:33:18.012Z] echo Agent pid 19 killed; [2022-02-03T10:33:18.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-03T10:33:18.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T10:33:18.044Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T10:33:18.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T10:33:18.178Z] $ docker exec 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b ssh-agent [2022-02-03T10:33:18.269Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgefHm/agent.54 [2022-02-03T10:33:18.269Z] SSH_AGENT_PID=61 [2022-02-03T10:33:18.286Z] Running ssh-add (command line suppressed) [2022-02-03T10:33:18.394Z] Identity added: /w/workspace/edgex-go/20@tmp/private_key_8017674695066784179.key (/w/workspace/edgex-go/20@tmp/private_key_8017674695066784179.key) [2022-02-03T10:33:18.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T10:33:18.702Z] + git semver init [2022-02-03T10:33:18.702Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T10:33:18.702Z] # $GIT_DIR = /w/workspace/edgex-go/20/.git [2022-02-03T10:33:18.702Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/20 [2022-02-03T10:33:18.702Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T10:33:18.702Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T10:33:18.702Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T10:33:18.702Z] # $SEMVER_BRANCH = PR-3842 [2022-02-03T10:33:18.702Z] # $SEMVER_TEMP = /tmp/semver-925236684 [2022-02-03T10:33:18.702Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-02-03T10:33:33.662Z] # '/tmp/semver-925236684' -> '/w/workspace/edgex-go/20/.semver' [2022-02-03T10:33:33.662Z] # -> Force: false [2022-02-03T10:33:33.662Z] # $SEMVER_DIR = /w/workspace/edgex-go/20/.semver [Pipeline] } [2022-02-03T10:33:33.672Z] $ docker exec --env ******** --env ******** 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b ssh-agent -k [2022-02-03T10:33:33.772Z] unset SSH_AUTH_SOCK; [2022-02-03T10:33:33.772Z] unset SSH_AGENT_PID; [2022-02-03T10:33:33.772Z] echo Agent pid 61 killed; [2022-02-03T10:33:33.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T10:33:34.095Z] + git semver [Pipeline] } [2022-02-03T10:33:34.110Z] $ docker stop --time=1 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b [2022-02-03T10:33:36.110Z] $ docker rm -f 29010859cfe62b576e13b3a11367f49e42df8ebaf6c614b1fc58ca7753348d6b [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-03T10:33:36.490Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-03T10:33:36.710Z] Stashed 1 file(s) [Pipeline] echo [2022-02-03T10:33:36.715Z] [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-03T10:33:36.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T10:33:36.888Z] ========================================================= [2022-02-03T10:33:36.888Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-03T10:33:36.888Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:33:37.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T10:33:37.195Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-03T10:33:37.195Z] 59bf1c3509f3: Pulling fs layer [2022-02-03T10:33:37.195Z] 666ba61612fd: Pulling fs layer [2022-02-03T10:33:37.195Z] 8ed8ca486205: Pulling fs layer [2022-02-03T10:33:37.195Z] 4fe6c5a15a65: Pulling fs layer [2022-02-03T10:33:37.195Z] 22a0e8bec74d: Pulling fs layer [2022-02-03T10:33:37.195Z] 640e595b4fbd: Pulling fs layer [2022-02-03T10:33:37.195Z] 763cafe07f6e: Pulling fs layer [2022-02-03T10:33:37.195Z] 0c0b528cf693: Pulling fs layer [2022-02-03T10:33:37.195Z] 10935f4eaf8b: Pulling fs layer [2022-02-03T10:33:37.195Z] 4fe6c5a15a65: Waiting [2022-02-03T10:33:37.195Z] 22a0e8bec74d: Waiting [2022-02-03T10:33:37.195Z] 640e595b4fbd: Waiting [2022-02-03T10:33:37.195Z] 763cafe07f6e: Waiting [2022-02-03T10:33:37.195Z] 0c0b528cf693: Waiting [2022-02-03T10:33:37.195Z] 10935f4eaf8b: Waiting [2022-02-03T10:33:37.195Z] 8ed8ca486205: Verifying Checksum [2022-02-03T10:33:37.195Z] 8ed8ca486205: Download complete [2022-02-03T10:33:37.195Z] 666ba61612fd: Verifying Checksum [2022-02-03T10:33:37.195Z] 666ba61612fd: Download complete [2022-02-03T10:33:37.195Z] 22a0e8bec74d: Verifying Checksum [2022-02-03T10:33:37.195Z] 22a0e8bec74d: Download complete [2022-02-03T10:33:37.195Z] 59bf1c3509f3: Verifying Checksum [2022-02-03T10:33:37.195Z] 59bf1c3509f3: Download complete [2022-02-03T10:33:37.195Z] 640e595b4fbd: Verifying Checksum [2022-02-03T10:33:37.195Z] 640e595b4fbd: Download complete [2022-02-03T10:33:37.195Z] 763cafe07f6e: Verifying Checksum [2022-02-03T10:33:37.195Z] 763cafe07f6e: Download complete [2022-02-03T10:33:37.456Z] 0c0b528cf693: Verifying Checksum [2022-02-03T10:33:37.456Z] 0c0b528cf693: Download complete [2022-02-03T10:33:37.456Z] 59bf1c3509f3: Pull complete [2022-02-03T10:33:37.456Z] 666ba61612fd: Pull complete [2022-02-03T10:33:37.722Z] 8ed8ca486205: Pull complete [2022-02-03T10:33:37.987Z] 10935f4eaf8b: Verifying Checksum [2022-02-03T10:33:37.987Z] 10935f4eaf8b: Download complete [2022-02-03T10:33:37.987Z] 4fe6c5a15a65: Download complete [2022-02-03T10:33:42.240Z] 4fe6c5a15a65: Pull complete [2022-02-03T10:33:42.240Z] 22a0e8bec74d: Pull complete [2022-02-03T10:33:42.240Z] 640e595b4fbd: Pull complete [2022-02-03T10:33:42.240Z] 763cafe07f6e: Pull complete [2022-02-03T10:33:42.240Z] 0c0b528cf693: Pull complete [2022-02-03T10:33:44.803Z] 10935f4eaf8b: Pull complete [2022-02-03T10:33:44.803Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-03T10:33:44.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T10:33:44.803Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:33:45.103Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T10:33:45.103Z] WORKDIR /edgex [2022-02-03T10:33:45.103Z] COPY go.mod . [2022-02-03T10:33:45.103Z] RUN go mod download' [2022-02-03T10:33:45.103Z] + docker build -t ci-base-image-x86_64 -f - . [2022-02-03T10:33:47.664Z] Sending build context to Docker daemon 334.1MB [2022-02-03T10:33:47.664Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T10:33:47.664Z] ---> 99d49a6021b9 [2022-02-03T10:33:47.664Z] Step 2/4 : WORKDIR /edgex [2022-02-03T10:33:47.933Z] ---> Running in 20fd6aad88d4 [2022-02-03T10:33:48.195Z] Removing intermediate container 20fd6aad88d4 [2022-02-03T10:33:48.195Z] ---> c114d66c792e [2022-02-03T10:33:48.195Z] Step 3/4 : COPY go.mod . [2022-02-03T10:33:48.459Z] ---> 39692d2af0fb [2022-02-03T10:33:48.459Z] Step 4/4 : RUN go mod download [2022-02-03T10:33:48.459Z] ---> Running in 069796ee1b7e [2022-02-03T10:33:51.810Z] Still waiting to schedule task [2022-02-03T10:33:51.810Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-03T10:34:20.831Z] Removing intermediate container 069796ee1b7e [2022-02-03T10:34:20.832Z] ---> 4edded2ae3a3 [2022-02-03T10:34:20.832Z] Successfully built 4edded2ae3a3 [2022-02-03T10:34:20.832Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:34:21.137Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T10:34:21.137Z] . [Pipeline] withDockerContainer [2022-02-03T10:34:21.210Z] prd-centos7-docker-4c-2g-4542 does not seem to be running inside a container [2022-02-03T10:34:21.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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-03T10:34:21.643Z] $ docker top 270c7ca53f42ca68e2e44c5187040ff0dae0c509fabfa87a633bd0a3b71945bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T10:34:22.023Z] + go version [2022-02-03T10:34:22.023Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-03T10:34:22.035Z] $ docker stop --time=1 270c7ca53f42ca68e2e44c5187040ff0dae0c509fabfa87a633bd0a3b71945bf [2022-02-03T10:34:23.233Z] $ docker rm -f 270c7ca53f42ca68e2e44c5187040ff0dae0c509fabfa87a633bd0a3b71945bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:34:23.671Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T10:34:23.671Z] . [Pipeline] withDockerContainer [2022-02-03T10:34:23.748Z] prd-centos7-docker-4c-2g-4542 does not seem to be running inside a container [2022-02-03T10:34:23.786Z] $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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-03T10:34:24.174Z] $ docker top eb403aafef2f83b3b1f019efb759e43c63de4f41e38494f3dbea53f488b57a4b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-03T10:34:24.270Z] ========================================================= [2022-02-03T10:34:24.270Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-02-03T10:34:24.270Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:34:24.563Z] + make test [2022-02-03T10:34:24.563Z] go mod tidy [2022-02-03T10:34:24.829Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-02-03T10:34:25.093Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-03T10:34:30.428Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-03T10:34:30.428Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-02-03T10:34:30.428Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-03T10:34:37.052Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-02-03T10:34:59.143Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-02-03T10:35:05.781Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-02-03T10:35:05.781Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-02-03T10:35:05.781Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-02-03T10:35:07.733Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-02-03T10:35:08.318Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-02-03T10:35:08.318Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-02-03T10:35:08.318Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-02-03T10:35:12.568Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-02-03T10:35:12.568Z] 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-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-02-03T10:35:12.568Z] 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-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-02-03T10:35:12.568Z] /w/workspace/edgex-go/20/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-02-03T10:35:12.568Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-02-03T10:35:13.978Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.057s coverage: 28.7% of statements [2022-02-03T10:35:14.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.057s coverage: 98.5% of statements [2022-02-03T10:35:15.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.050s coverage: 44.7% of statements [2022-02-03T10:35:15.480Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.127s coverage: 89.5% of statements [2022-02-03T10:35:16.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.054s coverage: 84.4% of statements [2022-02-03T10:35:17.488Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.275s coverage: 94.2% of statements [2022-02-03T10:35:17.488Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.049s coverage: 59.1% of statements [2022-02-03T10:35:18.073Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.056s coverage: 60.0% of statements [2022-02-03T10:35:18.875Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4543 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-02-03T10:35:18.886Z] Running in /w/workspace/edgex-go/20 [Pipeline] { [Pipeline] checkout [2022-02-03T10:35:19.025Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.065s coverage: 0.9% of statements [2022-02-03T10:35:19.025Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.042s coverage: 58.8% of statements [2022-02-03T10:35:19.025Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.049s coverage: 21.7% of statements [2022-02-03T10:35:19.040Z] The recommended git tool is: git [2022-02-03T10:35:19.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements [2022-02-03T10:35:20.684Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.068s coverage: 79.5% of statements [2022-02-03T10:35:20.685Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.053s coverage: 94.1% of statements [2022-02-03T10:35:20.685Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.064s coverage: 96.3% of statements [2022-02-03T10:35:20.685Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.053s coverage: 87.5% of statements [2022-02-03T10:35:23.529Z] using credential edgex-jenkins-ssh [2022-02-03T10:35:23.561Z] Cloning the remote Git repository [2022-02-03T10:35:23.609Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-02-03T10:35:23.680Z] > git init /w/workspace/edgex-go/20 # timeout=10 [2022-02-03T10:35:23.762Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-02-03T10:35:23.763Z] > git --version # timeout=10 [2022-02-03T10:35:23.791Z] > git --version # 'git version 2.17.1' [2022-02-03T10:35:23.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T10:35:23.861Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T10:35:32.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.060s coverage: 94.4% of statements [2022-02-03T10:35:32.937Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.043s coverage: 44.8% of statements [2022-02-03T10:35:37.139Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.200s coverage: 82.5% of statements [2022-02-03T10:35:40.743Z] Merging remotes/origin/main commit 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-02-03T10:35:39.727Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-02-03T10:35:39.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T10:35:39.773Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-02-03T10:35:39.857Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-02-03T10:35:39.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T10:35:39.870Z] > 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-03T10:35:40.760Z] > git config core.sparsecheckout # timeout=10 [2022-02-03T10:35:40.773Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-02-03T10:35:40.993Z] > git remote # timeout=10 [2022-02-03T10:35:41.008Z] > git config --get remote.origin.url # timeout=10 [2022-02-03T10:35:41.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T10:35:41.038Z] > git merge 6e64952caa3c3a65fc9a01095a97c9e8f8653b98 # timeout=10 [2022-02-03T10:35:41.312Z] Merge succeeded, producing e80574fb83b875cda02cffecfd400a03e706bf29 [2022-02-03T10:35:41.312Z] Checking out Revision e80574fb83b875cda02cffecfd400a03e706bf29 (PR-3842) [2022-02-03T10:35:41.290Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-03T10:35:41.318Z] > git config core.sparsecheckout # timeout=10 [2022-02-03T10:35:41.338Z] > git checkout -f e80574fb83b875cda02cffecfd400a03e706bf29 # timeout=10 [2022-02-03T10:35:45.446Z] Commit message: "Merge commit '6e64952caa3c3a65fc9a01095a97c9e8f8653b98' into HEAD" [2022-02-03T10:35:45.472Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T10:35:46.403Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-03T10:35:46.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-03T10:35:46.403Z] Dload Upload Total Spent Left Speed [2022-02-03T10:35:46.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh [2022-02-03T10:35:46.925Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-03T10:35:47.297Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-03T10:35:47.297Z] + sudo tee /etc/docker/daemon.new [2022-02-03T10:35:47.297Z] { [2022-02-03T10:35:47.297Z] "registry-mirrors": [ [2022-02-03T10:35:47.297Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-03T10:35:47.297Z] ], [2022-02-03T10:35:47.297Z] "bip": "10.250.0.254/24", [2022-02-03T10:35:47.297Z] "hosts": [ [2022-02-03T10:35:47.297Z] "tcp://0.0.0.0:5555", [2022-02-03T10:35:47.297Z] "unix:///var/run/docker.sock" [2022-02-03T10:35:47.297Z] ], [2022-02-03T10:35:47.297Z] "mtu": 1458, [2022-02-03T10:35:47.297Z] "selinux-enabled": true, [2022-02-03T10:35:47.297Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-03T10:35:47.297Z] } [Pipeline] sh [2022-02-03T10:35:45.454Z] > git rev-list --no-walk 33f2fbeffb0c778bcf3b75882590f5249c7e3ed4 # timeout=10 [2022-02-03T10:35:47.647Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-03T10:35:47.984Z] + sudo service docker restart [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.084s coverage: 92.9% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.063s coverage: 58.8% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 85.4% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.144s coverage: 91.2% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.125s coverage: 64.4% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.022s coverage: 73.7% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.020s coverage: 100.0% of statements [2022-02-03T10:35:55.289Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.273s coverage: 65.4% of statements [2022-02-03T10:35:56.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.122s coverage: 43.8% of statements [2022-02-03T10:35:56.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.047s coverage: 89.5% of statements [2022-02-03T10:35:56.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.045s coverage: 84.8% of statements [2022-02-03T10:35:56.520Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-02-03T10:35:56.520Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-02-03T10:35:56.787Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.055s coverage: 63.2% of statements [2022-02-03T10:35:57.362Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.106s coverage: 97.7% of statements [2022-02-03T10:35:57.362Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.056s coverage: 28.9% of statements [2022-02-03T10:35:57.941Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements [2022-02-03T10:35:57.941Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements [2022-02-03T10:35:58.201Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-02-03T10:35:58.215Z] $ docker stop --time=1 eb403aafef2f83b3b1f019efb759e43c63de4f41e38494f3dbea53f488b57a4b [2022-02-03T10:35:59.641Z] $ docker rm -f eb403aafef2f83b3b1f019efb759e43c63de4f41e38494f3dbea53f488b57a4b [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-03T10:36:00.651Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T10:36:06.305Z] provisioning config files... [2022-02-03T10:36:06.329Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/20@tmp/config2057636135433653259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:36:06.681Z] ---> docker-login.sh [2022-02-03T10:36:06.681Z] nexus3.edgexfoundry.org:10001 [2022-02-03T10:36:07.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:36:07.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:36:07.275Z] Configure a credential helper to remove this warning. See [2022-02-03T10:36:07.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:36:07.275Z] [2022-02-03T10:36:07.275Z] Login Succeeded [2022-02-03T10:36:07.547Z] nexus3.edgexfoundry.org:10002 [2022-02-03T10:36:07.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:36:07.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:36:07.819Z] Configure a credential helper to remove this warning. See [2022-02-03T10:36:07.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:36:07.819Z] [2022-02-03T10:36:07.819Z] Login Succeeded [2022-02-03T10:36:07.819Z] nexus3.edgexfoundry.org:10003 [2022-02-03T10:36:08.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:36:08.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:36:08.091Z] Configure a credential helper to remove this warning. See [2022-02-03T10:36:08.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:36:08.091Z] [2022-02-03T10:36:08.091Z] Login Succeeded [2022-02-03T10:36:08.091Z] nexus3.edgexfoundry.org:10004 [2022-02-03T10:36:08.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:36:08.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:36:08.641Z] Configure a credential helper to remove this warning. See [2022-02-03T10:36:08.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:36:08.641Z] [2022-02-03T10:36:08.641Z] Login Succeeded [2022-02-03T10:36:08.641Z] docker.io [2022-02-03T10:36:08.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T10:36:09.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T10:36:09.181Z] Configure a credential helper to remove this warning. See [2022-02-03T10:36:09.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T10:36:09.181Z] [2022-02-03T10:36:09.181Z] Login Succeeded [2022-02-03T10:36:09.181Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T10:36:09.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-03T10:36:09.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T10:36:09.686Z] ========================================================= [2022-02-03T10:36:09.686Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-03T10:36:09.686Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:36:10.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T10:36:10.048Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-03T10:36:10.048Z] 9b3977197b4f: Pulling fs layer [2022-02-03T10:36:10.048Z] 1a89e8eeedd5: Pulling fs layer [2022-02-03T10:36:10.048Z] 94645a83ff95: Pulling fs layer [2022-02-03T10:36:10.048Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-03T10:36:10.048Z] 0c92f367c5e7: Pulling fs layer [2022-02-03T10:36:10.048Z] f7c0051592d6: Pulling fs layer [2022-02-03T10:36:10.048Z] a227ed2f7395: Pulling fs layer [2022-02-03T10:36:10.048Z] 7b1c46037f91: Pulling fs layer [2022-02-03T10:36:10.048Z] f7c0051592d6: Waiting [2022-02-03T10:36:10.048Z] 3f3a8bcf1eab: Waiting [2022-02-03T10:36:10.048Z] 0c92f367c5e7: Waiting [2022-02-03T10:36:10.048Z] a227ed2f7395: Waiting [2022-02-03T10:36:10.048Z] 7b1c46037f91: Waiting [2022-02-03T10:36:10.320Z] 94645a83ff95: Verifying Checksum [2022-02-03T10:36:10.320Z] 94645a83ff95: Download complete [2022-02-03T10:36:10.320Z] 1a89e8eeedd5: Verifying Checksum [2022-02-03T10:36:10.320Z] 1a89e8eeedd5: Download complete [2022-02-03T10:36:10.320Z] 0c92f367c5e7: Verifying Checksum [2022-02-03T10:36:10.320Z] 0c92f367c5e7: Download complete [2022-02-03T10:36:10.320Z] f7c0051592d6: Verifying Checksum [2022-02-03T10:36:10.320Z] f7c0051592d6: Download complete [2022-02-03T10:36:10.320Z] 9b3977197b4f: Download complete [2022-02-03T10:36:10.320Z] a227ed2f7395: Verifying Checksum [2022-02-03T10:36:10.320Z] a227ed2f7395: Download complete [2022-02-03T10:36:10.931Z] 9b3977197b4f: Pull complete [2022-02-03T10:36:11.543Z] 1a89e8eeedd5: Pull complete [2022-02-03T10:36:11.817Z] 94645a83ff95: Pull complete [2022-02-03T10:36:12.090Z] 7b1c46037f91: Verifying Checksum [2022-02-03T10:36:12.090Z] 7b1c46037f91: Download complete [2022-02-03T10:36:12.684Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-03T10:36:12.684Z] 3f3a8bcf1eab: Download complete [2022-02-03T10:36:25.079Z] 3f3a8bcf1eab: Pull complete [2022-02-03T10:36:25.079Z] 0c92f367c5e7: Pull complete [2022-02-03T10:36:25.079Z] f7c0051592d6: Pull complete [2022-02-03T10:36:25.079Z] a227ed2f7395: Pull complete [2022-02-03T10:36:30.499Z] 7b1c46037f91: Pull complete [2022-02-03T10:36:30.499Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-03T10:36:30.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T10:36:30.499Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:36:30.856Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T10:36:30.856Z] WORKDIR /edgex [2022-02-03T10:36:30.856Z] COPY go.mod . [2022-02-03T10:36:30.856Z] RUN go mod download [2022-02-03T10:36:30.856Z] + docker build -t ci-base-image-arm64 -f - . [2022-02-03T10:36:33.496Z] Sending build context to Docker daemon 168.8MB [2022-02-03T10:36:33.496Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T10:36:33.496Z] ---> f79e39bc4007 [2022-02-03T10:36:33.496Z] Step 2/4 : WORKDIR /edgex [2022-02-03T10:36:35.498Z] ---> Running in 2c11a8cef29d [2022-02-03T10:36:35.498Z] Removing intermediate container 2c11a8cef29d [2022-02-03T10:36:35.498Z] ---> 5d9e886f094d [2022-02-03T10:36:35.498Z] Step 3/4 : COPY go.mod . [2022-02-03T10:36:36.105Z] ---> 4d19cad6ffae [2022-02-03T10:36:36.105Z] Step 4/4 : RUN go mod download [2022-02-03T10:36:36.105Z] ---> Running in 6e963acd56b6 [2022-02-03T10:37:57.882Z] Removing intermediate container 6e963acd56b6 [2022-02-03T10:37:57.882Z] ---> 08313a5271e6 [2022-02-03T10:37:57.882Z] Successfully built 08313a5271e6 [2022-02-03T10:37:57.882Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:37:58.230Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T10:37:58.230Z] . [Pipeline] withDockerContainer [2022-02-03T10:37:58.465Z] prd-ubuntu18.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2022-02-03T10:37:58.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-03T10:37:59.872Z] $ docker top aaba8ab4f04b1a74cad4321d60f0e71880b6aecb74d5d258be28317d88c1bb65 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T10:38:00.791Z] + go version [2022-02-03T10:38:00.791Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-03T10:38:00.812Z] $ docker stop --time=1 aaba8ab4f04b1a74cad4321d60f0e71880b6aecb74d5d258be28317d88c1bb65 [2022-02-03T10:38:02.465Z] $ docker rm -f aaba8ab4f04b1a74cad4321d60f0e71880b6aecb74d5d258be28317d88c1bb65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:38:03.063Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T10:38:03.063Z] . [Pipeline] withDockerContainer [2022-02-03T10:38:03.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2022-02-03T10:38:03.341Z] $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-03T10:38:04.610Z] $ docker top db7408c3e6c82c26eea70872ab1cea16ff619c0ac11dc1a9f6174ce5e8919c5f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-03T10:38:04.867Z] ========================================================= [2022-02-03T10:38:04.867Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-02-03T10:38:04.867Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-02-03T10:38:05.517Z] + make test [2022-02-03T10:38:05.517Z] go mod tidy [2022-02-03T10:38:06.115Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-02-03T10:38:06.713Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-03T10:38:28.874Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1473 [2022-02-03T10:38:28.874Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-02-03T10:38:28.874Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-03T10:38:55.673Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-02-03T10:40:03.710Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-02-03T10:40:13.881Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-02-03T10:40:13.881Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-02-03T10:40:13.881Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-02-03T10:40:14.857Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-02-03T10:40:15.836Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-02-03T10:40:16.110Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-02-03T10:40:16.110Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-02-03T10:40:42.942Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-02-03T10:40:42.942Z] 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-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-02-03T10:40:42.942Z] 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-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-02-03T10:40:42.942Z] /w/workspace/edgex-go/20/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-02-03T10:40:42.942Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-02-03T10:40:42.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.257s coverage: 28.7% of statements [2022-02-03T10:40:42.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.403s coverage: 98.5% of statements [2022-02-03T10:40:42.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.394s coverage: 44.7% of statements [2022-02-03T10:40:42.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.689s coverage: 89.5% of statements [2022-02-03T10:40:42.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.256s coverage: 84.4% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.588s coverage: 94.2% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.190s coverage: 59.1% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.182s coverage: 60.0% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.471s coverage: 0.9% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.176s coverage: 58.8% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.200s coverage: 21.7% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.239s coverage: 47.1% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.217s coverage: 79.5% of statements [2022-02-03T10:40:48.364Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.204s coverage: 94.1% of statements [2022-02-03T10:40:49.354Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.188s coverage: 96.3% of statements [2022-02-03T10:40:49.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.290s coverage: 87.5% of statements [2022-02-03T10:41:02.106Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.235s coverage: 94.4% of statements [2022-02-03T10:41:02.106Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.213s coverage: 44.8% of statements [2022-02-03T10:41:08.833Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.717s coverage: 82.5% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.249s coverage: 92.9% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.061s coverage: 65.1% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.194s coverage: 87.2% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.162s coverage: 100.0% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.254s coverage: 58.8% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.236s coverage: 80.0% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.201s coverage: 87.2% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.264s coverage: 85.4% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.735s coverage: 91.2% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.701s coverage: 64.4% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.181s coverage: 100.0% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.082s coverage: 89.4% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.050s coverage: 100.0% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.104s coverage: 73.7% of statements [2022-02-03T10:41:15.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2022-02-03T10:41:19.884Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.238s coverage: 65.4% of statements [2022-02-03T10:41:22.521Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.716s coverage: 43.8% of statements [2022-02-03T10:41:22.521Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.276s coverage: 89.5% of statements [2022-02-03T10:41:22.521Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.300s coverage: 84.8% of statements [2022-02-03T10:41:22.521Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-02-03T10:41:22.521Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-02-03T10:41:22.521Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.227s coverage: 63.2% of statements [2022-02-03T10:41:25.148Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.349s coverage: 97.7% of statements [2022-02-03T10:41:25.148Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.283s coverage: 28.9% of statements [2022-02-03T10:41:25.148Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.207s coverage: 100.0% of statements [2022-02-03T10:41:25.148Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements [2022-02-03T10:41:25.741Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-02-03T10:41:25.759Z] $ docker stop --time=1 db7408c3e6c82c26eea70872ab1cea16ff619c0ac11dc1a9f6174ce5e8919c5f [2022-02-03T10:41:27.762Z] $ docker rm -f db7408c3e6c82c26eea70872ab1cea16ff619c0ac11dc1a9f6174ce5e8919c5f [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-03T10:41:31.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T10:41:31.973Z] [2022-02-03T10:41:31.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:41:32.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T10:41:32.595Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-03T10:41:32.595Z] 448f6bf000e3: Pulling fs layer [2022-02-03T10:41:32.595Z] f757da607395: Pulling fs layer [2022-02-03T10:41:32.595Z] 05883995daec: Pulling fs layer [2022-02-03T10:41:32.595Z] 8603b9c90790: Pulling fs layer [2022-02-03T10:41:32.595Z] 1560dd03e051: Pulling fs layer [2022-02-03T10:41:32.595Z] 27f5ce0e4adf: Pulling fs layer [2022-02-03T10:41:32.595Z] c2d8d7efcc4b: Pulling fs layer [2022-02-03T10:41:32.595Z] 1560dd03e051: Waiting [2022-02-03T10:41:32.595Z] 27f5ce0e4adf: Waiting [2022-02-03T10:41:32.595Z] 8603b9c90790: Waiting [2022-02-03T10:41:32.595Z] c2d8d7efcc4b: Waiting [2022-02-03T10:41:32.595Z] f757da607395: Verifying Checksum [2022-02-03T10:41:32.595Z] f757da607395: Download complete [2022-02-03T10:41:32.595Z] 8603b9c90790: Download complete [2022-02-03T10:41:32.869Z] 1560dd03e051: Verifying Checksum [2022-02-03T10:41:32.869Z] 1560dd03e051: Download complete [2022-02-03T10:41:32.869Z] 27f5ce0e4adf: Verifying Checksum [2022-02-03T10:41:32.869Z] 27f5ce0e4adf: Download complete [2022-02-03T10:41:32.869Z] 05883995daec: Verifying Checksum [2022-02-03T10:41:32.869Z] 05883995daec: Download complete [2022-02-03T10:41:33.141Z] 448f6bf000e3: Verifying Checksum [2022-02-03T10:41:33.141Z] 448f6bf000e3: Download complete [2022-02-03T10:41:35.767Z] c2d8d7efcc4b: Verifying Checksum [2022-02-03T10:41:36.740Z] 448f6bf000e3: Pull complete [2022-02-03T10:41:37.333Z] f757da607395: Pull complete [2022-02-03T10:41:38.762Z] 05883995daec: Pull complete [2022-02-03T10:41:39.035Z] 8603b9c90790: Pull complete [2022-02-03T10:41:40.011Z] 1560dd03e051: Pull complete [2022-02-03T10:41:40.282Z] 27f5ce0e4adf: Pull complete [2022-02-03T10:41:55.347Z] c2d8d7efcc4b: Pull complete [2022-02-03T10:41:55.347Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-03T10:41:55.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T10:41:55.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-03T10:41:55.546Z] prd-ubuntu18.04-docker-arm64-4c-16g-4543 does not seem to be running inside a container [2022-02-03T10:41:55.623Z] $ 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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-03T10:41:58.203Z] $ docker top 86a7ae80f222dba813eba410865da135e8a60dcf0d5228e931d323484ca2b405 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:41:59.180Z] ---> job-cost.sh [2022-02-03T10:41:59.181Z] lf-activate-venv: SKIPPING [2022-02-03T10:41:59.181Z] INFO: No Stack... [2022-02-03T10:41:59.454Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-03T10:41:59.725Z] INFO: Archiving Costs [Pipeline] sh [2022-02-03T10:42:00.381Z] + cut -d, -f6 [2022-02-03T10:42:00.381Z] + cat /w/workspace/edgex-go/20/archives/cost.csv [Pipeline] lock [2022-02-03T10:42:00.445Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-20-stack-cost] [2022-02-03T10:42:00.454Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-20-stack-cost] did not exist. Created. [2022-02-03T10:42:00.454Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-03T10:42:01.114Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-03T10:42:01.691Z] Stashed 1 file(s) [Pipeline] } [2022-02-03T10:42:01.698Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-03T10:42:01.710Z] $ docker stop --time=1 86a7ae80f222dba813eba410865da135e8a60dcf0d5228e931d323484ca2b405 [2022-02-03T10:42:03.180Z] $ docker rm -f 86a7ae80f222dba813eba410865da135e8a60dcf0d5228e931d323484ca2b405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-03T10:42:03.480Z] 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-03T10:42:04.133Z] + '[' -d /w/workspace/edgex-go/20/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:04.432Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:04.996Z] ---> package-listing.sh [2022-02-03T10:42:04.996Z] ++ facter osfamily [2022-02-03T10:42:04.996Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-03T10:42:05.258Z] + OS_FAMILY=redhat [2022-02-03T10:42:05.258Z] + workspace=/w/workspace/edgex-go/20 [2022-02-03T10:42:05.258Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-03T10:42:05.258Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-03T10:42:05.258Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-03T10:42:05.258Z] + PACKAGES=/tmp/packages_start.txt [2022-02-03T10:42:05.258Z] + '[' /w/workspace/edgex-go/20 ']' [2022-02-03T10:42:05.258Z] + PACKAGES=/tmp/packages_end.txt [2022-02-03T10:42:05.258Z] + case "${OS_FAMILY}" in [2022-02-03T10:42:05.258Z] + rpm -qa [2022-02-03T10:42:05.258Z] + sort [2022-02-03T10:42:05.834Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-03T10:42:05.834Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-03T10:42:05.834Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-03T10:42:05.834Z] + '[' /w/workspace/edgex-go/20 ']' [2022-02-03T10:42:05.834Z] + mkdir -p /w/workspace/edgex-go/20/archives/ [2022-02-03T10:42:05.834Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/20/archives/ [Pipeline] echo [2022-02-03T10:42:05.846Z] 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/20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-03T10:42:06.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:42:06.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T10:42:06.694Z] [2022-02-03T10:42:06.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T10:42:07.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T10:42:07.002Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-03T10:42:07.002Z] b4d181a07f80: Pulling fs layer [2022-02-03T10:42:07.002Z] a1111a8f2ec3: Pulling fs layer [2022-02-03T10:42:07.002Z] ed53099fbce6: Pulling fs layer [2022-02-03T10:42:07.002Z] dc539afda2c1: Pulling fs layer [2022-02-03T10:42:07.002Z] 77bc0d833cb6: Pulling fs layer [2022-02-03T10:42:07.002Z] 9065ff56babe: Pulling fs layer [2022-02-03T10:42:07.003Z] d287ab97295c: Pulling fs layer [2022-02-03T10:42:07.003Z] dc539afda2c1: Waiting [2022-02-03T10:42:07.003Z] 77bc0d833cb6: Waiting [2022-02-03T10:42:07.003Z] 9065ff56babe: Waiting [2022-02-03T10:42:07.003Z] d287ab97295c: Waiting [2022-02-03T10:42:07.003Z] a1111a8f2ec3: Download complete [2022-02-03T10:42:07.003Z] dc539afda2c1: Verifying Checksum [2022-02-03T10:42:07.003Z] dc539afda2c1: Download complete [2022-02-03T10:42:07.003Z] ed53099fbce6: Verifying Checksum [2022-02-03T10:42:07.003Z] ed53099fbce6: Download complete [2022-02-03T10:42:07.270Z] 9065ff56babe: Verifying Checksum [2022-02-03T10:42:07.270Z] 9065ff56babe: Download complete [2022-02-03T10:42:07.270Z] 77bc0d833cb6: Verifying Checksum [2022-02-03T10:42:07.270Z] 77bc0d833cb6: Download complete [2022-02-03T10:42:07.270Z] b4d181a07f80: Verifying Checksum [2022-02-03T10:42:07.270Z] b4d181a07f80: Download complete [2022-02-03T10:42:07.859Z] d287ab97295c: Verifying Checksum [2022-02-03T10:42:07.859Z] d287ab97295c: Download complete [2022-02-03T10:42:08.809Z] b4d181a07f80: Pull complete [2022-02-03T10:42:08.809Z] a1111a8f2ec3: Pull complete [2022-02-03T10:42:09.386Z] ed53099fbce6: Pull complete [2022-02-03T10:42:09.386Z] dc539afda2c1: Pull complete [2022-02-03T10:42:09.655Z] 77bc0d833cb6: Pull complete [2022-02-03T10:42:09.926Z] 9065ff56babe: Pull complete [2022-02-03T10:42:15.265Z] d287ab97295c: Pull complete [2022-02-03T10:42:15.265Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-03T10:42:15.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T10:42:15.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-03T10:42:15.460Z] prd-centos7-docker-4c-2g-4542 does not seem to be running inside a container [2022-02-03T10:42:15.635Z] $ 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/20/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/20 -v /w/workspace/edgex-go/20:/w/workspace/edgex-go/20:rw,z -v /w/workspace/edgex-go/20@tmp:/w/workspace/edgex-go/20@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-03T10:42:17.926Z] $ docker top 7632ac41e3c33e781175e15246af55ec0e5e88e465a4824cb23c39a61b599e0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T10:42:18.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-03T10:42:18.625Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-03T10:42:18.915Z] + ls /var/log/sa-host [2022-02-03T10:42:18.915Z] + sadf -c /var/log/sa-host/sa03 [2022-02-03T10:42:18.915Z] file_magic: OK [2022-02-03T10:42:18.915Z] HZ: Using current value: 100 [2022-02-03T10:42:18.915Z] file_header: OK [2022-02-03T10:42:18.915Z] 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-03T10:42:18.915Z] Statistics: [2022-02-03T10:42:18.915Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T10:42:18.915Z] File successfully converted to sysstat format version 12.0.3 [2022-02-03T10:42:18.915Z] + sadf -c /var/log/sa-host/sa17 [2022-02-03T10:42:18.915Z] file_magic: OK [2022-02-03T10:42:18.915Z] HZ: Using current value: 100 [2022-02-03T10:42:18.915Z] file_header: OK [2022-02-03T10:42:18.915Z] 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-03T10:42:18.915Z] Statistics: [2022-02-03T10:42:18.915Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T10:42:18.915Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T10:42:19.140Z] provisioning config files... [2022-02-03T10:42:19.150Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/20@tmp/config8447335690505589214tmp [Pipeline] { [Pipeline] echo [2022-02-03T10:42:19.167Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:19.455Z] ---> create-netrc.sh [Pipeline] } [2022-02-03T10:42:19.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:19.817Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-03T10:42:19.827Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:20.118Z] ---> sudo-logs.sh [2022-02-03T10:42:20.118Z] Archiving 'sudo' log.. [2022-02-03T10:42:20.688Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4542.novalocal: Name or service not known [2022-02-03T10:42:20.688Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4542.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-03T10:42:20.736Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:21.023Z] ---> job-cost.sh [2022-02-03T10:42:21.023Z] lf-activate-venv: SKIPPING [2022-02-03T10:42:21.023Z] DEBUG: total: 0.10999999940395355 [2022-02-03T10:42:21.023Z] INFO: Retrieving Stack Cost... [2022-02-03T10:42:21.592Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-03T10:42:21.852Z] INFO: Archiving Costs [Pipeline] echo [2022-02-03T10:42:21.866Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T10:42:22.174Z] ---> logs-deploy.sh [2022-02-03T10:42:22.174Z] lf-activate-venv: SKIPPING [2022-02-03T10:42:22.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/20 [2022-02-03T10:42:22.174Z] INFO: archiving workspace using pattern(s): [2022-02-03T10:42:22.744Z] Archives upload complete. [2022-02-03T10:42:23.005Z] INFO: archiving logs to Nexus