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 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d 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-ssh3183454533069756498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2401487143324277116.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9343141509330582488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh146659550520516970.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16930562024556253261.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-8694 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/33 [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/33 # 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 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 Checking out Revision 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 (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 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 # timeout=10 Commit message: "Merge commit '6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d4e95590d8a357028efdea48c6550cf5f6cdefcb # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:30:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:30:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:30:52 ========================================================= 20:30:52 EdgeX Global Pipelines Version Info 20:30:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:30:53 ------------------- 20:30:53 stable info: 20:30:53 ------------------- 20:30:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:30:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:30:53 Message: update stable to v1.0.221 20:30:54 ------------------- 20:30:54 experimental info: 20:30:54 ------------------- 20:30:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:30:54 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:30:54 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b1b34c [Pipeline] echo 20:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:54 provisioning config files... 20:30:54 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/33@tmp/config1503498577965912354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:55 ---> docker-login.sh 20:30:55 nexus3.edgexfoundry.org:10001 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 nexus3.edgexfoundry.org:10002 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 nexus3.edgexfoundry.org:10003 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 nexus3.edgexfoundry.org:10004 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:55 Configure a credential helper to remove this warning. See 20:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:55 20:30:55 Login Succeeded 20:30:55 docker.io 20:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:56 Configure a credential helper to remove this warning. See 20:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:56 20:30:56 Login Succeeded 20:30:56 ---> docker-login.sh ends [Pipeline] } 20:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:30:56 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 20:30:56 + dirname cmd/core-command/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo core-command,cmd/core-command/Dockerfile 20:30:56 + + dirname cmd/core-data/Dockerfile 20:30:56 cut -d/ -f2 20:30:56 + echo core-data,cmd/core-data/Dockerfile 20:30:56 + dirname cmd/core-metadata/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo core-metadata,cmd/core-metadata/Dockerfile 20:30:56 + dirname cmd/security-bootstrapper/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:30:56 + dirname cmd/security-proxy-setup/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:30:56 + dirname cmd/security-secretstore-setup/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:30:56 + dirname cmd/support-notifications/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo support-notifications,cmd/support-notifications/Dockerfile 20:30:56 + dirname cmd/support-scheduler/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo support-scheduler,cmd/support-scheduler/Dockerfile 20:30:56 + dirname cmd/sys-mgmt-agent/Dockerfile 20:30:56 + cut -d/ -f2 20:30:56 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 20:30:56 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:30:57 + git rev-list -1 --merges 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22~1..2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 [Pipeline] echo 20:30:57 -----------> git rev-list -1 --merges 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22~1..2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 20:30:57 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 [false] [Pipeline] sh 20:30:57 + git log --format=format:%s -1 2b1b34cc20f91c4d537cc43da66d3d127eb5eb22 [Pipeline] echo 20:30:57 ========================================================= 20:30:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:30:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:30:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:30:57 + grep -v github /etc/ssh/ssh_known_hosts 20:30:57 + [ -e /tmp/ssh_known_hosts ] 20:30:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:30:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:30:57 + sudo tee -a /etc/ssh/ssh_known_hosts 20:30:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:30:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:58 20:30:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:30:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:58 latest: Pulling from edgex-devops/git-semver 20:30:58 a0d0a0d46f8b: Pulling fs layer 20:30:58 3e5f54012d9b: Pulling fs layer 20:30:58 4c7163046ea9: Pulling fs layer 20:30:58 0c2d73faf560: Pulling fs layer 20:30:58 3e5f54012d9b: Download complete 20:30:58 a0d0a0d46f8b: Download complete 20:30:58 4c7163046ea9: Verifying Checksum 20:30:58 4c7163046ea9: Download complete 20:30:58 0c2d73faf560: Verifying Checksum 20:30:58 0c2d73faf560: Download complete 20:30:58 a0d0a0d46f8b: Pull complete 20:30:58 3e5f54012d9b: Pull complete 20:30:59 4c7163046ea9: Pull complete 20:30:59 0c2d73faf560: Pull complete 20:30:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:30:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:30:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:30:59 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 20:30:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:31:00 $ docker top 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:31:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:00 [ssh-agent] Looking for ssh-agent implementation... 20:31:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:00 $ docker exec 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 ssh-agent 20:31:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDekgOL/agent.13 20:31:00 SSH_AGENT_PID=19 20:31:00 Running ssh-add (command line suppressed) 20:31:00 Identity added: /w/workspace/edgex-go/33@tmp/private_key_9030547158126746790.key (/w/workspace/edgex-go/33@tmp/private_key_9030547158126746790.key) 20:31:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:01 + git tag --points-at HEAD [Pipeline] } 20:31:01 $ docker exec --env ******** --env ******** 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 ssh-agent -k 20:31:01 unset SSH_AUTH_SOCK; 20:31:01 unset SSH_AGENT_PID; 20:31:01 echo Agent pid 19 killed; 20:31:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:31:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:01 [ssh-agent] Looking for ssh-agent implementation... 20:31:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:01 $ docker exec 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 ssh-agent 20:31:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFcpPfj/agent.52 20:31:01 SSH_AGENT_PID=58 20:31:01 Running ssh-add (command line suppressed) 20:31:01 Identity added: /w/workspace/edgex-go/33@tmp/private_key_2135566273696508132.key (/w/workspace/edgex-go/33@tmp/private_key_2135566273696508132.key) 20:31:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:02 + git semver init 20:31:02 # -> Open(): unable to determine branch for HEAD 20:31:02 # $GIT_DIR = /w/workspace/edgex-go/33/.git 20:31:02 # $GIT_WORK_TREE = /w/workspace/edgex-go/33 20:31:02 # $SEMVER_REMOTE_NAME = origin 20:31:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:31:02 # $SEMVER_USER_NAME = edgex-jenkins 20:31:02 # $SEMVER_BRANCH = PR-3842 20:31:02 # $SEMVER_TEMP = /tmp/semver-465113037 20:31:02 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 20:31:17 # '/tmp/semver-465113037' -> '/w/workspace/edgex-go/33/.semver' 20:31:17 # -> Force: false 20:31:17 # $SEMVER_DIR = /w/workspace/edgex-go/33/.semver [Pipeline] } 20:31:17 $ docker exec --env ******** --env ******** 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 ssh-agent -k 20:31:17 unset SSH_AUTH_SOCK; 20:31:17 unset SSH_AGENT_PID; 20:31:17 echo Agent pid 58 killed; 20:31:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:17 + git semver [Pipeline] } 20:31:17 $ docker stop --time=1 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 20:31:19 $ docker rm -f 8f48fe5d98cf0fc47eb984bb686599e0294ef8ddbc6fc055f9ca0c39bc599165 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:31:20 Stashed 1 file(s) [Pipeline] echo 20:31:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] echo 20:31:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:20 ========================================================= 20:31:20 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:31:20 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:31:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:31:20 59bf1c3509f3: Pulling fs layer 20:31:20 666ba61612fd: Pulling fs layer 20:31:20 8ed8ca486205: Pulling fs layer 20:31:20 4fe6c5a15a65: Pulling fs layer 20:31:20 22a0e8bec74d: Pulling fs layer 20:31:20 640e595b4fbd: Pulling fs layer 20:31:20 4fe6c5a15a65: Waiting 20:31:20 22a0e8bec74d: Waiting 20:31:20 763cafe07f6e: Pulling fs layer 20:31:20 0c0b528cf693: Pulling fs layer 20:31:20 640e595b4fbd: Waiting 20:31:20 763cafe07f6e: Waiting 20:31:20 10935f4eaf8b: Pulling fs layer 20:31:20 0c0b528cf693: Waiting 20:31:20 10935f4eaf8b: Waiting 20:31:20 8ed8ca486205: Verifying Checksum 20:31:20 8ed8ca486205: Download complete 20:31:20 666ba61612fd: Download complete 20:31:20 22a0e8bec74d: Verifying Checksum 20:31:20 22a0e8bec74d: Download complete 20:31:20 640e595b4fbd: Verifying Checksum 20:31:20 640e595b4fbd: Download complete 20:31:20 59bf1c3509f3: Verifying Checksum 20:31:20 59bf1c3509f3: Download complete 20:31:20 763cafe07f6e: Verifying Checksum 20:31:20 763cafe07f6e: Download complete 20:31:20 0c0b528cf693: Verifying Checksum 20:31:20 0c0b528cf693: Download complete 20:31:20 59bf1c3509f3: Pull complete 20:31:20 666ba61612fd: Pull complete 20:31:21 8ed8ca486205: Pull complete 20:31:21 10935f4eaf8b: Verifying Checksum 20:31:21 10935f4eaf8b: Download complete 20:31:21 4fe6c5a15a65: Verifying Checksum 20:31:21 4fe6c5a15a65: Download complete 20:31:25 4fe6c5a15a65: Pull complete 20:31:25 22a0e8bec74d: Pull complete 20:31:25 640e595b4fbd: Pull complete 20:31:25 763cafe07f6e: Pull complete 20:31:25 0c0b528cf693: Pull complete 20:31:28 10935f4eaf8b: Pull complete 20:31:28 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:31:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:31:28 + echo+ docker build -t ci-base-image-x86_64 -f - . 20:31:28 FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:31:28 WORKDIR /edgex 20:31:28 COPY go.mod . 20:31:28 RUN go mod download 20:31:29 Sending build context to Docker daemon 334.3MB 20:31:29 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:31:29 ---> 99d49a6021b9 20:31:29 Step 2/4 : WORKDIR /edgex 20:31:32 ---> Running in 255994622e73 20:31:32 Removing intermediate container 255994622e73 20:31:32 ---> 7f9bbe4656c5 20:31:32 Step 3/4 : COPY go.mod . 20:31:32 ---> ccd9eefefc04 20:31:32 Step 4/4 : RUN go mod download 20:31:32 ---> Running in 3a0805df6b28 20:31:35 Still waiting to schedule task 20:31:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8695’ is offline 20:31:59 Removing intermediate container 3a0805df6b28 20:31:59 ---> ea069a788cf5 20:31:59 Successfully built ea069a788cf5 20:31:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:31:59 + docker inspect -f . ci-base-image-x86_64 20:31:59 . [Pipeline] withDockerContainer 20:31:59 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 20:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:31:59 $ docker top d4e5e3c009ea23c17f3167dcf97ba0eaae12106bc07d85b7a0fbecd8c109c0d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:00 + go version 20:32:00 go version go1.17.6 linux/amd64 [Pipeline] } 20:32:00 $ docker stop --time=1 d4e5e3c009ea23c17f3167dcf97ba0eaae12106bc07d85b7a0fbecd8c109c0d5 20:32:01 $ docker rm -f d4e5e3c009ea23c17f3167dcf97ba0eaae12106bc07d85b7a0fbecd8c109c0d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:32:02 + docker inspect -f . ci-base-image-x86_64 20:32:02 . [Pipeline] withDockerContainer 20:32:02 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 20:32:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:32:02 $ docker top a6eabb541eb7eb608d552522fe712f90a003b8bcffb0f99821bf0a27bc752c27 -eo pid,comm [Pipeline] { [Pipeline] echo 20:32:02 ========================================================= 20:32:02 [edgeXBuildGoParallel] Running Tests and Build... 20:32:02 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:32:03 + make test 20:32:03 go mod tidy 20:32:03 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 20:32:03 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1532 20:32:08 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1532 20:32:09 go: downloading gopkg.in/ini.v1 v1.66.2 20:32:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:32:15 ? github.com/edgexfoundry/edgex-go [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:32:25 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:32:28 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 20:32:28 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) 20:32:28 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 20:32:28 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 20:32:28 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 20:32:28 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 20:32:28 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 20:32:28 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) 20:32:28 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 20:32:28 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 20:32:28 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 20:32:28 /w/workspace/edgex-go/33/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 20:32:28 internal/support/notifications/application/channel/sender.go:106:15: too many errors 20:32:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.041s coverage: 28.7% of statements 20:32:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.082s coverage: 98.5% of statements 20:32:28 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.102s coverage: 54.9% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.454s coverage: 89.2% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.147s coverage: 84.4% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.434s coverage: 94.2% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/io 0.070s coverage: 72.2% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.065s coverage: 60.0% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.053s coverage: 0.9% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.074s coverage: 58.8% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.124s coverage: 24.0% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.082s coverage: 47.1% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.083s coverage: 79.5% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.060s coverage: 94.1% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.074s coverage: 96.3% of statements 20:32:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.049s coverage: 87.5% of statements 20:32:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.077s coverage: 94.4% of statements 20:32:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.059s coverage: 44.8% of statements 20:32:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.191s coverage: 82.5% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.095s coverage: 92.9% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.040s coverage: 65.1% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.068s coverage: 87.2% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.057s coverage: 58.8% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.066s coverage: 80.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.075s coverage: 85.4% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.145s coverage: 91.2% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.159s coverage: 64.4% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.053s coverage: 100.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.042s coverage: 89.4% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.021s coverage: 100.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.047s coverage: 73.7% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.383s coverage: 65.4% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.142s coverage: 43.8% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.076s coverage: 89.5% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.065s coverage: 84.8% of statements 20:32:51 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 20:32:51 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.067s coverage: 63.2% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.100s coverage: 97.7% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.058s coverage: 28.9% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.060s coverage: 100.0% of statements 20:32:51 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 96.9% of statements 20:32:51 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 20:32:51 $ docker stop --time=1 a6eabb541eb7eb608d552522fe712f90a003b8bcffb0f99821bf0a27bc752c27 20:32:53 $ docker rm -f a6eabb541eb7eb608d552522fe712f90a003b8bcffb0f99821bf0a27bc752c27 [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] } 20:32:54 Failed in branch amd64 20:34:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8699 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 20:34:39 Running in /w/workspace/edgex-go/33 [Pipeline] { [Pipeline] checkout 20:34:39 The recommended git tool is: git 20:34:48 using credential edgex-jenkins-ssh 20:34:48 Cloning the remote Git repository 20:34:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:34:48 > git init /w/workspace/edgex-go/33 # timeout=10 20:34:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:34:48 > git --version # timeout=10 20:34:48 > git --version # 'git version 2.25.1' 20:34:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:08 Merging remotes/origin/main commit 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 20:35:09 Merge succeeded, producing 9714781e3cc9bb4997627a0cf8b2e956759a98b5 20:35:09 Checking out Revision 9714781e3cc9bb4997627a0cf8b2e956759a98b5 (PR-3842) 20:35:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:35:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:35:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:35:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:07 > 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 20:35:08 > git config core.sparsecheckout # timeout=10 20:35:08 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 20:35:08 > git remote # timeout=10 20:35:08 > git config --get remote.origin.url # timeout=10 20:35:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:08 > git merge 6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d # timeout=10 20:35:09 > git rev-parse HEAD^{commit} # timeout=10 20:35:09 > git config core.sparsecheckout # timeout=10 20:35:09 > git checkout -f 9714781e3cc9bb4997627a0cf8b2e956759a98b5 # timeout=10 20:35:14 Commit message: "Merge commit '6c659a0ac7e4b075f733eda5a0e0ff4b7d22267d' into HEAD" 20:35:14 First time build. Skipping changelog. 20:35:14 > git rev-list --no-walk d4e95590d8a357028efdea48c6550cf5f6cdefcb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:35:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:35:14 Dload Upload Total Spent Left Speed 20:35:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 134k 0 --:--:-- --:--:-- --:--:-- 134k [Pipeline] sh 20:35:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:35:15 + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:35:15 20:35:15 { 20:35:15 "registry-mirrors": [ 20:35:15 "https://nexus3.edgexfoundry.org:10001" 20:35:15 ], 20:35:15 "bip": "10.250.0.254/24", 20:35:15 "hosts": [ 20:35:15 "tcp://0.0.0.0:5555", 20:35:15 "unix:///var/run/docker.sock" 20:35:15 ], 20:35:15 "mtu": 1458, 20:35:15 "selinux-enabled": true, 20:35:15 "seccomp-profile": "/etc/docker/seccomp.json" 20:35:15 } [Pipeline] sh 20:35:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:35:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:35:35 provisioning config files... 20:35:35 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/33@tmp/config660125987428072437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:35 ---> docker-login.sh 20:35:35 nexus3.edgexfoundry.org:10001 20:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:36 Configure a credential helper to remove this warning. See 20:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:36 20:35:36 Login Succeeded 20:35:36 nexus3.edgexfoundry.org:10002 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 nexus3.edgexfoundry.org:10003 20:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:37 Configure a credential helper to remove this warning. See 20:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:37 20:35:37 Login Succeeded 20:35:37 nexus3.edgexfoundry.org:10004 20:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:38 Configure a credential helper to remove this warning. See 20:35:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:38 20:35:38 Login Succeeded 20:35:38 docker.io 20:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:39 Configure a credential helper to remove this warning. See 20:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:39 20:35:39 Login Succeeded 20:35:39 ---> docker-login.sh ends [Pipeline] } 20:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:39 ========================================================= 20:35:39 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:35:39 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:35:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:35:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:35:40 9b3977197b4f: Pulling fs layer 20:35:40 1a89e8eeedd5: Pulling fs layer 20:35:40 94645a83ff95: Pulling fs layer 20:35:40 3f3a8bcf1eab: Pulling fs layer 20:35:40 0c92f367c5e7: Pulling fs layer 20:35:40 f7c0051592d6: Pulling fs layer 20:35:40 a227ed2f7395: Pulling fs layer 20:35:40 7b1c46037f91: Pulling fs layer 20:35:40 0c92f367c5e7: Waiting 20:35:40 f7c0051592d6: Waiting 20:35:40 a227ed2f7395: Waiting 20:35:40 7b1c46037f91: Waiting 20:35:40 3f3a8bcf1eab: Waiting 20:35:40 94645a83ff95: Verifying Checksum 20:35:40 94645a83ff95: Download complete 20:35:40 1a89e8eeedd5: Verifying Checksum 20:35:40 1a89e8eeedd5: Download complete 20:35:40 0c92f367c5e7: Verifying Checksum 20:35:40 0c92f367c5e7: Download complete 20:35:40 f7c0051592d6: Verifying Checksum 20:35:40 f7c0051592d6: Download complete 20:35:40 9b3977197b4f: Verifying Checksum 20:35:40 9b3977197b4f: Download complete 20:35:40 a227ed2f7395: Verifying Checksum 20:35:40 a227ed2f7395: Download complete 20:35:41 9b3977197b4f: Pull complete 20:35:41 1a89e8eeedd5: Pull complete 20:35:42 94645a83ff95: Pull complete 20:35:42 7b1c46037f91: Verifying Checksum 20:35:42 7b1c46037f91: Download complete 20:35:43 3f3a8bcf1eab: Verifying Checksum 20:35:43 3f3a8bcf1eab: Download complete 20:35:58 3f3a8bcf1eab: Pull complete 20:35:58 0c92f367c5e7: Pull complete 20:35:58 f7c0051592d6: Pull complete 20:35:58 a227ed2f7395: Pull complete 20:36:05 7b1c46037f91: Pull complete 20:36:05 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:36:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 20:36:05 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:36:05 WORKDIR /edgex 20:36:05 COPY go.mod . 20:36:05 RUN go mod download 20:36:05 + docker build -t ci-base-image-arm64 -f - . 20:36:08 Sending build context to Docker daemon 168.9MB 20:36:08 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:36:08 ---> f79e39bc4007 20:36:08 Step 2/4 : WORKDIR /edgex 20:36:10 ---> Running in 0c338f05ce37 20:36:10 Removing intermediate container 0c338f05ce37 20:36:10 ---> 1847bcb3ed7e 20:36:10 Step 3/4 : COPY go.mod . 20:36:10 ---> a18046b456ba 20:36:10 Step 4/4 : RUN go mod download 20:36:11 ---> Running in 0074de21fb50 20:37:33 Removing intermediate container 0074de21fb50 20:37:33 ---> add9c21fdc5b 20:37:33 Successfully built add9c21fdc5b 20:37:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:37:33 + docker inspect -f . ci-base-image-arm64 20:37:33 . [Pipeline] withDockerContainer 20:37:33 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 20:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:37:35 $ docker top b72d192d4756deeae2ea472f58489d0ee76bc3cdbd7d687104e9004729fbf569 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:36 + go version 20:37:36 go version go1.17.6 linux/arm64 [Pipeline] } 20:37:36 $ docker stop --time=1 b72d192d4756deeae2ea472f58489d0ee76bc3cdbd7d687104e9004729fbf569 20:37:38 $ docker rm -f b72d192d4756deeae2ea472f58489d0ee76bc3cdbd7d687104e9004729fbf569 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:38 + docker inspect -f . ci-base-image-arm64 20:37:38 . [Pipeline] withDockerContainer 20:37:39 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 20:37:39 $ 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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:37:40 $ docker top ef31114be6462bf984b442ee1c648fb5835adcf92a91103ef94833724835949a -eo pid,comm [Pipeline] { [Pipeline] echo 20:37:40 ========================================================= 20:37:40 [edgeXBuildGoParallel] Running Tests and Build... 20:37:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:37:41 + make test 20:37:41 go mod tidy 20:37:42 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 20:37:43 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1532 20:38:09 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1532 20:38:09 go: downloading gopkg.in/ini.v1 v1.66.2 20:38:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:38:49 ? github.com/edgexfoundry/edgex-go [no test files] 20:40:10 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 20:40:33 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 20:40:33 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 20:40:33 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 20:40:35 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 20:40:35 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 20:40:35 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 20:40:35 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 20:41:08 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 20:41:08 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) 20:41:08 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 20:41:08 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 20:41:08 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 20:41:08 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 20:41:08 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 20:41:08 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) 20:41:08 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 20:41:08 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 20:41:08 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 20:41:08 /w/workspace/edgex-go/33/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 20:41:08 internal/support/notifications/application/channel/sender.go:106:15: too many errors 20:41:08 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.302s coverage: 28.7% of statements 20:41:08 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.399s coverage: 98.5% of statements 20:41:08 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.441s coverage: 54.9% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.210s coverage: 89.2% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.442s coverage: 84.4% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.631s coverage: 94.2% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/io 0.348s coverage: 72.2% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.318s coverage: 60.0% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.051s coverage: 0.9% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.218s coverage: 58.8% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.341s coverage: 24.0% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.506s coverage: 47.1% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.322s coverage: 79.5% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.248s coverage: 94.1% of statements 20:41:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.240s coverage: 96.3% of statements 20:41:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.345s coverage: 87.5% of statements 20:41:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.436s coverage: 94.4% of statements 20:41:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.255s coverage: 44.8% of statements 20:41:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.798s coverage: 82.5% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.301s coverage: 92.9% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 65.1% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.259s coverage: 87.2% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.209s coverage: 100.0% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.315s coverage: 58.8% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.380s coverage: 80.0% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.291s coverage: 87.2% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.318s coverage: 85.4% of statements 20:41:53 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.846s coverage: 91.2% of statements 20:41:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.147s coverage: 64.4% of statements 20:41:54 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.233s coverage: 100.0% of statements 20:41:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.121s coverage: 89.4% of statements 20:41:54 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.071s coverage: 100.0% of statements 20:41:55 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.079s coverage: 73.7% of statements 20:41:56 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.096s coverage: 100.0% of statements 20:42:01 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.527s coverage: 65.4% of statements 20:42:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.909s coverage: 43.8% of statements 20:42:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.319s coverage: 89.5% of statements 20:42:04 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.292s coverage: 84.8% of statements 20:42:04 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 20:42:04 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 20:42:04 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.278s coverage: 63.2% of statements 20:42:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.460s coverage: 97.7% of statements 20:42:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.239s coverage: 28.9% of statements 20:42:07 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.265s coverage: 100.0% of statements 20:42:07 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.093s coverage: 96.9% of statements 20:42:08 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 20:42:08 $ docker stop --time=1 ef31114be6462bf984b442ee1c648fb5835adcf92a91103ef94833724835949a 20:42:10 $ docker rm -f ef31114be6462bf984b442ee1c648fb5835adcf92a91103ef94833724835949a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:42:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:15 20:42:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:42:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:16 arm64: Pulling from edgex-lftools-log-publisher 20:42:16 8998bd30e6a1: Pulling fs layer 20:42:16 04944245beec: Pulling fs layer 20:42:16 699f458cf7ca: Pulling fs layer 20:42:16 765212b225bb: Pulling fs layer 20:42:16 f23df028b6ca: Pulling fs layer 20:42:16 d65c8cfc05b1: Pulling fs layer 20:42:16 2437ff75d9bd: Pulling fs layer 20:42:16 765212b225bb: Waiting 20:42:16 f23df028b6ca: Waiting 20:42:16 d65c8cfc05b1: Waiting 20:42:16 2437ff75d9bd: Waiting 20:42:16 04944245beec: Verifying Checksum 20:42:16 04944245beec: Download complete 20:42:16 765212b225bb: Download complete 20:42:16 f23df028b6ca: Verifying Checksum 20:42:16 f23df028b6ca: Download complete 20:42:16 d65c8cfc05b1: Verifying Checksum 20:42:16 d65c8cfc05b1: Download complete 20:42:16 699f458cf7ca: Verifying Checksum 20:42:16 699f458cf7ca: Download complete 20:42:17 8998bd30e6a1: Verifying Checksum 20:42:17 8998bd30e6a1: Download complete 20:42:20 2437ff75d9bd: Verifying Checksum 20:42:20 2437ff75d9bd: Download complete 20:42:22 8998bd30e6a1: Pull complete 20:42:22 04944245beec: Pull complete 20:42:23 699f458cf7ca: Pull complete 20:42:24 765212b225bb: Pull complete 20:42:25 f23df028b6ca: Pull complete 20:42:25 d65c8cfc05b1: Pull complete 20:42:40 2437ff75d9bd: Pull complete 20:42:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:42:40 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 20:42:40 $ 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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:42:43 $ docker top 43dbc1a8e3f6adc1ddafbddf0943a3192824685cccc06faa404340cfc67ba5da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:44 ---> job-cost.sh 20:42:44 lf-activate-venv: SKIPPING 20:42:44 INFO: No Stack... 20:42:45 INFO: Retrieving Pricing Info for: v3-standard-4 20:42:45 INFO: Archiving Costs [Pipeline] sh 20:42:46 + cat /w/workspace/edgex-go/33/archives/cost.csv 20:42:46 + cut -d, -f6 [Pipeline] lock 20:42:46 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-33-stack-cost] 20:42:46 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-33-stack-cost] did not exist. Created. 20:42:46 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:42:48 Stashed 1 file(s) [Pipeline] } 20:42:48 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-33-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:48 $ docker stop --time=1 43dbc1a8e3f6adc1ddafbddf0943a3192824685cccc06faa404340cfc67ba5da 20:42:49 $ docker rm -f 43dbc1a8e3f6adc1ddafbddf0943a3192824685cccc06faa404340cfc67ba5da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:50 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 20:42:50 + [ -d /w/workspace/edgex-go/33/archives ] [Pipeline] libraryResource [Pipeline] sh 20:42:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:42:51 ---> package-listing.sh 20:42:51 ++ facter osfamily 20:42:51 ++ tr '[:upper:]' '[:lower:]' 20:42:52 + OS_FAMILY=debian 20:42:52 + workspace=/w/workspace/edgex-go/33 20:42:52 + START_PACKAGES=/tmp/packages_start.txt 20:42:52 + END_PACKAGES=/tmp/packages_end.txt 20:42:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:42:52 + PACKAGES=/tmp/packages_start.txt 20:42:52 + '[' /w/workspace/edgex-go/33 ']' 20:42:52 + PACKAGES=/tmp/packages_end.txt 20:42:52 + case "${OS_FAMILY}" in 20:42:52 + dpkg -l 20:42:52 + grep '^ii' 20:42:52 + '[' -f /tmp/packages_start.txt ']' 20:42:52 + '[' -f /tmp/packages_end.txt ']' 20:42:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:42:52 + '[' /w/workspace/edgex-go/33 ']' 20:42:52 + mkdir -p /w/workspace/edgex-go/33/archives/ 20:42:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/33/archives/ [Pipeline] echo 20:42:52 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/33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:42:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:53 20:42:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:42:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:53 latest: Pulling from edgex-lftools-log-publisher 20:42:53 5eb5b503b376: Pulling fs layer 20:42:53 5c69ac0246d0: Pulling fs layer 20:42:53 ec43610c2a17: Pulling fs layer 20:42:53 3a2ae6a8a46f: Pulling fs layer 20:42:53 33b1e0a273af: Pulling fs layer 20:42:53 5d3b04190fa2: Pulling fs layer 20:42:53 2f39f015ded8: Pulling fs layer 20:42:53 33b1e0a273af: Waiting 20:42:53 3a2ae6a8a46f: Waiting 20:42:53 5d3b04190fa2: Waiting 20:42:53 2f39f015ded8: Waiting 20:42:53 5c69ac0246d0: Verifying Checksum 20:42:53 5c69ac0246d0: Download complete 20:42:53 3a2ae6a8a46f: Verifying Checksum 20:42:53 3a2ae6a8a46f: Download complete 20:42:53 ec43610c2a17: Verifying Checksum 20:42:53 ec43610c2a17: Download complete 20:42:53 5d3b04190fa2: Verifying Checksum 20:42:53 5d3b04190fa2: Download complete 20:42:53 33b1e0a273af: Verifying Checksum 20:42:53 33b1e0a273af: Download complete 20:42:53 5eb5b503b376: Verifying Checksum 20:42:53 5eb5b503b376: Download complete 20:42:54 2f39f015ded8: Verifying Checksum 20:42:54 2f39f015ded8: Download complete 20:42:55 5eb5b503b376: Pull complete 20:42:55 5c69ac0246d0: Pull complete 20:42:55 ec43610c2a17: Pull complete 20:42:55 3a2ae6a8a46f: Pull complete 20:42:55 33b1e0a273af: Pull complete 20:42:55 5d3b04190fa2: Pull complete 20:43:01 2f39f015ded8: Pull complete 20:43:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:43:01 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 20:43:01 $ 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/33/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/33 -v /w/workspace/edgex-go/33:/w/workspace/edgex-go/33:rw,z -v /w/workspace/edgex-go/33@tmp:/w/workspace/edgex-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:03 $ docker top 72a99ee2648923c3948fd2ff57681ffa301b31f82350a175606c9f1121e06cf2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:03 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:04 + ls /var/log/sa-host 20:43:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:04 provisioning config files... 20:43:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/33@tmp/config4882611380323490653tmp [Pipeline] { [Pipeline] echo 20:43:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:04 ---> create-netrc.sh [Pipeline] } 20:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:05 ---> python-tools-install.sh [Pipeline] echo 20:43:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:05 ---> sudo-logs.sh 20:43:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:43:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:05 ---> job-cost.sh 20:43:05 lf-activate-venv: SKIPPING 20:43:05 DEBUG: total: 0.10999999940395355 20:43:05 INFO: Retrieving Stack Cost... 20:43:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:06 INFO: Archiving Costs [Pipeline] echo 20:43:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:06 ---> logs-deploy.sh 20:43:06 lf-activate-venv: SKIPPING 20:43:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/33 20:43:06 INFO: archiving workspace using pattern(s): 20:43:07 Archives upload complete. 20:43:07 INFO: archiving logs to Nexus