Pull request #4623 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58e05a79121bef87abab43e9114a1f8bffa313db+e9743d574695eaaacfb4360752d68f7ca76ed8b2 (838eaffa9fa939ef2bf5842e8c71be1c2f2f6ef1) 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-ssh15590722078125811448.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-ssh11241945051187385273.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4623/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-4623/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14901391552651558056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-4623/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5459786492823397163.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8730464479567612556.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4623/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-4623/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3254314406559695191.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2847 in /w/workspace/edgexfoundry_edgex-go_PR-4623 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 58e05a79121bef87abab43e9114a1f8bffa313db > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4623/head:refs/remotes/origin/PR-4623 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58e05a79121bef87abab43e9114a1f8bffa313db # timeout=10 > git remote # timeout=10 Merge succeeded, producing 58e05a79121bef87abab43e9114a1f8bffa313db Checking out Revision 58e05a79121bef87abab43e9114a1f8bffa313db (PR-4623) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:42:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:42:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:42:10 ========================================================= 19:42:10 EdgeX Global Pipelines Version Info 19:42:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58e05a79121bef87abab43e9114a1f8bffa313db # timeout=10 19:42:11 ------------------- 19:42:11 stable info: 19:42:11 ------------------- 19:42:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:42:11 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:42:11 Message: update stable to v1.0.250 19:42:12 ------------------- 19:42:12 experimental info: 19:42:12 ------------------- 19:42:12 Commited By: **** collab-it+edgex@linuxfoundation.org 19:42:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:42:12 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4623 [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4623 [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4623 [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58e05a79121bef87abab43e9114a1f8bffa313db [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58e05a7 [Pipeline] echo 19:42:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:42:13 provisioning config files... 19:42:13 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config186572291267998442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:42:14 ---> docker-login.sh 19:42:14 nexus3.edgexfoundry.org:10001 19:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:15 Configure a credential helper to remove this warning. See 19:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:15 19:42:15 Login Succeeded 19:42:15 nexus3.edgexfoundry.org:10002 19:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:15 Configure a credential helper to remove this warning. See 19:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:15 19:42:15 Login Succeeded 19:42:15 nexus3.edgexfoundry.org:10003 19:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:15 Configure a credential helper to remove this warning. See 19:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:15 19:42:15 Login Succeeded 19:42:15 nexus3.edgexfoundry.org:10004 19:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:15 Configure a credential helper to remove this warning. See 19:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:15 19:42:15 Login Succeeded 19:42:15 docker.io 19:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:16 Configure a credential helper to remove this warning. See 19:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:16 19:42:16 Login Succeeded 19:42:16 ---> docker-login.sh ends [Pipeline] } 19:42:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:42:16 + 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 19:42:16 + dirname cmd/core-command/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo core-command,cmd/core-command/Dockerfile 19:42:16 + + dirname cmd/core-common-config-bootstrapper/Dockerfile 19:42:16 cut -d/ -f2 19:42:16 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:42:16 + cut -d/+ -f2 19:42:16 dirname cmd/core-data/Dockerfile 19:42:16 + echo core-data,cmd/core-data/Dockerfile 19:42:16 + dirname cmd/core-metadata/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo core-metadata,cmd/core-metadata/Dockerfile 19:42:16 + dirname cmd/security-bootstrapper/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:42:16 + dirname cmd/security-proxy-auth/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:42:16 + dirname cmd/security-proxy-setup/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + dirname cmd/security-secretstore-setup/Dockerfile 19:42:16 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:42:16 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:42:16 + dirname cmd/security-spire-agent/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:42:16 + dirname cmd/security-spire-config/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:42:16 + dirname cmd/security-spire-server/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:42:16 + dirname cmd/support-notifications/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo support-notifications,cmd/support-notifications/Dockerfile 19:42:16 + dirname cmd/support-scheduler/Dockerfile 19:42:16 + cut -d/ -f2 19:42:16 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:42:16 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 19:42:17 + git rev-list -1 --merges 58e05a79121bef87abab43e9114a1f8bffa313db~1..58e05a79121bef87abab43e9114a1f8bffa313db [Pipeline] echo 19:42:17 -----------> git rev-list -1 --merges 58e05a79121bef87abab43e9114a1f8bffa313db~1..58e05a79121bef87abab43e9114a1f8bffa313db 58e05a79121bef87abab43e9114a1f8bffa313db [false] [Pipeline] sh 19:42:17 + git log --format=format:%s -1 58e05a79121bef87abab43e9114a1f8bffa313db [Pipeline] echo 19:42:17 ========================================================= 19:42:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:42:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:42:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:42:18 + grep -v github /etc/ssh/ssh_known_hosts 19:42:18 + [ -e /tmp/ssh_known_hosts ] 19:42:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:42:18 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:42:18 sudo tee -a /etc/ssh/ssh_known_hosts 19:42:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:18 19:42:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:20 0.1.4: Pulling from edgex-devops/py-git-semver 19:42:20 b85a868b505f: Pulling fs layer 19:42:20 e2be974225ed: Pulling fs layer 19:42:20 339a4e72a1f5: Pulling fs layer 19:42:20 988bab9f4d93: Pulling fs layer 19:42:20 1469e6f7b9e6: Pulling fs layer 19:42:20 eaf3925da568: Pulling fs layer 19:42:20 bab4dde63d76: Pulling fs layer 19:42:20 bde34c3a00c8: Pulling fs layer 19:42:20 b352a97aabf1: Pulling fs layer 19:42:20 4872d77fe225: Pulling fs layer 19:42:20 5851b861e8e6: Pulling fs layer 19:42:20 b352a97aabf1: Waiting 19:42:20 1469e6f7b9e6: Waiting 19:42:20 4872d77fe225: Waiting 19:42:20 eaf3925da568: Waiting 19:42:20 bab4dde63d76: Waiting 19:42:20 5851b861e8e6: Waiting 19:42:20 bde34c3a00c8: Waiting 19:42:20 988bab9f4d93: Waiting 19:42:20 e2be974225ed: Verifying Checksum 19:42:20 e2be974225ed: Download complete 19:42:20 988bab9f4d93: Verifying Checksum 19:42:20 988bab9f4d93: Download complete 19:42:20 1469e6f7b9e6: Verifying Checksum 19:42:20 1469e6f7b9e6: Download complete 19:42:21 eaf3925da568: Verifying Checksum 19:42:21 eaf3925da568: Download complete 19:42:21 339a4e72a1f5: Verifying Checksum 19:42:21 339a4e72a1f5: Download complete 19:42:21 bde34c3a00c8: Verifying Checksum 19:42:21 bde34c3a00c8: Download complete 19:42:21 b352a97aabf1: Verifying Checksum 19:42:21 b352a97aabf1: Download complete 19:42:21 4872d77fe225: Download complete 19:42:21 5851b861e8e6: Download complete 19:42:21 b85a868b505f: Verifying Checksum 19:42:21 b85a868b505f: Download complete 19:42:21 bab4dde63d76: Verifying Checksum 19:42:21 bab4dde63d76: Download complete 19:42:24 b85a868b505f: Pull complete 19:42:24 e2be974225ed: Pull complete 19:42:25 339a4e72a1f5: Pull complete 19:42:26 988bab9f4d93: Pull complete 19:42:26 1469e6f7b9e6: Pull complete 19:42:26 eaf3925da568: Pull complete 19:42:28 bab4dde63d76: Pull complete 19:42:28 bde34c3a00c8: Pull complete 19:42:29 b352a97aabf1: Pull complete 19:42:29 4872d77fe225: Pull complete 19:42:29 5851b861e8e6: Pull complete 19:42:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:42:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:42:30 prd-ubuntu20.04-docker-8c-8g-2847 does not seem to be running inside a container 19:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:42:35 $ docker top 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f -eo pid,comm 19:42:35 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). 19:42:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:42:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:42:36 [ssh-agent] Looking for ssh-agent implementation... 19:42:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:42:36 $ docker exec 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f ssh-agent 19:42:36 SSH_AUTH_SOCK=/tmp/ssh-m5L21KD2HP6I/agent.32 19:42:36 SSH_AGENT_PID=38 19:42:36 Running ssh-add (command line suppressed) 19:42:36 Identity added: /w/workspace/edgex-go/1@tmp/private_key_18256443360678786492.key (/w/workspace/edgex-go/1@tmp/private_key_18256443360678786492.key) 19:42:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:42:36 + git tag --points-at HEAD [Pipeline] } 19:42:36 $ docker exec --env ******** --env ******** 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f ssh-agent -k 19:42:37 unset SSH_AUTH_SOCK; 19:42:37 unset SSH_AGENT_PID; 19:42:37 echo Agent pid 38 killed; 19:42:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:42:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:42:37 [ssh-agent] Looking for ssh-agent implementation... 19:42:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:42:37 $ docker exec 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f ssh-agent 19:42:37 SSH_AUTH_SOCK=/tmp/ssh-fkizVnJ7rdKA/agent.70 19:42:37 SSH_AGENT_PID=76 19:42:37 Running ssh-add (command line suppressed) 19:42:37 Identity added: /w/workspace/edgex-go/1@tmp/private_key_16663245275171070710.key (/w/workspace/edgex-go/1@tmp/private_key_16663245275171070710.key) 19:42:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:42:37 + git semver init 19:42:38 2023-08-03 19:42:38,020 [run_init] DEBUG init version:0.0.0 force:False 19:42:38 2023-08-03 19:42:38,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 19:42:38 2023-08-03 19:42:38,021 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 19:42:38 2023-08-03 19:42:38,021 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 19:42:43 2023-08-03 19:42:42,713 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 19:42:43 2023-08-03 19:42:42,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4623 with force:False 19:42:43 2023-08-03 19:42:42,714 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4623 19:42:43 2023-08-03 19:42:42,718 [execute] INFO git cat-file --batch-check 19:42:43 2023-08-03 19:42:42,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:42:43 2023-08-03 19:42:42,724 [execute] INFO git cat-file --batch 19:42:43 2023-08-03 19:42:42,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:42:43 2023-08-03 19:42:42,729 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4623 19:42:43 0.0.0 [Pipeline] } 19:42:43 $ docker exec --env ******** --env ******** 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f ssh-agent -k 19:42:43 unset SSH_AUTH_SOCK; 19:42:43 unset SSH_AGENT_PID; 19:42:43 echo Agent pid 76 killed; 19:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:42:43 + git semver [Pipeline] } 19:42:44 $ docker stop --time=1 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f 19:42:46 $ docker rm -f --volumes 830b40af58b42c2f149569c0c5b62e80061edf1c3d4e0b3e350604ed3f94203f [Pipeline] // withDockerContainer [Pipeline] sh 19:42:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:42:46 Stashed 1 file(s) [Pipeline] echo 19:42:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:47 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:42:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:42:48 ========================================================= 19:42:48 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:42:48 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:42:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:42:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:42:48 4db1b89c0bd1: Pulling fs layer 19:42:48 6911f1a30b25: Pulling fs layer 19:42:48 e194b8c5c2a9: Pulling fs layer 19:42:48 6863d3e3a2b1: Pulling fs layer 19:42:48 ec0bb842ea78: Pulling fs layer 19:42:48 40a00589a448: Pulling fs layer 19:42:48 6c08303d61cc: Pulling fs layer 19:42:48 798269fcf238: Pulling fs layer 19:42:48 ec0bb842ea78: Waiting 19:42:48 40a00589a448: Waiting 19:42:48 6c08303d61cc: Waiting 19:42:48 798269fcf238: Waiting 19:42:48 6863d3e3a2b1: Waiting 19:42:48 6911f1a30b25: Download complete 19:42:48 6863d3e3a2b1: Verifying Checksum 19:42:48 6863d3e3a2b1: Download complete 19:42:48 ec0bb842ea78: Download complete 19:42:48 4db1b89c0bd1: Verifying Checksum 19:42:48 4db1b89c0bd1: Download complete 19:42:48 40a00589a448: Verifying Checksum 19:42:48 40a00589a448: Download complete 19:42:48 4db1b89c0bd1: Pull complete 19:42:49 6911f1a30b25: Pull complete 19:42:49 e194b8c5c2a9: Verifying Checksum 19:42:49 e194b8c5c2a9: Download complete 19:42:49 798269fcf238: Verifying Checksum 19:42:49 798269fcf238: Download complete 19:42:49 6c08303d61cc: Verifying Checksum 19:42:49 6c08303d61cc: Download complete 19:42:52 e194b8c5c2a9: Pull complete 19:42:52 6863d3e3a2b1: Pull complete 19:42:52 ec0bb842ea78: Pull complete 19:42:52 40a00589a448: Pull complete 19:42:55 6c08303d61cc: Pull complete 19:42:55 798269fcf238: Pull complete 19:42:55 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 19:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:42:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:42:56 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:42:56 WORKDIR /edgex 19:42:56 COPY go.mod . 19:42:56 RUN go mod download 19:42:56 + docker build -t ci-base-image-x86_64 -f - . 19:42:56 Sending build context to Docker daemon 170.7MB 19:42:56 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:42:56 ---> ec979cd7f677 19:42:56 Step 2/4 : WORKDIR /edgex 19:43:02 Still waiting to schedule task 19:43:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:43:05 ---> Running in e5075c3b143d 19:43:05 Removing intermediate container e5075c3b143d 19:43:05 ---> 11a3163d7a7e 19:43:05 Step 3/4 : COPY go.mod . 19:43:05 ---> 03f4a6471d5b 19:43:05 Step 4/4 : RUN go mod download 19:43:05 ---> Running in 0d1f3443b213 19:43:26 Removing intermediate container 0d1f3443b213 19:43:26 ---> 23aef0cc3785 19:43:26 Successfully built 23aef0cc3785 19:43:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:27 + docker inspect -f . ci-base-image-x86_64 19:43:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:27 prd-ubuntu20.04-docker-8c-8g-2847 does not seem to be running inside a container 19:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 19:43:27 $ docker top 0cf0e10fa053b63d67475d528264e150f3b6f43714424dd9aa53bd0117b68f98 -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:28 + go version 19:43:28 go version go1.20.6 linux/amd64 [Pipeline] } 19:43:28 $ docker stop --time=1 0cf0e10fa053b63d67475d528264e150f3b6f43714424dd9aa53bd0117b68f98 19:43:29 $ docker rm -f --volumes 0cf0e10fa053b63d67475d528264e150f3b6f43714424dd9aa53bd0117b68f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:30 + docker inspect -f . ci-base-image-x86_64 19:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:30 prd-ubuntu20.04-docker-8c-8g-2847 does not seem to be running inside a container 19:43:30 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 19:43:30 $ docker top 6387bf0e73cf7a5070707a5c4f529ca3022a0abcea5a9b7570bdaa260ca6a17e -eo pid,comm [Pipeline] { [Pipeline] echo 19:43:31 ========================================================= 19:43:31 [edgeXBuildGoParallel] Running Tests and Build... 19:43:31 ========================================================= [Pipeline] sh 19:43:31 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:43:31 + make test 19:43:31 go test -race -coverprofile=coverage.out ./... 19:43:39 ? github.com/edgexfoundry/edgex-go [no test files] 19:43:52 # github.com/edgexfoundry/edgex-go/internal/core/command 19:43:52 internal/core/command/main.go:64:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 internal/core/command/router.go:33:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/core/command/router.go:37:41: cannot use authenticationHook(cmd.AllCommands) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/command/router.go:37:60: cannot use cmd.AllCommands (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/command/router.go:38:44: cannot use authenticationHook(cmd.CommandsByDeviceName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/command/router.go:38:63: cannot use cmd.CommandsByDeviceName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/command/router.go:39:53: cannot use authenticationHook(cmd.IssueGetCommandByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/command/router.go:39:72: cannot use cmd.IssueGetCommandByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/command/router.go:40:53: cannot use authenticationHook(cmd.IssueSetCommandByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/command/router.go:40:72: cannot use cmd.IssueSetCommandByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/command/router.go:40:53: too many errors 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 19:43:52 # github.com/edgexfoundry/edgex-go/internal/core/data 19:43:52 internal/core/data/main.go:60:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 internal/core/data/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/core/data/router.go:38:79: cannot use authenticationHook(ec.AddEvent) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/data/router.go:38:98: cannot use ec.AddEvent (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/data/router.go:39:39: cannot use authenticationHook(ec.EventById) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/data/router.go:39:58: cannot use ec.EventById (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/data/router.go:40:39: cannot use authenticationHook(ec.DeleteEventById) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/data/router.go:40:58: cannot use ec.DeleteEventById (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/data/router.go:41:42: cannot use authenticationHook(ec.EventTotalCount) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/data/router.go:41:61: cannot use ec.EventTotalCount (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/data/router.go:41:42: too many errors 19:43:52 # github.com/edgexfoundry/edgex-go/internal/core/metadata 19:43:52 internal/core/metadata/main.go:61:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 internal/core/metadata/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/core/metadata/router.go:38:46: cannot use authenticationHook(uc.UnitsOfMeasure) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/metadata/router.go:38:65: cannot use uc.UnitsOfMeasure (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/metadata/router.go:42:45: cannot use authenticationHook(dc.AddDeviceProfile) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/metadata/router.go:42:64: cannot use dc.AddDeviceProfile (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/metadata/router.go:43:45: cannot use authenticationHook(dc.UpdateDeviceProfile) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/metadata/router.go:43:64: cannot use dc.UpdateDeviceProfile (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/metadata/router.go:44:55: cannot use authenticationHook(dc.AddDeviceProfileByYaml) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/core/metadata/router.go:44:74: cannot use dc.AddDeviceProfileByYaml (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/core/metadata/router.go:44:55: too many errors 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:43:52 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 19:43:52 internal/security/proxyauth/init.go:57:42: cannot use b.router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/security/proxyauth/init.go:60:31: cannot use authenticationHook(emptyHandler) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to b.router.HandleFunc 19:43:52 internal/security/proxyauth/init.go:60:50: cannot use emptyHandler (value of type func(_ "net/http".ResponseWriter, _ *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/security/proxyauth/main.go:62:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:43:52 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 19:43:52 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 19:43:52 internal/support/scheduler/main.go:59:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 internal/support/scheduler/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/support/scheduler/router.go:33:40: cannot use authenticationHook(interval.AddInterval) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/scheduler/router.go:33:59: cannot use interval.AddInterval (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/scheduler/router.go:34:46: cannot use authenticationHook(interval.IntervalByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/scheduler/router.go:34:65: cannot use interval.IntervalByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/scheduler/router.go:35:43: cannot use authenticationHook(interval.AllIntervals) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/scheduler/router.go:35:62: cannot use interval.AllIntervals (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/scheduler/router.go:36:46: cannot use authenticationHook(interval.DeleteIntervalByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/scheduler/router.go:36:65: cannot use interval.DeleteIntervalByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/scheduler/router.go:36:46: too many errors 19:43:52 # github.com/edgexfoundry/edgex-go/internal/support/notifications 19:43:52 internal/support/notifications/main.go:66:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:43:52 internal/support/notifications/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:43:52 internal/support/notifications/router.go:33:44: cannot use authenticationHook(sc.AddSubscription) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/notifications/router.go:33:63: cannot use sc.AddSubscription (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/notifications/router.go:34:47: cannot use authenticationHook(sc.AllSubscriptions) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/notifications/router.go:34:66: cannot use sc.AllSubscriptions (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/notifications/router.go:35:50: cannot use authenticationHook(sc.SubscriptionByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/notifications/router.go:35:69: cannot use sc.SubscriptionByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/notifications/router.go:36:54: cannot use authenticationHook(sc.SubscriptionsByCategory) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:43:52 internal/support/notifications/router.go:36:73: cannot use sc.SubscriptionsByCategory (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:43:52 internal/support/notifications/router.go:36:54: too many errors 19:43:52 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:43:53 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:43:53 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:43:53 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.063s coverage: 28.7% of statements 19:43:54 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.081s coverage: 98.5% of statements 19:43:54 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 19:43:54 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:43:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:43:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:43:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:43:58 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.092s coverage: 71.5% of statements 19:43:58 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.134s coverage: 54.0% of statements 19:43:59 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.600s coverage: 88.5% of statements 19:43:59 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.069s coverage: 3.8% of statements 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:44:00 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:44:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.401s coverage: 95.6% of statements 19:44:00 ok github.com/edgexfoundry/edgex-go/internal/io 0.053s coverage: 72.2% of statements 19:44:02 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:44:02 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:44:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.084s coverage: 0.9% of statements 19:44:02 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.054s coverage: 31.9% of statements 19:44:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.064s coverage: 42.9% of statements 19:44:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.070s coverage: 82.9% of statements 19:44:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.060s coverage: 94.1% of statements 19:44:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 19:44:03 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.061s coverage: 87.5% of statements 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 19:44:03 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:44:05 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:44:06 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:44:07 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 19:44:08 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:44:09 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:44:09 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:44:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 19:44:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 19:44:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:44:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:44:12 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:44:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 19:44:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 19:44:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 19:44:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:44:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:44:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:44:14 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:44:15 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.066s coverage: 94.4% of statements 19:44:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:44:16 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:44:16 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:44:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:44:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:44:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:44:17 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.301s coverage: 79.9% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.076s coverage: 92.9% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.030s coverage: 64.4% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.064s coverage: 62.3% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.045s coverage: 20.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.051s coverage: 100.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.100s coverage: 81.8% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.113s coverage: 82.1% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.071s coverage: 86.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.217s coverage: 63.1% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.063s coverage: 100.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.038s coverage: 89.4% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.164s coverage: 38.4% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.055s coverage: 89.5% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.069s coverage: 17.7% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.133s coverage: 92.3% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.059s coverage: 61.8% of statements 19:44:27 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.092s coverage: 97.7% of statements 19:44:27 FAIL 19:44:27 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 19:44:27 $ docker stop --time=1 6387bf0e73cf7a5070707a5c4f529ca3022a0abcea5a9b7570bdaa260ca6a17e 19:44:29 $ docker rm -f --volumes 6387bf0e73cf7a5070707a5c4f529ca3022a0abcea5a9b7570bdaa260ca6a17e [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] } 19:44:30 Failed in branch amd64 19:44:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2848 in /w/workspace/edgexfoundry_edgex-go_PR-4623 [Pipeline] { [Pipeline] ws 19:44:32 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 19:44:32 The recommended git tool is: git 19:44:37 using credential edgex-jenkins-ssh 19:44:37 Cloning the remote Git repository 19:44:37 Cloning repository git@github.com:edgexfoundry/edgex-go.git 19:44:37 > git init /w/workspace/edgex-go/1 # timeout=10 19:44:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:44:37 > git --version # timeout=10 19:44:37 > git --version # 'git version 2.25.1' 19:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:44:53 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:44:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:44:54 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:44:54 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4623/head:refs/remotes/origin/PR-4623 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:44:55 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 58e05a79121bef87abab43e9114a1f8bffa313db 19:44:55 Merge succeeded, producing 58e05a79121bef87abab43e9114a1f8bffa313db 19:44:55 Checking out Revision 58e05a79121bef87abab43e9114a1f8bffa313db (PR-4623) 19:44:56 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 19:44:56 > git --version # timeout=10 19:44:56 > git --version # 'git version 2.25.1' 19:44:56 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { 19:44:55 > git config core.sparsecheckout # timeout=10 19:44:55 > git checkout -f 58e05a79121bef87abab43e9114a1f8bffa313db # timeout=10 19:44:55 > git remote # timeout=10 19:44:55 > git config --get remote.origin.url # timeout=10 19:44:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:44:55 > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 19:44:55 > git rev-parse HEAD^{commit} # timeout=10 19:44:55 > git config core.sparsecheckout # timeout=10 19:44:55 > git checkout -f 58e05a79121bef87abab43e9114a1f8bffa313db # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:44:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:44:57 % Total % Received % Xferd Average Speed Time Time Time Current 19:44:57 Dload Upload Total Spent Left Speed 19:44:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 40479 0 --:--:-- --:--:-- --:--:-- 40608 [Pipeline] sh 19:44:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:44:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:44:58 + sudo tee /etc/docker/daemon.new 19:44:58 { 19:44:58 "registry-mirrors": [ 19:44:58 "https://nexus3.edgexfoundry.org:10001" 19:44:58 ], 19:44:58 "bip": "10.250.0.254/24", 19:44:58 "hosts": [ 19:44:58 "tcp://0.0.0.0:5555", 19:44:58 "unix:///var/run/docker.sock" 19:44:58 ], 19:44:58 "mtu": 1458, 19:44:58 "selinux-enabled": true, 19:44:58 "seccomp-profile": "/etc/docker/seccomp.json" 19:44:58 } [Pipeline] sh 19:44:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:44:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:17 provisioning config files... 19:45:17 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6070333859775858419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:17 ---> docker-login.sh 19:45:17 nexus3.edgexfoundry.org:10001 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 nexus3.edgexfoundry.org:10002 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:18 Configure a credential helper to remove this warning. See 19:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:18 19:45:18 Login Succeeded 19:45:18 nexus3.edgexfoundry.org:10003 19:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:19 Configure a credential helper to remove this warning. See 19:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:19 19:45:19 Login Succeeded 19:45:19 nexus3.edgexfoundry.org:10004 19:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:19 Configure a credential helper to remove this warning. See 19:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:19 19:45:19 Login Succeeded 19:45:19 docker.io 19:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:19 Configure a credential helper to remove this warning. See 19:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:19 19:45:19 Login Succeeded 19:45:19 ---> docker-login.sh ends [Pipeline] } 19:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 19:45:20 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:45:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:20 ========================================================= 19:45:20 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:45:20 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:45:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:45:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:45:23 edb6bdbacee9: Pulling fs layer 19:45:23 5f9638ab2659: Pulling fs layer 19:45:23 8d51d6327a98: Pulling fs layer 19:45:23 8b374f2dd631: Pulling fs layer 19:45:23 ec14aa9079de: Pulling fs layer 19:45:23 2f466654f4bb: Pulling fs layer 19:45:23 554e91adad29: Pulling fs layer 19:45:23 ec14aa9079de: Waiting 19:45:23 2f466654f4bb: Waiting 19:45:23 8b374f2dd631: Waiting 19:45:23 554e91adad29: Waiting 19:45:23 5f9638ab2659: Verifying Checksum 19:45:23 5f9638ab2659: Download complete 19:45:23 8b374f2dd631: Verifying Checksum 19:45:23 8b374f2dd631: Download complete 19:45:23 ec14aa9079de: Download complete 19:45:23 edb6bdbacee9: Download complete 19:45:24 edb6bdbacee9: Pull complete 19:45:24 554e91adad29: Verifying Checksum 19:45:24 554e91adad29: Download complete 19:45:24 5f9638ab2659: Pull complete 19:45:25 8d51d6327a98: Verifying Checksum 19:45:25 8d51d6327a98: Download complete 19:45:25 2f466654f4bb: Verifying Checksum 19:45:25 2f466654f4bb: Download complete 19:45:38 8d51d6327a98: Pull complete 19:45:38 8b374f2dd631: Pull complete 19:45:38 ec14aa9079de: Pull complete 19:45:43 2f466654f4bb: Pull complete 19:45:46 554e91adad29: Pull complete 19:45:46 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 19:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:45:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:45:46 + docker build -t ci-base-image-arm64 -f - . 19:45:46 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:45:46 WORKDIR /edgex 19:45:46 COPY go.mod . 19:45:46 RUN go mod download 19:45:47 Sending build context to Docker daemon 2.941MB 19:45:47 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:45:47 ---> 1e15ea492957 19:45:47 Step 2/4 : WORKDIR /edgex 19:45:49 ---> Running in 3080033dc565 19:45:49 Removing intermediate container 3080033dc565 19:45:49 ---> 0d3bf6fc0ed3 19:45:49 Step 3/4 : COPY go.mod . 19:45:50 ---> b5cda82c15a7 19:45:50 Step 4/4 : RUN go mod download 19:45:50 ---> Running in 4034c4074a51 19:46:28 Removing intermediate container 4034c4074a51 19:46:28 ---> 3d8dd1b87813 19:46:28 Successfully built 3d8dd1b87813 19:46:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:29 + docker inspect -f . ci-base-image-arm64 19:46:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:29 prd-ubuntu20.04-docker-arm64-4c-16g-2848 does not seem to be running inside a container 19:46:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 19:46:31 $ docker top 86ce5dd1586b6fddaa372875d2358822fc52b0bdd83bed990c67172ad558b14c -eo pid,comm [Pipeline] { [Pipeline] sh 19:46:32 + go version 19:46:32 go version go1.20.6 linux/arm64 [Pipeline] } 19:46:32 $ docker stop --time=1 86ce5dd1586b6fddaa372875d2358822fc52b0bdd83bed990c67172ad558b14c 19:46:33 $ docker rm -f --volumes 86ce5dd1586b6fddaa372875d2358822fc52b0bdd83bed990c67172ad558b14c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:34 + docker inspect -f . ci-base-image-arm64 19:46:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:34 prd-ubuntu20.04-docker-arm64-4c-16g-2848 does not seem to be running inside a container 19:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 19:46:36 $ docker top 49f8e00e8ec8afe6218ebe7bf9667bc051d8bd70dc25ac02e6b424d8028142a5 -eo pid,comm [Pipeline] { [Pipeline] echo 19:46:36 ========================================================= 19:46:36 [edgeXBuildGoParallel] Running Tests and Build... 19:46:36 ========================================================= [Pipeline] sh 19:46:36 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:46:37 + make test 19:46:37 go test -race -coverprofile=coverage.out ./... 19:47:16 ? github.com/edgexfoundry/edgex-go [no test files] 19:49:07 # github.com/edgexfoundry/edgex-go/internal/core/command 19:49:07 internal/core/command/main.go:64:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:07 internal/core/command/router.go:33:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:07 internal/core/command/router.go:37:41: cannot use authenticationHook(cmd.AllCommands) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/command/router.go:37:60: cannot use cmd.AllCommands (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/command/router.go:38:44: cannot use authenticationHook(cmd.CommandsByDeviceName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/command/router.go:38:63: cannot use cmd.CommandsByDeviceName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/command/router.go:39:53: cannot use authenticationHook(cmd.IssueGetCommandByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/command/router.go:39:72: cannot use cmd.IssueGetCommandByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/command/router.go:40:53: cannot use authenticationHook(cmd.IssueSetCommandByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/command/router.go:40:72: cannot use cmd.IssueSetCommandByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/command/router.go:40:53: too many errors 19:49:07 # github.com/edgexfoundry/edgex-go/internal/core/data 19:49:07 internal/core/data/main.go:60:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:07 internal/core/data/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:07 internal/core/data/router.go:38:79: cannot use authenticationHook(ec.AddEvent) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/data/router.go:38:98: cannot use ec.AddEvent (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/data/router.go:39:39: cannot use authenticationHook(ec.EventById) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/data/router.go:39:58: cannot use ec.EventById (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/data/router.go:40:39: cannot use authenticationHook(ec.DeleteEventById) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/data/router.go:40:58: cannot use ec.DeleteEventById (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/data/router.go:41:42: cannot use authenticationHook(ec.EventTotalCount) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:07 internal/core/data/router.go:41:61: cannot use ec.EventTotalCount (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:07 internal/core/data/router.go:41:42: too many errors 19:49:08 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 19:49:11 # github.com/edgexfoundry/edgex-go/internal/core/metadata 19:49:11 internal/core/metadata/main.go:61:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:11 internal/core/metadata/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:11 internal/core/metadata/router.go:38:46: cannot use authenticationHook(uc.UnitsOfMeasure) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:11 internal/core/metadata/router.go:38:65: cannot use uc.UnitsOfMeasure (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:11 internal/core/metadata/router.go:42:45: cannot use authenticationHook(dc.AddDeviceProfile) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:11 internal/core/metadata/router.go:42:64: cannot use dc.AddDeviceProfile (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:11 internal/core/metadata/router.go:43:45: cannot use authenticationHook(dc.UpdateDeviceProfile) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:11 internal/core/metadata/router.go:43:64: cannot use dc.UpdateDeviceProfile (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:11 internal/core/metadata/router.go:44:55: cannot use authenticationHook(dc.AddDeviceProfileByYaml) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:11 internal/core/metadata/router.go:44:74: cannot use dc.AddDeviceProfileByYaml (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:11 internal/core/metadata/router.go:44:55: too many errors 19:49:11 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:49:13 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 19:49:13 internal/security/proxyauth/init.go:57:42: cannot use b.router (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:13 internal/security/proxyauth/init.go:60:31: cannot use authenticationHook(emptyHandler) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to b.router.HandleFunc 19:49:13 internal/security/proxyauth/init.go:60:50: cannot use emptyHandler (value of type func(_ "net/http".ResponseWriter, _ *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:13 internal/security/proxyauth/main.go:62:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:13 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:49:13 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:49:13 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:49:15 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 19:49:16 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 19:49:16 internal/support/scheduler/main.go:59:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:16 internal/support/scheduler/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:16 internal/support/scheduler/router.go:33:40: cannot use authenticationHook(interval.AddInterval) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:16 internal/support/scheduler/router.go:33:59: cannot use interval.AddInterval (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:16 internal/support/scheduler/router.go:34:46: cannot use authenticationHook(interval.IntervalByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:16 internal/support/scheduler/router.go:34:65: cannot use interval.IntervalByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:16 internal/support/scheduler/router.go:35:43: cannot use authenticationHook(interval.AllIntervals) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:16 internal/support/scheduler/router.go:35:62: cannot use interval.AllIntervals (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:16 internal/support/scheduler/router.go:36:46: cannot use authenticationHook(interval.DeleteIntervalByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:16 internal/support/scheduler/router.go:36:65: cannot use interval.DeleteIntervalByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:16 internal/support/scheduler/router.go:36:46: too many errors 19:49:17 # github.com/edgexfoundry/edgex-go/internal/support/notifications 19:49:17 internal/support/notifications/main.go:66:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer 19:49:17 internal/support/notifications/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController 19:49:17 internal/support/notifications/router.go:33:44: cannot use authenticationHook(sc.AddSubscription) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:17 internal/support/notifications/router.go:33:63: cannot use sc.AddSubscription (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:17 internal/support/notifications/router.go:34:47: cannot use authenticationHook(sc.AllSubscriptions) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:17 internal/support/notifications/router.go:34:66: cannot use sc.AllSubscriptions (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:17 internal/support/notifications/router.go:35:50: cannot use authenticationHook(sc.SubscriptionByName) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:17 internal/support/notifications/router.go:35:69: cannot use sc.SubscriptionByName (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:17 internal/support/notifications/router.go:36:54: cannot use authenticationHook(sc.SubscriptionsByCategory) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to r.HandleFunc 19:49:17 internal/support/notifications/router.go:36:73: cannot use sc.SubscriptionsByCategory (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook 19:49:17 internal/support/notifications/router.go:36:54: too many errors 19:49:17 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:49:29 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:49:29 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:49:29 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.269s coverage: 28.7% of statements 19:49:39 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.303s coverage: 98.5% of statements 19:49:49 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.330s coverage: 71.5% of statements 19:49:49 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 19:49:49 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 19:49:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:49:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:49:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.383s coverage: 54.0% of statements 19:50:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 19:50:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:50:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:50:02 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:50:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:50:11 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:50:19 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 15.682s coverage: 88.5% of statements 19:50:19 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.489s coverage: 3.8% of statements 19:50:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:50:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:50:24 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 19:50:25 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.521s coverage: 95.6% of statements 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:50:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:50:26 ok github.com/edgexfoundry/edgex-go/internal/io 0.211s coverage: 72.2% of statements 19:50:36 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:50:36 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:50:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.410s coverage: 0.9% of statements 19:50:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.290s coverage: 31.9% of statements 19:50:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.276s coverage: 42.9% of statements 19:50:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.246s coverage: 82.9% of statements 19:50:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.227s coverage: 94.1% of statements 19:50:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.291s coverage: 96.3% of statements 19:50:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.220s coverage: 87.5% of statements 19:50:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:50:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:50:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:50:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:50:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:50:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 19:50:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 19:50:48 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 19:50:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.209s coverage: 94.4% of statements 19:50:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:50:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:50:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:50:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:51:02 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:51:02 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:51:04 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.047s coverage: 79.9% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.276s coverage: 92.9% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.080s coverage: 64.4% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.229s coverage: 62.3% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.210s coverage: 87.2% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.172s coverage: 20.0% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.172s coverage: 100.0% of statements 19:51:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.451s coverage: 81.8% of statements 19:51:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 19:51:12 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:51:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.494s coverage: 82.1% of statements 19:51:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.246s coverage: 86.0% of statements 19:51:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:51:18 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:51:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.000s coverage: 63.1% of statements 19:51:19 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.251s coverage: 100.0% of statements 19:51:20 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.124s coverage: 89.4% of statements 19:51:20 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.082s coverage: 100.0% of statements 19:51:20 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.102s coverage: 73.7% of statements 19:51:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 19:51:21 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 19:51:21 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.077s coverage: 100.0% of statements 19:51:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:51:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:51:29 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:51:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.987s coverage: 38.4% of statements 19:51:29 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.248s coverage: 89.5% of statements 19:51:33 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 19:51:33 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 19:51:33 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 19:51:33 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.211s coverage: 84.8% of statements 19:51:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:51:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:51:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:51:40 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.291s coverage: 17.7% of statements 19:51:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:51:47 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:51:47 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:51:47 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.549s coverage: 92.3% of statements 19:51:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:51:51 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:51:51 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.263s coverage: 61.8% of statements 19:51:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:51:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:51:53 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.363s coverage: 97.7% of statements 19:51:53 FAIL 19:51:54 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 19:51:54 $ docker stop --time=1 49f8e00e8ec8afe6218ebe7bf9667bc051d8bd70dc25ac02e6b424d8028142a5 19:51:56 $ docker rm -f --volumes 49f8e00e8ec8afe6218ebe7bf9667bc051d8bd70dc25ac02e6b424d8028142a5 [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 19:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:51:58 19:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:51:58 arm64: Pulling from edgex-lftools-log-publisher 19:51:58 8998bd30e6a1: Pulling fs layer 19:51:58 04944245beec: Pulling fs layer 19:51:58 699f458cf7ca: Pulling fs layer 19:51:58 765212b225bb: Pulling fs layer 19:51:58 f23df028b6ca: Pulling fs layer 19:51:58 d65c8cfc05b1: Pulling fs layer 19:51:58 2437ff75d9bd: Pulling fs layer 19:51:58 f23df028b6ca: Waiting 19:51:58 765212b225bb: Waiting 19:51:58 d65c8cfc05b1: Waiting 19:51:58 04944245beec: Verifying Checksum 19:51:58 04944245beec: Download complete 19:51:58 765212b225bb: Verifying Checksum 19:51:58 765212b225bb: Download complete 19:51:58 f23df028b6ca: Verifying Checksum 19:51:58 f23df028b6ca: Download complete 19:51:58 d65c8cfc05b1: Download complete 19:51:59 699f458cf7ca: Verifying Checksum 19:51:59 699f458cf7ca: Download complete 19:51:59 8998bd30e6a1: Verifying Checksum 19:51:59 8998bd30e6a1: Download complete 19:52:01 2437ff75d9bd: Download complete 19:52:05 8998bd30e6a1: Pull complete 19:52:05 04944245beec: Pull complete 19:52:06 699f458cf7ca: Pull complete 19:52:06 765212b225bb: Pull complete 19:52:07 f23df028b6ca: Pull complete 19:52:07 d65c8cfc05b1: Pull complete 19:52:22 2437ff75d9bd: Pull complete 19:52:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:52:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:22 prd-ubuntu20.04-docker-arm64-4c-16g-2848 does not seem to be running inside a container 19:52:22 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:52:25 $ docker top 09d4faac83cce9700ce9365bc4a403233413065ab148971079319b9a7cd85631 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:25 ---> job-cost.sh 19:52:26 lf-activate-venv: SKIPPING 19:52:26 INFO: No Stack... 19:52:26 INFO: Retrieving Pricing Info for: v3-standard-4 19:52:27 INFO: Archiving Costs [Pipeline] sh 19:52:28 + cat /w/workspace/edgex-go/1/archives/cost.csv 19:52:28 + cut -d, -f6 [Pipeline] lock 19:52:28 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4623-1-stack-cost] 19:52:28 Resource [jenkins-edgexfoundry-edgex-go-PR-4623-1-stack-cost] did not exist. Created. 19:52:28 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4623-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:52:28 + echo total: 0.10999999940395355 [Pipeline] stash 19:52:29 Stashed 1 file(s) [Pipeline] } 19:52:29 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4623-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:52:29 $ docker stop --time=1 09d4faac83cce9700ce9365bc4a403233413065ab148971079319b9a7cd85631 19:52:30 $ docker rm -f --volumes 09d4faac83cce9700ce9365bc4a403233413065ab148971079319b9a7cd85631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:52:31 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 19:52:33 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 19:52:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:52:34 ---> package-listing.sh 19:52:34 ++ facter osfamily 19:52:34 ++ tr '[:upper:]' '[:lower:]' 19:52:34 + OS_FAMILY=debian 19:52:34 + workspace=/w/workspace/edgex-go/1 19:52:34 + START_PACKAGES=/tmp/packages_start.txt 19:52:34 + END_PACKAGES=/tmp/packages_end.txt 19:52:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:52:34 + PACKAGES=/tmp/packages_start.txt 19:52:34 + '[' /w/workspace/edgex-go/1 ']' 19:52:34 + PACKAGES=/tmp/packages_end.txt 19:52:34 + case "${OS_FAMILY}" in 19:52:34 + dpkg -l 19:52:34 + grep '^ii' 19:52:34 + '[' -f /tmp/packages_start.txt ']' 19:52:34 + '[' -f /tmp/packages_end.txt ']' 19:52:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:52:34 + '[' /w/workspace/edgex-go/1 ']' 19:52:34 + mkdir -p /w/workspace/edgex-go/1/archives/ 19:52:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 19:52:34 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:52:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:35 19:52:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:35 latest: Pulling from edgex-lftools-log-publisher 19:52:35 5eb5b503b376: Pulling fs layer 19:52:35 5c69ac0246d0: Pulling fs layer 19:52:35 ec43610c2a17: Pulling fs layer 19:52:35 3a2ae6a8a46f: Pulling fs layer 19:52:35 33b1e0a273af: Pulling fs layer 19:52:35 5d3b04190fa2: Pulling fs layer 19:52:35 2f39f015ded8: Pulling fs layer 19:52:35 2f39f015ded8: Waiting 19:52:35 5d3b04190fa2: Waiting 19:52:35 33b1e0a273af: Waiting 19:52:35 3a2ae6a8a46f: Waiting 19:52:35 5c69ac0246d0: Download complete 19:52:35 3a2ae6a8a46f: Download complete 19:52:35 33b1e0a273af: Verifying Checksum 19:52:35 33b1e0a273af: Download complete 19:52:36 5d3b04190fa2: Verifying Checksum 19:52:36 5d3b04190fa2: Download complete 19:52:36 ec43610c2a17: Download complete 19:52:36 5eb5b503b376: Verifying Checksum 19:52:36 5eb5b503b376: Download complete 19:52:36 2f39f015ded8: Download complete 19:52:37 5eb5b503b376: Pull complete 19:52:37 5c69ac0246d0: Pull complete 19:52:37 ec43610c2a17: Pull complete 19:52:37 3a2ae6a8a46f: Pull complete 19:52:38 33b1e0a273af: Pull complete 19:52:38 5d3b04190fa2: Pull complete 19:52:42 2f39f015ded8: Pull complete 19:52:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:42 prd-ubuntu20.04-docker-8c-8g-2847 does not seem to be running inside a container 19:52:42 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:52:46 $ docker top e880e9df26105f307c2b86c3e945a297c9525e5c443d3aae987aab1d77bc044b -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:46 + touch /tmp/pre-build-complete [Pipeline] sh 19:52:46 + mkdir -p /var/log/sysstat [Pipeline] sh 19:52:47 + ls /var/log/sa-host 19:52:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:52:47 provisioning config files... 19:52:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config12484024195032128597tmp [Pipeline] { [Pipeline] echo 19:52:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:52:47 ---> create-netrc.sh [Pipeline] } 19:52:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:52:48 ---> python-tools-install.sh [Pipeline] echo 19:52:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:52:48 ---> sudo-logs.sh 19:52:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:52:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:52:48 ---> job-cost.sh 19:52:48 lf-activate-venv: SKIPPING 19:52:48 DEBUG: total: 0.10999999940395355 19:52:48 INFO: Retrieving Stack Cost... 19:52:49 INFO: Retrieving Pricing Info for: v3-standard-8 19:52:49 INFO: Archiving Costs [Pipeline] echo 19:52:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:52:50 ---> logs-deploy.sh 19:52:50 lf-activate-venv: SKIPPING 19:52:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4623/1 19:52:50 INFO: archiving workspace using pattern(s): 19:52:50 Archives upload complete. 19:52:50 INFO: archiving logs to Nexus