Pull request #4624 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5fc92ae761bcacbdb36e07747d4ea454df9b9b49+e9743d574695eaaacfb4360752d68f7ca76ed8b2 (eda62306c0d2f9cb14f51800bcb8a3c26ee55ce5) 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-ssh14742075666089358968.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-ssh14488404370655228482.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-4624/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-4624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh598982272043168547.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-4624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17954522672923540962.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-ssh5645991644153193790.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-4624/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-4624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16870586437197715586.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-2914 in /w/workspace/edgexfoundry_edgex-go_PR-4624 [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 > 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 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 Merge succeeded, producing 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 Checking out Revision 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 (PR-4624) 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 > 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/4624/head:refs/remotes/origin/PR-4624 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:16:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:16:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:16:50 ========================================================= 19:16:50 EdgeX Global Pipelines Version Info 19:16:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:16:51 ------------------- 19:16:51 stable info: 19:16:51 ------------------- 19:16:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:16:51 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:16:51 Message: update stable to v1.0.250 19:16:51 ------------------- 19:16:51 experimental info: 19:16:51 ------------------- 19:16:51 Commited By: **** collab-it+edgex@linuxfoundation.org 19:16:51 Commit SHA: 163b961b6db2076ae8f48a223fc443a7a2a2eae3 19:16:51 Message: update experimental to v1.0.251 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:16:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:16:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:16:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4624 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4624 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4624 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 [Pipeline] echo 19:16:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fc92ae [Pipeline] echo 19:16:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:53 provisioning config files... 19:16:53 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config17868059566186636064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:53 ---> docker-login.sh 19:16:53 nexus3.edgexfoundry.org:10001 19:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:53 Configure a credential helper to remove this warning. See 19:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:53 19:16:53 Login Succeeded 19:16:53 nexus3.edgexfoundry.org:10002 19:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:54 Configure a credential helper to remove this warning. See 19:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:54 19:16:54 Login Succeeded 19:16:54 nexus3.edgexfoundry.org:10003 19:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:54 Configure a credential helper to remove this warning. See 19:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:54 19:16:54 Login Succeeded 19:16:54 nexus3.edgexfoundry.org:10004 19:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:54 Configure a credential helper to remove this warning. See 19:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:54 19:16:54 Login Succeeded 19:16:54 docker.io 19:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:54 Configure a credential helper to remove this warning. See 19:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:54 19:16:54 Login Succeeded 19:16:54 ---> docker-login.sh ends [Pipeline] } 19:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:16:55 + 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:16:55 + dirname cmd/core-command/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo core-command,cmd/core-command/Dockerfile 19:16:55 + dirname cmd/core-common-config-bootstrapper/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:16:55 + + dirname cmd/core-data/Dockerfile 19:16:55 cut -d/ -f2 19:16:55 + echo core-data,cmd/core-data/Dockerfile 19:16:55 + + dirname cmd/core-metadata/Dockerfile 19:16:55 cut -d/ -f2 19:16:55 + echo core-metadata,cmd/core-metadata/Dockerfile 19:16:55 + dirname cmd/security-bootstrapper/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:16:55 + dirname cmd/security-proxy-auth/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 19:16:55 + + dirname cmd/security-proxy-setup/Dockerfile 19:16:55 cut -d/ -f2 19:16:55 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:16:55 + dirname cmd/security-secretstore-setup/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:16:55 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:16:55 + dirname cmd/security-spire-agent/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:16:55 + dirname cmd/security-spire-config/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:16:55 + dirname cmd/security-spire-server/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:16:55 + dirname cmd/support-notifications/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo support-notifications,cmd/support-notifications/Dockerfile 19:16:55 + dirname cmd/support-scheduler/Dockerfile 19:16:55 + cut -d/ -f2 19:16:55 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:16:55 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:16:55 + git rev-list -1 --merges 5fc92ae761bcacbdb36e07747d4ea454df9b9b49~1..5fc92ae761bcacbdb36e07747d4ea454df9b9b49 [Pipeline] echo 19:16:55 -----------> git rev-list -1 --merges 5fc92ae761bcacbdb36e07747d4ea454df9b9b49~1..5fc92ae761bcacbdb36e07747d4ea454df9b9b49 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 [false] [Pipeline] sh 19:16:55 + git log --format=format:%s -1 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 [Pipeline] echo 19:16:55 ========================================================= 19:16:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:16:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:16:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:16:56 + grep -v github /etc/ssh/ssh_known_hosts 19:16:56 + [ -e /tmp/ssh_known_hosts ] 19:16:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:16:56 + sudo tee -a /etc/ssh/ssh_known_hosts 19:16:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:16:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:56 19:16:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:57 0.1.4: Pulling from edgex-devops/py-git-semver 19:16:57 b85a868b505f: Pulling fs layer 19:16:57 e2be974225ed: Pulling fs layer 19:16:57 339a4e72a1f5: Pulling fs layer 19:16:57 988bab9f4d93: Pulling fs layer 19:16:57 1469e6f7b9e6: Pulling fs layer 19:16:57 eaf3925da568: Pulling fs layer 19:16:57 bab4dde63d76: Pulling fs layer 19:16:57 bde34c3a00c8: Pulling fs layer 19:16:57 b352a97aabf1: Pulling fs layer 19:16:57 4872d77fe225: Pulling fs layer 19:16:57 5851b861e8e6: Pulling fs layer 19:16:57 1469e6f7b9e6: Waiting 19:16:57 bab4dde63d76: Waiting 19:16:57 eaf3925da568: Waiting 19:16:57 5851b861e8e6: Waiting 19:16:57 bde34c3a00c8: Waiting 19:16:57 b352a97aabf1: Waiting 19:16:57 4872d77fe225: Waiting 19:16:57 988bab9f4d93: Waiting 19:16:57 e2be974225ed: Download complete 19:16:57 988bab9f4d93: Verifying Checksum 19:16:57 988bab9f4d93: Download complete 19:16:57 1469e6f7b9e6: Verifying Checksum 19:16:57 1469e6f7b9e6: Download complete 19:16:57 eaf3925da568: Verifying Checksum 19:16:57 eaf3925da568: Download complete 19:16:57 339a4e72a1f5: Download complete 19:16:57 bde34c3a00c8: Verifying Checksum 19:16:57 bde34c3a00c8: Download complete 19:16:57 b352a97aabf1: Verifying Checksum 19:16:57 b352a97aabf1: Download complete 19:16:57 4872d77fe225: Verifying Checksum 19:16:57 4872d77fe225: Download complete 19:16:57 5851b861e8e6: Verifying Checksum 19:16:57 5851b861e8e6: Download complete 19:16:57 b85a868b505f: Verifying Checksum 19:16:57 b85a868b505f: Download complete 19:16:57 bab4dde63d76: Verifying Checksum 19:16:57 bab4dde63d76: Download complete 19:16:58 b85a868b505f: Pull complete 19:16:59 e2be974225ed: Pull complete 19:16:59 339a4e72a1f5: Pull complete 19:16:59 988bab9f4d93: Pull complete 19:16:59 1469e6f7b9e6: Pull complete 19:16:59 eaf3925da568: Pull complete 19:17:01 bab4dde63d76: Pull complete 19:17:01 bde34c3a00c8: Pull complete 19:17:01 b352a97aabf1: Pull complete 19:17:01 4872d77fe225: Pull complete 19:17:02 5851b861e8e6: Pull complete 19:17:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:02 prd-ubuntu20.04-docker-8c-8g-2914 does not seem to be running inside a container 19:17:02 $ 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:17:04 $ docker top b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 -eo pid,comm 19:17:04 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:17:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:04 [ssh-agent] Looking for ssh-agent implementation... 19:17:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:05 $ docker exec b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 ssh-agent 19:17:05 SSH_AUTH_SOCK=/tmp/ssh-WlVYwgbBoyzo/agent.32 19:17:05 SSH_AGENT_PID=38 19:17:05 Running ssh-add (command line suppressed) 19:17:05 Identity added: /w/workspace/edgex-go/1@tmp/private_key_9451401877307971899.key (/w/workspace/edgex-go/1@tmp/private_key_9451401877307971899.key) 19:17:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:05 + git tag --points-at HEAD [Pipeline] } 19:17:05 $ docker exec --env ******** --env ******** b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 ssh-agent -k 19:17:05 unset SSH_AUTH_SOCK; 19:17:05 unset SSH_AGENT_PID; 19:17:05 echo Agent pid 38 killed; 19:17:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:17:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:05 [ssh-agent] Looking for ssh-agent implementation... 19:17:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:05 $ docker exec b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 ssh-agent 19:17:06 SSH_AUTH_SOCK=/tmp/ssh-QoSKz660hE8T/agent.70 19:17:06 SSH_AGENT_PID=76 19:17:06 Running ssh-add (command line suppressed) 19:17:06 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3495058692284804054.key (/w/workspace/edgex-go/1@tmp/private_key_3495058692284804054.key) 19:17:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:06 + git semver init 19:17:06 2023-08-04 19:17:06,734 [run_init] DEBUG init version:0.0.0 force:False 19:17:06 2023-08-04 19:17:06,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 19:17:06 2023-08-04 19:17:06,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 19:17:06 2023-08-04 19:17:06,735 [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:17:12 2023-08-04 19:17:11,943 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 19:17:12 2023-08-04 19:17:11,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4624 with force:False 19:17:12 2023-08-04 19:17:11,943 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4624 19:17:12 2023-08-04 19:17:11,946 [execute] INFO git cat-file --batch-check 19:17:12 2023-08-04 19:17:11,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:17:12 2023-08-04 19:17:11,951 [execute] INFO git cat-file --batch 19:17:12 2023-08-04 19:17:11,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 19:17:12 2023-08-04 19:17:11,957 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4624 19:17:12 0.0.0 [Pipeline] } 19:17:12 $ docker exec --env ******** --env ******** b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 ssh-agent -k 19:17:12 unset SSH_AUTH_SOCK; 19:17:12 unset SSH_AGENT_PID; 19:17:12 echo Agent pid 76 killed; 19:17:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:17:12 + git semver [Pipeline] } 19:17:12 $ docker stop --time=1 b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 19:17:14 $ docker rm -f --volumes b0392e1a2df5fddbb42d9dc053065d4b1d4e9b0c680d4c2131b1006d7779c124 [Pipeline] // withDockerContainer [Pipeline] sh 19:17:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:17:14 Stashed 1 file(s) [Pipeline] echo 19:17:14 [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:17:15 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:15 ========================================================= 19:17:15 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:17:15 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:17:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:17:16 4db1b89c0bd1: Pulling fs layer 19:17:16 6911f1a30b25: Pulling fs layer 19:17:16 e194b8c5c2a9: Pulling fs layer 19:17:16 6863d3e3a2b1: Pulling fs layer 19:17:16 ec0bb842ea78: Pulling fs layer 19:17:16 40a00589a448: Pulling fs layer 19:17:16 6c08303d61cc: Pulling fs layer 19:17:16 798269fcf238: Pulling fs layer 19:17:16 6863d3e3a2b1: Waiting 19:17:16 ec0bb842ea78: Waiting 19:17:16 40a00589a448: Waiting 19:17:16 6c08303d61cc: Waiting 19:17:16 798269fcf238: Waiting 19:17:16 6911f1a30b25: Verifying Checksum 19:17:16 6911f1a30b25: Download complete 19:17:16 6863d3e3a2b1: Download complete 19:17:16 ec0bb842ea78: Download complete 19:17:16 4db1b89c0bd1: Verifying Checksum 19:17:16 4db1b89c0bd1: Download complete 19:17:16 40a00589a448: Verifying Checksum 19:17:16 40a00589a448: Download complete 19:17:16 4db1b89c0bd1: Pull complete 19:17:16 6911f1a30b25: Pull complete 19:17:16 798269fcf238: Verifying Checksum 19:17:16 798269fcf238: Download complete 19:17:16 e194b8c5c2a9: Verifying Checksum 19:17:16 e194b8c5c2a9: Download complete 19:17:16 6c08303d61cc: Verifying Checksum 19:17:16 6c08303d61cc: Download complete 19:17:20 e194b8c5c2a9: Pull complete 19:17:20 6863d3e3a2b1: Pull complete 19:17:20 ec0bb842ea78: Pull complete 19:17:20 40a00589a448: Pull complete 19:17:22 6c08303d61cc: Pull complete 19:17:23 798269fcf238: Pull complete 19:17:23 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 19:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:17:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:17:23 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:17:23 WORKDIR /edgex 19:17:23 COPY go.mod . 19:17:23 RUN go mod download 19:17:23 + docker build -t ci-base-image-x86_64 -f - . 19:17:24 Sending build context to Docker daemon 170.7MB 19:17:24 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:17:24 ---> ec979cd7f677 19:17:24 Step 2/4 : WORKDIR /edgex 19:17:29 ---> Running in d1a9beb460c3 19:17:29 Removing intermediate container d1a9beb460c3 19:17:29 ---> f36dd9a1c190 19:17:29 Step 3/4 : COPY go.mod . 19:17:29 ---> ce06cb30f1d1 19:17:29 Step 4/4 : RUN go mod download 19:17:29 ---> Running in d438b37da9fa 19:17:30 Still waiting to schedule task 19:17:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:17:47 Removing intermediate container d438b37da9fa 19:17:47 ---> 87c125cd5c41 19:17:47 Successfully built 87c125cd5c41 19:17:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:48 + docker inspect -f . ci-base-image-x86_64 19:17:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:48 prd-ubuntu20.04-docker-8c-8g-2914 does not seem to be running inside a container 19:17:48 $ 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:17:48 $ docker top 4e79bf37ec94e46b2fffdb95315d4776900af64a74b07517b36045541e9474ef -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:48 + go version 19:17:48 go version go1.20.6 linux/amd64 [Pipeline] } 19:17:49 $ docker stop --time=1 4e79bf37ec94e46b2fffdb95315d4776900af64a74b07517b36045541e9474ef 19:17:50 $ docker rm -f --volumes 4e79bf37ec94e46b2fffdb95315d4776900af64a74b07517b36045541e9474ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:50 + docker inspect -f . ci-base-image-x86_64 19:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:51 prd-ubuntu20.04-docker-8c-8g-2914 does not seem to be running inside a container 19:17:51 $ 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:17:51 $ docker top 6bef3c5272e9812165c3470d5ef2260ebbe9c62c7687db5915915765568fa236 -eo pid,comm [Pipeline] { [Pipeline] echo 19:17:51 ========================================================= 19:17:51 [edgeXBuildGoParallel] Running Tests and Build... 19:17:51 ========================================================= [Pipeline] sh 19:17:51 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:17:52 + make test 19:17:52 go test -race -coverprofile=coverage.out ./... 19:17:58 ? github.com/edgexfoundry/edgex-go [no test files] 19:18:10 # github.com/edgexfoundry/edgex-go/internal/core/command 19:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 internal/core/command/router.go:40:53: too many errors 19:18:10 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 19:18:10 # github.com/edgexfoundry/edgex-go/internal/core/data 19:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 internal/core/data/router.go:41:42: too many errors 19:18:10 # github.com/edgexfoundry/edgex-go/internal/core/metadata 19:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 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:18:10 internal/core/metadata/router.go:44:55: too many errors 19:18:10 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:18:11 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:18:11 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 19:18:11 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:18:11 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:18:11 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:18:11 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:18:11 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:18:11 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:18:11 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 19:18:11 # github.com/edgexfoundry/edgex-go/internal/support/notifications 19:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 internal/support/notifications/router.go:36:54: too many errors 19:18:11 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 19:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 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:18:11 internal/support/scheduler/router.go:36:46: too many errors 19:18:11 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:18:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:18:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:18:12 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.041s coverage: 28.7% of statements 19:18:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.080s coverage: 98.5% of statements 19:18:13 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 19:18:13 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 19:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:18:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 19:18:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:18:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:18:15 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:18:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:18:16 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.091s coverage: 71.5% of statements 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.083s coverage: 54.0% of statements 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:18:17 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.683s coverage: 88.5% of statements 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.079s coverage: 3.8% of statements 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.320s coverage: 95.6% of statements 19:18:17 ok github.com/edgexfoundry/edgex-go/internal/io 0.040s coverage: 72.2% of statements 19:18:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:18:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.082s coverage: 0.9% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.072s coverage: 31.9% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 42.9% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.061s coverage: 82.9% of statements 19:18:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.071s coverage: 94.1% of statements 19:18:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.257s coverage: 96.3% of statements 19:18:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.035s coverage: 87.5% of statements 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 19:18:20 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:18:21 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:18:22 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:18:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 19:18:23 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:18:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:18:24 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:18:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 19:18:25 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 19:18:27 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:18:27 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:18:27 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:18:28 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 19:18:28 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 19:18:28 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 19:18:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:18:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:18:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:18:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:18:31 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:18:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:18:31 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:18:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.053s coverage: 94.4% of statements 19:18:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:18:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:18:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:18:32 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.300s coverage: 79.9% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.064s coverage: 92.9% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.021s coverage: 64.4% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.063s coverage: 62.3% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.065s coverage: 87.2% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.048s coverage: 20.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.090s coverage: 81.8% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.098s coverage: 82.1% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.050s coverage: 86.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.183s coverage: 63.1% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.050s coverage: 100.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.035s coverage: 89.4% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.024s coverage: 100.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.028s coverage: 73.7% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.030s coverage: 100.0% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.170s coverage: 38.4% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.054s coverage: 89.5% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.058s coverage: 84.8% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.066s coverage: 17.7% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.133s coverage: 92.3% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.061s coverage: 61.8% of statements 19:18:45 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.163s coverage: 97.7% of statements 19:18:45 FAIL 19:18:45 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 19:18:45 $ docker stop --time=1 6bef3c5272e9812165c3470d5ef2260ebbe9c62c7687db5915915765568fa236 19:18:47 $ docker rm -f --volumes 6bef3c5272e9812165c3470d5ef2260ebbe9c62c7687db5915915765568fa236 [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:18:47 Failed in branch amd64 19:19:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2915 in /w/workspace/edgexfoundry_edgex-go_PR-4624 [Pipeline] { [Pipeline] ws 19:19:02 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 19:19:02 The recommended git tool is: git 19:19:07 using credential edgex-jenkins-ssh 19:19:07 Cloning the remote Git repository 19:19:07 Cloning repository git@github.com:edgexfoundry/edgex-go.git 19:19:07 > git init /w/workspace/edgex-go/1 # timeout=10 19:19:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:19:07 > git --version # timeout=10 19:19:07 > git --version # 'git version 2.25.1' 19:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:23 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:19:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:25 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 19:19:25 Merge succeeded, producing 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 19:19:25 Checking out Revision 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 (PR-4624) 19:19:26 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 19:19:26 > git --version # timeout=10 19:19:26 > git --version # 'git version 2.25.1' 19:19:26 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:19:24 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:19:24 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:19:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4624/head:refs/remotes/origin/PR-4624 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:19:25 > git config core.sparsecheckout # timeout=10 19:19:25 > git checkout -f 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 # timeout=10 19:19:25 > git remote # timeout=10 19:19:25 > git config --get remote.origin.url # timeout=10 19:19:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:25 > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 19:19:25 > git rev-parse HEAD^{commit} # timeout=10 19:19:25 > git config core.sparsecheckout # timeout=10 19:19:25 > git checkout -f 5fc92ae761bcacbdb36e07747d4ea454df9b9b49 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:19:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:27 Dload Upload Total Spent Left Speed 19:19:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 19:19:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:19:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:19:28 + sudo tee /etc/docker/daemon.new 19:19:28 { 19:19:28 "registry-mirrors": [ 19:19:28 "https://nexus3.edgexfoundry.org:10001" 19:19:28 ], 19:19:28 "bip": "10.250.0.254/24", 19:19:28 "hosts": [ 19:19:28 "tcp://0.0.0.0:5555", 19:19:28 "unix:///var/run/docker.sock" 19:19:28 ], 19:19:28 "mtu": 1458, 19:19:28 "selinux-enabled": true, 19:19:28 "seccomp-profile": "/etc/docker/seccomp.json" 19:19:28 } [Pipeline] sh 19:19:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:19:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:47 provisioning config files... 19:19:47 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config10383027032532804810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:47 ---> docker-login.sh 19:19:47 nexus3.edgexfoundry.org:10001 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:48 Configure a credential helper to remove this warning. See 19:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:48 19:19:48 Login Succeeded 19:19:48 nexus3.edgexfoundry.org:10002 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:48 Configure a credential helper to remove this warning. See 19:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:48 19:19:48 Login Succeeded 19:19:48 nexus3.edgexfoundry.org:10003 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:49 Configure a credential helper to remove this warning. See 19:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:49 19:19:49 Login Succeeded 19:19:49 nexus3.edgexfoundry.org:10004 19:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:49 Configure a credential helper to remove this warning. See 19:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:49 19:19:49 Login Succeeded 19:19:49 docker.io 19:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:49 Configure a credential helper to remove this warning. See 19:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:49 19:19:49 Login Succeeded 19:19:49 ---> docker-login.sh ends [Pipeline] } 19:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 19:19:50 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 19:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:50 ========================================================= 19:19:50 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:19:50 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:19:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:19:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:19:51 edb6bdbacee9: Pulling fs layer 19:19:51 5f9638ab2659: Pulling fs layer 19:19:51 8d51d6327a98: Pulling fs layer 19:19:51 8b374f2dd631: Pulling fs layer 19:19:51 ec14aa9079de: Pulling fs layer 19:19:51 2f466654f4bb: Pulling fs layer 19:19:51 554e91adad29: Pulling fs layer 19:19:51 8b374f2dd631: Waiting 19:19:51 ec14aa9079de: Waiting 19:19:51 2f466654f4bb: Waiting 19:19:51 554e91adad29: Waiting 19:19:51 5f9638ab2659: Verifying Checksum 19:19:51 5f9638ab2659: Download complete 19:19:51 8b374f2dd631: Verifying Checksum 19:19:51 8b374f2dd631: Download complete 19:19:51 ec14aa9079de: Verifying Checksum 19:19:51 ec14aa9079de: Download complete 19:19:51 edb6bdbacee9: Download complete 19:19:52 554e91adad29: Verifying Checksum 19:19:52 554e91adad29: Download complete 19:19:53 edb6bdbacee9: Pull complete 19:19:53 8d51d6327a98: Verifying Checksum 19:19:53 8d51d6327a98: Download complete 19:19:53 2f466654f4bb: Verifying Checksum 19:19:53 2f466654f4bb: Download complete 19:19:54 5f9638ab2659: Pull complete 19:20:09 8d51d6327a98: Pull complete 19:20:09 8b374f2dd631: Pull complete 19:20:09 ec14aa9079de: Pull complete 19:20:14 2f466654f4bb: Pull complete 19:20:16 554e91adad29: Pull complete 19:20:16 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 19:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:20:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 19:20:16 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:20:16 WORKDIR /edgex 19:20:16 COPY go.mod . 19:20:16 RUN go mod download 19:20:16 + docker build -t ci-base-image-arm64 -f - . 19:20:17 Sending build context to Docker daemon 2.941MB 19:20:17 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:20:17 ---> 1e15ea492957 19:20:17 Step 2/4 : WORKDIR /edgex 19:20:20 ---> Running in 91752eacc359 19:20:20 Removing intermediate container 91752eacc359 19:20:20 ---> bbd8c6499a77 19:20:20 Step 3/4 : COPY go.mod . 19:20:20 ---> 7aeeb1045e9e 19:20:20 Step 4/4 : RUN go mod download 19:20:20 ---> Running in 1aadd4902690 19:20:59 Removing intermediate container 1aadd4902690 19:20:59 ---> 060ef872fd71 19:20:59 Successfully built 060ef872fd71 19:20:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:00 + docker inspect -f . ci-base-image-arm64 19:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:00 prd-ubuntu20.04-docker-arm64-4c-16g-2915 does not seem to be running inside a container 19:21:00 $ 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:21:01 $ docker top 7a793b7df665c39d47e6f966321e1579ae88ba78380977b988c5c39715ed2fc8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:02 + go version 19:21:02 go version go1.20.6 linux/arm64 [Pipeline] } 19:21:02 $ docker stop --time=1 7a793b7df665c39d47e6f966321e1579ae88ba78380977b988c5c39715ed2fc8 19:21:04 $ docker rm -f --volumes 7a793b7df665c39d47e6f966321e1579ae88ba78380977b988c5c39715ed2fc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:04 + docker inspect -f . ci-base-image-arm64 19:21:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:05 prd-ubuntu20.04-docker-arm64-4c-16g-2915 does not seem to be running inside a container 19:21:05 $ 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:21:06 $ docker top 2dff635f8f2e525f12b9cdbb48af5905e272edb9b708a547c36a43c372634022 -eo pid,comm [Pipeline] { [Pipeline] echo 19:21:06 ========================================================= 19:21:06 [edgeXBuildGoParallel] Running Tests and Build... 19:21:06 ========================================================= [Pipeline] sh 19:21:06 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 19:21:07 + make test 19:21:07 go test -race -coverprofile=coverage.out ./... 19:21:46 ? github.com/edgexfoundry/edgex-go [no test files] 19:23:52 # github.com/edgexfoundry/edgex-go/internal/core/command 19:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23:52 internal/core/command/router.go:40:53: too many errors 19:23:52 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 19:23:52 # github.com/edgexfoundry/edgex-go/internal/core/data 19:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23:52 internal/core/data/router.go:41:42: too many errors 19:23:52 # github.com/edgexfoundry/edgex-go/internal/core/metadata 19:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23:52 internal/core/metadata/router.go:44:55: too many errors 19:23:52 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 19:23:52 # github.com/edgexfoundry/edgex-go/internal/security/proxyauth 19:23: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:23: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:23: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:23: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:23:52 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 19:23:52 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 19:23:52 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 19:23:52 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 19:23:52 # github.com/edgexfoundry/edgex-go/internal/support/scheduler 19:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23:52 internal/support/scheduler/router.go:36:46: too many errors 19:23:52 # github.com/edgexfoundry/edgex-go/internal/support/notifications 19:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23: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:23:52 internal/support/notifications/router.go:36:54: too many errors 19:23:52 ? github.com/edgexfoundry/edgex-go/internal [no test files] 19:23:59 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 19:23:59 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 19:23:59 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.376s coverage: 28.7% of statements 19:24:07 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.303s coverage: 98.5% of statements 19:24:12 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 19:24:12 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 19:24:15 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.437s coverage: 71.5% of statements 19:24:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 19:24:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 19:24:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.324s coverage: 54.0% of statements 19:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 19:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 19:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 19:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 19:24:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 19:24:33 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 19:24:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 15.461s coverage: 88.5% of statements 19:24:38 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.507s coverage: 3.8% of statements 19:24:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 19:24:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 19:24:46 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 19:24:48 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.481s coverage: 95.6% of statements 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 19:24:48 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 19:24:48 ok github.com/edgexfoundry/edgex-go/internal/io 0.216s coverage: 72.2% of statements 19:24:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 19:24:58 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 19:24:58 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.404s coverage: 0.9% of statements 19:24:58 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.260s coverage: 31.9% of statements 19:25:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.297s coverage: 42.9% of statements 19:25:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.263s coverage: 82.9% of statements 19:25:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.232s coverage: 94.1% of statements 19:25:02 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.305s coverage: 96.3% of statements 19:25:06 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.203s coverage: 87.5% of statements 19:25:07 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 19:25:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 19:25:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 19:25:08 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 19:25:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 19:25:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 19:25:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 19:25:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 19:25:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.216s coverage: 94.4% of statements 19:25:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 19:25:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 19:25:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 19:25:18 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 19:25:24 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 19:25:24 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 19:25:26 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.025s coverage: 79.9% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.274s coverage: 92.9% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.070s coverage: 64.4% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.217s coverage: 62.3% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.206s coverage: 87.2% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.173s coverage: 20.0% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.175s coverage: 100.0% of statements 19:25:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.471s coverage: 81.8% of statements 19:25:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 19:25:34 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 19:25:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.481s coverage: 82.1% of statements 19:25:34 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.247s coverage: 86.0% of statements 19:25:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 19:25:41 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 19:25:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.559s coverage: 63.1% of statements 19:25:42 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.292s coverage: 100.0% of statements 19:25:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.110s coverage: 89.4% of statements 19:25:43 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.090s coverage: 100.0% of statements 19:25:43 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.102s coverage: 73.7% of statements 19:25:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 19:25:44 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 19:25:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.074s coverage: 100.0% of statements 19:25:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 19:25:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 19:25:52 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 19:25:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.995s coverage: 38.4% of statements 19:25:52 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.250s coverage: 89.5% of statements 19:25:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 19:25:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 19:25:56 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 19:25:56 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.225s coverage: 84.8% of statements 19:26:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 19:26:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 19:26:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 19:26:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 19:26:10 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.287s coverage: 17.7% of statements 19:26:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 19:26:10 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 19:26:10 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 19:26:10 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.550s coverage: 92.3% of statements 19:26:13 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 19:26:13 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 19:26:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.280s coverage: 61.8% of statements 19:26:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 19:26:15 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 19:26:16 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.376s coverage: 97.7% of statements 19:26:16 FAIL 19:26:17 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 19:26:17 $ docker stop --time=1 2dff635f8f2e525f12b9cdbb48af5905e272edb9b708a547c36a43c372634022 19:26:18 $ docker rm -f --volumes 2dff635f8f2e525f12b9cdbb48af5905e272edb9b708a547c36a43c372634022 [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:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:20 19:26:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:21 arm64: Pulling from edgex-lftools-log-publisher 19:26:21 8998bd30e6a1: Pulling fs layer 19:26:21 04944245beec: Pulling fs layer 19:26:21 699f458cf7ca: Pulling fs layer 19:26:21 765212b225bb: Pulling fs layer 19:26:21 f23df028b6ca: Pulling fs layer 19:26:21 d65c8cfc05b1: Pulling fs layer 19:26:21 2437ff75d9bd: Pulling fs layer 19:26:21 f23df028b6ca: Waiting 19:26:21 d65c8cfc05b1: Waiting 19:26:21 2437ff75d9bd: Waiting 19:26:21 04944245beec: Verifying Checksum 19:26:21 04944245beec: Download complete 19:26:21 765212b225bb: Verifying Checksum 19:26:21 765212b225bb: Download complete 19:26:21 f23df028b6ca: Download complete 19:26:21 d65c8cfc05b1: Verifying Checksum 19:26:21 d65c8cfc05b1: Download complete 19:26:21 699f458cf7ca: Verifying Checksum 19:26:21 699f458cf7ca: Download complete 19:26:21 8998bd30e6a1: Download complete 19:26:24 2437ff75d9bd: Verifying Checksum 19:26:24 2437ff75d9bd: Download complete 19:26:25 8998bd30e6a1: Pull complete 19:26:26 04944245beec: Pull complete 19:26:27 699f458cf7ca: Pull complete 19:26:27 765212b225bb: Pull complete 19:26:28 f23df028b6ca: Pull complete 19:26:28 d65c8cfc05b1: Pull complete 19:26:43 2437ff75d9bd: Pull complete 19:26:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:44 prd-ubuntu20.04-docker-arm64-4c-16g-2915 does not seem to be running inside a container 19:26:44 $ 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:26:46 $ docker top d3a90b949d89006bfa3597eec06d10f432c53a28451132863dd73ac105eee050 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:47 ---> job-cost.sh 19:26:47 lf-activate-venv: SKIPPING 19:26:47 INFO: No Stack... 19:26:47 INFO: Retrieving Pricing Info for: v3-standard-4 19:26:48 INFO: Archiving Costs [Pipeline] sh 19:26:49 + cat /w/workspace/edgex-go/1/archives/cost.csv 19:26:49 + cut -d, -f6 [Pipeline] lock 19:26:49 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4624-1-stack-cost] 19:26:49 Resource [jenkins-edgexfoundry-edgex-go-PR-4624-1-stack-cost] did not exist. Created. 19:26:49 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:26:49 + echo total: 0.10999999940395355 [Pipeline] stash 19:26:50 Stashed 1 file(s) [Pipeline] } 19:26:50 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4624-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:26:50 $ docker stop --time=1 d3a90b949d89006bfa3597eec06d10f432c53a28451132863dd73ac105eee050 19:26:52 $ docker rm -f --volumes d3a90b949d89006bfa3597eec06d10f432c53a28451132863dd73ac105eee050 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:26:52 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:26:54 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 19:26:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:26:55 ---> package-listing.sh 19:26:55 ++ facter osfamily 19:26:55 ++ tr '[:upper:]' '[:lower:]' 19:26:55 + OS_FAMILY=debian 19:26:55 + workspace=/w/workspace/edgex-go/1 19:26:55 + START_PACKAGES=/tmp/packages_start.txt 19:26:55 + END_PACKAGES=/tmp/packages_end.txt 19:26:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:26:55 + PACKAGES=/tmp/packages_start.txt 19:26:55 + '[' /w/workspace/edgex-go/1 ']' 19:26:55 + PACKAGES=/tmp/packages_end.txt 19:26:55 + case "${OS_FAMILY}" in 19:26:55 + dpkg -l 19:26:55 + grep '^ii' 19:26:55 + '[' -f /tmp/packages_start.txt ']' 19:26:55 + '[' -f /tmp/packages_end.txt ']' 19:26:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:26:55 + '[' /w/workspace/edgex-go/1 ']' 19:26:55 + mkdir -p /w/workspace/edgex-go/1/archives/ 19:26:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 19:26:55 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:26:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:56 19:26:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:57 latest: Pulling from edgex-lftools-log-publisher 19:26:57 5eb5b503b376: Pulling fs layer 19:26:57 5c69ac0246d0: Pulling fs layer 19:26:57 ec43610c2a17: Pulling fs layer 19:26:57 3a2ae6a8a46f: Pulling fs layer 19:26:57 33b1e0a273af: Pulling fs layer 19:26:57 5d3b04190fa2: Pulling fs layer 19:26:57 2f39f015ded8: Pulling fs layer 19:26:57 33b1e0a273af: Waiting 19:26:57 5d3b04190fa2: Waiting 19:26:57 2f39f015ded8: Waiting 19:26:57 3a2ae6a8a46f: Waiting 19:26:57 5c69ac0246d0: Verifying Checksum 19:26:57 5c69ac0246d0: Download complete 19:26:57 3a2ae6a8a46f: Download complete 19:26:57 33b1e0a273af: Verifying Checksum 19:26:57 33b1e0a273af: Download complete 19:26:57 5d3b04190fa2: Verifying Checksum 19:26:57 5d3b04190fa2: Download complete 19:26:57 ec43610c2a17: Download complete 19:26:57 5eb5b503b376: Verifying Checksum 19:26:57 5eb5b503b376: Download complete 19:26:57 2f39f015ded8: Verifying Checksum 19:26:57 2f39f015ded8: Download complete 19:26:58 5eb5b503b376: Pull complete 19:26:58 5c69ac0246d0: Pull complete 19:26:59 ec43610c2a17: Pull complete 19:26:59 3a2ae6a8a46f: Pull complete 19:26:59 33b1e0a273af: Pull complete 19:26:59 5d3b04190fa2: Pull complete 19:27:03 2f39f015ded8: Pull complete 19:27:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:27:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:03 prd-ubuntu20.04-docker-8c-8g-2914 does not seem to be running inside a container 19:27:03 $ 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:27:07 $ docker top 16eca8ce35376a99e5ca3615621ea8fc09b9c376549a5f5649f496174eefb21c -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:08 + touch /tmp/pre-build-complete [Pipeline] sh 19:27:08 + mkdir -p /var/log/sysstat [Pipeline] sh 19:27:08 + ls /var/log/sa-host 19:27:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:27:09 provisioning config files... 19:27:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1307703218727373581tmp [Pipeline] { [Pipeline] echo 19:27:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:27:09 ---> create-netrc.sh [Pipeline] } 19:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:27:09 ---> python-tools-install.sh [Pipeline] echo 19:27:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:27:10 ---> sudo-logs.sh 19:27:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:27:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:27:10 ---> job-cost.sh 19:27:10 lf-activate-venv: SKIPPING 19:27:10 DEBUG: total: 0.10999999940395355 19:27:10 INFO: Retrieving Stack Cost... 19:27:11 INFO: Retrieving Pricing Info for: v3-standard-8 19:27:11 INFO: Archiving Costs [Pipeline] echo 19:27:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:27:11 ---> logs-deploy.sh 19:27:11 lf-activate-venv: SKIPPING 19:27:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4624/1 19:27:11 INFO: archiving workspace using pattern(s): 19:27:12 Archives upload complete. 19:27:12 INFO: archiving logs to Nexus