Pull request #4620 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 29c85a335c7ff6eceff3787703e95ebf8686fac3+e9743d574695eaaacfb4360752d68f7ca76ed8b2 (65f95efa2dc4454a5d8e672a406e1dd563dadc5d) 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-ssh8811847940095473678.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-ssh12122105099203129156.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-4620/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-4620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh218935605873916819.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-4620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15558782798298579802.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-ssh11585282844374233556.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-4620/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-4620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9110915785124009787.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-2458 in /w/workspace/edgexfoundry_edgex-go_PR-4620 [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 > 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/4620/head:refs/remotes/origin/PR-4620 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 29c85a335c7ff6eceff3787703e95ebf8686fac3 Merge succeeded, producing 29c85a335c7ff6eceff3787703e95ebf8686fac3 Checking out Revision 29c85a335c7ff6eceff3787703e95ebf8686fac3 (PR-4620) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-28T19:15:50.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-28T19:15:51.036Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-28T19:15:51.135Z] ========================================================= [2023-07-28T19:15:51.135Z] EdgeX Global Pipelines Version Info [2023-07-28T19:15:51.135Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 29c85a335c7ff6eceff3787703e95ebf8686fac3 # 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 29c85a335c7ff6eceff3787703e95ebf8686fac3 # timeout=10 [2023-07-28T19:15:51.879Z] ------------------- [2023-07-28T19:15:51.879Z] stable info: [2023-07-28T19:15:51.879Z] ------------------- [2023-07-28T19:15:51.879Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-28T19:15:51.879Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T19:15:51.879Z] Message: update stable to v1.0.250 [2023-07-28T19:15:52.450Z] ------------------- [2023-07-28T19:15:52.450Z] experimental info: [2023-07-28T19:15:52.450Z] ------------------- [2023-07-28T19:15:52.450Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-28T19:15:52.450Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T19:15:52.450Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-28T19:15:52.757Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-07-28T19:15:52.801Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-07-28T19:15:52.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-28T19:15:52.889Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-28T19:15:52.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-28T19:15:52.971Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-28T19:15:53.013Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-28T19:15:53.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-07-28T19:15:53.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-07-28T19:15:53.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-07-28T19:15:53.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-28T19:15:53.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-28T19:15:53.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-28T19:15:53.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-28T19:15:53.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-28T19:15:53.380Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-28T19:15:53.434Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-28T19:15:53.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-28T19:15:53.521Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-28T19:15:53.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-28T19:15:53.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-28T19:15:53.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-28T19:15:53.686Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-28T19:15:53.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4620 [Pipeline] echo [2023-07-28T19:15:53.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4620 [Pipeline] echo [2023-07-28T19:15:53.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4620 [Pipeline] echo [2023-07-28T19:15:53.842Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29c85a335c7ff6eceff3787703e95ebf8686fac3 [Pipeline] echo [2023-07-28T19:15:53.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29c85a3 [Pipeline] echo [2023-07-28T19:15:53.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T19:15:54.041Z] provisioning config files... [2023-07-28T19:15:54.077Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9246436190337863020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:15:54.419Z] ---> docker-login.sh [2023-07-28T19:15:54.419Z] nexus3.edgexfoundry.org:10001 [2023-07-28T19:15:54.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:15:54.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:15:54.680Z] Configure a credential helper to remove this warning. See [2023-07-28T19:15:54.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:15:54.680Z] [2023-07-28T19:15:54.680Z] Login Succeeded [2023-07-28T19:15:54.680Z] nexus3.edgexfoundry.org:10002 [2023-07-28T19:15:54.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:15:54.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:15:54.947Z] Configure a credential helper to remove this warning. See [2023-07-28T19:15:54.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:15:54.947Z] [2023-07-28T19:15:54.947Z] Login Succeeded [2023-07-28T19:15:54.947Z] nexus3.edgexfoundry.org:10003 [2023-07-28T19:15:54.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:15:54.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:15:54.947Z] Configure a credential helper to remove this warning. See [2023-07-28T19:15:54.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:15:54.947Z] [2023-07-28T19:15:54.947Z] Login Succeeded [2023-07-28T19:15:54.947Z] nexus3.edgexfoundry.org:10004 [2023-07-28T19:15:54.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:15:55.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:15:55.209Z] Configure a credential helper to remove this warning. See [2023-07-28T19:15:55.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:15:55.209Z] [2023-07-28T19:15:55.209Z] Login Succeeded [2023-07-28T19:15:55.209Z] docker.io [2023-07-28T19:15:55.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:15:55.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:15:55.469Z] Configure a credential helper to remove this warning. See [2023-07-28T19:15:55.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:15:55.469Z] [2023-07-28T19:15:55.469Z] Login Succeeded [2023-07-28T19:15:55.469Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T19:15:55.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-28T19:15:55.917Z] + 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 [2023-07-28T19:15:55.917Z] + dirname cmd/core-command/Dockerfile [2023-07-28T19:15:55.917Z] + cut -d/ -f2 [2023-07-28T19:15:55.917Z] + echo core-command,cmd/core-command/Dockerfile [2023-07-28T19:15:55.917Z] + + dirnamecut cmd/core-common-config-bootstrapper/Dockerfile -d/ [2023-07-28T19:15:55.917Z] -f2 [2023-07-28T19:15:55.917Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-07-28T19:15:55.917Z] + + cut -d/ -f2 [2023-07-28T19:15:55.917Z] dirname cmd/core-data/Dockerfile [2023-07-28T19:15:55.917Z] + echo core-data,cmd/core-data/Dockerfile [2023-07-28T19:15:55.917Z] + cut -d/ -f2 [2023-07-28T19:15:55.917Z] + dirname cmd/core-metadata/Dockerfile [2023-07-28T19:15:55.917Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-07-28T19:15:55.917Z] + dirname cmd/security-bootstrapper/Dockerfile+ [2023-07-28T19:15:55.917Z] cut -d/ -f2 [2023-07-28T19:15:55.917Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-07-28T19:15:55.917Z] + + cut -d/dirname -f2 cmd/security-proxy-auth/Dockerfile [2023-07-28T19:15:55.917Z] [2023-07-28T19:15:55.917Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2023-07-28T19:15:55.917Z] + + cut -d/ -f2 [2023-07-28T19:15:55.917Z] dirname cmd/security-proxy-setup/Dockerfile [2023-07-28T19:15:55.917Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-07-28T19:15:55.917Z] + cut+ -d/ -f2 [2023-07-28T19:15:55.917Z] dirname cmd/security-secretstore-setup/Dockerfile [2023-07-28T19:15:55.917Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-07-28T19:15:55.917Z] + cut -d/ -f2 [2023-07-28T19:15:55.917Z] + dirname cmd/security-spiffe-token-provider/Dockerfile [2023-07-28T19:15:55.917Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-07-28T19:15:55.917Z] + cut -d/ -f2+ [2023-07-28T19:15:55.917Z] dirname cmd/security-spire-agent/Dockerfile [2023-07-28T19:15:55.918Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-07-28T19:15:55.918Z] + cut -d/ -f2 [2023-07-28T19:15:55.918Z] + dirname cmd/security-spire-config/Dockerfile [2023-07-28T19:15:55.918Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-07-28T19:15:55.918Z] + dirname cmd/security-spire-server/Dockerfile [2023-07-28T19:15:55.918Z] + cut -d/ -f2 [2023-07-28T19:15:55.918Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-07-28T19:15:55.918Z] + dirname cmd/support-notifications/Dockerfile [2023-07-28T19:15:55.918Z] + cut -d/ -f2 [2023-07-28T19:15:55.918Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-07-28T19:15:55.918Z] + dirname cmd/support-scheduler/Dockerfile [2023-07-28T19:15:55.918Z] + cut -d/ -f2 [2023-07-28T19:15:55.918Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-07-28T19:15:55.986Z] 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 [2023-07-28T19:15:56.500Z] + git rev-list -1 --merges 29c85a335c7ff6eceff3787703e95ebf8686fac3~1..29c85a335c7ff6eceff3787703e95ebf8686fac3 [Pipeline] echo [2023-07-28T19:15:56.530Z] -----------> git rev-list -1 --merges 29c85a335c7ff6eceff3787703e95ebf8686fac3~1..29c85a335c7ff6eceff3787703e95ebf8686fac3 29c85a335c7ff6eceff3787703e95ebf8686fac3 [false] [Pipeline] sh [2023-07-28T19:15:56.836Z] + git log --format=format:%s -1 29c85a335c7ff6eceff3787703e95ebf8686fac3 [Pipeline] echo [2023-07-28T19:15:56.869Z] ========================================================= [2023-07-28T19:15:56.869Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T19:15:56.869Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-28T19:15:57.377Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-28T19:15:57.377Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-28T19:15:57.377Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-28T19:15:57.377Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-28T19:15:57.377Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-28T19:15:57.377Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-28T19:15:57.377Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:15:57.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T19:15:57.872Z] [2023-07-28T19:15:57.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:15:58.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T19:15:58.257Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-28T19:15:58.257Z] b85a868b505f: Pulling fs layer [2023-07-28T19:15:58.257Z] e2be974225ed: Pulling fs layer [2023-07-28T19:15:58.257Z] 339a4e72a1f5: Pulling fs layer [2023-07-28T19:15:58.257Z] 988bab9f4d93: Pulling fs layer [2023-07-28T19:15:58.257Z] 1469e6f7b9e6: Pulling fs layer [2023-07-28T19:15:58.257Z] eaf3925da568: Pulling fs layer [2023-07-28T19:15:58.257Z] bab4dde63d76: Pulling fs layer [2023-07-28T19:15:58.257Z] bde34c3a00c8: Pulling fs layer [2023-07-28T19:15:58.257Z] b352a97aabf1: Pulling fs layer [2023-07-28T19:15:58.257Z] 4872d77fe225: Pulling fs layer [2023-07-28T19:15:58.257Z] 5851b861e8e6: Pulling fs layer [2023-07-28T19:15:58.257Z] eaf3925da568: Waiting [2023-07-28T19:15:58.257Z] 4872d77fe225: Waiting [2023-07-28T19:15:58.257Z] bde34c3a00c8: Waiting [2023-07-28T19:15:58.257Z] b352a97aabf1: Waiting [2023-07-28T19:15:58.257Z] 988bab9f4d93: Waiting [2023-07-28T19:15:58.257Z] 1469e6f7b9e6: Waiting [2023-07-28T19:15:58.257Z] 5851b861e8e6: Waiting [2023-07-28T19:15:58.257Z] e2be974225ed: Verifying Checksum [2023-07-28T19:15:58.257Z] e2be974225ed: Download complete [2023-07-28T19:15:58.257Z] 988bab9f4d93: Verifying Checksum [2023-07-28T19:15:58.257Z] 988bab9f4d93: Download complete [2023-07-28T19:15:58.520Z] 1469e6f7b9e6: Verifying Checksum [2023-07-28T19:15:58.520Z] 1469e6f7b9e6: Download complete [2023-07-28T19:15:58.520Z] eaf3925da568: Verifying Checksum [2023-07-28T19:15:58.520Z] eaf3925da568: Download complete [2023-07-28T19:15:58.520Z] 339a4e72a1f5: Verifying Checksum [2023-07-28T19:15:58.520Z] 339a4e72a1f5: Download complete [2023-07-28T19:15:58.520Z] bde34c3a00c8: Verifying Checksum [2023-07-28T19:15:58.520Z] bde34c3a00c8: Download complete [2023-07-28T19:15:58.520Z] b352a97aabf1: Download complete [2023-07-28T19:15:58.520Z] 4872d77fe225: Verifying Checksum [2023-07-28T19:15:58.520Z] 4872d77fe225: Download complete [2023-07-28T19:15:58.520Z] 5851b861e8e6: Download complete [2023-07-28T19:15:58.520Z] b85a868b505f: Verifying Checksum [2023-07-28T19:15:58.520Z] b85a868b505f: Download complete [2023-07-28T19:15:58.781Z] bab4dde63d76: Verifying Checksum [2023-07-28T19:15:58.781Z] bab4dde63d76: Download complete [2023-07-28T19:16:00.160Z] b85a868b505f: Pull complete [2023-07-28T19:16:00.160Z] e2be974225ed: Pull complete [2023-07-28T19:16:00.730Z] 339a4e72a1f5: Pull complete [2023-07-28T19:16:00.730Z] 988bab9f4d93: Pull complete [2023-07-28T19:16:01.300Z] 1469e6f7b9e6: Pull complete [2023-07-28T19:16:01.300Z] eaf3925da568: Pull complete [2023-07-28T19:16:03.213Z] bab4dde63d76: Pull complete [2023-07-28T19:16:03.473Z] bde34c3a00c8: Pull complete [2023-07-28T19:16:03.473Z] b352a97aabf1: Pull complete [2023-07-28T19:16:03.734Z] 4872d77fe225: Pull complete [2023-07-28T19:16:03.734Z] 5851b861e8e6: Pull complete [2023-07-28T19:16:03.734Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-28T19:16:03.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T19:16:03.734Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:16:03.966Z] prd-ubuntu20.04-docker-8c-8g-2458 does not seem to be running inside a container [2023-07-28T19:16:03.996Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-28T19:16:06.846Z] $ docker top b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 -eo pid,comm [2023-07-28T19:16:06.906Z] 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). [2023-07-28T19:16:06.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-28T19:16:07.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T19:16:07.032Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T19:16:07.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T19:16:07.170Z] $ docker exec b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 ssh-agent [2023-07-28T19:16:07.285Z] SSH_AUTH_SOCK=/tmp/ssh-KCXvxzHHPBEJ/agent.33 [2023-07-28T19:16:07.285Z] SSH_AGENT_PID=39 [2023-07-28T19:16:07.293Z] Running ssh-add (command line suppressed) [2023-07-28T19:16:07.406Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4715768587054236712.key (/w/workspace/edgex-go/1@tmp/private_key_4715768587054236712.key) [2023-07-28T19:16:07.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T19:16:07.747Z] + git tag --points-at HEAD [Pipeline] } [2023-07-28T19:16:07.778Z] $ docker exec --env ******** --env ******** b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 ssh-agent -k [2023-07-28T19:16:07.902Z] unset SSH_AUTH_SOCK; [2023-07-28T19:16:07.903Z] unset SSH_AGENT_PID; [2023-07-28T19:16:07.903Z] echo Agent pid 39 killed; [2023-07-28T19:16:07.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-28T19:16:08.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T19:16:08.001Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T19:16:08.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T19:16:08.117Z] $ docker exec b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 ssh-agent [2023-07-28T19:16:08.234Z] SSH_AUTH_SOCK=/tmp/ssh-8poVMc0lQTfp/agent.72 [2023-07-28T19:16:08.234Z] SSH_AGENT_PID=78 [2023-07-28T19:16:08.239Z] Running ssh-add (command line suppressed) [2023-07-28T19:16:08.340Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7513791432230065864.key (/w/workspace/edgex-go/1@tmp/private_key_7513791432230065864.key) [2023-07-28T19:16:08.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T19:16:08.693Z] + git semver init [2023-07-28T19:16:08.954Z] 2023-07-28 19:16:08,893 [run_init] DEBUG init version:0.0.0 force:False [2023-07-28T19:16:08.954Z] 2023-07-28 19:16:08,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-07-28T19:16:08.954Z] 2023-07-28 19:16:08,894 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2023-07-28T19:16:08.954Z] 2023-07-28 19:16:08,894 [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) [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,015 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4620 with force:False [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,016 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4620 [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,021 [execute] INFO git cat-file --batch-check [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,030 [execute] INFO git cat-file --batch [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T19:16:14.244Z] 2023-07-28 19:16:14,037 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4620 [2023-07-28T19:16:14.244Z] 0.0.0 [Pipeline] } [2023-07-28T19:16:14.274Z] $ docker exec --env ******** --env ******** b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 ssh-agent -k [2023-07-28T19:16:14.377Z] unset SSH_AUTH_SOCK; [2023-07-28T19:16:14.378Z] unset SSH_AGENT_PID; [2023-07-28T19:16:14.378Z] echo Agent pid 78 killed; [2023-07-28T19:16:14.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-28T19:16:14.812Z] + git semver [Pipeline] } [2023-07-28T19:16:15.098Z] $ docker stop --time=1 b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 [2023-07-28T19:16:16.378Z] $ docker rm -f --volumes b107106a262290229f87ca18a54d33539cfc511418b56d822d14d00765245ce8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-28T19:16:16.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-28T19:16:17.059Z] Stashed 1 file(s) [Pipeline] echo [2023-07-28T19:16:17.075Z] [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 [2023-07-28T19:16:17.874Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-07-28T19:16:17.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T19:16:17.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T19:16:17.989Z] ========================================================= [2023-07-28T19:16:17.989Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-28T19:16:17.989Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:16:18.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-28T19:16:18.335Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-28T19:16:18.335Z] 4db1b89c0bd1: Pulling fs layer [2023-07-28T19:16:18.335Z] 6911f1a30b25: Pulling fs layer [2023-07-28T19:16:18.335Z] e194b8c5c2a9: Pulling fs layer [2023-07-28T19:16:18.335Z] 6863d3e3a2b1: Pulling fs layer [2023-07-28T19:16:18.335Z] ec0bb842ea78: Pulling fs layer [2023-07-28T19:16:18.335Z] 40a00589a448: Pulling fs layer [2023-07-28T19:16:18.335Z] 6c08303d61cc: Pulling fs layer [2023-07-28T19:16:18.335Z] 798269fcf238: Pulling fs layer [2023-07-28T19:16:18.335Z] ec0bb842ea78: Waiting [2023-07-28T19:16:18.335Z] 40a00589a448: Waiting [2023-07-28T19:16:18.335Z] 6863d3e3a2b1: Waiting [2023-07-28T19:16:18.335Z] 6c08303d61cc: Waiting [2023-07-28T19:16:18.335Z] 798269fcf238: Waiting [2023-07-28T19:16:18.335Z] 6911f1a30b25: Verifying Checksum [2023-07-28T19:16:18.335Z] 6911f1a30b25: Download complete [2023-07-28T19:16:18.335Z] 6863d3e3a2b1: Verifying Checksum [2023-07-28T19:16:18.335Z] 6863d3e3a2b1: Download complete [2023-07-28T19:16:18.335Z] ec0bb842ea78: Download complete [2023-07-28T19:16:18.335Z] 4db1b89c0bd1: Verifying Checksum [2023-07-28T19:16:18.335Z] 4db1b89c0bd1: Download complete [2023-07-28T19:16:18.335Z] 40a00589a448: Verifying Checksum [2023-07-28T19:16:18.335Z] 40a00589a448: Download complete [2023-07-28T19:16:18.597Z] 4db1b89c0bd1: Pull complete [2023-07-28T19:16:18.597Z] 6911f1a30b25: Pull complete [2023-07-28T19:16:18.859Z] 798269fcf238: Verifying Checksum [2023-07-28T19:16:18.859Z] 798269fcf238: Download complete [2023-07-28T19:16:19.119Z] e194b8c5c2a9: Download complete [2023-07-28T19:16:19.378Z] 6c08303d61cc: Verifying Checksum [2023-07-28T19:16:19.378Z] 6c08303d61cc: Download complete [2023-07-28T19:16:22.679Z] e194b8c5c2a9: Pull complete [2023-07-28T19:16:22.940Z] 6863d3e3a2b1: Pull complete [2023-07-28T19:16:22.940Z] ec0bb842ea78: Pull complete [2023-07-28T19:16:22.940Z] 40a00589a448: Pull complete [2023-07-28T19:16:25.468Z] 6c08303d61cc: Pull complete [2023-07-28T19:16:26.412Z] 798269fcf238: Pull complete [2023-07-28T19:16:26.412Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-28T19:16:26.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-28T19:16:26.412Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:16:26.767Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-28T19:16:26.767Z] WORKDIR /edgex [2023-07-28T19:16:26.767Z] COPY go.mod . [2023-07-28T19:16:26.767Z] RUN go mod download [2023-07-28T19:16:26.767Z] + docker build -t ci-base-image-x86_64 -f - . [2023-07-28T19:16:27.332Z] Sending build context to Docker daemon 170.7MB [2023-07-28T19:16:27.332Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-28T19:16:27.332Z] ---> ec979cd7f677 [2023-07-28T19:16:27.332Z] Step 2/4 : WORKDIR /edgex [2023-07-28T19:16:31.526Z] ---> Running in 355236e26070 [2023-07-28T19:16:31.526Z] Removing intermediate container 355236e26070 [2023-07-28T19:16:31.526Z] ---> 7be9b2a2bf76 [2023-07-28T19:16:31.526Z] Step 3/4 : COPY go.mod . [2023-07-28T19:16:31.526Z] ---> 3fa575fced4a [2023-07-28T19:16:31.526Z] Step 4/4 : RUN go mod download [2023-07-28T19:16:31.787Z] ---> Running in b7d848c9bcbc [2023-07-28T19:16:32.392Z] Still waiting to schedule task [2023-07-28T19:16:32.392Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-28T19:16:49.898Z] Removing intermediate container b7d848c9bcbc [2023-07-28T19:16:49.898Z] ---> 14ad92643087 [2023-07-28T19:16:49.898Z] Successfully built 14ad92643087 [2023-07-28T19:16:49.898Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:16:50.281Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-28T19:16:50.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:16:50.437Z] prd-ubuntu20.04-docker-8c-8g-2458 does not seem to be running inside a container [2023-07-28T19:16:50.472Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-28T19:16:50.948Z] $ docker top f4385de6aa3f0e86ad04cb302eb7fe675a1c68a75aee06c9f28fc142fd3e9660 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T19:16:51.353Z] + go version [2023-07-28T19:16:51.353Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-28T19:16:51.384Z] $ docker stop --time=1 f4385de6aa3f0e86ad04cb302eb7fe675a1c68a75aee06c9f28fc142fd3e9660 [2023-07-28T19:16:52.673Z] $ docker rm -f --volumes f4385de6aa3f0e86ad04cb302eb7fe675a1c68a75aee06c9f28fc142fd3e9660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:16:53.355Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-28T19:16:53.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:16:53.500Z] prd-ubuntu20.04-docker-8c-8g-2458 does not seem to be running inside a container [2023-07-28T19:16:53.530Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-28T19:16:53.853Z] $ docker top 1a54421e627e0a73d3cca49940f13b067f5ab03dd00323f38242d59efe173b2f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-28T19:16:53.958Z] ========================================================= [2023-07-28T19:16:53.958Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-07-28T19:16:53.958Z] ========================================================= [Pipeline] sh [2023-07-28T19:16:54.251Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:16:54.610Z] + make test [2023-07-28T19:16:54.610Z] go test -race -coverprofile=coverage.out ./... [2023-07-28T19:17:02.727Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-07-28T19:17:14.919Z] # github.com/edgexfoundry/edgex-go/internal/core/command [2023-07-28T19:17:14.919Z] internal/core/command/main.go:64:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:14.919Z] internal/core/command/router.go:33:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] internal/core/command/router.go:40:53: too many errors [2023-07-28T19:17:14.919Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2023-07-28T19:17:14.919Z] internal/core/data/main.go:60:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:14.919Z] internal/core/data/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.919Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] internal/core/data/router.go:41:42: too many errors [2023-07-28T19:17:14.920Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-07-28T19:17:14.920Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata [2023-07-28T19:17:14.920Z] internal/core/metadata/main.go:61:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:14.920Z] internal/core/metadata/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] internal/core/metadata/router.go:44:55: too many errors [2023-07-28T19:17:14.920Z] # github.com/edgexfoundry/edgex-go/internal/security/proxyauth [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] 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 [2023-07-28T19:17:14.920Z] internal/security/proxyauth/main.go:62:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:14.920Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-07-28T19:17:14.920Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-07-28T19:17:14.920Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-07-28T19:17:14.920Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-07-28T19:17:15.187Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-07-28T19:17:15.187Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2023-07-28T19:17:15.187Z] internal/support/scheduler/main.go:59:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:15.187Z] internal/support/scheduler/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] internal/support/scheduler/router.go:36:46: too many errors [2023-07-28T19:17:15.187Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications [2023-07-28T19:17:15.187Z] internal/support/notifications/main.go:66:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:17:15.187Z] internal/support/notifications/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] 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 [2023-07-28T19:17:15.187Z] internal/support/notifications/router.go:36:54: too many errors [2023-07-28T19:17:15.445Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-07-28T19:17:17.349Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-07-28T19:17:17.349Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-07-28T19:17:17.349Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.063s coverage: 28.7% of statements [2023-07-28T19:17:19.377Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.071s coverage: 98.5% of statements [2023-07-28T19:17:23.596Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.097s coverage: 71.5% of statements [2023-07-28T19:17:23.596Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-07-28T19:17:23.596Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-07-28T19:17:24.974Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-07-28T19:17:24.974Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-07-28T19:17:24.974Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.074s coverage: 54.0% of statements [2023-07-28T19:17:26.359Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-07-28T19:17:26.359Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-07-28T19:17:26.359Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:17:26.359Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-07-28T19:17:27.736Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-07-28T19:17:27.736Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-07-28T19:17:28.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-07-28T19:17:28.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:17:28.670Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-07-28T19:17:28.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.717s coverage: 88.5% of statements [2023-07-28T19:17:28.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.095s coverage: 3.8% of statements [2023-07-28T19:17:28.928Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.326s coverage: 95.6% of statements [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-07-28T19:17:29.185Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-07-28T19:17:29.185Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.054s coverage: 72.2% of statements [2023-07-28T19:17:31.088Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-07-28T19:17:31.088Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-07-28T19:17:31.088Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.092s coverage: 0.9% of statements [2023-07-28T19:17:31.088Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.057s coverage: 31.9% of statements [2023-07-28T19:17:31.088Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 42.9% of statements [2023-07-28T19:17:32.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.066s coverage: 82.9% of statements [2023-07-28T19:17:32.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements [2023-07-28T19:17:32.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.071s coverage: 96.3% of statements [2023-07-28T19:17:32.462Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements [2023-07-28T19:17:32.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-07-28T19:17:32.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-07-28T19:17:32.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-07-28T19:17:32.462Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-07-28T19:17:32.722Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-07-28T19:17:32.722Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-07-28T19:17:32.722Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-07-28T19:17:32.722Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-07-28T19:17:33.658Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-07-28T19:17:33.658Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-07-28T19:17:33.658Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-07-28T19:17:33.658Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-07-28T19:17:34.225Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-07-28T19:17:34.225Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-07-28T19:17:34.792Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-07-28T19:17:35.725Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-07-28T19:17:35.984Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-07-28T19:17:37.359Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-07-28T19:17:37.359Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-07-28T19:17:38.734Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-07-28T19:17:38.734Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-07-28T19:17:40.108Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-07-28T19:17:40.108Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-07-28T19:17:40.368Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-07-28T19:17:41.310Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-07-28T19:17:41.310Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-07-28T19:17:41.310Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-07-28T19:17:42.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-07-28T19:17:42.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-07-28T19:17:42.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-07-28T19:17:42.688Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-07-28T19:17:44.066Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.063s coverage: 94.4% of statements [2023-07-28T19:17:44.066Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-07-28T19:17:44.066Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:17:44.066Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-07-28T19:17:45.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-07-28T19:17:45.003Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-07-28T19:17:45.940Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-07-28T19:17:45.940Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.276s coverage: 79.9% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 18.079s coverage: 92.9% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.028s coverage: 64.4% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.066s coverage: 62.3% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.085s coverage: 87.2% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.046s coverage: 20.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.086s coverage: 81.8% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.092s coverage: 82.1% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.061s coverage: 86.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.193s coverage: 63.1% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.063s coverage: 100.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.041s coverage: 89.4% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.034s coverage: 73.7% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.188s coverage: 38.4% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.060s coverage: 89.5% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.062s coverage: 84.8% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.077s coverage: 17.7% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.172s coverage: 92.3% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.062s coverage: 61.8% of statements [2023-07-28T19:17:55.919Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.100s coverage: 97.7% of statements [2023-07-28T19:17:55.919Z] FAIL [2023-07-28T19:17:55.919Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-07-28T19:17:55.961Z] $ docker stop --time=1 1a54421e627e0a73d3cca49940f13b067f5ab03dd00323f38242d59efe173b2f [2023-07-28T19:17:57.619Z] $ docker rm -f --volumes 1a54421e627e0a73d3cca49940f13b067f5ab03dd00323f38242d59efe173b2f [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] } [2023-07-28T19:17:58.571Z] Failed in branch amd64 [2023-07-28T19:18:11.029Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2459 in /w/workspace/edgexfoundry_edgex-go_PR-4620 [Pipeline] { [Pipeline] ws [2023-07-28T19:18:11.086Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-07-28T19:18:11.159Z] The recommended git tool is: git [2023-07-28T19:18:15.988Z] using credential edgex-jenkins-ssh [2023-07-28T19:18:16.007Z] Cloning the remote Git repository [2023-07-28T19:18:16.043Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-07-28T19:18:16.127Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-07-28T19:18:16.259Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-07-28T19:18:16.261Z] > git --version # timeout=10 [2023-07-28T19:18:16.281Z] > git --version # 'git version 2.25.1' [2023-07-28T19:18:16.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T19:18:16.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T19:18:31.956Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-07-28T19:18:31.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T19:18:32.816Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-07-28T19:18:32.864Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-07-28T19:18:32.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T19:18:32.879Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4620/head:refs/remotes/origin/PR-4620 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-28T19:18:33.514Z] Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit 29c85a335c7ff6eceff3787703e95ebf8686fac3 [2023-07-28T19:18:33.940Z] Merge succeeded, producing 29c85a335c7ff6eceff3787703e95ebf8686fac3 [2023-07-28T19:18:33.940Z] Checking out Revision 29c85a335c7ff6eceff3787703e95ebf8686fac3 (PR-4620) [2023-07-28T19:18:34.532Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-07-28T19:18:34.579Z] > git --version # timeout=10 [2023-07-28T19:18:34.593Z] > git --version # 'git version 2.25.1' [2023-07-28T19:18:34.607Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-07-28T19:18:33.531Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T19:18:33.606Z] > git checkout -f 29c85a335c7ff6eceff3787703e95ebf8686fac3 # timeout=10 [2023-07-28T19:18:33.831Z] > git remote # timeout=10 [2023-07-28T19:18:33.853Z] > git config --get remote.origin.url # timeout=10 [2023-07-28T19:18:33.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T19:18:33.888Z] > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 [2023-07-28T19:18:33.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-28T19:18:33.944Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T19:18:33.960Z] > git checkout -f 29c85a335c7ff6eceff3787703e95ebf8686fac3 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T19:18:35.820Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-28T19:18:35.820Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-28T19:18:35.820Z] Dload Upload Total Spent Left Speed [2023-07-28T19:18:35.820Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-07-28T19:18:36.359Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-28T19:18:36.698Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-28T19:18:36.698Z] + sudo tee /etc/docker/daemon.new [2023-07-28T19:18:36.698Z] { [2023-07-28T19:18:36.698Z] "registry-mirrors": [ [2023-07-28T19:18:36.698Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-28T19:18:36.698Z] ], [2023-07-28T19:18:36.698Z] "bip": "10.250.0.254/24", [2023-07-28T19:18:36.698Z] "hosts": [ [2023-07-28T19:18:36.698Z] "tcp://0.0.0.0:5555", [2023-07-28T19:18:36.698Z] "unix:///var/run/docker.sock" [2023-07-28T19:18:36.698Z] ], [2023-07-28T19:18:36.698Z] "mtu": 1458, [2023-07-28T19:18:36.698Z] "selinux-enabled": true, [2023-07-28T19:18:36.698Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-28T19:18:36.698Z] } [Pipeline] sh [2023-07-28T19:18:37.033Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-28T19:18:37.373Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T19:18:55.663Z] provisioning config files... [2023-07-28T19:18:55.687Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config18347287450835798376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:18:56.065Z] ---> docker-login.sh [2023-07-28T19:18:56.065Z] nexus3.edgexfoundry.org:10001 [2023-07-28T19:18:56.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:18:56.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:18:56.604Z] Configure a credential helper to remove this warning. See [2023-07-28T19:18:56.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:18:56.604Z] [2023-07-28T19:18:56.604Z] Login Succeeded [2023-07-28T19:18:56.604Z] nexus3.edgexfoundry.org:10002 [2023-07-28T19:18:56.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:18:56.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:18:56.873Z] Configure a credential helper to remove this warning. See [2023-07-28T19:18:56.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:18:56.873Z] [2023-07-28T19:18:56.873Z] Login Succeeded [2023-07-28T19:18:57.144Z] nexus3.edgexfoundry.org:10003 [2023-07-28T19:18:57.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:18:57.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:18:57.413Z] Configure a credential helper to remove this warning. See [2023-07-28T19:18:57.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:18:57.413Z] [2023-07-28T19:18:57.413Z] Login Succeeded [2023-07-28T19:18:57.413Z] nexus3.edgexfoundry.org:10004 [2023-07-28T19:18:57.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:18:57.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:18:57.685Z] Configure a credential helper to remove this warning. See [2023-07-28T19:18:57.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:18:57.685Z] [2023-07-28T19:18:57.685Z] Login Succeeded [2023-07-28T19:18:57.685Z] docker.io [2023-07-28T19:18:57.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T19:18:58.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T19:18:58.221Z] Configure a credential helper to remove this warning. See [2023-07-28T19:18:58.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T19:18:58.221Z] [2023-07-28T19:18:58.221Z] Login Succeeded [2023-07-28T19:18:58.221Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T19:18:58.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-07-28T19:18:58.912Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-07-28T19:18:58.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T19:18:58.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T19:18:59.020Z] ========================================================= [2023-07-28T19:18:59.020Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-28T19:18:59.020Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:18:59.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-28T19:19:00.800Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-28T19:19:00.800Z] edb6bdbacee9: Pulling fs layer [2023-07-28T19:19:00.800Z] 5f9638ab2659: Pulling fs layer [2023-07-28T19:19:00.800Z] 8d51d6327a98: Pulling fs layer [2023-07-28T19:19:00.800Z] 8b374f2dd631: Pulling fs layer [2023-07-28T19:19:00.800Z] ec14aa9079de: Pulling fs layer [2023-07-28T19:19:00.800Z] 2f466654f4bb: Pulling fs layer [2023-07-28T19:19:00.800Z] 554e91adad29: Pulling fs layer [2023-07-28T19:19:00.800Z] 8b374f2dd631: Waiting [2023-07-28T19:19:00.800Z] ec14aa9079de: Waiting [2023-07-28T19:19:00.800Z] 2f466654f4bb: Waiting [2023-07-28T19:19:00.800Z] 554e91adad29: Waiting [2023-07-28T19:19:00.800Z] 5f9638ab2659: Verifying Checksum [2023-07-28T19:19:00.800Z] 5f9638ab2659: Download complete [2023-07-28T19:19:00.800Z] 8b374f2dd631: Verifying Checksum [2023-07-28T19:19:00.800Z] 8b374f2dd631: Download complete [2023-07-28T19:19:00.800Z] ec14aa9079de: Verifying Checksum [2023-07-28T19:19:00.800Z] ec14aa9079de: Download complete [2023-07-28T19:19:01.088Z] edb6bdbacee9: Download complete [2023-07-28T19:19:02.056Z] edb6bdbacee9: Pull complete [2023-07-28T19:19:02.328Z] 554e91adad29: Verifying Checksum [2023-07-28T19:19:02.328Z] 554e91adad29: Download complete [2023-07-28T19:19:02.711Z] 5f9638ab2659: Pull complete [2023-07-28T19:19:03.719Z] 2f466654f4bb: Verifying Checksum [2023-07-28T19:19:03.719Z] 2f466654f4bb: Download complete [2023-07-28T19:19:03.719Z] 8d51d6327a98: Verifying Checksum [2023-07-28T19:19:03.719Z] 8d51d6327a98: Download complete [2023-07-28T19:19:16.044Z] 8d51d6327a98: Pull complete [2023-07-28T19:19:16.044Z] 8b374f2dd631: Pull complete [2023-07-28T19:19:16.044Z] ec14aa9079de: Pull complete [2023-07-28T19:19:21.419Z] 2f466654f4bb: Pull complete [2023-07-28T19:19:24.005Z] 554e91adad29: Pull complete [2023-07-28T19:19:24.005Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-28T19:19:24.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-28T19:19:24.005Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:19:24.389Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-28T19:19:24.389Z] WORKDIR /edgex [2023-07-28T19:19:24.389Z] COPY go.mod . [2023-07-28T19:19:24.389Z] RUN go mod download [2023-07-28T19:19:24.389Z] + docker build -t ci-base-image-arm64 -f - . [2023-07-28T19:19:24.978Z] Sending build context to Docker daemon 2.941MB [2023-07-28T19:19:24.978Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-28T19:19:24.978Z] ---> 1e15ea492957 [2023-07-28T19:19:24.978Z] Step 2/4 : WORKDIR /edgex [2023-07-28T19:19:26.921Z] ---> Running in 91e97cf061d7 [2023-07-28T19:19:27.190Z] Removing intermediate container 91e97cf061d7 [2023-07-28T19:19:27.190Z] ---> 9560411f809f [2023-07-28T19:19:27.190Z] Step 3/4 : COPY go.mod . [2023-07-28T19:19:27.785Z] ---> ea335f651f27 [2023-07-28T19:19:27.785Z] Step 4/4 : RUN go mod download [2023-07-28T19:19:27.785Z] ---> Running in 8567eba36ff0 [2023-07-28T19:20:06.650Z] Removing intermediate container 8567eba36ff0 [2023-07-28T19:20:06.650Z] ---> 51819fd72966 [2023-07-28T19:20:06.650Z] Successfully built 51819fd72966 [2023-07-28T19:20:06.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:20:07.032Z] + docker inspect -f . ci-base-image-arm64 [2023-07-28T19:20:07.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:20:07.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-2459 does not seem to be running inside a container [2023-07-28T19:20:07.335Z] $ 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 [2023-07-28T19:20:08.387Z] $ docker top 63b994a0b18f4b1a214ae9598eec6a8824a395b07638f84732d508e16423bc5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T19:20:09.220Z] + go version [2023-07-28T19:20:09.220Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-28T19:20:09.257Z] $ docker stop --time=1 63b994a0b18f4b1a214ae9598eec6a8824a395b07638f84732d508e16423bc5c [2023-07-28T19:20:10.815Z] $ docker rm -f --volumes 63b994a0b18f4b1a214ae9598eec6a8824a395b07638f84732d508e16423bc5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:20:11.620Z] + docker inspect -f . ci-base-image-arm64 [2023-07-28T19:20:11.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:20:11.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-2459 does not seem to be running inside a container [2023-07-28T19:20:11.897Z] $ 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 [2023-07-28T19:20:12.957Z] $ docker top de70cd0fb610ab4646049353ac27b5f478b52e3d49868eae2faca26da9785183 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-28T19:20:13.193Z] ========================================================= [2023-07-28T19:20:13.193Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-07-28T19:20:13.193Z] ========================================================= [Pipeline] sh [2023-07-28T19:20:13.510Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-28T19:20:13.890Z] + make test [2023-07-28T19:20:13.890Z] go test -race -coverprofile=coverage.out ./... [2023-07-28T19:20:52.767Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-07-28T19:22:44.430Z] # github.com/edgexfoundry/edgex-go/internal/core/command [2023-07-28T19:22:44.430Z] internal/core/command/main.go:64:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:44.430Z] internal/core/command/router.go:33:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] internal/core/command/router.go:40:53: too many errors [2023-07-28T19:22:44.430Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2023-07-28T19:22:44.430Z] internal/core/data/main.go:60:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:44.430Z] internal/core/data/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] 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 [2023-07-28T19:22:44.430Z] internal/core/data/router.go:41:42: too many errors [2023-07-28T19:22:44.430Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-07-28T19:22:48.680Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata [2023-07-28T19:22:48.680Z] internal/core/metadata/main.go:61:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:48.681Z] internal/core/metadata/router.go:34:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] 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 [2023-07-28T19:22:48.681Z] internal/core/metadata/router.go:44:55: too many errors [2023-07-28T19:22:50.084Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-07-28T19:22:51.493Z] # github.com/edgexfoundry/edgex-go/internal/security/proxyauth [2023-07-28T19:22:51.493Z] 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 [2023-07-28T19:22:51.493Z] 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 [2023-07-28T19:22:51.493Z] 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 [2023-07-28T19:22:51.493Z] internal/security/proxyauth/main.go:62:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:51.761Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-07-28T19:22:52.344Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-07-28T19:22:52.344Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-07-28T19:22:54.286Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-07-28T19:22:54.872Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2023-07-28T19:22:54.872Z] internal/support/scheduler/main.go:59:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:54.872Z] internal/support/scheduler/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] internal/support/scheduler/router.go:36:46: too many errors [2023-07-28T19:22:54.872Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications [2023-07-28T19:22:54.872Z] internal/support/notifications/main.go:66:39: cannot use router (variable of type *mux.Router) as *echo.Echo value in argument to handlers.NewHttpServer [2023-07-28T19:22:54.872Z] internal/support/notifications/router.go:29:42: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to controller.NewCommonController [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] 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 [2023-07-28T19:22:54.872Z] internal/support/notifications/router.go:36:54: too many errors [2023-07-28T19:22:55.139Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-07-28T19:23:05.204Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-07-28T19:23:05.204Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-07-28T19:23:05.204Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.262s coverage: 28.7% of statements [2023-07-28T19:23:15.276Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.279s coverage: 98.5% of statements [2023-07-28T19:23:20.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-07-28T19:23:20.609Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-07-28T19:23:23.949Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.429s coverage: 71.5% of statements [2023-07-28T19:23:25.892Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-07-28T19:23:25.892Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-07-28T19:23:26.480Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.375s coverage: 54.0% of statements [2023-07-28T19:23:31.889Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-07-28T19:23:31.889Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-07-28T19:23:31.889Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:23:31.889Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-07-28T19:23:42.017Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-07-28T19:23:42.017Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-07-28T19:23:45.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 13.486s coverage: 88.5% of statements [2023-07-28T19:23:45.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.643s coverage: 3.8% of statements [2023-07-28T19:23:55.445Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-07-28T19:23:55.445Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:23:55.445Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-07-28T19:23:56.029Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.535s coverage: 95.6% of statements [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-07-28T19:23:56.297Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-07-28T19:23:56.563Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.230s coverage: 72.2% of statements [2023-07-28T19:24:06.632Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-07-28T19:24:06.632Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-07-28T19:24:06.632Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.407s coverage: 0.9% of statements [2023-07-28T19:24:06.632Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.264s coverage: 31.9% of statements [2023-07-28T19:24:09.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.275s coverage: 42.9% of statements [2023-07-28T19:24:09.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.270s coverage: 82.9% of statements [2023-07-28T19:24:09.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.246s coverage: 94.1% of statements [2023-07-28T19:24:09.964Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.263s coverage: 96.3% of statements [2023-07-28T19:24:13.296Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.208s coverage: 87.5% of statements [2023-07-28T19:24:15.867Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-07-28T19:24:16.134Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-07-28T19:24:16.134Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-07-28T19:24:16.134Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-07-28T19:24:18.067Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-07-28T19:24:18.067Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-07-28T19:24:18.067Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-07-28T19:24:18.067Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-07-28T19:24:26.244Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.211s coverage: 94.4% of statements [2023-07-28T19:24:26.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-07-28T19:24:26.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-07-28T19:24:26.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-07-28T19:24:26.244Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-07-28T19:24:31.558Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-07-28T19:24:31.558Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-07-28T19:24:34.127Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.036s coverage: 79.9% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.262s coverage: 92.9% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.078s coverage: 64.4% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.209s coverage: 62.3% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.200s coverage: 87.2% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.171s coverage: 20.0% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.171s coverage: 100.0% of statements [2023-07-28T19:24:40.746Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.448s coverage: 81.8% of statements [2023-07-28T19:24:41.333Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-07-28T19:24:41.333Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-07-28T19:24:41.912Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.504s coverage: 82.1% of statements [2023-07-28T19:24:41.912Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.243s coverage: 86.0% of statements [2023-07-28T19:24:48.741Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-07-28T19:24:48.741Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-07-28T19:24:48.741Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.015s coverage: 63.1% of statements [2023-07-28T19:24:48.741Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.237s coverage: 100.0% of statements [2023-07-28T19:24:50.201Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.123s coverage: 89.4% of statements [2023-07-28T19:24:50.201Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.093s coverage: 100.0% of statements [2023-07-28T19:24:50.201Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.102s coverage: 73.7% of statements [2023-07-28T19:24:50.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-07-28T19:24:50.803Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-07-28T19:24:51.070Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.083s coverage: 100.0% of statements [2023-07-28T19:24:59.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-07-28T19:24:59.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-07-28T19:24:59.263Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-07-28T19:24:59.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.998s coverage: 38.4% of statements [2023-07-28T19:24:59.263Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.253s coverage: 89.5% of statements [2023-07-28T19:25:03.515Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-07-28T19:25:03.515Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-07-28T19:25:03.515Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-07-28T19:25:03.515Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.223s coverage: 84.8% of statements [2023-07-28T19:25:10.143Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-07-28T19:25:10.143Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-07-28T19:25:10.143Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-07-28T19:25:10.143Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-07-28T19:25:16.789Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.289s coverage: 17.7% of statements [2023-07-28T19:25:16.789Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-07-28T19:25:16.789Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:25:16.789Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-07-28T19:25:16.789Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.546s coverage: 92.3% of statements [2023-07-28T19:25:20.129Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-07-28T19:25:20.129Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-07-28T19:25:20.129Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.297s coverage: 61.8% of statements [2023-07-28T19:25:22.209Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-07-28T19:25:22.209Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-07-28T19:25:22.550Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.384s coverage: 97.7% of statements [2023-07-28T19:25:22.551Z] FAIL [2023-07-28T19:25:23.508Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-07-28T19:25:23.553Z] $ docker stop --time=1 de70cd0fb610ab4646049353ac27b5f478b52e3d49868eae2faca26da9785183 [2023-07-28T19:25:26.599Z] $ docker rm -f --volumes de70cd0fb610ab4646049353ac27b5f478b52e3d49868eae2faca26da9785183 [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 [2023-07-28T19:25:28.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T19:25:28.465Z] [2023-07-28T19:25:28.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:25:28.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T19:25:29.128Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-28T19:25:29.128Z] 8998bd30e6a1: Pulling fs layer [2023-07-28T19:25:29.128Z] 04944245beec: Pulling fs layer [2023-07-28T19:25:29.128Z] 699f458cf7ca: Pulling fs layer [2023-07-28T19:25:29.128Z] 765212b225bb: Pulling fs layer [2023-07-28T19:25:29.128Z] f23df028b6ca: Pulling fs layer [2023-07-28T19:25:29.128Z] d65c8cfc05b1: Pulling fs layer [2023-07-28T19:25:29.128Z] 2437ff75d9bd: Pulling fs layer [2023-07-28T19:25:29.128Z] f23df028b6ca: Waiting [2023-07-28T19:25:29.128Z] d65c8cfc05b1: Waiting [2023-07-28T19:25:29.128Z] 2437ff75d9bd: Waiting [2023-07-28T19:25:29.128Z] 765212b225bb: Waiting [2023-07-28T19:25:29.128Z] 04944245beec: Verifying Checksum [2023-07-28T19:25:29.128Z] 04944245beec: Download complete [2023-07-28T19:25:29.128Z] 765212b225bb: Verifying Checksum [2023-07-28T19:25:29.128Z] 765212b225bb: Download complete [2023-07-28T19:25:29.128Z] f23df028b6ca: Verifying Checksum [2023-07-28T19:25:29.128Z] f23df028b6ca: Download complete [2023-07-28T19:25:29.396Z] d65c8cfc05b1: Verifying Checksum [2023-07-28T19:25:29.396Z] d65c8cfc05b1: Download complete [2023-07-28T19:25:29.396Z] 699f458cf7ca: Verifying Checksum [2023-07-28T19:25:29.396Z] 699f458cf7ca: Download complete [2023-07-28T19:25:29.663Z] 8998bd30e6a1: Verifying Checksum [2023-07-28T19:25:29.663Z] 8998bd30e6a1: Download complete [2023-07-28T19:25:32.235Z] 2437ff75d9bd: Verifying Checksum [2023-07-28T19:25:32.235Z] 2437ff75d9bd: Download complete [2023-07-28T19:25:33.640Z] 8998bd30e6a1: Pull complete [2023-07-28T19:25:33.916Z] 04944245beec: Pull complete [2023-07-28T19:25:35.319Z] 699f458cf7ca: Pull complete [2023-07-28T19:25:35.585Z] 765212b225bb: Pull complete [2023-07-28T19:25:36.166Z] f23df028b6ca: Pull complete [2023-07-28T19:25:36.433Z] d65c8cfc05b1: Pull complete [2023-07-28T19:25:51.414Z] 2437ff75d9bd: Pull complete [2023-07-28T19:25:51.415Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-28T19:25:51.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T19:25:51.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:25:51.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-2459 does not seem to be running inside a container [2023-07-28T19:25:51.810Z] $ 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 [2023-07-28T19:25:54.233Z] $ docker top 281acee8b77180aa5e87c204baddd2840108857dfb2c847bb29c0d6cde94ffe9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:25:55.161Z] ---> job-cost.sh [2023-07-28T19:25:55.161Z] lf-activate-venv: SKIPPING [2023-07-28T19:25:55.161Z] INFO: No Stack... [2023-07-28T19:25:55.427Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-28T19:25:56.379Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T19:25:56.711Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2023-07-28T19:25:56.711Z] + cut -d, -f6 [Pipeline] lock [2023-07-28T19:25:57.051Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4620-1-stack-cost] [2023-07-28T19:25:57.056Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4620-1-stack-cost] did not exist. Created. [2023-07-28T19:25:57.056Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T19:25:57.473Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-28T19:25:58.045Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T19:25:58.060Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4620-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T19:25:58.155Z] $ docker stop --time=1 281acee8b77180aa5e87c204baddd2840108857dfb2c847bb29c0d6cde94ffe9 [2023-07-28T19:25:59.652Z] $ docker rm -f --volumes 281acee8b77180aa5e87c204baddd2840108857dfb2c847bb29c0d6cde94ffe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T19:26:00.326Z] 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 [2023-07-28T19:26:01.862Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:02.200Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:03.084Z] ---> package-listing.sh [2023-07-28T19:26:03.084Z] ++ facter osfamily [2023-07-28T19:26:03.084Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-28T19:26:03.344Z] + OS_FAMILY=debian [2023-07-28T19:26:03.344Z] + workspace=/w/workspace/edgex-go/1 [2023-07-28T19:26:03.344Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-28T19:26:03.344Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-28T19:26:03.344Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-28T19:26:03.344Z] + PACKAGES=/tmp/packages_start.txt [2023-07-28T19:26:03.344Z] + '[' /w/workspace/edgex-go/1 ']' [2023-07-28T19:26:03.344Z] + PACKAGES=/tmp/packages_end.txt [2023-07-28T19:26:03.344Z] + case "${OS_FAMILY}" in [2023-07-28T19:26:03.344Z] + dpkg -l [2023-07-28T19:26:03.344Z] + grep '^ii' [2023-07-28T19:26:03.344Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-28T19:26:03.344Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-28T19:26:03.344Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-28T19:26:03.344Z] + '[' /w/workspace/edgex-go/1 ']' [2023-07-28T19:26:03.344Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-07-28T19:26:03.344Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-07-28T19:26:03.374Z] 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 [2023-07-28T19:26:03.668Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:26:04.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T19:26:04.285Z] [2023-07-28T19:26:04.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T19:26:04.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T19:26:04.644Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-28T19:26:04.644Z] 5eb5b503b376: Pulling fs layer [2023-07-28T19:26:04.644Z] 5c69ac0246d0: Pulling fs layer [2023-07-28T19:26:04.644Z] ec43610c2a17: Pulling fs layer [2023-07-28T19:26:04.644Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-28T19:26:04.644Z] 33b1e0a273af: Pulling fs layer [2023-07-28T19:26:04.644Z] 5d3b04190fa2: Pulling fs layer [2023-07-28T19:26:04.644Z] 2f39f015ded8: Pulling fs layer [2023-07-28T19:26:04.644Z] 33b1e0a273af: Waiting [2023-07-28T19:26:04.644Z] 5d3b04190fa2: Waiting [2023-07-28T19:26:04.644Z] 3a2ae6a8a46f: Waiting [2023-07-28T19:26:04.644Z] 2f39f015ded8: Waiting [2023-07-28T19:26:04.644Z] 5c69ac0246d0: Verifying Checksum [2023-07-28T19:26:04.644Z] 5c69ac0246d0: Download complete [2023-07-28T19:26:04.644Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-28T19:26:04.644Z] 3a2ae6a8a46f: Download complete [2023-07-28T19:26:04.644Z] 33b1e0a273af: Verifying Checksum [2023-07-28T19:26:04.644Z] 33b1e0a273af: Download complete [2023-07-28T19:26:04.644Z] 5d3b04190fa2: Download complete [2023-07-28T19:26:04.904Z] ec43610c2a17: Verifying Checksum [2023-07-28T19:26:04.904Z] ec43610c2a17: Download complete [2023-07-28T19:26:04.904Z] 5eb5b503b376: Verifying Checksum [2023-07-28T19:26:04.904Z] 5eb5b503b376: Download complete [2023-07-28T19:26:05.471Z] 2f39f015ded8: Download complete [2023-07-28T19:26:06.037Z] 5eb5b503b376: Pull complete [2023-07-28T19:26:06.297Z] 5c69ac0246d0: Pull complete [2023-07-28T19:26:06.865Z] ec43610c2a17: Pull complete [2023-07-28T19:26:06.865Z] 3a2ae6a8a46f: Pull complete [2023-07-28T19:26:07.124Z] 33b1e0a273af: Pull complete [2023-07-28T19:26:07.124Z] 5d3b04190fa2: Pull complete [2023-07-28T19:26:11.312Z] 2f39f015ded8: Pull complete [2023-07-28T19:26:11.312Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-28T19:26:11.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T19:26:11.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T19:26:11.528Z] prd-ubuntu20.04-docker-8c-8g-2458 does not seem to be running inside a container [2023-07-28T19:26:11.560Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-28T19:26:14.850Z] $ docker top 4b566d16020ed000c0b4529c0c06dd64e5bb8b7282dd3660caa201f26fcbf3de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T19:26:15.234Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-28T19:26:15.548Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-28T19:26:15.861Z] + ls /var/log/sa-host [2023-07-28T19:26:15.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T19:26:16.072Z] provisioning config files... [2023-07-28T19:26:16.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config5403256573944196805tmp [Pipeline] { [Pipeline] echo [2023-07-28T19:26:16.124Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:16.436Z] ---> create-netrc.sh [Pipeline] } [2023-07-28T19:26:16.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:16.854Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-28T19:26:16.885Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:17.192Z] ---> sudo-logs.sh [2023-07-28T19:26:17.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-28T19:26:17.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:17.576Z] ---> job-cost.sh [2023-07-28T19:26:17.576Z] lf-activate-venv: SKIPPING [2023-07-28T19:26:17.576Z] DEBUG: total: 0.10999999940395355 [2023-07-28T19:26:17.576Z] INFO: Retrieving Stack Cost... [2023-07-28T19:26:17.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T19:26:18.406Z] INFO: Archiving Costs [Pipeline] echo [2023-07-28T19:26:18.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T19:26:18.758Z] ---> logs-deploy.sh [2023-07-28T19:26:18.758Z] lf-activate-venv: SKIPPING [2023-07-28T19:26:18.758Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4620/1 [2023-07-28T19:26:18.758Z] INFO: archiving workspace using pattern(s): [2023-07-28T19:26:19.696Z] Archives upload complete. [2023-07-28T19:26:19.696Z] INFO: archiving logs to Nexus