Pull request #4606 updated 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 lindseysimple for edgexfoundry/edgex-go Obtained Jenkinsfile from 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68+db7b7ee384591f5a64d361305216a2c2c0d3e0f8 (c87e761406a44405137a6bb1ac3594a3d150ba40) 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-ssh13436478375615500897.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6022057995162635969.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-4606/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-4606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3920598918745044101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh17743066977835740364.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-4606/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-4606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17355551800730785375.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.20 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-1424 in /w/workspace/edgexfoundry_edgex-go_PR-4606 [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 Merging remotes/origin/main commit db7b7ee384591f5a64d361305216a2c2c0d3e0f8 into PR head commit 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 Merge succeeded, producing 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 Checking out Revision 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 (PR-4606) 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/4606/head:refs/remotes/origin/PR-4606 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 # 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 db7b7ee384591f5a64d361305216a2c2c0d3e0f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 # timeout=10 Commit message: "fix: Update UrlDecodeMiddleware to use echo format" First time build. Skipping changelog. > git rev-list --no-walk faf35754d3bfd22cc2f19060286c35346f11f15f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:12:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:12:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:12:58 ========================================================= 09:12:58 EdgeX Global Pipelines Version Info 09:12:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:12:58 ------------------- 09:12:58 stable info: 09:12:58 ------------------- 09:12:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:12:58 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:12:58 Message: update stable to v1.0.250 09:12:59 ------------------- 09:12:59 experimental info: 09:12:59 ------------------- 09:12:59 Commited By: **** collab-it+edgex@linuxfoundation.org 09:12:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:12:59 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4606 [Pipeline] echo 09:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4606 [Pipeline] echo 09:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4606 [Pipeline] echo 09:13:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 [Pipeline] echo 09:13:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bd60af [Pipeline] echo 09:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:00 provisioning config files... 09:13:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config10075984673838002181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:00 ---> docker-login.sh 09:13:00 nexus3.edgexfoundry.org:10001 09:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:00 Configure a credential helper to remove this warning. See 09:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:00 09:13:00 Login Succeeded 09:13:00 nexus3.edgexfoundry.org:10002 09:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 nexus3.edgexfoundry.org:10003 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 nexus3.edgexfoundry.org:10004 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 docker.io 09:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:01 Configure a credential helper to remove this warning. See 09:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:01 09:13:01 Login Succeeded 09:13:01 ---> docker-login.sh ends [Pipeline] } 09:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:01 + 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-auth/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 09:13:01 + + dirname cmd/core-command/Dockerfile 09:13:01 cut -d/ -f2 09:13:01 + echo core-command,cmd/core-command/Dockerfile 09:13:01 + dirname cmd/core-common-config-bootstrapper/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 09:13:01 + dirname cmd/core-data/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo core-data,cmd/core-data/Dockerfile 09:13:01 + dirname cmd/core-metadata/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo core-metadata,cmd/core-metadata/Dockerfile 09:13:01 + dirname cmd/security-bootstrapper/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 09:13:01 + dirname cmd/security-proxy-auth/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 09:13:01 + dirname cmd/security-proxy-setup/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 09:13:01 + dirname cmd/security-secretstore-setup/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 09:13:01 + dirname cmd/security-spiffe-token-provider/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 09:13:01 + dirname cmd/security-spire-agent/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 09:13:01 + dirname cmd/security-spire-config/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo security-spire-config,cmd/security-spire-config/Dockerfile 09:13:01 + + cut -d/dirname -f2 cmd/security-spire-server/Dockerfile 09:13:01 09:13:01 + echo security-spire-server,cmd/security-spire-server/Dockerfile 09:13:01 + dirname cmd/support-notifications/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo support-notifications,cmd/support-notifications/Dockerfile 09:13:01 + dirname cmd/support-scheduler/Dockerfile 09:13:01 + cut -d/ -f2 09:13:01 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 09:13:01 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-auth, dockerfile:cmd/security-proxy-auth/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 09:13:02 + git rev-list -1 --merges 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68~1..6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 [Pipeline] echo 09:13:02 -----------> git rev-list -1 --merges 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68~1..6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 [false] [Pipeline] sh 09:13:02 + git log --format=format:%s -1 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 [Pipeline] echo 09:13:02 ========================================================= 09:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 09:13:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:13:02 + grep -v github /etc/ssh/ssh_known_hosts 09:13:02 + [ -e /tmp/ssh_known_hosts ] 09:13:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:13:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:13:02 + sudo tee -a /etc/ssh/ssh_known_hosts 09:13:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:03 09:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:03 0.1.4: Pulling from edgex-devops/py-git-semver 09:13:03 b85a868b505f: Pulling fs layer 09:13:03 e2be974225ed: Pulling fs layer 09:13:03 339a4e72a1f5: Pulling fs layer 09:13:03 988bab9f4d93: Pulling fs layer 09:13:03 1469e6f7b9e6: Pulling fs layer 09:13:03 eaf3925da568: Pulling fs layer 09:13:03 bab4dde63d76: Pulling fs layer 09:13:03 bde34c3a00c8: Pulling fs layer 09:13:03 b352a97aabf1: Pulling fs layer 09:13:03 4872d77fe225: Pulling fs layer 09:13:03 5851b861e8e6: Pulling fs layer 09:13:03 bde34c3a00c8: Waiting 09:13:03 988bab9f4d93: Waiting 09:13:03 1469e6f7b9e6: Waiting 09:13:03 b352a97aabf1: Waiting 09:13:03 eaf3925da568: Waiting 09:13:03 4872d77fe225: Waiting 09:13:03 bab4dde63d76: Waiting 09:13:03 e2be974225ed: Verifying Checksum 09:13:03 e2be974225ed: Download complete 09:13:03 988bab9f4d93: Verifying Checksum 09:13:03 988bab9f4d93: Download complete 09:13:03 1469e6f7b9e6: Verifying Checksum 09:13:03 1469e6f7b9e6: Download complete 09:13:03 339a4e72a1f5: Verifying Checksum 09:13:03 339a4e72a1f5: Download complete 09:13:03 eaf3925da568: Verifying Checksum 09:13:03 eaf3925da568: Download complete 09:13:03 bde34c3a00c8: Download complete 09:13:03 b352a97aabf1: Download complete 09:13:03 4872d77fe225: Download complete 09:13:03 5851b861e8e6: Download complete 09:13:03 b85a868b505f: Download complete 09:13:04 bab4dde63d76: Verifying Checksum 09:13:04 bab4dde63d76: Download complete 09:13:05 b85a868b505f: Pull complete 09:13:05 e2be974225ed: Pull complete 09:13:06 339a4e72a1f5: Pull complete 09:13:06 988bab9f4d93: Pull complete 09:13:06 1469e6f7b9e6: Pull complete 09:13:06 eaf3925da568: Pull complete 09:13:08 bab4dde63d76: Pull complete 09:13:08 bde34c3a00c8: Pull complete 09:13:08 b352a97aabf1: Pull complete 09:13:08 4872d77fe225: Pull complete 09:13:08 5851b861e8e6: Pull complete 09:13:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:08 prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container 09:13:08 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:13:11 $ docker top 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d -eo pid,comm 09:13:11 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). 09:13:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:11 [ssh-agent] Looking for ssh-agent implementation... 09:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:11 $ docker exec 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d ssh-agent 09:13:11 SSH_AUTH_SOCK=/tmp/ssh-QjfIAY9dOVdu/agent.33 09:13:11 SSH_AGENT_PID=39 09:13:11 Running ssh-add (command line suppressed) 09:13:11 Identity added: /w/workspace/edgex-go/2@tmp/private_key_18109852174851758196.key (/w/workspace/edgex-go/2@tmp/private_key_18109852174851758196.key) 09:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:12 + git tag --points-at HEAD [Pipeline] } 09:13:12 $ docker exec --env ******** --env ******** 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d ssh-agent -k 09:13:12 unset SSH_AUTH_SOCK; 09:13:12 unset SSH_AGENT_PID; 09:13:12 echo Agent pid 39 killed; 09:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:12 [ssh-agent] Looking for ssh-agent implementation... 09:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:12 $ docker exec 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d ssh-agent 09:13:12 SSH_AUTH_SOCK=/tmp/ssh-W6rYkFMr4452/agent.71 09:13:12 SSH_AGENT_PID=77 09:13:12 Running ssh-add (command line suppressed) 09:13:12 Identity added: /w/workspace/edgex-go/2@tmp/private_key_12699506048228514427.key (/w/workspace/edgex-go/2@tmp/private_key_12699506048228514427.key) 09:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:13 + git semver init 09:13:13 2023-07-18 09:13:13,256 [run_init] DEBUG init version:0.0.0 force:False 09:13:13 2023-07-18 09:13:13,256 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 09:13:13 2023-07-18 09:13:13,257 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 09:13:13 2023-07-18 09:13:13,257 [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) 09:13:21 2023-07-18 09:13:20,783 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 09:13:21 2023-07-18 09:13:20,784 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4606 with force:False 09:13:21 2023-07-18 09:13:20,784 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4606 09:13:21 2023-07-18 09:13:20,788 [execute] INFO git cat-file --batch-check 09:13:21 2023-07-18 09:13:20,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 09:13:21 2023-07-18 09:13:20,794 [execute] INFO git cat-file --batch 09:13:21 2023-07-18 09:13:20,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 09:13:21 2023-07-18 09:13:20,798 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4606 09:13:21 0.0.0 [Pipeline] } 09:13:21 $ docker exec --env ******** --env ******** 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d ssh-agent -k 09:13:21 unset SSH_AUTH_SOCK; 09:13:21 unset SSH_AGENT_PID; 09:13:21 echo Agent pid 77 killed; 09:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:21 + git semver [Pipeline] } 09:13:22 $ docker stop --time=1 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d 09:13:23 $ docker rm -f --volumes 8123a1204ebca2ea50748141f7ca7f84468515ea0de59468d1b385a57fab342d [Pipeline] // withDockerContainer [Pipeline] sh 09:13:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:13:23 Stashed 1 file(s) [Pipeline] echo 09:13:23 [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 09:13:24 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 09:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:24 ========================================================= 09:13:24 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:13:24 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:13:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:13:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:13:24 4db1b89c0bd1: Pulling fs layer 09:13:24 6911f1a30b25: Pulling fs layer 09:13:24 e194b8c5c2a9: Pulling fs layer 09:13:24 6863d3e3a2b1: Pulling fs layer 09:13:24 ec0bb842ea78: Pulling fs layer 09:13:24 40a00589a448: Pulling fs layer 09:13:24 6c08303d61cc: Pulling fs layer 09:13:24 798269fcf238: Pulling fs layer 09:13:24 6863d3e3a2b1: Waiting 09:13:24 ec0bb842ea78: Waiting 09:13:24 40a00589a448: Waiting 09:13:24 6c08303d61cc: Waiting 09:13:24 798269fcf238: Waiting 09:13:24 6911f1a30b25: Download complete 09:13:24 6863d3e3a2b1: Verifying Checksum 09:13:24 6863d3e3a2b1: Download complete 09:13:24 4db1b89c0bd1: Verifying Checksum 09:13:24 4db1b89c0bd1: Download complete 09:13:24 ec0bb842ea78: Verifying Checksum 09:13:24 ec0bb842ea78: Download complete 09:13:24 40a00589a448: Verifying Checksum 09:13:24 40a00589a448: Download complete 09:13:24 4db1b89c0bd1: Pull complete 09:13:24 6911f1a30b25: Pull complete 09:13:25 798269fcf238: Verifying Checksum 09:13:25 798269fcf238: Download complete 09:13:25 e194b8c5c2a9: Verifying Checksum 09:13:25 e194b8c5c2a9: Download complete 09:13:25 6c08303d61cc: Verifying Checksum 09:13:29 e194b8c5c2a9: Pull complete 09:13:29 6863d3e3a2b1: Pull complete 09:13:29 ec0bb842ea78: Pull complete 09:13:29 40a00589a448: Pull complete 09:13:31 6c08303d61cc: Pull complete 09:13:32 798269fcf238: Pull complete 09:13:32 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 09:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:13:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 09:13:32 + + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:13:32 WORKDIR /edgex 09:13:32 COPY go.mod . 09:13:32 RUN go mod download 09:13:32 docker build -t ci-base-image-x86_64 -f - . 09:13:33 Sending build context to Docker daemon 170.7MB 09:13:33 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:13:33 ---> ec979cd7f677 09:13:33 Step 2/4 : WORKDIR /edgex 09:13:38 ---> Running in b11a76ebf2fa 09:13:38 Removing intermediate container b11a76ebf2fa 09:13:38 ---> d9dde7cbd58d 09:13:38 Step 3/4 : COPY go.mod . 09:13:38 ---> 2ba9c1302c01 09:13:38 Step 4/4 : RUN go mod download 09:13:38 ---> Running in 11d904767cfd 09:13:39 Still waiting to schedule task 09:13:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:13:56 Removing intermediate container 11d904767cfd 09:13:56 ---> d7645486ea38 09:13:56 Successfully built d7645486ea38 09:13:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:57 + docker inspect -f . ci-base-image-x86_64 09:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:57 prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container 09:13:57 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:13:57 $ docker top c5fca2b2a52e318473a547d003b24d220a1d82618e496cb9cb79a053926ea719 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:58 + go version 09:13:58 go version go1.20.6 linux/amd64 [Pipeline] } 09:13:58 $ docker stop --time=1 c5fca2b2a52e318473a547d003b24d220a1d82618e496cb9cb79a053926ea719 09:13:59 $ docker rm -f --volumes c5fca2b2a52e318473a547d003b24d220a1d82618e496cb9cb79a053926ea719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:59 + docker inspect -f . ci-base-image-x86_64 09:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:59 prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container 09:13:59 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:00 $ docker top ded052587f33e41108e804aacbea97b5d5017ca0d20ed7824b39bf022a514871 -eo pid,comm [Pipeline] { [Pipeline] echo 09:14:00 ========================================================= 09:14:00 [edgeXBuildGoParallel] Running Tests and Build... 09:14:00 ========================================================= [Pipeline] sh 09:14:00 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 09:14:00 + make test 09:14:00 go test -race -coverprofile=coverage.out ./... 09:14:09 ? github.com/edgexfoundry/edgex-go [no test files] 09:14:23 # github.com/edgexfoundry/edgex-go/internal/core/command 09:14:23 internal/core/command/main.go:64:39: cannot use router (variable of type *echo.Echo) as *mux.Router value in argument to handlers.NewHttpServer 09:14:23 internal/core/command/router.go:31:8: cannot use authenticationHook (variable of type func(inner "net/http".HandlerFunc) "net/http".HandlerFunc) as echo.MiddlewareFunc value in argument to g.Use 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 09:14:23 # github.com/edgexfoundry/edgex-go/internal/core/data 09:14:23 internal/core/data/router.go:34:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:14:23 internal/core/data/router.go:35:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/core/data/router.go:36:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/core/data/router.go:64:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/core/data/router.go:65:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/core/data/router.go:66:8: cannot use correlation.UrlDecodeMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 # github.com/edgexfoundry/edgex-go/internal/core/metadata 09:14:23 internal/core/metadata/router.go:34:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:14:23 internal/core/metadata/router.go:35:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/core/metadata/router.go:36:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/core/metadata/router.go:98:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/core/metadata/router.go:99:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/core/metadata/router.go:100:8: cannot use correlation.UrlDecodeMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 09:14:23 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 09:14:23 internal/security/proxyauth/init.go:59:43: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to b.router.HandleFunc 09:14:23 internal/security/proxyauth/init.go:60:65: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/security/proxyauth/init.go:61:64: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 09:14:23 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 09:14:23 # github.com/edgexfoundry/edgex-go/internal/support/notifications 09:14:23 internal/support/notifications/router.go:29:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:14:23 internal/support/notifications/router.go:30:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/support/notifications/router.go:31:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/support/notifications/router.go:69:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/support/notifications/router.go:70:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 09:14:23 internal/support/scheduler/router.go:29:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:14:23 internal/support/scheduler/router.go:30:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/support/scheduler/router.go:31:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:14:23 internal/support/scheduler/router.go:49:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:23 internal/support/scheduler/router.go:50:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:14:24 ? github.com/edgexfoundry/edgex-go/internal [no test files] 09:14:25 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 09:14:25 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 09:14:25 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.059s coverage: 28.7% of statements 09:14:26 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 97.0% of statements 09:14:26 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 09:14:26 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 09:14:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 09:14:28 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 09:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 09:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 09:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 09:14:29 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 09:14:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.091s coverage: 71.5% of statements 09:14:29 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.072s coverage: 54.0% of statements 09:14:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 09:14:30 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 09:14:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.700s coverage: 88.5% of statements 09:14:32 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.072s coverage: 3.8% of statements 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 09:14:33 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.370s coverage: 95.6% of statements 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 09:14:33 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 09:14:33 ok github.com/edgexfoundry/edgex-go/internal/io 0.062s coverage: 72.2% of statements 09:14:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 09:14:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 09:14:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 09:14:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.059s coverage: 54.0% of statements 09:14:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 09:14:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 09:14:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.079s coverage: 0.9% of statements 09:14:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.095s coverage: 31.9% of statements 09:14:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.068s coverage: 42.9% of statements 09:14:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.070s coverage: 82.9% of statements 09:14:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.080s coverage: 94.1% of statements 09:14:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.072s coverage: 96.3% of statements 09:14:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 09:14:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 09:14:38 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 09:14:39 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 09:14:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 09:14:40 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 09:14:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 09:14:42 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 09:14:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 09:14:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 09:14:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 09:14:44 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 09:14:45 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 09:14:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 09:14:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 09:14:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 09:14:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 09:14:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 09:14:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 09:14:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 09:14:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.065s coverage: 94.4% of statements 09:14:48 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 09:14:48 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 09:14:48 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.292s coverage: 79.9% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.068s coverage: 92.9% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 64.4% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.067s coverage: 62.3% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.066s coverage: 87.2% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.060s coverage: 20.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.050s coverage: 100.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.097s coverage: 81.8% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.103s coverage: 82.1% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.055s coverage: 86.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.172s coverage: 63.1% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.061s coverage: 100.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.038s coverage: 89.4% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.034s coverage: 73.7% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.191s coverage: 38.4% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.069s coverage: 89.5% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.072s coverage: 17.7% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.133s coverage: 92.3% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.066s coverage: 61.8% of statements 09:15:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.094s coverage: 97.7% of statements 09:15:00 FAIL 09:15:00 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 09:15:00 $ docker stop --time=1 ded052587f33e41108e804aacbea97b5d5017ca0d20ed7824b39bf022a514871 09:15:02 $ docker rm -f --volumes ded052587f33e41108e804aacbea97b5d5017ca0d20ed7824b39bf022a514871 [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] } 09:15:02 Failed in branch amd64 09:15:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1426 in /w/workspace/edgexfoundry_edgex-go_PR-4606 [Pipeline] { [Pipeline] ws 09:15:03 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 09:15:03 The recommended git tool is: git 09:15:08 using credential edgex-jenkins-ssh 09:15:08 Cloning the remote Git repository 09:15:08 Cloning repository git@github.com:edgexfoundry/edgex-go.git 09:15:08 > git init /w/workspace/edgex-go/2 # timeout=10 09:15:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:15:08 > git --version # timeout=10 09:15:08 > git --version # 'git version 2.25.1' 09:15:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:24 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:15:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:25 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:15:25 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4606/head:refs/remotes/origin/PR-4606 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:15:26 Merging remotes/origin/main commit db7b7ee384591f5a64d361305216a2c2c0d3e0f8 into PR head commit 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 09:15:26 Merge succeeded, producing 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 09:15:26 Checking out Revision 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 (PR-4606) 09:15:26 > git config core.sparsecheckout # timeout=10 09:15:26 > git checkout -f 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 # timeout=10 09:15:26 > git remote # timeout=10 09:15:26 > git config --get remote.origin.url # timeout=10 09:15:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:26 > git merge db7b7ee384591f5a64d361305216a2c2c0d3e0f8 # timeout=10 09:15:26 > git rev-parse HEAD^{commit} # timeout=10 09:15:26 > git config core.sparsecheckout # timeout=10 09:15:26 > git checkout -f 6bd60afdfc3d4cc7808e14afb353fe3d1a4f3f68 # timeout=10 09:15:30 Commit message: "fix: Update UrlDecodeMiddleware to use echo format" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:30 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:30 Dload Upload Total Spent Left Speed 09:15:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 09:15:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:15:32 + sudo tee /etc/docker/daemon.new 09:15:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:15:32 { 09:15:32 "registry-mirrors": [ 09:15:32 "https://nexus3.edgexfoundry.org:10001" 09:15:32 ], 09:15:32 "bip": "10.250.0.254/24", 09:15:32 "hosts": [ 09:15:32 "tcp://0.0.0.0:5555", 09:15:32 "unix:///var/run/docker.sock" 09:15:32 ], 09:15:32 "mtu": 1458, 09:15:32 "selinux-enabled": true, 09:15:32 "seccomp-profile": "/etc/docker/seccomp.json" 09:15:32 } [Pipeline] sh 09:15:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:15:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:50 provisioning config files... 09:15:50 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config4214491853223940038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:51 ---> docker-login.sh 09:15:51 nexus3.edgexfoundry.org:10001 09:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:51 Configure a credential helper to remove this warning. See 09:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:51 09:15:51 Login Succeeded 09:15:52 nexus3.edgexfoundry.org:10002 09:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:52 Configure a credential helper to remove this warning. See 09:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:52 09:15:52 Login Succeeded 09:15:52 nexus3.edgexfoundry.org:10003 09:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:52 Configure a credential helper to remove this warning. See 09:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:52 09:15:52 Login Succeeded 09:15:52 nexus3.edgexfoundry.org:10004 09:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:52 Configure a credential helper to remove this warning. See 09:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:52 09:15:52 Login Succeeded 09:15:52 docker.io 09:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:53 Configure a credential helper to remove this warning. See 09:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:53 09:15:53 Login Succeeded 09:15:53 ---> docker-login.sh ends [Pipeline] } 09:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 09:15:54 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 09:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:54 ========================================================= 09:15:54 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:15:54 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:15:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:15:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:15:54 edb6bdbacee9: Pulling fs layer 09:15:54 5f9638ab2659: Pulling fs layer 09:15:54 8d51d6327a98: Pulling fs layer 09:15:54 8b374f2dd631: Pulling fs layer 09:15:54 ec14aa9079de: Pulling fs layer 09:15:54 2f466654f4bb: Pulling fs layer 09:15:54 554e91adad29: Pulling fs layer 09:15:54 ec14aa9079de: Waiting 09:15:54 2f466654f4bb: Waiting 09:15:54 554e91adad29: Waiting 09:15:54 8b374f2dd631: Waiting 09:15:54 5f9638ab2659: Verifying Checksum 09:15:54 5f9638ab2659: Download complete 09:15:54 8b374f2dd631: Verifying Checksum 09:15:54 8b374f2dd631: Download complete 09:15:54 ec14aa9079de: Verifying Checksum 09:15:54 ec14aa9079de: Download complete 09:15:54 edb6bdbacee9: Verifying Checksum 09:15:54 edb6bdbacee9: Download complete 09:15:56 554e91adad29: Verifying Checksum 09:15:56 554e91adad29: Download complete 09:15:57 2f466654f4bb: Verifying Checksum 09:15:57 2f466654f4bb: Download complete 09:15:57 8d51d6327a98: Verifying Checksum 09:15:57 8d51d6327a98: Download complete 09:15:57 edb6bdbacee9: Pull complete 09:15:58 5f9638ab2659: Pull complete 09:16:10 8d51d6327a98: Pull complete 09:16:10 8b374f2dd631: Pull complete 09:16:10 ec14aa9079de: Pull complete 09:16:17 2f466654f4bb: Pull complete 09:16:20 554e91adad29: Pull complete 09:16:20 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 09:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:16:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 09:16:20 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:16:20 WORKDIR /edgex 09:16:20 COPY go.mod . 09:16:20 RUN go mod download 09:16:20 + docker build -t ci-base-image-arm64 -f - . 09:16:21 Sending build context to Docker daemon 2.956MB 09:16:21 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:16:21 ---> 1e15ea492957 09:16:21 Step 2/4 : WORKDIR /edgex 09:16:23 ---> Running in f48d8a2dfaaf 09:16:23 Removing intermediate container f48d8a2dfaaf 09:16:23 ---> 30b01bd14a27 09:16:23 Step 3/4 : COPY go.mod . 09:16:25 ---> 1e07f94302aa 09:16:25 Step 4/4 : RUN go mod download 09:16:25 ---> Running in 496b55cb6e95 09:17:03 Removing intermediate container 496b55cb6e95 09:17:03 ---> c634637ea49a 09:17:03 Successfully built c634637ea49a 09:17:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:04 + docker inspect -f . ci-base-image-arm64 09:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:04 prd-ubuntu20.04-docker-arm64-4c-16g-1426 does not seem to be running inside a container 09:17:04 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:05 $ docker top d043498789a8321a18eac80f6d3aa2160f8ee8117d9ddec031bb71d416c0a7be -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:06 + go version 09:17:06 go version go1.20.6 linux/arm64 [Pipeline] } 09:17:06 $ docker stop --time=1 d043498789a8321a18eac80f6d3aa2160f8ee8117d9ddec031bb71d416c0a7be 09:17:08 $ docker rm -f --volumes d043498789a8321a18eac80f6d3aa2160f8ee8117d9ddec031bb71d416c0a7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:08 + docker inspect -f . ci-base-image-arm64 09:17:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:09 prd-ubuntu20.04-docker-arm64-4c-16g-1426 does not seem to be running inside a container 09:17:09 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:10 $ docker top e40d6fa2f18097e74807257e99a5d3dbeaed3ca3ca1307dbc0d87e29cad36a9d -eo pid,comm [Pipeline] { [Pipeline] echo 09:17:10 ========================================================= 09:17:10 [edgeXBuildGoParallel] Running Tests and Build... 09:17:10 ========================================================= [Pipeline] sh 09:17:11 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 09:17:11 + make test 09:17:11 go test -race -coverprofile=coverage.out ./... 09:17:50 ? github.com/edgexfoundry/edgex-go [no test files] 09:19:57 # github.com/edgexfoundry/edgex-go/internal/core/command 09:19:57 internal/core/command/main.go:64:39: cannot use router (variable of type *echo.Echo) as *mux.Router value in argument to handlers.NewHttpServer 09:19:57 internal/core/command/router.go:31:8: cannot use authenticationHook (variable of type func(inner "net/http".HandlerFunc) "net/http".HandlerFunc) as echo.MiddlewareFunc value in argument to g.Use 09:19:57 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 09:19:57 # github.com/edgexfoundry/edgex-go/internal/core/data 09:19:57 internal/core/data/router.go:34:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:19:57 internal/core/data/router.go:35:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 internal/core/data/router.go:36:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 internal/core/data/router.go:64:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 internal/core/data/router.go:65:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 internal/core/data/router.go:66:8: cannot use correlation.UrlDecodeMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 # github.com/edgexfoundry/edgex-go/internal/core/metadata 09:19:57 internal/core/metadata/router.go:34:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:19:57 internal/core/metadata/router.go:35:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 internal/core/metadata/router.go:36:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 internal/core/metadata/router.go:98:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 internal/core/metadata/router.go:99:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 internal/core/metadata/router.go:100:8: cannot use correlation.UrlDecodeMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:57 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 09:19:57 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 09:19:57 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 09:19:57 internal/security/proxyauth/init.go:59:43: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to b.router.HandleFunc 09:19:57 internal/security/proxyauth/init.go:60:65: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 internal/security/proxyauth/init.go:61:64: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:57 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 09:19:57 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 09:19:58 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 09:19:59 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 09:19:59 internal/support/scheduler/router.go:29:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:19:59 internal/support/scheduler/router.go:30:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:59 internal/support/scheduler/router.go:31:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:19:59 internal/support/scheduler/router.go:49:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:19:59 internal/support/scheduler/router.go:50:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:20:00 # github.com/edgexfoundry/edgex-go/internal/support/notifications 09:20:00 internal/support/notifications/router.go:29:36: cannot use cc.Ping (value of type func(e echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 09:20:00 internal/support/notifications/router.go:30:58: cannot use cc.Version (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:20:00 internal/support/notifications/router.go:31:57: cannot use cc.Config (value of type func(e echo.Context) error) as "net/http".HandlerFunc value in argument to authenticationHook 09:20:00 internal/support/notifications/router.go:69:8: cannot use correlation.ManageHeader (value of type func(next echo.HandlerFunc) echo.HandlerFunc) as mux.MiddlewareFunc value in argument to r.Use 09:20:00 internal/support/notifications/router.go:70:8: cannot use correlation.LoggingMiddleware(container.LoggingClientFrom(dic.Get)) (value of type echo.MiddlewareFunc) as mux.MiddlewareFunc value in argument to r.Use 09:20:01 ? github.com/edgexfoundry/edgex-go/internal [no test files] 09:20:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 09:20:16 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 09:20:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.276s coverage: 28.7% of statements 09:20:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.316s coverage: 97.0% of statements 09:20:32 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 09:20:32 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 09:20:36 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.417s coverage: 71.5% of statements 09:20:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 09:20:38 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 09:20:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.345s coverage: 54.0% of statements 09:20:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 09:20:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 09:20:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 09:20:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 09:20:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 09:20:50 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 09:21:03 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 19.713s coverage: 88.5% of statements 09:21:03 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.491s coverage: 3.8% of statements 09:21:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 09:21:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 09:21:05 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 09:21:07 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.842s coverage: 95.6% of statements 09:21:08 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 09:21:08 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 09:21:08 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 09:21:08 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 09:21:08 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 09:21:08 ok github.com/edgexfoundry/edgex-go/internal/io 0.220s coverage: 72.2% of statements 09:21:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 09:21:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 09:21:15 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 09:21:15 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.265s coverage: 54.0% of statements 09:21:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 09:21:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 09:21:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.422s coverage: 0.9% of statements 09:21:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.282s coverage: 31.9% of statements 09:21:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.270s coverage: 42.9% of statements 09:21:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.270s coverage: 82.9% of statements 09:21:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.246s coverage: 94.1% of statements 09:21:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.291s coverage: 96.3% of statements 09:21:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.213s coverage: 87.5% of statements 09:21:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 09:21:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 09:21:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 09:21:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 09:21:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 09:21:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 09:21:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 09:21:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 09:21:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.217s coverage: 94.4% of statements 09:21:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 09:21:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 09:21:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 09:21:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 09:21:51 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 09:21:51 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 09:21:53 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.007s coverage: 79.9% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 20.283s coverage: 92.9% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.078s coverage: 64.4% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.223s coverage: 62.3% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.217s coverage: 87.2% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.183s coverage: 20.0% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.183s coverage: 100.0% of statements 09:21:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.476s coverage: 81.8% of statements 09:22:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 09:22:00 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.475s coverage: 82.1% of statements 09:22:01 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 09:22:01 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.221s coverage: 86.0% of statements 09:22:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 09:22:07 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 09:22:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.961s coverage: 63.1% of statements 09:22:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.255s coverage: 100.0% of statements 09:22:09 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.115s coverage: 89.4% of statements 09:22:09 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.098s coverage: 100.0% of statements 09:22:09 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.089s coverage: 73.7% of statements 09:22:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 09:22:09 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 09:22:09 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.073s coverage: 100.0% of statements 09:22:17 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 09:22:17 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 09:22:17 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 09:22:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.974s coverage: 38.4% of statements 09:22:17 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.257s coverage: 89.5% of statements 09:22:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 09:22:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 09:22:23 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 09:22:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.230s coverage: 84.8% of statements 09:22:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 09:22:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 09:22:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 09:22:28 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 09:22:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.283s coverage: 17.7% of statements 09:22:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 09:22:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 09:22:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 09:22:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.548s coverage: 92.3% of statements 09:22:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 09:22:40 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 09:22:40 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.274s coverage: 61.8% of statements 09:22:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 09:22:42 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 09:22:42 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.373s coverage: 97.7% of statements 09:22:42 FAIL 09:22:43 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 09:22:43 $ docker stop --time=1 e40d6fa2f18097e74807257e99a5d3dbeaed3ca3ca1307dbc0d87e29cad36a9d 09:22:44 $ docker rm -f --volumes e40d6fa2f18097e74807257e99a5d3dbeaed3ca3ca1307dbc0d87e29cad36a9d [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 09:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:46 09:22:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:46 arm64: Pulling from edgex-lftools-log-publisher 09:22:46 8998bd30e6a1: Pulling fs layer 09:22:46 04944245beec: Pulling fs layer 09:22:46 699f458cf7ca: Pulling fs layer 09:22:46 765212b225bb: Pulling fs layer 09:22:46 f23df028b6ca: Pulling fs layer 09:22:46 d65c8cfc05b1: Pulling fs layer 09:22:46 2437ff75d9bd: Pulling fs layer 09:22:46 765212b225bb: Waiting 09:22:46 f23df028b6ca: Waiting 09:22:46 d65c8cfc05b1: Waiting 09:22:46 2437ff75d9bd: Waiting 09:22:46 04944245beec: Verifying Checksum 09:22:46 04944245beec: Download complete 09:22:46 765212b225bb: Verifying Checksum 09:22:46 765212b225bb: Download complete 09:22:46 f23df028b6ca: Verifying Checksum 09:22:46 f23df028b6ca: Download complete 09:22:46 d65c8cfc05b1: Download complete 09:22:46 699f458cf7ca: Verifying Checksum 09:22:46 699f458cf7ca: Download complete 09:22:47 8998bd30e6a1: Verifying Checksum 09:22:47 8998bd30e6a1: Download complete 09:22:49 2437ff75d9bd: Verifying Checksum 09:22:52 8998bd30e6a1: Pull complete 09:22:52 04944245beec: Pull complete 09:22:54 699f458cf7ca: Pull complete 09:22:54 765212b225bb: Pull complete 09:22:55 f23df028b6ca: Pull complete 09:22:55 d65c8cfc05b1: Pull complete 09:23:10 2437ff75d9bd: Pull complete 09:23:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:10 prd-ubuntu20.04-docker-arm64-4c-16g-1426 does not seem to be running inside a container 09:23:10 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:23:12 $ docker top 5af8a10896db5c493d599c56f281350eb3f58211d310a1639236a2a068fc691d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:13 ---> job-cost.sh 09:23:13 lf-activate-venv: SKIPPING 09:23:13 INFO: No Stack... 09:23:14 INFO: Retrieving Pricing Info for: v3-standard-4 09:23:14 INFO: Archiving Costs [Pipeline] sh 09:23:15 + cat /w/workspace/edgex-go/2/archives/cost.csv 09:23:15 + cut -d, -f6 [Pipeline] lock 09:23:15 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4606-2-stack-cost] 09:23:15 Resource [jenkins-edgexfoundry-edgex-go-PR-4606-2-stack-cost] did not exist. Created. 09:23:15 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4606-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:23:15 + echo total: 0.10999999940395355 [Pipeline] stash 09:23:16 Stashed 1 file(s) [Pipeline] } 09:23:16 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4606-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:23:16 $ docker stop --time=1 5af8a10896db5c493d599c56f281350eb3f58211d310a1639236a2a068fc691d 09:23:19 $ docker rm -f --volumes 5af8a10896db5c493d599c56f281350eb3f58211d310a1639236a2a068fc691d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:23:19 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 09:23:20 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 09:23:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:21 ---> package-listing.sh 09:23:21 ++ facter osfamily 09:23:21 ++ tr '[:upper:]' '[:lower:]' 09:23:21 + OS_FAMILY=debian 09:23:21 + workspace=/w/workspace/edgex-go/2 09:23:21 + START_PACKAGES=/tmp/packages_start.txt 09:23:21 + END_PACKAGES=/tmp/packages_end.txt 09:23:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:21 + PACKAGES=/tmp/packages_start.txt 09:23:21 + '[' /w/workspace/edgex-go/2 ']' 09:23:21 + PACKAGES=/tmp/packages_end.txt 09:23:21 + case "${OS_FAMILY}" in 09:23:21 + dpkg -l 09:23:21 + grep '^ii' 09:23:21 + '[' -f /tmp/packages_start.txt ']' 09:23:21 + '[' -f /tmp/packages_end.txt ']' 09:23:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:21 + '[' /w/workspace/edgex-go/2 ']' 09:23:21 + mkdir -p /w/workspace/edgex-go/2/archives/ 09:23:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 09:23:21 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 09:23:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:22 09:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:22 latest: Pulling from edgex-lftools-log-publisher 09:23:22 5eb5b503b376: Pulling fs layer 09:23:22 5c69ac0246d0: Pulling fs layer 09:23:22 ec43610c2a17: Pulling fs layer 09:23:22 3a2ae6a8a46f: Pulling fs layer 09:23:22 33b1e0a273af: Pulling fs layer 09:23:22 5d3b04190fa2: Pulling fs layer 09:23:22 2f39f015ded8: Pulling fs layer 09:23:22 33b1e0a273af: Waiting 09:23:22 5d3b04190fa2: Waiting 09:23:22 3a2ae6a8a46f: Waiting 09:23:22 2f39f015ded8: Waiting 09:23:22 5c69ac0246d0: Verifying Checksum 09:23:22 3a2ae6a8a46f: Verifying Checksum 09:23:22 3a2ae6a8a46f: Download complete 09:23:22 33b1e0a273af: Verifying Checksum 09:23:22 33b1e0a273af: Download complete 09:23:22 5d3b04190fa2: Verifying Checksum 09:23:22 5d3b04190fa2: Download complete 09:23:22 ec43610c2a17: Verifying Checksum 09:23:22 ec43610c2a17: Download complete 09:23:23 5eb5b503b376: Verifying Checksum 09:23:23 5eb5b503b376: Download complete 09:23:24 5eb5b503b376: Pull complete 09:23:24 5c69ac0246d0: Pull complete 09:23:24 ec43610c2a17: Pull complete 09:23:24 3a2ae6a8a46f: Pull complete 09:23:25 33b1e0a273af: Pull complete 09:23:25 5d3b04190fa2: Pull complete 09:23:30 2f39f015ded8: Pull complete 09:23:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:30 prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container 09:23:30 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:23:34 $ docker top da16dead4afcea3aa31adcca8f7e8068848d3cd08134f8fdce2e07aa4d9fce75 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:34 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:35 + mkdir -p /var/log/sysstat [Pipeline] sh 09:23:35 + ls /var/log/sa-host 09:23:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:35 provisioning config files... 09:23:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config15355671560527412985tmp [Pipeline] { [Pipeline] echo 09:23:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:35 ---> create-netrc.sh [Pipeline] } 09:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:23:36 ---> python-tools-install.sh [Pipeline] echo 09:23:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:36 ---> sudo-logs.sh 09:23:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:23:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:36 ---> job-cost.sh 09:23:36 lf-activate-venv: SKIPPING 09:23:36 DEBUG: total: 0.10999999940395355 09:23:36 INFO: Retrieving Stack Cost... 09:23:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:23:37 INFO: Archiving Costs [Pipeline] echo 09:23:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:37 ---> logs-deploy.sh 09:23:37 lf-activate-venv: SKIPPING 09:23:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4606/2 09:23:37 INFO: archiving workspace using pattern(s): 09:23:38 Archives upload complete. 09:23:38 INFO: archiving logs to Nexus