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 1404bfaf31859b334881d5b2c40dd08403d8cbc6 rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 1404bfaf31859b334881d5b2c40dd08403d8cbc6 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-ssh10943203658836049148.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-ssh1875942738000689827.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-ssh12510323955206249658.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-ssh1417644879624297476.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-ssh3310045490981070844.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7876 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/30 [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/30 # 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 1404bfaf31859b334881d5b2c40dd08403d8cbc6 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 > 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 1404bfaf31859b334881d5b2c40dd08403d8cbc6 # timeout=10 Merge succeeded, producing ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 Checking out Revision ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 (PR-3842) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 # timeout=10 Commit message: "Merge commit '1404bfaf31859b334881d5b2c40dd08403d8cbc6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T20:29:32.226Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T20:29:32.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T20:29:32.276Z] ========================================================= [2022-03-17T20:29:32.276Z] EdgeX Global Pipelines Version Info [2022-03-17T20:29:32.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 92e313bb95149ba4a9404c1e5326467770ac4015 # timeout=10 [2022-03-17T20:29:33.062Z] ------------------- [2022-03-17T20:29:33.062Z] stable info: [2022-03-17T20:29:33.062Z] ------------------- [2022-03-17T20:29:33.062Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T20:29:33.062Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T20:29:33.062Z] Message: update stable to v1.0.221 [2022-03-17T20:29:33.638Z] ------------------- [2022-03-17T20:29:33.638Z] experimental info: [2022-03-17T20:29:33.638Z] ------------------- [2022-03-17T20:29:33.638Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T20:29:33.638Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T20:29:33.638Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T20:29:33.783Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-17T20:29:33.792Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-17T20:29:33.800Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T20:29:33.808Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T20:29:33.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T20:29:33.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T20:29:33.849Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T20:29:33.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-17T20:29:33.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-17T20:29:33.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-17T20:29:33.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T20:29:33.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T20:29:33.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T20:29:33.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T20:29:33.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T20:29:33.962Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T20:29:33.973Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T20:29:33.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T20:29:33.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T20:29:34.009Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T20:29:34.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-17T20:29:34.033Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T20:29:34.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-03-17T20:29:34.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-03-17T20:29:34.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-03-17T20:29:34.079Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 [Pipeline] echo [2022-03-17T20:29:34.090Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed72dac [Pipeline] echo [2022-03-17T20:29:34.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T20:29:34.143Z] provisioning config files... [2022-03-17T20:29:34.157Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/30@tmp/config8233152663008558202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:29:34.483Z] ---> docker-login.sh [2022-03-17T20:29:34.483Z] nexus3.edgexfoundry.org:10001 [2022-03-17T20:29:34.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:29:34.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:29:34.748Z] Configure a credential helper to remove this warning. See [2022-03-17T20:29:34.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:29:34.748Z] [2022-03-17T20:29:34.748Z] Login Succeeded [2022-03-17T20:29:34.748Z] nexus3.edgexfoundry.org:10002 [2022-03-17T20:29:35.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:29:35.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:29:35.010Z] Configure a credential helper to remove this warning. See [2022-03-17T20:29:35.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:29:35.010Z] [2022-03-17T20:29:35.010Z] Login Succeeded [2022-03-17T20:29:35.010Z] nexus3.edgexfoundry.org:10003 [2022-03-17T20:29:35.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:29:35.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:29:35.272Z] Configure a credential helper to remove this warning. See [2022-03-17T20:29:35.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:29:35.272Z] [2022-03-17T20:29:35.272Z] Login Succeeded [2022-03-17T20:29:35.272Z] nexus3.edgexfoundry.org:10004 [2022-03-17T20:29:35.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:29:35.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:29:35.272Z] Configure a credential helper to remove this warning. See [2022-03-17T20:29:35.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:29:35.272Z] [2022-03-17T20:29:35.272Z] Login Succeeded [2022-03-17T20:29:35.272Z] docker.io [2022-03-17T20:29:35.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:29:35.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:29:35.795Z] Configure a credential helper to remove this warning. See [2022-03-17T20:29:35.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:29:35.795Z] [2022-03-17T20:29:35.795Z] Login Succeeded [2022-03-17T20:29:35.795Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T20:29:35.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T20:29:36.117Z] + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/core-command/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-17T20:29:36.118Z] + + dirname cmd/core-data/Dockerfile [2022-03-17T20:29:36.118Z] cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/core-metadata/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/support-notifications/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/support-scheduler/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-17T20:29:36.118Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-17T20:29:36.118Z] + cut -d/ -f2 [2022-03-17T20:29:36.118Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-17T20:29:36.154Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T20:29:36.502Z] + git rev-list -1 --merges ed72dac5bb85a1606a9f0ece9c917e42f3fd5144~1..ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 [Pipeline] echo [2022-03-17T20:29:36.513Z] -----------> git rev-list -1 --merges ed72dac5bb85a1606a9f0ece9c917e42f3fd5144~1..ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 [2022-03-17T20:29:36.513Z] ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 [false] [Pipeline] sh [2022-03-17T20:29:36.806Z] + git log --format=format:%s -1 ed72dac5bb85a1606a9f0ece9c917e42f3fd5144 [Pipeline] echo [2022-03-17T20:29:36.823Z] ========================================================= [2022-03-17T20:29:36.823Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T20:29:36.823Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-17T20:29:37.345Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T20:29:37.345Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T20:29:37.345Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T20:29:37.345Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T20:29:37.345Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T20:29:37.345Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T20:29:37.345Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:29:37.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T20:29:37.778Z] [2022-03-17T20:29:37.778Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:29:38.079Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T20:29:38.079Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T20:29:38.079Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T20:29:38.079Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T20:29:38.079Z] 4c7163046ea9: Pulling fs layer [2022-03-17T20:29:38.079Z] 0c2d73faf560: Pulling fs layer [2022-03-17T20:29:38.079Z] 0c2d73faf560: Waiting [2022-03-17T20:29:38.079Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T20:29:38.080Z] 3e5f54012d9b: Download complete [2022-03-17T20:29:38.080Z] a0d0a0d46f8b: Verifying Checksum [2022-03-17T20:29:38.080Z] a0d0a0d46f8b: Download complete [2022-03-17T20:29:38.341Z] 4c7163046ea9: Verifying Checksum [2022-03-17T20:29:38.341Z] 4c7163046ea9: Download complete [2022-03-17T20:29:38.341Z] 0c2d73faf560: Verifying Checksum [2022-03-17T20:29:38.341Z] 0c2d73faf560: Download complete [2022-03-17T20:29:38.341Z] a0d0a0d46f8b: Pull complete [2022-03-17T20:29:38.603Z] 3e5f54012d9b: Pull complete [2022-03-17T20:29:38.865Z] 4c7163046ea9: Pull complete [2022-03-17T20:29:38.865Z] 0c2d73faf560: Pull complete [2022-03-17T20:29:38.865Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T20:29:38.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T20:29:38.865Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T20:29:39.061Z] prd-ubuntu20.04-docker-8c-8g-7876 does not seem to be running inside a container [2022-03-17T20:29:39.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:29:39.867Z] $ docker top fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T20:29:39.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T20:29:39.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T20:29:40.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T20:29:40.122Z] $ docker exec fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 ssh-agent [2022-03-17T20:29:40.242Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkBFjGi/agent.13 [2022-03-17T20:29:40.242Z] SSH_AGENT_PID=20 [2022-03-17T20:29:40.249Z] Running ssh-add (command line suppressed) [2022-03-17T20:29:40.365Z] Identity added: /w/workspace/edgex-go/30@tmp/private_key_9135179797124213854.key (/w/workspace/edgex-go/30@tmp/private_key_9135179797124213854.key) [2022-03-17T20:29:40.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T20:29:40.673Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T20:29:40.709Z] $ docker exec --env ******** --env ******** fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 ssh-agent -k [2022-03-17T20:29:40.830Z] unset SSH_AUTH_SOCK; [2022-03-17T20:29:40.831Z] unset SSH_AGENT_PID; [2022-03-17T20:29:40.831Z] echo Agent pid 20 killed; [2022-03-17T20:29:40.839Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T20:29:40.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T20:29:40.864Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T20:29:41.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T20:29:41.016Z] $ docker exec fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 ssh-agent [2022-03-17T20:29:41.167Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmbEeJn/agent.53 [2022-03-17T20:29:41.167Z] SSH_AGENT_PID=59 [2022-03-17T20:29:41.174Z] Running ssh-add (command line suppressed) [2022-03-17T20:29:41.295Z] Identity added: /w/workspace/edgex-go/30@tmp/private_key_1480715282611826872.key (/w/workspace/edgex-go/30@tmp/private_key_1480715282611826872.key) [2022-03-17T20:29:41.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T20:29:41.600Z] + git semver init [2022-03-17T20:29:41.600Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T20:29:41.600Z] # $GIT_DIR = /w/workspace/edgex-go/30/.git [2022-03-17T20:29:41.600Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/30 [2022-03-17T20:29:41.600Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T20:29:41.600Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T20:29:41.600Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T20:29:41.600Z] # $SEMVER_BRANCH = PR-3842 [2022-03-17T20:29:41.600Z] # $SEMVER_TEMP = /tmp/semver-637225096 [2022-03-17T20:29:41.600Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-17T20:29:56.528Z] # '/tmp/semver-637225096' -> '/w/workspace/edgex-go/30/.semver' [2022-03-17T20:29:56.528Z] # -> Force: false [2022-03-17T20:29:56.528Z] # $SEMVER_DIR = /w/workspace/edgex-go/30/.semver [Pipeline] } [2022-03-17T20:29:56.547Z] $ docker exec --env ******** --env ******** fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 ssh-agent -k [2022-03-17T20:29:56.685Z] unset SSH_AUTH_SOCK; [2022-03-17T20:29:56.685Z] unset SSH_AGENT_PID; [2022-03-17T20:29:56.685Z] echo Agent pid 59 killed; [2022-03-17T20:29:56.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T20:29:57.008Z] + git semver [Pipeline] } [2022-03-17T20:29:57.031Z] $ docker stop --time=1 fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 [2022-03-17T20:29:58.854Z] $ docker rm -f fe43c302313c82e21620847ba22619744bd31673656897cacb009e54b1f73210 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T20:29:59.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T20:29:59.489Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T20:29:59.493Z] [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-17T20:29:59.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T20:29:59.632Z] ========================================================= [2022-03-17T20:29:59.632Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T20:29:59.632Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:29:59.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T20:29:59.927Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T20:29:59.927Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T20:29:59.927Z] 666ba61612fd: Pulling fs layer [2022-03-17T20:29:59.927Z] 8ed8ca486205: Pulling fs layer [2022-03-17T20:29:59.927Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T20:29:59.927Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T20:29:59.927Z] 640e595b4fbd: Pulling fs layer [2022-03-17T20:29:59.927Z] 763cafe07f6e: Pulling fs layer [2022-03-17T20:29:59.927Z] 0c0b528cf693: Pulling fs layer [2022-03-17T20:29:59.927Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T20:29:59.927Z] 640e595b4fbd: Waiting [2022-03-17T20:29:59.927Z] 763cafe07f6e: Waiting [2022-03-17T20:29:59.927Z] 4fe6c5a15a65: Waiting [2022-03-17T20:29:59.927Z] 0c0b528cf693: Waiting [2022-03-17T20:29:59.927Z] 22a0e8bec74d: Waiting [2022-03-17T20:29:59.927Z] 10935f4eaf8b: Waiting [2022-03-17T20:29:59.927Z] 8ed8ca486205: Verifying Checksum [2022-03-17T20:29:59.927Z] 8ed8ca486205: Download complete [2022-03-17T20:29:59.927Z] 666ba61612fd: Download complete [2022-03-17T20:29:59.927Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T20:29:59.927Z] 22a0e8bec74d: Download complete [2022-03-17T20:29:59.927Z] 640e595b4fbd: Verifying Checksum [2022-03-17T20:29:59.927Z] 640e595b4fbd: Download complete [2022-03-17T20:29:59.927Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T20:29:59.927Z] 59bf1c3509f3: Download complete [2022-03-17T20:29:59.927Z] 763cafe07f6e: Verifying Checksum [2022-03-17T20:29:59.927Z] 763cafe07f6e: Download complete [2022-03-17T20:30:00.188Z] 0c0b528cf693: Verifying Checksum [2022-03-17T20:30:00.188Z] 0c0b528cf693: Download complete [2022-03-17T20:30:00.188Z] 59bf1c3509f3: Pull complete [2022-03-17T20:30:00.188Z] 666ba61612fd: Pull complete [2022-03-17T20:30:00.452Z] 8ed8ca486205: Pull complete [2022-03-17T20:30:00.713Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T20:30:00.713Z] 10935f4eaf8b: Download complete [2022-03-17T20:30:00.713Z] 4fe6c5a15a65: Download complete [2022-03-17T20:30:04.912Z] 4fe6c5a15a65: Pull complete [2022-03-17T20:30:04.912Z] 22a0e8bec74d: Pull complete [2022-03-17T20:30:04.912Z] 640e595b4fbd: Pull complete [2022-03-17T20:30:04.912Z] 763cafe07f6e: Pull complete [2022-03-17T20:30:05.175Z] 0c0b528cf693: Pull complete [2022-03-17T20:30:07.722Z] 10935f4eaf8b: Pull complete [2022-03-17T20:30:07.722Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T20:30:07.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T20:30:07.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:30:08.024Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T20:30:08.024Z] WORKDIR /edgex [2022-03-17T20:30:08.024Z] COPY go.mod . [2022-03-17T20:30:08.024Z] RUN go mod download [2022-03-17T20:30:08.024Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-17T20:30:09.405Z] Sending build context to Docker daemon 334.3MB [2022-03-17T20:30:09.405Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T20:30:09.405Z] ---> 99d49a6021b9 [2022-03-17T20:30:09.405Z] Step 2/4 : WORKDIR /edgex [2022-03-17T20:30:11.976Z] ---> Running in 3abe50b05de1 [2022-03-17T20:30:11.976Z] Removing intermediate container 3abe50b05de1 [2022-03-17T20:30:11.976Z] ---> 095e06d85e78 [2022-03-17T20:30:11.976Z] Step 3/4 : COPY go.mod . [2022-03-17T20:30:11.976Z] ---> a2809d94d578 [2022-03-17T20:30:11.976Z] Step 4/4 : RUN go mod download [2022-03-17T20:30:11.976Z] ---> Running in d6772f95498e [2022-03-17T20:30:14.569Z] Still waiting to schedule task [2022-03-17T20:30:14.569Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T20:30:44.097Z] Removing intermediate container d6772f95498e [2022-03-17T20:30:44.097Z] ---> 886785525b0e [2022-03-17T20:30:44.097Z] Successfully built 886785525b0e [2022-03-17T20:30:44.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:30:44.398Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T20:30:44.398Z] . [Pipeline] withDockerContainer [2022-03-17T20:30:44.463Z] prd-ubuntu20.04-docker-8c-8g-7876 does not seem to be running inside a container [2022-03-17T20:30:44.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:30:44.961Z] $ docker top e53c0f358f74b9e48d0acbc1be40934e1163420d1a891e09e6fc7ad1972132b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T20:30:45.328Z] + go version [2022-03-17T20:30:45.328Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T20:30:45.348Z] $ docker stop --time=1 e53c0f358f74b9e48d0acbc1be40934e1163420d1a891e09e6fc7ad1972132b6 [2022-03-17T20:30:46.613Z] $ docker rm -f e53c0f358f74b9e48d0acbc1be40934e1163420d1a891e09e6fc7ad1972132b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:30:46.988Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T20:30:46.988Z] . [Pipeline] withDockerContainer [2022-03-17T20:30:47.057Z] prd-ubuntu20.04-docker-8c-8g-7876 does not seem to be running inside a container [2022-03-17T20:30:47.096Z] $ 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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:30:47.494Z] $ docker top 02c713ce067e3e7dca58092a1fa4e93448fc06cf924618a4936f77f3d65cd560 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T20:30:47.572Z] ========================================================= [2022-03-17T20:30:47.572Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-17T20:30:47.572Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:30:47.867Z] + make test [2022-03-17T20:30:47.867Z] go mod tidy [2022-03-17T20:30:48.131Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-17T20:30:48.703Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1524 [2022-03-17T20:30:54.005Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1524 [2022-03-17T20:30:54.005Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-17T20:30:54.005Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-17T20:31:00.585Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-17T20:31:10.574Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-17T20:31:13.114Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-17T20:31:13.114Z] 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-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-17T20:31:13.114Z] 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-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-17T20:31:13.114Z] /w/workspace/edgex-go/30/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-17T20:31:13.114Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-17T20:31:13.114Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.076s coverage: 28.7% of statements [2022-03-17T20:31:13.114Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.084s coverage: 98.5% of statements [2022-03-17T20:31:13.114Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.079s coverage: 54.9% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.456s coverage: 89.2% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.097s coverage: 84.4% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.367s coverage: 94.2% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.067s coverage: 72.2% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.078s coverage: 60.0% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.075s coverage: 0.9% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.068s coverage: 24.0% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.050s coverage: 47.1% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.096s coverage: 79.5% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.064s coverage: 94.1% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.072s coverage: 96.3% of statements [2022-03-17T20:31:16.408Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.074s coverage: 87.5% of statements [2022-03-17T20:31:26.497Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.064s coverage: 94.4% of statements [2022-03-17T20:31:26.497Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.047s coverage: 44.8% of statements [2022-03-17T20:31:27.878Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.209s coverage: 82.5% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.105s coverage: 92.9% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.076s coverage: 87.2% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.045s coverage: 100.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.079s coverage: 58.8% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.081s coverage: 80.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.058s coverage: 87.2% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.079s coverage: 85.4% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.176s coverage: 91.2% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.174s coverage: 64.4% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.059s coverage: 100.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.041s coverage: 73.7% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.395s coverage: 65.4% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.156s coverage: 43.8% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.081s coverage: 89.5% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements [2022-03-17T20:31:37.889Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-17T20:31:37.889Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.059s coverage: 63.2% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.086s coverage: 97.7% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.058s coverage: 28.9% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.056s coverage: 100.0% of statements [2022-03-17T20:31:37.889Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.034s coverage: 96.9% of statements [2022-03-17T20:31:37.889Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-17T20:31:37.910Z] $ docker stop --time=1 02c713ce067e3e7dca58092a1fa4e93448fc06cf924618a4936f77f3d65cd560 [2022-03-17T20:31:39.940Z] $ docker rm -f 02c713ce067e3e7dca58092a1fa4e93448fc06cf924618a4936f77f3d65cd560 [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-17T20:31:40.515Z] Failed in branch amd64 [2022-03-17T20:31:51.612Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7878 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-03-17T20:31:51.626Z] Running in /w/workspace/edgex-go/30 [Pipeline] { [Pipeline] checkout [2022-03-17T20:31:51.932Z] The recommended git tool is: git [2022-03-17T20:31:59.274Z] using credential edgex-jenkins-ssh [2022-03-17T20:31:59.293Z] Cloning the remote Git repository [2022-03-17T20:31:59.363Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-17T20:31:59.462Z] > git init /w/workspace/edgex-go/30 # timeout=10 [2022-03-17T20:31:59.580Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-17T20:31:59.581Z] > git --version # timeout=10 [2022-03-17T20:31:59.677Z] > git --version # 'git version 2.25.1' [2022-03-17T20:31:59.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T20:31:59.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T20:32:17.668Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-17T20:32:17.689Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T20:32:17.715Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-17T20:32:17.755Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-17T20:32:17.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T20:32:17.768Z] > 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-17T20:32:18.590Z] Merging remotes/origin/main commit 1404bfaf31859b334881d5b2c40dd08403d8cbc6 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-03-17T20:32:19.280Z] Merge succeeded, producing 269e661abb55f18543ec142712bc8a106a917666 [2022-03-17T20:32:19.281Z] Checking out Revision 269e661abb55f18543ec142712bc8a106a917666 (PR-3842) [2022-03-17T20:32:18.613Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T20:32:18.647Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-03-17T20:32:18.878Z] > git remote # timeout=10 [2022-03-17T20:32:18.909Z] > git config --get remote.origin.url # timeout=10 [2022-03-17T20:32:18.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T20:32:18.940Z] > git merge 1404bfaf31859b334881d5b2c40dd08403d8cbc6 # timeout=10 [2022-03-17T20:32:19.269Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-17T20:32:19.294Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T20:32:19.310Z] > git checkout -f 269e661abb55f18543ec142712bc8a106a917666 # timeout=10 [2022-03-17T20:32:23.452Z] Commit message: "Merge commit '1404bfaf31859b334881d5b2c40dd08403d8cbc6' into HEAD" [2022-03-17T20:32:23.475Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T20:32:24.302Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T20:32:24.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T20:32:24.302Z] Dload Upload Total Spent Left Speed [2022-03-17T20:32:24.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh [2022-03-17T20:32:24.956Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T20:32:25.301Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T20:32:25.301Z] + sudo tee /etc/docker/daemon.new [2022-03-17T20:32:25.301Z] { [2022-03-17T20:32:25.301Z] "registry-mirrors": [ [2022-03-17T20:32:25.301Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T20:32:25.301Z] ], [2022-03-17T20:32:25.301Z] "bip": "10.250.0.254/24", [2022-03-17T20:32:25.301Z] "hosts": [ [2022-03-17T20:32:25.301Z] "tcp://0.0.0.0:5555", [2022-03-17T20:32:25.301Z] "unix:///var/run/docker.sock" [2022-03-17T20:32:25.301Z] ], [2022-03-17T20:32:25.301Z] "mtu": 1458, [2022-03-17T20:32:25.301Z] "selinux-enabled": true, [2022-03-17T20:32:25.301Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T20:32:25.301Z] } [Pipeline] sh [2022-03-17T20:32:23.466Z] > git rev-list --no-walk 92e313bb95149ba4a9404c1e5326467770ac4015 # timeout=10 [2022-03-17T20:32:25.644Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T20:32:25.987Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T20:32:44.315Z] provisioning config files... [2022-03-17T20:32:44.341Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/30@tmp/config2138859239966707872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:32:44.701Z] ---> docker-login.sh [2022-03-17T20:32:44.701Z] nexus3.edgexfoundry.org:10001 [2022-03-17T20:32:45.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:32:45.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:32:45.574Z] Configure a credential helper to remove this warning. See [2022-03-17T20:32:45.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:32:45.574Z] [2022-03-17T20:32:45.574Z] Login Succeeded [2022-03-17T20:32:45.574Z] nexus3.edgexfoundry.org:10002 [2022-03-17T20:32:45.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:32:45.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:32:45.848Z] Configure a credential helper to remove this warning. See [2022-03-17T20:32:45.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:32:45.848Z] [2022-03-17T20:32:45.848Z] Login Succeeded [2022-03-17T20:32:45.848Z] nexus3.edgexfoundry.org:10003 [2022-03-17T20:32:46.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:32:46.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:32:46.445Z] Configure a credential helper to remove this warning. See [2022-03-17T20:32:46.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:32:46.445Z] [2022-03-17T20:32:46.445Z] Login Succeeded [2022-03-17T20:32:46.445Z] nexus3.edgexfoundry.org:10004 [2022-03-17T20:32:46.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:32:46.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:32:46.723Z] Configure a credential helper to remove this warning. See [2022-03-17T20:32:46.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:32:46.723Z] [2022-03-17T20:32:46.723Z] Login Succeeded [2022-03-17T20:32:46.723Z] docker.io [2022-03-17T20:32:47.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T20:32:47.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T20:32:47.589Z] Configure a credential helper to remove this warning. See [2022-03-17T20:32:47.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T20:32:47.589Z] [2022-03-17T20:32:47.589Z] Login Succeeded [2022-03-17T20:32:47.589Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T20:32:47.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T20:32:48.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T20:32:48.104Z] ========================================================= [2022-03-17T20:32:48.104Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T20:32:48.104Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:32:48.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T20:32:48.705Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T20:32:48.705Z] 9b3977197b4f: Pulling fs layer [2022-03-17T20:32:48.705Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T20:32:48.705Z] 94645a83ff95: Pulling fs layer [2022-03-17T20:32:48.705Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T20:32:48.705Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T20:32:48.705Z] f7c0051592d6: Pulling fs layer [2022-03-17T20:32:48.705Z] a227ed2f7395: Pulling fs layer [2022-03-17T20:32:48.705Z] 7b1c46037f91: Pulling fs layer [2022-03-17T20:32:48.705Z] 3f3a8bcf1eab: Waiting [2022-03-17T20:32:48.705Z] a227ed2f7395: Waiting [2022-03-17T20:32:48.705Z] 7b1c46037f91: Waiting [2022-03-17T20:32:48.705Z] 0c92f367c5e7: Waiting [2022-03-17T20:32:48.705Z] f7c0051592d6: Waiting [2022-03-17T20:32:48.705Z] 94645a83ff95: Verifying Checksum [2022-03-17T20:32:48.705Z] 94645a83ff95: Download complete [2022-03-17T20:32:48.705Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T20:32:48.705Z] 1a89e8eeedd5: Download complete [2022-03-17T20:32:48.705Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T20:32:48.705Z] 0c92f367c5e7: Download complete [2022-03-17T20:32:48.705Z] f7c0051592d6: Verifying Checksum [2022-03-17T20:32:48.705Z] f7c0051592d6: Download complete [2022-03-17T20:32:48.705Z] 9b3977197b4f: Download complete [2022-03-17T20:32:48.705Z] a227ed2f7395: Verifying Checksum [2022-03-17T20:32:48.705Z] a227ed2f7395: Download complete [2022-03-17T20:32:49.311Z] 9b3977197b4f: Pull complete [2022-03-17T20:32:49.927Z] 1a89e8eeedd5: Pull complete [2022-03-17T20:32:50.202Z] 94645a83ff95: Pull complete [2022-03-17T20:32:50.817Z] 7b1c46037f91: Verifying Checksum [2022-03-17T20:32:51.091Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T20:32:51.091Z] 3f3a8bcf1eab: Download complete [2022-03-17T20:33:03.531Z] 3f3a8bcf1eab: Pull complete [2022-03-17T20:33:03.531Z] 0c92f367c5e7: Pull complete [2022-03-17T20:33:03.805Z] f7c0051592d6: Pull complete [2022-03-17T20:33:04.086Z] a227ed2f7395: Pull complete [2022-03-17T20:33:12.380Z] 7b1c46037f91: Pull complete [2022-03-17T20:33:12.380Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T20:33:12.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T20:33:12.380Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:33:12.732Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T20:33:12.732Z] WORKDIR /edgex [2022-03-17T20:33:12.732Z] COPY go.mod . [2022-03-17T20:33:12.732Z] RUN go mod download [2022-03-17T20:33:12.732Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-17T20:33:15.379Z] Sending build context to Docker daemon 168.8MB [2022-03-17T20:33:15.379Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T20:33:15.379Z] ---> f79e39bc4007 [2022-03-17T20:33:15.379Z] Step 2/4 : WORKDIR /edgex [2022-03-17T20:33:18.007Z] ---> Running in dc5d2dfccb73 [2022-03-17T20:33:18.280Z] Removing intermediate container dc5d2dfccb73 [2022-03-17T20:33:18.280Z] ---> add0a2eaeeef [2022-03-17T20:33:18.280Z] Step 3/4 : COPY go.mod . [2022-03-17T20:33:18.881Z] ---> f3ea59da5ed0 [2022-03-17T20:33:18.881Z] Step 4/4 : RUN go mod download [2022-03-17T20:33:18.881Z] ---> Running in 9d647f1489b6 [2022-03-17T20:34:40.730Z] Removing intermediate container 9d647f1489b6 [2022-03-17T20:34:40.730Z] ---> ce5100790947 [2022-03-17T20:34:40.730Z] Successfully built ce5100790947 [2022-03-17T20:34:40.730Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:34:41.082Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T20:34:41.082Z] . [Pipeline] withDockerContainer [2022-03-17T20:34:41.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-7878 does not seem to be running inside a container [2022-03-17T20:34:41.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:34:42.857Z] $ docker top 32459ed488226ad932cf3f47c8e6ab7b9ef05aef5f5f1bf09fa7baf9ee220d3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T20:34:43.793Z] + go version [2022-03-17T20:34:43.793Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T20:34:43.820Z] $ docker stop --time=1 32459ed488226ad932cf3f47c8e6ab7b9ef05aef5f5f1bf09fa7baf9ee220d3b [2022-03-17T20:34:45.493Z] $ docker rm -f 32459ed488226ad932cf3f47c8e6ab7b9ef05aef5f5f1bf09fa7baf9ee220d3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:34:46.127Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T20:34:46.127Z] . [Pipeline] withDockerContainer [2022-03-17T20:34:46.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-7878 does not seem to be running inside a container [2022-03-17T20:34:46.465Z] $ 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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:34:47.831Z] $ docker top e38453e76b10234414fb6d7885633af3aa7969332c9eba78b5d9e19997c3ed4a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T20:34:48.120Z] ========================================================= [2022-03-17T20:34:48.120Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-17T20:34:48.120Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-17T20:34:48.773Z] + make test [2022-03-17T20:34:48.773Z] go mod tidy [2022-03-17T20:34:49.763Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-17T20:34:50.036Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1524 [2022-03-17T20:35:12.212Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1524 [2022-03-17T20:35:12.212Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-17T20:35:12.485Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-17T20:35:44.885Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-17T20:36:52.967Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-17T20:37:15.194Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-17T20:37:42.060Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-17T20:37:42.060Z] 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-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-17T20:37:42.060Z] 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-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-17T20:37:42.060Z] /w/workspace/edgex-go/30/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-17T20:37:42.060Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-17T20:37:42.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.219s coverage: 28.7% of statements [2022-03-17T20:37:42.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.446s coverage: 98.5% of statements [2022-03-17T20:37:42.060Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.522s coverage: 54.9% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.750s coverage: 89.2% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.471s coverage: 84.4% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.201s coverage: 94.2% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.420s coverage: 72.2% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.216s coverage: 60.0% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.630s coverage: 0.9% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.219s coverage: 58.8% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.316s coverage: 24.0% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.517s coverage: 47.1% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.243s coverage: 79.5% of statements [2022-03-17T20:38:00.473Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.198s coverage: 94.1% of statements [2022-03-17T20:38:01.077Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.246s coverage: 96.3% of statements [2022-03-17T20:38:02.072Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.208s coverage: 87.5% of statements [2022-03-17T20:38:14.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.218s coverage: 94.4% of statements [2022-03-17T20:38:14.494Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.204s coverage: 44.8% of statements [2022-03-17T20:38:19.902Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.658s coverage: 82.5% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.299s coverage: 92.9% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.064s coverage: 65.1% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.189s coverage: 100.0% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.288s coverage: 58.8% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.322s coverage: 80.0% of statements [2022-03-17T20:38:28.245Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.289s coverage: 87.2% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.302s coverage: 85.4% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.955s coverage: 91.2% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.821s coverage: 64.4% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.200s coverage: 100.0% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.134s coverage: 89.4% of statements [2022-03-17T20:38:28.246Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.093s coverage: 100.0% of statements [2022-03-17T20:38:29.686Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.174s coverage: 73.7% of statements [2022-03-17T20:38:29.686Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.064s coverage: 100.0% of statements [2022-03-17T20:38:35.116Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.442s coverage: 65.4% of statements [2022-03-17T20:38:36.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.757s coverage: 43.8% of statements [2022-03-17T20:38:36.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.230s coverage: 89.5% of statements [2022-03-17T20:38:36.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.288s coverage: 84.8% of statements [2022-03-17T20:38:36.569Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-17T20:38:36.569Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-17T20:38:37.560Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.249s coverage: 63.2% of statements [2022-03-17T20:38:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.480s coverage: 97.7% of statements [2022-03-17T20:38:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.341s coverage: 28.9% of statements [2022-03-17T20:38:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.218s coverage: 100.0% of statements [2022-03-17T20:38:40.200Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.097s coverage: 96.9% of statements [2022-03-17T20:38:40.797Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-17T20:38:40.826Z] $ docker stop --time=1 e38453e76b10234414fb6d7885633af3aa7969332c9eba78b5d9e19997c3ed4a [2022-03-17T20:38:42.894Z] $ docker rm -f e38453e76b10234414fb6d7885633af3aa7969332c9eba78b5d9e19997c3ed4a [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-17T20:38:47.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T20:38:47.696Z] [2022-03-17T20:38:47.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:38:48.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T20:38:48.337Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T20:38:48.337Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T20:38:48.337Z] 04944245beec: Pulling fs layer [2022-03-17T20:38:48.337Z] 699f458cf7ca: Pulling fs layer [2022-03-17T20:38:48.337Z] 765212b225bb: Pulling fs layer [2022-03-17T20:38:48.337Z] f23df028b6ca: Pulling fs layer [2022-03-17T20:38:48.337Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T20:38:48.337Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T20:38:48.337Z] 765212b225bb: Waiting [2022-03-17T20:38:48.337Z] f23df028b6ca: Waiting [2022-03-17T20:38:48.337Z] d65c8cfc05b1: Waiting [2022-03-17T20:38:48.337Z] 2437ff75d9bd: Waiting [2022-03-17T20:38:48.337Z] 04944245beec: Verifying Checksum [2022-03-17T20:38:48.337Z] 04944245beec: Download complete [2022-03-17T20:38:48.337Z] 765212b225bb: Verifying Checksum [2022-03-17T20:38:48.337Z] 765212b225bb: Download complete [2022-03-17T20:38:48.622Z] f23df028b6ca: Verifying Checksum [2022-03-17T20:38:48.622Z] f23df028b6ca: Download complete [2022-03-17T20:38:48.622Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T20:38:48.622Z] d65c8cfc05b1: Download complete [2022-03-17T20:38:48.622Z] 699f458cf7ca: Verifying Checksum [2022-03-17T20:38:48.622Z] 699f458cf7ca: Download complete [2022-03-17T20:38:49.227Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T20:38:49.227Z] 8998bd30e6a1: Download complete [2022-03-17T20:38:51.217Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T20:38:51.217Z] 2437ff75d9bd: Download complete [2022-03-17T20:38:53.855Z] 8998bd30e6a1: Pull complete [2022-03-17T20:38:54.133Z] 04944245beec: Pull complete [2022-03-17T20:38:55.575Z] 699f458cf7ca: Pull complete [2022-03-17T20:38:56.183Z] 765212b225bb: Pull complete [2022-03-17T20:38:56.785Z] f23df028b6ca: Pull complete [2022-03-17T20:38:57.060Z] d65c8cfc05b1: Pull complete [2022-03-17T20:39:15.398Z] 2437ff75d9bd: Pull complete [2022-03-17T20:39:15.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T20:39:15.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T20:39:15.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T20:39:15.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-7878 does not seem to be running inside a container [2022-03-17T20:39:15.719Z] $ 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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:39:18.295Z] $ docker top 5a4b0db6624c6b97960625d8aaaa8c7bcbe7d77cb9ae08363cb60a8eeff200a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:19.324Z] ---> job-cost.sh [2022-03-17T20:39:19.324Z] lf-activate-venv: SKIPPING [2022-03-17T20:39:19.324Z] INFO: No Stack... [2022-03-17T20:39:19.919Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T20:39:20.517Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T20:39:21.193Z] + cat /w/workspace/edgex-go/30/archives/cost.csv [2022-03-17T20:39:21.193Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T20:39:21.263Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-30-stack-cost] [2022-03-17T20:39:21.269Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-30-stack-cost] did not exist. Created. [2022-03-17T20:39:21.269Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T20:39:21.951Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T20:39:22.596Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T20:39:22.603Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T20:39:22.627Z] $ docker stop --time=1 5a4b0db6624c6b97960625d8aaaa8c7bcbe7d77cb9ae08363cb60a8eeff200a1 [2022-03-17T20:39:24.151Z] $ docker rm -f 5a4b0db6624c6b97960625d8aaaa8c7bcbe7d77cb9ae08363cb60a8eeff200a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T20:39:24.479Z] 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-17T20:39:25.121Z] + [ -d /w/workspace/edgex-go/30/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:25.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:26.275Z] ---> package-listing.sh [2022-03-17T20:39:26.275Z] ++ facter osfamily [2022-03-17T20:39:26.275Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T20:39:26.536Z] + OS_FAMILY=debian [2022-03-17T20:39:26.536Z] + workspace=/w/workspace/edgex-go/30 [2022-03-17T20:39:26.536Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T20:39:26.536Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T20:39:26.536Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T20:39:26.536Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T20:39:26.536Z] + '[' /w/workspace/edgex-go/30 ']' [2022-03-17T20:39:26.536Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T20:39:26.536Z] + case "${OS_FAMILY}" in [2022-03-17T20:39:26.536Z] + dpkg -l [2022-03-17T20:39:26.536Z] + grep '^ii' [2022-03-17T20:39:26.536Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T20:39:26.536Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T20:39:26.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T20:39:26.536Z] + '[' /w/workspace/edgex-go/30 ']' [2022-03-17T20:39:26.536Z] + mkdir -p /w/workspace/edgex-go/30/archives/ [2022-03-17T20:39:26.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/30/archives/ [Pipeline] echo [2022-03-17T20:39:26.548Z] 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/30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T20:39:26.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:39:27.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T20:39:27.395Z] [2022-03-17T20:39:27.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T20:39:27.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T20:39:27.697Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T20:39:27.697Z] 5eb5b503b376: Pulling fs layer [2022-03-17T20:39:27.697Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T20:39:27.697Z] ec43610c2a17: Pulling fs layer [2022-03-17T20:39:27.697Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T20:39:27.697Z] 33b1e0a273af: Pulling fs layer [2022-03-17T20:39:27.697Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T20:39:27.697Z] 2f39f015ded8: Pulling fs layer [2022-03-17T20:39:27.697Z] 3a2ae6a8a46f: Waiting [2022-03-17T20:39:27.697Z] 33b1e0a273af: Waiting [2022-03-17T20:39:27.697Z] 5d3b04190fa2: Waiting [2022-03-17T20:39:27.697Z] 2f39f015ded8: Waiting [2022-03-17T20:39:27.697Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T20:39:27.697Z] 5c69ac0246d0: Download complete [2022-03-17T20:39:27.697Z] 3a2ae6a8a46f: Download complete [2022-03-17T20:39:27.697Z] 33b1e0a273af: Verifying Checksum [2022-03-17T20:39:27.697Z] 33b1e0a273af: Download complete [2022-03-17T20:39:27.697Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T20:39:27.697Z] 5d3b04190fa2: Download complete [2022-03-17T20:39:27.957Z] ec43610c2a17: Verifying Checksum [2022-03-17T20:39:27.957Z] 5eb5b503b376: Verifying Checksum [2022-03-17T20:39:27.957Z] 5eb5b503b376: Download complete [2022-03-17T20:39:28.527Z] 2f39f015ded8: Verifying Checksum [2022-03-17T20:39:28.527Z] 2f39f015ded8: Download complete [2022-03-17T20:39:29.097Z] 5eb5b503b376: Pull complete [2022-03-17T20:39:29.357Z] 5c69ac0246d0: Pull complete [2022-03-17T20:39:29.926Z] ec43610c2a17: Pull complete [2022-03-17T20:39:29.926Z] 3a2ae6a8a46f: Pull complete [2022-03-17T20:39:30.187Z] 33b1e0a273af: Pull complete [2022-03-17T20:39:30.187Z] 5d3b04190fa2: Pull complete [2022-03-17T20:39:35.460Z] 2f39f015ded8: Pull complete [2022-03-17T20:39:35.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T20:39:35.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T20:39:35.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T20:39:35.523Z] prd-ubuntu20.04-docker-8c-8g-7876 does not seem to be running inside a container [2022-03-17T20:39:35.566Z] $ 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/30/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/30 -v /w/workspace/edgex-go/30:/w/workspace/edgex-go/30:rw,z -v /w/workspace/edgex-go/30@tmp:/w/workspace/edgex-go/30@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-17T20:39:37.057Z] $ docker top 70452f0be3ae6a8ff3916732434a107128945d3b2f16797c8e64498333d1ec34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T20:39:37.410Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T20:39:37.701Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T20:39:37.988Z] + ls /var/log/sa-host [2022-03-17T20:39:37.988Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T20:39:38.274Z] provisioning config files... [2022-03-17T20:39:38.282Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/30@tmp/config4580332886723950261tmp [Pipeline] { [Pipeline] echo [2022-03-17T20:39:38.296Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:38.579Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T20:39:38.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:38.931Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T20:39:38.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:39.230Z] ---> sudo-logs.sh [2022-03-17T20:39:39.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T20:39:39.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:39.572Z] ---> job-cost.sh [2022-03-17T20:39:39.572Z] lf-activate-venv: SKIPPING [2022-03-17T20:39:39.572Z] DEBUG: total: 0.10999999940395355 [2022-03-17T20:39:39.572Z] INFO: Retrieving Stack Cost... [2022-03-17T20:39:39.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T20:39:40.402Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T20:39:40.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T20:39:40.699Z] ---> logs-deploy.sh [2022-03-17T20:39:40.699Z] lf-activate-venv: SKIPPING [2022-03-17T20:39:40.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/30 [2022-03-17T20:39:40.699Z] INFO: archiving workspace using pattern(s): [2022-03-17T20:39:41.678Z] Archives upload complete. [2022-03-17T20:39:41.678Z] INFO: archiving logs to Nexus