Pull request #4619 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c38222df94bef41b29198568b9805e7744b2f90f+e9743d574695eaaacfb4360752d68f7ca76ed8b2 (920d2d5176cf5b07ce4b28d738f7661d48845d4a) 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-ssh332154450502903151.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-ssh87364936380956474.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-4619/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-4619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4884440496880316143.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-4619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11691445523277497564.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-ssh9570022531281688522.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-4619/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-4619/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3584527790964754114.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-2129 in /w/workspace/edgexfoundry_edgex-go_PR-4619 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit c38222df94bef41b29198568b9805e7744b2f90f Merge succeeded, producing c38222df94bef41b29198568b9805e7744b2f90f Checking out Revision c38222df94bef41b29198568b9805e7744b2f90f (PR-4619) 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] { > 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/4619/head:refs/remotes/origin/PR-4619 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c38222df94bef41b29198568b9805e7744b2f90f # 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 c38222df94bef41b29198568b9805e7744b2f90f # timeout=10 [Pipeline] timeout [2023-07-25T19:49:25.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-25T19:49:25.647Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-25T19:49:25.757Z] ========================================================= [2023-07-25T19:49:25.758Z] EdgeX Global Pipelines Version Info [2023-07-25T19:49:25.758Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-25T19:49:26.518Z] ------------------- [2023-07-25T19:49:26.518Z] stable info: [2023-07-25T19:49:26.518Z] ------------------- [2023-07-25T19:49:26.518Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-25T19:49:26.518Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T19:49:26.518Z] Message: update stable to v1.0.250 [2023-07-25T19:49:27.086Z] ------------------- [2023-07-25T19:49:27.087Z] experimental info: [2023-07-25T19:49:27.087Z] ------------------- [2023-07-25T19:49:27.087Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-25T19:49:27.087Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T19:49:27.087Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-25T19:49:27.340Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2023-07-25T19:49:27.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2023-07-25T19:49:27.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-25T19:49:27.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-25T19:49:27.498Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-25T19:49:27.536Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-25T19:49:27.577Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-25T19:49:27.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2023-07-25T19:49:27.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2023-07-25T19:49:27.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2023-07-25T19:49:27.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-25T19:49:27.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-25T19:49:27.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-25T19:49:27.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-25T19:49:27.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-25T19:49:27.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T19:49:28.004Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T19:49:28.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-25T19:49:28.085Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-25T19:49:28.131Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-25T19:49:28.170Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-25T19:49:28.209Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-25T19:49:28.248Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-25T19:49:28.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4619 [Pipeline] echo [2023-07-25T19:49:28.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4619 [Pipeline] echo [2023-07-25T19:49:28.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4619 [Pipeline] echo [2023-07-25T19:49:28.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c38222df94bef41b29198568b9805e7744b2f90f [Pipeline] echo [2023-07-25T19:49:28.463Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c38222d [Pipeline] echo [2023-07-25T19:49:28.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T19:49:28.624Z] provisioning config files... [2023-07-25T19:49:28.640Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config15421010729526734969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T19:49:29.006Z] ---> docker-login.sh [2023-07-25T19:49:29.006Z] nexus3.edgexfoundry.org:10001 [2023-07-25T19:49:29.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:49:29.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:49:29.266Z] Configure a credential helper to remove this warning. See [2023-07-25T19:49:29.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:49:29.266Z] [2023-07-25T19:49:29.266Z] Login Succeeded [2023-07-25T19:49:29.266Z] nexus3.edgexfoundry.org:10002 [2023-07-25T19:49:29.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:49:29.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:49:29.529Z] Configure a credential helper to remove this warning. See [2023-07-25T19:49:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:49:29.529Z] [2023-07-25T19:49:29.529Z] Login Succeeded [2023-07-25T19:49:29.529Z] nexus3.edgexfoundry.org:10003 [2023-07-25T19:49:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:49:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:49:29.529Z] Configure a credential helper to remove this warning. See [2023-07-25T19:49:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:49:29.529Z] [2023-07-25T19:49:29.529Z] Login Succeeded [2023-07-25T19:49:29.529Z] nexus3.edgexfoundry.org:10004 [2023-07-25T19:49:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:49:29.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:49:29.789Z] Configure a credential helper to remove this warning. See [2023-07-25T19:49:29.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:49:29.789Z] [2023-07-25T19:49:29.789Z] Login Succeeded [2023-07-25T19:49:29.789Z] docker.io [2023-07-25T19:49:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:49:30.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:49:30.049Z] Configure a credential helper to remove this warning. See [2023-07-25T19:49:30.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:49:30.049Z] [2023-07-25T19:49:30.049Z] Login Succeeded [2023-07-25T19:49:30.049Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T19:49:30.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-25T19:49:30.522Z] + 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-25T19:49:30.522Z] + dirname cmd/core-command/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo core-command,cmd/core-command/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/core-common-config-bootstrapper/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/core-data/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo core-data,cmd/core-data/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/core-metadata/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2023-07-25T19:49:30.522Z] + + dirname cmd/security-bootstrapper/Dockerfile [2023-07-25T19:49:30.522Z] cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/security-proxy-auth/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/security-proxy-setup/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + dirname cmd/security-secretstore-setup/Dockerfile [2023-07-25T19:49:30.522Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2023-07-25T19:49:30.522Z] + dirname+ cmd/security-spiffe-token-provider/Dockerfile [2023-07-25T19:49:30.522Z] cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/security-spire-agent/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-spire-agent,cmd/security-spire-agent/Dockerfile [2023-07-25T19:49:30.522Z] + + dirname cmd/security-spire-config/Dockerfile [2023-07-25T19:49:30.522Z] cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-spire-config,cmd/security-spire-config/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/security-spire-server/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo security-spire-server,cmd/security-spire-server/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/support-notifications/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2023-07-25T19:49:30.522Z] + dirname cmd/support-scheduler/Dockerfile [2023-07-25T19:49:30.522Z] + cut -d/ -f2 [2023-07-25T19:49:30.522Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo [2023-07-25T19:49:30.618Z] 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-25T19:49:31.128Z] + git rev-list -1 --merges c38222df94bef41b29198568b9805e7744b2f90f~1..c38222df94bef41b29198568b9805e7744b2f90f [Pipeline] echo [2023-07-25T19:49:31.161Z] -----------> git rev-list -1 --merges c38222df94bef41b29198568b9805e7744b2f90f~1..c38222df94bef41b29198568b9805e7744b2f90f c38222df94bef41b29198568b9805e7744b2f90f [false] [Pipeline] sh [2023-07-25T19:49:31.472Z] + git log --format=format:%s -1 c38222df94bef41b29198568b9805e7744b2f90f [Pipeline] echo [2023-07-25T19:49:31.509Z] ========================================================= [2023-07-25T19:49:31.509Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-25T19:49:31.509Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-25T19:49:32.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-25T19:49:32.026Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-25T19:49:32.026Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-25T19:49:32.026Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-25T19:49:32.026Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-25T19:49:32.026Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-25T19:49:32.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:49:32.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T19:49:32.523Z] [2023-07-25T19:49:32.523Z] 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-25T19:49:32.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T19:49:32.904Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-25T19:49:32.904Z] b85a868b505f: Pulling fs layer [2023-07-25T19:49:32.904Z] e2be974225ed: Pulling fs layer [2023-07-25T19:49:32.904Z] 339a4e72a1f5: Pulling fs layer [2023-07-25T19:49:32.904Z] 988bab9f4d93: Pulling fs layer [2023-07-25T19:49:32.904Z] 1469e6f7b9e6: Pulling fs layer [2023-07-25T19:49:32.904Z] eaf3925da568: Pulling fs layer [2023-07-25T19:49:32.904Z] bab4dde63d76: Pulling fs layer [2023-07-25T19:49:32.904Z] bde34c3a00c8: Pulling fs layer [2023-07-25T19:49:32.904Z] b352a97aabf1: Pulling fs layer [2023-07-25T19:49:32.904Z] 4872d77fe225: Pulling fs layer [2023-07-25T19:49:32.904Z] 5851b861e8e6: Pulling fs layer [2023-07-25T19:49:32.904Z] 988bab9f4d93: Waiting [2023-07-25T19:49:32.904Z] 1469e6f7b9e6: Waiting [2023-07-25T19:49:32.904Z] eaf3925da568: Waiting [2023-07-25T19:49:32.904Z] bab4dde63d76: Waiting [2023-07-25T19:49:32.904Z] bde34c3a00c8: Waiting [2023-07-25T19:49:32.904Z] 5851b861e8e6: Waiting [2023-07-25T19:49:32.904Z] b352a97aabf1: Waiting [2023-07-25T19:49:32.904Z] 4872d77fe225: Waiting [2023-07-25T19:49:32.904Z] e2be974225ed: Retrying in 5 seconds [2023-07-25T19:49:32.904Z] 339a4e72a1f5: Verifying Checksum [2023-07-25T19:49:32.904Z] 339a4e72a1f5: Download complete [2023-07-25T19:49:33.163Z] 988bab9f4d93: Download complete [2023-07-25T19:49:33.163Z] 1469e6f7b9e6: Verifying Checksum [2023-07-25T19:49:33.163Z] 1469e6f7b9e6: Download complete [2023-07-25T19:49:33.163Z] eaf3925da568: Download complete [2023-07-25T19:49:33.163Z] b85a868b505f: Download complete [2023-07-25T19:49:33.163Z] bde34c3a00c8: Verifying Checksum [2023-07-25T19:49:33.163Z] bde34c3a00c8: Download complete [2023-07-25T19:49:33.163Z] b352a97aabf1: Verifying Checksum [2023-07-25T19:49:33.163Z] b352a97aabf1: Download complete [2023-07-25T19:49:33.163Z] 4872d77fe225: Verifying Checksum [2023-07-25T19:49:33.163Z] 4872d77fe225: Download complete [2023-07-25T19:49:33.163Z] 5851b861e8e6: Download complete [2023-07-25T19:49:33.422Z] bab4dde63d76: Verifying Checksum [2023-07-25T19:49:33.422Z] bab4dde63d76: Download complete [2023-07-25T19:49:33.990Z] e2be974225ed: Retrying in 4 seconds [2023-07-25T19:49:34.248Z] b85a868b505f: Pull complete [2023-07-25T19:49:34.819Z] e2be974225ed: Retrying in 3 seconds [2023-07-25T19:49:36.200Z] e2be974225ed: Retrying in 2 seconds [2023-07-25T19:49:37.138Z] e2be974225ed: Retrying in 1 second [2023-07-25T19:49:38.076Z] e2be974225ed: Retrying in 10 seconds [2023-07-25T19:49:39.017Z] e2be974225ed: Retrying in 9 seconds [2023-07-25T19:49:39.957Z] e2be974225ed: Retrying in 8 seconds [2023-07-25T19:49:40.908Z] e2be974225ed: Retrying in 7 seconds [2023-07-25T19:49:41.846Z] e2be974225ed: Retrying in 6 seconds [2023-07-25T19:49:43.230Z] e2be974225ed: Retrying in 5 seconds [2023-07-25T19:49:44.169Z] e2be974225ed: Retrying in 4 seconds [2023-07-25T19:49:45.107Z] e2be974225ed: Retrying in 3 seconds [2023-07-25T19:49:46.048Z] e2be974225ed: Retrying in 2 seconds [2023-07-25T19:49:46.990Z] e2be974225ed: Retrying in 1 second [2023-07-25T19:49:47.930Z] e2be974225ed: Verifying Checksum [2023-07-25T19:49:47.930Z] e2be974225ed: Download complete [2023-07-25T19:49:48.191Z] e2be974225ed: Pull complete [2023-07-25T19:49:48.761Z] 339a4e72a1f5: Pull complete [2023-07-25T19:49:48.761Z] 988bab9f4d93: Pull complete [2023-07-25T19:49:49.019Z] 1469e6f7b9e6: Pull complete [2023-07-25T19:49:49.019Z] eaf3925da568: Pull complete [2023-07-25T19:49:50.924Z] bab4dde63d76: Pull complete [2023-07-25T19:49:50.924Z] bde34c3a00c8: Pull complete [2023-07-25T19:49:51.182Z] b352a97aabf1: Pull complete [2023-07-25T19:49:51.182Z] 4872d77fe225: Pull complete [2023-07-25T19:49:51.441Z] 5851b861e8e6: Pull complete [2023-07-25T19:49:51.441Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-25T19:49:51.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T19:49:51.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:49:51.665Z] prd-ubuntu20.04-docker-8c-8g-2129 does not seem to be running inside a container [2023-07-25T19:49:51.691Z] $ 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-25T19:49:53.960Z] $ docker top 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c -eo pid,comm [2023-07-25T19:49:54.044Z] 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-25T19:49:54.044Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-25T19:49:54.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T19:49:54.169Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T19:49:54.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T19:49:54.293Z] $ docker exec 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c ssh-agent [2023-07-25T19:49:54.415Z] SSH_AUTH_SOCK=/tmp/ssh-8wrJutd3ZJJs/agent.32 [2023-07-25T19:49:54.415Z] SSH_AGENT_PID=38 [2023-07-25T19:49:54.425Z] Running ssh-add (command line suppressed) [2023-07-25T19:49:54.528Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2498472516650068063.key (/w/workspace/edgex-go/1@tmp/private_key_2498472516650068063.key) [2023-07-25T19:49:54.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T19:49:54.883Z] + git tag --points-at HEAD [Pipeline] } [2023-07-25T19:49:54.907Z] $ docker exec --env ******** --env ******** 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c ssh-agent -k [2023-07-25T19:49:55.018Z] unset SSH_AUTH_SOCK; [2023-07-25T19:49:55.018Z] unset SSH_AGENT_PID; [2023-07-25T19:49:55.018Z] echo Agent pid 38 killed; [2023-07-25T19:49:55.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-25T19:49:55.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T19:49:55.120Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T19:49:55.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T19:49:55.240Z] $ docker exec 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c ssh-agent [2023-07-25T19:49:55.353Z] SSH_AUTH_SOCK=/tmp/ssh-2hq7m6YZTFTr/agent.70 [2023-07-25T19:49:55.353Z] SSH_AGENT_PID=76 [2023-07-25T19:49:55.358Z] Running ssh-add (command line suppressed) [2023-07-25T19:49:55.451Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_233978410138417025.key (/w/workspace/edgex-go/1@tmp/private_key_233978410138417025.key) [2023-07-25T19:49:55.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T19:49:55.804Z] + git semver init [2023-07-25T19:49:56.064Z] 2023-07-25 19:49:55,965 [run_init] DEBUG init version:0.0.0 force:False [2023-07-25T19:49:56.064Z] 2023-07-25 19:49:55,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver [2023-07-25T19:49:56.064Z] 2023-07-25 19:49:55,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver [2023-07-25T19:49:56.064Z] 2023-07-25 19:49:55,966 [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-25T19:50:01.340Z] 2023-07-25 19:50:00,966 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,967 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4619 with force:False [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,967 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4619 [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,972 [execute] INFO git cat-file --batch-check [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,979 [execute] INFO git cat-file --batch [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) [2023-07-25T19:50:01.340Z] 2023-07-25 19:50:00,985 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4619 [2023-07-25T19:50:01.340Z] 0.0.0 [Pipeline] } [2023-07-25T19:50:01.382Z] $ docker exec --env ******** --env ******** 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c ssh-agent -k [2023-07-25T19:50:01.487Z] unset SSH_AUTH_SOCK; [2023-07-25T19:50:01.487Z] unset SSH_AGENT_PID; [2023-07-25T19:50:01.487Z] echo Agent pid 76 killed; [2023-07-25T19:50:01.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-25T19:50:01.915Z] + git semver [Pipeline] } [2023-07-25T19:50:02.197Z] $ docker stop --time=1 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c [2023-07-25T19:50:03.488Z] $ docker rm -f --volumes 8f358d2b8440d221945d1efb419e291a4ecf2795a1b66965426381787188aa1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T19:50:03.888Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-25T19:50:04.161Z] Stashed 1 file(s) [Pipeline] echo [2023-07-25T19:50:04.179Z] [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-25T19:50:04.963Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-07-25T19:50:05.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T19:50:05.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T19:50:05.088Z] ========================================================= [2023-07-25T19:50:05.088Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-25T19:50:05.088Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:50:05.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T19:50:05.435Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-25T19:50:05.435Z] 4db1b89c0bd1: Pulling fs layer [2023-07-25T19:50:05.435Z] 6911f1a30b25: Pulling fs layer [2023-07-25T19:50:05.435Z] e194b8c5c2a9: Pulling fs layer [2023-07-25T19:50:05.435Z] 6863d3e3a2b1: Pulling fs layer [2023-07-25T19:50:05.435Z] ec0bb842ea78: Pulling fs layer [2023-07-25T19:50:05.435Z] 6863d3e3a2b1: Waiting [2023-07-25T19:50:05.435Z] 40a00589a448: Pulling fs layer [2023-07-25T19:50:05.435Z] ec0bb842ea78: Waiting [2023-07-25T19:50:05.435Z] 6c08303d61cc: Pulling fs layer [2023-07-25T19:50:05.435Z] 798269fcf238: Pulling fs layer [2023-07-25T19:50:05.435Z] 798269fcf238: Waiting [2023-07-25T19:50:05.435Z] 6c08303d61cc: Waiting [2023-07-25T19:50:05.435Z] 40a00589a448: Waiting [2023-07-25T19:50:05.435Z] 6911f1a30b25: Verifying Checksum [2023-07-25T19:50:05.435Z] 6911f1a30b25: Download complete [2023-07-25T19:50:05.435Z] 6863d3e3a2b1: Verifying Checksum [2023-07-25T19:50:05.435Z] 6863d3e3a2b1: Download complete [2023-07-25T19:50:05.435Z] ec0bb842ea78: Download complete [2023-07-25T19:50:05.435Z] 4db1b89c0bd1: Verifying Checksum [2023-07-25T19:50:05.435Z] 4db1b89c0bd1: Download complete [2023-07-25T19:50:05.435Z] 40a00589a448: Verifying Checksum [2023-07-25T19:50:05.435Z] 40a00589a448: Download complete [2023-07-25T19:50:05.694Z] 4db1b89c0bd1: Pull complete [2023-07-25T19:50:05.694Z] 6911f1a30b25: Pull complete [2023-07-25T19:50:05.952Z] 798269fcf238: Verifying Checksum [2023-07-25T19:50:05.952Z] 798269fcf238: Download complete [2023-07-25T19:50:06.211Z] e194b8c5c2a9: Verifying Checksum [2023-07-25T19:50:06.211Z] e194b8c5c2a9: Download complete [2023-07-25T19:50:06.211Z] 6c08303d61cc: Verifying Checksum [2023-07-25T19:50:06.211Z] 6c08303d61cc: Download complete [2023-07-25T19:50:10.397Z] e194b8c5c2a9: Pull complete [2023-07-25T19:50:10.397Z] 6863d3e3a2b1: Pull complete [2023-07-25T19:50:10.397Z] ec0bb842ea78: Pull complete [2023-07-25T19:50:10.397Z] 40a00589a448: Pull complete [2023-07-25T19:50:12.297Z] 6c08303d61cc: Pull complete [2023-07-25T19:50:13.237Z] 798269fcf238: Pull complete [2023-07-25T19:50:13.237Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-25T19:50:13.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T19:50:13.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:50:13.599Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T19:50:13.599Z] WORKDIR /edgex [2023-07-25T19:50:13.599Z] COPY go.mod . [2023-07-25T19:50:13.599Z] RUN go mod download [2023-07-25T19:50:13.599Z] + docker build -t ci-base-image-x86_64 -f - . [2023-07-25T19:50:14.172Z] Sending build context to Docker daemon 170.7MB [2023-07-25T19:50:14.172Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T19:50:14.172Z] ---> ec979cd7f677 [2023-07-25T19:50:14.172Z] Step 2/4 : WORKDIR /edgex [2023-07-25T19:50:19.453Z] ---> Running in 6e68733af5f2 [2023-07-25T19:50:19.453Z] Removing intermediate container 6e68733af5f2 [2023-07-25T19:50:19.453Z] ---> 915efc9acd13 [2023-07-25T19:50:19.453Z] Step 3/4 : COPY go.mod . [2023-07-25T19:50:19.453Z] ---> 7eea5f63bff0 [2023-07-25T19:50:19.453Z] Step 4/4 : RUN go mod download [2023-07-25T19:50:19.453Z] ---> Running in eee04db0acbc [2023-07-25T19:50:19.485Z] Still waiting to schedule task [2023-07-25T19:50:19.485Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-25T19:50:37.544Z] Removing intermediate container eee04db0acbc [2023-07-25T19:50:37.545Z] ---> 09bd087d5867 [2023-07-25T19:50:37.545Z] Successfully built 09bd087d5867 [2023-07-25T19:50:37.545Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:50:37.920Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T19:50:37.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:50:38.067Z] prd-ubuntu20.04-docker-8c-8g-2129 does not seem to be running inside a container [2023-07-25T19:50:38.094Z] $ 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-25T19:50:38.538Z] $ docker top 74569c9288a11e6b22ee2a49cd2e250751a79a18efd684bda28a8c60b720acfd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T19:50:38.945Z] + go version [2023-07-25T19:50:38.945Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-25T19:50:38.976Z] $ docker stop --time=1 74569c9288a11e6b22ee2a49cd2e250751a79a18efd684bda28a8c60b720acfd [2023-07-25T19:50:40.254Z] $ docker rm -f --volumes 74569c9288a11e6b22ee2a49cd2e250751a79a18efd684bda28a8c60b720acfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:50:40.946Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T19:50:40.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:50:41.086Z] prd-ubuntu20.04-docker-8c-8g-2129 does not seem to be running inside a container [2023-07-25T19:50:41.178Z] $ 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-25T19:50:41.500Z] $ docker top c855dfea16c22d552e0a5600d81863c7bc2cb451f01baf2f8f910c66583589f9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-25T19:50:41.635Z] ========================================================= [2023-07-25T19:50:41.635Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-07-25T19:50:41.635Z] ========================================================= [Pipeline] sh [2023-07-25T19:50:41.955Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:50:42.309Z] + make test [2023-07-25T19:50:42.309Z] go test -race -coverprofile=coverage.out ./... [2023-07-25T19:50:50.426Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/core/command [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] internal/core/command/router.go:40:53: too many errors [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] internal/core/data/router.go:41:42: too many errors [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] internal/core/metadata/router.go:44:55: too many errors [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/security/proxyauth [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] internal/support/scheduler/router.go:36:46: too many errors [2023-07-25T19:51:02.638Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications [2023-07-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] 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-25T19:51:02.638Z] internal/support/notifications/router.go:36:54: too many errors [2023-07-25T19:51:02.638Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-07-25T19:51:03.211Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-07-25T19:51:03.211Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-07-25T19:51:03.211Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.044s coverage: 28.7% of statements [2023-07-25T19:51:04.587Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-07-25T19:51:04.587Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-07-25T19:51:04.587Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.083s coverage: 98.5% of statements [2023-07-25T19:51:04.587Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-07-25T19:51:04.587Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-07-25T19:51:05.961Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-07-25T19:51:05.961Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-07-25T19:51:05.961Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:51:05.961Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-07-25T19:51:07.336Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-07-25T19:51:07.336Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-07-25T19:51:07.595Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.113s coverage: 71.5% of statements [2023-07-25T19:51:07.595Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.087s coverage: 54.0% of statements [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-07-25T19:51:08.164Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-07-25T19:51:08.729Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.972s coverage: 88.5% of statements [2023-07-25T19:51:08.729Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.072s coverage: 3.8% of statements [2023-07-25T19:51:08.729Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.356s coverage: 95.6% of statements [2023-07-25T19:51:08.729Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.050s coverage: 72.2% of statements [2023-07-25T19:51:10.103Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-07-25T19:51:10.103Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.091s coverage: 0.9% of statements [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.065s coverage: 31.9% of statements [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.072s coverage: 42.9% of statements [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.042s coverage: 82.9% of statements [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.062s coverage: 94.1% of statements [2023-07-25T19:51:10.103Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.090s coverage: 96.3% of statements [2023-07-25T19:51:11.039Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.060s coverage: 87.5% of statements [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-07-25T19:51:11.608Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-07-25T19:51:12.983Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-07-25T19:51:12.983Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-07-25T19:51:12.983Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-07-25T19:51:12.983Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-07-25T19:51:13.548Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-07-25T19:51:13.548Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-07-25T19:51:13.806Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-07-25T19:51:14.742Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-07-25T19:51:15.308Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-07-25T19:51:16.249Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-07-25T19:51:16.249Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-07-25T19:51:18.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-07-25T19:51:18.163Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-07-25T19:51:19.539Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-07-25T19:51:19.539Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-07-25T19:51:19.539Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-07-25T19:51:20.474Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-07-25T19:51:20.474Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-07-25T19:51:20.474Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-07-25T19:51:21.861Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-07-25T19:51:21.861Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-07-25T19:51:21.861Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-07-25T19:51:21.861Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-07-25T19:51:22.120Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.065s coverage: 94.4% of statements [2023-07-25T19:51:23.503Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-07-25T19:51:23.503Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:51:23.503Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-07-25T19:51:24.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-07-25T19:51:24.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-07-25T19:51:24.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-07-25T19:51:24.887Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.358s coverage: 79.9% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 18.075s coverage: 92.9% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.041s coverage: 64.4% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.069s coverage: 62.3% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.039s coverage: 20.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.101s coverage: 81.8% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.112s coverage: 82.1% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.065s coverage: 86.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.198s coverage: 63.1% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.062s coverage: 100.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.199s coverage: 38.4% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.072s coverage: 89.5% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.061s coverage: 84.8% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.070s coverage: 17.7% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.113s coverage: 92.3% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.060s coverage: 61.8% of statements [2023-07-25T19:51:34.903Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements [2023-07-25T19:51:34.903Z] FAIL [2023-07-25T19:51:34.903Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-07-25T19:51:34.943Z] $ docker stop --time=1 c855dfea16c22d552e0a5600d81863c7bc2cb451f01baf2f8f910c66583589f9 [2023-07-25T19:51:36.722Z] $ docker rm -f --volumes c855dfea16c22d552e0a5600d81863c7bc2cb451f01baf2f8f910c66583589f9 [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-25T19:51:37.700Z] Failed in branch amd64 [2023-07-25T19:52:09.292Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2130 in /w/workspace/edgexfoundry_edgex-go_PR-4619 [Pipeline] { [Pipeline] ws [2023-07-25T19:52:09.358Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2023-07-25T19:52:09.447Z] The recommended git tool is: git [2023-07-25T19:52:17.668Z] using credential edgex-jenkins-ssh [2023-07-25T19:52:17.682Z] Cloning the remote Git repository [2023-07-25T19:52:17.759Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2023-07-25T19:52:17.926Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2023-07-25T19:52:18.110Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-07-25T19:52:18.111Z] > git --version # timeout=10 [2023-07-25T19:52:18.135Z] > git --version # 'git version 2.25.1' [2023-07-25T19:52:18.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T19:52:18.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T19:52:34.913Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-07-25T19:52:34.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T19:52:35.711Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2023-07-25T19:52:35.748Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2023-07-25T19:52:35.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T19:52:35.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4619/head:refs/remotes/origin/PR-4619 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-25T19:52:36.404Z] Merging remotes/origin/main commit e9743d574695eaaacfb4360752d68f7ca76ed8b2 into PR head commit c38222df94bef41b29198568b9805e7744b2f90f [2023-07-25T19:52:36.805Z] Merge succeeded, producing c38222df94bef41b29198568b9805e7744b2f90f [2023-07-25T19:52:36.805Z] Checking out Revision c38222df94bef41b29198568b9805e7744b2f90f (PR-4619) [2023-07-25T19:52:37.418Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-07-25T19:52:37.465Z] > git --version # timeout=10 [2023-07-25T19:52:37.478Z] > git --version # 'git version 2.25.1' [2023-07-25T19:52:37.497Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T19:52:36.419Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T19:52:36.488Z] > git checkout -f c38222df94bef41b29198568b9805e7744b2f90f # timeout=10 [2023-07-25T19:52:36.708Z] > git remote # timeout=10 [2023-07-25T19:52:36.729Z] > git config --get remote.origin.url # timeout=10 [2023-07-25T19:52:36.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T19:52:36.760Z] > git merge e9743d574695eaaacfb4360752d68f7ca76ed8b2 # timeout=10 [2023-07-25T19:52:36.788Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-25T19:52:36.810Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T19:52:36.825Z] > git checkout -f c38222df94bef41b29198568b9805e7744b2f90f # timeout=10 [2023-07-25T19:52:38.733Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-25T19:52:38.733Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T19:52:38.733Z] Dload Upload Total Spent Left Speed [2023-07-25T19:52:38.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-07-25T19:52:39.444Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-25T19:52:39.791Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-07-25T19:52:39.791Z] [2023-07-25T19:52:40.757Z] { [2023-07-25T19:52:40.757Z] "registry-mirrors": [ [2023-07-25T19:52:40.757Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-25T19:52:40.757Z] ], [2023-07-25T19:52:40.757Z] "bip": "10.250.0.254/24", [2023-07-25T19:52:40.757Z] "hosts": [ [2023-07-25T19:52:40.757Z] "tcp://0.0.0.0:5555", [2023-07-25T19:52:40.757Z] "unix:///var/run/docker.sock" [2023-07-25T19:52:40.757Z] ], [2023-07-25T19:52:40.757Z] "mtu": 1458, [2023-07-25T19:52:40.757Z] "selinux-enabled": true, [2023-07-25T19:52:40.757Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-25T19:52:40.757Z] } [Pipeline] sh [2023-07-25T19:52:41.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-25T19:52:41.448Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T19:52:59.754Z] provisioning config files... [2023-07-25T19:52:59.779Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config15187009246212272249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T19:53:00.163Z] ---> docker-login.sh [2023-07-25T19:53:00.163Z] nexus3.edgexfoundry.org:10001 [2023-07-25T19:53:00.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:53:00.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:53:00.709Z] Configure a credential helper to remove this warning. See [2023-07-25T19:53:00.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:53:00.709Z] [2023-07-25T19:53:00.709Z] Login Succeeded [2023-07-25T19:53:00.709Z] nexus3.edgexfoundry.org:10002 [2023-07-25T19:53:00.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:53:01.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:53:01.249Z] Configure a credential helper to remove this warning. See [2023-07-25T19:53:01.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:53:01.249Z] [2023-07-25T19:53:01.249Z] Login Succeeded [2023-07-25T19:53:01.249Z] nexus3.edgexfoundry.org:10003 [2023-07-25T19:53:01.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:53:01.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:53:01.521Z] Configure a credential helper to remove this warning. See [2023-07-25T19:53:01.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:53:01.521Z] [2023-07-25T19:53:01.521Z] Login Succeeded [2023-07-25T19:53:01.521Z] nexus3.edgexfoundry.org:10004 [2023-07-25T19:53:01.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:53:01.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:53:01.790Z] Configure a credential helper to remove this warning. See [2023-07-25T19:53:01.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:53:01.790Z] [2023-07-25T19:53:01.790Z] Login Succeeded [2023-07-25T19:53:01.790Z] docker.io [2023-07-25T19:53:02.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T19:53:02.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T19:53:02.325Z] Configure a credential helper to remove this warning. See [2023-07-25T19:53:02.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T19:53:02.325Z] [2023-07-25T19:53:02.325Z] Login Succeeded [2023-07-25T19:53:02.325Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T19:53:02.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [2023-07-25T19:53:03.024Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo [2023-07-25T19:53:03.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T19:53:03.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T19:53:03.127Z] ========================================================= [2023-07-25T19:53:03.127Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-25T19:53:03.127Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:53:03.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T19:53:03.497Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-25T19:53:03.497Z] edb6bdbacee9: Pulling fs layer [2023-07-25T19:53:03.497Z] 5f9638ab2659: Pulling fs layer [2023-07-25T19:53:03.497Z] 8d51d6327a98: Pulling fs layer [2023-07-25T19:53:03.497Z] 8b374f2dd631: Pulling fs layer [2023-07-25T19:53:03.497Z] ec14aa9079de: Pulling fs layer [2023-07-25T19:53:03.497Z] 2f466654f4bb: Pulling fs layer [2023-07-25T19:53:03.497Z] 554e91adad29: Pulling fs layer [2023-07-25T19:53:03.497Z] 8b374f2dd631: Waiting [2023-07-25T19:53:03.497Z] ec14aa9079de: Waiting [2023-07-25T19:53:03.497Z] 2f466654f4bb: Waiting [2023-07-25T19:53:03.497Z] 554e91adad29: Waiting [2023-07-25T19:53:03.765Z] 5f9638ab2659: Verifying Checksum [2023-07-25T19:53:03.765Z] 5f9638ab2659: Download complete [2023-07-25T19:53:03.765Z] 8b374f2dd631: Verifying Checksum [2023-07-25T19:53:03.765Z] 8b374f2dd631: Download complete [2023-07-25T19:53:03.765Z] ec14aa9079de: Verifying Checksum [2023-07-25T19:53:03.765Z] ec14aa9079de: Download complete [2023-07-25T19:53:03.765Z] edb6bdbacee9: Verifying Checksum [2023-07-25T19:53:03.765Z] edb6bdbacee9: Download complete [2023-07-25T19:53:04.734Z] edb6bdbacee9: Pull complete [2023-07-25T19:53:05.004Z] 554e91adad29: Verifying Checksum [2023-07-25T19:53:05.004Z] 554e91adad29: Download complete [2023-07-25T19:53:06.124Z] 8d51d6327a98: Verifying Checksum [2023-07-25T19:53:06.124Z] 8d51d6327a98: Download complete [2023-07-25T19:53:06.392Z] 2f466654f4bb: Download complete [2023-07-25T19:53:07.797Z] 5f9638ab2659: Pull complete [2023-07-25T19:53:22.817Z] 8d51d6327a98: Pull complete [2023-07-25T19:53:22.817Z] 8b374f2dd631: Pull complete [2023-07-25T19:53:22.817Z] ec14aa9079de: Pull complete [2023-07-25T19:53:28.191Z] 2f466654f4bb: Pull complete [2023-07-25T19:53:30.793Z] 554e91adad29: Pull complete [2023-07-25T19:53:30.793Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-25T19:53:30.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T19:53:30.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:53:31.192Z] + docker build -t ci-base-image-arm64 -f - . [2023-07-25T19:53:31.192Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T19:53:31.192Z] WORKDIR /edgex [2023-07-25T19:53:31.192Z] COPY go.mod . [2023-07-25T19:53:31.192Z] RUN go mod download [2023-07-25T19:53:31.785Z] Sending build context to Docker daemon 2.941MB [2023-07-25T19:53:31.785Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T19:53:31.785Z] ---> 1e15ea492957 [2023-07-25T19:53:31.785Z] Step 2/4 : WORKDIR /edgex [2023-07-25T19:53:34.364Z] ---> Running in d5f46a2e9546 [2023-07-25T19:53:34.364Z] Removing intermediate container d5f46a2e9546 [2023-07-25T19:53:34.364Z] ---> b1b97ca8dedb [2023-07-25T19:53:34.364Z] Step 3/4 : COPY go.mod . [2023-07-25T19:53:34.948Z] ---> 02ce831df767 [2023-07-25T19:53:34.948Z] Step 4/4 : RUN go mod download [2023-07-25T19:53:34.948Z] ---> Running in d7c18228d34d [2023-07-25T19:54:13.874Z] Removing intermediate container d7c18228d34d [2023-07-25T19:54:13.874Z] ---> ebee3ded31f3 [2023-07-25T19:54:13.874Z] Successfully built ebee3ded31f3 [2023-07-25T19:54:13.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:54:14.288Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T19:54:14.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:54:14.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-2130 does not seem to be running inside a container [2023-07-25T19:54:14.630Z] $ 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-25T19:54:15.751Z] $ docker top c9821109c2d257aade3d699ea9e0d22f8aaa03f056449bf9162bf48e9db0804d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T19:54:16.620Z] + go version [2023-07-25T19:54:16.620Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-25T19:54:16.649Z] $ docker stop --time=1 c9821109c2d257aade3d699ea9e0d22f8aaa03f056449bf9162bf48e9db0804d [2023-07-25T19:54:18.224Z] $ docker rm -f --volumes c9821109c2d257aade3d699ea9e0d22f8aaa03f056449bf9162bf48e9db0804d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:54:19.045Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T19:54:19.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:54:19.295Z] prd-ubuntu20.04-docker-arm64-4c-16g-2130 does not seem to be running inside a container [2023-07-25T19:54:19.352Z] $ 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-25T19:54:20.465Z] $ docker top 90a00f8e77060fb0e9683ec54e2e0664bb612fb202c37b3644a68c4c84f6f4bf -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-25T19:54:20.701Z] ========================================================= [2023-07-25T19:54:20.701Z] [edgeXBuildGoParallel] Running Tests and Build... [2023-07-25T19:54:20.701Z] ========================================================= [Pipeline] sh [2023-07-25T19:54:21.017Z] + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-25T19:54:21.405Z] + make test [2023-07-25T19:54:21.405Z] go test -race -coverprofile=coverage.out ./... [2023-07-25T19:55:00.261Z] ? github.com/edgexfoundry/edgex-go [no test files] [2023-07-25T19:56:51.915Z] # github.com/edgexfoundry/edgex-go/internal/core/command [2023-07-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] internal/core/command/router.go:40:53: too many errors [2023-07-25T19:56:51.915Z] ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] [2023-07-25T19:56:51.915Z] # github.com/edgexfoundry/edgex-go/internal/core/data [2023-07-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] internal/core/data/router.go:41:42: too many errors [2023-07-25T19:56:51.915Z] # github.com/edgexfoundry/edgex-go/internal/core/metadata [2023-07-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] 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-25T19:56:51.915Z] internal/core/metadata/router.go:44:55: too many errors [2023-07-25T19:56:52.500Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2023-07-25T19:56:53.465Z] # github.com/edgexfoundry/edgex-go/internal/security/proxyauth [2023-07-25T19:56:53.465Z] 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-25T19:56:53.465Z] 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-25T19:56:53.465Z] 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-25T19:56:53.465Z] 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-25T19:56:53.733Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2023-07-25T19:56:54.003Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2023-07-25T19:56:54.003Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2023-07-25T19:56:55.414Z] ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] [2023-07-25T19:56:55.999Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler [2023-07-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] 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-25T19:56:55.999Z] internal/support/scheduler/router.go:36:46: too many errors [2023-07-25T19:56:56.266Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications [2023-07-25T19:56:56.266Z] 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-25T19:56:56.266Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] 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-25T19:56:56.267Z] internal/support/notifications/router.go:36:54: too many errors [2023-07-25T19:56:56.267Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2023-07-25T19:57:06.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2023-07-25T19:57:06.357Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2023-07-25T19:57:06.357Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.216s coverage: 28.7% of statements [2023-07-25T19:57:14.555Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.277s coverage: 98.5% of statements [2023-07-25T19:57:24.622Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.346s coverage: 71.5% of statements [2023-07-25T19:57:24.622Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] [2023-07-25T19:57:24.622Z] ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] [2023-07-25T19:57:29.956Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2023-07-25T19:57:29.956Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2023-07-25T19:57:30.223Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.331s coverage: 54.0% of statements [2023-07-25T19:57:36.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] [2023-07-25T19:57:36.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2023-07-25T19:57:36.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:57:36.861Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2023-07-25T19:57:42.223Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2023-07-25T19:57:42.224Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2023-07-25T19:57:57.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.107s coverage: 88.5% of statements [2023-07-25T19:57:57.245Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.419s coverage: 3.8% of statements [2023-07-25T19:57:57.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2023-07-25T19:57:57.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:57:57.827Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] [2023-07-25T19:57:59.237Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.591s coverage: 95.6% of statements [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2023-07-25T19:57:59.822Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2023-07-25T19:58:00.089Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.235s coverage: 72.2% of statements [2023-07-25T19:58:10.146Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2023-07-25T19:58:10.146Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2023-07-25T19:58:10.146Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.421s coverage: 0.9% of statements [2023-07-25T19:58:10.146Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.266s coverage: 31.9% of statements [2023-07-25T19:58:13.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.269s coverage: 42.9% of statements [2023-07-25T19:58:13.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.286s coverage: 82.9% of statements [2023-07-25T19:58:13.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.238s coverage: 94.1% of statements [2023-07-25T19:58:13.480Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.281s coverage: 96.3% of statements [2023-07-25T19:58:17.747Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.207s coverage: 87.5% of statements [2023-07-25T19:58:19.684Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2023-07-25T19:58:20.265Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2023-07-25T19:58:20.265Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2023-07-25T19:58:20.265Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2023-07-25T19:58:22.201Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2023-07-25T19:58:22.201Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] [2023-07-25T19:58:22.201Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] [2023-07-25T19:58:22.201Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] [2023-07-25T19:58:30.393Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.207s coverage: 94.4% of statements [2023-07-25T19:58:30.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2023-07-25T19:58:30.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2023-07-25T19:58:30.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2023-07-25T19:58:30.393Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2023-07-25T19:58:35.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2023-07-25T19:58:35.716Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2023-07-25T19:58:37.114Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2023-07-25T19:58:41.355Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.969s coverage: 79.9% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 17.256s coverage: 92.9% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.080s coverage: 64.4% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.213s coverage: 62.3% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.197s coverage: 87.2% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/common 0.171s coverage: 20.0% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.172s coverage: 100.0% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.506s coverage: 81.8% of statements [2023-07-25T19:58:43.927Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.463s coverage: 82.1% of statements [2023-07-25T19:58:43.927Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2023-07-25T19:58:44.192Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.212s coverage: 86.0% of statements [2023-07-25T19:58:48.441Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2023-07-25T19:58:48.441Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2023-07-25T19:58:49.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.012s coverage: 63.1% of statements [2023-07-25T19:58:49.845Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.231s coverage: 100.0% of statements [2023-07-25T19:58:51.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.146s coverage: 89.4% of statements [2023-07-25T19:58:51.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.109s coverage: 100.0% of statements [2023-07-25T19:58:51.378Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.159s coverage: 73.7% of statements [2023-07-25T19:58:51.646Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] [2023-07-25T19:58:51.646Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] [2023-07-25T19:58:51.917Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.078s coverage: 100.0% of statements [2023-07-25T19:58:58.666Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2023-07-25T19:58:58.666Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2023-07-25T19:58:58.666Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2023-07-25T19:59:00.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.045s coverage: 38.4% of statements [2023-07-25T19:59:00.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.275s coverage: 89.5% of statements [2023-07-25T19:59:04.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] [2023-07-25T19:59:04.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] [2023-07-25T19:59:04.328Z] ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] [2023-07-25T19:59:04.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.206s coverage: 84.8% of statements [2023-07-25T19:59:10.967Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2023-07-25T19:59:10.967Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2023-07-25T19:59:10.967Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2023-07-25T19:59:10.967Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2023-07-25T19:59:16.299Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.290s coverage: 17.7% of statements [2023-07-25T19:59:16.567Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2023-07-25T19:59:16.567Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:59:16.567Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2023-07-25T19:59:17.153Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.525s coverage: 92.3% of statements [2023-07-25T19:59:20.498Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2023-07-25T19:59:20.498Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2023-07-25T19:59:21.080Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.270s coverage: 61.8% of statements [2023-07-25T19:59:23.032Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2023-07-25T19:59:23.032Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2023-07-25T19:59:23.298Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.380s coverage: 97.7% of statements [2023-07-25T19:59:23.298Z] FAIL [2023-07-25T19:59:24.253Z] make: *** [Makefile:148: unittest] Error 1 [Pipeline] } [2023-07-25T19:59:24.295Z] $ docker stop --time=1 90a00f8e77060fb0e9683ec54e2e0664bb612fb202c37b3644a68c4c84f6f4bf [2023-07-25T19:59:26.137Z] $ docker rm -f --volumes 90a00f8e77060fb0e9683ec54e2e0664bb612fb202c37b3644a68c4c84f6f4bf [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-25T19:59:28.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T19:59:28.027Z] [2023-07-25T19:59:28.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T19:59:28.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T19:59:28.424Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-25T19:59:28.424Z] 8998bd30e6a1: Pulling fs layer [2023-07-25T19:59:28.424Z] 04944245beec: Pulling fs layer [2023-07-25T19:59:28.424Z] 699f458cf7ca: Pulling fs layer [2023-07-25T19:59:28.424Z] 765212b225bb: Pulling fs layer [2023-07-25T19:59:28.424Z] f23df028b6ca: Pulling fs layer [2023-07-25T19:59:28.424Z] d65c8cfc05b1: Pulling fs layer [2023-07-25T19:59:28.424Z] 2437ff75d9bd: Pulling fs layer [2023-07-25T19:59:28.424Z] f23df028b6ca: Waiting [2023-07-25T19:59:28.424Z] d65c8cfc05b1: Waiting [2023-07-25T19:59:28.424Z] 2437ff75d9bd: Waiting [2023-07-25T19:59:28.424Z] 765212b225bb: Waiting [2023-07-25T19:59:28.693Z] 04944245beec: Verifying Checksum [2023-07-25T19:59:28.693Z] 04944245beec: Download complete [2023-07-25T19:59:28.694Z] 765212b225bb: Verifying Checksum [2023-07-25T19:59:28.694Z] 765212b225bb: Download complete [2023-07-25T19:59:28.694Z] f23df028b6ca: Verifying Checksum [2023-07-25T19:59:28.694Z] f23df028b6ca: Download complete [2023-07-25T19:59:28.694Z] d65c8cfc05b1: Verifying Checksum [2023-07-25T19:59:28.694Z] d65c8cfc05b1: Download complete [2023-07-25T19:59:28.694Z] 699f458cf7ca: Verifying Checksum [2023-07-25T19:59:28.694Z] 699f458cf7ca: Download complete [2023-07-25T19:59:29.281Z] 8998bd30e6a1: Verifying Checksum [2023-07-25T19:59:29.281Z] 8998bd30e6a1: Download complete [2023-07-25T19:59:31.222Z] 2437ff75d9bd: Verifying Checksum [2023-07-25T19:59:31.222Z] 2437ff75d9bd: Download complete [2023-07-25T19:59:34.558Z] 8998bd30e6a1: Pull complete [2023-07-25T19:59:34.825Z] 04944245beec: Pull complete [2023-07-25T19:59:36.231Z] 699f458cf7ca: Pull complete [2023-07-25T19:59:36.231Z] 765212b225bb: Pull complete [2023-07-25T19:59:37.193Z] f23df028b6ca: Pull complete [2023-07-25T19:59:37.193Z] d65c8cfc05b1: Pull complete [2023-07-25T19:59:52.175Z] 2437ff75d9bd: Pull complete [2023-07-25T19:59:52.175Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-25T19:59:52.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T19:59:52.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T19:59:52.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-2130 does not seem to be running inside a container [2023-07-25T19:59:52.541Z] $ 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-25T19:59:54.946Z] $ docker top 2d1a0dd9d5d6b067223824cdd8952e6f2aba72c5633edd1461a1d9f51773ad4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T19:59:55.554Z] ---> job-cost.sh [2023-07-25T19:59:55.820Z] lf-activate-venv: SKIPPING [2023-07-25T19:59:55.820Z] INFO: No Stack... [2023-07-25T19:59:56.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-25T19:59:56.981Z] INFO: Archiving Costs [Pipeline] sh [2023-07-25T19:59:57.315Z] + + catcut /w/workspace/edgex-go/1/archives/cost.csv -d, [2023-07-25T19:59:57.315Z] -f6 [Pipeline] lock [2023-07-25T19:59:57.390Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4619-1-stack-cost] [2023-07-25T19:59:57.396Z] Resource [jenkins-edgexfoundry-edgex-go-PR-4619-1-stack-cost] did not exist. Created. [2023-07-25T19:59:57.396Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4619-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-25T19:59:57.804Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-25T19:59:58.378Z] Stashed 1 file(s) [Pipeline] } [2023-07-25T19:59:58.396Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4619-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-25T19:59:58.480Z] $ docker stop --time=1 2d1a0dd9d5d6b067223824cdd8952e6f2aba72c5633edd1461a1d9f51773ad4e [2023-07-25T19:59:59.952Z] $ docker rm -f --volumes 2d1a0dd9d5d6b067223824cdd8952e6f2aba72c5633edd1461a1d9f51773ad4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-25T20:00:00.666Z] 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-25T20:00:02.266Z] + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:02.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:03.480Z] ---> package-listing.sh [2023-07-25T20:00:03.480Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-25T20:00:03.480Z] ++ facter osfamily [2023-07-25T20:00:03.740Z] + OS_FAMILY=debian [2023-07-25T20:00:03.740Z] + workspace=/w/workspace/edgex-go/1 [2023-07-25T20:00:03.740Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-25T20:00:03.740Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-25T20:00:03.740Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-25T20:00:03.740Z] + PACKAGES=/tmp/packages_start.txt [2023-07-25T20:00:03.740Z] + '[' /w/workspace/edgex-go/1 ']' [2023-07-25T20:00:03.740Z] + PACKAGES=/tmp/packages_end.txt [2023-07-25T20:00:03.740Z] + case "${OS_FAMILY}" in [2023-07-25T20:00:03.740Z] + dpkg -l [2023-07-25T20:00:03.740Z] + grep '^ii' [2023-07-25T20:00:03.740Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-25T20:00:03.740Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-25T20:00:03.740Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-25T20:00:03.740Z] + '[' /w/workspace/edgex-go/1 ']' [2023-07-25T20:00:03.740Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2023-07-25T20:00:03.740Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2023-07-25T20:00:03.775Z] 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-25T20:00:04.065Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T20:00:04.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T20:00:04.699Z] [2023-07-25T20:00:04.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T20:00:05.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T20:00:05.083Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-25T20:00:05.083Z] 5eb5b503b376: Pulling fs layer [2023-07-25T20:00:05.083Z] 5c69ac0246d0: Pulling fs layer [2023-07-25T20:00:05.083Z] ec43610c2a17: Pulling fs layer [2023-07-25T20:00:05.083Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-25T20:00:05.083Z] 33b1e0a273af: Pulling fs layer [2023-07-25T20:00:05.083Z] 5d3b04190fa2: Pulling fs layer [2023-07-25T20:00:05.083Z] 2f39f015ded8: Pulling fs layer [2023-07-25T20:00:05.083Z] 3a2ae6a8a46f: Waiting [2023-07-25T20:00:05.083Z] 33b1e0a273af: Waiting [2023-07-25T20:00:05.083Z] 2f39f015ded8: Waiting [2023-07-25T20:00:05.083Z] 5d3b04190fa2: Waiting [2023-07-25T20:00:05.083Z] 5c69ac0246d0: Verifying Checksum [2023-07-25T20:00:05.083Z] 5c69ac0246d0: Download complete [2023-07-25T20:00:05.083Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-25T20:00:05.083Z] 3a2ae6a8a46f: Download complete [2023-07-25T20:00:05.083Z] 33b1e0a273af: Verifying Checksum [2023-07-25T20:00:05.083Z] 33b1e0a273af: Download complete [2023-07-25T20:00:05.083Z] 5d3b04190fa2: Verifying Checksum [2023-07-25T20:00:05.083Z] 5d3b04190fa2: Download complete [2023-07-25T20:00:05.083Z] ec43610c2a17: Download complete [2023-07-25T20:00:05.342Z] 5eb5b503b376: Verifying Checksum [2023-07-25T20:00:05.342Z] 5eb5b503b376: Download complete [2023-07-25T20:00:05.909Z] 2f39f015ded8: Download complete [2023-07-25T20:00:06.476Z] 5eb5b503b376: Pull complete [2023-07-25T20:00:06.735Z] 5c69ac0246d0: Pull complete [2023-07-25T20:00:06.994Z] ec43610c2a17: Pull complete [2023-07-25T20:00:06.994Z] 3a2ae6a8a46f: Pull complete [2023-07-25T20:00:07.253Z] 33b1e0a273af: Pull complete [2023-07-25T20:00:07.512Z] 5d3b04190fa2: Pull complete [2023-07-25T20:00:12.780Z] 2f39f015ded8: Pull complete [2023-07-25T20:00:12.780Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-25T20:00:12.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T20:00:12.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T20:00:12.977Z] prd-ubuntu20.04-docker-8c-8g-2129 does not seem to be running inside a container [2023-07-25T20:00:13.011Z] $ 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-25T20:00:17.114Z] $ docker top d75aca2cbe93fe005613d49dd1138022fea36fb7ad4434986e08b95c7602fb80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T20:00:17.500Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-25T20:00:17.810Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-25T20:00:18.122Z] + ls /var/log/sa-host [2023-07-25T20:00:18.122Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T20:00:18.337Z] provisioning config files... [2023-07-25T20:00:18.346Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config15465552280290469079tmp [Pipeline] { [Pipeline] echo [2023-07-25T20:00:18.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:18.712Z] ---> create-netrc.sh [Pipeline] } [2023-07-25T20:00:18.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:19.145Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-25T20:00:19.176Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:19.488Z] ---> sudo-logs.sh [2023-07-25T20:00:19.488Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-25T20:00:19.564Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:19.874Z] ---> job-cost.sh [2023-07-25T20:00:19.874Z] lf-activate-venv: SKIPPING [2023-07-25T20:00:19.874Z] DEBUG: total: 0.10999999940395355 [2023-07-25T20:00:19.874Z] INFO: Retrieving Stack Cost... [2023-07-25T20:00:20.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-25T20:00:20.700Z] INFO: Archiving Costs [Pipeline] echo [2023-07-25T20:00:20.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T20:00:21.041Z] ---> logs-deploy.sh [2023-07-25T20:00:21.041Z] lf-activate-venv: SKIPPING [2023-07-25T20:00:21.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4619/1 [2023-07-25T20:00:21.041Z] INFO: archiving workspace using pattern(s): [2023-07-25T20:00:21.980Z] Archives upload complete. [2023-07-25T20:00:21.980Z] INFO: archiving logs to Nexus