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 fed831e05d45eedf309a161f019c6bf56688bfb5 rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from fed831e05d45eedf309a161f019c6bf56688bfb5 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-ssh1825022056831632455.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e2cac8b444d664382c771f5dccbf61e369ddf83e 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-ssh2145359552937160258.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 e2cac8b444d664382c771f5dccbf61e369ddf83e 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-ssh6651360552204629112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e2cac8b444d664382c771f5dccbf61e369ddf83e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e2cac8b444d664382c771f5dccbf61e369ddf83e # timeout=10 Commit message: "Merge pull request #396 from ernestojeda/snyk-enhancements" > 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-ssh13484216683025746630.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-ssh2536658749674478558.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 Running on prd-ubuntu20.04-docker-8c-8g-962 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/67 [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/67 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fed831e05d45eedf309a161f019c6bf56688bfb5 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 Checking out Revision 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fed831e05d45eedf309a161f019c6bf56688bfb5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 # timeout=10 Commit message: "Merge commit 'fed831e05d45eedf309a161f019c6bf56688bfb5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:31:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:31:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:31:02 ========================================================= 16:31:02 EdgeX Global Pipelines Version Info 16:31:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b2858a68591b84d805b23a360af885db1cb680b5 # timeout=10 16:31:02 ------------------- 16:31:02 stable info: 16:31:02 ------------------- 16:31:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:31:02 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 16:31:02 Message: update stable to v1.0.231 16:31:03 ------------------- 16:31:03 experimental info: 16:31:03 ------------------- 16:31:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:31:03 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 16:31:03 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b2750a [Pipeline] echo 16:31:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:31:03 provisioning config files... 16:31:03 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/67@tmp/config3362748095137981423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:04 ---> docker-login.sh 16:31:04 nexus3.edgexfoundry.org:10001 16:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:04 Configure a credential helper to remove this warning. See 16:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:04 16:31:04 Login Succeeded 16:31:04 nexus3.edgexfoundry.org:10002 16:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:04 Configure a credential helper to remove this warning. See 16:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:04 16:31:04 Login Succeeded 16:31:04 nexus3.edgexfoundry.org:10003 16:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:04 Configure a credential helper to remove this warning. See 16:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:04 16:31:04 Login Succeeded 16:31:04 nexus3.edgexfoundry.org:10004 16:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:05 Configure a credential helper to remove this warning. See 16:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:05 16:31:05 Login Succeeded 16:31:05 docker.io 16:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:05 Configure a credential helper to remove this warning. See 16:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:05 16:31:05 Login Succeeded 16:31:05 ---> docker-login.sh ends [Pipeline] } 16:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:05 + 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:05 + dirname cmd/core-command/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo core-command,cmd/core-command/Dockerfile 16:31:05 + dirname cmd/core-data/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo core-data,cmd/core-data/Dockerfile 16:31:05 + dirname cmd/core-metadata/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo core-metadata,cmd/core-metadata/Dockerfile 16:31:05 + dirname cmd/security-bootstrapper/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:31:05 + dirname cmd/security-proxy-setup/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:31:05 + dirname cmd/security-secretstore-setup/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:31:05 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:31:05 + + cut -d/dirname -f2 cmd/security-spire-agent/Dockerfile 16:31:05 16:31:05 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:31:05 + dirname cmd/security-spire-config/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:31:05 + dirname cmd/security-spire-server/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:31:05 + dirname cmd/support-notifications/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo support-notifications,cmd/support-notifications/Dockerfile 16:31:05 + dirname cmd/support-scheduler/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:31:05 + cut -d/ -f2 16:31:05 + dirname cmd/sys-mgmt-agent/Dockerfile 16:31:05 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:31:05 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:06 + git rev-list -1 --merges 9b2750a78661b5a1db9f7b6fe930fa49af0f9812~1..9b2750a78661b5a1db9f7b6fe930fa49af0f9812 [Pipeline] echo 16:31:06 -----------> git rev-list -1 --merges 9b2750a78661b5a1db9f7b6fe930fa49af0f9812~1..9b2750a78661b5a1db9f7b6fe930fa49af0f9812 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 16:31:06 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 [false] [Pipeline] sh 16:31:06 + git log --format=format:%s -1 9b2750a78661b5a1db9f7b6fe930fa49af0f9812 [Pipeline] echo 16:31:06 ========================================================= 16:31:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:31:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:31:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:31:07 + grep -v github /etc/ssh/ssh_known_hosts 16:31:07 + [ -e /tmp/ssh_known_hosts ] 16:31:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:31:07 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:31:07 sudo tee -a /etc/ssh/ssh_known_hosts 16:31:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:31:07 16:31:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:31:07 latest: Pulling from edgex-devops/py-git-semver 16:31:07 42c077c10790: Pulling fs layer 16:31:07 f63e77b7563a: Pulling fs layer 16:31:07 bd5fdadae976: Pulling fs layer 16:31:07 205491f53016: Pulling fs layer 16:31:07 df18705c85c3: Pulling fs layer 16:31:07 bdb3f477010e: Pulling fs layer 16:31:07 c8a8fc8e1c8f: Pulling fs layer 16:31:07 2c6e9b1d212d: Pulling fs layer 16:31:07 bdb8f0575790: Pulling fs layer 16:31:07 386e3cb2ff24: Pulling fs layer 16:31:07 2343380bae48: Pulling fs layer 16:31:07 c8a8fc8e1c8f: Waiting 16:31:07 2c6e9b1d212d: Waiting 16:31:07 bdb8f0575790: Waiting 16:31:07 386e3cb2ff24: Waiting 16:31:07 2343380bae48: Waiting 16:31:07 205491f53016: Waiting 16:31:07 bdb3f477010e: Waiting 16:31:07 df18705c85c3: Waiting 16:31:07 f63e77b7563a: Verifying Checksum 16:31:07 f63e77b7563a: Download complete 16:31:07 205491f53016: Download complete 16:31:07 df18705c85c3: Verifying Checksum 16:31:07 df18705c85c3: Download complete 16:31:07 bd5fdadae976: Verifying Checksum 16:31:07 bd5fdadae976: Download complete 16:31:07 bdb3f477010e: Verifying Checksum 16:31:07 bdb3f477010e: Download complete 16:31:07 2c6e9b1d212d: Verifying Checksum 16:31:07 2c6e9b1d212d: Download complete 16:31:07 bdb8f0575790: Verifying Checksum 16:31:07 bdb8f0575790: Download complete 16:31:07 386e3cb2ff24: Verifying Checksum 16:31:07 386e3cb2ff24: Download complete 16:31:07 2343380bae48: Verifying Checksum 16:31:07 2343380bae48: Download complete 16:31:07 42c077c10790: Verifying Checksum 16:31:07 42c077c10790: Download complete 16:31:08 c8a8fc8e1c8f: Download complete 16:31:09 42c077c10790: Pull complete 16:31:09 f63e77b7563a: Pull complete 16:31:10 bd5fdadae976: Pull complete 16:31:10 205491f53016: Pull complete 16:31:10 df18705c85c3: Pull complete 16:31:10 bdb3f477010e: Pull complete 16:31:12 c8a8fc8e1c8f: Pull complete 16:31:12 2c6e9b1d212d: Pull complete 16:31:12 bdb8f0575790: Pull complete 16:31:12 386e3cb2ff24: Pull complete 16:31:12 2343380bae48: Pull complete 16:31:12 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:31:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:12 prd-ubuntu20.04-docker-8c-8g-962 does not seem to be running inside a container 16:31:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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-devops/py-git-semver:latest cat 16:31:14 $ docker top 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 -eo pid,comm 16:31:14 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:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:15 [ssh-agent] Looking for ssh-agent implementation... 16:31:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:15 $ docker exec 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 ssh-agent 16:31:15 SSH_AUTH_SOCK=/tmp/ssh-aBzOitY5NhHr/agent.34 16:31:15 SSH_AGENT_PID=40 16:31:15 Running ssh-add (command line suppressed) 16:31:15 Identity added: /w/workspace/edgex-go/67@tmp/private_key_6804731042950050183.key (/w/workspace/edgex-go/67@tmp/private_key_6804731042950050183.key) 16:31:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:15 + git tag --points-at HEAD [Pipeline] } 16:31:15 $ docker exec --env ******** --env ******** 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 ssh-agent -k 16:31:15 unset SSH_AUTH_SOCK; 16:31:15 unset SSH_AGENT_PID; 16:31:15 echo Agent pid 40 killed; 16:31:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:31:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:15 [ssh-agent] Looking for ssh-agent implementation... 16:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:16 $ docker exec 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 ssh-agent 16:31:16 SSH_AUTH_SOCK=/tmp/ssh-RD8EtGnaWL53/agent.73 16:31:16 SSH_AGENT_PID=79 16:31:16 Running ssh-add (command line suppressed) 16:31:16 Identity added: /w/workspace/edgex-go/67@tmp/private_key_5003982977358552220.key (/w/workspace/edgex-go/67@tmp/private_key_5003982977358552220.key) 16:31:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:16 + git semver init 16:31:16 2022-06-03 16:31:16,820 [run_init] DEBUG init version:0.0.0 force:False 16:31:16 2022-06-03 16:31:16,821 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/67/.semver 16:31:16 2022-06-03 16:31:16,822 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/67/.semver 16:31:16 2022-06-03 16:31:16,822 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/67/.semver'], cwd=/w/workspace/edgex-go/67, universal_newlines=False, shell=None, istream=None) 16:31:21 2022-06-03 16:31:20,932 [append_file] DEBUG append to file:/w/workspace/edgex-go/67/.git/info/exclude 16:31:21 2022-06-03 16:31:20,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/67/.semver/PR-3842 with force:False 16:31:21 2022-06-03 16:31:20,933 [write_file] DEBUG write to file:/w/workspace/edgex-go/67/.semver/PR-3842 16:31:21 2022-06-03 16:31:20,938 [execute] INFO git cat-file --batch-check 16:31:21 2022-06-03 16:31:20,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/67/.semver, universal_newlines=False, shell=None, istream=) 16:31:21 2022-06-03 16:31:20,945 [execute] INFO git cat-file --batch 16:31:21 2022-06-03 16:31:20,945 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/67/.semver, universal_newlines=False, shell=None, istream=) 16:31:21 2022-06-03 16:31:20,952 [read_version] DEBUG read version from /w/workspace/edgex-go/67/.semver/PR-3842 16:31:21 0.0.0 [Pipeline] } 16:31:21 $ docker exec --env ******** --env ******** 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 ssh-agent -k 16:31:21 unset SSH_AUTH_SOCK; 16:31:21 unset SSH_AGENT_PID; 16:31:21 echo Agent pid 79 killed; 16:31:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:21 + git semver [Pipeline] } 16:31:22 $ docker stop --time=1 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 16:31:23 $ docker rm -f 0ff2c9a1d0c1af0586a6031e3a6908ae6861cd6259a2d3f8d220e2ef45f0c853 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:31:24 Stashed 1 file(s) [Pipeline] echo 16:31:24 [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:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:24 ========================================================= 16:31:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:31:24 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:31:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:31:24 59bf1c3509f3: Pulling fs layer 16:31:24 666ba61612fd: Pulling fs layer 16:31:24 8ed8ca486205: Pulling fs layer 16:31:24 4fe6c5a15a65: Pulling fs layer 16:31:24 22a0e8bec74d: Pulling fs layer 16:31:24 ca2b28591e48: Pulling fs layer 16:31:24 a51346096db8: Pulling fs layer 16:31:24 daebc70d1ce1: Pulling fs layer 16:31:24 0e18a0eac166: Pulling fs layer 16:31:24 4fe6c5a15a65: Waiting 16:31:24 22a0e8bec74d: Waiting 16:31:24 ca2b28591e48: Waiting 16:31:24 a51346096db8: Waiting 16:31:24 daebc70d1ce1: Waiting 16:31:24 0e18a0eac166: Waiting 16:31:24 8ed8ca486205: Download complete 16:31:24 666ba61612fd: Verifying Checksum 16:31:24 666ba61612fd: Download complete 16:31:24 22a0e8bec74d: Verifying Checksum 16:31:24 22a0e8bec74d: Download complete 16:31:24 ca2b28591e48: Verifying Checksum 16:31:24 ca2b28591e48: Download complete 16:31:24 59bf1c3509f3: Verifying Checksum 16:31:24 59bf1c3509f3: Download complete 16:31:24 a51346096db8: Verifying Checksum 16:31:24 a51346096db8: Download complete 16:31:24 daebc70d1ce1: Verifying Checksum 16:31:24 daebc70d1ce1: Download complete 16:31:24 59bf1c3509f3: Pull complete 16:31:25 666ba61612fd: Pull complete 16:31:25 8ed8ca486205: Pull complete 16:31:25 0e18a0eac166: Verifying Checksum 16:31:25 0e18a0eac166: Download complete 16:31:25 4fe6c5a15a65: Verifying Checksum 16:31:25 4fe6c5a15a65: Download complete 16:31:29 4fe6c5a15a65: Pull complete 16:31:29 22a0e8bec74d: Pull complete 16:31:29 ca2b28591e48: Pull complete 16:31:29 a51346096db8: Pull complete 16:31:29 daebc70d1ce1: Pull complete 16:31:32 0e18a0eac166: Pull complete 16:31:32 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:31:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:31:32 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:32 WORKDIR /edgex 16:31:32 COPY go.mod . 16:31:32 RUN go mod download 16:31:32 + docker build -t ci-base-image-x86_64 -f - . 16:31:33 Sending build context to Docker daemon 335.2MB 16:31:33 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:33 ---> f018257e8ee9 16:31:33 Step 2/4 : WORKDIR /edgex 16:31:38 ---> Running in 1cd7c4593eb8 16:31:38 Removing intermediate container 1cd7c4593eb8 16:31:38 ---> 8f4a61941bfe 16:31:38 Step 3/4 : COPY go.mod . 16:31:38 ---> 750daa7113d2 16:31:38 Step 4/4 : RUN go mod download 16:31:38 ---> Running in 6f9f4b5f8be4 16:31:39 Still waiting to schedule task 16:31:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-963’ is offline 16:31:53 Removing intermediate container 6f9f4b5f8be4 16:31:53 ---> cc8f734b3401 16:31:53 Successfully built cc8f734b3401 16:31:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:53 + docker inspect -f . ci-base-image-x86_64 16:31:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:53 prd-ubuntu20.04-docker-8c-8g-962 does not seem to be running inside a container 16:31:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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 ******** -e ******** ci-base-image-x86_64 cat 16:31:54 $ docker top 83d540a4b2dbb2d5312a05465fb66f36e201261fe43ec2df774b694cd84874e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:54 + go version 16:31:54 go version go1.17.6 linux/amd64 [Pipeline] } 16:31:54 $ docker stop --time=1 83d540a4b2dbb2d5312a05465fb66f36e201261fe43ec2df774b694cd84874e3 16:31:55 $ docker rm -f 83d540a4b2dbb2d5312a05465fb66f36e201261fe43ec2df774b694cd84874e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:56 + docker inspect -f . ci-base-image-x86_64 16:31:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:56 prd-ubuntu20.04-docker-8c-8g-962 does not seem to be running inside a container 16:31:56 $ 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/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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 ******** -e ******** ci-base-image-x86_64 cat 16:31:57 $ docker top b08405604ff2a38e75fe022e0fcd9ce4a8bfdff2f815a01948c60e71a1122303 -eo pid,comm [Pipeline] { [Pipeline] echo 16:31:57 ========================================================= 16:31:57 [edgeXBuildGoParallel] Running Tests and Build... 16:31:57 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:31:57 + make test 16:31:57 go mod tidy -compat=1.17 16:31:57 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:31:57 go: finding module for package github.com/prometheus/client_golang/prometheus 16:31:57 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:31:57 go: downloading github.com/prometheus/client_golang v1.12.2 16:31:57 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1623 16:32:04 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:32:04 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:32:04 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1623 16:32:04 go: downloading github.com/prometheus/client_model v0.2.0 16:32:04 go: downloading github.com/prometheus/common v0.32.1 16:32:04 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:32:04 go: downloading github.com/beorn7/perks v1.0.1 16:32:04 go: downloading github.com/prometheus/procfs v0.7.3 16:32:04 go: downloading gopkg.in/ini.v1 v1.66.2 16:32:04 go: downloading github.com/json-iterator/go v1.1.12 16:32:04 go: downloading github.com/modern-go/reflect2 v1.0.2 16:32:04 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:32:04 go: downloading gopkg.in/yaml.v2 v2.4.0 16:32:04 go: downloading github.com/google/btree v1.0.0 16:32:04 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:32:04 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:32:04 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:32:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:32:11 ? github.com/edgexfoundry/edgex-go [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:32:23 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:32:26 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:32:26 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:26 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:32:26 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:32:26 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:32:26 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:32:26 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:32:26 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:26 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:32:26 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:32:26 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:32:26 /w/workspace/edgex-go/67/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:32:26 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.056s coverage: 28.7% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.144s coverage: 98.5% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.088s coverage: 53.4% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.712s coverage: 89.2% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.076s coverage: 83.8% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.506s coverage: 95.6% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/io 0.081s coverage: 72.2% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.072s coverage: 60.0% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.076s coverage: 0.9% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.071s coverage: 58.8% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.052s coverage: 29.6% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.082s coverage: 47.1% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.062s coverage: 79.5% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.070s coverage: 96.3% of statements 16:32:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 16:32:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.089s coverage: 94.4% of statements 16:32:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.060s coverage: 44.8% of statements 16:32:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.215s coverage: 82.5% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.087s coverage: 92.9% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.041s coverage: 65.1% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.073s coverage: 58.8% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.065s coverage: 80.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.056s coverage: 87.2% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.068s coverage: 85.4% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.155s coverage: 91.2% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.138s coverage: 64.4% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.059s coverage: 100.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.046s coverage: 89.4% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.022s coverage: 100.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.384s coverage: 65.4% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.151s coverage: 43.8% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.063s coverage: 89.5% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements 16:32:49 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:32:49 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.055s coverage: 63.2% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.123s coverage: 97.7% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.056s coverage: 28.9% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements 16:32:49 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 16:32:49 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:32:49 $ docker stop --time=1 b08405604ff2a38e75fe022e0fcd9ce4a8bfdff2f815a01948c60e71a1122303 16:32:51 $ docker rm -f b08405604ff2a38e75fe022e0fcd9ce4a8bfdff2f815a01948c60e71a1122303 [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:52 Failed in branch amd64 16:34:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-964 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 16:34:12 Running in /w/workspace/edgex-go/67 [Pipeline] { [Pipeline] checkout 16:34:12 The recommended git tool is: git 16:34:20 using credential edgex-jenkins-ssh 16:34:20 Cloning the remote Git repository 16:34:20 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:34:20 > git init /w/workspace/edgex-go/67 # timeout=10 16:34:20 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:34:20 > git --version # timeout=10 16:34:20 > git --version # 'git version 2.25.1' 16:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:39 Merging remotes/origin/main commit fed831e05d45eedf309a161f019c6bf56688bfb5 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 16:34:38 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:34:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:38 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:34:38 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:34:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:38 > 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:34:39 > git config core.sparsecheckout # timeout=10 16:34:39 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 16:34:39 > git remote # timeout=10 16:34:39 > git config --get remote.origin.url # timeout=10 16:34:39 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:39 > git merge fed831e05d45eedf309a161f019c6bf56688bfb5 # timeout=10 16:34:40 Merge succeeded, producing 24197258652221779b46f08233cb10b48410d0de 16:34:40 Checking out Revision 24197258652221779b46f08233cb10b48410d0de (PR-3842) 16:34:40 > git rev-parse HEAD^{commit} # timeout=10 16:34:40 > git config core.sparsecheckout # timeout=10 16:34:40 > git checkout -f 24197258652221779b46f08233cb10b48410d0de # timeout=10 16:34:44 Commit message: "Merge commit 'fed831e05d45eedf309a161f019c6bf56688bfb5' into HEAD" 16:34:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:34:45 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:45 Dload Upload Total Spent Left Speed 16:34:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 16:34:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:34:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:34:46 + sudo tee /etc/docker/daemon.new 16:34:46 { 16:34:46 "registry-mirrors": [ 16:34:46 "https://nexus3.edgexfoundry.org:10001" 16:34:46 ], 16:34:46 "bip": "10.250.0.254/24", 16:34:46 "hosts": [ 16:34:46 "tcp://0.0.0.0:5555", 16:34:46 "unix:///var/run/docker.sock" 16:34:46 ], 16:34:46 "mtu": 1458, 16:34:46 "selinux-enabled": true, 16:34:46 "seccomp-profile": "/etc/docker/seccomp.json" 16:34:46 } [Pipeline] sh 16:34:44 > git rev-list --no-walk b2858a68591b84d805b23a360af885db1cb680b5 # timeout=10 16:34:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:34:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:05 provisioning config files... 16:35:05 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/67@tmp/config5550110364499479646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:06 ---> docker-login.sh 16:35:06 nexus3.edgexfoundry.org:10001 16:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:07 Configure a credential helper to remove this warning. See 16:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:07 16:35:07 Login Succeeded 16:35:07 nexus3.edgexfoundry.org:10002 16:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:07 Configure a credential helper to remove this warning. See 16:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:07 16:35:07 Login Succeeded 16:35:07 nexus3.edgexfoundry.org:10003 16:35:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:08 Configure a credential helper to remove this warning. See 16:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:08 16:35:08 Login Succeeded 16:35:08 nexus3.edgexfoundry.org:10004 16:35:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:08 Configure a credential helper to remove this warning. See 16:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:08 16:35:08 Login Succeeded 16:35:08 docker.io 16:35:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:09 Configure a credential helper to remove this warning. See 16:35:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:09 16:35:09 Login Succeeded 16:35:09 ---> docker-login.sh ends [Pipeline] } 16:35:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:09 ========================================================= 16:35:09 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:35:09 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:35:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:10 9b3977197b4f: Pulling fs layer 16:35:10 1a89e8eeedd5: Pulling fs layer 16:35:10 94645a83ff95: Pulling fs layer 16:35:10 3f3a8bcf1eab: Pulling fs layer 16:35:10 0c92f367c5e7: Pulling fs layer 16:35:10 3096ccb668a1: Pulling fs layer 16:35:10 e8cf19c19ddd: Pulling fs layer 16:35:10 a4caa8a26152: Pulling fs layer 16:35:10 3096ccb668a1: Waiting 16:35:10 e8cf19c19ddd: Waiting 16:35:10 3f3a8bcf1eab: Waiting 16:35:10 0c92f367c5e7: Waiting 16:35:10 94645a83ff95: Verifying Checksum 16:35:10 94645a83ff95: Download complete 16:35:10 1a89e8eeedd5: Verifying Checksum 16:35:10 1a89e8eeedd5: Download complete 16:35:10 0c92f367c5e7: Verifying Checksum 16:35:10 0c92f367c5e7: Download complete 16:35:10 3096ccb668a1: Verifying Checksum 16:35:10 3096ccb668a1: Download complete 16:35:10 9b3977197b4f: Download complete 16:35:10 e8cf19c19ddd: Verifying Checksum 16:35:10 e8cf19c19ddd: Download complete 16:35:11 9b3977197b4f: Pull complete 16:35:11 1a89e8eeedd5: Pull complete 16:35:11 94645a83ff95: Pull complete 16:35:12 a4caa8a26152: Verifying Checksum 16:35:12 a4caa8a26152: Download complete 16:35:13 3f3a8bcf1eab: Download complete 16:35:25 3f3a8bcf1eab: Pull complete 16:35:25 0c92f367c5e7: Pull complete 16:35:25 3096ccb668a1: Pull complete 16:35:26 e8cf19c19ddd: Pull complete 16:35:32 a4caa8a26152: Pull complete 16:35:32 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:35:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:35:33 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:33 WORKDIR /edgex 16:35:33 COPY go.mod . 16:35:33 RUN go mod download 16:35:33 + docker build -t ci-base-image-arm64 -f - . 16:35:35 Sending build context to Docker daemon 169.3MB 16:35:35 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:35 ---> 725f1c02e7f9 16:35:35 Step 2/4 : WORKDIR /edgex 16:35:37 ---> Running in d937bf00809b 16:35:37 Removing intermediate container d937bf00809b 16:35:37 ---> 28554731253a 16:35:37 Step 3/4 : COPY go.mod . 16:35:38 ---> e01571b550df 16:35:38 Step 4/4 : RUN go mod download 16:35:38 ---> Running in 6fe97a39706c 16:36:25 Removing intermediate container 6fe97a39706c 16:36:25 ---> 335c0528799b 16:36:25 Successfully built 335c0528799b 16:36:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:25 + docker inspect -f . ci-base-image-arm64 16:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:26 prd-ubuntu20.04-docker-arm64-4c-16g-964 does not seem to be running inside a container 16:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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 ******** -e ******** ci-base-image-arm64 cat 16:36:27 $ docker top 4f0bdf19c1da9e66ce5eb1b1c19cf78477d377573cc0017d9c66457d6600931c -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:28 + go version 16:36:28 go version go1.17.6 linux/arm64 [Pipeline] } 16:36:28 $ docker stop --time=1 4f0bdf19c1da9e66ce5eb1b1c19cf78477d377573cc0017d9c66457d6600931c 16:36:30 $ docker rm -f 4f0bdf19c1da9e66ce5eb1b1c19cf78477d377573cc0017d9c66457d6600931c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:30 + docker inspect -f . ci-base-image-arm64 16:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:31 prd-ubuntu20.04-docker-arm64-4c-16g-964 does not seem to be running inside a container 16:36:31 $ 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/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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 ******** -e ******** ci-base-image-arm64 cat 16:36:32 $ docker top 5167cc37fba0cdcd52220ea72d4afcf16cd5e382c6e8b5de5c57369898000148 -eo pid,comm [Pipeline] { [Pipeline] echo 16:36:32 ========================================================= 16:36:32 [edgeXBuildGoParallel] Running Tests and Build... 16:36:32 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:36:33 + make test 16:36:33 go mod tidy -compat=1.17 16:36:34 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:36:34 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:36:34 go: finding module for package github.com/prometheus/client_golang/prometheus 16:36:34 go: downloading github.com/prometheus/client_golang v1.12.2 16:36:34 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1623 16:36:56 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:36:56 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:36:56 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1623 16:36:58 go: downloading github.com/prometheus/common v0.32.1 16:36:58 go: downloading github.com/prometheus/client_model v0.2.0 16:36:58 go: downloading github.com/beorn7/perks v1.0.1 16:36:58 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:36:58 go: downloading github.com/prometheus/procfs v0.7.3 16:36:58 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:36:58 go: downloading github.com/json-iterator/go v1.1.12 16:36:58 go: downloading github.com/modern-go/reflect2 v1.0.2 16:36:58 go: downloading gopkg.in/ini.v1 v1.66.2 16:36:59 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:36:59 go: downloading gopkg.in/yaml.v2 v2.4.0 16:36:59 go: downloading github.com/google/btree v1.0.0 16:36:59 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:36:59 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:36:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:37:38 ? github.com/edgexfoundry/edgex-go [no test files] 16:39:15 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:39:19 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:39:19 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:39:19 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:39:31 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:39:31 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:39:31 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:39:31 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:39:31 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:39:54 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:39:54 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:39:54 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:39:54 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:39:54 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:39:54 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:39:54 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:39:54 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:39:54 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:39:54 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:39:54 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:39:54 /w/workspace/edgex-go/67/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:39:54 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:39:54 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.352s coverage: 28.7% of statements 16:39:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.436s coverage: 98.5% of statements 16:39:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.449s coverage: 53.4% of statements 16:40:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 16.972s coverage: 89.2% of statements 16:40:18 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.296s coverage: 83.8% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.271s coverage: 95.6% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/io 0.249s coverage: 72.2% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.479s coverage: 60.0% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.306s coverage: 0.9% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.456s coverage: 58.8% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.222s coverage: 29.6% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.281s coverage: 47.1% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.383s coverage: 79.5% of statements 16:40:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.217s coverage: 94.1% of statements 16:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.251s coverage: 96.3% of statements 16:40:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.238s coverage: 87.5% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.225s coverage: 94.4% of statements 16:40:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.221s coverage: 44.8% of statements 16:40:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.659s coverage: 82.5% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.339s coverage: 92.9% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.068s coverage: 65.1% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.212s coverage: 87.2% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.259s coverage: 58.8% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.252s coverage: 80.0% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.240s coverage: 87.2% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.278s coverage: 85.4% of statements 16:40:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.813s coverage: 91.2% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.990s coverage: 64.4% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.255s coverage: 100.0% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.113s coverage: 89.4% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.062s coverage: 100.0% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.082s coverage: 73.7% of statements 16:40:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.064s coverage: 100.0% of statements 16:41:01 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.398s coverage: 65.4% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.020s coverage: 43.8% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.214s coverage: 89.5% of statements 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.229s coverage: 84.8% of statements 16:41:02 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:41:02 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:41:02 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.256s coverage: 63.2% of statements 16:41:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.429s coverage: 97.7% of statements 16:41:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.256s coverage: 28.9% of statements 16:41:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.337s coverage: 100.0% of statements 16:41:07 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.093s coverage: 96.9% of statements 16:41:07 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:41:07 $ docker stop --time=1 5167cc37fba0cdcd52220ea72d4afcf16cd5e382c6e8b5de5c57369898000148 16:41:09 $ docker rm -f 5167cc37fba0cdcd52220ea72d4afcf16cd5e382c6e8b5de5c57369898000148 [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:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:14 16:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:15 arm64: Pulling from edgex-lftools-log-publisher 16:41:15 8998bd30e6a1: Pulling fs layer 16:41:15 04944245beec: Pulling fs layer 16:41:15 699f458cf7ca: Pulling fs layer 16:41:15 765212b225bb: Pulling fs layer 16:41:15 f23df028b6ca: Pulling fs layer 16:41:15 d65c8cfc05b1: Pulling fs layer 16:41:15 2437ff75d9bd: Pulling fs layer 16:41:15 765212b225bb: Waiting 16:41:15 d65c8cfc05b1: Waiting 16:41:15 2437ff75d9bd: Waiting 16:41:15 f23df028b6ca: Waiting 16:41:15 04944245beec: Download complete 16:41:15 765212b225bb: Verifying Checksum 16:41:15 765212b225bb: Download complete 16:41:15 f23df028b6ca: Verifying Checksum 16:41:15 f23df028b6ca: Download complete 16:41:15 d65c8cfc05b1: Verifying Checksum 16:41:15 d65c8cfc05b1: Download complete 16:41:15 699f458cf7ca: Verifying Checksum 16:41:15 699f458cf7ca: Download complete 16:41:15 8998bd30e6a1: Verifying Checksum 16:41:15 8998bd30e6a1: Download complete 16:41:18 2437ff75d9bd: Download complete 16:41:20 8998bd30e6a1: Pull complete 16:41:20 04944245beec: Pull complete 16:41:22 699f458cf7ca: Pull complete 16:41:22 765212b225bb: Pull complete 16:41:23 f23df028b6ca: Pull complete 16:41:23 d65c8cfc05b1: Pull complete 16:41:38 2437ff75d9bd: Pull complete 16:41:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:38 prd-ubuntu20.04-docker-arm64-4c-16g-964 does not seem to be running inside a container 16:41:38 $ 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/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:41:41 $ docker top 2d1042b5292b93319056d14d76212347e23de1d8db8564b1f24653a56cd7b190 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:42 ---> job-cost.sh 16:41:42 lf-activate-venv: SKIPPING 16:41:42 INFO: No Stack... 16:41:42 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:43 INFO: Archiving Costs [Pipeline] sh 16:41:44 + cat /w/workspace/edgex-go/67/archives/cost.csv 16:41:44 + cut -d, -f6 [Pipeline] lock 16:41:44 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-67-stack-cost] 16:41:44 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-67-stack-cost] did not exist. Created. 16:41:44 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:45 + echo total: 0.10999999940395355 [Pipeline] stash 16:41:45 Stashed 1 file(s) [Pipeline] } 16:41:45 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-67-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:45 $ docker stop --time=1 2d1042b5292b93319056d14d76212347e23de1d8db8564b1f24653a56cd7b190 16:41:47 $ docker rm -f 2d1042b5292b93319056d14d76212347e23de1d8db8564b1f24653a56cd7b190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:41:47 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:48 + [ -d /w/workspace/edgex-go/67/archives ] [Pipeline] libraryResource [Pipeline] sh 16:41:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:41:49 ---> package-listing.sh 16:41:49 ++ facter osfamily 16:41:49 ++ tr '[:upper:]' '[:lower:]' 16:41:49 + OS_FAMILY=debian 16:41:49 + workspace=/w/workspace/edgex-go/67 16:41:49 + START_PACKAGES=/tmp/packages_start.txt 16:41:49 + END_PACKAGES=/tmp/packages_end.txt 16:41:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:41:49 + PACKAGES=/tmp/packages_start.txt 16:41:49 + '[' /w/workspace/edgex-go/67 ']' 16:41:49 + PACKAGES=/tmp/packages_end.txt 16:41:49 + case "${OS_FAMILY}" in 16:41:49 + dpkg -l 16:41:49 + grep '^ii' 16:41:49 + '[' -f /tmp/packages_start.txt ']' 16:41:49 + '[' -f /tmp/packages_end.txt ']' 16:41:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:41:49 + '[' /w/workspace/edgex-go/67 ']' 16:41:49 + mkdir -p /w/workspace/edgex-go/67/archives/ 16:41:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/67/archives/ [Pipeline] echo 16:41:49 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/67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:41:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:50 16:41:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:50 latest: Pulling from edgex-lftools-log-publisher 16:41:50 5eb5b503b376: Pulling fs layer 16:41:50 5c69ac0246d0: Pulling fs layer 16:41:50 ec43610c2a17: Pulling fs layer 16:41:50 3a2ae6a8a46f: Pulling fs layer 16:41:50 33b1e0a273af: Pulling fs layer 16:41:50 5d3b04190fa2: Pulling fs layer 16:41:50 2f39f015ded8: Pulling fs layer 16:41:50 3a2ae6a8a46f: Waiting 16:41:50 33b1e0a273af: Waiting 16:41:50 5d3b04190fa2: Waiting 16:41:50 2f39f015ded8: Waiting 16:41:50 5c69ac0246d0: Verifying Checksum 16:41:50 5c69ac0246d0: Download complete 16:41:50 3a2ae6a8a46f: Verifying Checksum 16:41:50 3a2ae6a8a46f: Download complete 16:41:50 33b1e0a273af: Verifying Checksum 16:41:50 33b1e0a273af: Download complete 16:41:50 5d3b04190fa2: Verifying Checksum 16:41:50 5d3b04190fa2: Download complete 16:41:50 ec43610c2a17: Download complete 16:41:50 5eb5b503b376: Verifying Checksum 16:41:50 5eb5b503b376: Download complete 16:41:51 2f39f015ded8: Download complete 16:41:52 5eb5b503b376: Pull complete 16:41:52 5c69ac0246d0: Pull complete 16:41:52 ec43610c2a17: Pull complete 16:41:53 3a2ae6a8a46f: Pull complete 16:41:53 33b1e0a273af: Pull complete 16:41:53 5d3b04190fa2: Pull complete 16:41:58 2f39f015ded8: Pull complete 16:41:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:58 prd-ubuntu20.04-docker-8c-8g-962 does not seem to be running inside a container 16:41:58 $ 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/67/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/67 -v /w/workspace/edgex-go/67:/w/workspace/edgex-go/67:rw,z -v /w/workspace/edgex-go/67@tmp:/w/workspace/edgex-go/67@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:latest cat 16:42:00 $ docker top ee743bf72555d0ec4cb8c4b57739bbb90eb386853e3c2dc6bde267177535b8a6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:00 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:01 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:01 + ls /var/log/sa-host 16:42:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:01 provisioning config files... 16:42:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/67@tmp/config7368539231883744270tmp [Pipeline] { [Pipeline] echo 16:42:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:01 ---> create-netrc.sh [Pipeline] } 16:42:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:02 ---> python-tools-install.sh [Pipeline] echo 16:42:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:02 ---> sudo-logs.sh 16:42:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:02 ---> job-cost.sh 16:42:02 lf-activate-venv: SKIPPING 16:42:02 DEBUG: total: 0.10999999940395355 16:42:02 INFO: Retrieving Stack Cost... 16:42:03 INFO: Retrieving Pricing Info for: v3-standard-8 16:42:03 INFO: Archiving Costs [Pipeline] echo 16:42:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:42:03 ---> logs-deploy.sh 16:42:03 lf-activate-venv: SKIPPING 16:42:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/67 16:42:03 INFO: archiving workspace using pattern(s): 16:42:04 Archives upload complete. 16:42:04 INFO: archiving logs to Nexus