Pull request #4367 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0ef0310e058adb2108ae9b89afbe83939b5a82c5+8bb7416f1c773b5b2c31d23b9c97a90c70099335 (a70186a217a366533e4e760f24d8ec5f8e5b7a80) 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-ssh17775048405355566125.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15965658371830004515.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4367/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-4367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5637008007748732340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17677349069327646890.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-4367/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-4367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3570356277273255657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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/v3], 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.18 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/v3 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6386 in /w/workspace/edgexfoundry_edgex-go_PR-4367 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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/4367/head:refs/remotes/origin/PR-4367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb7416f1c773b5b2c31d23b9c97a90c70099335 into PR head commit 0ef0310e058adb2108ae9b89afbe83939b5a82c5 Merge succeeded, producing 0ef0310e058adb2108ae9b89afbe83939b5a82c5 Checking out Revision 0ef0310e058adb2108ae9b89afbe83939b5a82c5 (PR-4367) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:41:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:41:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:41:18 ========================================================= 05:41:18 EdgeX Global Pipelines Version Info 05:41:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 0ef0310e058adb2108ae9b89afbe83939b5a82c5 # 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 8bb7416f1c773b5b2c31d23b9c97a90c70099335 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ef0310e058adb2108ae9b89afbe83939b5a82c5 # timeout=10 > git rev-list --no-walk 112896a801dd80c3905a2aae65fa375720603a0a # timeout=10 05:41:19 ------------------- 05:41:19 stable info: 05:41:19 ------------------- 05:41:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:41:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:41:19 Message: update stable to v1.0.244 05:41:20 ------------------- 05:41:20 experimental info: 05:41:20 ------------------- 05:41:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:41:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:41:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4367 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4367 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4367 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ef0310e058adb2108ae9b89afbe83939b5a82c5 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ef0310 [Pipeline] echo 05:41:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:20 provisioning config files... 05:41:20 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2897625374857005499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:21 ---> docker-login.sh 05:41:21 nexus3.edgexfoundry.org:10001 05:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:21 Configure a credential helper to remove this warning. See 05:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:21 05:41:21 Login Succeeded 05:41:21 nexus3.edgexfoundry.org:10002 05:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:21 Configure a credential helper to remove this warning. See 05:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:21 05:41:21 Login Succeeded 05:41:21 nexus3.edgexfoundry.org:10003 05:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:21 Configure a credential helper to remove this warning. See 05:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:21 05:41:21 Login Succeeded 05:41:21 nexus3.edgexfoundry.org:10004 05:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:21 Configure a credential helper to remove this warning. See 05:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:21 05:41:21 Login Succeeded 05:41:21 docker.io 05:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:22 Configure a credential helper to remove this warning. See 05:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:22 05:41:22 Login Succeeded 05:41:22 ---> docker-login.sh ends [Pipeline] } 05:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:41:22 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/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 05:41:22 + dirname cmd/core-command/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo core-command,cmd/core-command/Dockerfile 05:41:22 + dirname cmd/core-common-config-bootstrapper/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 05:41:22 + + dirname cmd/core-data/Dockerfile 05:41:22 cut -d/ -f2 05:41:22 + echo core-data,cmd/core-data/Dockerfile 05:41:22 + dirname cmd/core-metadata/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo core-metadata,cmd/core-metadata/Dockerfile 05:41:22 + dirname cmd/security-bootstrapper/Dockerfile+ 05:41:22 cut -d/ -f2 05:41:22 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 05:41:22 + dirname cmd/security-proxy-setup/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 05:41:22 + dirname cmd/security-secretstore-setup/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 05:41:22 + dirname cmd/security-spiffe-token-provider/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 05:41:22 + dirname cmd/security-spire-agent/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 05:41:22 + dirname cmd/security-spire-config/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-spire-config,cmd/security-spire-config/Dockerfile 05:41:22 + dirname cmd/security-spire-server/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo security-spire-server,cmd/security-spire-server/Dockerfile 05:41:22 + dirname cmd/support-notifications/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo support-notifications,cmd/support-notifications/Dockerfile 05:41:22 + dirname cmd/support-scheduler/Dockerfile 05:41:22 + cut -d/ -f2 05:41:22 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 05:41:22 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/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]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:41:22 + git rev-list -1 --merges 0ef0310e058adb2108ae9b89afbe83939b5a82c5~1..0ef0310e058adb2108ae9b89afbe83939b5a82c5 [Pipeline] echo 05:41:22 -----------> git rev-list -1 --merges 0ef0310e058adb2108ae9b89afbe83939b5a82c5~1..0ef0310e058adb2108ae9b89afbe83939b5a82c5 0ef0310e058adb2108ae9b89afbe83939b5a82c5 [false] [Pipeline] sh 05:41:23 + git log --format=format:%s -1 0ef0310e058adb2108ae9b89afbe83939b5a82c5 [Pipeline] echo 05:41:23 ========================================================= 05:41:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:41:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:41:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:41:23 + grep -v github /etc/ssh/ssh_known_hosts 05:41:23 + [ -e /tmp/ssh_known_hosts ] 05:41:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:41:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:41:23 + sudo tee -a /etc/ssh/ssh_known_hosts 05:41:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:41:23 05:41:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:41:24 0.1.4: Pulling from edgex-devops/py-git-semver 05:41:24 b85a868b505f: Pulling fs layer 05:41:24 e2be974225ed: Pulling fs layer 05:41:24 339a4e72a1f5: Pulling fs layer 05:41:24 988bab9f4d93: Pulling fs layer 05:41:24 1469e6f7b9e6: Pulling fs layer 05:41:24 eaf3925da568: Pulling fs layer 05:41:24 1469e6f7b9e6: Waiting 05:41:24 988bab9f4d93: Waiting 05:41:24 bab4dde63d76: Pulling fs layer 05:41:24 bde34c3a00c8: Pulling fs layer 05:41:24 eaf3925da568: Waiting 05:41:24 bab4dde63d76: Waiting 05:41:24 b352a97aabf1: Pulling fs layer 05:41:24 bde34c3a00c8: Waiting 05:41:24 4872d77fe225: Pulling fs layer 05:41:24 b352a97aabf1: Waiting 05:41:24 5851b861e8e6: Pulling fs layer 05:41:24 5851b861e8e6: Waiting 05:41:24 4872d77fe225: Waiting 05:41:24 e2be974225ed: Verifying Checksum 05:41:24 e2be974225ed: Download complete 05:41:24 988bab9f4d93: Verifying Checksum 05:41:24 988bab9f4d93: Download complete 05:41:24 1469e6f7b9e6: Verifying Checksum 05:41:24 1469e6f7b9e6: Download complete 05:41:24 eaf3925da568: Verifying Checksum 05:41:24 eaf3925da568: Download complete 05:41:24 339a4e72a1f5: Verifying Checksum 05:41:24 339a4e72a1f5: Download complete 05:41:24 bde34c3a00c8: Verifying Checksum 05:41:24 bde34c3a00c8: Download complete 05:41:24 b352a97aabf1: Download complete 05:41:24 4872d77fe225: Download complete 05:41:24 5851b861e8e6: Verifying Checksum 05:41:24 5851b861e8e6: Download complete 05:41:24 b85a868b505f: Verifying Checksum 05:41:24 b85a868b505f: Download complete 05:41:24 bab4dde63d76: Verifying Checksum 05:41:24 bab4dde63d76: Download complete 05:41:25 b85a868b505f: Pull complete 05:41:25 e2be974225ed: Pull complete 05:41:26 339a4e72a1f5: Pull complete 05:41:26 988bab9f4d93: Pull complete 05:41:26 1469e6f7b9e6: Pull complete 05:41:26 eaf3925da568: Pull complete 05:41:28 bab4dde63d76: Pull complete 05:41:28 bde34c3a00c8: Pull complete 05:41:28 b352a97aabf1: Pull complete 05:41:28 4872d77fe225: Pull complete 05:41:28 5851b861e8e6: Pull complete 05:41:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:41:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:41:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:28 prd-ubuntu20.04-docker-8c-8g-6386 does not seem to be running inside a container 05:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:41:31 $ docker top df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 -eo pid,comm 05:41:31 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). 05:41:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:31 [ssh-agent] Looking for ssh-agent implementation... 05:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:31 $ docker exec df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 ssh-agent 05:41:31 SSH_AUTH_SOCK=/tmp/ssh-hwNKBRx02drk/agent.33 05:41:31 SSH_AGENT_PID=39 05:41:31 Running ssh-add (command line suppressed) 05:41:32 Identity added: /w/workspace/edgex-go/2@tmp/private_key_17603848642852443827.key (/w/workspace/edgex-go/2@tmp/private_key_17603848642852443827.key) 05:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:32 + git tag --points-at HEAD [Pipeline] } 05:41:32 $ docker exec --env ******** --env ******** df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 ssh-agent -k 05:41:32 unset SSH_AUTH_SOCK; 05:41:32 unset SSH_AGENT_PID; 05:41:32 echo Agent pid 39 killed; 05:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:41:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:32 [ssh-agent] Looking for ssh-agent implementation... 05:41:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:32 $ docker exec df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 ssh-agent 05:41:32 SSH_AUTH_SOCK=/tmp/ssh-qKhPluxMdyo5/agent.70 05:41:32 SSH_AGENT_PID=76 05:41:32 Running ssh-add (command line suppressed) 05:41:32 Identity added: /w/workspace/edgex-go/2@tmp/private_key_14063790194853699291.key (/w/workspace/edgex-go/2@tmp/private_key_14063790194853699291.key) 05:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:33 + git semver init 05:41:33 2023-02-17 05:41:33,360 [run_init] DEBUG init version:0.0.0 force:False 05:41:33 2023-02-17 05:41:33,361 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 05:41:33 2023-02-17 05:41:33,361 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 05:41:33 2023-02-17 05:41:33,362 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 05:41:51 2023-02-17 05:41:49,356 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 05:41:51 2023-02-17 05:41:49,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4367 with force:False 05:41:51 2023-02-17 05:41:49,357 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4367 05:41:51 2023-02-17 05:41:49,361 [execute] INFO git cat-file --batch-check 05:41:51 2023-02-17 05:41:49,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 05:41:51 2023-02-17 05:41:49,368 [execute] INFO git cat-file --batch 05:41:51 2023-02-17 05:41:49,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 05:41:51 2023-02-17 05:41:49,371 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4367 05:41:51 0.0.0 [Pipeline] } 05:41:51 $ docker exec --env ******** --env ******** df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 ssh-agent -k 05:41:51 unset SSH_AUTH_SOCK; 05:41:51 unset SSH_AGENT_PID; 05:41:51 echo Agent pid 76 killed; 05:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:41:51 + git semver [Pipeline] } 05:41:52 $ docker stop --time=1 df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 05:41:53 $ docker rm -f --volumes df1e8fd01637e57e0e6feb7aa84a66983104d5b64cb4379b949fa7dd8af2fca2 [Pipeline] // withDockerContainer [Pipeline] sh 05:41:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:41:54 Stashed 1 file(s) [Pipeline] echo 05:41:54 [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] sh 05:41:54 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 05:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:41:54 ========================================================= 05:41:54 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:41:54 ========================================================= [Pipeline] fileExists [Pipeline] sh 05:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:41:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:41:54 213ec9aee27d: Pulling fs layer 05:41:54 4583459ba037: Pulling fs layer 05:41:54 93c1e223e6f2: Pulling fs layer 05:41:54 53926ce57604: Pulling fs layer 05:41:54 21b2b0c7a3f4: Pulling fs layer 05:41:54 22ff95d597cd: Pulling fs layer 05:41:54 12d6caf4c0d1: Pulling fs layer 05:41:54 96b7cbca73a9: Pulling fs layer 05:41:54 a7acece74701: Pulling fs layer 05:41:54 22ff95d597cd: Waiting 05:41:54 12d6caf4c0d1: Waiting 05:41:54 96b7cbca73a9: Waiting 05:41:54 a7acece74701: Waiting 05:41:54 21b2b0c7a3f4: Waiting 05:41:54 53926ce57604: Waiting 05:41:54 93c1e223e6f2: Verifying Checksum 05:41:54 93c1e223e6f2: Download complete 05:41:54 4583459ba037: Verifying Checksum 05:41:54 4583459ba037: Download complete 05:41:54 21b2b0c7a3f4: Verifying Checksum 05:41:54 21b2b0c7a3f4: Download complete 05:41:54 22ff95d597cd: Download complete 05:41:54 213ec9aee27d: Verifying Checksum 05:41:54 213ec9aee27d: Download complete 05:41:55 12d6caf4c0d1: Verifying Checksum 05:41:55 12d6caf4c0d1: Download complete 05:41:55 213ec9aee27d: Pull complete 05:41:55 4583459ba037: Pull complete 05:41:55 93c1e223e6f2: Pull complete 05:41:56 a7acece74701: Verifying Checksum 05:41:56 a7acece74701: Download complete 05:41:56 53926ce57604: Verifying Checksum 05:41:56 53926ce57604: Download complete 05:41:57 96b7cbca73a9: Verifying Checksum 05:41:57 96b7cbca73a9: Download complete 05:42:00 53926ce57604: Pull complete 05:42:00 21b2b0c7a3f4: Pull complete 05:42:00 22ff95d597cd: Pull complete 05:42:00 12d6caf4c0d1: Pull complete 05:42:02 96b7cbca73a9: Pull complete 05:42:03 a7acece74701: Pull complete 05:42:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:42:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:42:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 05:42:03 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:42:03 WORKDIR /edgex 05:42:03 COPY go.mod . 05:42:03 RUN go mod download build 05:42:03 -t ci-base-image-x86_64 -f - . 05:42:03 Sending build context to Docker daemon 170.3MB 05:42:03 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:42:03 ---> db6d94c90886 05:42:03 Step 2/4 : WORKDIR /edgex 05:42:09 Still waiting to schedule task 05:42:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:42:12 ---> Running in b2bd2aef37ce 05:42:12 Removing intermediate container b2bd2aef37ce 05:42:12 ---> 26b3a54f01cf 05:42:12 Step 3/4 : COPY go.mod . 05:42:12 ---> 359673bdb7dc 05:42:12 Step 4/4 : RUN go mod download 05:42:12 ---> Running in e4266632bc20 05:42:24 Removing intermediate container e4266632bc20 05:42:24 ---> 0f8983d784e5 05:42:24 Successfully built 0f8983d784e5 05:42:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:26 + docker inspect -f . ci-base-image-x86_64 05:42:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:26 prd-ubuntu20.04-docker-8c-8g-6386 does not seem to be running inside a container 05:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:42:26 $ docker top dfac5933d8e322b45d0c3785bc460b5862e2fd9917bd9cb78d854cca70cc6c82 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:26 + go version 05:42:26 go version go1.18.7 linux/amd64 [Pipeline] } 05:42:26 $ docker stop --time=1 dfac5933d8e322b45d0c3785bc460b5862e2fd9917bd9cb78d854cca70cc6c82 05:42:28 $ docker rm -f --volumes dfac5933d8e322b45d0c3785bc460b5862e2fd9917bd9cb78d854cca70cc6c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:28 + docker inspect -f . ci-base-image-x86_64 05:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:28 prd-ubuntu20.04-docker-8c-8g-6386 does not seem to be running inside a container 05:42:28 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:42:29 $ docker top d7d8237f5c53090379c94e4280894e9e83e4761b98719689abbe282b16144d06 -eo pid,comm [Pipeline] { [Pipeline] echo 05:42:29 ========================================================= 05:42:29 [edgeXBuildGoParallel] Running Tests and Build... 05:42:29 ========================================================= [Pipeline] sh 05:42:29 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 05:42:29 + make test 05:42:29 go test -race -coverprofile=coverage.out ./... 05:42:36 ? github.com/edgexfoundry/edgex-go [no test files] 05:42:48 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:42:48 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 05:42:48 # github.com/edgexfoundry/edgex-go/internal/core/data 05:42:48 internal/core/data/router.go:31:22: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:42:48 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 05:42:48 internal/core/data/controller/http/event_test.go:246:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:42:48 internal/core/data/controller/http/event_test.go:333:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:42:49 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.051s coverage: 28.7% of statements 05:42:49 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.075s coverage: 98.5% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.129s coverage: 73.7% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.087s coverage: 54.0% of statements 05:42:52 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.085s coverage: 3.9% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.462s coverage: 95.6% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/io 0.054s coverage: 72.2% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.065s coverage: 65.9% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.054s coverage: 0.9% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.076s coverage: 29.6% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.084s coverage: 47.1% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.056s coverage: 82.9% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.056s coverage: 94.1% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.082s coverage: 96.3% of statements 05:42:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.045s coverage: 87.5% of statements 05:42:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.075s coverage: 94.4% of statements 05:42:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.062s coverage: 44.8% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.339s coverage: 79.9% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.070s coverage: 92.9% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.027s coverage: 64.4% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.079s coverage: 86.9% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.068s coverage: 87.2% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.051s coverage: 20.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.064s coverage: 100.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.084s coverage: 77.4% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.085s coverage: 80.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.227s coverage: 91.2% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.215s coverage: 63.1% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.052s coverage: 100.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.021s coverage: 100.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.328s coverage: 65.3% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.154s coverage: 41.0% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.083s coverage: 89.5% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.052s coverage: 84.8% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.082s coverage: 17.7% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.147s coverage: 92.3% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 05:43:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.097s coverage: 97.7% of statements 05:43:16 make: *** [Makefile:143: unittest] Error 2 [Pipeline] } 05:43:16 $ docker stop --time=1 d7d8237f5c53090379c94e4280894e9e83e4761b98719689abbe282b16144d06 05:43:18 $ docker rm -f --volumes d7d8237f5c53090379c94e4280894e9e83e4761b98719689abbe282b16144d06 [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] } 05:43:18 Failed in branch amd64 05:45:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6391 in /w/workspace/edgexfoundry_edgex-go_PR-4367 [Pipeline] { [Pipeline] ws 05:45:30 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 05:45:31 The recommended git tool is: git 05:45:37 using credential edgex-jenkins-ssh 05:45:37 Cloning the remote Git repository 05:45:37 Cloning repository git@github.com:edgexfoundry/edgex-go.git 05:45:37 > git init /w/workspace/edgex-go/2 # timeout=10 05:45:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:45:37 > git --version # timeout=10 05:45:37 > git --version # 'git version 2.25.1' 05:45:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:45:58 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:45:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:45:59 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:45:59 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:45:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4367/head:refs/remotes/origin/PR-4367 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:46:00 Merging remotes/origin/main commit 8bb7416f1c773b5b2c31d23b9c97a90c70099335 into PR head commit 0ef0310e058adb2108ae9b89afbe83939b5a82c5 05:46:00 Merge succeeded, producing 0ef0310e058adb2108ae9b89afbe83939b5a82c5 05:46:00 Checking out Revision 0ef0310e058adb2108ae9b89afbe83939b5a82c5 (PR-4367) 05:46:01 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:00 > git config core.sparsecheckout # timeout=10 05:46:00 > git checkout -f 0ef0310e058adb2108ae9b89afbe83939b5a82c5 # timeout=10 05:46:00 > git remote # timeout=10 05:46:00 > git config --get remote.origin.url # timeout=10 05:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:00 > git merge 8bb7416f1c773b5b2c31d23b9c97a90c70099335 # timeout=10 05:46:00 > git rev-parse HEAD^{commit} # timeout=10 05:46:00 > git config core.sparsecheckout # timeout=10 05:46:00 > git checkout -f 0ef0310e058adb2108ae9b89afbe83939b5a82c5 # timeout=10 05:46:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:46:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:02 Dload Upload Total Spent Left Speed 05:46:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 05:46:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:46:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:46:03 + sudo tee /etc/docker/daemon.new 05:46:03 { 05:46:03 "registry-mirrors": [ 05:46:03 "https://nexus3.edgexfoundry.org:10001" 05:46:03 ], 05:46:03 "bip": "10.250.0.254/24", 05:46:03 "hosts": [ 05:46:03 "tcp://0.0.0.0:5555", 05:46:03 "unix:///var/run/docker.sock" 05:46:03 ], 05:46:03 "mtu": 1458, 05:46:03 "selinux-enabled": true, 05:46:03 "seccomp-profile": "/etc/docker/seccomp.json" 05:46:03 } [Pipeline] sh 05:46:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:46:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:22 provisioning config files... 05:46:22 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8649481984630528615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:22 ---> docker-login.sh 05:46:22 nexus3.edgexfoundry.org:10001 05:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:23 Configure a credential helper to remove this warning. See 05:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:23 05:46:23 Login Succeeded 05:46:23 nexus3.edgexfoundry.org:10002 05:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:24 Configure a credential helper to remove this warning. See 05:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:24 05:46:24 Login Succeeded 05:46:24 nexus3.edgexfoundry.org:10003 05:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:24 Configure a credential helper to remove this warning. See 05:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:24 05:46:24 Login Succeeded 05:46:24 nexus3.edgexfoundry.org:10004 05:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:24 Configure a credential helper to remove this warning. See 05:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:24 05:46:24 Login Succeeded 05:46:24 docker.io 05:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:25 Configure a credential helper to remove this warning. See 05:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:25 05:46:25 Login Succeeded 05:46:25 ---> docker-login.sh ends [Pipeline] } 05:46:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 05:46:26 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 05:46:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:46:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:46:26 ========================================================= 05:46:26 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:46:26 ========================================================= [Pipeline] fileExists [Pipeline] sh 05:46:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:46:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:46:26 9b18e9b68314: Pulling fs layer 05:46:26 35d82f9e3411: Pulling fs layer 05:46:26 e16973657156: Pulling fs layer 05:46:26 fc693d55d65f: Pulling fs layer 05:46:26 7e9fc2657dce: Pulling fs layer 05:46:26 dda99020689f: Pulling fs layer 05:46:26 db1c61fa0a46: Pulling fs layer 05:46:26 891c053d2c06: Pulling fs layer 05:46:26 fc693d55d65f: Waiting 05:46:26 dda99020689f: Waiting 05:46:26 db1c61fa0a46: Waiting 05:46:26 7e9fc2657dce: Waiting 05:46:26 891c053d2c06: Waiting 05:46:26 e16973657156: Verifying Checksum 05:46:26 e16973657156: Download complete 05:46:26 35d82f9e3411: Verifying Checksum 05:46:26 35d82f9e3411: Download complete 05:46:26 7e9fc2657dce: Verifying Checksum 05:46:26 7e9fc2657dce: Download complete 05:46:26 dda99020689f: Verifying Checksum 05:46:26 dda99020689f: Download complete 05:46:26 9b18e9b68314: Verifying Checksum 05:46:26 9b18e9b68314: Download complete 05:46:27 9b18e9b68314: Pull complete 05:46:27 891c053d2c06: Verifying Checksum 05:46:27 891c053d2c06: Download complete 05:46:28 35d82f9e3411: Pull complete 05:46:28 e16973657156: Pull complete 05:46:29 db1c61fa0a46: Verifying Checksum 05:46:29 db1c61fa0a46: Download complete 05:46:30 fc693d55d65f: Verifying Checksum 05:46:30 fc693d55d65f: Download complete 05:46:42 fc693d55d65f: Pull complete 05:46:42 7e9fc2657dce: Pull complete 05:46:42 dda99020689f: Pull complete 05:46:49 db1c61fa0a46: Pull complete 05:46:51 891c053d2c06: Pull complete 05:46:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:46:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 05:46:51 + docker build -t ci-base-image-arm64 -f - . 05:46:51 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:46:51 WORKDIR /edgex 05:46:51 COPY go.mod . 05:46:51 RUN go mod download 05:46:52 Sending build context to Docker daemon 3.092MB 05:46:52 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:46:52 ---> f96f9c87975a 05:46:52 Step 2/4 : WORKDIR /edgex 05:46:55 ---> Running in f32e7fc96a1e 05:46:55 Removing intermediate container f32e7fc96a1e 05:46:55 ---> 71c571398c13 05:46:55 Step 3/4 : COPY go.mod . 05:46:55 ---> 2cd1e57f5b92 05:46:55 Step 4/4 : RUN go mod download 05:46:55 ---> Running in 0ab55a7b2999 05:47:27 Removing intermediate container 0ab55a7b2999 05:47:27 ---> e6eef36dd79d 05:47:27 Successfully built e6eef36dd79d 05:47:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:30 + docker inspect -f . ci-base-image-arm64 05:47:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:30 prd-ubuntu20.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 05:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:47:31 $ docker top bf0a0c90ef758d5f908231b152b6e62beb18777a73713afb48f0a1904896e032 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:32 + go version 05:47:32 go version go1.18.7 linux/arm64 [Pipeline] } 05:47:32 $ docker stop --time=1 bf0a0c90ef758d5f908231b152b6e62beb18777a73713afb48f0a1904896e032 05:47:34 $ docker rm -f --volumes bf0a0c90ef758d5f908231b152b6e62beb18777a73713afb48f0a1904896e032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:35 + docker inspect -f . ci-base-image-arm64 05:47:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:35 prd-ubuntu20.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 05:47:35 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:47:36 $ docker top 99cc17e321db03000089f3cbfd7e21f69bc1fb627e9f864c40255d47628c35bf -eo pid,comm [Pipeline] { [Pipeline] echo 05:47:37 ========================================================= 05:47:37 [edgeXBuildGoParallel] Running Tests and Build... 05:47:37 ========================================================= [Pipeline] sh 05:47:37 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 05:47:38 + make test 05:47:38 go test -race -coverprofile=coverage.out ./... 05:48:25 ? github.com/edgexfoundry/edgex-go [no test files] 05:50:47 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:50:47 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 05:50:47 # github.com/edgexfoundry/edgex-go/internal/core/data 05:50:47 internal/core/data/router.go:31:22: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:51:13 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 05:51:13 internal/core/data/controller/http/event_test.go:246:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:51:13 internal/core/data/controller/http/event_test.go:333:56: undefined: common.ApiEventProfileNameDeviceNameSourceNameRoute 05:51:15 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.306s coverage: 28.7% of statements 05:51:21 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.510s coverage: 98.5% of statements 05:51:27 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.743s coverage: 73.7% of statements 05:51:27 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.622s coverage: 54.0% of statements 05:51:27 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 05:51:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.446s coverage: 3.9% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.711s coverage: 95.6% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/io 0.263s coverage: 72.2% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.317s coverage: 65.9% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.461s coverage: 0.9% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.418s coverage: 29.6% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.331s coverage: 47.1% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.394s coverage: 82.9% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.223s coverage: 94.1% of statements 05:51:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.299s coverage: 96.3% of statements 05:51:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.240s coverage: 87.5% of statements 05:51:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.245s coverage: 94.4% of statements 05:51:53 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.218s coverage: 44.8% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.567s coverage: 79.9% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.310s coverage: 92.9% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.073s coverage: 64.4% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.279s coverage: 86.9% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.260s coverage: 87.2% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.218s coverage: 20.0% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.210s coverage: 100.0% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.306s coverage: 77.4% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.301s coverage: 80.0% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.253s coverage: 87.2% of statements 05:52:11 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.156s coverage: 91.2% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.497s coverage: 63.1% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.263s coverage: 100.0% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.190s coverage: 89.4% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.149s coverage: 100.0% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.168s coverage: 73.7% of statements 05:52:15 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.069s coverage: 100.0% of statements 05:52:22 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.467s coverage: 65.3% of statements 05:52:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.877s coverage: 41.0% of statements 05:52:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.287s coverage: 89.5% of statements 05:52:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.272s coverage: 84.8% of statements 05:52:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.331s coverage: 17.7% of statements 05:52:33 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.823s coverage: 92.3% of statements 05:52:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.286s coverage: 63.2% of statements 05:52:33 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.515s coverage: 97.7% of statements 05:52:33 make: *** [Makefile:143: unittest] Error 2 [Pipeline] } 05:52:33 $ docker stop --time=1 99cc17e321db03000089f3cbfd7e21f69bc1fb627e9f864c40255d47628c35bf 05:52:35 $ docker rm -f --volumes 99cc17e321db03000089f3cbfd7e21f69bc1fb627e9f864c40255d47628c35bf [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 05:52:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:36 05:52:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:37 arm64: Pulling from edgex-lftools-log-publisher 05:52:37 8998bd30e6a1: Pulling fs layer 05:52:37 04944245beec: Pulling fs layer 05:52:37 699f458cf7ca: Pulling fs layer 05:52:37 765212b225bb: Pulling fs layer 05:52:37 f23df028b6ca: Pulling fs layer 05:52:37 d65c8cfc05b1: Pulling fs layer 05:52:37 2437ff75d9bd: Pulling fs layer 05:52:37 765212b225bb: Waiting 05:52:37 f23df028b6ca: Waiting 05:52:37 d65c8cfc05b1: Waiting 05:52:37 2437ff75d9bd: Waiting 05:52:37 04944245beec: Verifying Checksum 05:52:37 04944245beec: Download complete 05:52:37 765212b225bb: Verifying Checksum 05:52:37 765212b225bb: Download complete 05:52:37 f23df028b6ca: Verifying Checksum 05:52:37 f23df028b6ca: Download complete 05:52:37 d65c8cfc05b1: Verifying Checksum 05:52:37 d65c8cfc05b1: Download complete 05:52:37 699f458cf7ca: Verifying Checksum 05:52:37 699f458cf7ca: Download complete 05:52:37 8998bd30e6a1: Verifying Checksum 05:52:37 8998bd30e6a1: Download complete 05:52:40 2437ff75d9bd: Verifying Checksum 05:52:40 2437ff75d9bd: Download complete 05:52:42 8998bd30e6a1: Pull complete 05:52:43 04944245beec: Pull complete 05:52:44 699f458cf7ca: Pull complete 05:52:44 765212b225bb: Pull complete 05:52:45 f23df028b6ca: Pull complete 05:52:45 d65c8cfc05b1: Pull complete 05:53:00 2437ff75d9bd: Pull complete 05:53:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:00 prd-ubuntu20.04-docker-arm64-4c-16g-6391 does not seem to be running inside a container 05:53:00 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:53:03 $ docker top 4b1d26b016786fc3c07640a26d58b45a3a388b6f782b8d71c3c96f0aa7e82ed6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:04 ---> job-cost.sh 05:53:04 lf-activate-venv: SKIPPING 05:53:04 INFO: No Stack... 05:53:05 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:06 INFO: Archiving Costs [Pipeline] sh 05:53:06 + cat /w/workspace/edgex-go/2/archives/cost.csv 05:53:06 + cut -d, -f6 [Pipeline] lock 05:53:06 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4367-2-stack-cost] 05:53:06 Resource [jenkins-edgexfoundry-edgex-go-PR-4367-2-stack-cost] did not exist. Created. 05:53:06 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4367-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:07 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:08 Stashed 1 file(s) [Pipeline] } 05:53:08 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4367-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:08 $ docker stop --time=1 4b1d26b016786fc3c07640a26d58b45a3a388b6f782b8d71c3c96f0aa7e82ed6 05:53:09 $ docker rm -f --volumes 4b1d26b016786fc3c07640a26d58b45a3a388b6f782b8d71c3c96f0aa7e82ed6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:53:10 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 05:53:10 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 05:53:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:11 ---> package-listing.sh 05:53:11 ++ facter osfamily 05:53:11 ++ tr '[:upper:]' '[:lower:]' 05:53:12 + OS_FAMILY=debian 05:53:12 + workspace=/w/workspace/edgex-go/2 05:53:12 + START_PACKAGES=/tmp/packages_start.txt 05:53:12 + END_PACKAGES=/tmp/packages_end.txt 05:53:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:12 + PACKAGES=/tmp/packages_start.txt 05:53:12 + '[' /w/workspace/edgex-go/2 ']' 05:53:12 + PACKAGES=/tmp/packages_end.txt 05:53:12 + case "${OS_FAMILY}" in 05:53:12 + dpkg -l 05:53:12 + grep '^ii' 05:53:12 + '[' -f /tmp/packages_start.txt ']' 05:53:12 + '[' -f /tmp/packages_end.txt ']' 05:53:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:12 + '[' /w/workspace/edgex-go/2 ']' 05:53:12 + mkdir -p /w/workspace/edgex-go/2/archives/ 05:53:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 05:53:12 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/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:12 05:53:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:14 latest: Pulling from edgex-lftools-log-publisher 05:53:14 5eb5b503b376: Pulling fs layer 05:53:14 5c69ac0246d0: Pulling fs layer 05:53:14 ec43610c2a17: Pulling fs layer 05:53:14 3a2ae6a8a46f: Pulling fs layer 05:53:14 33b1e0a273af: Pulling fs layer 05:53:14 5d3b04190fa2: Pulling fs layer 05:53:14 2f39f015ded8: Pulling fs layer 05:53:14 33b1e0a273af: Waiting 05:53:14 5d3b04190fa2: Waiting 05:53:14 3a2ae6a8a46f: Waiting 05:53:14 5c69ac0246d0: Download complete 05:53:14 3a2ae6a8a46f: Verifying Checksum 05:53:14 3a2ae6a8a46f: Download complete 05:53:14 33b1e0a273af: Verifying Checksum 05:53:14 33b1e0a273af: Download complete 05:53:14 ec43610c2a17: Verifying Checksum 05:53:14 ec43610c2a17: Download complete 05:53:14 5d3b04190fa2: Verifying Checksum 05:53:14 5d3b04190fa2: Download complete 05:53:15 5eb5b503b376: Verifying Checksum 05:53:15 5eb5b503b376: Download complete 05:53:15 2f39f015ded8: Download complete 05:53:33 5eb5b503b376: Pull complete 05:53:33 5c69ac0246d0: Pull complete 05:53:35 ec43610c2a17: Pull complete 05:53:42 3a2ae6a8a46f: Pull complete 05:53:42 33b1e0a273af: Pull complete 05:53:43 5d3b04190fa2: Pull complete 05:53:50 2f39f015ded8: Pull complete 05:53:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:52 prd-ubuntu20.04-docker-8c-8g-6386 does not seem to be running inside a container 05:53:52 $ 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/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 05:54:11 $ docker top d7f54ad3dfc26d43d2ccd60498877cb956cf0923f34c432133a0399084c8ef26 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:12 + mkdir -p /var/log/sysstat [Pipeline] sh 05:54:12 + ls /var/log/sa-host 05:54:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:12 provisioning config files... 05:54:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config17704963207626181016tmp [Pipeline] { [Pipeline] echo 05:54:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:12 ---> create-netrc.sh [Pipeline] } 05:54:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:13 ---> python-tools-install.sh [Pipeline] echo 05:54:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:13 ---> sudo-logs.sh 05:54:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:54:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:13 ---> job-cost.sh 05:54:13 lf-activate-venv: SKIPPING 05:54:13 DEBUG: total: 0.10999999940395355 05:54:13 INFO: Retrieving Stack Cost... 05:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:54:16 INFO: Archiving Costs [Pipeline] echo 05:54:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:16 ---> logs-deploy.sh 05:54:16 lf-activate-venv: SKIPPING 05:54:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4367/2 05:54:16 INFO: archiving workspace using pattern(s): 05:54:17 Archives upload complete. 05:54:18 INFO: archiving logs to Nexus