Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at d866400a609392987696ebdd94eb737ac4e65fbf rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from d866400a609392987696ebdd94eb737ac4e65fbf 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-ssh15182148791916819349.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2565637388456320793.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9490086696138604757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh12394163803555849965.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh11437493767640472877.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21814 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/50 [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/50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d866400a609392987696ebdd94eb737ac4e65fbf into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing dcd8e2a19e739aac52ae54f726549b9df02054c9 Checking out Revision dcd8e2a19e739aac52ae54f726549b9df02054c9 (PR-3842) > 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 > 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 > 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 > git merge d866400a609392987696ebdd94eb737ac4e65fbf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcd8e2a19e739aac52ae54f726549b9df02054c9 # timeout=10 Commit message: "Merge commit 'd866400a609392987696ebdd94eb737ac4e65fbf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T20:29:32.012Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T20:29:32.053Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T20:29:32.066Z] ========================================================= [2022-04-22T20:29:32.067Z] EdgeX Global Pipelines Version Info [2022-04-22T20:29:32.067Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 31275fb7e37d8143d16d32873ffd50c61b5feb54 # timeout=10 [2022-04-22T20:29:32.823Z] ------------------- [2022-04-22T20:29:32.823Z] stable info: [2022-04-22T20:29:32.823Z] ------------------- [2022-04-22T20:29:32.823Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T20:29:32.823Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T20:29:32.823Z] Message: update stable to v1.0.221 [2022-04-22T20:29:33.396Z] ------------------- [2022-04-22T20:29:33.396Z] experimental info: [2022-04-22T20:29:33.396Z] ------------------- [2022-04-22T20:29:33.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T20:29:33.396Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T20:29:33.396Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T20:29:33.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-04-22T20:29:33.582Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-04-22T20:29:33.596Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T20:29:33.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T20:29:33.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T20:29:33.639Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T20:29:33.650Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T20:29:33.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-04-22T20:29:33.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-04-22T20:29:33.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-04-22T20:29:33.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T20:29:33.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T20:29:33.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T20:29:33.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T20:29:33.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T20:29:33.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T20:29:33.775Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T20:29:33.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T20:29:33.800Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T20:29:33.811Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T20:29:33.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T20:29:33.830Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T20:29:33.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-04-22T20:29:33.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-04-22T20:29:33.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-04-22T20:29:33.871Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcd8e2a19e739aac52ae54f726549b9df02054c9 [Pipeline] echo [2022-04-22T20:29:33.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcd8e2a [Pipeline] echo [2022-04-22T20:29:33.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T20:29:33.941Z] provisioning config files... [2022-04-22T20:29:33.956Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/50@tmp/config3322979046189084046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:29:34.299Z] ---> docker-login.sh [2022-04-22T20:29:34.300Z] nexus3.edgexfoundry.org:10001 [2022-04-22T20:29:34.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:29:34.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:29:34.561Z] Configure a credential helper to remove this warning. See [2022-04-22T20:29:34.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:29:34.561Z] [2022-04-22T20:29:34.561Z] Login Succeeded [2022-04-22T20:29:34.561Z] nexus3.edgexfoundry.org:10002 [2022-04-22T20:29:34.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:29:34.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:29:34.821Z] Configure a credential helper to remove this warning. See [2022-04-22T20:29:34.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:29:34.821Z] [2022-04-22T20:29:34.821Z] Login Succeeded [2022-04-22T20:29:34.821Z] nexus3.edgexfoundry.org:10003 [2022-04-22T20:29:34.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:29:34.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:29:34.821Z] Configure a credential helper to remove this warning. See [2022-04-22T20:29:34.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:29:34.821Z] [2022-04-22T20:29:34.821Z] Login Succeeded [2022-04-22T20:29:34.821Z] nexus3.edgexfoundry.org:10004 [2022-04-22T20:29:35.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:29:35.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:29:35.083Z] Configure a credential helper to remove this warning. See [2022-04-22T20:29:35.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:29:35.083Z] [2022-04-22T20:29:35.083Z] Login Succeeded [2022-04-22T20:29:35.083Z] docker.io [2022-04-22T20:29:35.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:29:35.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:29:35.655Z] Configure a credential helper to remove this warning. See [2022-04-22T20:29:35.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:29:35.655Z] [2022-04-22T20:29:35.655Z] Login Succeeded [2022-04-22T20:29:35.655Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T20:29:35.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T20:29:35.981Z] + 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/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/core-command/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo core-command,cmd/core-command/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/core-data/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo core-data,cmd/core-data/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/core-metadata/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-spire-agent/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-spire-config/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/security-spire-server/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/support-notifications/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/support-scheduler/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-04-22T20:29:35.981Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-04-22T20:29:35.981Z] + cut -d/ -f2 [2022-04-22T20:29:35.981Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-04-22T20:29:36.020Z] 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:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/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-04-22T20:29:36.395Z] + git rev-list -1 --merges dcd8e2a19e739aac52ae54f726549b9df02054c9~1..dcd8e2a19e739aac52ae54f726549b9df02054c9 [Pipeline] echo [2022-04-22T20:29:36.410Z] -----------> git rev-list -1 --merges dcd8e2a19e739aac52ae54f726549b9df02054c9~1..dcd8e2a19e739aac52ae54f726549b9df02054c9 dcd8e2a19e739aac52ae54f726549b9df02054c9 [2022-04-22T20:29:36.410Z] dcd8e2a19e739aac52ae54f726549b9df02054c9 [false] [Pipeline] sh [2022-04-22T20:29:36.738Z] + git log --format=format:%s -1 dcd8e2a19e739aac52ae54f726549b9df02054c9 [Pipeline] echo [2022-04-22T20:29:36.756Z] ========================================================= [2022-04-22T20:29:36.757Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T20:29:36.757Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-04-22T20:29:37.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T20:29:37.302Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T20:29:37.302Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T20:29:37.302Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T20:29:37.302Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T20:29:37.302Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T20:29:37.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:29:37.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T20:29:37.729Z] [2022-04-22T20:29:37.729Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:29:38.036Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T20:29:38.036Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T20:29:38.036Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T20:29:38.036Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T20:29:38.036Z] 4c7163046ea9: Pulling fs layer [2022-04-22T20:29:38.036Z] 0c2d73faf560: Pulling fs layer [2022-04-22T20:29:38.036Z] 0c2d73faf560: Waiting [2022-04-22T20:29:38.036Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T20:29:38.036Z] 3e5f54012d9b: Download complete [2022-04-22T20:29:38.036Z] a0d0a0d46f8b: Download complete [2022-04-22T20:29:38.036Z] 0c2d73faf560: Verifying Checksum [2022-04-22T20:29:38.036Z] 0c2d73faf560: Download complete [2022-04-22T20:29:38.036Z] 4c7163046ea9: Verifying Checksum [2022-04-22T20:29:38.036Z] 4c7163046ea9: Download complete [2022-04-22T20:29:38.310Z] a0d0a0d46f8b: Pull complete [2022-04-22T20:29:38.310Z] 3e5f54012d9b: Pull complete [2022-04-22T20:29:38.571Z] 4c7163046ea9: Pull complete [2022-04-22T20:29:38.833Z] 0c2d73faf560: Pull complete [2022-04-22T20:29:38.833Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T20:29:38.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T20:29:38.833Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T20:29:38.974Z] prd-ubuntu20.04-docker-8c-8g-21814 does not seem to be running inside a container [2022-04-22T20:29:39.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T20:29:39.670Z] $ docker top 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T20:29:39.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T20:29:39.768Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T20:29:39.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T20:29:39.913Z] $ docker exec 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 ssh-agent [2022-04-22T20:29:40.033Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkbkHiP/agent.13 [2022-04-22T20:29:40.033Z] SSH_AGENT_PID=19 [2022-04-22T20:29:40.042Z] Running ssh-add (command line suppressed) [2022-04-22T20:29:40.165Z] Identity added: /w/workspace/edgex-go/50@tmp/private_key_3496898451948974654.key (/w/workspace/edgex-go/50@tmp/private_key_3496898451948974654.key) [2022-04-22T20:29:40.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T20:29:40.469Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T20:29:40.498Z] $ docker exec --env ******** --env ******** 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 ssh-agent -k [2022-04-22T20:29:40.616Z] unset SSH_AUTH_SOCK; [2022-04-22T20:29:40.616Z] unset SSH_AGENT_PID; [2022-04-22T20:29:40.616Z] echo Agent pid 19 killed; [2022-04-22T20:29:40.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T20:29:40.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T20:29:40.650Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T20:29:40.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T20:29:40.782Z] $ docker exec 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 ssh-agent [2022-04-22T20:29:40.887Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOJIHl/agent.52 [2022-04-22T20:29:40.887Z] SSH_AGENT_PID=59 [2022-04-22T20:29:40.892Z] Running ssh-add (command line suppressed) [2022-04-22T20:29:41.019Z] Identity added: /w/workspace/edgex-go/50@tmp/private_key_5451277610362312556.key (/w/workspace/edgex-go/50@tmp/private_key_5451277610362312556.key) [2022-04-22T20:29:41.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T20:29:41.317Z] + git semver init [2022-04-22T20:29:41.317Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T20:29:41.317Z] # $GIT_DIR = /w/workspace/edgex-go/50/.git [2022-04-22T20:29:41.317Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/50 [2022-04-22T20:29:41.317Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T20:29:41.317Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T20:29:41.317Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T20:29:41.317Z] # $SEMVER_BRANCH = PR-3842 [2022-04-22T20:29:41.317Z] # $SEMVER_TEMP = /tmp/semver-408848167 [2022-04-22T20:29:41.317Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-04-22T20:29:56.242Z] # '/tmp/semver-408848167' -> '/w/workspace/edgex-go/50/.semver' [2022-04-22T20:29:56.242Z] # -> Force: false [2022-04-22T20:29:56.243Z] # $SEMVER_DIR = /w/workspace/edgex-go/50/.semver [Pipeline] } [2022-04-22T20:29:56.262Z] $ docker exec --env ******** --env ******** 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 ssh-agent -k [2022-04-22T20:29:56.385Z] unset SSH_AUTH_SOCK; [2022-04-22T20:29:56.385Z] unset SSH_AGENT_PID; [2022-04-22T20:29:56.386Z] echo Agent pid 59 killed; [2022-04-22T20:29:56.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T20:29:56.707Z] + git semver [Pipeline] } [2022-04-22T20:29:56.731Z] $ docker stop --time=1 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 [2022-04-22T20:29:58.405Z] $ docker rm -f 2f0583b51dd48c88985278f2dca603b034fe1dca73dad884ac9cdc37c03f84e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T20:29:58.767Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T20:29:59.023Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T20:29:59.027Z] [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-04-22T20:29:59.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T20:29:59.160Z] ========================================================= [2022-04-22T20:29:59.160Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T20:29:59.160Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:29:59.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T20:29:59.451Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T20:29:59.451Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T20:29:59.451Z] 666ba61612fd: Pulling fs layer [2022-04-22T20:29:59.451Z] 8ed8ca486205: Pulling fs layer [2022-04-22T20:29:59.451Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T20:29:59.451Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T20:29:59.451Z] ca2b28591e48: Pulling fs layer [2022-04-22T20:29:59.451Z] a51346096db8: Pulling fs layer [2022-04-22T20:29:59.451Z] daebc70d1ce1: Pulling fs layer [2022-04-22T20:29:59.451Z] 0e18a0eac166: Pulling fs layer [2022-04-22T20:29:59.451Z] ca2b28591e48: Waiting [2022-04-22T20:29:59.451Z] daebc70d1ce1: Waiting [2022-04-22T20:29:59.451Z] 4fe6c5a15a65: Waiting [2022-04-22T20:29:59.451Z] 0e18a0eac166: Waiting [2022-04-22T20:29:59.451Z] 22a0e8bec74d: Waiting [2022-04-22T20:29:59.451Z] a51346096db8: Waiting [2022-04-22T20:29:59.451Z] 8ed8ca486205: Verifying Checksum [2022-04-22T20:29:59.451Z] 8ed8ca486205: Download complete [2022-04-22T20:29:59.451Z] 666ba61612fd: Verifying Checksum [2022-04-22T20:29:59.451Z] 666ba61612fd: Download complete [2022-04-22T20:29:59.451Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T20:29:59.451Z] 22a0e8bec74d: Download complete [2022-04-22T20:29:59.451Z] ca2b28591e48: Download complete [2022-04-22T20:29:59.451Z] 59bf1c3509f3: Download complete [2022-04-22T20:29:59.451Z] a51346096db8: Verifying Checksum [2022-04-22T20:29:59.451Z] a51346096db8: Download complete [2022-04-22T20:29:59.713Z] daebc70d1ce1: Verifying Checksum [2022-04-22T20:29:59.713Z] daebc70d1ce1: Download complete [2022-04-22T20:29:59.713Z] 59bf1c3509f3: Pull complete [2022-04-22T20:29:59.713Z] 666ba61612fd: Pull complete [2022-04-22T20:29:59.973Z] 8ed8ca486205: Pull complete [2022-04-22T20:30:00.236Z] 0e18a0eac166: Verifying Checksum [2022-04-22T20:30:00.236Z] 0e18a0eac166: Download complete [2022-04-22T20:30:00.236Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T20:30:00.236Z] 4fe6c5a15a65: Download complete [2022-04-22T20:30:04.432Z] 4fe6c5a15a65: Pull complete [2022-04-22T20:30:04.432Z] 22a0e8bec74d: Pull complete [2022-04-22T20:30:04.432Z] ca2b28591e48: Pull complete [2022-04-22T20:30:04.432Z] a51346096db8: Pull complete [2022-04-22T20:30:04.432Z] daebc70d1ce1: Pull complete [2022-04-22T20:30:06.345Z] 0e18a0eac166: Pull complete [2022-04-22T20:30:06.345Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-22T20:30:06.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T20:30:06.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:30:06.656Z] + docker build -t ci-base-image-x86_64 -f - . [2022-04-22T20:30:06.656Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T20:30:06.656Z] WORKDIR /edgex [2022-04-22T20:30:06.656Z] COPY go.mod . [2022-04-22T20:30:06.656Z] RUN go mod download [2022-04-22T20:30:08.044Z] Sending build context to Docker daemon 334.9MB [2022-04-22T20:30:08.044Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T20:30:08.044Z] ---> f018257e8ee9 [2022-04-22T20:30:08.044Z] Step 2/4 : WORKDIR /edgex [2022-04-22T20:30:09.440Z] ---> Running in b7f446a57392 [2022-04-22T20:30:09.440Z] Removing intermediate container b7f446a57392 [2022-04-22T20:30:09.440Z] ---> 3fc18b8627dc [2022-04-22T20:30:09.440Z] Step 3/4 : COPY go.mod . [2022-04-22T20:30:09.700Z] ---> 194d0516ce28 [2022-04-22T20:30:09.700Z] Step 4/4 : RUN go mod download [2022-04-22T20:30:09.700Z] ---> Running in 1c4935ff99c0 [2022-04-22T20:30:14.115Z] Still waiting to schedule task [2022-04-22T20:30:14.115Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T20:30:27.814Z] Removing intermediate container 1c4935ff99c0 [2022-04-22T20:30:27.814Z] ---> 00bc403ed7ec [2022-04-22T20:30:27.814Z] Successfully built 00bc403ed7ec [2022-04-22T20:30:27.814Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:30:28.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T20:30:28.126Z] . [Pipeline] withDockerContainer [2022-04-22T20:30:28.211Z] prd-ubuntu20.04-docker-8c-8g-21814 does not seem to be running inside a container [2022-04-22T20:30:28.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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-x86_64 cat [2022-04-22T20:30:28.651Z] $ docker top 0d86309430400b683163e5ed3cf822d922defb75e83621280659ce635c7b8e23 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T20:30:29.004Z] + go version [2022-04-22T20:30:29.004Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T20:30:29.024Z] $ docker stop --time=1 0d86309430400b683163e5ed3cf822d922defb75e83621280659ce635c7b8e23 [2022-04-22T20:30:30.388Z] $ docker rm -f 0d86309430400b683163e5ed3cf822d922defb75e83621280659ce635c7b8e23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:30:30.789Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T20:30:30.789Z] . [Pipeline] withDockerContainer [2022-04-22T20:30:30.858Z] prd-ubuntu20.04-docker-8c-8g-21814 does not seem to be running inside a container [2022-04-22T20:30:30.899Z] $ 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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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-x86_64 cat [2022-04-22T20:30:31.276Z] $ docker top be457f4e5e7a97b772ce596f14b85767115bf7e032647e287fc880fac9146ad4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-22T20:30:31.347Z] ========================================================= [2022-04-22T20:30:31.347Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-22T20:30:31.347Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:30:31.636Z] + make test [2022-04-22T20:30:31.636Z] go mod tidy -compat=1.17 [2022-04-22T20:30:31.636Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-04-22T20:30:31.636Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-04-22T20:30:31.636Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-04-22T20:30:31.897Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:30:32.470Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1573 [2022-04-22T20:30:37.758Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:30:37.758Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:30:37.758Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1573 [2022-04-22T20:30:38.019Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-04-22T20:30:38.019Z] go: downloading github.com/prometheus/common v0.32.1 [2022-04-22T20:30:38.019Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-04-22T20:30:38.019Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-04-22T20:30:38.019Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-04-22T20:30:38.279Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-04-22T20:30:38.279Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-04-22T20:30:38.279Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-04-22T20:30:38.279Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-04-22T20:30:38.279Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-04-22T20:30:38.279Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-04-22T20:30:38.279Z] go: downloading github.com/google/btree v1.0.0 [2022-04-22T20:30:38.279Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-04-22T20:30:38.279Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-04-22T20:30:38.279Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T20:30:43.568Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-22T20:30:55.786Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-22T20:30:56.362Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-04-22T20:30:56.362Z] 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-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-04-22T20:30:56.362Z] 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-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-04-22T20:30:56.362Z] /w/workspace/edgex-go/50/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-04-22T20:30:56.362Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-04-22T20:30:56.953Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.054s coverage: 28.7% of statements [2022-04-22T20:30:57.917Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.060s coverage: 98.5% of statements [2022-04-22T20:30:57.917Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.090s coverage: 53.4% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.044s coverage: 89.2% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.114s coverage: 84.4% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.387s coverage: 95.6% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.067s coverage: 72.2% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.092s coverage: 60.0% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.065s coverage: 0.9% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.063s coverage: 58.8% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.082s coverage: 29.6% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.082s coverage: 47.1% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.073s coverage: 79.5% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.053s coverage: 94.1% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.057s coverage: 96.3% of statements [2022-04-22T20:31:01.285Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.071s coverage: 87.5% of statements [2022-04-22T20:31:11.324Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.082s coverage: 94.4% of statements [2022-04-22T20:31:11.324Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements [2022-04-22T20:31:12.286Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.186s coverage: 82.5% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.101s coverage: 92.9% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.040s coverage: 65.1% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.066s coverage: 87.2% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.063s coverage: 80.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.051s coverage: 87.2% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.128s coverage: 91.2% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.164s coverage: 64.4% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.045s coverage: 100.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.053s coverage: 89.4% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.365s coverage: 65.4% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.133s coverage: 43.8% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.065s coverage: 89.5% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements [2022-04-22T20:31:22.296Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-04-22T20:31:22.296Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.056s coverage: 63.2% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.100s coverage: 97.7% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.054s coverage: 28.9% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2022-04-22T20:31:22.296Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements [2022-04-22T20:31:22.296Z] make: *** [Makefile:132: unittest] Error 2 [Pipeline] } [2022-04-22T20:31:22.317Z] $ docker stop --time=1 be457f4e5e7a97b772ce596f14b85767115bf7e032647e287fc880fac9146ad4 [2022-04-22T20:31:24.716Z] $ docker rm -f be457f4e5e7a97b772ce596f14b85767115bf7e032647e287fc880fac9146ad4 [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-04-22T20:31:25.322Z] Failed in branch amd64 [2022-04-22T20:31:52.349Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21815 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-04-22T20:31:52.362Z] Running in /w/workspace/edgex-go/50 [Pipeline] { [Pipeline] checkout [2022-04-22T20:31:52.689Z] The recommended git tool is: git [2022-04-22T20:31:58.218Z] using credential edgex-jenkins-ssh [2022-04-22T20:31:58.237Z] Cloning the remote Git repository [2022-04-22T20:31:58.291Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-04-22T20:31:58.360Z] > git init /w/workspace/edgex-go/50 # timeout=10 [2022-04-22T20:31:58.441Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-22T20:31:58.442Z] > git --version # timeout=10 [2022-04-22T20:31:58.484Z] > git --version # 'git version 2.25.1' [2022-04-22T20:31:58.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T20:31:58.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T20:32:15.090Z] Merging remotes/origin/main commit d866400a609392987696ebdd94eb737ac4e65fbf into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-04-22T20:32:14.165Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-22T20:32:14.180Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T20:32:14.207Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-22T20:32:14.239Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-22T20:32:14.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T20:32:14.252Z] > 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 [2022-04-22T20:32:15.115Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T20:32:15.130Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-04-22T20:32:15.846Z] Merge succeeded, producing 4495471f46b08edb86c1ac24cdb2cdfe51befa7a [2022-04-22T20:32:15.846Z] Checking out Revision 4495471f46b08edb86c1ac24cdb2cdfe51befa7a (PR-3842) [2022-04-22T20:32:15.358Z] > git remote # timeout=10 [2022-04-22T20:32:15.375Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T20:32:15.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T20:32:15.406Z] > git merge d866400a609392987696ebdd94eb737ac4e65fbf # timeout=10 [2022-04-22T20:32:15.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T20:32:15.859Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T20:32:15.871Z] > git checkout -f 4495471f46b08edb86c1ac24cdb2cdfe51befa7a # timeout=10 [2022-04-22T20:32:20.133Z] Commit message: "Merge commit 'd866400a609392987696ebdd94eb737ac4e65fbf' into HEAD" [2022-04-22T20:32:20.159Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T20:32:21.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T20:32:21.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T20:32:21.046Z] Dload Upload Total Spent Left Speed [2022-04-22T20:32:21.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-04-22T20:32:21.543Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T20:32:20.147Z] > git rev-list --no-walk 31275fb7e37d8143d16d32873ffd50c61b5feb54 # timeout=10 [2022-04-22T20:32:21.887Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T20:32:21.887Z] + sudo tee /etc/docker/daemon.new [2022-04-22T20:32:21.887Z] { [2022-04-22T20:32:21.887Z] "registry-mirrors": [ [2022-04-22T20:32:21.887Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T20:32:21.887Z] ], [2022-04-22T20:32:21.887Z] "bip": "10.250.0.254/24", [2022-04-22T20:32:21.887Z] "hosts": [ [2022-04-22T20:32:21.887Z] "tcp://0.0.0.0:5555", [2022-04-22T20:32:21.887Z] "unix:///var/run/docker.sock" [2022-04-22T20:32:21.887Z] ], [2022-04-22T20:32:21.887Z] "mtu": 1458, [2022-04-22T20:32:21.887Z] "selinux-enabled": true, [2022-04-22T20:32:21.887Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T20:32:21.887Z] } [Pipeline] sh [2022-04-22T20:32:22.235Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T20:32:22.583Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T20:32:40.961Z] provisioning config files... [2022-04-22T20:32:40.988Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/50@tmp/config8948170641634476130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:32:41.361Z] ---> docker-login.sh [2022-04-22T20:32:41.361Z] nexus3.edgexfoundry.org:10001 [2022-04-22T20:32:41.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:32:42.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:32:42.240Z] Configure a credential helper to remove this warning. See [2022-04-22T20:32:42.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:32:42.240Z] [2022-04-22T20:32:42.240Z] Login Succeeded [2022-04-22T20:32:42.240Z] nexus3.edgexfoundry.org:10002 [2022-04-22T20:32:42.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:32:42.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:32:42.791Z] Configure a credential helper to remove this warning. See [2022-04-22T20:32:42.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:32:42.791Z] [2022-04-22T20:32:42.791Z] Login Succeeded [2022-04-22T20:32:42.791Z] nexus3.edgexfoundry.org:10003 [2022-04-22T20:32:43.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:32:43.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:32:43.066Z] Configure a credential helper to remove this warning. See [2022-04-22T20:32:43.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:32:43.066Z] [2022-04-22T20:32:43.066Z] Login Succeeded [2022-04-22T20:32:43.066Z] nexus3.edgexfoundry.org:10004 [2022-04-22T20:32:43.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:32:43.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:32:43.627Z] Configure a credential helper to remove this warning. See [2022-04-22T20:32:43.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:32:43.627Z] [2022-04-22T20:32:43.627Z] Login Succeeded [2022-04-22T20:32:43.627Z] docker.io [2022-04-22T20:32:43.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T20:32:44.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T20:32:44.493Z] Configure a credential helper to remove this warning. See [2022-04-22T20:32:44.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T20:32:44.493Z] [2022-04-22T20:32:44.493Z] Login Succeeded [2022-04-22T20:32:44.493Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T20:32:44.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T20:32:45.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T20:32:45.031Z] ========================================================= [2022-04-22T20:32:45.031Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T20:32:45.031Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:32:45.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T20:32:45.679Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T20:32:45.679Z] 9b3977197b4f: Pulling fs layer [2022-04-22T20:32:45.679Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T20:32:45.679Z] 94645a83ff95: Pulling fs layer [2022-04-22T20:32:45.679Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T20:32:45.679Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T20:32:45.679Z] 3096ccb668a1: Pulling fs layer [2022-04-22T20:32:45.679Z] e8cf19c19ddd: Pulling fs layer [2022-04-22T20:32:45.679Z] a4caa8a26152: Pulling fs layer [2022-04-22T20:32:45.679Z] 3096ccb668a1: Waiting [2022-04-22T20:32:45.679Z] e8cf19c19ddd: Waiting [2022-04-22T20:32:45.679Z] 3f3a8bcf1eab: Waiting [2022-04-22T20:32:45.680Z] a4caa8a26152: Waiting [2022-04-22T20:32:45.680Z] 0c92f367c5e7: Waiting [2022-04-22T20:32:45.680Z] 94645a83ff95: Verifying Checksum [2022-04-22T20:32:45.680Z] 94645a83ff95: Download complete [2022-04-22T20:32:45.680Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T20:32:45.680Z] 1a89e8eeedd5: Download complete [2022-04-22T20:32:45.680Z] 0c92f367c5e7: Download complete [2022-04-22T20:32:45.680Z] 3096ccb668a1: Verifying Checksum [2022-04-22T20:32:45.680Z] 3096ccb668a1: Download complete [2022-04-22T20:32:45.680Z] 9b3977197b4f: Verifying Checksum [2022-04-22T20:32:45.680Z] 9b3977197b4f: Download complete [2022-04-22T20:32:45.680Z] e8cf19c19ddd: Verifying Checksum [2022-04-22T20:32:45.680Z] e8cf19c19ddd: Download complete [2022-04-22T20:32:46.682Z] 9b3977197b4f: Pull complete [2022-04-22T20:32:47.288Z] 1a89e8eeedd5: Pull complete [2022-04-22T20:32:47.566Z] 94645a83ff95: Pull complete [2022-04-22T20:32:47.842Z] a4caa8a26152: Verifying Checksum [2022-04-22T20:32:47.842Z] a4caa8a26152: Download complete [2022-04-22T20:32:48.442Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T20:32:48.442Z] 3f3a8bcf1eab: Download complete [2022-04-22T20:33:00.869Z] 3f3a8bcf1eab: Pull complete [2022-04-22T20:33:01.145Z] 0c92f367c5e7: Pull complete [2022-04-22T20:33:01.420Z] 3096ccb668a1: Pull complete [2022-04-22T20:33:01.696Z] e8cf19c19ddd: Pull complete [2022-04-22T20:33:08.421Z] a4caa8a26152: Pull complete [2022-04-22T20:33:08.421Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-22T20:33:08.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T20:33:08.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:33:08.778Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T20:33:08.778Z] WORKDIR /edgex [2022-04-22T20:33:08.778Z] COPY go.mod . [2022-04-22T20:33:08.778Z] RUN go mod download [2022-04-22T20:33:08.778Z] + docker build -t ci-base-image-arm64 -f - . [2022-04-22T20:33:11.432Z] Sending build context to Docker daemon 169.3MB [2022-04-22T20:33:11.432Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T20:33:11.432Z] ---> 725f1c02e7f9 [2022-04-22T20:33:11.432Z] Step 2/4 : WORKDIR /edgex [2022-04-22T20:33:13.420Z] ---> Running in dfa14ab651d6 [2022-04-22T20:33:13.420Z] Removing intermediate container dfa14ab651d6 [2022-04-22T20:33:13.420Z] ---> dc150cab1727 [2022-04-22T20:33:13.420Z] Step 3/4 : COPY go.mod . [2022-04-22T20:33:14.025Z] ---> 3e5be2c64940 [2022-04-22T20:33:14.026Z] Step 4/4 : RUN go mod download [2022-04-22T20:33:14.026Z] ---> Running in 20375415691c [2022-04-22T20:34:01.053Z] Removing intermediate container 20375415691c [2022-04-22T20:34:01.053Z] ---> 75cc31f7b828 [2022-04-22T20:34:01.053Z] Successfully built 75cc31f7b828 [2022-04-22T20:34:01.053Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:34:01.401Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T20:34:01.401Z] . [Pipeline] withDockerContainer [2022-04-22T20:34:01.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-21815 does not seem to be running inside a container [2022-04-22T20:34:01.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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-04-22T20:34:03.070Z] $ docker top 4e910d9bfb8f782e663f8281456e2bd6084957f4ce62f838afcb1143652b4e90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T20:34:03.982Z] + go version [2022-04-22T20:34:03.982Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T20:34:04.021Z] $ docker stop --time=1 4e910d9bfb8f782e663f8281456e2bd6084957f4ce62f838afcb1143652b4e90 [2022-04-22T20:34:05.688Z] $ docker rm -f 4e910d9bfb8f782e663f8281456e2bd6084957f4ce62f838afcb1143652b4e90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:34:06.261Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T20:34:06.262Z] . [Pipeline] withDockerContainer [2022-04-22T20:34:06.497Z] prd-ubuntu20.04-docker-arm64-4c-16g-21815 does not seem to be running inside a container [2022-04-22T20:34:06.583Z] $ 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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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-04-22T20:34:07.840Z] $ docker top 03735321eb8d990826a4ba465e57049b05dda26fe7f756215d4912148eecef32 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-22T20:34:08.108Z] ========================================================= [2022-04-22T20:34:08.108Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-22T20:34:08.108Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-22T20:34:08.763Z] + make test [2022-04-22T20:34:08.763Z] go mod tidy -compat=1.17 [2022-04-22T20:34:09.761Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-04-22T20:34:09.761Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-04-22T20:34:09.761Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-04-22T20:34:10.036Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:34:10.036Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1573 [2022-04-22T20:34:32.211Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:34:32.211Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-04-22T20:34:32.211Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1573 [2022-04-22T20:34:32.487Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-04-22T20:34:32.487Z] go: downloading github.com/prometheus/common v0.32.1 [2022-04-22T20:34:32.487Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-04-22T20:34:32.487Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-04-22T20:34:32.487Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-04-22T20:34:32.771Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-04-22T20:34:32.771Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-04-22T20:34:32.771Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-04-22T20:34:32.771Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-04-22T20:34:32.771Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-04-22T20:34:33.044Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-04-22T20:34:33.044Z] go: downloading github.com/google/btree v1.0.0 [2022-04-22T20:34:33.044Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-04-22T20:34:33.044Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-04-22T20:34:33.641Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T20:35:06.021Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-22T20:36:42.886Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-22T20:36:42.886Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-22T20:36:42.886Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-22T20:36:42.886Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-22T20:36:48.321Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-22T20:36:48.321Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-22T20:36:48.321Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-22T20:36:48.321Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-22T20:36:48.321Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-22T20:37:06.674Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-04-22T20:37:06.674Z] 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-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-04-22T20:37:06.674Z] 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-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-04-22T20:37:06.674Z] /w/workspace/edgex-go/50/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-04-22T20:37:06.674Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-04-22T20:37:06.952Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.248s coverage: 28.7% of statements [2022-04-22T20:37:12.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.523s coverage: 98.5% of statements [2022-04-22T20:37:12.401Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.425s coverage: 53.4% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.811s coverage: 89.2% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.375s coverage: 84.4% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.856s coverage: 95.6% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.273s coverage: 72.2% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.511s coverage: 60.0% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.424s coverage: 0.9% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.366s coverage: 58.8% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.525s coverage: 29.6% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.409s coverage: 47.1% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.410s coverage: 79.5% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.203s coverage: 94.1% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.312s coverage: 96.3% of statements [2022-04-22T20:37:39.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.227s coverage: 87.5% of statements [2022-04-22T20:37:51.720Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.233s coverage: 94.4% of statements [2022-04-22T20:37:51.720Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.200s coverage: 44.8% of statements [2022-04-22T20:37:57.122Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.625s coverage: 82.5% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.271s coverage: 92.9% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.061s coverage: 65.1% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.199s coverage: 87.2% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.176s coverage: 100.0% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.258s coverage: 58.8% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.292s coverage: 80.0% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.255s coverage: 87.2% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.299s coverage: 85.4% of statements [2022-04-22T20:38:05.443Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.822s coverage: 91.2% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.856s coverage: 64.4% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.264s coverage: 100.0% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.113s coverage: 89.4% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.073s coverage: 100.0% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.080s coverage: 73.7% of statements [2022-04-22T20:38:08.076Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.056s coverage: 100.0% of statements [2022-04-22T20:38:16.415Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.403s coverage: 65.4% of statements [2022-04-22T20:38:19.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.736s coverage: 43.8% of statements [2022-04-22T20:38:19.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.250s coverage: 89.5% of statements [2022-04-22T20:38:19.851Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.284s coverage: 84.8% of statements [2022-04-22T20:38:19.851Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-04-22T20:38:19.851Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-04-22T20:38:19.851Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.261s coverage: 63.2% of statements [2022-04-22T20:38:21.830Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.407s coverage: 97.7% of statements [2022-04-22T20:38:21.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.249s coverage: 28.9% of statements [2022-04-22T20:38:21.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.205s coverage: 100.0% of statements [2022-04-22T20:38:21.830Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.083s coverage: 96.9% of statements [2022-04-22T20:38:22.427Z] make: *** [Makefile:132: unittest] Error 2 [Pipeline] } [2022-04-22T20:38:22.459Z] $ docker stop --time=1 03735321eb8d990826a4ba465e57049b05dda26fe7f756215d4912148eecef32 [2022-04-22T20:38:24.445Z] $ docker rm -f 03735321eb8d990826a4ba465e57049b05dda26fe7f756215d4912148eecef32 [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-04-22T20:38:28.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T20:38:28.981Z] [2022-04-22T20:38:28.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:38:29.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T20:38:29.609Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T20:38:29.609Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T20:38:29.609Z] 04944245beec: Pulling fs layer [2022-04-22T20:38:29.609Z] 699f458cf7ca: Pulling fs layer [2022-04-22T20:38:29.609Z] 765212b225bb: Pulling fs layer [2022-04-22T20:38:29.609Z] f23df028b6ca: Pulling fs layer [2022-04-22T20:38:29.609Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T20:38:29.609Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T20:38:29.609Z] 765212b225bb: Waiting [2022-04-22T20:38:29.609Z] f23df028b6ca: Waiting [2022-04-22T20:38:29.609Z] d65c8cfc05b1: Waiting [2022-04-22T20:38:29.609Z] 2437ff75d9bd: Waiting [2022-04-22T20:38:29.609Z] 04944245beec: Verifying Checksum [2022-04-22T20:38:29.609Z] 04944245beec: Download complete [2022-04-22T20:38:29.609Z] 765212b225bb: Verifying Checksum [2022-04-22T20:38:29.609Z] 765212b225bb: Download complete [2022-04-22T20:38:29.892Z] f23df028b6ca: Verifying Checksum [2022-04-22T20:38:29.892Z] f23df028b6ca: Download complete [2022-04-22T20:38:29.892Z] d65c8cfc05b1: Download complete [2022-04-22T20:38:29.892Z] 699f458cf7ca: Verifying Checksum [2022-04-22T20:38:29.892Z] 699f458cf7ca: Download complete [2022-04-22T20:38:30.169Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T20:38:30.169Z] 8998bd30e6a1: Download complete [2022-04-22T20:38:32.796Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T20:38:32.796Z] 2437ff75d9bd: Download complete [2022-04-22T20:38:34.776Z] 8998bd30e6a1: Pull complete [2022-04-22T20:38:35.049Z] 04944245beec: Pull complete [2022-04-22T20:38:36.492Z] 699f458cf7ca: Pull complete [2022-04-22T20:38:36.765Z] 765212b225bb: Pull complete [2022-04-22T20:38:37.745Z] f23df028b6ca: Pull complete [2022-04-22T20:38:37.745Z] d65c8cfc05b1: Pull complete [2022-04-22T20:38:52.862Z] 2437ff75d9bd: Pull complete [2022-04-22T20:38:52.862Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T20:38:52.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T20:38:52.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T20:38:53.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-21815 does not seem to be running inside a container [2022-04-22T20:38:53.187Z] $ 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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@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-04-22T20:38:55.560Z] $ docker top 84c631631422acbd419f76efb8178081d0273a7e9c05be15de418ad4ed16146e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:38:56.574Z] ---> job-cost.sh [2022-04-22T20:38:56.574Z] lf-activate-venv: SKIPPING [2022-04-22T20:38:56.574Z] INFO: No Stack... [2022-04-22T20:38:57.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T20:38:57.766Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T20:38:58.432Z] + cat /w/workspace/edgex-go/50/archives/cost.csv [2022-04-22T20:38:58.432Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T20:38:58.503Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-50-stack-cost] [2022-04-22T20:38:58.510Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-50-stack-cost] did not exist. Created. [2022-04-22T20:38:58.510Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T20:38:59.176Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T20:38:59.813Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T20:38:59.823Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T20:38:59.850Z] $ docker stop --time=1 84c631631422acbd419f76efb8178081d0273a7e9c05be15de418ad4ed16146e [2022-04-22T20:39:01.359Z] $ docker rm -f 84c631631422acbd419f76efb8178081d0273a7e9c05be15de418ad4ed16146e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T20:39:01.666Z] 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-04-22T20:39:02.342Z] + [ -d /w/workspace/edgex-go/50/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:02.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:03.501Z] ---> package-listing.sh [2022-04-22T20:39:03.501Z] ++ facter osfamily [2022-04-22T20:39:03.501Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T20:39:03.760Z] + OS_FAMILY=debian [2022-04-22T20:39:03.760Z] + workspace=/w/workspace/edgex-go/50 [2022-04-22T20:39:03.760Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T20:39:03.760Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T20:39:03.760Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T20:39:03.760Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T20:39:03.760Z] + '[' /w/workspace/edgex-go/50 ']' [2022-04-22T20:39:03.760Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T20:39:03.760Z] + case "${OS_FAMILY}" in [2022-04-22T20:39:03.760Z] + dpkg -l [2022-04-22T20:39:03.760Z] + grep '^ii' [2022-04-22T20:39:03.760Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T20:39:03.760Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T20:39:03.760Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T20:39:03.760Z] + '[' /w/workspace/edgex-go/50 ']' [2022-04-22T20:39:03.760Z] + mkdir -p /w/workspace/edgex-go/50/archives/ [2022-04-22T20:39:03.760Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/50/archives/ [Pipeline] echo [2022-04-22T20:39:03.771Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T20:39:04.052Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:39:04.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T20:39:04.606Z] [2022-04-22T20:39:04.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T20:39:04.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T20:39:04.901Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T20:39:04.901Z] 5eb5b503b376: Pulling fs layer [2022-04-22T20:39:04.901Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T20:39:04.901Z] ec43610c2a17: Pulling fs layer [2022-04-22T20:39:04.901Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T20:39:04.901Z] 33b1e0a273af: Pulling fs layer [2022-04-22T20:39:04.901Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T20:39:04.901Z] 2f39f015ded8: Pulling fs layer [2022-04-22T20:39:04.901Z] 33b1e0a273af: Waiting [2022-04-22T20:39:04.901Z] 5d3b04190fa2: Waiting [2022-04-22T20:39:04.901Z] 2f39f015ded8: Waiting [2022-04-22T20:39:04.901Z] 3a2ae6a8a46f: Waiting [2022-04-22T20:39:04.901Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T20:39:04.901Z] 5c69ac0246d0: Download complete [2022-04-22T20:39:04.901Z] 3a2ae6a8a46f: Download complete [2022-04-22T20:39:05.160Z] 33b1e0a273af: Verifying Checksum [2022-04-22T20:39:05.160Z] 33b1e0a273af: Download complete [2022-04-22T20:39:05.160Z] 5d3b04190fa2: Download complete [2022-04-22T20:39:05.160Z] ec43610c2a17: Verifying Checksum [2022-04-22T20:39:05.420Z] 5eb5b503b376: Download complete [2022-04-22T20:39:05.995Z] 2f39f015ded8: Download complete [2022-04-22T20:39:06.563Z] 5eb5b503b376: Pull complete [2022-04-22T20:39:06.563Z] 5c69ac0246d0: Pull complete [2022-04-22T20:39:07.134Z] ec43610c2a17: Pull complete [2022-04-22T20:39:07.134Z] 3a2ae6a8a46f: Pull complete [2022-04-22T20:39:07.395Z] 33b1e0a273af: Pull complete [2022-04-22T20:39:07.654Z] 5d3b04190fa2: Pull complete [2022-04-22T20:39:12.929Z] 2f39f015ded8: Pull complete [2022-04-22T20:39:12.929Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T20:39:12.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T20:39:12.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T20:39:12.993Z] prd-ubuntu20.04-docker-8c-8g-21814 does not seem to be running inside a container [2022-04-22T20:39:13.030Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/50/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/50 -v /w/workspace/edgex-go/50:/w/workspace/edgex-go/50:rw,z -v /w/workspace/edgex-go/50@tmp:/w/workspace/edgex-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T20:39:14.911Z] $ docker top 2f0ec390db668e38e1c06973bc86bb10825675e07816e93529c4ee7c81f7875f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T20:39:15.269Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T20:39:15.556Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T20:39:15.847Z] + ls /var/log/sa-host [2022-04-22T20:39:15.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T20:39:16.069Z] provisioning config files... [2022-04-22T20:39:16.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/50@tmp/config5978243749438512006tmp [Pipeline] { [Pipeline] echo [2022-04-22T20:39:16.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:16.388Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T20:39:16.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:16.733Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T20:39:16.743Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:17.028Z] ---> sudo-logs.sh [2022-04-22T20:39:17.028Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T20:39:17.066Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:17.353Z] ---> job-cost.sh [2022-04-22T20:39:17.353Z] lf-activate-venv: SKIPPING [2022-04-22T20:39:17.353Z] DEBUG: total: 0.10999999940395355 [2022-04-22T20:39:17.353Z] INFO: Retrieving Stack Cost... [2022-04-22T20:39:17.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T20:39:18.183Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T20:39:18.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T20:39:18.483Z] ---> logs-deploy.sh [2022-04-22T20:39:18.483Z] lf-activate-venv: SKIPPING [2022-04-22T20:39:18.483Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/50 [2022-04-22T20:39:18.483Z] INFO: archiving workspace using pattern(s): [2022-04-22T20:39:19.423Z] Archives upload complete. [2022-04-22T20:39:19.423Z] INFO: archiving logs to Nexus