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 bdc39b6e9476d3d7a5fede74e8da530779bb3753 rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from bdc39b6e9476d3d7a5fede74e8da530779bb3753 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-ssh10976588777930180050.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh16273231270492334712.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5007156707374613811.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh328894898167839306.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17291424397566202077.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1657’ Running on prd-ubuntu20.04-docker-8c-8g-1659 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/68 [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/68 # 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 bdc39b6e9476d3d7a5fede74e8da530779bb3753 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing ed0d598c3c8fa595c880a8d553453ff3a3f97a74 Checking out Revision ed0d598c3c8fa595c880a8d553453ff3a3f97a74 (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 bdc39b6e9476d3d7a5fede74e8da530779bb3753 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed0d598c3c8fa595c880a8d553453ff3a3f97a74 # timeout=10 Commit message: "Merge commit 'bdc39b6e9476d3d7a5fede74e8da530779bb3753' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:30:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:30:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:30:56 ========================================================= 16:30:56 EdgeX Global Pipelines Version Info 16:30:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 24197258652221779b46f08233cb10b48410d0de # timeout=10 16:30:57 ------------------- 16:30:57 stable info: 16:30:57 ------------------- 16:30:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:30:57 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 16:30:57 Message: update stable to v1.0.232 16:30:57 ------------------- 16:30:57 experimental info: 16:30:57 ------------------- 16:30:57 Commited By: **** collab-it+edgex@linuxfoundation.org 16:30:57 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 16:30:57 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed0d598c3c8fa595c880a8d553453ff3a3f97a74 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed0d598 [Pipeline] echo 16:30:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:58 provisioning config files... 16:30:58 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/68@tmp/config6555116008777000134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:58 ---> docker-login.sh 16:30:58 nexus3.edgexfoundry.org:10001 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:59 Configure a credential helper to remove this warning. See 16:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:59 16:30:59 Login Succeeded 16:30:59 nexus3.edgexfoundry.org:10002 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:59 Configure a credential helper to remove this warning. See 16:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:59 16:30:59 Login Succeeded 16:30:59 nexus3.edgexfoundry.org:10003 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:59 Configure a credential helper to remove this warning. See 16:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:59 16:30:59 Login Succeeded 16:30:59 nexus3.edgexfoundry.org:10004 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:59 Configure a credential helper to remove this warning. See 16:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:59 16:30:59 Login Succeeded 16:30:59 docker.io 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:00 Configure a credential helper to remove this warning. See 16:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:00 16:31:00 Login Succeeded 16:31:00 ---> docker-login.sh ends [Pipeline] } 16:31:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:00 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + dirname cmd/core-command/Dockerfile 16:31:00 + echo core-command,cmd/core-command/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + dirname cmd/core-data/Dockerfile 16:31:00 + echo core-data,cmd/core-data/Dockerfile 16:31:00 + dirname cmd/core-metadata/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo core-metadata,cmd/core-metadata/Dockerfile 16:31:00 + dirname cmd/security-bootstrapper/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:31:00 + dirname cmd/security-proxy-setup/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:31:00 + dirname cmd/security-secretstore-setup/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:31:00 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:31:00 + dirname cmd/security-spire-agent/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:31:00 + dirname cmd/security-spire-config/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:31:00 + dirname cmd/security-spire-server/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:31:00 + dirname cmd/support-notifications/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo support-notifications,cmd/support-notifications/Dockerfile 16:31:00 + dirname cmd/support-scheduler/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:31:00 + dirname cmd/sys-mgmt-agent/Dockerfile 16:31:00 + cut -d/ -f2 16:31:00 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:31:00 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:31:00 + git rev-list -1 --merges ed0d598c3c8fa595c880a8d553453ff3a3f97a74~1..ed0d598c3c8fa595c880a8d553453ff3a3f97a74 [Pipeline] echo 16:31:00 -----------> git rev-list -1 --merges ed0d598c3c8fa595c880a8d553453ff3a3f97a74~1..ed0d598c3c8fa595c880a8d553453ff3a3f97a74 ed0d598c3c8fa595c880a8d553453ff3a3f97a74 16:31:00 ed0d598c3c8fa595c880a8d553453ff3a3f97a74 [false] [Pipeline] sh 16:31:01 + git log --format=format:%s -1 ed0d598c3c8fa595c880a8d553453ff3a3f97a74 [Pipeline] echo 16:31:01 ========================================================= 16:31:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:31:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:31:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:31:01 + grep -v github /etc/ssh/ssh_known_hosts 16:31:01 + [ -e /tmp/ssh_known_hosts ] 16:31:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:31:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:31:01 + sudo tee -a /etc/ssh/ssh_known_hosts 16:31:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:01 16:31:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:02 0.1.4: Pulling from edgex-devops/py-git-semver 16:31:02 42c077c10790: Pulling fs layer 16:31:02 f63e77b7563a: Pulling fs layer 16:31:02 bd5fdadae976: Pulling fs layer 16:31:02 205491f53016: Pulling fs layer 16:31:02 df18705c85c3: Pulling fs layer 16:31:02 bdb3f477010e: Pulling fs layer 16:31:02 c8a8fc8e1c8f: Pulling fs layer 16:31:02 2c6e9b1d212d: Pulling fs layer 16:31:02 bdb8f0575790: Pulling fs layer 16:31:02 386e3cb2ff24: Pulling fs layer 16:31:02 2343380bae48: Pulling fs layer 16:31:02 205491f53016: Waiting 16:31:02 bdb3f477010e: Waiting 16:31:02 c8a8fc8e1c8f: Waiting 16:31:02 2343380bae48: Waiting 16:31:02 2c6e9b1d212d: Waiting 16:31:02 df18705c85c3: Waiting 16:31:02 386e3cb2ff24: Waiting 16:31:02 bdb8f0575790: Waiting 16:31:02 f63e77b7563a: Verifying Checksum 16:31:02 f63e77b7563a: Download complete 16:31:02 205491f53016: Verifying Checksum 16:31:02 205491f53016: Download complete 16:31:02 df18705c85c3: Verifying Checksum 16:31:02 df18705c85c3: Download complete 16:31:02 bdb3f477010e: Verifying Checksum 16:31:02 bdb3f477010e: Download complete 16:31:02 bd5fdadae976: Verifying Checksum 16:31:02 bd5fdadae976: Download complete 16:31:02 2c6e9b1d212d: Verifying Checksum 16:31:02 2c6e9b1d212d: Download complete 16:31:02 bdb8f0575790: Verifying Checksum 16:31:02 bdb8f0575790: Download complete 16:31:02 386e3cb2ff24: Verifying Checksum 16:31:02 386e3cb2ff24: Download complete 16:31:02 2343380bae48: Verifying Checksum 16:31:02 2343380bae48: Download complete 16:31:02 42c077c10790: Verifying Checksum 16:31:02 42c077c10790: Download complete 16:31:03 42c077c10790: Pull complete 16:31:04 f63e77b7563a: Pull complete 16:31:04 bd5fdadae976: Pull complete 16:31:04 205491f53016: Pull complete 16:31:04 df18705c85c3: Pull complete 16:31:04 bdb3f477010e: Pull complete 16:31:06 c8a8fc8e1c8f: Pull complete 16:31:06 2c6e9b1d212d: Pull complete 16:31:07 bdb8f0575790: Pull complete 16:31:07 386e3cb2ff24: Pull complete 16:31:07 2343380bae48: Pull complete 16:31:07 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:31:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:07 prd-ubuntu20.04-docker-8c-8g-1659 does not seem to be running inside a container 16:31:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:31:08 $ docker top 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 -eo pid,comm 16:31:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:31:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:09 [ssh-agent] Looking for ssh-agent implementation... 16:31:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:09 $ docker exec 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 ssh-agent 16:31:09 SSH_AUTH_SOCK=/tmp/ssh-Mi6agr0pubD9/agent.33 16:31:09 SSH_AGENT_PID=40 16:31:09 Running ssh-add (command line suppressed) 16:31:09 Identity added: /w/workspace/edgex-go/68@tmp/private_key_3086530655532282495.key (/w/workspace/edgex-go/68@tmp/private_key_3086530655532282495.key) 16:31:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:09 + git tag --points-at HEAD [Pipeline] } 16:31:09 $ docker exec --env ******** --env ******** 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 ssh-agent -k 16:31:09 unset SSH_AUTH_SOCK; 16:31:09 unset SSH_AGENT_PID; 16:31:09 echo Agent pid 40 killed; 16:31:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:31:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:10 [ssh-agent] Looking for ssh-agent implementation... 16:31:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:10 $ docker exec 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 ssh-agent 16:31:10 SSH_AUTH_SOCK=/tmp/ssh-vMFHoiaBAMit/agent.73 16:31:10 SSH_AGENT_PID=79 16:31:10 Running ssh-add (command line suppressed) 16:31:10 Identity added: /w/workspace/edgex-go/68@tmp/private_key_8958755839176045621.key (/w/workspace/edgex-go/68@tmp/private_key_8958755839176045621.key) 16:31:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:10 + git semver init 16:31:10 2022-06-07 16:31:10,938 [run_init] DEBUG init version:0.0.0 force:False 16:31:10 2022-06-07 16:31:10,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/68/.semver 16:31:10 2022-06-07 16:31:10,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/68/.semver 16:31:10 2022-06-07 16:31:10,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/68/.semver'], cwd=/w/workspace/edgex-go/68, universal_newlines=False, shell=None, istream=None) 16:31:17 2022-06-07 16:31:17,394 [append_file] DEBUG append to file:/w/workspace/edgex-go/68/.git/info/exclude 16:31:17 2022-06-07 16:31:17,396 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/68/.semver/PR-3842 with force:False 16:31:17 2022-06-07 16:31:17,396 [write_file] DEBUG write to file:/w/workspace/edgex-go/68/.semver/PR-3842 16:31:17 2022-06-07 16:31:17,402 [execute] INFO git cat-file --batch-check 16:31:17 2022-06-07 16:31:17,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/68/.semver, universal_newlines=False, shell=None, istream=) 16:31:17 2022-06-07 16:31:17,409 [execute] INFO git cat-file --batch 16:31:17 2022-06-07 16:31:17,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/68/.semver, universal_newlines=False, shell=None, istream=) 16:31:17 2022-06-07 16:31:17,415 [read_version] DEBUG read version from /w/workspace/edgex-go/68/.semver/PR-3842 16:31:17 0.0.0 [Pipeline] } 16:31:17 $ docker exec --env ******** --env ******** 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 ssh-agent -k 16:31:17 unset SSH_AUTH_SOCK; 16:31:17 unset SSH_AGENT_PID; 16:31:17 echo Agent pid 79 killed; 16:31:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:18 + git semver [Pipeline] } 16:31:18 $ docker stop --time=1 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 16:31:19 $ docker rm -f 656e01bec91b94b84093e3ad83388abcb070bd7102448c06ecc91b94b4b32024 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:31:20 Stashed 1 file(s) [Pipeline] echo 16:31:20 [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 16:31:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:20 ========================================================= 16:31:20 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:31:20 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:31:20 59bf1c3509f3: Pulling fs layer 16:31:20 666ba61612fd: Pulling fs layer 16:31:20 8ed8ca486205: Pulling fs layer 16:31:20 cc1cd167ecdc: Pulling fs layer 16:31:20 c516ae0d96e1: Pulling fs layer 16:31:20 cc1cd167ecdc: Waiting 16:31:20 684cea983483: Pulling fs layer 16:31:20 dd3240ac7de5: Pulling fs layer 16:31:20 b1e948a4e11c: Pulling fs layer 16:31:20 a8fd76ee1af6: Pulling fs layer 16:31:20 646ad004c059: Pulling fs layer 16:31:20 b1e948a4e11c: Waiting 16:31:20 dd3240ac7de5: Waiting 16:31:20 c516ae0d96e1: Waiting 16:31:20 a8fd76ee1af6: Waiting 16:31:20 684cea983483: Waiting 16:31:20 646ad004c059: Waiting 16:31:20 8ed8ca486205: Verifying Checksum 16:31:20 8ed8ca486205: Download complete 16:31:20 666ba61612fd: Verifying Checksum 16:31:20 666ba61612fd: Download complete 16:31:20 c516ae0d96e1: Verifying Checksum 16:31:20 c516ae0d96e1: Download complete 16:31:20 684cea983483: Download complete 16:31:20 dd3240ac7de5: Verifying Checksum 16:31:20 dd3240ac7de5: Download complete 16:31:20 59bf1c3509f3: Verifying Checksum 16:31:20 59bf1c3509f3: Download complete 16:31:20 b1e948a4e11c: Verifying Checksum 16:31:20 b1e948a4e11c: Download complete 16:31:20 59bf1c3509f3: Pull complete 16:31:21 666ba61612fd: Pull complete 16:31:21 8ed8ca486205: Pull complete 16:31:21 646ad004c059: Verifying Checksum 16:31:21 646ad004c059: Download complete 16:31:21 cc1cd167ecdc: Verifying Checksum 16:31:21 cc1cd167ecdc: Download complete 16:31:21 a8fd76ee1af6: Verifying Checksum 16:31:21 a8fd76ee1af6: Download complete 16:31:25 cc1cd167ecdc: Pull complete 16:31:25 c516ae0d96e1: Pull complete 16:31:25 684cea983483: Pull complete 16:31:25 dd3240ac7de5: Pull complete 16:31:25 b1e948a4e11c: Pull complete 16:31:27 a8fd76ee1af6: Pull complete 16:31:28 646ad004c059: Pull complete 16:31:28 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:31:28 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:28 WORKDIR /edgex 16:31:28 COPY go.mod . 16:31:28 RUN go mod download 16:31:28 + docker build -t ci-base-image-x86_64 -f - . 16:31:30 Sending build context to Docker daemon 335.2MB 16:31:30 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:30 ---> 8f69c11f6b0c 16:31:30 Step 2/4 : WORKDIR /edgex 16:31:32 ---> Running in 1647204b3ea1 16:31:32 Removing intermediate container 1647204b3ea1 16:31:32 ---> 55174b4a89b6 16:31:32 Step 3/4 : COPY go.mod . 16:31:32 ---> 0e8edbd4b5ae 16:31:32 Step 4/4 : RUN go mod download 16:31:32 ---> Running in 62883020094c 16:31:35 Still waiting to schedule task 16:31:35 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1658’ 16:31:59 Removing intermediate container 62883020094c 16:31:59 ---> 5b90e58f0ae8 16:31:59 Successfully built 5b90e58f0ae8 16:31:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:59 + docker inspect -f . ci-base-image-x86_64 16:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:59 prd-ubuntu20.04-docker-8c-8g-1659 does not seem to be running inside a container 16:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:32:00 $ docker top 29a7699fe854b3703074120ab2b01eb30b81d5cbf4b1f0b6830a9b497691e40b -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:00 + go version 16:32:00 go version go1.17.7 linux/amd64 [Pipeline] } 16:32:00 $ docker stop --time=1 29a7699fe854b3703074120ab2b01eb30b81d5cbf4b1f0b6830a9b497691e40b 16:32:02 $ docker rm -f 29a7699fe854b3703074120ab2b01eb30b81d5cbf4b1f0b6830a9b497691e40b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:02 + docker inspect -f . ci-base-image-x86_64 16:32:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:02 prd-ubuntu20.04-docker-8c-8g-1659 does not seem to be running inside a container 16:32:02 $ 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/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:32:03 $ docker top dbc55e3602e6a39dc84cd3c5aa6743a734d553b18b56e7a89e63921579b21cfd -eo pid,comm [Pipeline] { [Pipeline] echo 16:32:03 ========================================================= 16:32:03 [edgeXBuildGoParallel] Running Tests and Build... 16:32:03 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:32:03 + make test 16:32:03 go mod tidy -compat=1.17 16:32:03 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:32:03 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:32:03 go: finding module for package github.com/prometheus/client_golang/prometheus 16:32:04 go: downloading github.com/prometheus/client_golang v1.12.2 16:32:04 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1628 16:32:09 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:32:09 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:32:09 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1628 16:32:09 go: downloading github.com/prometheus/client_model v0.2.0 16:32:09 go: downloading github.com/beorn7/perks v1.0.1 16:32:09 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:32:09 go: downloading github.com/prometheus/common v0.32.1 16:32:09 go: downloading github.com/prometheus/procfs v0.7.3 16:32:09 go: downloading gopkg.in/ini.v1 v1.66.2 16:32:09 go: downloading github.com/json-iterator/go v1.1.12 16:32:09 go: downloading github.com/modern-go/reflect2 v1.0.2 16:32:09 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:32:09 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:32:09 go: downloading gopkg.in/yaml.v2 v2.4.0 16:32:09 go: downloading github.com/google/btree v1.0.0 16:32:09 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:32:09 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:32:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:32:16 ? github.com/edgexfoundry/edgex-go [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:32:28 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:32:29 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:32:29 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) 16:32:29 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:32:29 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:32:29 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:32:29 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:32:29 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:32:29 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) 16:32:29 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:32:29 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:32:29 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:32:29 /w/workspace/edgex-go/68/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:32:29 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:32:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.097s coverage: 28.7% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 98.5% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.084s coverage: 53.4% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.067s coverage: 89.2% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.116s coverage: 83.8% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.470s coverage: 95.6% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/io 0.069s coverage: 72.2% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.090s coverage: 60.0% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.074s coverage: 0.9% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.068s coverage: 58.8% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.051s coverage: 29.6% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.054s coverage: 47.1% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 79.5% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.104s coverage: 94.1% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.079s coverage: 96.3% of statements 16:32:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.056s coverage: 87.5% of statements 16:32:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.088s coverage: 94.4% of statements 16:32:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements 16:32:44 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.182s coverage: 82.5% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.091s coverage: 92.9% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.033s coverage: 65.1% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.047s coverage: 100.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.073s coverage: 58.8% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.073s coverage: 80.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.055s coverage: 87.2% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.055s coverage: 85.4% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.223s coverage: 91.2% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.151s coverage: 64.4% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.040s coverage: 89.4% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.040s coverage: 73.7% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.020s coverage: 100.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.362s coverage: 65.4% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.153s coverage: 43.8% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.103s coverage: 89.5% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.077s coverage: 84.8% of statements 16:32:54 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:32:54 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.062s coverage: 63.2% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.102s coverage: 97.7% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.070s coverage: 28.9% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.042s coverage: 100.0% of statements 16:32:54 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 16:32:54 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:32:54 $ docker stop --time=1 dbc55e3602e6a39dc84cd3c5aa6743a734d553b18b56e7a89e63921579b21cfd 16:32:56 $ docker rm -f dbc55e3602e6a39dc84cd3c5aa6743a734d553b18b56e7a89e63921579b21cfd [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] } 16:32:57 Failed in branch amd64 16:34:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1660 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 16:34:42 Running in /w/workspace/edgex-go/68 [Pipeline] { [Pipeline] checkout 16:34:42 The recommended git tool is: git 16:34:48 using credential edgex-jenkins-ssh 16:34:48 Cloning the remote Git repository 16:34:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:34:48 > git init /w/workspace/edgex-go/68 # timeout=10 16:34:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:34:48 > git --version # timeout=10 16:34:49 > git --version # 'git version 2.25.1' 16:34:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:06 Merging remotes/origin/main commit bdc39b6e9476d3d7a5fede74e8da530779bb3753 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 16:35:06 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:35:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:06 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:35:06 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:35:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:06 > 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 16:35:06 > git config core.sparsecheckout # timeout=10 16:35:06 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 16:35:07 Merge succeeded, producing e789775f7a729cc7d1794078c7db337e875de796 16:35:07 Checking out Revision e789775f7a729cc7d1794078c7db337e875de796 (PR-3842) 16:35:07 > git remote # timeout=10 16:35:07 > git config --get remote.origin.url # timeout=10 16:35:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:07 > git merge bdc39b6e9476d3d7a5fede74e8da530779bb3753 # timeout=10 16:35:07 > git rev-parse HEAD^{commit} # timeout=10 16:35:07 > git config core.sparsecheckout # timeout=10 16:35:07 > git checkout -f e789775f7a729cc7d1794078c7db337e875de796 # timeout=10 16:35:11 Commit message: "Merge commit 'bdc39b6e9476d3d7a5fede74e8da530779bb3753' into HEAD" 16:35:11 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:35:12 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:12 Dload Upload Total Spent Left Speed 16:35:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 244k 0 --:--:-- --:--:-- --:--:-- 249k [Pipeline] sh 16:35:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:35:13 + sudo tee /etc/docker/daemon.new 16:35:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:35:13 { 16:35:13 "registry-mirrors": [ 16:35:13 "https://nexus3.edgexfoundry.org:10001" 16:35:13 ], 16:35:13 "bip": "10.250.0.254/24", 16:35:13 "hosts": [ 16:35:13 "tcp://0.0.0.0:5555", 16:35:13 "unix:///var/run/docker.sock" 16:35:13 ], 16:35:13 "mtu": 1458, 16:35:13 "selinux-enabled": true, 16:35:13 "seccomp-profile": "/etc/docker/seccomp.json" 16:35:13 } [Pipeline] sh 16:35:11 > git rev-list --no-walk 24197258652221779b46f08233cb10b48410d0de # timeout=10 16:35:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:35:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:32 provisioning config files... 16:35:32 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/68@tmp/config575452213456216896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:33 ---> docker-login.sh 16:35:33 nexus3.edgexfoundry.org:10001 16:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:34 Configure a credential helper to remove this warning. See 16:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:34 16:35:34 Login Succeeded 16:35:34 nexus3.edgexfoundry.org:10002 16:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:34 Configure a credential helper to remove this warning. See 16:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:34 16:35:34 Login Succeeded 16:35:34 nexus3.edgexfoundry.org:10003 16:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:35 Configure a credential helper to remove this warning. See 16:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:35 16:35:35 Login Succeeded 16:35:35 nexus3.edgexfoundry.org:10004 16:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:35 Configure a credential helper to remove this warning. See 16:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:35 16:35:35 Login Succeeded 16:35:35 docker.io 16:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:36 Configure a credential helper to remove this warning. See 16:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:36 16:35:36 Login Succeeded 16:35:36 ---> docker-login.sh ends [Pipeline] } 16:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:36 ========================================================= 16:35:36 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:35:36 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:35:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:37 9b3977197b4f: Pulling fs layer 16:35:37 1a89e8eeedd5: Pulling fs layer 16:35:37 94645a83ff95: Pulling fs layer 16:35:37 e6fb740bc735: Pulling fs layer 16:35:37 3a77bd46dcc9: Pulling fs layer 16:35:37 355e64cbe906: Pulling fs layer 16:35:37 63ab81a10011: Pulling fs layer 16:35:37 555d1d1c4555: Pulling fs layer 16:35:37 7d9057610161: Pulling fs layer 16:35:37 355e64cbe906: Waiting 16:35:37 63ab81a10011: Waiting 16:35:37 555d1d1c4555: Waiting 16:35:37 7d9057610161: Waiting 16:35:37 e6fb740bc735: Waiting 16:35:37 3a77bd46dcc9: Waiting 16:35:37 94645a83ff95: Verifying Checksum 16:35:37 94645a83ff95: Download complete 16:35:37 1a89e8eeedd5: Verifying Checksum 16:35:37 1a89e8eeedd5: Download complete 16:35:37 3a77bd46dcc9: Verifying Checksum 16:35:37 3a77bd46dcc9: Download complete 16:35:37 355e64cbe906: Verifying Checksum 16:35:37 355e64cbe906: Download complete 16:35:37 9b3977197b4f: Download complete 16:35:37 63ab81a10011: Verifying Checksum 16:35:37 63ab81a10011: Download complete 16:35:38 9b3977197b4f: Pull complete 16:35:38 7d9057610161: Verifying Checksum 16:35:38 7d9057610161: Download complete 16:35:39 1a89e8eeedd5: Pull complete 16:35:39 94645a83ff95: Pull complete 16:35:39 555d1d1c4555: Verifying Checksum 16:35:39 555d1d1c4555: Download complete 16:35:40 e6fb740bc735: Verifying Checksum 16:35:40 e6fb740bc735: Download complete 16:35:55 e6fb740bc735: Pull complete 16:35:55 3a77bd46dcc9: Pull complete 16:35:55 355e64cbe906: Pull complete 16:35:55 63ab81a10011: Pull complete 16:35:59 555d1d1c4555: Pull complete 16:36:02 7d9057610161: Pull complete 16:36:02 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:36:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:36:02 + docker build -t ci-base-image-arm64 -f - . 16:36:02 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:02 WORKDIR /edgex 16:36:02 COPY go.mod . 16:36:02 RUN go mod download 16:36:05 Sending build context to Docker daemon 169.3MB 16:36:05 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:05 ---> 819e984ddca1 16:36:05 Step 2/4 : WORKDIR /edgex 16:36:06 ---> Running in 83478c77bb69 16:36:07 Removing intermediate container 83478c77bb69 16:36:07 ---> faee09a6cb75 16:36:07 Step 3/4 : COPY go.mod . 16:36:07 ---> f31e1548c99b 16:36:07 Step 4/4 : RUN go mod download 16:36:07 ---> Running in c846fb473739 16:36:54 Removing intermediate container c846fb473739 16:36:54 ---> 7df68b649919 16:36:54 Successfully built 7df68b649919 16:36:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:55 + docker inspect -f . ci-base-image-arm64 16:36:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:55 prd-ubuntu20.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 16:36:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@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 16:36:56 $ docker top 283b035c32481fe1ad23e8112a7ee53fd484bef5ae5ac027fe6449cde695a300 -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:57 + go version 16:36:57 go version go1.17.7 linux/arm64 [Pipeline] } 16:36:57 $ docker stop --time=1 283b035c32481fe1ad23e8112a7ee53fd484bef5ae5ac027fe6449cde695a300 16:36:59 $ docker rm -f 283b035c32481fe1ad23e8112a7ee53fd484bef5ae5ac027fe6449cde695a300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:59 + docker inspect -f . ci-base-image-arm64 16:36:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:00 prd-ubuntu20.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 16:37:00 $ 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/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@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 16:37:01 $ docker top ef6d47bb2d5fe26bbd5d03251bdf0713925cee4089f39aa24c90c35422d8972d -eo pid,comm [Pipeline] { [Pipeline] echo 16:37:01 ========================================================= 16:37:01 [edgeXBuildGoParallel] Running Tests and Build... 16:37:01 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:37:02 + make test 16:37:02 go mod tidy -compat=1.17 16:37:03 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:37:03 go: finding module for package github.com/prometheus/client_golang/prometheus 16:37:03 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:37:03 go: downloading github.com/prometheus/client_golang v1.12.2 16:37:03 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1628 16:37:25 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:37:25 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:37:25 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1628 16:37:27 go: downloading github.com/prometheus/client_model v0.2.0 16:37:27 go: downloading github.com/prometheus/common v0.32.1 16:37:27 go: downloading github.com/beorn7/perks v1.0.1 16:37:27 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:37:27 go: downloading github.com/prometheus/procfs v0.7.3 16:37:27 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:37:27 go: downloading gopkg.in/ini.v1 v1.66.2 16:37:27 go: downloading github.com/json-iterator/go v1.1.12 16:37:27 go: downloading github.com/modern-go/reflect2 v1.0.2 16:37:27 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:37:27 go: downloading gopkg.in/yaml.v2 v2.4.0 16:37:27 go: downloading github.com/google/btree v1.0.0 16:37:27 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:37:27 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:37:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:38:00 ? github.com/edgexfoundry/edgex-go [no test files] 16:39:37 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:39:37 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:39:37 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:39:37 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:39:44 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:39:44 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:39:44 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:39:44 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:39:44 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:40:06 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:40:06 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) 16:40:06 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:40:06 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:40:06 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:40:06 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:40:06 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:40:06 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) 16:40:06 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:40:06 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:40:06 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:40:06 /w/workspace/edgex-go/68/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:40:06 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:40:06 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.224s coverage: 28.7% of statements 16:40:07 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.447s coverage: 98.5% of statements 16:40:07 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.410s coverage: 53.4% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 18.731s coverage: 89.2% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.427s coverage: 83.8% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 3.186s coverage: 95.6% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/io 0.358s coverage: 72.2% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.382s coverage: 60.0% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.370s coverage: 0.9% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.242s coverage: 58.8% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.570s coverage: 29.6% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.230s coverage: 47.1% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.298s coverage: 79.5% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.208s coverage: 94.1% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.305s coverage: 96.3% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.201s coverage: 87.5% of statements 16:40:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.256s coverage: 94.4% of statements 16:40:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.203s coverage: 44.8% of statements 16:40:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.692s coverage: 82.5% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.285s coverage: 92.9% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.060s coverage: 65.1% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.207s coverage: 87.2% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.177s coverage: 100.0% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.289s coverage: 58.8% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.291s coverage: 80.0% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.232s coverage: 87.2% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.379s coverage: 85.4% of statements 16:41:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.960s coverage: 91.2% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.867s coverage: 64.4% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.272s coverage: 100.0% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.098s coverage: 89.4% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.069s coverage: 100.0% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.087s coverage: 73.7% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.061s coverage: 100.0% of statements 16:41:12 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.420s coverage: 65.4% of statements 16:41:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.847s coverage: 43.8% of statements 16:41:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.218s coverage: 89.5% of statements 16:41:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.262s coverage: 84.8% of statements 16:41:13 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:41:13 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:41:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.293s coverage: 63.2% of statements 16:41:17 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.430s coverage: 97.7% of statements 16:41:17 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.233s coverage: 28.9% of statements 16:41:17 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.204s coverage: 100.0% of statements 16:41:17 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.094s coverage: 96.9% of statements 16:41:18 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:41:18 $ docker stop --time=1 ef6d47bb2d5fe26bbd5d03251bdf0713925cee4089f39aa24c90c35422d8972d 16:41:20 $ docker rm -f ef6d47bb2d5fe26bbd5d03251bdf0713925cee4089f39aa24c90c35422d8972d [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] withEnv [Pipeline] { [Pipeline] sh 16:41:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:25 16:41:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:25 arm64: Pulling from edgex-lftools-log-publisher 16:41:25 8998bd30e6a1: Pulling fs layer 16:41:25 04944245beec: Pulling fs layer 16:41:25 699f458cf7ca: Pulling fs layer 16:41:25 765212b225bb: Pulling fs layer 16:41:25 f23df028b6ca: Pulling fs layer 16:41:25 d65c8cfc05b1: Pulling fs layer 16:41:25 2437ff75d9bd: Pulling fs layer 16:41:25 765212b225bb: Waiting 16:41:25 d65c8cfc05b1: Waiting 16:41:25 2437ff75d9bd: Waiting 16:41:25 f23df028b6ca: Waiting 16:41:25 04944245beec: Verifying Checksum 16:41:25 04944245beec: Download complete 16:41:25 765212b225bb: Download complete 16:41:26 f23df028b6ca: Verifying Checksum 16:41:26 f23df028b6ca: Download complete 16:41:26 d65c8cfc05b1: Verifying Checksum 16:41:26 d65c8cfc05b1: Download complete 16:41:26 699f458cf7ca: Verifying Checksum 16:41:26 699f458cf7ca: Download complete 16:41:26 8998bd30e6a1: Verifying Checksum 16:41:26 8998bd30e6a1: Download complete 16:41:29 2437ff75d9bd: Verifying Checksum 16:41:29 2437ff75d9bd: Download complete 16:41:31 8998bd30e6a1: Pull complete 16:41:31 04944245beec: Pull complete 16:41:32 699f458cf7ca: Pull complete 16:41:33 765212b225bb: Pull complete 16:41:34 f23df028b6ca: Pull complete 16:41:34 d65c8cfc05b1: Pull complete 16:41:49 2437ff75d9bd: Pull complete 16:41:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:49 prd-ubuntu20.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 16:41:49 $ 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/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@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 16:41:51 $ docker top c2b02bf65ae646312c89ecdc88562c18efb44eed0bf466814b149fd8ff9eecb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:52 ---> job-cost.sh 16:41:52 lf-activate-venv: SKIPPING 16:41:52 INFO: No Stack... 16:41:53 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:54 INFO: Archiving Costs [Pipeline] sh 16:41:54 + cat /w/workspace/edgex-go/68/archives/cost.csv 16:41:54 + cut -d, -f6 [Pipeline] lock 16:41:54 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-68-stack-cost] 16:41:54 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-68-stack-cost] did not exist. Created. 16:41:54 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:55 + echo total: 0.10999999940395355 [Pipeline] stash 16:41:56 Stashed 1 file(s) [Pipeline] } 16:41:56 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-68-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:56 $ docker stop --time=1 c2b02bf65ae646312c89ecdc88562c18efb44eed0bf466814b149fd8ff9eecb9 16:41:57 $ docker rm -f c2b02bf65ae646312c89ecdc88562c18efb44eed0bf466814b149fd8ff9eecb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:41:58 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 16:41:58 + [ -d /w/workspace/edgex-go/68/archives ] [Pipeline] libraryResource [Pipeline] sh 16:41:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:41:59 ---> package-listing.sh 16:41:59 ++ facter osfamily 16:41:59 ++ tr '[:upper:]' '[:lower:]' 16:42:00 + OS_FAMILY=debian 16:42:00 + workspace=/w/workspace/edgex-go/68 16:42:00 + START_PACKAGES=/tmp/packages_start.txt 16:42:00 + END_PACKAGES=/tmp/packages_end.txt 16:42:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:00 + PACKAGES=/tmp/packages_start.txt 16:42:00 + '[' /w/workspace/edgex-go/68 ']' 16:42:00 + PACKAGES=/tmp/packages_end.txt 16:42:00 + case "${OS_FAMILY}" in 16:42:00 + dpkg -l 16:42:00 + grep '^ii' 16:42:00 + '[' -f /tmp/packages_start.txt ']' 16:42:00 + '[' -f /tmp/packages_end.txt ']' 16:42:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:00 + '[' /w/workspace/edgex-go/68 ']' 16:42:00 + mkdir -p /w/workspace/edgex-go/68/archives/ 16:42:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/68/archives/ [Pipeline] echo 16:42:00 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/68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:42:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:00 16:42:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:01 latest: Pulling from edgex-lftools-log-publisher 16:42:01 5eb5b503b376: Pulling fs layer 16:42:01 5c69ac0246d0: Pulling fs layer 16:42:01 ec43610c2a17: Pulling fs layer 16:42:01 3a2ae6a8a46f: Pulling fs layer 16:42:01 33b1e0a273af: Pulling fs layer 16:42:01 5d3b04190fa2: Pulling fs layer 16:42:01 2f39f015ded8: Pulling fs layer 16:42:01 3a2ae6a8a46f: Waiting 16:42:01 33b1e0a273af: Waiting 16:42:01 5d3b04190fa2: Waiting 16:42:01 2f39f015ded8: Waiting 16:42:01 5c69ac0246d0: Verifying Checksum 16:42:01 5c69ac0246d0: Download complete 16:42:01 3a2ae6a8a46f: Download complete 16:42:01 33b1e0a273af: Verifying Checksum 16:42:01 33b1e0a273af: Download complete 16:42:01 5d3b04190fa2: Download complete 16:42:01 ec43610c2a17: Verifying Checksum 16:42:01 ec43610c2a17: Download complete 16:42:01 5eb5b503b376: Verifying Checksum 16:42:01 5eb5b503b376: Download complete 16:42:02 2f39f015ded8: Download complete 16:42:02 5eb5b503b376: Pull complete 16:42:02 5c69ac0246d0: Pull complete 16:42:03 ec43610c2a17: Pull complete 16:42:03 3a2ae6a8a46f: Pull complete 16:42:03 33b1e0a273af: Pull complete 16:42:03 5d3b04190fa2: Pull complete 16:42:07 2f39f015ded8: Pull complete 16:42:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:08 prd-ubuntu20.04-docker-8c-8g-1659 does not seem to be running inside a container 16:42:08 $ 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/68/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/68 -v /w/workspace/edgex-go/68:/w/workspace/edgex-go/68:rw,z -v /w/workspace/edgex-go/68@tmp:/w/workspace/edgex-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:42:09 $ docker top a88090559925ceaee044838cc6a7cfc868d491882979c7b940bd28eedcb512bc -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:10 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:10 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:10 + ls /var/log/sa-host 16:42:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:10 provisioning config files... 16:42:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/68@tmp/config1029736245485240421tmp [Pipeline] { [Pipeline] echo 16:42:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:11 ---> create-netrc.sh [Pipeline] } 16:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:11 ---> python-tools-install.sh [Pipeline] echo 16:42:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:11 ---> sudo-logs.sh 16:42:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:12 ---> job-cost.sh 16:42:12 lf-activate-venv: SKIPPING 16:42:12 DEBUG: total: 0.10999999940395355 16:42:12 INFO: Retrieving Stack Cost... 16:42:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:42:13 INFO: Archiving Costs [Pipeline] echo 16:42:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:42:13 ---> logs-deploy.sh 16:42:13 lf-activate-venv: SKIPPING 16:42:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/68 16:42:13 INFO: archiving workspace using pattern(s): 16:42:14 Archives upload complete. 16:42:14 INFO: archiving logs to Nexus