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 d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f 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-ssh15874338374201959416.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-ssh2333973417432113500.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-ssh16287381577307960929.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-ssh9888700337107739900.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-ssh6235350507405802020.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-8453 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/32 [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/32 # 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 d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 2029f5afe0772bd557f495545bfec499fa7e43a6 Checking out Revision 2029f5afe0772bd557f495545bfec499fa7e43a6 (PR-3842) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2029f5afe0772bd557f495545bfec499fa7e43a6 # timeout=10 Commit message: "Merge commit 'd0a5aad2e23987412fb7ff135d0a0cbe77cfa24f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-21T20:30:42.944Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-21T20:30:43.009Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-21T20:30:43.029Z] ========================================================= [2022-03-21T20:30:43.029Z] EdgeX Global Pipelines Version Info [2022-03-21T20:30:43.029Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3128b923d7d849860d82a3c049bdd8e67651ddc5 # timeout=10 [2022-03-21T20:30:43.772Z] ------------------- [2022-03-21T20:30:43.773Z] stable info: [2022-03-21T20:30:43.773Z] ------------------- [2022-03-21T20:30:43.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-21T20:30:43.773Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T20:30:43.773Z] Message: update stable to v1.0.221 [2022-03-21T20:30:44.345Z] ------------------- [2022-03-21T20:30:44.345Z] experimental info: [2022-03-21T20:30:44.345Z] ------------------- [2022-03-21T20:30:44.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-21T20:30:44.345Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T20:30:44.345Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-21T20:30:44.500Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-21T20:30:44.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-21T20:30:44.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-21T20:30:44.540Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-21T20:30:44.555Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-21T20:30:44.565Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-21T20:30:44.576Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-21T20:30:44.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-21T20:30:44.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-21T20:30:44.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-21T20:30:44.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-21T20:30:44.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-21T20:30:44.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-21T20:30:44.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-21T20:30:44.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-21T20:30:44.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T20:30:44.701Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T20:30:44.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-21T20:30:44.729Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-21T20:30:44.742Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-21T20:30:44.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-21T20:30:44.761Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-21T20:30:44.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo [2022-03-21T20:30:44.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo [2022-03-21T20:30:44.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo [2022-03-21T20:30:44.804Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2029f5afe0772bd557f495545bfec499fa7e43a6 [Pipeline] echo [2022-03-21T20:30:44.816Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2029f5a [Pipeline] echo [2022-03-21T20:30:44.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:30:44.867Z] provisioning config files... [2022-03-21T20:30:44.882Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/32@tmp/config5703852468885759146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:30:45.189Z] ---> docker-login.sh [2022-03-21T20:30:45.189Z] nexus3.edgexfoundry.org:10001 [2022-03-21T20:30:45.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:30:45.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:30:45.450Z] Configure a credential helper to remove this warning. See [2022-03-21T20:30:45.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:30:45.450Z] [2022-03-21T20:30:45.450Z] Login Succeeded [2022-03-21T20:30:45.450Z] nexus3.edgexfoundry.org:10002 [2022-03-21T20:30:45.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:30:45.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:30:45.712Z] Configure a credential helper to remove this warning. See [2022-03-21T20:30:45.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:30:45.712Z] [2022-03-21T20:30:45.712Z] Login Succeeded [2022-03-21T20:30:45.712Z] nexus3.edgexfoundry.org:10003 [2022-03-21T20:30:45.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:30:45.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:30:45.712Z] Configure a credential helper to remove this warning. See [2022-03-21T20:30:45.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:30:45.712Z] [2022-03-21T20:30:45.712Z] Login Succeeded [2022-03-21T20:30:45.712Z] nexus3.edgexfoundry.org:10004 [2022-03-21T20:30:45.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:30:45.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:30:45.974Z] Configure a credential helper to remove this warning. See [2022-03-21T20:30:45.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:30:45.974Z] [2022-03-21T20:30:45.974Z] Login Succeeded [2022-03-21T20:30:45.974Z] docker.io [2022-03-21T20:30:45.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:30:46.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:30:46.549Z] Configure a credential helper to remove this warning. See [2022-03-21T20:30:46.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:30:46.549Z] [2022-03-21T20:30:46.549Z] Login Succeeded [2022-03-21T20:30:46.549Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T20:30:46.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T20:30:46.869Z] + 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-21T20:30:46.869Z] + dirname cmd/core-command/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/core-data/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/core-metadata/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/security-bootstrapper/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/security-proxy-setup/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/security-secretstore-setup/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/support-notifications/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/support-scheduler/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-21T20:30:46.869Z] + dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-21T20:30:46.869Z] + cut -d/ -f2 [2022-03-21T20:30:46.869Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-21T20:30:46.903Z] 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-21T20:30:47.251Z] + git rev-list -1 --merges 2029f5afe0772bd557f495545bfec499fa7e43a6~1..2029f5afe0772bd557f495545bfec499fa7e43a6 [Pipeline] echo [2022-03-21T20:30:47.265Z] -----------> git rev-list -1 --merges 2029f5afe0772bd557f495545bfec499fa7e43a6~1..2029f5afe0772bd557f495545bfec499fa7e43a6 2029f5afe0772bd557f495545bfec499fa7e43a6 [2022-03-21T20:30:47.265Z] 2029f5afe0772bd557f495545bfec499fa7e43a6 [false] [Pipeline] sh [2022-03-21T20:30:47.553Z] + git log --format=format:%s -1 2029f5afe0772bd557f495545bfec499fa7e43a6 [Pipeline] echo [2022-03-21T20:30:47.569Z] ========================================================= [2022-03-21T20:30:47.569Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-21T20:30:47.569Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-21T20:30:47.972Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T20:30:47.972Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-21T20:30:47.972Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-21T20:30:47.972Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-21T20:30:47.972Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-21T20:30:47.972Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-21T20:30:47.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:30:48.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:30:48.345Z] [2022-03-21T20:30:48.345Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:30:48.657Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:30:48.657Z] latest: Pulling from edgex-devops/git-semver [2022-03-21T20:30:48.657Z] a0d0a0d46f8b: Pulling fs layer [2022-03-21T20:30:48.657Z] 3e5f54012d9b: Pulling fs layer [2022-03-21T20:30:48.657Z] 4c7163046ea9: Pulling fs layer [2022-03-21T20:30:48.657Z] 0c2d73faf560: Pulling fs layer [2022-03-21T20:30:48.657Z] 0c2d73faf560: Waiting [2022-03-21T20:30:48.657Z] 3e5f54012d9b: Verifying Checksum [2022-03-21T20:30:48.657Z] 3e5f54012d9b: Download complete [2022-03-21T20:30:48.657Z] a0d0a0d46f8b: Download complete [2022-03-21T20:30:48.657Z] 4c7163046ea9: Verifying Checksum [2022-03-21T20:30:48.657Z] 4c7163046ea9: Download complete [2022-03-21T20:30:48.657Z] 0c2d73faf560: Download complete [2022-03-21T20:30:48.926Z] a0d0a0d46f8b: Pull complete [2022-03-21T20:30:48.926Z] 3e5f54012d9b: Pull complete [2022-03-21T20:30:49.190Z] 4c7163046ea9: Pull complete [2022-03-21T20:30:49.451Z] 0c2d73faf560: Pull complete [2022-03-21T20:30:49.451Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-21T20:30:49.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:30:49.451Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-21T20:30:49.594Z] prd-ubuntu20.04-docker-8c-8g-8453 does not seem to be running inside a container [2022-03-21T20:30:49.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-21T20:30:50.358Z] $ docker top 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T20:30:50.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T20:30:50.464Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T20:30:50.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T20:30:50.604Z] $ docker exec 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 ssh-agent [2022-03-21T20:30:50.727Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeepCKm/agent.14 [2022-03-21T20:30:50.727Z] SSH_AGENT_PID=20 [2022-03-21T20:30:50.736Z] Running ssh-add (command line suppressed) [2022-03-21T20:30:50.875Z] Identity added: /w/workspace/edgex-go/32@tmp/private_key_7282647111780212394.key (/w/workspace/edgex-go/32@tmp/private_key_7282647111780212394.key) [2022-03-21T20:30:50.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T20:30:51.180Z] + git tag --points-at HEAD [Pipeline] } [2022-03-21T20:30:51.202Z] $ docker exec --env ******** --env ******** 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 ssh-agent -k [2022-03-21T20:30:51.313Z] unset SSH_AUTH_SOCK; [2022-03-21T20:30:51.314Z] unset SSH_AGENT_PID; [2022-03-21T20:30:51.314Z] echo Agent pid 20 killed; [2022-03-21T20:30:51.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-21T20:30:51.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T20:30:51.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T20:30:51.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T20:30:51.493Z] $ docker exec 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 ssh-agent [2022-03-21T20:30:51.641Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiMCCcD/agent.55 [2022-03-21T20:30:51.641Z] SSH_AGENT_PID=62 [2022-03-21T20:30:51.646Z] Running ssh-add (command line suppressed) [2022-03-21T20:30:51.767Z] Identity added: /w/workspace/edgex-go/32@tmp/private_key_5564813873196582280.key (/w/workspace/edgex-go/32@tmp/private_key_5564813873196582280.key) [2022-03-21T20:30:51.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T20:30:52.076Z] + git semver init [2022-03-21T20:30:52.076Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T20:30:52.076Z] # $GIT_DIR = /w/workspace/edgex-go/32/.git [2022-03-21T20:30:52.076Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/32 [2022-03-21T20:30:52.076Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T20:30:52.076Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T20:30:52.076Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T20:30:52.076Z] # $SEMVER_BRANCH = PR-3842 [2022-03-21T20:30:52.076Z] # $SEMVER_TEMP = /tmp/semver-249397302 [2022-03-21T20:30:52.076Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-21T20:31:06.988Z] # '/tmp/semver-249397302' -> '/w/workspace/edgex-go/32/.semver' [2022-03-21T20:31:06.988Z] # -> Force: false [2022-03-21T20:31:06.988Z] # $SEMVER_DIR = /w/workspace/edgex-go/32/.semver [Pipeline] } [2022-03-21T20:31:07.001Z] $ docker exec --env ******** --env ******** 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 ssh-agent -k [2022-03-21T20:31:07.115Z] unset SSH_AUTH_SOCK; [2022-03-21T20:31:07.115Z] unset SSH_AGENT_PID; [2022-03-21T20:31:07.115Z] echo Agent pid 62 killed; [2022-03-21T20:31:07.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T20:31:07.440Z] + git semver [Pipeline] } [2022-03-21T20:31:07.456Z] $ docker stop --time=1 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 [2022-03-21T20:31:09.449Z] $ docker rm -f 94403db20f6d100b3f1bfed9d0f73210ad74e5e45092c88e553a88ff738363a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T20:31:09.825Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-21T20:31:10.096Z] Stashed 1 file(s) [Pipeline] echo [2022-03-21T20:31:10.100Z] [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-21T20:31:10.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T20:31:10.250Z] ========================================================= [2022-03-21T20:31:10.250Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-21T20:31:10.250Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:31:10.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T20:31:10.752Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-21T20:31:10.752Z] 59bf1c3509f3: Pulling fs layer [2022-03-21T20:31:10.752Z] 666ba61612fd: Pulling fs layer [2022-03-21T20:31:10.752Z] 8ed8ca486205: Pulling fs layer [2022-03-21T20:31:10.752Z] 4fe6c5a15a65: Pulling fs layer [2022-03-21T20:31:10.752Z] 22a0e8bec74d: Pulling fs layer [2022-03-21T20:31:10.752Z] 640e595b4fbd: Pulling fs layer [2022-03-21T20:31:10.752Z] 763cafe07f6e: Pulling fs layer [2022-03-21T20:31:10.752Z] 0c0b528cf693: Pulling fs layer [2022-03-21T20:31:10.752Z] 10935f4eaf8b: Pulling fs layer [2022-03-21T20:31:10.752Z] 640e595b4fbd: Waiting [2022-03-21T20:31:10.752Z] 0c0b528cf693: Waiting [2022-03-21T20:31:10.752Z] 10935f4eaf8b: Waiting [2022-03-21T20:31:10.752Z] 763cafe07f6e: Waiting [2022-03-21T20:31:10.752Z] 4fe6c5a15a65: Waiting [2022-03-21T20:31:10.752Z] 22a0e8bec74d: Waiting [2022-03-21T20:31:10.752Z] 8ed8ca486205: Verifying Checksum [2022-03-21T20:31:10.752Z] 8ed8ca486205: Download complete [2022-03-21T20:31:10.752Z] 666ba61612fd: Verifying Checksum [2022-03-21T20:31:10.752Z] 666ba61612fd: Download complete [2022-03-21T20:31:10.752Z] 22a0e8bec74d: Download complete [2022-03-21T20:31:10.752Z] 640e595b4fbd: Verifying Checksum [2022-03-21T20:31:10.752Z] 640e595b4fbd: Download complete [2022-03-21T20:31:10.752Z] 59bf1c3509f3: Verifying Checksum [2022-03-21T20:31:10.752Z] 59bf1c3509f3: Download complete [2022-03-21T20:31:10.752Z] 763cafe07f6e: Verifying Checksum [2022-03-21T20:31:10.752Z] 763cafe07f6e: Download complete [2022-03-21T20:31:10.752Z] 0c0b528cf693: Verifying Checksum [2022-03-21T20:31:10.752Z] 0c0b528cf693: Download complete [2022-03-21T20:31:11.014Z] 59bf1c3509f3: Pull complete [2022-03-21T20:31:11.015Z] 666ba61612fd: Pull complete [2022-03-21T20:31:11.275Z] 8ed8ca486205: Pull complete [2022-03-21T20:31:11.535Z] 10935f4eaf8b: Verifying Checksum [2022-03-21T20:31:11.535Z] 10935f4eaf8b: Download complete [2022-03-21T20:31:11.535Z] 4fe6c5a15a65: Verifying Checksum [2022-03-21T20:31:11.535Z] 4fe6c5a15a65: Download complete [2022-03-21T20:31:15.736Z] 4fe6c5a15a65: Pull complete [2022-03-21T20:31:15.736Z] 22a0e8bec74d: Pull complete [2022-03-21T20:31:15.736Z] 640e595b4fbd: Pull complete [2022-03-21T20:31:15.736Z] 763cafe07f6e: Pull complete [2022-03-21T20:31:15.736Z] 0c0b528cf693: Pull complete [2022-03-21T20:31:17.647Z] 10935f4eaf8b: Pull complete [2022-03-21T20:31:17.647Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-21T20:31:17.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T20:31:17.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:31:17.945Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T20:31:17.945Z] WORKDIR /edgex [2022-03-21T20:31:17.945Z] COPY go.mod . [2022-03-21T20:31:17.945Z] RUN go mod download [2022-03-21T20:31:17.945Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-21T20:31:19.324Z] Sending build context to Docker daemon 334.3MB [2022-03-21T20:31:19.324Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T20:31:19.324Z] ---> 99d49a6021b9 [2022-03-21T20:31:19.324Z] Step 2/4 : WORKDIR /edgex [2022-03-21T20:31:21.869Z] ---> Running in bb642d1c6be4 [2022-03-21T20:31:21.869Z] Removing intermediate container bb642d1c6be4 [2022-03-21T20:31:21.869Z] ---> 18fb5ff109ce [2022-03-21T20:31:21.869Z] Step 3/4 : COPY go.mod . [2022-03-21T20:31:21.869Z] ---> b38cb13a8aee [2022-03-21T20:31:21.869Z] Step 4/4 : RUN go mod download [2022-03-21T20:31:21.869Z] ---> Running in 3389d66469f2 [2022-03-21T20:31:25.187Z] Still waiting to schedule task [2022-03-21T20:31:25.187Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8454’ is offline [2022-03-21T20:31:43.824Z] Removing intermediate container 3389d66469f2 [2022-03-21T20:31:43.824Z] ---> e31f95d47fca [2022-03-21T20:31:43.824Z] Successfully built e31f95d47fca [2022-03-21T20:31:43.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:31:44.120Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T20:31:44.120Z] . [Pipeline] withDockerContainer [2022-03-21T20:31:44.191Z] prd-ubuntu20.04-docker-8c-8g-8453 does not seem to be running inside a container [2022-03-21T20:31:44.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T20:31:44.692Z] $ docker top 3599a147670d08208a382bf92a9b450366546a0cca53c84efb8ee8e27162a6d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:31:45.035Z] + go version [2022-03-21T20:31:45.035Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-21T20:31:45.048Z] $ docker stop --time=1 3599a147670d08208a382bf92a9b450366546a0cca53c84efb8ee8e27162a6d9 [2022-03-21T20:31:46.338Z] $ docker rm -f 3599a147670d08208a382bf92a9b450366546a0cca53c84efb8ee8e27162a6d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:31:46.753Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T20:31:46.753Z] . [Pipeline] withDockerContainer [2022-03-21T20:31:46.814Z] prd-ubuntu20.04-docker-8c-8g-8453 does not seem to be running inside a container [2022-03-21T20:31:46.851Z] $ 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/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T20:31:47.211Z] $ docker top e737203da1ca053930d8d4215742b13bdb4183bcb3cbe0ce9551251f763d84c3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-21T20:31:47.281Z] ========================================================= [2022-03-21T20:31:47.281Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-21T20:31:47.281Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:31:47.571Z] + make test [2022-03-21T20:31:47.571Z] go mod tidy [2022-03-21T20:31:47.571Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-21T20:31:48.510Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1529 [2022-03-21T20:31:53.794Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1529 [2022-03-21T20:31:53.794Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-21T20:31:53.794Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-21T20:31:59.073Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-21T20:32:07.191Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-21T20:32:07.762Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-21T20:32:07.762Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-21T20:32:07.762Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-21T20:32:07.762Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-21T20:32:08.020Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-21T20:32:08.020Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-21T20:32:08.020Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-21T20:32:09.983Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-21T20:32:09.983Z] 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-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-21T20:32:09.983Z] 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-21T20:32:09.983Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-21T20:32:09.984Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-21T20:32:09.984Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-21T20:32:09.984Z] /w/workspace/edgex-go/32/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-21T20:32:09.984Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-21T20:32:09.984Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.102s coverage: 28.7% of statements [2022-03-21T20:32:10.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.060s coverage: 98.5% of statements [2022-03-21T20:32:10.294Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.075s coverage: 54.9% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.960s coverage: 89.2% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.084s coverage: 84.4% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.393s coverage: 94.2% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.066s coverage: 72.2% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.050s coverage: 0.9% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.060s coverage: 58.8% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.052s coverage: 24.0% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.043s coverage: 47.1% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.091s coverage: 79.5% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.059s coverage: 94.1% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.064s coverage: 96.3% of statements [2022-03-21T20:32:13.600Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.073s coverage: 87.5% of statements [2022-03-21T20:32:23.592Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.079s coverage: 94.4% of statements [2022-03-21T20:32:23.592Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.071s coverage: 44.8% of statements [2022-03-21T20:32:24.979Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.190s coverage: 82.5% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.101s coverage: 92.9% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.070s coverage: 87.2% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.066s coverage: 58.8% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.054s coverage: 87.2% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.061s coverage: 85.4% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.127s coverage: 91.2% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.176s coverage: 64.4% of statements [2022-03-21T20:32:34.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.050s coverage: 89.4% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.040s coverage: 73.7% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.021s coverage: 100.0% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.354s coverage: 65.4% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.149s coverage: 43.8% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.052s coverage: 89.5% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements [2022-03-21T20:32:35.000Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-21T20:32:35.000Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.075s coverage: 63.2% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.108s coverage: 97.7% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.061s coverage: 28.9% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.055s coverage: 100.0% of statements [2022-03-21T20:32:35.000Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.035s coverage: 96.9% of statements [2022-03-21T20:32:35.000Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-21T20:32:35.016Z] $ docker stop --time=1 e737203da1ca053930d8d4215742b13bdb4183bcb3cbe0ce9551251f763d84c3 [2022-03-21T20:32:36.917Z] $ docker rm -f e737203da1ca053930d8d4215742b13bdb4183bcb3cbe0ce9551251f763d84c3 [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-21T20:32:37.476Z] Failed in branch amd64 [2022-03-21T20:34:18.424Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8458 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws [2022-03-21T20:34:18.436Z] Running in /w/workspace/edgex-go/32 [Pipeline] { [Pipeline] checkout [2022-03-21T20:34:19.361Z] The recommended git tool is: git [2022-03-21T20:34:27.174Z] using credential edgex-jenkins-ssh [2022-03-21T20:34:27.204Z] Cloning the remote Git repository [2022-03-21T20:34:27.278Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-21T20:34:27.376Z] > git init /w/workspace/edgex-go/32 # timeout=10 [2022-03-21T20:34:27.498Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-21T20:34:27.499Z] > git --version # timeout=10 [2022-03-21T20:34:27.570Z] > git --version # 'git version 2.25.1' [2022-03-21T20:34:27.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:34:27.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T20:34:45.780Z] Merging remotes/origin/main commit d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 [2022-03-21T20:34:46.397Z] Merge succeeded, producing d4e95590d8a357028efdea48c6550cf5f6cdefcb [2022-03-21T20:34:46.397Z] Checking out Revision d4e95590d8a357028efdea48c6550cf5f6cdefcb (PR-3842) [2022-03-21T20:34:44.775Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-21T20:34:44.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T20:34:44.843Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-21T20:34:44.885Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-21T20:34:44.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:34:44.904Z] > 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-21T20:34:45.808Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T20:34:45.838Z] > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 [2022-03-21T20:34:46.119Z] > git remote # timeout=10 [2022-03-21T20:34:46.138Z] > git config --get remote.origin.url # timeout=10 [2022-03-21T20:34:46.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:34:46.177Z] > git merge d0a5aad2e23987412fb7ff135d0a0cbe77cfa24f # timeout=10 [2022-03-21T20:34:46.382Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-21T20:34:46.409Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T20:34:46.425Z] > git checkout -f d4e95590d8a357028efdea48c6550cf5f6cdefcb # timeout=10 [2022-03-21T20:34:51.040Z] Commit message: "Merge commit 'd0a5aad2e23987412fb7ff135d0a0cbe77cfa24f' into HEAD" [2022-03-21T20:34:51.070Z] First time build. Skipping changelog. [2022-03-21T20:34:51.055Z] > git rev-list --no-walk 3128b923d7d849860d82a3c049bdd8e67651ddc5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T20:34:51.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-21T20:34:51.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T20:34:51.955Z] Dload Upload Total Spent Left Speed [2022-03-21T20:34:51.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2022-03-21T20:34:52.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-21T20:34:52.880Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-21T20:34:52.880Z] + sudo tee /etc/docker/daemon.new [2022-03-21T20:34:52.880Z] { [2022-03-21T20:34:52.880Z] "registry-mirrors": [ [2022-03-21T20:34:52.880Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-21T20:34:52.880Z] ], [2022-03-21T20:34:52.880Z] "bip": "10.250.0.254/24", [2022-03-21T20:34:52.880Z] "hosts": [ [2022-03-21T20:34:52.880Z] "tcp://0.0.0.0:5555", [2022-03-21T20:34:52.880Z] "unix:///var/run/docker.sock" [2022-03-21T20:34:52.880Z] ], [2022-03-21T20:34:52.880Z] "mtu": 1458, [2022-03-21T20:34:52.880Z] "selinux-enabled": true, [2022-03-21T20:34:52.880Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-21T20:34:52.880Z] } [Pipeline] sh [2022-03-21T20:34:53.266Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-21T20:34:53.894Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:35:12.334Z] provisioning config files... [2022-03-21T20:35:12.360Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/32@tmp/config6946194189092936086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:35:12.742Z] ---> docker-login.sh [2022-03-21T20:35:12.742Z] nexus3.edgexfoundry.org:10001 [2022-03-21T20:35:13.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:35:13.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:35:13.619Z] Configure a credential helper to remove this warning. See [2022-03-21T20:35:13.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:35:13.619Z] [2022-03-21T20:35:13.619Z] Login Succeeded [2022-03-21T20:35:13.619Z] nexus3.edgexfoundry.org:10002 [2022-03-21T20:35:14.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:35:14.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:35:14.227Z] Configure a credential helper to remove this warning. See [2022-03-21T20:35:14.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:35:14.227Z] [2022-03-21T20:35:14.227Z] Login Succeeded [2022-03-21T20:35:14.227Z] nexus3.edgexfoundry.org:10003 [2022-03-21T20:35:14.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:35:14.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:35:14.784Z] Configure a credential helper to remove this warning. See [2022-03-21T20:35:14.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:35:14.784Z] [2022-03-21T20:35:14.784Z] Login Succeeded [2022-03-21T20:35:14.784Z] nexus3.edgexfoundry.org:10004 [2022-03-21T20:35:15.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:35:15.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:35:15.337Z] Configure a credential helper to remove this warning. See [2022-03-21T20:35:15.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:35:15.337Z] [2022-03-21T20:35:15.337Z] Login Succeeded [2022-03-21T20:35:15.337Z] docker.io [2022-03-21T20:35:15.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:35:16.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:35:16.214Z] Configure a credential helper to remove this warning. See [2022-03-21T20:35:16.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:35:16.214Z] [2022-03-21T20:35:16.214Z] Login Succeeded [2022-03-21T20:35:16.214Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T20:35:16.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T20:35:16.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T20:35:16.896Z] ========================================================= [2022-03-21T20:35:16.896Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-21T20:35:16.896Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:35:17.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T20:35:17.522Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-21T20:35:17.522Z] 9b3977197b4f: Pulling fs layer [2022-03-21T20:35:17.522Z] 1a89e8eeedd5: Pulling fs layer [2022-03-21T20:35:17.522Z] 94645a83ff95: Pulling fs layer [2022-03-21T20:35:17.522Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-21T20:35:17.522Z] 0c92f367c5e7: Pulling fs layer [2022-03-21T20:35:17.522Z] f7c0051592d6: Pulling fs layer [2022-03-21T20:35:17.522Z] a227ed2f7395: Pulling fs layer [2022-03-21T20:35:17.522Z] 7b1c46037f91: Pulling fs layer [2022-03-21T20:35:17.522Z] 0c92f367c5e7: Waiting [2022-03-21T20:35:17.522Z] f7c0051592d6: Waiting [2022-03-21T20:35:17.522Z] 3f3a8bcf1eab: Waiting [2022-03-21T20:35:17.522Z] a227ed2f7395: Waiting [2022-03-21T20:35:17.522Z] 7b1c46037f91: Waiting [2022-03-21T20:35:17.522Z] 94645a83ff95: Verifying Checksum [2022-03-21T20:35:17.522Z] 94645a83ff95: Download complete [2022-03-21T20:35:17.522Z] 1a89e8eeedd5: Verifying Checksum [2022-03-21T20:35:17.522Z] 1a89e8eeedd5: Download complete [2022-03-21T20:35:17.522Z] 0c92f367c5e7: Verifying Checksum [2022-03-21T20:35:17.522Z] 0c92f367c5e7: Download complete [2022-03-21T20:35:17.522Z] f7c0051592d6: Download complete [2022-03-21T20:35:17.522Z] 9b3977197b4f: Verifying Checksum [2022-03-21T20:35:17.522Z] 9b3977197b4f: Download complete [2022-03-21T20:35:17.522Z] a227ed2f7395: Verifying Checksum [2022-03-21T20:35:17.522Z] a227ed2f7395: Download complete [2022-03-21T20:35:18.530Z] 9b3977197b4f: Pull complete [2022-03-21T20:35:19.131Z] 1a89e8eeedd5: Pull complete [2022-03-21T20:35:19.736Z] 94645a83ff95: Pull complete [2022-03-21T20:35:19.736Z] 7b1c46037f91: Verifying Checksum [2022-03-21T20:35:19.736Z] 7b1c46037f91: Download complete [2022-03-21T20:35:20.730Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-21T20:35:20.730Z] 3f3a8bcf1eab: Download complete [2022-03-21T20:35:35.876Z] 3f3a8bcf1eab: Pull complete [2022-03-21T20:35:35.876Z] 0c92f367c5e7: Pull complete [2022-03-21T20:35:35.876Z] f7c0051592d6: Pull complete [2022-03-21T20:35:35.876Z] a227ed2f7395: Pull complete [2022-03-21T20:35:42.654Z] 7b1c46037f91: Pull complete [2022-03-21T20:35:42.654Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-21T20:35:42.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T20:35:42.654Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:35:43.024Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-21T20:35:43.024Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T20:35:43.024Z] WORKDIR /edgex [2022-03-21T20:35:43.024Z] COPY go.mod . [2022-03-21T20:35:43.024Z] RUN go mod download [2022-03-21T20:35:45.713Z] Sending build context to Docker daemon 168.9MB [2022-03-21T20:35:45.713Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T20:35:45.713Z] ---> f79e39bc4007 [2022-03-21T20:35:45.713Z] Step 2/4 : WORKDIR /edgex [2022-03-21T20:35:47.708Z] ---> Running in 07f8c53384f9 [2022-03-21T20:35:47.983Z] Removing intermediate container 07f8c53384f9 [2022-03-21T20:35:47.983Z] ---> 3a6cb9e047e1 [2022-03-21T20:35:47.983Z] Step 3/4 : COPY go.mod . [2022-03-21T20:35:48.592Z] ---> 44fbd4e15239 [2022-03-21T20:35:48.592Z] Step 4/4 : RUN go mod download [2022-03-21T20:35:48.866Z] ---> Running in 79b791e55a28 [2022-03-21T20:37:10.695Z] Removing intermediate container 79b791e55a28 [2022-03-21T20:37:10.695Z] ---> 76404bd0b884 [2022-03-21T20:37:10.695Z] Successfully built 76404bd0b884 [2022-03-21T20:37:10.695Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:37:11.048Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T20:37:11.048Z] . [Pipeline] withDockerContainer [2022-03-21T20:37:11.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-8458 does not seem to be running inside a container [2022-03-21T20:37:11.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@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-21T20:37:12.960Z] $ docker top eac8a019fee4e1b0df97ecc531ccfa8f268ff277145b51a044c617ee68b26fce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:37:13.925Z] + go version [2022-03-21T20:37:13.925Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-21T20:37:13.953Z] $ docker stop --time=1 eac8a019fee4e1b0df97ecc531ccfa8f268ff277145b51a044c617ee68b26fce [2022-03-21T20:37:15.631Z] $ docker rm -f eac8a019fee4e1b0df97ecc531ccfa8f268ff277145b51a044c617ee68b26fce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:37:16.253Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T20:37:16.253Z] . [Pipeline] withDockerContainer [2022-03-21T20:37:16.522Z] prd-ubuntu20.04-docker-arm64-4c-16g-8458 does not seem to be running inside a container [2022-03-21T20:37:16.618Z] $ 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/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@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-21T20:37:18.117Z] $ docker top c433b3ab6fbf4c617a5201230c21f97a283c64dc16cdb7e9bd6fa5e06971ca3b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-21T20:37:18.437Z] ========================================================= [2022-03-21T20:37:18.437Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-21T20:37:18.437Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:37:19.113Z] + make test [2022-03-21T20:37:19.113Z] go mod tidy [2022-03-21T20:37:20.116Z] go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi [2022-03-21T20:37:20.720Z] go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1529 [2022-03-21T20:37:47.538Z] go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1529 [2022-03-21T20:37:47.538Z] go: downloading gopkg.in/ini.v1 v1.66.2 [2022-03-21T20:37:47.538Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-21T20:38:19.953Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-21T20:39:41.819Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-21T20:40:00.180Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-21T20:40:00.180Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-21T20:40:00.180Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-21T20:40:03.621Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-21T20:40:04.617Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-21T20:40:04.617Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-21T20:40:04.617Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-21T20:40:37.111Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [2022-03-21T20:40:37.111Z] 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-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 [2022-03-21T20:40:37.111Z] 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-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:106:15: undefined: time [2022-03-21T20:40:37.111Z] internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block [2022-03-21T20:40:37.112Z] /w/workspace/edgex-go/32/internal/support/notifications/application/channel/sender.go:45:39: previous declaration [2022-03-21T20:40:37.112Z] internal/support/notifications/application/channel/sender.go:106:15: too many errors [2022-03-21T20:40:37.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.223s coverage: 28.7% of statements [2022-03-21T20:40:37.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.389s coverage: 98.5% of statements [2022-03-21T20:40:37.112Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.384s coverage: 54.9% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.981s coverage: 89.2% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.493s coverage: 84.4% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.448s coverage: 94.2% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.296s coverage: 72.2% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.474s coverage: 60.0% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.517s coverage: 0.9% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.236s coverage: 58.8% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.576s coverage: 24.0% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.283s coverage: 47.1% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.269s coverage: 79.5% of statements [2022-03-21T20:40:56.113Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.237s coverage: 94.1% of statements [2022-03-21T20:40:56.723Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.374s coverage: 96.3% of statements [2022-03-21T20:40:57.336Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.303s coverage: 87.5% of statements [2022-03-21T20:41:09.780Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.332s coverage: 94.4% of statements [2022-03-21T20:41:09.780Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.211s coverage: 44.8% of statements [2022-03-21T20:41:16.496Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.695s coverage: 82.5% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.321s coverage: 92.9% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.074s coverage: 65.1% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.239s coverage: 87.2% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.210s coverage: 100.0% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.334s coverage: 58.8% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.349s coverage: 80.0% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.258s coverage: 87.2% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.322s coverage: 85.4% of statements [2022-03-21T20:41:23.254Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.874s coverage: 91.2% of statements [2022-03-21T20:41:24.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.125s coverage: 64.4% of statements [2022-03-21T20:41:24.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.238s coverage: 100.0% of statements [2022-03-21T20:41:24.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.101s coverage: 89.4% of statements [2022-03-21T20:41:24.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.056s coverage: 100.0% of statements [2022-03-21T20:41:25.309Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.098s coverage: 73.7% of statements [2022-03-21T20:41:26.754Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements [2022-03-21T20:41:32.186Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.506s coverage: 65.4% of statements [2022-03-21T20:41:34.185Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.822s coverage: 43.8% of statements [2022-03-21T20:41:34.185Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.293s coverage: 89.5% of statements [2022-03-21T20:41:34.185Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.267s coverage: 84.8% of statements [2022-03-21T20:41:34.185Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] [2022-03-21T20:41:34.185Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] [2022-03-21T20:41:34.465Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.336s coverage: 63.2% of statements [2022-03-21T20:41:37.873Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.458s coverage: 97.7% of statements [2022-03-21T20:41:37.873Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.284s coverage: 28.9% of statements [2022-03-21T20:41:37.873Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.215s coverage: 100.0% of statements [2022-03-21T20:41:37.873Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.094s coverage: 96.9% of statements [2022-03-21T20:41:38.148Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2022-03-21T20:41:38.176Z] $ docker stop --time=1 c433b3ab6fbf4c617a5201230c21f97a283c64dc16cdb7e9bd6fa5e06971ca3b [2022-03-21T20:41:40.414Z] $ docker rm -f c433b3ab6fbf4c617a5201230c21f97a283c64dc16cdb7e9bd6fa5e06971ca3b [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-21T20:41:45.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:41:45.233Z] [2022-03-21T20:41:45.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:41:45.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:41:45.867Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-21T20:41:45.867Z] 8998bd30e6a1: Pulling fs layer [2022-03-21T20:41:45.867Z] 04944245beec: Pulling fs layer [2022-03-21T20:41:45.867Z] 699f458cf7ca: Pulling fs layer [2022-03-21T20:41:45.867Z] 765212b225bb: Pulling fs layer [2022-03-21T20:41:45.867Z] f23df028b6ca: Pulling fs layer [2022-03-21T20:41:45.867Z] d65c8cfc05b1: Pulling fs layer [2022-03-21T20:41:45.867Z] 2437ff75d9bd: Pulling fs layer [2022-03-21T20:41:45.867Z] 765212b225bb: Waiting [2022-03-21T20:41:45.867Z] f23df028b6ca: Waiting [2022-03-21T20:41:45.867Z] d65c8cfc05b1: Waiting [2022-03-21T20:41:45.867Z] 2437ff75d9bd: Waiting [2022-03-21T20:41:45.867Z] 04944245beec: Verifying Checksum [2022-03-21T20:41:45.867Z] 04944245beec: Download complete [2022-03-21T20:41:45.867Z] 765212b225bb: Verifying Checksum [2022-03-21T20:41:45.867Z] 765212b225bb: Download complete [2022-03-21T20:41:46.143Z] f23df028b6ca: Verifying Checksum [2022-03-21T20:41:46.143Z] f23df028b6ca: Download complete [2022-03-21T20:41:46.143Z] d65c8cfc05b1: Verifying Checksum [2022-03-21T20:41:46.143Z] d65c8cfc05b1: Download complete [2022-03-21T20:41:46.143Z] 699f458cf7ca: Verifying Checksum [2022-03-21T20:41:46.143Z] 699f458cf7ca: Download complete [2022-03-21T20:41:46.747Z] 8998bd30e6a1: Verifying Checksum [2022-03-21T20:41:46.747Z] 8998bd30e6a1: Download complete [2022-03-21T20:41:48.736Z] 2437ff75d9bd: Verifying Checksum [2022-03-21T20:41:48.736Z] 2437ff75d9bd: Download complete [2022-03-21T20:41:51.374Z] 8998bd30e6a1: Pull complete [2022-03-21T20:41:51.650Z] 04944245beec: Pull complete [2022-03-21T20:41:53.089Z] 699f458cf7ca: Pull complete [2022-03-21T20:41:53.365Z] 765212b225bb: Pull complete [2022-03-21T20:41:54.350Z] f23df028b6ca: Pull complete [2022-03-21T20:41:54.623Z] d65c8cfc05b1: Pull complete [2022-03-21T20:42:12.955Z] 2437ff75d9bd: Pull complete [2022-03-21T20:42:12.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-21T20:42:12.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:42:12.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-21T20:42:13.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-8458 does not seem to be running inside a container [2022-03-21T20:42:13.311Z] $ 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/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@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-21T20:42:14.853Z] $ docker top a920db30a946efb371400b303150493b4fef90ac032986164c55eb0d381b7eeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:15.905Z] ---> job-cost.sh [2022-03-21T20:42:15.905Z] lf-activate-venv: SKIPPING [2022-03-21T20:42:15.905Z] INFO: No Stack... [2022-03-21T20:42:16.180Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-21T20:42:17.161Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T20:42:17.831Z] + cat /w/workspace/edgex-go/32/archives/cost.csv [2022-03-21T20:42:17.831Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T20:42:17.911Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-32-stack-cost] [2022-03-21T20:42:17.918Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3842-32-stack-cost] did not exist. Created. [2022-03-21T20:42:17.918Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T20:42:18.591Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-21T20:42:19.430Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T20:42:19.440Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T20:42:19.461Z] $ docker stop --time=1 a920db30a946efb371400b303150493b4fef90ac032986164c55eb0d381b7eeb [2022-03-21T20:42:21.069Z] $ docker rm -f a920db30a946efb371400b303150493b4fef90ac032986164c55eb0d381b7eeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-21T20:42:21.453Z] 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-21T20:42:22.076Z] + [ -d /w/workspace/edgex-go/32/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:22.371Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:23.239Z] ---> package-listing.sh [2022-03-21T20:42:23.239Z] ++ facter osfamily [2022-03-21T20:42:23.239Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-21T20:42:23.500Z] + OS_FAMILY=debian [2022-03-21T20:42:23.500Z] + workspace=/w/workspace/edgex-go/32 [2022-03-21T20:42:23.500Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-21T20:42:23.500Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-21T20:42:23.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-21T20:42:23.500Z] + PACKAGES=/tmp/packages_start.txt [2022-03-21T20:42:23.500Z] + '[' /w/workspace/edgex-go/32 ']' [2022-03-21T20:42:23.500Z] + PACKAGES=/tmp/packages_end.txt [2022-03-21T20:42:23.500Z] + case "${OS_FAMILY}" in [2022-03-21T20:42:23.500Z] + dpkg -l [2022-03-21T20:42:23.500Z] + grep '^ii' [2022-03-21T20:42:23.500Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-21T20:42:23.500Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-21T20:42:23.500Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-21T20:42:23.500Z] + '[' /w/workspace/edgex-go/32 ']' [2022-03-21T20:42:23.500Z] + mkdir -p /w/workspace/edgex-go/32/archives/ [2022-03-21T20:42:23.500Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/32/archives/ [Pipeline] echo [2022-03-21T20:42:23.512Z] 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/32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-21T20:42:23.793Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:42:24.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:42:24.351Z] [2022-03-21T20:42:24.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:42:24.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:42:24.649Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-21T20:42:24.649Z] 5eb5b503b376: Pulling fs layer [2022-03-21T20:42:24.649Z] 5c69ac0246d0: Pulling fs layer [2022-03-21T20:42:24.649Z] ec43610c2a17: Pulling fs layer [2022-03-21T20:42:24.649Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-21T20:42:24.649Z] 33b1e0a273af: Pulling fs layer [2022-03-21T20:42:24.649Z] 5d3b04190fa2: Pulling fs layer [2022-03-21T20:42:24.649Z] 2f39f015ded8: Pulling fs layer [2022-03-21T20:42:24.649Z] 3a2ae6a8a46f: Waiting [2022-03-21T20:42:24.649Z] 33b1e0a273af: Waiting [2022-03-21T20:42:24.649Z] 5d3b04190fa2: Waiting [2022-03-21T20:42:24.649Z] 2f39f015ded8: Waiting [2022-03-21T20:42:24.649Z] 5c69ac0246d0: Verifying Checksum [2022-03-21T20:42:24.649Z] 5c69ac0246d0: Download complete [2022-03-21T20:42:24.649Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-21T20:42:24.649Z] 3a2ae6a8a46f: Download complete [2022-03-21T20:42:24.649Z] 33b1e0a273af: Verifying Checksum [2022-03-21T20:42:24.649Z] 33b1e0a273af: Download complete [2022-03-21T20:42:24.649Z] ec43610c2a17: Verifying Checksum [2022-03-21T20:42:24.649Z] ec43610c2a17: Download complete [2022-03-21T20:42:24.649Z] 5d3b04190fa2: Download complete [2022-03-21T20:42:24.909Z] 5eb5b503b376: Verifying Checksum [2022-03-21T20:42:24.909Z] 5eb5b503b376: Download complete [2022-03-21T20:42:25.477Z] 2f39f015ded8: Download complete [2022-03-21T20:42:26.047Z] 5eb5b503b376: Pull complete [2022-03-21T20:42:26.306Z] 5c69ac0246d0: Pull complete [2022-03-21T20:42:26.566Z] ec43610c2a17: Pull complete [2022-03-21T20:42:26.825Z] 3a2ae6a8a46f: Pull complete [2022-03-21T20:42:26.825Z] 33b1e0a273af: Pull complete [2022-03-21T20:42:27.084Z] 5d3b04190fa2: Pull complete [2022-03-21T20:42:31.278Z] 2f39f015ded8: Pull complete [2022-03-21T20:42:31.537Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-21T20:42:31.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:42:31.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-21T20:42:31.598Z] prd-ubuntu20.04-docker-8c-8g-8453 does not seem to be running inside a container [2022-03-21T20:42:31.632Z] $ 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/32/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/32 -v /w/workspace/edgex-go/32:/w/workspace/edgex-go/32:rw,z -v /w/workspace/edgex-go/32@tmp:/w/workspace/edgex-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-21T20:42:33.175Z] $ docker top f0302baf12a1b85fbbcd58a68af5f30f772f9b9434941158050c9ad5b3c3ee8e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:42:33.526Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-21T20:42:33.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-21T20:42:34.105Z] + ls /var/log/sa-host [2022-03-21T20:42:34.105Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:42:34.322Z] provisioning config files... [2022-03-21T20:42:34.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/32@tmp/config2833999812095500607tmp [Pipeline] { [Pipeline] echo [2022-03-21T20:42:34.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:34.631Z] ---> create-netrc.sh [Pipeline] } [2022-03-21T20:42:34.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:34.973Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-21T20:42:34.983Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:35.270Z] ---> sudo-logs.sh [2022-03-21T20:42:35.270Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-21T20:42:35.313Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:35.597Z] ---> job-cost.sh [2022-03-21T20:42:35.597Z] lf-activate-venv: SKIPPING [2022-03-21T20:42:35.597Z] DEBUG: total: 0.10999999940395355 [2022-03-21T20:42:35.597Z] INFO: Retrieving Stack Cost... [2022-03-21T20:42:36.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T20:42:36.738Z] INFO: Archiving Costs [Pipeline] echo [2022-03-21T20:42:36.751Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:42:37.035Z] ---> logs-deploy.sh [2022-03-21T20:42:37.035Z] lf-activate-venv: SKIPPING [2022-03-21T20:42:37.035Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/32 [2022-03-21T20:42:37.035Z] INFO: archiving workspace using pattern(s): [2022-03-21T20:42:37.974Z] Archives upload complete. [2022-03-21T20:42:37.975Z] INFO: archiving logs to Nexus