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 81bad761160ed823b117fb91638cbc671260dbae rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 81bad761160ed823b117fb91638cbc671260dbae 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-ssh2626092082026479447.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-ssh8780191822028524846.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-ssh11757714109774846159.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-ssh11662475182633478949.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-ssh15828361959777726131.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:true] ========================================================= [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: true 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-9016 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/34 [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/34 # 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 > 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 Merging remotes/origin/main commit 81bad761160ed823b117fb91638cbc671260dbae into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 4ae59d39ad0c9e616e1be96efc59426242d566da Checking out Revision 4ae59d39ad0c9e616e1be96efc59426242d566da (PR-3842) > 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 81bad761160ed823b117fb91638cbc671260dbae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ae59d39ad0c9e616e1be96efc59426242d566da # timeout=10 Commit message: "Merge commit '81bad761160ed823b117fb91638cbc671260dbae' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-24T20:29:22.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-24T20:29:22.446Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-24T20:29:22.463Z] ========================================================= [2022-03-24T20:29:22.463Z] EdgeX Global Pipelines Version Info [2022-03-24T20:29:22.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9714781e3cc9bb4997627a0cf8b2e956759a98b5 # timeout=10 [2022-03-24T20:29:23.216Z] ------------------- [2022-03-24T20:29:23.216Z] stable info: [2022-03-24T20:29:23.216Z] ------------------- [2022-03-24T20:29:23.216Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-24T20:29:23.216Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-24T20:29:23.216Z] Message: update stable to v1.0.221 [2022-03-24T20:29:23.790Z] ------------------- [2022-03-24T20:29:23.790Z] experimental info: [2022-03-24T20:29:23.790Z] ------------------- [2022-03-24T20:29:23.790Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-24T20:29:23.790Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-24T20:29:23.790Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-24T20:29:23.938Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-24T20:29:23.952Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-24T20:29:23.964Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-24T20:29:23.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-24T20:29:23.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-24T20:29:24.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-24T20:29:24.016Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-24T20:29:24.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-24T20:29:24.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-24T20:29:24.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-24T20:29:24.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-24T20:29:24.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-24T20:29:24.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-24T20:29:24.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-24T20:29:24.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-24T20:29:24.137Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-24T20:29:24.156Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-24T20:29:24.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-24T20:29:24.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-24T20:29:24.191Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-24T20:29:24.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-24T20:29:24.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-24T20:29:24.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-03-24T20:29:24.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-03-24T20:29:24.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-03-24T20:29:24.262Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ae59d39ad0c9e616e1be96efc59426242d566da [Pipeline] echo [2022-03-24T20:29:24.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ae59d3 [Pipeline] echo [2022-03-24T20:29:24.287Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T20:29:24.330Z] provisioning config files... [2022-03-24T20:29:24.343Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config838679145843151503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:29:24.654Z] ---> docker-login.sh [2022-03-24T20:29:24.654Z] nexus3.edgexfoundry.org:10001 [2022-03-24T20:29:24.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:29:24.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:29:24.918Z] Configure a credential helper to remove this warning. See [2022-03-24T20:29:24.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:29:24.918Z] [2022-03-24T20:29:24.918Z] Login Succeeded [2022-03-24T20:29:24.918Z] nexus3.edgexfoundry.org:10002 [2022-03-24T20:29:24.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:29:25.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:29:25.179Z] Configure a credential helper to remove this warning. See [2022-03-24T20:29:25.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:29:25.179Z] [2022-03-24T20:29:25.179Z] Login Succeeded [2022-03-24T20:29:25.179Z] nexus3.edgexfoundry.org:10003 [2022-03-24T20:29:25.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:29:25.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:29:25.179Z] Configure a credential helper to remove this warning. See [2022-03-24T20:29:25.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:29:25.179Z] [2022-03-24T20:29:25.179Z] Login Succeeded [2022-03-24T20:29:25.179Z] nexus3.edgexfoundry.org:10004 [2022-03-24T20:29:25.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:29:25.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:29:25.441Z] Configure a credential helper to remove this warning. See [2022-03-24T20:29:25.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:29:25.441Z] [2022-03-24T20:29:25.441Z] Login Succeeded [2022-03-24T20:29:25.441Z] docker.io [2022-03-24T20:29:25.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:29:25.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:29:25.701Z] Configure a credential helper to remove this warning. See [2022-03-24T20:29:25.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:29:25.701Z] [2022-03-24T20:29:25.701Z] Login Succeeded [2022-03-24T20:29:25.701Z] ---> docker-login.sh ends [Pipeline] } [2022-03-24T20:29:25.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T20:29:26.029Z] + 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-03-24T20:29:26.029Z] + + dirname cmd/core-command/Dockerfile [2022-03-24T20:29:26.029Z] cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/core-data/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/core-metadata/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-spire-agent/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-spire-config/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/security-spire-server/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/support-notifications/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/support-scheduler/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-24T20:29:26.029Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-24T20:29:26.029Z] + cut -d/ -f2 [2022-03-24T20:29:26.029Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-24T20:29:26.070Z] 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-03-24T20:29:26.433Z] + git rev-list -1 --merges 4ae59d39ad0c9e616e1be96efc59426242d566da~1..4ae59d39ad0c9e616e1be96efc59426242d566da [Pipeline] echo [2022-03-24T20:29:26.447Z] -----------> git rev-list -1 --merges 4ae59d39ad0c9e616e1be96efc59426242d566da~1..4ae59d39ad0c9e616e1be96efc59426242d566da 4ae59d39ad0c9e616e1be96efc59426242d566da [2022-03-24T20:29:26.447Z] 4ae59d39ad0c9e616e1be96efc59426242d566da [false] [Pipeline] sh [2022-03-24T20:29:26.740Z] + git log --format=format:%s -1 4ae59d39ad0c9e616e1be96efc59426242d566da [Pipeline] echo [2022-03-24T20:29:26.761Z] ========================================================= [2022-03-24T20:29:26.761Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-24T20:29:26.761Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-24T20:29:27.293Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-24T20:29:27.294Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-24T20:29:27.294Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-24T20:29:27.294Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-24T20:29:27.294Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-24T20:29:27.294Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-24T20:29:27.294Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:29:27.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T20:29:27.705Z] [2022-03-24T20:29:27.705Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:29:28.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T20:29:28.006Z] latest: Pulling from edgex-devops/git-semver [2022-03-24T20:29:28.006Z] a0d0a0d46f8b: Pulling fs layer [2022-03-24T20:29:28.006Z] 3e5f54012d9b: Pulling fs layer [2022-03-24T20:29:28.006Z] 4c7163046ea9: Pulling fs layer [2022-03-24T20:29:28.006Z] 0c2d73faf560: Pulling fs layer [2022-03-24T20:29:28.006Z] 0c2d73faf560: Waiting [2022-03-24T20:29:28.006Z] 3e5f54012d9b: Verifying Checksum [2022-03-24T20:29:28.006Z] 3e5f54012d9b: Download complete [2022-03-24T20:29:28.006Z] a0d0a0d46f8b: Download complete [2022-03-24T20:29:28.006Z] 0c2d73faf560: Verifying Checksum [2022-03-24T20:29:28.006Z] 0c2d73faf560: Download complete [2022-03-24T20:29:28.006Z] 4c7163046ea9: Verifying Checksum [2022-03-24T20:29:28.006Z] 4c7163046ea9: Download complete [2022-03-24T20:29:28.266Z] a0d0a0d46f8b: Pull complete [2022-03-24T20:29:28.266Z] 3e5f54012d9b: Pull complete [2022-03-24T20:29:28.527Z] 4c7163046ea9: Pull complete [2022-03-24T20:29:28.787Z] 0c2d73faf560: Pull complete [2022-03-24T20:29:28.787Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-24T20:29:28.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T20:29:28.787Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-24T20:29:28.940Z] prd-ubuntu20.04-docker-8c-8g-9016 does not seem to be running inside a container [2022-03-24T20:29:28.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-24T20:29:29.620Z] $ docker top e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-24T20:29:29.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T20:29:29.729Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T20:29:29.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T20:29:29.846Z] $ docker exec e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d ssh-agent [2022-03-24T20:29:29.965Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeLbDcG/agent.14 [2022-03-24T20:29:29.965Z] SSH_AGENT_PID=20 [2022-03-24T20:29:29.973Z] Running ssh-add (command line suppressed) [2022-03-24T20:29:30.080Z] Identity added: /w/workspace/edgex-go/34@tmp/private_key_5475816344576972217.key (/w/workspace/edgex-go/34@tmp/private_key_5475816344576972217.key) [2022-03-24T20:29:30.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T20:29:30.390Z] + git tag --points-at HEAD [Pipeline] } [2022-03-24T20:29:30.417Z] $ docker exec --env ******** --env ******** e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d ssh-agent -k [2022-03-24T20:29:30.527Z] unset SSH_AUTH_SOCK; [2022-03-24T20:29:30.527Z] unset SSH_AGENT_PID; [2022-03-24T20:29:30.527Z] echo Agent pid 20 killed; [2022-03-24T20:29:30.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-24T20:29:30.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T20:29:30.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T20:29:30.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T20:29:30.683Z] $ docker exec e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d ssh-agent [2022-03-24T20:29:30.800Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEkjDHK/agent.52 [2022-03-24T20:29:30.800Z] SSH_AGENT_PID=58 [2022-03-24T20:29:30.805Z] Running ssh-add (command line suppressed) [2022-03-24T20:29:30.907Z] Identity added: /w/workspace/edgex-go/34@tmp/private_key_2403453079511329708.key (/w/workspace/edgex-go/34@tmp/private_key_2403453079511329708.key) [2022-03-24T20:29:30.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T20:29:31.212Z] + git semver init [2022-03-24T20:29:31.212Z] # -> Open(): unable to determine branch for HEAD [2022-03-24T20:29:31.212Z] # $GIT_DIR = /w/workspace/edgex-go/34/.git [2022-03-24T20:29:31.212Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/34 [2022-03-24T20:29:31.212Z] # $SEMVER_REMOTE_NAME = origin [2022-03-24T20:29:31.212Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-24T20:29:31.212Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-24T20:29:31.212Z] # $SEMVER_BRANCH = PR-3842 [2022-03-24T20:29:31.212Z] # $SEMVER_TEMP = /tmp/semver-099122913 [2022-03-24T20:29:31.212Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-24T20:29:43.467Z] # '/tmp/semver-099122913' -> '/w/workspace/edgex-go/34/.semver' [2022-03-24T20:29:43.467Z] # -> Force: false [2022-03-24T20:29:43.467Z] # $SEMVER_DIR = /w/workspace/edgex-go/34/.semver [Pipeline] } [2022-03-24T20:29:43.482Z] $ docker exec --env ******** --env ******** e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d ssh-agent -k [2022-03-24T20:29:43.592Z] unset SSH_AUTH_SOCK; [2022-03-24T20:29:43.593Z] unset SSH_AGENT_PID; [2022-03-24T20:29:43.593Z] echo Agent pid 58 killed; [2022-03-24T20:29:43.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T20:29:43.905Z] + git semver [Pipeline] } [2022-03-24T20:29:43.924Z] $ docker stop --time=1 e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d [2022-03-24T20:29:45.645Z] $ docker rm -f e108327c181af863c658b38532917f4e1681d5bb29f58bcbf5c12749197d0a4d [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-24T20:29:46.013Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-24T20:29:46.269Z] Stashed 1 file(s) [Pipeline] echo [2022-03-24T20:29:46.272Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-03-24T20:29:46.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T20:29:46.404Z] ========================================================= [2022-03-24T20:29:46.404Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-24T20:29:46.404Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:29:46.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-24T20:29:46.694Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-24T20:29:46.694Z] 59bf1c3509f3: Pulling fs layer [2022-03-24T20:29:46.694Z] 666ba61612fd: Pulling fs layer [2022-03-24T20:29:46.694Z] 8ed8ca486205: Pulling fs layer [2022-03-24T20:29:46.694Z] 4fe6c5a15a65: Pulling fs layer [2022-03-24T20:29:46.694Z] 22a0e8bec74d: Pulling fs layer [2022-03-24T20:29:46.695Z] 640e595b4fbd: Pulling fs layer [2022-03-24T20:29:46.695Z] 763cafe07f6e: Pulling fs layer [2022-03-24T20:29:46.695Z] 0c0b528cf693: Pulling fs layer [2022-03-24T20:29:46.695Z] 10935f4eaf8b: Pulling fs layer [2022-03-24T20:29:46.695Z] 640e595b4fbd: Waiting [2022-03-24T20:29:46.695Z] 4fe6c5a15a65: Waiting [2022-03-24T20:29:46.695Z] 763cafe07f6e: Waiting [2022-03-24T20:29:46.695Z] 0c0b528cf693: Waiting [2022-03-24T20:29:46.695Z] 10935f4eaf8b: Waiting [2022-03-24T20:29:46.695Z] 22a0e8bec74d: Waiting [2022-03-24T20:29:46.695Z] 8ed8ca486205: Download complete [2022-03-24T20:29:46.695Z] 666ba61612fd: Download complete [2022-03-24T20:29:46.695Z] 22a0e8bec74d: Verifying Checksum [2022-03-24T20:29:46.695Z] 22a0e8bec74d: Download complete [2022-03-24T20:29:46.695Z] 640e595b4fbd: Download complete [2022-03-24T20:29:46.695Z] 59bf1c3509f3: Verifying Checksum [2022-03-24T20:29:46.695Z] 59bf1c3509f3: Download complete [2022-03-24T20:29:46.695Z] 763cafe07f6e: Verifying Checksum [2022-03-24T20:29:46.695Z] 0c0b528cf693: Verifying Checksum [2022-03-24T20:29:46.695Z] 0c0b528cf693: Download complete [2022-03-24T20:29:46.954Z] 59bf1c3509f3: Pull complete [2022-03-24T20:29:46.954Z] 666ba61612fd: Pull complete [2022-03-24T20:29:46.954Z] 8ed8ca486205: Pull complete [2022-03-24T20:29:47.214Z] 10935f4eaf8b: Verifying Checksum [2022-03-24T20:29:47.214Z] 10935f4eaf8b: Download complete [2022-03-24T20:29:47.473Z] 4fe6c5a15a65: Verifying Checksum [2022-03-24T20:29:47.473Z] 4fe6c5a15a65: Download complete [2022-03-24T20:29:50.772Z] 4fe6c5a15a65: Pull complete [2022-03-24T20:29:50.772Z] 22a0e8bec74d: Pull complete [2022-03-24T20:29:50.772Z] 640e595b4fbd: Pull complete [2022-03-24T20:29:51.032Z] 763cafe07f6e: Pull complete [2022-03-24T20:29:51.032Z] 0c0b528cf693: Pull complete [2022-03-24T20:29:52.936Z] 10935f4eaf8b: Pull complete [2022-03-24T20:29:52.936Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-24T20:29:52.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-24T20:29:52.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:29:53.235Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-24T20:29:53.235Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-24T20:29:53.235Z] WORKDIR /edgex [2022-03-24T20:29:53.235Z] COPY go.mod . [2022-03-24T20:29:53.235Z] RUN go mod download [2022-03-24T20:29:54.614Z] Sending build context to Docker daemon 334.4MB [2022-03-24T20:29:54.614Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-24T20:29:54.614Z] ---> 99d49a6021b9 [2022-03-24T20:29:54.614Z] Step 2/4 : WORKDIR /edgex [2022-03-24T20:29:56.527Z] ---> Running in 5f551cae4d7e [2022-03-24T20:29:56.527Z] Removing intermediate container 5f551cae4d7e [2022-03-24T20:29:56.527Z] ---> 144ffbb28da5 [2022-03-24T20:29:56.527Z] Step 3/4 : COPY go.mod . [2022-03-24T20:29:56.527Z] ---> 6f9d4c383839 [2022-03-24T20:29:56.527Z] Step 4/4 : RUN go mod download [2022-03-24T20:29:56.527Z] ---> Running in cd0ee4cba62c [2022-03-24T20:30:01.360Z] Still waiting to schedule task [2022-03-24T20:30:01.361Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-24T20:30:14.650Z] Removing intermediate container cd0ee4cba62c [2022-03-24T20:30:14.650Z] ---> 30ba52e07c86 [2022-03-24T20:30:14.650Z] Successfully built 30ba52e07c86 [2022-03-24T20:30:14.650Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:30:14.949Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-24T20:30:14.949Z] . [Pipeline] withDockerContainer [2022-03-24T20:30:15.020Z] prd-ubuntu20.04-docker-8c-8g-9016 does not seem to be running inside a container [2022-03-24T20:30:15.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-24T20:30:15.468Z] $ docker top d470d3eb6d7a691f00133c26314d519fdc5adb336085c1b69d3e2ba2f3518a68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T20:30:15.815Z] + go version [2022-03-24T20:30:15.815Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-24T20:30:15.838Z] $ docker stop --time=1 d470d3eb6d7a691f00133c26314d519fdc5adb336085c1b69d3e2ba2f3518a68 [2022-03-24T20:30:17.142Z] $ docker rm -f d470d3eb6d7a691f00133c26314d519fdc5adb336085c1b69d3e2ba2f3518a68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:30:17.543Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-24T20:30:17.544Z] . [Pipeline] withDockerContainer [2022-03-24T20:30:17.617Z] prd-ubuntu20.04-docker-8c-8g-9016 does not seem to be running inside a container [2022-03-24T20:30:17.663Z] $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-24T20:30:18.010Z] $ docker top 114a18a81c3b0af25a893e4257dcb7ca901208583e51f7dd967a80c671b1dc3f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-24T20:30:18.138Z] ========================================================= [2022-03-24T20:30:18.138Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-24T20:30:18.138Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:30:18.425Z] + make test [2022-03-24T20:30:18.425Z] go mod tidy -compat=1.17 [2022-03-24T20:30:18.425Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-24T20:30:18.425Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-03-24T20:30:18.425Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-03-24T20:30:18.998Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:30:18.998Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1535 [2022-03-24T20:30:29.025Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:30:29.025Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:30:29.025Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1535 [2022-03-24T20:30:29.025Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-03-24T20:30:29.025Z] go: downloading github.com/prometheus/common v0.32.1 [2022-03-24T20:30:29.025Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-03-24T20:30:29.025Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-03-24T20:30:29.025Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-03-24T20:30:29.025Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-03-24T20:30:29.025Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-24T20:30:29.025Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-03-24T20:30:29.025Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-03-24T20:30:29.025Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-24T20:30:29.025Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-03-24T20:30:29.025Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-03-24T20:30:29.025Z] go: downloading github.com/google/btree v1.0.0 [2022-03-24T20:30:29.025Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-03-24T20:30:29.025Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-03-24T20:30:29.025Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-24T20:30:34.313Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-24T20:30:46.577Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-24T20:30:46.577Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-24T20:30:46.577Z] /w/workspace/edgex-go/34/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-24T20:30:46.577Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-24T20:30:46.577Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.047s coverage: 28.7% of statements [2022-03-24T20:30:47.515Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.086s coverage: 98.5% of statements [2022-03-24T20:30:47.515Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.105s coverage: 54.9% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.895s coverage: 89.2% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.061s coverage: 84.4% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.347s coverage: 94.2% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.070s coverage: 72.2% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.055s coverage: 60.0% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.092s coverage: 0.9% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.049s coverage: 58.8% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.063s coverage: 24.0% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.060s coverage: 47.1% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.050s coverage: 79.5% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.058s coverage: 94.1% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.081s coverage: 96.3% of statements [2022-03-24T20:30:50.809Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.059s coverage: 87.5% of statements [2022-03-24T20:31:00.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.068s coverage: 94.4% of statements [2022-03-24T20:31:00.814Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.059s coverage: 44.8% of statements [2022-03-24T20:31:02.204Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.182s coverage: 82.5% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.078s coverage: 92.9% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 65.1% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.075s coverage: 87.2% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.044s coverage: 100.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.047s coverage: 80.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.058s coverage: 87.2% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.054s coverage: 85.4% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.147s coverage: 91.2% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.166s coverage: 64.4% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.071s coverage: 100.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.029s coverage: 89.4% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.018s coverage: 100.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.316s coverage: 65.4% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.155s coverage: 43.8% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.065s coverage: 89.5% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.050s coverage: 84.8% of statements [2022-03-24T20:31:12.220Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-24T20:31:12.220Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 63.2% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.7% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.048s coverage: 28.9% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements [2022-03-24T20:31:12.220Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-03-24T20:31:12.220Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-24T20:31:12.244Z] $ docker stop --time=1 114a18a81c3b0af25a893e4257dcb7ca901208583e51f7dd967a80c671b1dc3f [2022-03-24T20:31:14.134Z] $ docker rm -f 114a18a81c3b0af25a893e4257dcb7ca901208583e51f7dd967a80c671b1dc3f [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-03-24T20:31:14.746Z] Failed in branch amd64 [2022-03-24T20:31:40.151Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9017 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-03-24T20:31:40.162Z] Running in /w/workspace/edgex-go/34 [Pipeline] { [Pipeline] checkout [2022-03-24T20:31:40.555Z] The recommended git tool is: git [2022-03-24T20:31:47.362Z] using credential edgex-jenkins-ssh [2022-03-24T20:31:47.383Z] Cloning the remote Git repository [2022-03-24T20:31:47.477Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-24T20:31:47.556Z] > git init /w/workspace/edgex-go/34 # timeout=10 [2022-03-24T20:31:47.662Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-24T20:31:47.663Z] > git --version # timeout=10 [2022-03-24T20:31:47.717Z] > git --version # 'git version 2.25.1' [2022-03-24T20:31:47.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-24T20:31:47.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-24T20:32:04.190Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-24T20:32:04.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-24T20:32:04.240Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-24T20:32:04.297Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-24T20:32:04.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-24T20:32:04.314Z] > 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-03-24T20:32:05.163Z] Merging remotes/origin/main commit 81bad761160ed823b117fb91638cbc671260dbae into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-03-24T20:32:06.007Z] Merge succeeded, producing c30416a39f5c7c5642f6ce3f8d07e8e03dfd253a [2022-03-24T20:32:06.007Z] Checking out Revision c30416a39f5c7c5642f6ce3f8d07e8e03dfd253a (PR-3842) [2022-03-24T20:32:05.187Z] > git config core.sparsecheckout # timeout=10 [2022-03-24T20:32:05.211Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-03-24T20:32:05.535Z] > git remote # timeout=10 [2022-03-24T20:32:05.559Z] > git config --get remote.origin.url # timeout=10 [2022-03-24T20:32:05.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-24T20:32:05.596Z] > git merge 81bad761160ed823b117fb91638cbc671260dbae # timeout=10 [2022-03-24T20:32:05.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-24T20:32:06.019Z] > git config core.sparsecheckout # timeout=10 [2022-03-24T20:32:06.043Z] > git checkout -f c30416a39f5c7c5642f6ce3f8d07e8e03dfd253a # timeout=10 [2022-03-24T20:32:10.320Z] Commit message: "Merge commit '81bad761160ed823b117fb91638cbc671260dbae' into HEAD" [2022-03-24T20:32:10.345Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-24T20:32:11.308Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-24T20:32:11.308Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-24T20:32:11.308Z] Dload Upload Total Spent Left Speed [2022-03-24T20:32:11.308Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46081 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh [2022-03-24T20:32:11.851Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-24T20:32:10.334Z] > git rev-list --no-walk 9714781e3cc9bb4997627a0cf8b2e956759a98b5 # timeout=10 [2022-03-24T20:32:12.208Z] + + sudo tee /etc/docker/daemon.new [2022-03-24T20:32:12.208Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-24T20:32:12.208Z] { [2022-03-24T20:32:12.208Z] "registry-mirrors": [ [2022-03-24T20:32:12.208Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-24T20:32:12.208Z] ], [2022-03-24T20:32:12.208Z] "bip": "10.250.0.254/24", [2022-03-24T20:32:12.208Z] "hosts": [ [2022-03-24T20:32:12.208Z] "tcp://0.0.0.0:5555", [2022-03-24T20:32:12.208Z] "unix:///var/run/docker.sock" [2022-03-24T20:32:12.208Z] ], [2022-03-24T20:32:12.208Z] "mtu": 1458, [2022-03-24T20:32:12.208Z] "selinux-enabled": true, [2022-03-24T20:32:12.208Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-24T20:32:12.208Z] } [Pipeline] sh [2022-03-24T20:32:12.555Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-24T20:32:12.912Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T20:32:31.336Z] provisioning config files... [2022-03-24T20:32:31.361Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/34@tmp/config3306442482763247543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:32:31.722Z] ---> docker-login.sh [2022-03-24T20:32:31.722Z] nexus3.edgexfoundry.org:10001 [2022-03-24T20:32:32.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:32:32.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:32:32.606Z] Configure a credential helper to remove this warning. See [2022-03-24T20:32:32.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:32:32.606Z] [2022-03-24T20:32:32.606Z] Login Succeeded [2022-03-24T20:32:32.606Z] nexus3.edgexfoundry.org:10002 [2022-03-24T20:32:32.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:32:32.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:32:32.880Z] Configure a credential helper to remove this warning. See [2022-03-24T20:32:32.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:32:32.881Z] [2022-03-24T20:32:32.881Z] Login Succeeded [2022-03-24T20:32:32.881Z] nexus3.edgexfoundry.org:10003 [2022-03-24T20:32:33.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:32:33.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:32:33.482Z] Configure a credential helper to remove this warning. See [2022-03-24T20:32:33.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:32:33.482Z] [2022-03-24T20:32:33.482Z] Login Succeeded [2022-03-24T20:32:33.482Z] nexus3.edgexfoundry.org:10004 [2022-03-24T20:32:33.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:32:34.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:32:34.041Z] Configure a credential helper to remove this warning. See [2022-03-24T20:32:34.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:32:34.041Z] [2022-03-24T20:32:34.041Z] Login Succeeded [2022-03-24T20:32:34.041Z] docker.io [2022-03-24T20:32:34.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T20:32:34.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T20:32:34.586Z] Configure a credential helper to remove this warning. See [2022-03-24T20:32:34.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T20:32:34.586Z] [2022-03-24T20:32:34.586Z] Login Succeeded [2022-03-24T20:32:34.859Z] ---> docker-login.sh ends [Pipeline] } [2022-03-24T20:32:34.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-24T20:32:35.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T20:32:35.310Z] ========================================================= [2022-03-24T20:32:35.310Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-24T20:32:35.310Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:32:35.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-24T20:32:35.941Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-24T20:32:35.941Z] 9b3977197b4f: Pulling fs layer [2022-03-24T20:32:35.941Z] 1a89e8eeedd5: Pulling fs layer [2022-03-24T20:32:35.941Z] 94645a83ff95: Pulling fs layer [2022-03-24T20:32:35.941Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-24T20:32:35.941Z] 0c92f367c5e7: Pulling fs layer [2022-03-24T20:32:35.941Z] f7c0051592d6: Pulling fs layer [2022-03-24T20:32:35.941Z] a227ed2f7395: Pulling fs layer [2022-03-24T20:32:35.941Z] 7b1c46037f91: Pulling fs layer [2022-03-24T20:32:35.941Z] 3f3a8bcf1eab: Waiting [2022-03-24T20:32:35.941Z] f7c0051592d6: Waiting [2022-03-24T20:32:35.941Z] 0c92f367c5e7: Waiting [2022-03-24T20:32:35.941Z] a227ed2f7395: Waiting [2022-03-24T20:32:35.941Z] 7b1c46037f91: Waiting [2022-03-24T20:32:35.941Z] 94645a83ff95: Verifying Checksum [2022-03-24T20:32:35.941Z] 94645a83ff95: Download complete [2022-03-24T20:32:35.941Z] 1a89e8eeedd5: Verifying Checksum [2022-03-24T20:32:35.941Z] 1a89e8eeedd5: Download complete [2022-03-24T20:32:35.941Z] 0c92f367c5e7: Verifying Checksum [2022-03-24T20:32:35.941Z] 0c92f367c5e7: Download complete [2022-03-24T20:32:35.941Z] f7c0051592d6: Download complete [2022-03-24T20:32:35.941Z] 9b3977197b4f: Verifying Checksum [2022-03-24T20:32:35.941Z] 9b3977197b4f: Download complete [2022-03-24T20:32:35.941Z] a227ed2f7395: Verifying Checksum [2022-03-24T20:32:35.941Z] a227ed2f7395: Download complete [2022-03-24T20:32:36.928Z] 9b3977197b4f: Pull complete [2022-03-24T20:32:37.203Z] 1a89e8eeedd5: Pull complete [2022-03-24T20:32:37.479Z] 94645a83ff95: Pull complete [2022-03-24T20:32:38.078Z] 7b1c46037f91: Download complete [2022-03-24T20:32:38.673Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-24T20:32:38.673Z] 3f3a8bcf1eab: Download complete [2022-03-24T20:32:51.099Z] 3f3a8bcf1eab: Pull complete [2022-03-24T20:32:51.099Z] 0c92f367c5e7: Pull complete [2022-03-24T20:32:51.099Z] f7c0051592d6: Pull complete [2022-03-24T20:32:51.376Z] a227ed2f7395: Pull complete [2022-03-24T20:32:58.131Z] 7b1c46037f91: Pull complete [2022-03-24T20:32:58.131Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-24T20:32:58.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-24T20:32:58.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:32:58.498Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-24T20:32:58.498Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-24T20:32:58.498Z] WORKDIR /edgex [2022-03-24T20:32:58.498Z] COPY go.mod . [2022-03-24T20:32:58.498Z] RUN go mod download [2022-03-24T20:33:01.139Z] Sending build context to Docker daemon 169MB [2022-03-24T20:33:01.139Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-24T20:33:01.139Z] ---> f79e39bc4007 [2022-03-24T20:33:01.139Z] Step 2/4 : WORKDIR /edgex [2022-03-24T20:33:02.595Z] ---> Running in a43dfa9b33e7 [2022-03-24T20:33:02.880Z] Removing intermediate container a43dfa9b33e7 [2022-03-24T20:33:02.880Z] ---> 87042d141028 [2022-03-24T20:33:02.880Z] Step 3/4 : COPY go.mod . [2022-03-24T20:33:03.479Z] ---> 06f54ca9b119 [2022-03-24T20:33:03.479Z] Step 4/4 : RUN go mod download [2022-03-24T20:33:03.479Z] ---> Running in afb4be4087e4 [2022-03-24T20:33:50.481Z] Removing intermediate container afb4be4087e4 [2022-03-24T20:33:50.481Z] ---> b600fe453b75 [2022-03-24T20:33:50.481Z] Successfully built b600fe453b75 [2022-03-24T20:33:50.481Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:33:50.821Z] + docker inspect -f . ci-base-image-arm64 [2022-03-24T20:33:50.821Z] . [Pipeline] withDockerContainer [2022-03-24T20:33:51.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-9017 does not seem to be running inside a container [2022-03-24T20:33:51.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-24T20:33:52.520Z] $ docker top ea8d65a06d7e7d08b884fa0cdd42317cf8df7da1912a2c36ae3335950af85697 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T20:33:53.437Z] + go version [2022-03-24T20:33:53.437Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-24T20:33:53.469Z] $ docker stop --time=1 ea8d65a06d7e7d08b884fa0cdd42317cf8df7da1912a2c36ae3335950af85697 [2022-03-24T20:33:55.075Z] $ docker rm -f ea8d65a06d7e7d08b884fa0cdd42317cf8df7da1912a2c36ae3335950af85697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:33:55.668Z] + docker inspect -f . ci-base-image-arm64 [2022-03-24T20:33:55.668Z] . [Pipeline] withDockerContainer [2022-03-24T20:33:55.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-9017 does not seem to be running inside a container [2022-03-24T20:33:55.981Z] $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-24T20:33:57.286Z] $ docker top 5f7da8d4494230b8f165154ff71efe1c76aa714c89b82bd4cf10f96a2a296d34 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-24T20:33:57.564Z] ========================================================= [2022-03-24T20:33:57.565Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-24T20:33:57.565Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-24T20:33:58.221Z] + make test [2022-03-24T20:33:58.221Z] go mod tidy -compat=1.17 [2022-03-24T20:33:59.204Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-03-24T20:33:59.204Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-24T20:33:59.204Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-03-24T20:33:59.480Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:33:59.480Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1535 [2022-03-24T20:34:21.666Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:34:21.666Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-03-24T20:34:21.666Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1535 [2022-03-24T20:34:22.647Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-03-24T20:34:22.647Z] go: downloading github.com/prometheus/common v0.32.1 [2022-03-24T20:34:22.647Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-03-24T20:34:22.647Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-03-24T20:34:22.647Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-03-24T20:34:22.925Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-03-24T20:34:22.925Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-03-24T20:34:22.925Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-03-24T20:34:22.925Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-24T20:34:23.199Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-03-24T20:34:23.199Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-24T20:34:23.199Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-03-24T20:34:23.199Z] go: downloading github.com/google/btree v1.0.0 [2022-03-24T20:34:23.199Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-03-24T20:34:23.199Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-03-24T20:34:23.796Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-24T20:34:56.179Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-24T20:36:18.036Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-24T20:36:36.429Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-24T20:37:03.277Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-24T20:37:03.278Z] /w/workspace/edgex-go/34/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-24T20:37:03.278Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-24T20:37:03.278Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.300s coverage: 28.7% of statements [2022-03-24T20:37:03.278Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.341s coverage: 98.5% of statements [2022-03-24T20:37:03.278Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.491s coverage: 54.9% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 18.535s coverage: 89.2% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.344s coverage: 84.4% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.610s coverage: 94.2% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.280s coverage: 72.2% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.366s coverage: 60.0% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.530s coverage: 0.9% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.224s coverage: 58.8% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.408s coverage: 24.0% of statements [2022-03-24T20:37:21.685Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.550s coverage: 47.1% of statements [2022-03-24T20:37:22.287Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.367s coverage: 79.5% of statements [2022-03-24T20:37:22.287Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.202s coverage: 94.1% of statements [2022-03-24T20:37:23.735Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.275s coverage: 96.3% of statements [2022-03-24T20:37:24.012Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.208s coverage: 87.5% of statements [2022-03-24T20:37:36.440Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.228s coverage: 94.4% of statements [2022-03-24T20:37:36.440Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.200s coverage: 44.8% of statements [2022-03-24T20:37:43.417Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.949s coverage: 82.5% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.275s coverage: 92.9% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.082s coverage: 65.1% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.191s coverage: 100.0% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.284s coverage: 58.8% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.304s coverage: 80.0% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.247s coverage: 87.2% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.294s coverage: 85.4% of statements [2022-03-24T20:37:50.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.789s coverage: 91.2% of statements [2022-03-24T20:37:50.455Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.875s coverage: 64.4% of statements [2022-03-24T20:37:50.455Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.268s coverage: 100.0% of statements [2022-03-24T20:37:50.455Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.179s coverage: 89.4% of statements [2022-03-24T20:37:51.061Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.090s coverage: 100.0% of statements [2022-03-24T20:37:51.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.082s coverage: 73.7% of statements [2022-03-24T20:37:51.339Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.079s coverage: 100.0% of statements [2022-03-24T20:37:58.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.384s coverage: 65.4% of statements [2022-03-24T20:38:00.071Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.861s coverage: 43.8% of statements [2022-03-24T20:38:00.071Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.274s coverage: 89.5% of statements [2022-03-24T20:38:00.071Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.239s coverage: 84.8% of statements [2022-03-24T20:38:00.071Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-24T20:38:00.071Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-24T20:38:00.071Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.236s coverage: 63.2% of statements [2022-03-24T20:38:02.710Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.408s coverage: 97.7% of statements [2022-03-24T20:38:02.710Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.193s coverage: 28.9% of statements [2022-03-24T20:38:02.710Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.249s coverage: 100.0% of statements [2022-03-24T20:38:02.710Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.082s coverage: 96.9% of statements [2022-03-24T20:38:03.688Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-24T20:38:03.718Z] $ docker stop --time=1 5f7da8d4494230b8f165154ff71efe1c76aa714c89b82bd4cf10f96a2a296d34 [2022-03-24T20:38:05.691Z] $ docker rm -f 5f7da8d4494230b8f165154ff71efe1c76aa714c89b82bd4cf10f96a2a296d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:38:10.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T20:38:10.313Z] [2022-03-24T20:38:10.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:38:10.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T20:38:10.933Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-24T20:38:10.933Z] 8998bd30e6a1: Pulling fs layer [2022-03-24T20:38:10.933Z] 04944245beec: Pulling fs layer [2022-03-24T20:38:10.933Z] 699f458cf7ca: Pulling fs layer [2022-03-24T20:38:10.933Z] 765212b225bb: Pulling fs layer [2022-03-24T20:38:10.933Z] f23df028b6ca: Pulling fs layer [2022-03-24T20:38:10.933Z] d65c8cfc05b1: Pulling fs layer [2022-03-24T20:38:10.933Z] 2437ff75d9bd: Pulling fs layer [2022-03-24T20:38:10.933Z] 765212b225bb: Waiting [2022-03-24T20:38:10.933Z] f23df028b6ca: Waiting [2022-03-24T20:38:10.933Z] d65c8cfc05b1: Waiting [2022-03-24T20:38:10.933Z] 2437ff75d9bd: Waiting [2022-03-24T20:38:10.933Z] 04944245beec: Verifying Checksum [2022-03-24T20:38:10.933Z] 04944245beec: Download complete [2022-03-24T20:38:10.933Z] 765212b225bb: Verifying Checksum [2022-03-24T20:38:10.933Z] 765212b225bb: Download complete [2022-03-24T20:38:11.209Z] f23df028b6ca: Verifying Checksum [2022-03-24T20:38:11.209Z] f23df028b6ca: Download complete [2022-03-24T20:38:11.209Z] d65c8cfc05b1: Verifying Checksum [2022-03-24T20:38:11.209Z] d65c8cfc05b1: Download complete [2022-03-24T20:38:11.209Z] 699f458cf7ca: Verifying Checksum [2022-03-24T20:38:11.209Z] 699f458cf7ca: Download complete [2022-03-24T20:38:11.482Z] 8998bd30e6a1: Verifying Checksum [2022-03-24T20:38:11.482Z] 8998bd30e6a1: Download complete [2022-03-24T20:38:14.108Z] 2437ff75d9bd: Verifying Checksum [2022-03-24T20:38:14.108Z] 2437ff75d9bd: Download complete [2022-03-24T20:38:16.086Z] 8998bd30e6a1: Pull complete [2022-03-24T20:38:16.357Z] 04944245beec: Pull complete [2022-03-24T20:38:17.795Z] 699f458cf7ca: Pull complete [2022-03-24T20:38:18.068Z] 765212b225bb: Pull complete [2022-03-24T20:38:19.047Z] f23df028b6ca: Pull complete [2022-03-24T20:38:19.320Z] d65c8cfc05b1: Pull complete [2022-03-24T20:38:34.416Z] 2437ff75d9bd: Pull complete [2022-03-24T20:38:34.416Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-24T20:38:34.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T20:38:34.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-24T20:38:34.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-9017 does not seem to be running inside a container [2022-03-24T20:38:34.724Z] $ 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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-24T20:38:37.209Z] $ docker top 5a9d82808f1f3a471331b8dd57389d8e574dbf6052083fd3e77ff9508bda56e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:38.220Z] ---> job-cost.sh [2022-03-24T20:38:38.220Z] lf-activate-venv: SKIPPING [2022-03-24T20:38:38.220Z] INFO: No Stack... [2022-03-24T20:38:38.494Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-24T20:38:39.466Z] INFO: Archiving Costs [Pipeline] sh [2022-03-24T20:38:40.125Z] + + cat /w/workspace/edgex-go/34/archives/cost.csv [2022-03-24T20:38:40.125Z] cut -d, -f6 [Pipeline] lock [2022-03-24T20:38:40.191Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-34-stack-cost] [2022-03-24T20:38:40.198Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-34-stack-cost] did not exist. Created. [2022-03-24T20:38:40.198Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-24T20:38:40.852Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-24T20:38:41.627Z] Stashed 1 file(s) [Pipeline] } [2022-03-24T20:38:41.634Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-24T20:38:41.660Z] $ docker stop --time=1 5a9d82808f1f3a471331b8dd57389d8e574dbf6052083fd3e77ff9508bda56e9 [2022-03-24T20:38:43.194Z] $ docker rm -f 5a9d82808f1f3a471331b8dd57389d8e574dbf6052083fd3e77ff9508bda56e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-24T20:38:43.527Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-24T20:38:44.178Z] + [ -d /w/workspace/edgex-go/34/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:44.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:45.341Z] ---> package-listing.sh [2022-03-24T20:38:45.341Z] ++ facter osfamily [2022-03-24T20:38:45.341Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-24T20:38:45.604Z] + OS_FAMILY=debian [2022-03-24T20:38:45.604Z] + workspace=/w/workspace/edgex-go/34 [2022-03-24T20:38:45.604Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-24T20:38:45.604Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-24T20:38:45.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-24T20:38:45.604Z] + PACKAGES=/tmp/packages_start.txt [2022-03-24T20:38:45.604Z] + '[' /w/workspace/edgex-go/34 ']' [2022-03-24T20:38:45.604Z] + PACKAGES=/tmp/packages_end.txt [2022-03-24T20:38:45.604Z] + case "${OS_FAMILY}" in [2022-03-24T20:38:45.604Z] + dpkg -l [2022-03-24T20:38:45.604Z] + grep '^ii' [2022-03-24T20:38:45.604Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-24T20:38:45.604Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-24T20:38:45.604Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-24T20:38:45.604Z] + '[' /w/workspace/edgex-go/34 ']' [2022-03-24T20:38:45.604Z] + mkdir -p /w/workspace/edgex-go/34/archives/ [2022-03-24T20:38:45.604Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/34/archives/ [Pipeline] echo [2022-03-24T20:38:45.615Z] 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/34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-24T20:38:45.895Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:38:46.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T20:38:46.458Z] [2022-03-24T20:38:46.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T20:38:46.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T20:38:46.760Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-24T20:38:46.760Z] 5eb5b503b376: Pulling fs layer [2022-03-24T20:38:46.760Z] 5c69ac0246d0: Pulling fs layer [2022-03-24T20:38:46.760Z] ec43610c2a17: Pulling fs layer [2022-03-24T20:38:46.760Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-24T20:38:46.760Z] 33b1e0a273af: Pulling fs layer [2022-03-24T20:38:46.760Z] 5d3b04190fa2: Pulling fs layer [2022-03-24T20:38:46.760Z] 2f39f015ded8: Pulling fs layer [2022-03-24T20:38:46.760Z] 33b1e0a273af: Waiting [2022-03-24T20:38:46.760Z] 5d3b04190fa2: Waiting [2022-03-24T20:38:46.760Z] 5c69ac0246d0: Verifying Checksum [2022-03-24T20:38:46.760Z] 5c69ac0246d0: Download complete [2022-03-24T20:38:46.760Z] 3a2ae6a8a46f: Download complete [2022-03-24T20:38:46.760Z] 33b1e0a273af: Verifying Checksum [2022-03-24T20:38:46.760Z] 33b1e0a273af: Download complete [2022-03-24T20:38:46.760Z] 5d3b04190fa2: Verifying Checksum [2022-03-24T20:38:46.760Z] 5d3b04190fa2: Download complete [2022-03-24T20:38:46.760Z] ec43610c2a17: Verifying Checksum [2022-03-24T20:38:46.760Z] ec43610c2a17: Download complete [2022-03-24T20:38:47.019Z] 5eb5b503b376: Download complete [2022-03-24T20:38:47.587Z] 2f39f015ded8: Download complete [2022-03-24T20:38:48.156Z] 5eb5b503b376: Pull complete [2022-03-24T20:38:48.156Z] 5c69ac0246d0: Pull complete [2022-03-24T20:38:48.725Z] ec43610c2a17: Pull complete [2022-03-24T20:38:48.725Z] 3a2ae6a8a46f: Pull complete [2022-03-24T20:38:48.984Z] 33b1e0a273af: Pull complete [2022-03-24T20:38:48.984Z] 5d3b04190fa2: Pull complete [2022-03-24T20:38:53.175Z] 2f39f015ded8: Pull complete [2022-03-24T20:38:53.175Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-24T20:38:53.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T20:38:53.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-24T20:38:53.242Z] prd-ubuntu20.04-docker-8c-8g-9016 does not seem to be running inside a container [2022-03-24T20:38:53.289Z] $ 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/34/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/34 -v /w/workspace/edgex-go/34:/w/workspace/edgex-go/34:rw,z -v /w/workspace/edgex-go/34@tmp:/w/workspace/edgex-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-24T20:38:54.971Z] $ docker top a6791d500fcb2cf57e7762d140fb418bf3d0c41f28ad72419f51e67a62e78878 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T20:38:55.317Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-24T20:38:55.606Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-24T20:38:55.896Z] + ls /var/log/sa-host [2022-03-24T20:38:55.896Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T20:38:56.135Z] provisioning config files... [2022-03-24T20:38:56.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/34@tmp/config686541170104053088tmp [Pipeline] { [Pipeline] echo [2022-03-24T20:38:56.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:56.465Z] ---> create-netrc.sh [Pipeline] } [2022-03-24T20:38:56.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:56.809Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-24T20:38:56.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:57.107Z] ---> sudo-logs.sh [2022-03-24T20:38:57.107Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-24T20:38:57.139Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:57.424Z] ---> job-cost.sh [2022-03-24T20:38:57.424Z] lf-activate-venv: SKIPPING [2022-03-24T20:38:57.424Z] DEBUG: total: 0.10999999940395355 [2022-03-24T20:38:57.424Z] INFO: Retrieving Stack Cost... [2022-03-24T20:38:57.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-24T20:38:58.254Z] INFO: Archiving Costs [Pipeline] echo [2022-03-24T20:38:58.270Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T20:38:58.555Z] ---> logs-deploy.sh [2022-03-24T20:38:58.555Z] lf-activate-venv: SKIPPING [2022-03-24T20:38:58.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/34 [2022-03-24T20:38:58.555Z] INFO: archiving workspace using pattern(s): [2022-03-24T20:38:59.498Z] Archives upload complete. [2022-03-24T20:38:59.498Z] INFO: archiving logs to Nexus