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 18107d571668bc071dc3670312a164098c2940fe rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 18107d571668bc071dc3670312a164098c2940fe 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-ssh4632441631069198382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12996800065029779356.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh9248795820780020972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh7981078820106776038.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-ssh18380927396909131471.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2596 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/69 [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/69 # 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 18107d571668bc071dc3670312a164098c2940fe into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 Checking out Revision 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 (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 18107d571668bc071dc3670312a164098c2940fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 # timeout=10 Commit message: "Merge commit '18107d571668bc071dc3670312a164098c2940fe' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:29:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:29:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:29:26 ========================================================= 16:29:26 EdgeX Global Pipelines Version Info 16:29:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e789775f7a729cc7d1794078c7db337e875de796 # timeout=10 16:29:27 ------------------- 16:29:27 stable info: 16:29:27 ------------------- 16:29:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:29:27 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:29:27 Message: update stable to v1.0.234 16:29:27 ------------------- 16:29:27 experimental info: 16:29:27 ------------------- 16:29:27 Commited By: **** collab-it+edgex@linuxfoundation.org 16:29:27 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:29:27 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 879cf1e [Pipeline] echo 16:29:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:28 provisioning config files... 16:29:28 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/69@tmp/config6395443081779621402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:28 ---> docker-login.sh 16:29:28 nexus3.edgexfoundry.org:10001 16:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:28 Configure a credential helper to remove this warning. See 16:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:28 16:29:28 Login Succeeded 16:29:28 nexus3.edgexfoundry.org:10002 16:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:29 Configure a credential helper to remove this warning. See 16:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:29 16:29:29 Login Succeeded 16:29:29 nexus3.edgexfoundry.org:10003 16:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:29 Configure a credential helper to remove this warning. See 16:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:29 16:29:29 Login Succeeded 16:29:29 nexus3.edgexfoundry.org:10004 16:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:29 Configure a credential helper to remove this warning. See 16:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:29 16:29:29 Login Succeeded 16:29:29 docker.io 16:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:30 Configure a credential helper to remove this warning. See 16:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:30 16:29:30 Login Succeeded 16:29:30 ---> docker-login.sh ends [Pipeline] } 16:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:30 + 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:29:30 + dirname cmd/core-command/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo core-command,cmd/core-command/Dockerfile 16:29:30 + dirname cmd/core-data/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo core-data,cmd/core-data/Dockerfile 16:29:30 + dirname cmd/core-metadata/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo core-metadata,cmd/core-metadata/Dockerfile 16:29:30 + + dirname cmd/security-bootstrapper/Dockerfile 16:29:30 cut -d/ -f2 16:29:30 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:29:30 + dirname cmd/security-proxy-setup/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:29:30 + dirname cmd/security-secretstore-setup/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:29:30 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:29:30 + dirname cmd/security-spire-agent/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:29:30 + dirname cmd/security-spire-config/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:29:30 + dirname cmd/security-spire-server/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:29:30 + dirname cmd/support-notifications/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo support-notifications,cmd/support-notifications/Dockerfile 16:29:30 + dirname cmd/support-scheduler/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:29:30 + dirname cmd/sys-mgmt-agent/Dockerfile 16:29:30 + cut -d/ -f2 16:29:30 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:29:30 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:29:30 + git rev-list -1 --merges 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8~1..879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 [Pipeline] echo 16:29:30 -----------> git rev-list -1 --merges 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8~1..879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 16:29:30 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 [false] [Pipeline] sh 16:29:31 + git log --format=format:%s -1 879cf1e4c9dcf59f2f88e5ce088e55b70d17fbf8 [Pipeline] echo 16:29:31 ========================================================= 16:29:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:29:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:29:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:31 + grep -v github /etc/ssh/ssh_known_hosts 16:29:31 + [ -e /tmp/ssh_known_hosts ] 16:29:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:29:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:29:31 + sudo tee -a /etc/ssh/ssh_known_hosts 16:29:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:32 16:29:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:32 0.1.4: Pulling from edgex-devops/py-git-semver 16:29:32 42c077c10790: Pulling fs layer 16:29:32 f63e77b7563a: Pulling fs layer 16:29:32 bd5fdadae976: Pulling fs layer 16:29:32 205491f53016: Pulling fs layer 16:29:32 df18705c85c3: Pulling fs layer 16:29:32 bdb3f477010e: Pulling fs layer 16:29:32 c8a8fc8e1c8f: Pulling fs layer 16:29:32 2c6e9b1d212d: Pulling fs layer 16:29:32 bdb8f0575790: Pulling fs layer 16:29:32 386e3cb2ff24: Pulling fs layer 16:29:32 2343380bae48: Pulling fs layer 16:29:32 c8a8fc8e1c8f: Waiting 16:29:32 2c6e9b1d212d: Waiting 16:29:32 2343380bae48: Waiting 16:29:32 bdb8f0575790: Waiting 16:29:32 386e3cb2ff24: Waiting 16:29:32 bdb3f477010e: Waiting 16:29:32 df18705c85c3: Waiting 16:29:32 f63e77b7563a: Download complete 16:29:32 205491f53016: Verifying Checksum 16:29:32 205491f53016: Download complete 16:29:32 df18705c85c3: Verifying Checksum 16:29:32 df18705c85c3: Download complete 16:29:32 bdb3f477010e: Verifying Checksum 16:29:32 bdb3f477010e: Download complete 16:29:32 bd5fdadae976: Verifying Checksum 16:29:32 bd5fdadae976: Download complete 16:29:32 2c6e9b1d212d: Verifying Checksum 16:29:32 bdb8f0575790: Verifying Checksum 16:29:32 bdb8f0575790: Download complete 16:29:32 386e3cb2ff24: Verifying Checksum 16:29:32 386e3cb2ff24: Download complete 16:29:32 2343380bae48: Verifying Checksum 16:29:32 2343380bae48: Download complete 16:29:32 42c077c10790: Verifying Checksum 16:29:32 42c077c10790: Download complete 16:29:32 c8a8fc8e1c8f: Download complete 16:29:34 42c077c10790: Pull complete 16:29:34 f63e77b7563a: Pull complete 16:29:34 bd5fdadae976: Pull complete 16:29:34 205491f53016: Pull complete 16:29:35 df18705c85c3: Pull complete 16:29:35 bdb3f477010e: Pull complete 16:29:37 c8a8fc8e1c8f: Pull complete 16:29:37 2c6e9b1d212d: Pull complete 16:29:37 bdb8f0575790: Pull complete 16:29:37 386e3cb2ff24: Pull complete 16:29:37 2343380bae48: Pull complete 16:29:37 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:37 prd-ubuntu20.04-docker-8c-8g-2596 does not seem to be running inside a container 16:29:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:29:38 $ docker top 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 -eo pid,comm 16:29:39 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:29:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:39 [ssh-agent] Looking for ssh-agent implementation... 16:29:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:39 $ docker exec 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 ssh-agent 16:29:39 SSH_AUTH_SOCK=/tmp/ssh-Qybb8NbWh0w7/agent.33 16:29:39 SSH_AGENT_PID=39 16:29:39 Running ssh-add (command line suppressed) 16:29:39 Identity added: /w/workspace/edgex-go/69@tmp/private_key_4205318991662511998.key (/w/workspace/edgex-go/69@tmp/private_key_4205318991662511998.key) 16:29:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:39 + git tag --points-at HEAD [Pipeline] } 16:29:39 $ docker exec --env ******** --env ******** 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 ssh-agent -k 16:29:39 unset SSH_AUTH_SOCK; 16:29:39 unset SSH_AGENT_PID; 16:29:39 echo Agent pid 39 killed; 16:29:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:39 [ssh-agent] Looking for ssh-agent implementation... 16:29:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:40 $ docker exec 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 ssh-agent 16:29:40 SSH_AUTH_SOCK=/tmp/ssh-jCdaSAPrrdTY/agent.71 16:29:40 SSH_AGENT_PID=77 16:29:40 Running ssh-add (command line suppressed) 16:29:40 Identity added: /w/workspace/edgex-go/69@tmp/private_key_6404690033107884359.key (/w/workspace/edgex-go/69@tmp/private_key_6404690033107884359.key) 16:29:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:40 + git semver init 16:29:40 2022-06-17 16:29:40,886 [run_init] DEBUG init version:0.0.0 force:False 16:29:40 2022-06-17 16:29:40,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/69/.semver 16:29:40 2022-06-17 16:29:40,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/69/.semver 16:29:40 2022-06-17 16:29:40,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/69/.semver'], cwd=/w/workspace/edgex-go/69, universal_newlines=False, shell=None, istream=None) 16:29:45 2022-06-17 16:29:44,749 [append_file] DEBUG append to file:/w/workspace/edgex-go/69/.git/info/exclude 16:29:45 2022-06-17 16:29:44,749 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/69/.semver/PR-3842 with force:False 16:29:45 2022-06-17 16:29:44,749 [write_file] DEBUG write to file:/w/workspace/edgex-go/69/.semver/PR-3842 16:29:45 2022-06-17 16:29:44,754 [execute] INFO git cat-file --batch-check 16:29:45 2022-06-17 16:29:44,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/69/.semver, universal_newlines=False, shell=None, istream=) 16:29:45 2022-06-17 16:29:44,761 [execute] INFO git cat-file --batch 16:29:45 2022-06-17 16:29:44,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/69/.semver, universal_newlines=False, shell=None, istream=) 16:29:45 2022-06-17 16:29:44,768 [read_version] DEBUG read version from /w/workspace/edgex-go/69/.semver/PR-3842 16:29:45 0.0.0 [Pipeline] } 16:29:45 $ docker exec --env ******** --env ******** 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 ssh-agent -k 16:29:45 unset SSH_AUTH_SOCK; 16:29:45 unset SSH_AGENT_PID; 16:29:45 echo Agent pid 77 killed; 16:29:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:45 + git semver [Pipeline] } 16:29:45 $ docker stop --time=1 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 16:29:47 $ docker rm -f 83e995ef46b331d7f36ff4dcf219b1f07a97270c88d12e46d7ffad983c5273a2 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:47 Stashed 1 file(s) [Pipeline] echo 16:29:47 [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:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:47 ========================================================= 16:29:47 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:29:47 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:29:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:29:48 59bf1c3509f3: Pulling fs layer 16:29:48 666ba61612fd: Pulling fs layer 16:29:48 8ed8ca486205: Pulling fs layer 16:29:48 cc1cd167ecdc: Pulling fs layer 16:29:48 c516ae0d96e1: Pulling fs layer 16:29:48 684cea983483: Pulling fs layer 16:29:48 dd3240ac7de5: Pulling fs layer 16:29:48 b1e948a4e11c: Pulling fs layer 16:29:48 a8fd76ee1af6: Pulling fs layer 16:29:48 646ad004c059: Pulling fs layer 16:29:48 cc1cd167ecdc: Waiting 16:29:48 c516ae0d96e1: Waiting 16:29:48 a8fd76ee1af6: Waiting 16:29:48 646ad004c059: Waiting 16:29:48 684cea983483: Waiting 16:29:48 dd3240ac7de5: Waiting 16:29:48 b1e948a4e11c: Waiting 16:29:48 8ed8ca486205: Download complete 16:29:48 666ba61612fd: Download complete 16:29:48 c516ae0d96e1: Verifying Checksum 16:29:48 c516ae0d96e1: Download complete 16:29:48 684cea983483: Download complete 16:29:48 dd3240ac7de5: Verifying Checksum 16:29:48 59bf1c3509f3: Verifying Checksum 16:29:48 59bf1c3509f3: Download complete 16:29:48 b1e948a4e11c: Verifying Checksum 16:29:48 b1e948a4e11c: Download complete 16:29:48 59bf1c3509f3: Pull complete 16:29:48 666ba61612fd: Pull complete 16:29:48 8ed8ca486205: Pull complete 16:29:48 646ad004c059: Verifying Checksum 16:29:48 646ad004c059: Download complete 16:29:49 a8fd76ee1af6: Verifying Checksum 16:29:49 a8fd76ee1af6: Download complete 16:29:49 cc1cd167ecdc: Verifying Checksum 16:29:49 cc1cd167ecdc: Download complete 16:29:53 cc1cd167ecdc: Pull complete 16:29:53 c516ae0d96e1: Pull complete 16:29:53 684cea983483: Pull complete 16:29:53 dd3240ac7de5: Pull complete 16:29:53 b1e948a4e11c: Pull complete 16:29:55 a8fd76ee1af6: Pull complete 16:29:56 646ad004c059: Pull complete 16:29:56 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:29:56 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:56 WORKDIR /edgex 16:29:56 COPY go.mod . 16:29:56 RUN go mod download 16:29:56 + docker build -t ci-base-image-x86_64 -f - . 16:29:58 Sending build context to Docker daemon 335.2MB 16:29:58 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:58 ---> 8f69c11f6b0c 16:29:58 Step 2/4 : WORKDIR /edgex 16:29:59 ---> Running in 5d993a6ab53a 16:29:59 Removing intermediate container 5d993a6ab53a 16:29:59 ---> 84e6d07736e3 16:29:59 Step 3/4 : COPY go.mod . 16:30:00 ---> 86e69307eac5 16:30:00 Step 4/4 : RUN go mod download 16:30:00 ---> Running in cb4517d5696b 16:30:02 Still waiting to schedule task 16:30:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:30:18 Removing intermediate container cb4517d5696b 16:30:18 ---> be0a5953d522 16:30:18 Successfully built be0a5953d522 16:30:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:18 + docker inspect -f . ci-base-image-x86_64 16:30:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:18 prd-ubuntu20.04-docker-8c-8g-2596 does not seem to be running inside a container 16:30:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:30:19 $ docker top feccb0411d20f573f1623c90ccb7ed8806da4ab1f3ac2c48f7313cb58bf77131 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:19 + go version 16:30:19 go version go1.17.7 linux/amd64 [Pipeline] } 16:30:19 $ docker stop --time=1 feccb0411d20f573f1623c90ccb7ed8806da4ab1f3ac2c48f7313cb58bf77131 16:30:20 $ docker rm -f feccb0411d20f573f1623c90ccb7ed8806da4ab1f3ac2c48f7313cb58bf77131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:21 + docker inspect -f . ci-base-image-x86_64 16:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:21 prd-ubuntu20.04-docker-8c-8g-2596 does not seem to be running inside a container 16:30:21 $ 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/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:30:21 $ docker top 60020e849a01e0037a4de9f86f7e92368750f07945fa3efedf3c715516d8ebec -eo pid,comm [Pipeline] { [Pipeline] echo 16:30:21 ========================================================= 16:30:21 [edgeXBuildGoParallel] Running Tests and Build... 16:30:21 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:30:22 + make test 16:30:22 go mod tidy -compat=1.17 16:30:22 go: finding module for package github.com/prometheus/client_golang/prometheus 16:30:22 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:30:22 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:30:23 go: downloading github.com/prometheus/client_golang v1.12.2 16:30:23 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1642 16:30:28 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:30:28 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:30:28 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1642 16:30:34 go: downloading github.com/prometheus/client_model v0.2.0 16:30:34 go: downloading github.com/prometheus/common v0.32.1 16:30:34 go: downloading github.com/beorn7/perks v1.0.1 16:30:34 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:30:34 go: downloading github.com/prometheus/procfs v0.7.3 16:30:34 go: downloading gopkg.in/ini.v1 v1.66.2 16:30:34 go: downloading github.com/json-iterator/go v1.1.12 16:30:34 go: downloading github.com/modern-go/reflect2 v1.0.2 16:30:34 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:30:34 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:30:34 go: downloading gopkg.in/yaml.v2 v2.4.0 16:30:34 go: downloading github.com/google/btree v1.0.0 16:30:34 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:30:34 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:30:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:30:40 ? github.com/edgexfoundry/edgex-go [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:30:52 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:30:54 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:30: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:30:54 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:30:54 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:30:54 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:30:54 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:30:54 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:30: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:30:54 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:30:54 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:30:54 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:30:54 /w/workspace/edgex-go/69/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:30:54 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:30:54 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.124s coverage: 28.7% of statements 16:30:55 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.095s coverage: 98.5% of statements 16:30:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.085s coverage: 53.4% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.927s coverage: 89.2% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.151s coverage: 83.8% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.449s coverage: 95.6% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/io 0.061s coverage: 72.2% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.117s coverage: 60.0% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.106s coverage: 0.9% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.055s coverage: 29.6% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.057s coverage: 47.1% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.068s coverage: 79.5% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.042s coverage: 94.1% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.087s coverage: 96.3% of statements 16:31:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.064s coverage: 87.5% of statements 16:31:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 10.081s coverage: 94.4% of statements 16:31:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.064s coverage: 44.8% of statements 16:31:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.191s coverage: 82.5% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.093s coverage: 92.9% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.035s coverage: 65.1% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.060s coverage: 87.2% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.073s coverage: 100.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.068s coverage: 58.8% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.068s coverage: 80.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.079s coverage: 87.2% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.067s coverage: 85.4% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.240s coverage: 91.2% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.194s coverage: 64.4% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.058s coverage: 100.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.343s coverage: 65.4% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.142s coverage: 43.8% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.072s coverage: 84.8% of statements 16:31:19 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:31:19 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.056s coverage: 63.2% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.101s coverage: 97.7% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.056s coverage: 28.9% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.057s coverage: 100.0% of statements 16:31:19 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 16:31:19 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:31:19 $ docker stop --time=1 60020e849a01e0037a4de9f86f7e92368750f07945fa3efedf3c715516d8ebec 16:31:20 $ docker rm -f 60020e849a01e0037a4de9f86f7e92368750f07945fa3efedf3c715516d8ebec [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:31:21 Failed in branch amd64 16:31:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2597 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 16:31:37 Running in /w/workspace/edgex-go/69 [Pipeline] { [Pipeline] checkout 16:31:37 The recommended git tool is: git 16:31:43 using credential edgex-jenkins-ssh 16:31:43 Cloning the remote Git repository 16:31:43 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:31:43 > git init /w/workspace/edgex-go/69 # timeout=10 16:31:43 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:31:43 > git --version # timeout=10 16:31:43 > git --version # 'git version 2.25.1' 16:31:43 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:32:01 Merging remotes/origin/main commit 18107d571668bc071dc3670312a164098c2940fe into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 16:32:01 Merge succeeded, producing 388f44bcb6e4fa533d27ca837e1d8f9c9e63a8dc 16:32:01 Checking out Revision 388f44bcb6e4fa533d27ca837e1d8f9c9e63a8dc (PR-3842) 16:32:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:32:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:32:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:32:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:32:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:00 > 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:32:01 > git config core.sparsecheckout # timeout=10 16:32:01 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 16:32:01 > git remote # timeout=10 16:32:01 > git config --get remote.origin.url # timeout=10 16:32:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:01 > git merge 18107d571668bc071dc3670312a164098c2940fe # timeout=10 16:32:01 > git rev-parse HEAD^{commit} # timeout=10 16:32:01 > git config core.sparsecheckout # timeout=10 16:32:01 > git checkout -f 388f44bcb6e4fa533d27ca837e1d8f9c9e63a8dc # timeout=10 16:32:06 Commit message: "Merge commit '18107d571668bc071dc3670312a164098c2940fe' into HEAD" 16:32:06 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:06 > git rev-list --no-walk e789775f7a729cc7d1794078c7db337e875de796 # timeout=10 16:32:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:32:06 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:06 Dload Upload Total Spent Left Speed 16:32:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 30556 0 --:--:-- --:--:-- --:--:-- 30480 100 12253 100 12253 0 0 30480 0 --:--:-- --:--:-- --:--:-- 30404 [Pipeline] sh 16:32:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:32:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:32:08 + sudo tee /etc/docker/daemon.new 16:32:08 { 16:32:08 "registry-mirrors": [ 16:32:08 "https://nexus3.edgexfoundry.org:10001" 16:32:08 ], 16:32:08 "bip": "10.250.0.254/24", 16:32:08 "hosts": [ 16:32:08 "tcp://0.0.0.0:5555", 16:32:08 "unix:///var/run/docker.sock" 16:32:08 ], 16:32:08 "mtu": 1458, 16:32:08 "selinux-enabled": true, 16:32:08 "seccomp-profile": "/etc/docker/seccomp.json" 16:32:08 } [Pipeline] sh 16:32:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:32:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:27 provisioning config files... 16:32:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/69@tmp/config8964504539732053813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:27 ---> docker-login.sh 16:32:27 nexus3.edgexfoundry.org:10001 16:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:28 Configure a credential helper to remove this warning. See 16:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:28 16:32:28 Login Succeeded 16:32:28 nexus3.edgexfoundry.org:10002 16:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:28 Configure a credential helper to remove this warning. See 16:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:28 16:32:28 Login Succeeded 16:32:28 nexus3.edgexfoundry.org:10003 16:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:29 Configure a credential helper to remove this warning. See 16:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:29 16:32:29 Login Succeeded 16:32:29 nexus3.edgexfoundry.org:10004 16:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:29 Configure a credential helper to remove this warning. See 16:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:29 16:32:29 Login Succeeded 16:32:29 docker.io 16:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:30 Configure a credential helper to remove this warning. See 16:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:30 16:32:30 Login Succeeded 16:32:30 ---> docker-login.sh ends [Pipeline] } 16:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:31 ========================================================= 16:32:31 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:32:31 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:32:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:32:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:32:31 9b3977197b4f: Pulling fs layer 16:32:31 1a89e8eeedd5: Pulling fs layer 16:32:31 94645a83ff95: Pulling fs layer 16:32:31 e6fb740bc735: Pulling fs layer 16:32:31 3a77bd46dcc9: Pulling fs layer 16:32:31 355e64cbe906: Pulling fs layer 16:32:31 63ab81a10011: Pulling fs layer 16:32:31 555d1d1c4555: Pulling fs layer 16:32:31 7d9057610161: Pulling fs layer 16:32:31 e6fb740bc735: Waiting 16:32:31 3a77bd46dcc9: Waiting 16:32:31 355e64cbe906: Waiting 16:32:31 63ab81a10011: Waiting 16:32:31 555d1d1c4555: Waiting 16:32:31 7d9057610161: Waiting 16:32:31 94645a83ff95: Verifying Checksum 16:32:31 94645a83ff95: Download complete 16:32:31 1a89e8eeedd5: Verifying Checksum 16:32:31 1a89e8eeedd5: Download complete 16:32:31 3a77bd46dcc9: Verifying Checksum 16:32:31 3a77bd46dcc9: Download complete 16:32:31 355e64cbe906: Verifying Checksum 16:32:31 355e64cbe906: Download complete 16:32:31 9b3977197b4f: Verifying Checksum 16:32:31 63ab81a10011: Verifying Checksum 16:32:31 63ab81a10011: Download complete 16:32:32 9b3977197b4f: Pull complete 16:32:32 7d9057610161: Verifying Checksum 16:32:32 7d9057610161: Download complete 16:32:33 1a89e8eeedd5: Pull complete 16:32:33 94645a83ff95: Pull complete 16:32:33 555d1d1c4555: Verifying Checksum 16:32:33 555d1d1c4555: Download complete 16:32:34 e6fb740bc735: Verifying Checksum 16:32:34 e6fb740bc735: Download complete 16:32:46 e6fb740bc735: Pull complete 16:32:47 3a77bd46dcc9: Pull complete 16:32:47 355e64cbe906: Pull complete 16:32:47 63ab81a10011: Pull complete 16:32:54 555d1d1c4555: Pull complete 16:32:55 7d9057610161: Pull complete 16:32:55 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:32:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:32:56 + docker build -t ci-base-image-arm64 -f - . 16:32:56 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:32:56 WORKDIR /edgex 16:32:56 COPY go.mod . 16:32:56 RUN go mod download 16:32:58 Sending build context to Docker daemon 169.3MB 16:32:58 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:32:58 ---> 819e984ddca1 16:32:58 Step 2/4 : WORKDIR /edgex 16:33:00 ---> Running in 8a45fa40c740 16:33:00 Removing intermediate container 8a45fa40c740 16:33:00 ---> 08bd5edbe899 16:33:00 Step 3/4 : COPY go.mod . 16:33:01 ---> afc8cf1d91bd 16:33:01 Step 4/4 : RUN go mod download 16:33:01 ---> Running in 3c639c216d29 16:33:48 Removing intermediate container 3c639c216d29 16:33:48 ---> 487b6560e659 16:33:48 Successfully built 487b6560e659 16:33:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:48 + docker inspect -f . ci-base-image-arm64 16:33:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:49 prd-ubuntu20.04-docker-arm64-4c-16g-2597 does not seem to be running inside a container 16:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:33:50 $ docker top 9613fdbda0f94ee1e069521b64c27661ee17339ebe8ec581e1eae0412df02dcd -eo pid,comm [Pipeline] { [Pipeline] sh 16:33:51 + go version 16:33:51 go version go1.17.7 linux/arm64 [Pipeline] } 16:33:51 $ docker stop --time=1 9613fdbda0f94ee1e069521b64c27661ee17339ebe8ec581e1eae0412df02dcd 16:33:52 $ docker rm -f 9613fdbda0f94ee1e069521b64c27661ee17339ebe8ec581e1eae0412df02dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:53 + docker inspect -f . ci-base-image-arm64 16:33:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:53 prd-ubuntu20.04-docker-arm64-4c-16g-2597 does not seem to be running inside a container 16:33:53 $ 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/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:33:55 $ docker top faf382e652232895799ebceefbc5e4e3b4e26d8fb63e4b92a363df7cbb35692e -eo pid,comm [Pipeline] { [Pipeline] echo 16:33:55 ========================================================= 16:33:55 [edgeXBuildGoParallel] Running Tests and Build... 16:33:55 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:33:56 + make test 16:33:56 go mod tidy -compat=1.17 16:33:57 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:33:57 go: finding module for package github.com/prometheus/client_golang/prometheus 16:33:57 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:33:57 go: downloading github.com/prometheus/client_golang v1.12.2 16:33:57 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1642 16:34:19 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:34:19 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:34:19 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1642 16:34:20 go: downloading github.com/prometheus/common v0.32.1 16:34:20 go: downloading github.com/prometheus/client_model v0.2.0 16:34:20 go: downloading github.com/beorn7/perks v1.0.1 16:34:20 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:34:20 go: downloading github.com/prometheus/procfs v0.7.3 16:34:20 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:34:20 go: downloading gopkg.in/ini.v1 v1.66.2 16:34:20 go: downloading github.com/json-iterator/go v1.1.12 16:34:20 go: downloading github.com/modern-go/reflect2 v1.0.2 16:34:20 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:34:20 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:34:20 go: downloading gopkg.in/yaml.v2 v2.4.0 16:34:20 go: downloading github.com/google/btree v1.0.0 16:34:20 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:34:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:34:53 ? github.com/edgexfoundry/edgex-go [no test files] 16:36:30 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:36:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:36:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:36:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:36:39 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:36:39 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:36:39 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:36:39 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:36:39 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:36:57 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:36:57 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:36:57 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:36:57 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:36:57 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:36:57 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:36:57 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:36:57 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:36:57 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:36:57 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:36:57 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:36:57 /w/workspace/edgex-go/69/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:36:57 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:36:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.218s coverage: 28.7% of statements 16:37:01 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.470s coverage: 98.5% of statements 16:37:01 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.390s coverage: 53.4% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 17.901s coverage: 89.2% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.474s coverage: 83.8% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.866s coverage: 95.6% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/io 0.263s coverage: 72.2% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.380s coverage: 60.0% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.482s coverage: 0.9% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.504s coverage: 58.8% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.467s coverage: 29.6% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.245s coverage: 47.1% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.227s coverage: 79.5% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.244s coverage: 94.1% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.314s coverage: 96.3% of statements 16:37:28 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.261s coverage: 87.5% of statements 16:37:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.252s coverage: 94.4% of statements 16:37:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.203s coverage: 44.8% of statements 16:37:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.578s coverage: 82.5% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.270s coverage: 92.9% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.058s coverage: 65.1% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.199s coverage: 87.2% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.186s coverage: 100.0% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.283s coverage: 58.8% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.300s coverage: 80.0% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.249s coverage: 87.2% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.327s coverage: 85.4% of statements 16:37:52 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.920s coverage: 91.2% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.890s coverage: 64.4% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.223s coverage: 100.0% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.183s coverage: 89.4% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.071s coverage: 100.0% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.075s coverage: 73.7% of statements 16:37:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.057s coverage: 100.0% of statements 16:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.516s coverage: 65.4% of statements 16:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.951s coverage: 43.8% of statements 16:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.264s coverage: 89.5% of statements 16:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.232s coverage: 84.8% of statements 16:38:06 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:38:06 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:38:06 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.273s coverage: 63.2% of statements 16:38:11 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.404s coverage: 97.7% of statements 16:38:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.248s coverage: 28.9% of statements 16:38:11 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.303s coverage: 100.0% of statements 16:38:11 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.082s coverage: 96.9% of statements 16:38:11 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:38:12 $ docker stop --time=1 faf382e652232895799ebceefbc5e4e3b4e26d8fb63e4b92a363df7cbb35692e 16:38:13 $ docker rm -f faf382e652232895799ebceefbc5e4e3b4e26d8fb63e4b92a363df7cbb35692e [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:38:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:18 16:38:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:19 arm64: Pulling from edgex-lftools-log-publisher 16:38:19 8998bd30e6a1: Pulling fs layer 16:38:19 04944245beec: Pulling fs layer 16:38:19 699f458cf7ca: Pulling fs layer 16:38:19 765212b225bb: Pulling fs layer 16:38:19 f23df028b6ca: Pulling fs layer 16:38:19 d65c8cfc05b1: Pulling fs layer 16:38:19 2437ff75d9bd: Pulling fs layer 16:38:19 d65c8cfc05b1: Waiting 16:38:19 f23df028b6ca: Waiting 16:38:19 2437ff75d9bd: Waiting 16:38:19 765212b225bb: Waiting 16:38:19 04944245beec: Verifying Checksum 16:38:19 04944245beec: Download complete 16:38:19 765212b225bb: Verifying Checksum 16:38:19 765212b225bb: Download complete 16:38:19 f23df028b6ca: Verifying Checksum 16:38:19 f23df028b6ca: Download complete 16:38:19 d65c8cfc05b1: Verifying Checksum 16:38:19 d65c8cfc05b1: Download complete 16:38:19 699f458cf7ca: Verifying Checksum 16:38:19 699f458cf7ca: Download complete 16:38:19 8998bd30e6a1: Download complete 16:38:22 2437ff75d9bd: Verifying Checksum 16:38:22 2437ff75d9bd: Download complete 16:38:24 8998bd30e6a1: Pull complete 16:38:24 04944245beec: Pull complete 16:38:25 699f458cf7ca: Pull complete 16:38:26 765212b225bb: Pull complete 16:38:27 f23df028b6ca: Pull complete 16:38:27 d65c8cfc05b1: Pull complete 16:38:42 2437ff75d9bd: Pull complete 16:38:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:42 prd-ubuntu20.04-docker-arm64-4c-16g-2597 does not seem to be running inside a container 16:38:42 $ 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/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:38:45 $ docker top deab89bb746068fb837b15377e634e7e0cec980e608718dad5afdd31c882fe18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:46 ---> job-cost.sh 16:38:46 lf-activate-venv: SKIPPING 16:38:46 INFO: No Stack... 16:38:46 INFO: Retrieving Pricing Info for: v3-standard-4 16:38:47 INFO: Archiving Costs [Pipeline] sh 16:38:47 + cat /w/workspace/edgex-go/69/archives/cost.csv 16:38:47 + cut -d, -f6 [Pipeline] lock 16:38:48 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-69-stack-cost] 16:38:48 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-69-stack-cost] did not exist. Created. 16:38:48 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:38:48 + echo total: 0.10999999940395355 [Pipeline] stash 16:38:49 Stashed 1 file(s) [Pipeline] } 16:38:49 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-69-stack-cost] [Pipeline] // lock [Pipeline] } 16:38:49 $ docker stop --time=1 deab89bb746068fb837b15377e634e7e0cec980e608718dad5afdd31c882fe18 16:38:50 $ docker rm -f deab89bb746068fb837b15377e634e7e0cec980e608718dad5afdd31c882fe18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:38:51 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:38:51 + [ -d /w/workspace/edgex-go/69/archives ] [Pipeline] libraryResource [Pipeline] sh 16:38:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:38:52 ---> package-listing.sh 16:38:52 ++ facter osfamily 16:38:52 ++ tr '[:upper:]' '[:lower:]' 16:38:53 + OS_FAMILY=debian 16:38:53 + workspace=/w/workspace/edgex-go/69 16:38:53 + START_PACKAGES=/tmp/packages_start.txt 16:38:53 + END_PACKAGES=/tmp/packages_end.txt 16:38:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:38:53 + PACKAGES=/tmp/packages_start.txt 16:38:53 + '[' /w/workspace/edgex-go/69 ']' 16:38:53 + PACKAGES=/tmp/packages_end.txt 16:38:53 + case "${OS_FAMILY}" in 16:38:53 + dpkg -l 16:38:53 + grep '^ii' 16:38:53 + '[' -f /tmp/packages_start.txt ']' 16:38:53 + '[' -f /tmp/packages_end.txt ']' 16:38:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:38:53 + '[' /w/workspace/edgex-go/69 ']' 16:38:53 + mkdir -p /w/workspace/edgex-go/69/archives/ 16:38:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/69/archives/ [Pipeline] echo 16:38:53 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/69/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:38:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:54 16:38:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:54 latest: Pulling from edgex-lftools-log-publisher 16:38:54 5eb5b503b376: Pulling fs layer 16:38:54 5c69ac0246d0: Pulling fs layer 16:38:54 ec43610c2a17: Pulling fs layer 16:38:54 3a2ae6a8a46f: Pulling fs layer 16:38:54 33b1e0a273af: Pulling fs layer 16:38:54 5d3b04190fa2: Pulling fs layer 16:38:54 2f39f015ded8: Pulling fs layer 16:38:54 3a2ae6a8a46f: Waiting 16:38:54 33b1e0a273af: Waiting 16:38:54 5d3b04190fa2: Waiting 16:38:54 2f39f015ded8: Waiting 16:38:54 5c69ac0246d0: Download complete 16:38:54 3a2ae6a8a46f: Verifying Checksum 16:38:54 3a2ae6a8a46f: Download complete 16:38:54 33b1e0a273af: Verifying Checksum 16:38:54 33b1e0a273af: Download complete 16:38:54 5d3b04190fa2: Download complete 16:38:54 ec43610c2a17: Verifying Checksum 16:38:54 ec43610c2a17: Download complete 16:38:54 5eb5b503b376: Verifying Checksum 16:38:54 5eb5b503b376: Download complete 16:38:55 2f39f015ded8: Download complete 16:38:56 5eb5b503b376: Pull complete 16:38:56 5c69ac0246d0: Pull complete 16:38:56 ec43610c2a17: Pull complete 16:38:56 3a2ae6a8a46f: Pull complete 16:38:56 33b1e0a273af: Pull complete 16:38:56 5d3b04190fa2: Pull complete 16:39:02 2f39f015ded8: Pull complete 16:39:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:02 prd-ubuntu20.04-docker-8c-8g-2596 does not seem to be running inside a container 16:39:02 $ 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/69/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/69 -v /w/workspace/edgex-go/69:/w/workspace/edgex-go/69:rw,z -v /w/workspace/edgex-go/69@tmp:/w/workspace/edgex-go/69@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:39:03 $ docker top aca0dcdfd3a51a262e19436250ae0357f482f46f878483de0de9b89d2984c5e0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:39:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:39:04 + ls /var/log/sa-host 16:39:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:04 provisioning config files... 16:39:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/69@tmp/config1493159920891774213tmp [Pipeline] { [Pipeline] echo 16:39:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:39:05 ---> create-netrc.sh [Pipeline] } 16:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:39:05 ---> python-tools-install.sh [Pipeline] echo 16:39:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:39:05 ---> sudo-logs.sh 16:39:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:39:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:39:06 ---> job-cost.sh 16:39:06 lf-activate-venv: SKIPPING 16:39:06 DEBUG: total: 0.10999999940395355 16:39:06 INFO: Retrieving Stack Cost... 16:39:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:39:06 INFO: Archiving Costs [Pipeline] echo 16:39:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:39:07 ---> logs-deploy.sh 16:39:07 lf-activate-venv: SKIPPING 16:39:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/69 16:39:07 INFO: archiving workspace using pattern(s): 16:39:08 Archives upload complete. 16:39:08 INFO: archiving logs to Nexus