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 b61922491ec22b60074f418cf5b25f360e5c966a rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from b61922491ec22b60074f418cf5b25f360e5c966a 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-ssh1361169003966864161.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-ssh486036896556362587.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-ssh13219500618750774704.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-ssh15917129173698468803.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-ssh4244273950256498809.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21670 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/49 [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/49 # 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 > 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 Merging remotes/origin/main commit b61922491ec22b60074f418cf5b25f360e5c966a into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing a48e452ba0ae60a2128c104b09df329e52f0e957 Checking out Revision a48e452ba0ae60a2128c104b09df329e52f0e957 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b61922491ec22b60074f418cf5b25f360e5c966a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a48e452ba0ae60a2128c104b09df329e52f0e957 # timeout=10 Commit message: "Merge commit 'b61922491ec22b60074f418cf5b25f360e5c966a' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 6f260cdf8ac4aad28c8141e1d6b74560df8bd6a5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-21T20:30:59.240Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-21T20:30:59.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-21T20:30:59.290Z] ========================================================= [2022-04-21T20:30:59.290Z] EdgeX Global Pipelines Version Info [2022-04-21T20:30:59.290Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:31:00.051Z] ------------------- [2022-04-21T20:31:00.051Z] stable info: [2022-04-21T20:31:00.051Z] ------------------- [2022-04-21T20:31:00.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-21T20:31:00.051Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-21T20:31:00.051Z] Message: update stable to v1.0.221 [2022-04-21T20:31:00.624Z] ------------------- [2022-04-21T20:31:00.624Z] experimental info: [2022-04-21T20:31:00.624Z] ------------------- [2022-04-21T20:31:00.624Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-21T20:31:00.624Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-21T20:31:00.624Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-21T20:31:00.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-04-21T20:31:00.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-04-21T20:31:00.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-21T20:31:00.775Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-21T20:31:00.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-21T20:31:00.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-21T20:31:00.811Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-21T20:31:00.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-04-21T20:31:00.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-04-21T20:31:00.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-04-21T20:31:00.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-21T20:31:00.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-21T20:31:00.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-21T20:31:00.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-21T20:31:00.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-21T20:31:00.916Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-21T20:31:00.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-21T20:31:00.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-21T20:31:00.955Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-21T20:31:00.969Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-21T20:31:00.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-21T20:31:00.992Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-21T20:31:01.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-04-21T20:31:01.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-04-21T20:31:01.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-04-21T20:31:01.039Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a48e452ba0ae60a2128c104b09df329e52f0e957 [Pipeline] echo [2022-04-21T20:31:01.050Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a48e452 [Pipeline] echo [2022-04-21T20:31:01.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T20:31:01.105Z] provisioning config files... [2022-04-21T20:31:01.124Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/49@tmp/config4458158200777082184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:31:01.480Z] ---> docker-login.sh [2022-04-21T20:31:01.480Z] nexus3.edgexfoundry.org:10001 [2022-04-21T20:31:01.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:31:02.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:31:02.010Z] Configure a credential helper to remove this warning. See [2022-04-21T20:31:02.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:31:02.011Z] [2022-04-21T20:31:02.011Z] Login Succeeded [2022-04-21T20:31:02.011Z] nexus3.edgexfoundry.org:10002 [2022-04-21T20:31:02.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:31:02.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:31:02.011Z] Configure a credential helper to remove this warning. See [2022-04-21T20:31:02.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:31:02.011Z] [2022-04-21T20:31:02.011Z] Login Succeeded [2022-04-21T20:31:02.011Z] nexus3.edgexfoundry.org:10003 [2022-04-21T20:31:02.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:31:02.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:31:02.275Z] Configure a credential helper to remove this warning. See [2022-04-21T20:31:02.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:31:02.275Z] [2022-04-21T20:31:02.275Z] Login Succeeded [2022-04-21T20:31:02.275Z] nexus3.edgexfoundry.org:10004 [2022-04-21T20:31:02.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:31:02.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:31:02.538Z] Configure a credential helper to remove this warning. See [2022-04-21T20:31:02.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:31:02.538Z] [2022-04-21T20:31:02.538Z] Login Succeeded [2022-04-21T20:31:02.538Z] docker.io [2022-04-21T20:31:02.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:31:02.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:31:02.802Z] Configure a credential helper to remove this warning. See [2022-04-21T20:31:02.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:31:02.802Z] [2022-04-21T20:31:02.802Z] Login Succeeded [2022-04-21T20:31:02.802Z] ---> docker-login.sh ends [Pipeline] } [2022-04-21T20:31:02.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-21T20:31:03.133Z] + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/core-command/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo core-command,cmd/core-command/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + dirname cmd/core-data/Dockerfile [2022-04-21T20:31:03.133Z] + echo core-data,cmd/core-data/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/core-metadata/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-04-21T20:31:03.133Z] + + dirname cmd/security-proxy-setup/Dockerfile [2022-04-21T20:31:03.133Z] cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-04-21T20:31:03.133Z] + + dirnamecut cmd/security-secretstore-setup/Dockerfile -d/ [2022-04-21T20:31:03.133Z] -f2 [2022-04-21T20:31:03.133Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/security-spire-agent/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/security-spire-config/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/security-spire-server/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-04-21T20:31:03.133Z] + + cut -d/ -f2 [2022-04-21T20:31:03.133Z] dirname cmd/support-notifications/Dockerfile [2022-04-21T20:31:03.133Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/support-scheduler/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-04-21T20:31:03.133Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-04-21T20:31:03.133Z] + cut -d/ -f2 [2022-04-21T20:31:03.133Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-04-21T20:31:03.196Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-21T20:31:03.539Z] + git rev-list -1 --merges a48e452ba0ae60a2128c104b09df329e52f0e957~1..a48e452ba0ae60a2128c104b09df329e52f0e957 [Pipeline] echo [2022-04-21T20:31:03.552Z] -----------> git rev-list -1 --merges a48e452ba0ae60a2128c104b09df329e52f0e957~1..a48e452ba0ae60a2128c104b09df329e52f0e957 a48e452ba0ae60a2128c104b09df329e52f0e957 [2022-04-21T20:31:03.552Z] a48e452ba0ae60a2128c104b09df329e52f0e957 [false] [Pipeline] sh [2022-04-21T20:31:03.844Z] + git log --format=format:%s -1 a48e452ba0ae60a2128c104b09df329e52f0e957 [Pipeline] echo [2022-04-21T20:31:03.860Z] ========================================================= [2022-04-21T20:31:03.860Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-21T20:31:03.860Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-04-21T20:31:04.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-21T20:31:04.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-21T20:31:04.274Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-21T20:31:04.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-21T20:31:04.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-21T20:31:04.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-21T20:31:04.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:31:04.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T20:31:04.633Z] [2022-04-21T20:31:04.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:31:04.942Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T20:31:04.942Z] latest: Pulling from edgex-devops/git-semver [2022-04-21T20:31:04.942Z] a0d0a0d46f8b: Pulling fs layer [2022-04-21T20:31:04.942Z] 3e5f54012d9b: Pulling fs layer [2022-04-21T20:31:04.942Z] 4c7163046ea9: Pulling fs layer [2022-04-21T20:31:04.942Z] 0c2d73faf560: Pulling fs layer [2022-04-21T20:31:04.942Z] 3e5f54012d9b: Verifying Checksum [2022-04-21T20:31:04.942Z] 3e5f54012d9b: Download complete [2022-04-21T20:31:04.942Z] a0d0a0d46f8b: Download complete [2022-04-21T20:31:04.942Z] 0c2d73faf560: Verifying Checksum [2022-04-21T20:31:04.942Z] 0c2d73faf560: Download complete [2022-04-21T20:31:04.942Z] 4c7163046ea9: Verifying Checksum [2022-04-21T20:31:04.942Z] 4c7163046ea9: Download complete [2022-04-21T20:31:05.208Z] a0d0a0d46f8b: Pull complete [2022-04-21T20:31:05.208Z] 3e5f54012d9b: Pull complete [2022-04-21T20:31:05.781Z] 4c7163046ea9: Pull complete [2022-04-21T20:31:06.366Z] 0c2d73faf560: Pull complete [2022-04-21T20:31:06.366Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-21T20:31:06.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T20:31:06.366Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-21T20:31:06.559Z] prd-ubuntu20.04-docker-8c-8g-21670 does not seem to be running inside a container [2022-04-21T20:31:06.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@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-04-21T20:31:08.387Z] $ docker top d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-21T20:31:08.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-21T20:31:08.494Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-21T20:31:08.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-21T20:31:08.628Z] $ docker exec d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d ssh-agent [2022-04-21T20:31:08.739Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIbbdAa/agent.13 [2022-04-21T20:31:08.739Z] SSH_AGENT_PID=19 [2022-04-21T20:31:08.749Z] Running ssh-add (command line suppressed) [2022-04-21T20:31:08.874Z] Identity added: /w/workspace/edgex-go/49@tmp/private_key_8735776369502053910.key (/w/workspace/edgex-go/49@tmp/private_key_8735776369502053910.key) [2022-04-21T20:31:08.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-21T20:31:09.183Z] + git tag --points-at HEAD [Pipeline] } [2022-04-21T20:31:09.210Z] $ docker exec --env ******** --env ******** d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d ssh-agent -k [2022-04-21T20:31:09.322Z] unset SSH_AUTH_SOCK; [2022-04-21T20:31:09.323Z] unset SSH_AGENT_PID; [2022-04-21T20:31:09.323Z] echo Agent pid 19 killed; [2022-04-21T20:31:09.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-21T20:31:09.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-21T20:31:09.353Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-21T20:31:09.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-21T20:31:09.492Z] $ docker exec d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d ssh-agent [2022-04-21T20:31:09.621Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcoNdkI/agent.52 [2022-04-21T20:31:09.621Z] SSH_AGENT_PID=58 [2022-04-21T20:31:09.626Z] Running ssh-add (command line suppressed) [2022-04-21T20:31:09.754Z] Identity added: /w/workspace/edgex-go/49@tmp/private_key_2418069118834308963.key (/w/workspace/edgex-go/49@tmp/private_key_2418069118834308963.key) [2022-04-21T20:31:09.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-21T20:31:10.056Z] + git semver init [2022-04-21T20:31:10.056Z] # -> Open(): unable to determine branch for HEAD [2022-04-21T20:31:10.056Z] # $GIT_DIR = /w/workspace/edgex-go/49/.git [2022-04-21T20:31:10.056Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/49 [2022-04-21T20:31:10.056Z] # $SEMVER_REMOTE_NAME = origin [2022-04-21T20:31:10.056Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-21T20:31:10.056Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-21T20:31:10.056Z] # $SEMVER_BRANCH = PR-3842 [2022-04-21T20:31:10.056Z] # $SEMVER_TEMP = /tmp/semver-534190530 [2022-04-21T20:31:10.056Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-04-21T20:31:24.970Z] # '/tmp/semver-534190530' -> '/w/workspace/edgex-go/49/.semver' [2022-04-21T20:31:24.970Z] # -> Force: false [2022-04-21T20:31:24.970Z] # $SEMVER_DIR = /w/workspace/edgex-go/49/.semver [Pipeline] } [2022-04-21T20:31:24.989Z] $ docker exec --env ******** --env ******** d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d ssh-agent -k [2022-04-21T20:31:25.101Z] unset SSH_AUTH_SOCK; [2022-04-21T20:31:25.102Z] unset SSH_AGENT_PID; [2022-04-21T20:31:25.102Z] echo Agent pid 58 killed; [2022-04-21T20:31:25.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-21T20:31:25.420Z] + git semver [Pipeline] } [2022-04-21T20:31:25.443Z] $ docker stop --time=1 d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d [2022-04-21T20:31:27.618Z] $ docker rm -f d2f94204090e09b1858b00d0796404e40436fb016d4f06b640f38e761cbdd06d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-21T20:31:28.031Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-21T20:31:28.342Z] Stashed 1 file(s) [Pipeline] echo [2022-04-21T20:31:28.346Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-04-21T20:31:28.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-21T20:31:28.498Z] ========================================================= [2022-04-21T20:31:28.498Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-21T20:31:28.498Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:31:28.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-21T20:31:28.791Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-21T20:31:28.791Z] 59bf1c3509f3: Pulling fs layer [2022-04-21T20:31:28.791Z] 666ba61612fd: Pulling fs layer [2022-04-21T20:31:28.791Z] 8ed8ca486205: Pulling fs layer [2022-04-21T20:31:28.791Z] 4fe6c5a15a65: Pulling fs layer [2022-04-21T20:31:28.791Z] 22a0e8bec74d: Pulling fs layer [2022-04-21T20:31:28.791Z] 640e595b4fbd: Pulling fs layer [2022-04-21T20:31:28.791Z] 4fe6c5a15a65: Waiting [2022-04-21T20:31:28.791Z] 22a0e8bec74d: Waiting [2022-04-21T20:31:28.791Z] 763cafe07f6e: Pulling fs layer [2022-04-21T20:31:28.791Z] 0c0b528cf693: Pulling fs layer [2022-04-21T20:31:28.791Z] 640e595b4fbd: Waiting [2022-04-21T20:31:28.791Z] 10935f4eaf8b: Pulling fs layer [2022-04-21T20:31:28.791Z] 10935f4eaf8b: Waiting [2022-04-21T20:31:28.791Z] 0c0b528cf693: Waiting [2022-04-21T20:31:28.791Z] 8ed8ca486205: Verifying Checksum [2022-04-21T20:31:28.791Z] 8ed8ca486205: Download complete [2022-04-21T20:31:28.791Z] 666ba61612fd: Verifying Checksum [2022-04-21T20:31:28.791Z] 666ba61612fd: Download complete [2022-04-21T20:31:28.791Z] 22a0e8bec74d: Download complete [2022-04-21T20:31:28.791Z] 640e595b4fbd: Verifying Checksum [2022-04-21T20:31:28.791Z] 640e595b4fbd: Download complete [2022-04-21T20:31:28.791Z] 59bf1c3509f3: Verifying Checksum [2022-04-21T20:31:28.791Z] 763cafe07f6e: Download complete [2022-04-21T20:31:29.053Z] 0c0b528cf693: Verifying Checksum [2022-04-21T20:31:29.053Z] 0c0b528cf693: Download complete [2022-04-21T20:31:29.053Z] 59bf1c3509f3: Pull complete [2022-04-21T20:31:29.053Z] 666ba61612fd: Pull complete [2022-04-21T20:31:29.313Z] 8ed8ca486205: Pull complete [2022-04-21T20:31:29.584Z] 10935f4eaf8b: Verifying Checksum [2022-04-21T20:31:29.584Z] 10935f4eaf8b: Download complete [2022-04-21T20:31:29.584Z] 4fe6c5a15a65: Verifying Checksum [2022-04-21T20:31:29.584Z] 4fe6c5a15a65: Download complete [2022-04-21T20:31:33.786Z] 4fe6c5a15a65: Pull complete [2022-04-21T20:31:33.786Z] 22a0e8bec74d: Pull complete [2022-04-21T20:31:33.786Z] 640e595b4fbd: Pull complete [2022-04-21T20:31:33.786Z] 763cafe07f6e: Pull complete [2022-04-21T20:31:33.786Z] 0c0b528cf693: Pull complete [2022-04-21T20:31:36.325Z] 10935f4eaf8b: Pull complete [2022-04-21T20:31:36.325Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-21T20:31:36.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-21T20:31:36.325Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:31:36.628Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-21T20:31:36.629Z] WORKDIR /edgex [2022-04-21T20:31:36.629Z] COPY go.mod . [2022-04-21T20:31:36.629Z] RUN go mod download [2022-04-21T20:31:36.629Z] + docker build -t ci-base-image-x86_64 -f - . [2022-04-21T20:31:38.013Z] Sending build context to Docker daemon 334.9MB [2022-04-21T20:31:38.013Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-21T20:31:38.013Z] ---> 99d49a6021b9 [2022-04-21T20:31:38.013Z] Step 2/4 : WORKDIR /edgex [2022-04-21T20:31:41.326Z] ---> Running in 522bde8afec3 [2022-04-21T20:31:41.589Z] Removing intermediate container 522bde8afec3 [2022-04-21T20:31:41.589Z] ---> 86f3ec8d809b [2022-04-21T20:31:41.589Z] Step 3/4 : COPY go.mod . [2022-04-21T20:31:41.589Z] ---> 87d482bafc2f [2022-04-21T20:31:41.589Z] Step 4/4 : RUN go mod download [2022-04-21T20:31:41.589Z] ---> Running in 70c4f275a280 [2022-04-21T20:31:43.433Z] Still waiting to schedule task [2022-04-21T20:31:43.433Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-21T20:31:59.720Z] Removing intermediate container 70c4f275a280 [2022-04-21T20:31:59.720Z] ---> a7adb33340e1 [2022-04-21T20:31:59.720Z] Successfully built a7adb33340e1 [2022-04-21T20:31:59.720Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:32:00.020Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-21T20:32:00.020Z] . [Pipeline] withDockerContainer [2022-04-21T20:32:00.090Z] prd-ubuntu20.04-docker-8c-8g-21670 does not seem to be running inside a container [2022-04-21T20:32:00.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@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-04-21T20:32:00.579Z] $ docker top 8ebc28265ec6590b4885fe9baf6c22d4da3622ac5afcfbd84094742fd1c0bb2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T20:32:00.943Z] + go version [2022-04-21T20:32:00.943Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-21T20:32:00.963Z] $ docker stop --time=1 8ebc28265ec6590b4885fe9baf6c22d4da3622ac5afcfbd84094742fd1c0bb2d [2022-04-21T20:32:02.274Z] $ docker rm -f 8ebc28265ec6590b4885fe9baf6c22d4da3622ac5afcfbd84094742fd1c0bb2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:32:02.699Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-21T20:32:02.699Z] . [Pipeline] withDockerContainer [2022-04-21T20:32:02.795Z] prd-ubuntu20.04-docker-8c-8g-21670 does not seem to be running inside a container [2022-04-21T20:32:02.839Z] $ 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/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@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-04-21T20:32:03.264Z] $ docker top 15d5a73f7f6260139fe57efb386c1df8be7ce467cd80d8bafa6dadf3b35b9233 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-21T20:32:03.353Z] ========================================================= [2022-04-21T20:32:03.353Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-21T20:32:03.353Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:32:03.643Z] + make test [2022-04-21T20:32:03.643Z] go mod tidy -compat=1.17 [2022-04-21T20:32:03.902Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-04-21T20:32:03.902Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-04-21T20:32:03.902Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-04-21T20:32:04.163Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:32:04.735Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1571 [2022-04-21T20:32:14.732Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:32:14.732Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:32:14.732Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1571 [2022-04-21T20:32:14.732Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-04-21T20:32:14.732Z] go: downloading github.com/prometheus/common v0.32.1 [2022-04-21T20:32:14.732Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-04-21T20:32:14.732Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-04-21T20:32:14.732Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-04-21T20:32:14.732Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-04-21T20:32:14.732Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-04-21T20:32:14.732Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-04-21T20:32:14.732Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-04-21T20:32:14.732Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-04-21T20:32:14.732Z] go: downloading github.com/google/btree v1.0.0 [2022-04-21T20:32:14.732Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-04-21T20:32:14.732Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-04-21T20:32:14.732Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-04-21T20:32:14.732Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-21T20:32:20.008Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-21T20:32:32.216Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-21T20:32:33.155Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-04-21T20:32:33.155Z] /w/workspace/edgex-go/49/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-04-21T20:32:33.155Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-04-21T20:32:33.155Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.067s coverage: 28.7% of statements [2022-04-21T20:32:34.091Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.108s coverage: 98.5% of statements [2022-04-21T20:32:34.091Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.095s coverage: 53.4% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.115s coverage: 89.2% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.080s coverage: 84.4% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.448s coverage: 95.6% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.087s coverage: 72.2% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.047s coverage: 60.0% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.105s coverage: 0.9% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.081s coverage: 29.6% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.055s coverage: 47.1% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.062s coverage: 79.5% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.066s coverage: 94.1% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.071s coverage: 96.3% of statements [2022-04-21T20:32:37.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.097s coverage: 87.5% of statements [2022-04-21T20:32:47.459Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.056s coverage: 94.4% of statements [2022-04-21T20:32:47.459Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.071s coverage: 44.8% of statements [2022-04-21T20:32:48.846Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.192s coverage: 82.5% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.096s coverage: 92.9% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.088s coverage: 87.2% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.058s coverage: 100.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.062s coverage: 80.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.055s coverage: 87.2% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.085s coverage: 85.4% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.161s coverage: 91.2% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.149s coverage: 64.4% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.059s coverage: 100.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.046s coverage: 89.4% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.025s coverage: 100.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.326s coverage: 65.4% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.176s coverage: 43.8% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.066s coverage: 89.5% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.057s coverage: 84.8% of statements [2022-04-21T20:32:58.857Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-04-21T20:32:58.857Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.056s coverage: 63.2% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.101s coverage: 97.7% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.061s coverage: 100.0% of statements [2022-04-21T20:32:58.857Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements [2022-04-21T20:32:58.857Z] make: *** [Makefile:132: unittest] Error 2 [Pipeline] } [2022-04-21T20:32:58.876Z] $ docker stop --time=1 15d5a73f7f6260139fe57efb386c1df8be7ce467cd80d8bafa6dadf3b35b9233 [2022-04-21T20:33:00.731Z] $ docker rm -f 15d5a73f7f6260139fe57efb386c1df8be7ce467cd80d8bafa6dadf3b35b9233 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-21T20:33:01.332Z] Failed in branch amd64 [2022-04-21T20:35:05.155Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21673 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-04-21T20:35:05.169Z] Running in /w/workspace/edgex-go/49 [Pipeline] { [Pipeline] checkout [2022-04-21T20:35:05.558Z] The recommended git tool is: git [2022-04-21T20:35:13.156Z] using credential edgex-jenkins-ssh [2022-04-21T20:35:13.198Z] Cloning the remote Git repository [2022-04-21T20:35:13.292Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-04-21T20:35:13.373Z] > git init /w/workspace/edgex-go/49 # timeout=10 [2022-04-21T20:35:13.453Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-21T20:35:13.454Z] > git --version # timeout=10 [2022-04-21T20:35:13.485Z] > git --version # 'git version 2.25.1' [2022-04-21T20:35:13.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T20:35:13.690Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-21T20:35:29.706Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-21T20:35:29.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-21T20:35:29.749Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-04-21T20:35:29.785Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-04-21T20:35:29.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T20:35:29.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-21T20:35:30.678Z] Merging remotes/origin/main commit b61922491ec22b60074f418cf5b25f360e5c966a into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-04-21T20:35:31.442Z] Merge succeeded, producing 31275fb7e37d8143d16d32873ffd50c61b5feb54 [2022-04-21T20:35:31.442Z] Checking out Revision 31275fb7e37d8143d16d32873ffd50c61b5feb54 (PR-3842) [2022-04-21T20:35:30.704Z] > git config core.sparsecheckout # timeout=10 [2022-04-21T20:35:30.722Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-04-21T20:35:30.968Z] > git remote # timeout=10 [2022-04-21T20:35:30.986Z] > git config --get remote.origin.url # timeout=10 [2022-04-21T20:35:31.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T20:35:31.026Z] > git merge b61922491ec22b60074f418cf5b25f360e5c966a # timeout=10 [2022-04-21T20:35:31.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-21T20:35:31.455Z] > git config core.sparsecheckout # timeout=10 [2022-04-21T20:35:31.468Z] > git checkout -f 31275fb7e37d8143d16d32873ffd50c61b5feb54 # timeout=10 [2022-04-21T20:35:35.745Z] Commit message: "Merge commit 'b61922491ec22b60074f418cf5b25f360e5c966a' into HEAD" [2022-04-21T20:35:35.775Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-21T20:35:36.707Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-21T20:35:36.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-21T20:35:36.707Z] Dload Upload Total Spent Left Speed [2022-04-21T20:35:36.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-21T20:35:37.262Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-21T20:35:35.762Z] > git rev-list --no-walk 6f260cdf8ac4aad28c8141e1d6b74560df8bd6a5 # timeout=10 [2022-04-21T20:35:37.614Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-21T20:35:37.614Z] + sudo tee /etc/docker/daemon.new [2022-04-21T20:35:37.614Z] { [2022-04-21T20:35:37.614Z] "registry-mirrors": [ [2022-04-21T20:35:37.614Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-21T20:35:37.614Z] ], [2022-04-21T20:35:37.614Z] "bip": "10.250.0.254/24", [2022-04-21T20:35:37.614Z] "hosts": [ [2022-04-21T20:35:37.614Z] "tcp://0.0.0.0:5555", [2022-04-21T20:35:37.614Z] "unix:///var/run/docker.sock" [2022-04-21T20:35:37.614Z] ], [2022-04-21T20:35:37.614Z] "mtu": 1458, [2022-04-21T20:35:37.614Z] "selinux-enabled": true, [2022-04-21T20:35:37.614Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-21T20:35:37.614Z] } [Pipeline] sh [2022-04-21T20:35:37.966Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-21T20:35:38.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T20:35:56.667Z] provisioning config files... [2022-04-21T20:35:56.693Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/49@tmp/config7814439628641520127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:35:57.056Z] ---> docker-login.sh [2022-04-21T20:35:57.056Z] nexus3.edgexfoundry.org:10001 [2022-04-21T20:35:57.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:35:57.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:35:57.931Z] Configure a credential helper to remove this warning. See [2022-04-21T20:35:57.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:35:57.931Z] [2022-04-21T20:35:57.931Z] Login Succeeded [2022-04-21T20:35:57.931Z] nexus3.edgexfoundry.org:10002 [2022-04-21T20:35:58.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:35:58.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:35:58.529Z] Configure a credential helper to remove this warning. See [2022-04-21T20:35:58.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:35:58.529Z] [2022-04-21T20:35:58.529Z] Login Succeeded [2022-04-21T20:35:58.529Z] nexus3.edgexfoundry.org:10003 [2022-04-21T20:35:58.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:35:59.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:35:59.087Z] Configure a credential helper to remove this warning. See [2022-04-21T20:35:59.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:35:59.087Z] [2022-04-21T20:35:59.087Z] Login Succeeded [2022-04-21T20:35:59.087Z] nexus3.edgexfoundry.org:10004 [2022-04-21T20:35:59.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:35:59.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:35:59.636Z] Configure a credential helper to remove this warning. See [2022-04-21T20:35:59.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:35:59.636Z] [2022-04-21T20:35:59.636Z] Login Succeeded [2022-04-21T20:35:59.636Z] docker.io [2022-04-21T20:35:59.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T20:36:00.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T20:36:00.505Z] Configure a credential helper to remove this warning. See [2022-04-21T20:36:00.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T20:36:00.505Z] [2022-04-21T20:36:00.505Z] Login Succeeded [2022-04-21T20:36:00.505Z] ---> docker-login.sh ends [Pipeline] } [2022-04-21T20:36:00.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-21T20:36:01.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-21T20:36:01.077Z] ========================================================= [2022-04-21T20:36:01.077Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-21T20:36:01.077Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:36:01.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-21T20:36:01.697Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-21T20:36:01.697Z] 9b3977197b4f: Pulling fs layer [2022-04-21T20:36:01.697Z] 1a89e8eeedd5: Pulling fs layer [2022-04-21T20:36:01.697Z] 94645a83ff95: Pulling fs layer [2022-04-21T20:36:01.697Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-21T20:36:01.697Z] 0c92f367c5e7: Pulling fs layer [2022-04-21T20:36:01.697Z] f7c0051592d6: Pulling fs layer [2022-04-21T20:36:01.697Z] 3f3a8bcf1eab: Waiting [2022-04-21T20:36:01.697Z] 0c92f367c5e7: Waiting [2022-04-21T20:36:01.697Z] a227ed2f7395: Pulling fs layer [2022-04-21T20:36:01.697Z] 7b1c46037f91: Pulling fs layer [2022-04-21T20:36:01.697Z] 7b1c46037f91: Waiting [2022-04-21T20:36:01.697Z] f7c0051592d6: Waiting [2022-04-21T20:36:01.697Z] a227ed2f7395: Waiting [2022-04-21T20:36:01.697Z] 94645a83ff95: Verifying Checksum [2022-04-21T20:36:01.697Z] 94645a83ff95: Download complete [2022-04-21T20:36:01.697Z] 1a89e8eeedd5: Download complete [2022-04-21T20:36:01.697Z] 0c92f367c5e7: Verifying Checksum [2022-04-21T20:36:01.697Z] 0c92f367c5e7: Download complete [2022-04-21T20:36:01.697Z] 9b3977197b4f: Download complete [2022-04-21T20:36:01.697Z] f7c0051592d6: Verifying Checksum [2022-04-21T20:36:01.697Z] f7c0051592d6: Download complete [2022-04-21T20:36:01.697Z] a227ed2f7395: Download complete [2022-04-21T20:36:02.685Z] 9b3977197b4f: Pull complete [2022-04-21T20:36:03.290Z] 1a89e8eeedd5: Pull complete [2022-04-21T20:36:03.582Z] 94645a83ff95: Pull complete [2022-04-21T20:36:03.857Z] 7b1c46037f91: Verifying Checksum [2022-04-21T20:36:03.857Z] 7b1c46037f91: Download complete [2022-04-21T20:36:04.461Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-21T20:36:04.461Z] 3f3a8bcf1eab: Download complete [2022-04-21T20:36:16.875Z] 3f3a8bcf1eab: Pull complete [2022-04-21T20:36:16.875Z] 0c92f367c5e7: Pull complete [2022-04-21T20:36:16.875Z] f7c0051592d6: Pull complete [2022-04-21T20:36:17.170Z] a227ed2f7395: Pull complete [2022-04-21T20:36:23.910Z] 7b1c46037f91: Pull complete [2022-04-21T20:36:23.910Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-21T20:36:23.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-21T20:36:23.910Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:36:24.273Z] + + docker buildecho -t FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-21T20:36:24.273Z] WORKDIR /edgex [2022-04-21T20:36:24.273Z] COPY go.mod . [2022-04-21T20:36:24.273Z] RUN go mod download ci-base-image-arm64 [2022-04-21T20:36:24.273Z] -f - . [2022-04-21T20:36:26.920Z] Sending build context to Docker daemon 169.3MB [2022-04-21T20:36:26.920Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-21T20:36:26.920Z] ---> f79e39bc4007 [2022-04-21T20:36:26.920Z] Step 2/4 : WORKDIR /edgex [2022-04-21T20:36:28.916Z] ---> Running in 5c15e24a748a [2022-04-21T20:36:29.189Z] Removing intermediate container 5c15e24a748a [2022-04-21T20:36:29.189Z] ---> b2ddc57407a3 [2022-04-21T20:36:29.189Z] Step 3/4 : COPY go.mod . [2022-04-21T20:36:29.464Z] ---> bc243e446a9e [2022-04-21T20:36:29.464Z] Step 4/4 : RUN go mod download [2022-04-21T20:36:29.743Z] ---> Running in f127e746df14 [2022-04-21T20:37:16.725Z] Removing intermediate container f127e746df14 [2022-04-21T20:37:16.725Z] ---> 3a5e62a275d3 [2022-04-21T20:37:16.725Z] Successfully built 3a5e62a275d3 [2022-04-21T20:37:16.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:37:17.072Z] + docker inspect -f . ci-base-image-arm64 [2022-04-21T20:37:17.072Z] . [Pipeline] withDockerContainer [2022-04-21T20:37:17.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-21673 does not seem to be running inside a container [2022-04-21T20:37:17.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-21T20:37:18.768Z] $ docker top 66a18a51ebc8c7c36acc8ce3f9d6e941bdaee6d45ef212c884973827be1f8040 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T20:37:19.692Z] + go version [2022-04-21T20:37:19.693Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-21T20:37:19.728Z] $ docker stop --time=1 66a18a51ebc8c7c36acc8ce3f9d6e941bdaee6d45ef212c884973827be1f8040 [2022-04-21T20:37:21.376Z] $ docker rm -f 66a18a51ebc8c7c36acc8ce3f9d6e941bdaee6d45ef212c884973827be1f8040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:37:22.005Z] + docker inspect -f . ci-base-image-arm64 [2022-04-21T20:37:22.005Z] . [Pipeline] withDockerContainer [2022-04-21T20:37:22.242Z] prd-ubuntu20.04-docker-arm64-4c-16g-21673 does not seem to be running inside a container [2022-04-21T20:37:22.332Z] $ 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/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-21T20:37:23.669Z] $ docker top 28da9b1c28406f5da86582a4bc84dc75df83bdf0d3546b5ce3b6777af8d99242 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-21T20:37:23.923Z] ========================================================= [2022-04-21T20:37:23.924Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-04-21T20:37:23.924Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-04-21T20:37:24.581Z] + make test [2022-04-21T20:37:24.581Z] go mod tidy -compat=1.17 [2022-04-21T20:37:25.568Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-04-21T20:37:25.568Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-04-21T20:37:25.568Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-04-21T20:37:25.840Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:37:25.840Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1571 [2022-04-21T20:37:48.049Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:37:48.049Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-04-21T20:37:48.049Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1571 [2022-04-21T20:37:49.492Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-04-21T20:37:49.492Z] go: downloading github.com/prometheus/common v0.32.1 [2022-04-21T20:37:49.492Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-04-21T20:37:49.492Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-04-21T20:37:49.774Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-04-21T20:37:49.774Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-04-21T20:37:50.053Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-04-21T20:37:50.053Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-04-21T20:37:50.053Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-04-21T20:37:50.053Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-04-21T20:37:50.053Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-04-21T20:37:50.053Z] go: downloading github.com/google/btree v1.0.0 [2022-04-21T20:37:50.325Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-04-21T20:37:50.325Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-04-21T20:37:50.601Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-21T20:38:22.983Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-04-21T20:40:14.890Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-04-21T20:40:14.890Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-04-21T20:40:14.890Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-04-21T20:40:14.891Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-04-21T20:40:21.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-04-21T20:40:21.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-04-21T20:40:21.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-04-21T20:40:21.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-04-21T20:40:21.627Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-04-21T20:40:43.873Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-04-21T20:40:43.873Z] /w/workspace/edgex-go/49/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-04-21T20:40:43.873Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-04-21T20:40:43.873Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.342s coverage: 28.7% of statements [2022-04-21T20:40:47.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.373s coverage: 98.5% of statements [2022-04-21T20:40:47.291Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.660s coverage: 53.4% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.802s coverage: 89.2% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.499s coverage: 84.4% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.573s coverage: 95.6% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.283s coverage: 72.2% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.573s coverage: 60.0% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.719s coverage: 0.9% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.478s coverage: 58.8% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.493s coverage: 29.6% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.257s coverage: 47.1% of statements [2022-04-21T20:41:14.252Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.226s coverage: 79.5% of statements [2022-04-21T20:41:14.528Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.218s coverage: 94.1% of statements [2022-04-21T20:41:15.973Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.280s coverage: 96.3% of statements [2022-04-21T20:41:16.249Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.250s coverage: 87.5% of statements [2022-04-21T20:41:28.679Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.312s coverage: 94.4% of statements [2022-04-21T20:41:28.679Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.225s coverage: 44.8% of statements [2022-04-21T20:41:34.086Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.684s coverage: 82.5% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.275s coverage: 92.9% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.067s coverage: 65.1% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.218s coverage: 87.2% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.197s coverage: 100.0% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.280s coverage: 58.8% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.288s coverage: 80.0% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.259s coverage: 87.2% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.299s coverage: 85.4% of statements [2022-04-21T20:41:42.418Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.845s coverage: 91.2% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.994s coverage: 64.4% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.300s coverage: 100.0% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.106s coverage: 89.4% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.082s coverage: 100.0% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements [2022-04-21T20:41:47.871Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.067s coverage: 100.0% of statements [2022-04-21T20:41:56.209Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.486s coverage: 65.4% of statements [2022-04-21T20:41:57.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.871s coverage: 43.8% of statements [2022-04-21T20:41:57.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.265s coverage: 89.5% of statements [2022-04-21T20:41:57.658Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.327s coverage: 84.8% of statements [2022-04-21T20:41:57.658Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-04-21T20:41:57.658Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-04-21T20:41:57.658Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.304s coverage: 63.2% of statements [2022-04-21T20:42:03.084Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.439s coverage: 97.7% of statements [2022-04-21T20:42:03.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.211s coverage: 28.9% of statements [2022-04-21T20:42:03.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.213s coverage: 100.0% of statements [2022-04-21T20:42:03.084Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.092s coverage: 96.9% of statements [2022-04-21T20:42:03.358Z] make: *** [Makefile:132: unittest] Error 2 [Pipeline] } [2022-04-21T20:42:03.386Z] $ docker stop --time=1 28da9b1c28406f5da86582a4bc84dc75df83bdf0d3546b5ce3b6777af8d99242 [2022-04-21T20:42:05.487Z] $ docker rm -f 28da9b1c28406f5da86582a4bc84dc75df83bdf0d3546b5ce3b6777af8d99242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:42:10.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T20:42:10.225Z] [2022-04-21T20:42:10.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:42:10.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T20:42:10.860Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-21T20:42:10.860Z] 8998bd30e6a1: Pulling fs layer [2022-04-21T20:42:10.860Z] 04944245beec: Pulling fs layer [2022-04-21T20:42:10.860Z] 699f458cf7ca: Pulling fs layer [2022-04-21T20:42:10.860Z] 765212b225bb: Pulling fs layer [2022-04-21T20:42:10.860Z] f23df028b6ca: Pulling fs layer [2022-04-21T20:42:10.860Z] d65c8cfc05b1: Pulling fs layer [2022-04-21T20:42:10.860Z] 2437ff75d9bd: Pulling fs layer [2022-04-21T20:42:10.860Z] 765212b225bb: Waiting [2022-04-21T20:42:10.860Z] f23df028b6ca: Waiting [2022-04-21T20:42:10.860Z] 2437ff75d9bd: Waiting [2022-04-21T20:42:10.860Z] d65c8cfc05b1: Waiting [2022-04-21T20:42:10.860Z] 04944245beec: Verifying Checksum [2022-04-21T20:42:10.860Z] 04944245beec: Download complete [2022-04-21T20:42:10.860Z] 765212b225bb: Verifying Checksum [2022-04-21T20:42:10.860Z] 765212b225bb: Download complete [2022-04-21T20:42:11.140Z] f23df028b6ca: Verifying Checksum [2022-04-21T20:42:11.140Z] f23df028b6ca: Download complete [2022-04-21T20:42:11.140Z] d65c8cfc05b1: Verifying Checksum [2022-04-21T20:42:11.140Z] d65c8cfc05b1: Download complete [2022-04-21T20:42:11.140Z] 699f458cf7ca: Verifying Checksum [2022-04-21T20:42:11.140Z] 699f458cf7ca: Download complete [2022-04-21T20:42:11.741Z] 8998bd30e6a1: Verifying Checksum [2022-04-21T20:42:11.741Z] 8998bd30e6a1: Download complete [2022-04-21T20:42:13.747Z] 2437ff75d9bd: Verifying Checksum [2022-04-21T20:42:13.747Z] 2437ff75d9bd: Download complete [2022-04-21T20:42:16.387Z] 8998bd30e6a1: Pull complete [2022-04-21T20:42:16.387Z] 04944245beec: Pull complete [2022-04-21T20:42:17.829Z] 699f458cf7ca: Pull complete [2022-04-21T20:42:18.103Z] 765212b225bb: Pull complete [2022-04-21T20:42:19.087Z] f23df028b6ca: Pull complete [2022-04-21T20:42:19.369Z] d65c8cfc05b1: Pull complete [2022-04-21T20:42:34.477Z] 2437ff75d9bd: Pull complete [2022-04-21T20:42:34.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-21T20:42:34.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T20:42:34.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-21T20:42:34.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-21673 does not seem to be running inside a container [2022-04-21T20:42:34.796Z] $ 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/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-21T20:42:37.522Z] $ docker top 092878502f94d2b9b4ba1a715ada01fd3c66a440885a776b0224efbc1decaf5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:38.552Z] ---> job-cost.sh [2022-04-21T20:42:38.553Z] lf-activate-venv: SKIPPING [2022-04-21T20:42:38.553Z] INFO: No Stack... [2022-04-21T20:42:38.826Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-21T20:42:39.809Z] INFO: Archiving Costs [Pipeline] sh [2022-04-21T20:42:40.484Z] + cat /w/workspace/edgex-go/49/archives/cost.csv [2022-04-21T20:42:40.484Z] + cut -d, -f6 [Pipeline] lock [2022-04-21T20:42:40.562Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-49-stack-cost] [2022-04-21T20:42:40.574Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-49-stack-cost] did not exist. Created. [2022-04-21T20:42:40.574Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-21T20:42:41.263Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-21T20:42:41.958Z] Stashed 1 file(s) [Pipeline] } [2022-04-21T20:42:41.972Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-49-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-21T20:42:41.998Z] $ docker stop --time=1 092878502f94d2b9b4ba1a715ada01fd3c66a440885a776b0224efbc1decaf5e [2022-04-21T20:42:43.554Z] $ docker rm -f 092878502f94d2b9b4ba1a715ada01fd3c66a440885a776b0224efbc1decaf5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-21T20:42:43.902Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-21T20:42:44.526Z] + [ -d /w/workspace/edgex-go/49/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:44.817Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:45.684Z] ---> package-listing.sh [2022-04-21T20:42:45.684Z] ++ facter osfamily [2022-04-21T20:42:45.684Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-21T20:42:45.944Z] + OS_FAMILY=debian [2022-04-21T20:42:45.944Z] + workspace=/w/workspace/edgex-go/49 [2022-04-21T20:42:45.944Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-21T20:42:45.944Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-21T20:42:45.944Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-21T20:42:45.944Z] + PACKAGES=/tmp/packages_start.txt [2022-04-21T20:42:45.944Z] + '[' /w/workspace/edgex-go/49 ']' [2022-04-21T20:42:45.944Z] + PACKAGES=/tmp/packages_end.txt [2022-04-21T20:42:45.944Z] + case "${OS_FAMILY}" in [2022-04-21T20:42:45.944Z] + dpkg -l [2022-04-21T20:42:45.944Z] + grep '^ii' [2022-04-21T20:42:45.944Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-21T20:42:45.944Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-21T20:42:45.944Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-21T20:42:45.944Z] + '[' /w/workspace/edgex-go/49 ']' [2022-04-21T20:42:45.944Z] + mkdir -p /w/workspace/edgex-go/49/archives/ [2022-04-21T20:42:45.944Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/49/archives/ [Pipeline] echo [2022-04-21T20:42:45.957Z] 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/49/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-21T20:42:46.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:42:46.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T20:42:46.792Z] [2022-04-21T20:42:46.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T20:42:47.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T20:42:47.094Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-21T20:42:47.094Z] 5eb5b503b376: Pulling fs layer [2022-04-21T20:42:47.094Z] 5c69ac0246d0: Pulling fs layer [2022-04-21T20:42:47.094Z] ec43610c2a17: Pulling fs layer [2022-04-21T20:42:47.094Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-21T20:42:47.094Z] 33b1e0a273af: Pulling fs layer [2022-04-21T20:42:47.094Z] 5d3b04190fa2: Pulling fs layer [2022-04-21T20:42:47.094Z] 2f39f015ded8: Pulling fs layer [2022-04-21T20:42:47.094Z] 3a2ae6a8a46f: Waiting [2022-04-21T20:42:47.094Z] 33b1e0a273af: Waiting [2022-04-21T20:42:47.094Z] 5d3b04190fa2: Waiting [2022-04-21T20:42:47.094Z] 2f39f015ded8: Waiting [2022-04-21T20:42:47.094Z] 5c69ac0246d0: Verifying Checksum [2022-04-21T20:42:47.094Z] 5c69ac0246d0: Download complete [2022-04-21T20:42:47.094Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-21T20:42:47.094Z] 3a2ae6a8a46f: Download complete [2022-04-21T20:42:47.094Z] 33b1e0a273af: Verifying Checksum [2022-04-21T20:42:47.094Z] 33b1e0a273af: Download complete [2022-04-21T20:42:47.094Z] ec43610c2a17: Verifying Checksum [2022-04-21T20:42:47.094Z] ec43610c2a17: Download complete [2022-04-21T20:42:47.094Z] 5d3b04190fa2: Download complete [2022-04-21T20:42:47.354Z] 5eb5b503b376: Verifying Checksum [2022-04-21T20:42:47.354Z] 5eb5b503b376: Download complete [2022-04-21T20:42:47.921Z] 2f39f015ded8: Verifying Checksum [2022-04-21T20:42:47.921Z] 2f39f015ded8: Download complete [2022-04-21T20:42:48.488Z] 5eb5b503b376: Pull complete [2022-04-21T20:42:48.488Z] 5c69ac0246d0: Pull complete [2022-04-21T20:42:49.056Z] ec43610c2a17: Pull complete [2022-04-21T20:42:49.056Z] 3a2ae6a8a46f: Pull complete [2022-04-21T20:42:49.315Z] 33b1e0a273af: Pull complete [2022-04-21T20:42:49.315Z] 5d3b04190fa2: Pull complete [2022-04-21T20:42:53.508Z] 2f39f015ded8: Pull complete [2022-04-21T20:42:53.508Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-21T20:42:53.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T20:42:53.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-21T20:42:53.572Z] prd-ubuntu20.04-docker-8c-8g-21670 does not seem to be running inside a container [2022-04-21T20:42:53.614Z] $ 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/49/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/49 -v /w/workspace/edgex-go/49:/w/workspace/edgex-go/49:rw,z -v /w/workspace/edgex-go/49@tmp:/w/workspace/edgex-go/49@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-04-21T20:42:55.603Z] $ docker top 9dc60d09cc900d4eb2da93ed1ac29e2e868480a9e241134068716636a745675f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T20:42:55.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-21T20:42:56.246Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-21T20:42:56.539Z] + ls /var/log/sa-host [2022-04-21T20:42:56.539Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T20:42:56.623Z] provisioning config files... [2022-04-21T20:42:56.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/49@tmp/config2928873082494497026tmp [Pipeline] { [Pipeline] echo [2022-04-21T20:42:56.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:56.936Z] ---> create-netrc.sh [Pipeline] } [2022-04-21T20:42:56.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:57.271Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-21T20:42:57.282Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:57.570Z] ---> sudo-logs.sh [2022-04-21T20:42:57.571Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-21T20:42:57.605Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:57.893Z] ---> job-cost.sh [2022-04-21T20:42:57.893Z] lf-activate-venv: SKIPPING [2022-04-21T20:42:57.893Z] DEBUG: total: 0.10999999940395355 [2022-04-21T20:42:57.893Z] INFO: Retrieving Stack Cost... [2022-04-21T20:42:58.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-21T20:42:58.724Z] INFO: Archiving Costs [Pipeline] echo [2022-04-21T20:42:58.738Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T20:42:59.027Z] ---> logs-deploy.sh [2022-04-21T20:42:59.027Z] lf-activate-venv: SKIPPING [2022-04-21T20:42:59.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/49 [2022-04-21T20:42:59.027Z] INFO: archiving workspace using pattern(s): [2022-04-21T20:42:59.974Z] Archives upload complete. [2022-04-21T20:42:59.974Z] INFO: archiving logs to Nexus