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 7587fe9d184367fcb080c5c3df364d4d130cdabb rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 7587fe9d184367fcb080c5c3df364d4d130cdabb 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-ssh14694709140450485559.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-ssh17019902415652363235.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-ssh5351667958719501231.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-ssh11187115090940566147.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-ssh14588374395128666936.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9445 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/36 [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/36 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7587fe9d184367fcb080c5c3df364d4d130cdabb into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 92248b477241bf935183db357b65c710d5280177 Checking out Revision 92248b477241bf935183db357b65c710d5280177 (PR-3842) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7587fe9d184367fcb080c5c3df364d4d130cdabb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92248b477241bf935183db357b65c710d5280177 # timeout=10 Commit message: "Merge commit '7587fe9d184367fcb080c5c3df364d4d130cdabb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-30T20:30:24.868Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-30T20:30:24.948Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-30T20:30:24.972Z] ========================================================= [2022-03-30T20:30:24.972Z] EdgeX Global Pipelines Version Info [2022-03-30T20:30:24.972Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 72ffcfc0bf2a1903dff679e3cf6c20a8af775a24 # timeout=10 [2022-03-30T20:30:25.702Z] ------------------- [2022-03-30T20:30:25.702Z] stable info: [2022-03-30T20:30:25.702Z] ------------------- [2022-03-30T20:30:25.702Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-30T20:30:25.702Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-30T20:30:25.702Z] Message: update stable to v1.0.221 [2022-03-30T20:30:26.272Z] ------------------- [2022-03-30T20:30:26.272Z] experimental info: [2022-03-30T20:30:26.273Z] ------------------- [2022-03-30T20:30:26.273Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-30T20:30:26.273Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-30T20:30:26.273Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-30T20:30:26.397Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-30T20:30:26.405Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-30T20:30:26.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-30T20:30:26.422Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-30T20:30:26.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-30T20:30:26.442Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-30T20:30:26.458Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-30T20:30:26.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-30T20:30:26.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-30T20:30:26.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-30T20:30:26.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-30T20:30:26.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-30T20:30:26.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-30T20:30:26.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-30T20:30:26.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-30T20:30:26.579Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-30T20:30:26.591Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-30T20:30:26.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-30T20:30:26.614Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-30T20:30:26.628Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-30T20:30:26.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-30T20:30:26.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-30T20:30:26.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-03-30T20:30:26.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-03-30T20:30:26.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-03-30T20:30:26.717Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92248b477241bf935183db357b65c710d5280177 [Pipeline] echo [2022-03-30T20:30:26.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92248b4 [Pipeline] echo [2022-03-30T20:30:26.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-30T20:30:26.790Z] provisioning config files... [2022-03-30T20:30:26.816Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/36@tmp/config361506549144895814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:30:27.119Z] ---> docker-login.sh [2022-03-30T20:30:27.119Z] nexus3.edgexfoundry.org:10001 [2022-03-30T20:30:27.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:30:27.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:30:27.379Z] Configure a credential helper to remove this warning. See [2022-03-30T20:30:27.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:30:27.379Z] [2022-03-30T20:30:27.379Z] Login Succeeded [2022-03-30T20:30:27.379Z] nexus3.edgexfoundry.org:10002 [2022-03-30T20:30:27.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:30:27.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:30:27.379Z] Configure a credential helper to remove this warning. See [2022-03-30T20:30:27.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:30:27.379Z] [2022-03-30T20:30:27.379Z] Login Succeeded [2022-03-30T20:30:27.639Z] nexus3.edgexfoundry.org:10003 [2022-03-30T20:30:27.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:30:27.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:30:27.639Z] Configure a credential helper to remove this warning. See [2022-03-30T20:30:27.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:30:27.639Z] [2022-03-30T20:30:27.639Z] Login Succeeded [2022-03-30T20:30:27.639Z] nexus3.edgexfoundry.org:10004 [2022-03-30T20:30:27.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:30:27.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:30:27.639Z] Configure a credential helper to remove this warning. See [2022-03-30T20:30:27.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:30:27.640Z] [2022-03-30T20:30:27.640Z] Login Succeeded [2022-03-30T20:30:27.640Z] docker.io [2022-03-30T20:30:27.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:30:28.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:30:28.159Z] Configure a credential helper to remove this warning. See [2022-03-30T20:30:28.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:30:28.159Z] [2022-03-30T20:30:28.159Z] Login Succeeded [2022-03-30T20:30:28.159Z] ---> docker-login.sh ends [Pipeline] } [2022-03-30T20:30:28.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-30T20:30:28.478Z] + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/core-command/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/core-data/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/core-metadata/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-03-30T20:30:28.478Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-03-30T20:30:28.478Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/security-spire-agent/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/security-spire-config/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2022-03-30T20:30:28.478Z] + + cut -d/ -f2 [2022-03-30T20:30:28.478Z] dirname cmd/security-spire-server/Dockerfile [2022-03-30T20:30:28.478Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/support-notifications/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/support-scheduler/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-30T20:30:28.478Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-30T20:30:28.478Z] + cut -d/ -f2 [2022-03-30T20:30:28.478Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-30T20:30:28.597Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-30T20:30:28.939Z] + git rev-list -1 --merges 92248b477241bf935183db357b65c710d5280177~1..92248b477241bf935183db357b65c710d5280177 [Pipeline] echo [2022-03-30T20:30:28.951Z] -----------> git rev-list -1 --merges 92248b477241bf935183db357b65c710d5280177~1..92248b477241bf935183db357b65c710d5280177 92248b477241bf935183db357b65c710d5280177 [2022-03-30T20:30:28.951Z] 92248b477241bf935183db357b65c710d5280177 [false] [Pipeline] sh [2022-03-30T20:30:29.237Z] + git log --format=format:%s -1 92248b477241bf935183db357b65c710d5280177 [Pipeline] echo [2022-03-30T20:30:29.253Z] ========================================================= [2022-03-30T20:30:29.253Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-30T20:30:29.253Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-30T20:30:29.659Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-30T20:30:29.659Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-30T20:30:29.659Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-30T20:30:29.659Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-30T20:30:29.659Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-30T20:30:29.659Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-30T20:30:29.659Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:30:30.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-30T20:30:30.018Z] [2022-03-30T20:30:30.018Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:30:30.340Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-30T20:30:30.340Z] latest: Pulling from edgex-devops/git-semver [2022-03-30T20:30:30.340Z] a0d0a0d46f8b: Pulling fs layer [2022-03-30T20:30:30.340Z] 3e5f54012d9b: Pulling fs layer [2022-03-30T20:30:30.340Z] 4c7163046ea9: Pulling fs layer [2022-03-30T20:30:30.340Z] 0c2d73faf560: Pulling fs layer [2022-03-30T20:30:30.340Z] 0c2d73faf560: Waiting [2022-03-30T20:30:30.340Z] 3e5f54012d9b: Verifying Checksum [2022-03-30T20:30:30.340Z] 3e5f54012d9b: Download complete [2022-03-30T20:30:30.340Z] a0d0a0d46f8b: Verifying Checksum [2022-03-30T20:30:30.340Z] a0d0a0d46f8b: Download complete [2022-03-30T20:30:30.340Z] 0c2d73faf560: Verifying Checksum [2022-03-30T20:30:30.340Z] 0c2d73faf560: Download complete [2022-03-30T20:30:30.340Z] 4c7163046ea9: Verifying Checksum [2022-03-30T20:30:30.340Z] 4c7163046ea9: Download complete [2022-03-30T20:30:30.604Z] a0d0a0d46f8b: Pull complete [2022-03-30T20:30:30.604Z] 3e5f54012d9b: Pull complete [2022-03-30T20:30:30.865Z] 4c7163046ea9: Pull complete [2022-03-30T20:30:31.135Z] 0c2d73faf560: Pull complete [2022-03-30T20:30:31.135Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-30T20:30:31.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-30T20:30:31.135Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-30T20:30:31.217Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2022-03-30T20:30:31.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-30T20:30:31.881Z] $ docker top 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-30T20:30:31.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-30T20:30:31.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-30T20:30:32.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-30T20:30:32.109Z] $ docker exec 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea ssh-agent [2022-03-30T20:30:32.225Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdmjNEN/agent.14 [2022-03-30T20:30:32.225Z] SSH_AGENT_PID=20 [2022-03-30T20:30:32.233Z] Running ssh-add (command line suppressed) [2022-03-30T20:30:32.361Z] Identity added: /w/workspace/edgex-go/36@tmp/private_key_1612775908351616670.key (/w/workspace/edgex-go/36@tmp/private_key_1612775908351616670.key) [2022-03-30T20:30:32.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-30T20:30:32.660Z] + git tag --points-at HEAD [Pipeline] } [2022-03-30T20:30:32.695Z] $ docker exec --env ******** --env ******** 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea ssh-agent -k [2022-03-30T20:30:32.805Z] unset SSH_AUTH_SOCK; [2022-03-30T20:30:32.806Z] unset SSH_AGENT_PID; [2022-03-30T20:30:32.806Z] echo Agent pid 20 killed; [2022-03-30T20:30:32.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-30T20:30:32.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-30T20:30:32.835Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-30T20:30:32.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-30T20:30:32.972Z] $ docker exec 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea ssh-agent [2022-03-30T20:30:33.083Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbMogcd/agent.53 [2022-03-30T20:30:33.083Z] SSH_AGENT_PID=59 [2022-03-30T20:30:33.090Z] Running ssh-add (command line suppressed) [2022-03-30T20:30:33.222Z] Identity added: /w/workspace/edgex-go/36@tmp/private_key_1188893811743677803.key (/w/workspace/edgex-go/36@tmp/private_key_1188893811743677803.key) [2022-03-30T20:30:33.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-30T20:30:33.525Z] + git semver init [2022-03-30T20:30:33.525Z] # -> Open(): unable to determine branch for HEAD [2022-03-30T20:30:33.525Z] # $GIT_DIR = /w/workspace/edgex-go/36/.git [2022-03-30T20:30:33.525Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/36 [2022-03-30T20:30:33.525Z] # $SEMVER_REMOTE_NAME = origin [2022-03-30T20:30:33.525Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-30T20:30:33.525Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-30T20:30:33.525Z] # $SEMVER_BRANCH = PR-3842 [2022-03-30T20:30:33.525Z] # $SEMVER_TEMP = /tmp/semver-026745106 [2022-03-30T20:30:33.525Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-30T20:30:48.454Z] # '/tmp/semver-026745106' -> '/w/workspace/edgex-go/36/.semver' [2022-03-30T20:30:48.454Z] # -> Force: false [2022-03-30T20:30:48.454Z] # $SEMVER_DIR = /w/workspace/edgex-go/36/.semver [Pipeline] } [2022-03-30T20:30:48.470Z] $ docker exec --env ******** --env ******** 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea ssh-agent -k [2022-03-30T20:30:48.574Z] unset SSH_AUTH_SOCK; [2022-03-30T20:30:48.575Z] unset SSH_AGENT_PID; [2022-03-30T20:30:48.575Z] echo Agent pid 59 killed; [2022-03-30T20:30:48.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-30T20:30:48.882Z] + git semver [Pipeline] } [2022-03-30T20:30:48.901Z] $ docker stop --time=1 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea [2022-03-30T20:30:50.690Z] $ docker rm -f 1f24bf3e9dd4bb370fd9416d1c589cf12a219ab32f491da814393027ac16dfea [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-30T20:30:51.058Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-30T20:30:51.326Z] Stashed 1 file(s) [Pipeline] echo [2022-03-30T20:30:51.330Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-03-30T20:30:51.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-30T20:30:51.549Z] ========================================================= [2022-03-30T20:30:51.549Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-30T20:30:51.549Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:30:51.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-30T20:30:51.842Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-30T20:30:51.842Z] 59bf1c3509f3: Pulling fs layer [2022-03-30T20:30:51.842Z] 666ba61612fd: Pulling fs layer [2022-03-30T20:30:51.842Z] 8ed8ca486205: Pulling fs layer [2022-03-30T20:30:51.842Z] 4fe6c5a15a65: Pulling fs layer [2022-03-30T20:30:51.842Z] 22a0e8bec74d: Pulling fs layer [2022-03-30T20:30:51.842Z] 640e595b4fbd: Pulling fs layer [2022-03-30T20:30:51.842Z] 763cafe07f6e: Pulling fs layer [2022-03-30T20:30:51.842Z] 0c0b528cf693: Pulling fs layer [2022-03-30T20:30:51.842Z] 10935f4eaf8b: Pulling fs layer [2022-03-30T20:30:51.842Z] 4fe6c5a15a65: Waiting [2022-03-30T20:30:51.842Z] 22a0e8bec74d: Waiting [2022-03-30T20:30:51.842Z] 640e595b4fbd: Waiting [2022-03-30T20:30:51.842Z] 763cafe07f6e: Waiting [2022-03-30T20:30:51.842Z] 0c0b528cf693: Waiting [2022-03-30T20:30:51.842Z] 10935f4eaf8b: Waiting [2022-03-30T20:30:51.842Z] 8ed8ca486205: Verifying Checksum [2022-03-30T20:30:51.842Z] 8ed8ca486205: Download complete [2022-03-30T20:30:51.842Z] 666ba61612fd: Verifying Checksum [2022-03-30T20:30:51.842Z] 666ba61612fd: Download complete [2022-03-30T20:30:51.842Z] 22a0e8bec74d: Verifying Checksum [2022-03-30T20:30:51.842Z] 22a0e8bec74d: Download complete [2022-03-30T20:30:51.842Z] 640e595b4fbd: Verifying Checksum [2022-03-30T20:30:51.842Z] 640e595b4fbd: Download complete [2022-03-30T20:30:51.842Z] 59bf1c3509f3: Verifying Checksum [2022-03-30T20:30:51.842Z] 59bf1c3509f3: Download complete [2022-03-30T20:30:51.842Z] 763cafe07f6e: Verifying Checksum [2022-03-30T20:30:51.842Z] 763cafe07f6e: Download complete [2022-03-30T20:30:52.099Z] 0c0b528cf693: Verifying Checksum [2022-03-30T20:30:52.099Z] 0c0b528cf693: Download complete [2022-03-30T20:30:52.099Z] 59bf1c3509f3: Pull complete [2022-03-30T20:30:52.099Z] 666ba61612fd: Pull complete [2022-03-30T20:30:52.359Z] 8ed8ca486205: Pull complete [2022-03-30T20:30:52.619Z] 10935f4eaf8b: Verifying Checksum [2022-03-30T20:30:52.619Z] 10935f4eaf8b: Download complete [2022-03-30T20:30:52.619Z] 4fe6c5a15a65: Verifying Checksum [2022-03-30T20:30:52.619Z] 4fe6c5a15a65: Download complete [2022-03-30T20:30:56.816Z] 4fe6c5a15a65: Pull complete [2022-03-30T20:30:56.816Z] 22a0e8bec74d: Pull complete [2022-03-30T20:30:56.816Z] 640e595b4fbd: Pull complete [2022-03-30T20:30:56.816Z] 763cafe07f6e: Pull complete [2022-03-30T20:30:56.816Z] 0c0b528cf693: Pull complete [2022-03-30T20:30:58.725Z] 10935f4eaf8b: Pull complete [2022-03-30T20:30:58.725Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-30T20:30:58.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-30T20:30:58.725Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:30:59.023Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-30T20:30:59.023Z] WORKDIR /edgex [2022-03-30T20:30:59.023Z] COPY go.mod . [2022-03-30T20:30:59.023Z] RUN go mod download [2022-03-30T20:30:59.023Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-30T20:31:00.403Z] Sending build context to Docker daemon 334.5MB [2022-03-30T20:31:00.403Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-30T20:31:00.403Z] ---> 99d49a6021b9 [2022-03-30T20:31:00.403Z] Step 2/4 : WORKDIR /edgex [2022-03-30T20:31:01.791Z] ---> Running in 399c2a78694b [2022-03-30T20:31:02.049Z] Removing intermediate container 399c2a78694b [2022-03-30T20:31:02.049Z] ---> 79968049f975 [2022-03-30T20:31:02.049Z] Step 3/4 : COPY go.mod . [2022-03-30T20:31:02.049Z] ---> e99efd55803f [2022-03-30T20:31:02.049Z] Step 4/4 : RUN go mod download [2022-03-30T20:31:02.049Z] ---> Running in 07958f90abcc [2022-03-30T20:31:06.421Z] Still waiting to schedule task [2022-03-30T20:31:06.421Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9442’ [2022-03-30T20:31:14.268Z] Removing intermediate container 07958f90abcc [2022-03-30T20:31:14.268Z] ---> 6d832dbbec56 [2022-03-30T20:31:14.268Z] Successfully built 6d832dbbec56 [2022-03-30T20:31:14.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:31:14.562Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-30T20:31:14.562Z] . [Pipeline] withDockerContainer [2022-03-30T20:31:14.625Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2022-03-30T20:31:14.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-30T20:31:15.072Z] $ docker top 15c070e841f8b4ad651890e86562ae43b3db6a322633f3ee0c79991e38f663dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-30T20:31:15.428Z] + go version [2022-03-30T20:31:15.428Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-30T20:31:15.444Z] $ docker stop --time=1 15c070e841f8b4ad651890e86562ae43b3db6a322633f3ee0c79991e38f663dc [2022-03-30T20:31:16.721Z] $ docker rm -f 15c070e841f8b4ad651890e86562ae43b3db6a322633f3ee0c79991e38f663dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:31:17.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-30T20:31:17.126Z] . [Pipeline] withDockerContainer [2022-03-30T20:31:17.192Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2022-03-30T20:31:17.229Z] $ 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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-30T20:31:17.601Z] $ docker top 65de9c361ee3f7298c55c1c3b6acef6914270102c14dbaf99f92c6c39a13d585 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-30T20:31:17.666Z] ========================================================= [2022-03-30T20:31:17.666Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-30T20:31:17.666Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:31:17.955Z] + make test [2022-03-30T20:31:17.955Z] go mod tidy -compat=1.17 [2022-03-30T20:31:17.955Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-30T20:31:17.955Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-03-30T20:31:17.955Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-03-30T20:31:18.213Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:31:18.781Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1542 [2022-03-30T20:31:24.143Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:31:24.143Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:31:24.143Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1542 [2022-03-30T20:31:24.407Z] go: downloading github.com/prometheus/common v0.32.1 [2022-03-30T20:31:24.407Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-03-30T20:31:24.407Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-03-30T20:31:24.407Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-03-30T20:31:24.407Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-03-30T20:31:24.407Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-03-30T20:31:24.407Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-03-30T20:31:24.407Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-30T20:31:24.407Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-03-30T20:31:24.407Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-30T20:31:24.407Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-03-30T20:31:24.407Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-03-30T20:31:24.407Z] go: downloading github.com/google/btree v1.0.0 [2022-03-30T20:31:24.407Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-03-30T20:31:24.407Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-03-30T20:31:24.667Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-30T20:31:29.945Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-30T20:31:42.147Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-30T20:31:42.727Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-30T20:31:42.727Z] /w/workspace/edgex-go/36/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-30T20:31:42.727Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-30T20:31:42.727Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.082s coverage: 28.7% of statements [2022-03-30T20:31:42.993Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.093s coverage: 98.5% of statements [2022-03-30T20:31:42.993Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.121s coverage: 54.9% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.843s coverage: 89.2% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.103s coverage: 84.4% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.410s coverage: 94.5% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.064s coverage: 72.2% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.056s coverage: 60.0% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.068s coverage: 0.9% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.078s coverage: 58.8% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.072s coverage: 24.0% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.067s coverage: 47.1% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.072s coverage: 79.5% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.054s coverage: 94.1% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.083s coverage: 96.3% of statements [2022-03-30T20:31:46.279Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.101s coverage: 87.5% of statements [2022-03-30T20:31:56.264Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.064s coverage: 94.4% of statements [2022-03-30T20:31:56.264Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.065s coverage: 44.8% of statements [2022-03-30T20:31:57.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.183s coverage: 82.5% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.050s coverage: 65.1% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.061s coverage: 87.2% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.057s coverage: 100.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.067s coverage: 58.8% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.053s coverage: 87.2% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.058s coverage: 85.4% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.128s coverage: 91.2% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.170s coverage: 64.4% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.067s coverage: 100.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.019s coverage: 100.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.027s coverage: 73.7% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.040s coverage: 100.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.318s coverage: 65.4% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.141s coverage: 43.8% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.036s coverage: 89.5% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.060s coverage: 84.8% of statements [2022-03-30T20:32:07.646Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-30T20:32:07.646Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.066s coverage: 63.2% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.098s coverage: 97.7% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.064s coverage: 28.9% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.083s coverage: 100.0% of statements [2022-03-30T20:32:07.646Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-03-30T20:32:07.646Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-30T20:32:07.665Z] $ docker stop --time=1 65de9c361ee3f7298c55c1c3b6acef6914270102c14dbaf99f92c6c39a13d585 [2022-03-30T20:32:09.514Z] $ docker rm -f 65de9c361ee3f7298c55c1c3b6acef6914270102c14dbaf99f92c6c39a13d585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-30T20:32:10.142Z] Failed in branch amd64 [2022-03-30T20:33:50.620Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9449 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-03-30T20:33:50.633Z] Running in /w/workspace/edgex-go/36 [Pipeline] { [Pipeline] checkout [2022-03-30T20:33:51.051Z] The recommended git tool is: git [2022-03-30T20:34:01.823Z] using credential edgex-jenkins-ssh [2022-03-30T20:34:01.850Z] Cloning the remote Git repository [2022-03-30T20:34:02.041Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-30T20:34:02.190Z] > git init /w/workspace/edgex-go/36 # timeout=10 [2022-03-30T20:34:02.339Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-30T20:34:02.341Z] > git --version # timeout=10 [2022-03-30T20:34:02.372Z] > git --version # 'git version 2.25.1' [2022-03-30T20:34:02.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-30T20:34:02.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-30T20:34:23.213Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-30T20:34:23.234Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-30T20:34:23.266Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-30T20:34:23.311Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-30T20:34:23.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-30T20:34:23.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-30T20:34:24.209Z] Merging remotes/origin/main commit 7587fe9d184367fcb080c5c3df364d4d130cdabb into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-03-30T20:34:25.085Z] Merge succeeded, producing ffcd62781942a2d902fe2a164bbce25bcd2deb71 [2022-03-30T20:34:25.086Z] Checking out Revision ffcd62781942a2d902fe2a164bbce25bcd2deb71 (PR-3842) [2022-03-30T20:34:24.236Z] > git config core.sparsecheckout # timeout=10 [2022-03-30T20:34:24.259Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-03-30T20:34:24.552Z] > git remote # timeout=10 [2022-03-30T20:34:24.580Z] > git config --get remote.origin.url # timeout=10 [2022-03-30T20:34:24.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-30T20:34:24.616Z] > git merge 7587fe9d184367fcb080c5c3df364d4d130cdabb # timeout=10 [2022-03-30T20:34:25.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-30T20:34:25.098Z] > git config core.sparsecheckout # timeout=10 [2022-03-30T20:34:25.116Z] > git checkout -f ffcd62781942a2d902fe2a164bbce25bcd2deb71 # timeout=10 [2022-03-30T20:34:29.672Z] Commit message: "Merge commit '7587fe9d184367fcb080c5c3df364d4d130cdabb' into HEAD" [2022-03-30T20:34:29.701Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-30T20:34:30.668Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-30T20:34:30.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-30T20:34:30.668Z] Dload Upload Total Spent Left Speed [2022-03-30T20:34:30.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-03-30T20:34:31.258Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-30T20:34:31.614Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-30T20:34:31.614Z] + sudo tee /etc/docker/daemon.new [2022-03-30T20:34:31.614Z] { [2022-03-30T20:34:31.614Z] "registry-mirrors": [ [2022-03-30T20:34:31.614Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-30T20:34:31.614Z] ], [2022-03-30T20:34:31.614Z] "bip": "10.250.0.254/24", [2022-03-30T20:34:31.614Z] "hosts": [ [2022-03-30T20:34:31.614Z] "tcp://0.0.0.0:5555", [2022-03-30T20:34:31.614Z] "unix:///var/run/docker.sock" [2022-03-30T20:34:31.614Z] ], [2022-03-30T20:34:31.614Z] "mtu": 1458, [2022-03-30T20:34:31.614Z] "selinux-enabled": true, [2022-03-30T20:34:31.614Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-30T20:34:31.614Z] } [Pipeline] sh [2022-03-30T20:34:29.687Z] > git rev-list --no-walk 72ffcfc0bf2a1903dff679e3cf6c20a8af775a24 # timeout=10 [2022-03-30T20:34:31.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-30T20:34:32.330Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-30T20:34:50.748Z] provisioning config files... [2022-03-30T20:34:50.781Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/36@tmp/config4013802986829019138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:34:51.170Z] ---> docker-login.sh [2022-03-30T20:34:51.170Z] nexus3.edgexfoundry.org:10001 [2022-03-30T20:34:51.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:34:52.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:34:52.399Z] Configure a credential helper to remove this warning. See [2022-03-30T20:34:52.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:34:52.399Z] [2022-03-30T20:34:52.399Z] Login Succeeded [2022-03-30T20:34:52.399Z] nexus3.edgexfoundry.org:10002 [2022-03-30T20:34:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:34:53.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:34:53.018Z] Configure a credential helper to remove this warning. See [2022-03-30T20:34:53.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:34:53.018Z] [2022-03-30T20:34:53.018Z] Login Succeeded [2022-03-30T20:34:53.018Z] nexus3.edgexfoundry.org:10003 [2022-03-30T20:34:53.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:34:53.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:34:53.632Z] Configure a credential helper to remove this warning. See [2022-03-30T20:34:53.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:34:53.632Z] [2022-03-30T20:34:53.632Z] Login Succeeded [2022-03-30T20:34:53.632Z] nexus3.edgexfoundry.org:10004 [2022-03-30T20:34:54.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:34:54.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:34:54.245Z] Configure a credential helper to remove this warning. See [2022-03-30T20:34:54.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:34:54.245Z] [2022-03-30T20:34:54.245Z] Login Succeeded [2022-03-30T20:34:54.245Z] docker.io [2022-03-30T20:34:54.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-30T20:34:55.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-30T20:34:55.139Z] Configure a credential helper to remove this warning. See [2022-03-30T20:34:55.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-30T20:34:55.139Z] [2022-03-30T20:34:55.139Z] Login Succeeded [2022-03-30T20:34:55.139Z] ---> docker-login.sh ends [Pipeline] } [2022-03-30T20:34:55.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-30T20:34:55.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-30T20:34:55.910Z] ========================================================= [2022-03-30T20:34:55.910Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-30T20:34:55.910Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:34:56.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-30T20:34:56.574Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-30T20:34:56.574Z] 9b3977197b4f: Pulling fs layer [2022-03-30T20:34:56.574Z] 1a89e8eeedd5: Pulling fs layer [2022-03-30T20:34:56.574Z] 94645a83ff95: Pulling fs layer [2022-03-30T20:34:56.574Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-30T20:34:56.574Z] 0c92f367c5e7: Pulling fs layer [2022-03-30T20:34:56.574Z] f7c0051592d6: Pulling fs layer [2022-03-30T20:34:56.574Z] a227ed2f7395: Pulling fs layer [2022-03-30T20:34:56.574Z] 7b1c46037f91: Pulling fs layer [2022-03-30T20:34:56.574Z] 0c92f367c5e7: Waiting [2022-03-30T20:34:56.574Z] f7c0051592d6: Waiting [2022-03-30T20:34:56.574Z] a227ed2f7395: Waiting [2022-03-30T20:34:56.574Z] 7b1c46037f91: Waiting [2022-03-30T20:34:56.574Z] 3f3a8bcf1eab: Waiting [2022-03-30T20:34:56.574Z] 1a89e8eeedd5: Verifying Checksum [2022-03-30T20:34:56.574Z] 1a89e8eeedd5: Download complete [2022-03-30T20:34:56.574Z] 0c92f367c5e7: Download complete [2022-03-30T20:34:56.574Z] f7c0051592d6: Verifying Checksum [2022-03-30T20:34:56.574Z] f7c0051592d6: Download complete [2022-03-30T20:34:56.574Z] 9b3977197b4f: Download complete [2022-03-30T20:34:56.856Z] a227ed2f7395: Download complete [2022-03-30T20:34:57.471Z] 9b3977197b4f: Pull complete [2022-03-30T20:34:58.480Z] 1a89e8eeedd5: Pull complete [2022-03-30T20:34:58.766Z] 94645a83ff95: Pull complete [2022-03-30T20:34:59.048Z] 7b1c46037f91: Verifying Checksum [2022-03-30T20:34:59.048Z] 7b1c46037f91: Download complete [2022-03-30T20:34:59.653Z] 3f3a8bcf1eab: Download complete [2022-03-30T20:35:14.851Z] 3f3a8bcf1eab: Pull complete [2022-03-30T20:35:14.851Z] 0c92f367c5e7: Pull complete [2022-03-30T20:35:14.851Z] f7c0051592d6: Pull complete [2022-03-30T20:35:14.851Z] a227ed2f7395: Pull complete [2022-03-30T20:35:21.612Z] 7b1c46037f91: Pull complete [2022-03-30T20:35:21.612Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-30T20:35:21.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-30T20:35:21.612Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:35:21.989Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-30T20:35:21.989Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-30T20:35:21.989Z] WORKDIR /edgex [2022-03-30T20:35:21.989Z] COPY go.mod . [2022-03-30T20:35:21.989Z] RUN go mod download [2022-03-30T20:35:25.422Z] Sending build context to Docker daemon 169MB [2022-03-30T20:35:25.422Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-30T20:35:25.422Z] ---> f79e39bc4007 [2022-03-30T20:35:25.422Z] Step 2/4 : WORKDIR /edgex [2022-03-30T20:35:26.878Z] ---> Running in ad181ad5d58a [2022-03-30T20:35:27.484Z] Removing intermediate container ad181ad5d58a [2022-03-30T20:35:27.484Z] ---> 714efbe7e9f0 [2022-03-30T20:35:27.484Z] Step 3/4 : COPY go.mod . [2022-03-30T20:35:28.094Z] ---> ff71f60d89a2 [2022-03-30T20:35:28.094Z] Step 4/4 : RUN go mod download [2022-03-30T20:35:28.094Z] ---> Running in 8a1a871bd38d [2022-03-30T20:36:24.714Z] Removing intermediate container 8a1a871bd38d [2022-03-30T20:36:24.714Z] ---> e57835f3b8ea [2022-03-30T20:36:24.714Z] Successfully built e57835f3b8ea [2022-03-30T20:36:24.714Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:36:25.072Z] + docker inspect -f . ci-base-image-arm64 [2022-03-30T20:36:25.072Z] . [Pipeline] withDockerContainer [2022-03-30T20:36:25.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2022-03-30T20:36:25.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-30T20:36:27.144Z] $ docker top 46cb87b6535ee4960254aeba487b43153899bac3c454f2e59ca0ff3121a87505 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-30T20:36:28.159Z] + go version [2022-03-30T20:36:28.160Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-30T20:36:28.194Z] $ docker stop --time=1 46cb87b6535ee4960254aeba487b43153899bac3c454f2e59ca0ff3121a87505 [2022-03-30T20:36:29.931Z] $ docker rm -f 46cb87b6535ee4960254aeba487b43153899bac3c454f2e59ca0ff3121a87505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:36:30.614Z] + docker inspect -f . ci-base-image-arm64 [2022-03-30T20:36:30.614Z] . [Pipeline] withDockerContainer [2022-03-30T20:36:30.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2022-03-30T20:36:31.016Z] $ 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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-30T20:36:32.604Z] $ docker top 46e29b40242c1a7a1b28d33a72d33bfa1d37cc76d27d7df457d3639c07b4d5a8 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-30T20:36:32.954Z] ========================================================= [2022-03-30T20:36:32.954Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-30T20:36:32.954Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-30T20:36:33.622Z] + make test [2022-03-30T20:36:33.622Z] go mod tidy -compat=1.17 [2022-03-30T20:36:34.620Z] go: finding module for package github.com/prometheus/client_golang/prometheus [2022-03-30T20:36:34.620Z] go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp [2022-03-30T20:36:34.620Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-30T20:36:34.895Z] go: downloading github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:36:35.172Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1542 [2022-03-30T20:37:02.009Z] go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:37:02.009Z] go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.1 [2022-03-30T20:37:02.009Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1542 [2022-03-30T20:37:02.009Z] go: downloading github.com/prometheus/client_model v0.2.0 [2022-03-30T20:37:02.009Z] go: downloading github.com/prometheus/common v0.32.1 [2022-03-30T20:37:02.009Z] go: downloading github.com/beorn7/perks v1.0.1 [2022-03-30T20:37:02.009Z] go: downloading github.com/cespare/xxhash/v2 v2.1.2 [2022-03-30T20:37:02.009Z] go: downloading github.com/prometheus/procfs v0.7.3 [2022-03-30T20:37:02.009Z] go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 [2022-03-30T20:37:02.009Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-30T20:37:02.009Z] go: downloading github.com/json-iterator/go v1.1.12 [2022-03-30T20:37:02.009Z] go: downloading github.com/modern-go/reflect2 v1.0.2 [2022-03-30T20:37:02.009Z] go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af [2022-03-30T20:37:02.009Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-30T20:37:02.009Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2022-03-30T20:37:02.009Z] go: downloading github.com/google/btree v1.0.0 [2022-03-30T20:37:02.009Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2022-03-30T20:37:02.009Z] go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [2022-03-30T20:37:02.009Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-30T20:37:49.119Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-30T20:39:41.152Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-30T20:40:08.065Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2022-03-30T20:40:35.052Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-30T20:40:35.052Z] /w/workspace/edgex-go/36/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-30T20:40:35.052Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-30T20:40:35.052Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.255s coverage: 28.7% of statements [2022-03-30T20:40:35.052Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.489s coverage: 98.5% of statements [2022-03-30T20:40:37.717Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.525s coverage: 54.9% of statements [2022-03-30T20:41:04.736Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.781s coverage: 89.2% of statements [2022-03-30T20:41:04.736Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.427s coverage: 84.4% of statements [2022-03-30T20:41:04.736Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.202s coverage: 94.5% of statements [2022-03-30T20:41:04.736Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.275s coverage: 72.2% of statements [2022-03-30T20:41:04.736Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.413s coverage: 60.0% of statements [2022-03-30T20:41:04.737Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.489s coverage: 0.9% of statements [2022-03-30T20:41:04.737Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.395s coverage: 58.8% of statements [2022-03-30T20:41:04.737Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.518s coverage: 24.0% of statements [2022-03-30T20:41:04.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.584s coverage: 47.1% of statements [2022-03-30T20:41:04.737Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.412s coverage: 79.5% of statements [2022-03-30T20:41:05.350Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.251s coverage: 94.1% of statements [2022-03-30T20:41:07.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.495s coverage: 96.3% of statements [2022-03-30T20:41:07.676Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.268s coverage: 87.5% of statements [2022-03-30T20:41:20.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.299s coverage: 94.4% of statements [2022-03-30T20:41:20.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.274s coverage: 44.8% of statements [2022-03-30T20:41:28.505Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.771s coverage: 82.5% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.334s coverage: 92.9% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 65.1% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.259s coverage: 87.2% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.221s coverage: 100.0% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.334s coverage: 58.8% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.322s coverage: 80.0% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.268s coverage: 87.2% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.419s coverage: 85.4% of statements [2022-03-30T20:41:33.959Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.015s coverage: 91.2% of statements [2022-03-30T20:41:37.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.973s coverage: 64.4% of statements [2022-03-30T20:41:37.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.305s coverage: 100.0% of statements [2022-03-30T20:41:37.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.268s coverage: 89.4% of statements [2022-03-30T20:41:37.420Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.064s coverage: 100.0% of statements [2022-03-30T20:41:38.025Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.085s coverage: 73.7% of statements [2022-03-30T20:41:38.304Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements [2022-03-30T20:41:46.646Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.614s coverage: 65.4% of statements [2022-03-30T20:41:48.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.927s coverage: 43.8% of statements [2022-03-30T20:41:48.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.326s coverage: 89.5% of statements [2022-03-30T20:41:48.648Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.289s coverage: 84.8% of statements [2022-03-30T20:41:48.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-30T20:41:48.648Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-30T20:41:48.648Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.381s coverage: 63.2% of statements [2022-03-30T20:41:52.975Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.526s coverage: 97.7% of statements [2022-03-30T20:41:52.975Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.305s coverage: 28.9% of statements [2022-03-30T20:41:52.975Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.246s coverage: 100.0% of statements [2022-03-30T20:41:52.975Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.108s coverage: 96.9% of statements [2022-03-30T20:41:53.572Z] make: *** [Makefile:113: unittest] Error 2 [Pipeline] } [2022-03-30T20:41:53.604Z] $ docker stop --time=1 46e29b40242c1a7a1b28d33a72d33bfa1d37cc76d27d7df457d3639c07b4d5a8 [2022-03-30T20:41:55.761Z] $ docker rm -f 46e29b40242c1a7a1b28d33a72d33bfa1d37cc76d27d7df457d3639c07b4d5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:42:01.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-30T20:42:01.669Z] [2022-03-30T20:42:01.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:42:02.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-30T20:42:02.297Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-30T20:42:02.297Z] 8998bd30e6a1: Pulling fs layer [2022-03-30T20:42:02.297Z] 04944245beec: Pulling fs layer [2022-03-30T20:42:02.297Z] 699f458cf7ca: Pulling fs layer [2022-03-30T20:42:02.297Z] 765212b225bb: Pulling fs layer [2022-03-30T20:42:02.297Z] f23df028b6ca: Pulling fs layer [2022-03-30T20:42:02.297Z] d65c8cfc05b1: Pulling fs layer [2022-03-30T20:42:02.297Z] 2437ff75d9bd: Pulling fs layer [2022-03-30T20:42:02.297Z] 765212b225bb: Waiting [2022-03-30T20:42:02.297Z] f23df028b6ca: Waiting [2022-03-30T20:42:02.297Z] d65c8cfc05b1: Waiting [2022-03-30T20:42:02.297Z] 2437ff75d9bd: Waiting [2022-03-30T20:42:02.297Z] 04944245beec: Download complete [2022-03-30T20:42:02.297Z] 765212b225bb: Verifying Checksum [2022-03-30T20:42:02.297Z] 765212b225bb: Download complete [2022-03-30T20:42:02.573Z] f23df028b6ca: Verifying Checksum [2022-03-30T20:42:02.573Z] f23df028b6ca: Download complete [2022-03-30T20:42:02.573Z] d65c8cfc05b1: Verifying Checksum [2022-03-30T20:42:02.573Z] d65c8cfc05b1: Download complete [2022-03-30T20:42:02.573Z] 699f458cf7ca: Verifying Checksum [2022-03-30T20:42:02.573Z] 699f458cf7ca: Download complete [2022-03-30T20:42:03.171Z] 8998bd30e6a1: Verifying Checksum [2022-03-30T20:42:03.171Z] 8998bd30e6a1: Download complete [2022-03-30T20:42:05.182Z] 2437ff75d9bd: Verifying Checksum [2022-03-30T20:42:05.182Z] 2437ff75d9bd: Download complete [2022-03-30T20:42:07.799Z] 8998bd30e6a1: Pull complete [2022-03-30T20:42:08.071Z] 04944245beec: Pull complete [2022-03-30T20:42:09.503Z] 699f458cf7ca: Pull complete [2022-03-30T20:42:09.777Z] 765212b225bb: Pull complete [2022-03-30T20:42:10.374Z] f23df028b6ca: Pull complete [2022-03-30T20:42:10.651Z] d65c8cfc05b1: Pull complete [2022-03-30T20:42:25.733Z] 2437ff75d9bd: Pull complete [2022-03-30T20:42:25.733Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-30T20:42:25.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-30T20:42:25.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-30T20:42:26.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2022-03-30T20:42:26.127Z] $ 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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-30T20:42:29.290Z] $ docker top 3c7a106ebbe83c34a52bb8dc6897410b73ec5ec1d7545be882f036d6140eb2a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:30.360Z] ---> job-cost.sh [2022-03-30T20:42:30.634Z] lf-activate-venv: SKIPPING [2022-03-30T20:42:30.634Z] INFO: No Stack... [2022-03-30T20:42:31.231Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-30T20:42:32.211Z] INFO: Archiving Costs [Pipeline] sh [2022-03-30T20:42:32.889Z] + cut -d, -f6 [2022-03-30T20:42:32.889Z] + cat /w/workspace/edgex-go/36/archives/cost.csv [Pipeline] lock [2022-03-30T20:42:32.965Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-36-stack-cost] [2022-03-30T20:42:32.974Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-36-stack-cost] did not exist. Created. [2022-03-30T20:42:32.974Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-30T20:42:33.645Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-30T20:42:34.539Z] Stashed 1 file(s) [Pipeline] } [2022-03-30T20:42:34.546Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-30T20:42:34.574Z] $ docker stop --time=1 3c7a106ebbe83c34a52bb8dc6897410b73ec5ec1d7545be882f036d6140eb2a1 [2022-03-30T20:42:36.162Z] $ docker rm -f 3c7a106ebbe83c34a52bb8dc6897410b73ec5ec1d7545be882f036d6140eb2a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-30T20:42:36.558Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-30T20:42:37.259Z] + [ -d /w/workspace/edgex-go/36/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:37.554Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:38.418Z] ---> package-listing.sh [2022-03-30T20:42:38.418Z] ++ facter osfamily [2022-03-30T20:42:38.418Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-30T20:42:38.679Z] + OS_FAMILY=debian [2022-03-30T20:42:38.679Z] + workspace=/w/workspace/edgex-go/36 [2022-03-30T20:42:38.679Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-30T20:42:38.679Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-30T20:42:38.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-30T20:42:38.679Z] + PACKAGES=/tmp/packages_start.txt [2022-03-30T20:42:38.679Z] + '[' /w/workspace/edgex-go/36 ']' [2022-03-30T20:42:38.679Z] + PACKAGES=/tmp/packages_end.txt [2022-03-30T20:42:38.679Z] + case "${OS_FAMILY}" in [2022-03-30T20:42:38.679Z] + grep '^ii' [2022-03-30T20:42:38.679Z] + dpkg -l [2022-03-30T20:42:38.679Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-30T20:42:38.679Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-30T20:42:38.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-30T20:42:38.679Z] + '[' /w/workspace/edgex-go/36 ']' [2022-03-30T20:42:38.679Z] + mkdir -p /w/workspace/edgex-go/36/archives/ [2022-03-30T20:42:38.679Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/36/archives/ [Pipeline] echo [2022-03-30T20:42:38.690Z] 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/36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-30T20:42:38.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:42:39.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-30T20:42:39.531Z] [2022-03-30T20:42:39.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-30T20:42:39.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-30T20:42:39.837Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-30T20:42:39.837Z] 5eb5b503b376: Pulling fs layer [2022-03-30T20:42:39.837Z] 5c69ac0246d0: Pulling fs layer [2022-03-30T20:42:39.837Z] ec43610c2a17: Pulling fs layer [2022-03-30T20:42:39.837Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-30T20:42:39.837Z] 33b1e0a273af: Pulling fs layer [2022-03-30T20:42:39.837Z] 5d3b04190fa2: Pulling fs layer [2022-03-30T20:42:39.837Z] 2f39f015ded8: Pulling fs layer [2022-03-30T20:42:39.837Z] 3a2ae6a8a46f: Waiting [2022-03-30T20:42:39.837Z] 33b1e0a273af: Waiting [2022-03-30T20:42:39.837Z] 5d3b04190fa2: Waiting [2022-03-30T20:42:39.837Z] 2f39f015ded8: Waiting [2022-03-30T20:42:39.837Z] 5c69ac0246d0: Download complete [2022-03-30T20:42:39.837Z] 3a2ae6a8a46f: Download complete [2022-03-30T20:42:39.837Z] 33b1e0a273af: Download complete [2022-03-30T20:42:39.837Z] 5d3b04190fa2: Verifying Checksum [2022-03-30T20:42:39.837Z] 5d3b04190fa2: Download complete [2022-03-30T20:42:39.837Z] ec43610c2a17: Verifying Checksum [2022-03-30T20:42:39.837Z] ec43610c2a17: Download complete [2022-03-30T20:42:40.097Z] 5eb5b503b376: Verifying Checksum [2022-03-30T20:42:40.097Z] 5eb5b503b376: Download complete [2022-03-30T20:42:41.492Z] 5eb5b503b376: Pull complete [2022-03-30T20:42:41.492Z] 5c69ac0246d0: Pull complete [2022-03-30T20:42:41.752Z] ec43610c2a17: Pull complete [2022-03-30T20:42:41.752Z] 3a2ae6a8a46f: Pull complete [2022-03-30T20:42:42.013Z] 33b1e0a273af: Pull complete [2022-03-30T20:42:42.013Z] 5d3b04190fa2: Pull complete [2022-03-30T20:42:46.202Z] 2f39f015ded8: Pull complete [2022-03-30T20:42:46.202Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-30T20:42:46.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-30T20:42:46.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-30T20:42:46.259Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2022-03-30T20:42:46.297Z] $ 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/36/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/36 -v /w/workspace/edgex-go/36:/w/workspace/edgex-go/36:rw,z -v /w/workspace/edgex-go/36@tmp:/w/workspace/edgex-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-30T20:42:47.834Z] $ docker top 864108d40e3eb33e3434e703bd9b39054ae0c953a13dc8d7d2b8a9a724c7424b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-30T20:42:48.192Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-30T20:42:48.483Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-30T20:42:48.772Z] + ls /var/log/sa-host [2022-03-30T20:42:48.772Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-30T20:42:48.999Z] provisioning config files... [2022-03-30T20:42:49.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/36@tmp/config9181213464242463191tmp [Pipeline] { [Pipeline] echo [2022-03-30T20:42:49.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:49.311Z] ---> create-netrc.sh [Pipeline] } [2022-03-30T20:42:49.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:49.657Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-30T20:42:49.668Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:49.967Z] ---> sudo-logs.sh [2022-03-30T20:42:49.967Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-30T20:42:50.004Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:50.292Z] ---> job-cost.sh [2022-03-30T20:42:50.292Z] lf-activate-venv: SKIPPING [2022-03-30T20:42:50.292Z] DEBUG: total: 0.10999999940395355 [2022-03-30T20:42:50.292Z] INFO: Retrieving Stack Cost... [2022-03-30T20:42:50.559Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-30T20:42:51.131Z] INFO: Archiving Costs [Pipeline] echo [2022-03-30T20:42:51.149Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-30T20:42:51.443Z] ---> logs-deploy.sh [2022-03-30T20:42:51.443Z] lf-activate-venv: SKIPPING [2022-03-30T20:42:51.443Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/36 [2022-03-30T20:42:51.443Z] INFO: archiving workspace using pattern(s): [2022-03-30T20:42:52.389Z] Archives upload complete. [2022-03-30T20:42:52.389Z] INFO: archiving logs to Nexus