Pull request #4893 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/edgex-go Obtained Jenkinsfile from 3d9186e1b0a9b766497317b624880d64d296eaf0+6ac0180759da1d23d6b313fd49d9fb17c0af6626 (55605fae5f5de12bc73eb93678a9f250ecccb3e2) 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-ssh8400467118367596409.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh5937999208189730810.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 f3350a1713306dce7682ed7e37d5774890d03277 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-4893/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-4893/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3910984935252324823.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-4893/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6822382594007583523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh7468427508033267875.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-4893/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-4893/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1920231471754454492.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 f3350a1713306dce7682ed7e37d5774890d03277 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]] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9587’ Running on prd-ubuntu20.04-docker-8c-8g-9595 in /w/workspace/edgexfoundry_edgex-go_PR-4893 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4893/head:refs/remotes/origin/PR-4893 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ac0180759da1d23d6b313fd49d9fb17c0af6626 into PR head commit 3d9186e1b0a9b766497317b624880d64d296eaf0 Merge succeeded, producing 3d9186e1b0a9b766497317b624880d64d296eaf0 Checking out Revision 3d9186e1b0a9b766497317b624880d64d296eaf0 (PR-4893) > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9186e1b0a9b766497317b624880d64d296eaf0 # 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 6ac0180759da1d23d6b313fd49d9fb17c0af6626 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9186e1b0a9b766497317b624880d64d296eaf0 # timeout=10 Commit message: "fix: Generate new action ID while updating schedule job" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:51 ========================================================= 15:23:51 EdgeX Global Pipelines Version Info 15:23:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:52 ------------------- 15:23:52 stable info: 15:23:52 ------------------- 15:23:52 Commited By: Cherry Wang cherry@iotechsys.com 15:23:52 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 15:23:52 Message: update stable to v1.0.263 15:23:53 ------------------- 15:23:53 experimental info: 15:23:53 ------------------- 15:23:53 Commited By: Cherry Wang cherry@iotechsys.com 15:23:53 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 15:23:53 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 15:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4893 [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4893 [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4893 [Pipeline] echo 15:23:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d9186e1b0a9b766497317b624880d64d296eaf0 [Pipeline] echo 15:23:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d9186e [Pipeline] echo 15:23:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:55 provisioning config files... 15:23:55 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config15492458091209484959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:55 ---> ****-login.sh 15:23:55 nexus3.edgexfoundry.org:10001 15:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:55 Configure a credential helper to remove this warning. See 15:23:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:55 15:23:55 Login Succeeded 15:23:55 nexus3.edgexfoundry.org:10002 15:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:56 Configure a credential helper to remove this warning. See 15:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:56 15:23:56 Login Succeeded 15:23:56 nexus3.edgexfoundry.org:10003 15:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:56 Configure a credential helper to remove this warning. See 15:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:56 15:23:56 Login Succeeded 15:23:56 nexus3.edgexfoundry.org:10004 15:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:56 Configure a credential helper to remove this warning. See 15:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:56 15:23:56 Login Succeeded 15:23:56 ****.io 15:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:56 Configure a credential helper to remove this warning. See 15:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:56 15:23:56 Login Succeeded 15:23:56 ---> ****-login.sh ends [Pipeline] } 15:23:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:57 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-keeper/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-cron-scheduler/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 15:23:57 + dirname cmd/core-command/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo core-command,cmd/core-command/Dockerfile 15:23:57 + dirname cmd/core-common-config-bootstrapper/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 15:23:57 + dirname cmd/core-data/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo core-data,cmd/core-data/Dockerfile 15:23:57 + dirname cmd/core-keeper/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo core-keeper,cmd/core-keeper/Dockerfile 15:23:57 + dirname cmd/core-metadata/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo core-metadata,cmd/core-metadata/Dockerfile 15:23:57 + dirname cmd/security-bootstrapper/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 15:23:57 + dirname cmd/security-proxy-auth/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 15:23:57 + dirname cmd/security-proxy-setup/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 15:23:57 + + dirnamecut cmd/security-secretstore-setup/Dockerfile -d/ 15:23:57 -f2 15:23:57 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 15:23:57 + dirname cmd/security-spiffe-token-provider/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 15:23:57 + dirname cmd/security-spire-agent/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 15:23:57 + dirname cmd/security-spire-config/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-spire-config,cmd/security-spire-config/Dockerfile 15:23:57 + dirname cmd/security-spire-server/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo security-spire-server,cmd/security-spire-server/Dockerfile 15:23:57 + dirname cmd/support-cron-scheduler/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo support-cron-scheduler,cmd/support-cron-scheduler/Dockerfile 15:23:57 + dirname cmd/support-notifications/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo support-notifications,cmd/support-notifications/Dockerfile 15:23:57 + dirname cmd/support-scheduler/Dockerfile 15:23:57 + cut -d/ -f2 15:23:57 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 15:23:57 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-keeper, dockerfile:cmd/core-keeper/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-cron-scheduler, dockerfile:cmd/support-cron-scheduler/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 15:23:58 + git rev-list -1 --merges 3d9186e1b0a9b766497317b624880d64d296eaf0~1..3d9186e1b0a9b766497317b624880d64d296eaf0 [Pipeline] echo 15:23:58 -----------> git rev-list -1 --merges 3d9186e1b0a9b766497317b624880d64d296eaf0~1..3d9186e1b0a9b766497317b624880d64d296eaf0 3d9186e1b0a9b766497317b624880d64d296eaf0 [false] [Pipeline] sh 15:23:59 + git log --format=format:%s -1 3d9186e1b0a9b766497317b624880d64d296eaf0 [Pipeline] echo 15:23:59 ========================================================= 15:23:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:23:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:24:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:24:00 + grep -v github /etc/ssh/ssh_known_hosts 15:24:00 + [ -e /tmp/ssh_known_hosts ] 15:24:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:24:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:24:00 + sudo tee -a /etc/ssh/ssh_known_hosts 15:24:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:00 15:24:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:01 0.1.4: Pulling from edgex-devops/py-git-semver 15:24:01 b85a868b505f: Pulling fs layer 15:24:01 e2be974225ed: Pulling fs layer 15:24:01 339a4e72a1f5: Pulling fs layer 15:24:01 988bab9f4d93: Pulling fs layer 15:24:01 1469e6f7b9e6: Pulling fs layer 15:24:01 eaf3925da568: Pulling fs layer 15:24:01 bab4dde63d76: Pulling fs layer 15:24:01 bde34c3a00c8: Pulling fs layer 15:24:01 b352a97aabf1: Pulling fs layer 15:24:01 4872d77fe225: Pulling fs layer 15:24:01 5851b861e8e6: Pulling fs layer 15:24:01 988bab9f4d93: Waiting 15:24:01 4872d77fe225: Waiting 15:24:01 eaf3925da568: Waiting 15:24:01 1469e6f7b9e6: Waiting 15:24:01 5851b861e8e6: Waiting 15:24:01 b352a97aabf1: Waiting 15:24:01 bde34c3a00c8: Waiting 15:24:01 bab4dde63d76: Waiting 15:24:01 e2be974225ed: Verifying Checksum 15:24:01 e2be974225ed: Download complete 15:24:01 988bab9f4d93: Verifying Checksum 15:24:01 988bab9f4d93: Download complete 15:24:01 1469e6f7b9e6: Verifying Checksum 15:24:01 1469e6f7b9e6: Download complete 15:24:01 eaf3925da568: Verifying Checksum 15:24:01 eaf3925da568: Download complete 15:24:01 339a4e72a1f5: Verifying Checksum 15:24:01 339a4e72a1f5: Download complete 15:24:01 bde34c3a00c8: Verifying Checksum 15:24:01 bde34c3a00c8: Download complete 15:24:01 b352a97aabf1: Verifying Checksum 15:24:01 b352a97aabf1: Download complete 15:24:01 4872d77fe225: Verifying Checksum 15:24:01 4872d77fe225: Download complete 15:24:01 5851b861e8e6: Download complete 15:24:01 b85a868b505f: Verifying Checksum 15:24:01 b85a868b505f: Download complete 15:24:01 bab4dde63d76: Verifying Checksum 15:24:01 bab4dde63d76: Download complete 15:24:02 b85a868b505f: Pull complete 15:24:02 e2be974225ed: Pull complete 15:24:03 339a4e72a1f5: Pull complete 15:24:03 988bab9f4d93: Pull complete 15:24:03 1469e6f7b9e6: Pull complete 15:24:03 eaf3925da568: Pull complete 15:24:05 bab4dde63d76: Pull complete 15:24:05 bde34c3a00c8: Pull complete 15:24:05 b352a97aabf1: Pull complete 15:24:05 4872d77fe225: Pull complete 15:24:05 5851b861e8e6: Pull complete 15:24:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:24:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:05 prd-ubuntu20.04-docker-8c-8g-9595 does not seem to be running inside a container 15:24:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:24:09 $ docker top 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 -eo pid,comm 15:24:10 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). 15:24:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:10 [ssh-agent] Looking for ssh-agent implementation... 15:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:10 $ docker exec 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 ssh-agent 15:24:10 SSH_AUTH_SOCK=/tmp/ssh-zeu0q3MCbtcK/agent.32 15:24:10 SSH_AGENT_PID=38 15:24:10 Running ssh-add (command line suppressed) 15:24:10 Identity added: /w/workspace/edgex-go/1@tmp/private_key_16316900219780949057.key (/w/workspace/edgex-go/1@tmp/private_key_16316900219780949057.key) 15:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:10 + git tag --points-at HEAD [Pipeline] } 15:24:10 $ docker exec --env ******** --env ******** 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 ssh-agent -k 15:24:10 unset SSH_AUTH_SOCK; 15:24:10 unset SSH_AGENT_PID; 15:24:10 echo Agent pid 38 killed; 15:24:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:24:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:11 [ssh-agent] Looking for ssh-agent implementation... 15:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:11 $ docker exec 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 ssh-agent 15:24:12 SSH_AUTH_SOCK=/tmp/ssh-nMqBU9vP24f5/agent.71 15:24:12 SSH_AGENT_PID=77 15:24:12 Running ssh-add (command line suppressed) 15:24:12 Identity added: /w/workspace/edgex-go/1@tmp/private_key_17725297730216769604.key (/w/workspace/edgex-go/1@tmp/private_key_17725297730216769604.key) 15:24:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:13 + git semver init 15:24:13 2024-09-06 15:24:13,179 [run_init] DEBUG init version:0.0.0 force:False 15:24:13 2024-09-06 15:24:13,180 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 15:24:13 2024-09-06 15:24:13,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 15:24:13 2024-09-06 15:24:13,181 [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) 15:24:18 2024-09-06 15:24:18,334 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 15:24:18 2024-09-06 15:24:18,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4893 with force:False 15:24:18 2024-09-06 15:24:18,335 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4893 15:24:18 2024-09-06 15:24:18,340 [execute] INFO git cat-file --batch-check 15:24:18 2024-09-06 15:24:18,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 15:24:18 2024-09-06 15:24:18,347 [execute] INFO git cat-file --batch 15:24:18 2024-09-06 15:24:18,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 15:24:18 2024-09-06 15:24:18,353 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4893 15:24:18 0.0.0 [Pipeline] } 15:24:18 $ docker exec --env ******** --env ******** 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 ssh-agent -k 15:24:18 unset SSH_AUTH_SOCK; 15:24:18 unset SSH_AGENT_PID; 15:24:18 echo Agent pid 77 killed; 15:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:19 + git semver [Pipeline] } 15:24:19 $ docker stop --time=1 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 15:24:20 $ docker rm -f --volumes 9f47463bb3b278c7b000500934a103a2b512356b0ae6756da0dbb0ce599bc240 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:24:21 Stashed 1 file(s) [Pipeline] echo 15:24:21 [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 15:24:22 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 15:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:22 ========================================================= 15:24:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:24:22 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:24:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:24:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:24:22 619be1103602: Pulling fs layer 15:24:22 7862e08f4a3e: Pulling fs layer 15:24:22 5df492c9dc93: Pulling fs layer 15:24:22 7629e6793208: Pulling fs layer 15:24:22 4f4fb700ef54: Pulling fs layer 15:24:22 fb5054dd5b73: Pulling fs layer 15:24:22 eeca6798cff9: Pulling fs layer 15:24:22 7629e6793208: Waiting 15:24:22 fb5054dd5b73: Waiting 15:24:22 4f4fb700ef54: Waiting 15:24:22 eeca6798cff9: Waiting 15:24:22 aa269ceb94a6: Pulling fs layer 15:24:22 ada007ff1a6a: Pulling fs layer 15:24:22 aa269ceb94a6: Waiting 15:24:22 7629e6793208: Download complete 15:24:22 4f4fb700ef54: Verifying Checksum 15:24:22 4f4fb700ef54: Download complete 15:24:22 fb5054dd5b73: Verifying Checksum 15:24:22 fb5054dd5b73: Download complete 15:24:22 619be1103602: Verifying Checksum 15:24:22 619be1103602: Download complete 15:24:23 eeca6798cff9: Verifying Checksum 15:24:23 eeca6798cff9: Download complete 15:24:23 619be1103602: Pull complete 15:24:23 ada007ff1a6a: Verifying Checksum 15:24:23 ada007ff1a6a: Download complete 15:24:23 7862e08f4a3e: Pull complete 15:24:23 5df492c9dc93: Verifying Checksum 15:24:23 5df492c9dc93: Download complete 15:24:23 aa269ceb94a6: Verifying Checksum 15:24:23 aa269ceb94a6: Download complete 15:24:26 5df492c9dc93: Pull complete 15:24:26 7629e6793208: Pull complete 15:24:26 4f4fb700ef54: Pull complete 15:24:26 fb5054dd5b73: Pull complete 15:24:27 eeca6798cff9: Pull complete 15:24:29 aa269ceb94a6: Pull complete 15:24:29 ada007ff1a6a: Pull complete 15:24:29 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 15:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:24:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] fileExists [Pipeline] sh 15:24:30 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:24:30 WORKDIR /edgex 15:24:30 COPY go.mod . 15:24:30 RUN go mod download 15:24:30 + docker build -t ci-base-image-x86_64 -f - . 15:24:30 Sending build context to Docker daemon 179.3MB 15:24:30 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:24:30 ---> f489d0715acc 15:24:30 Step 2/4 : WORKDIR /edgex 15:24:36 Still waiting to schedule task 15:24:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9590’ 15:24:37 ---> Running in e30b86e9f205 15:24:37 Removing intermediate container e30b86e9f205 15:24:37 ---> f5aeed2a9aff 15:24:37 Step 3/4 : COPY go.mod . 15:24:37 ---> d43d19c3fa4f 15:24:37 Step 4/4 : RUN go mod download 15:24:37 ---> Running in 5bc4e2dfc2ab 15:25:04 Removing intermediate container 5bc4e2dfc2ab 15:25:04 ---> f00990d615e9 15:25:04 Successfully built f00990d615e9 15:25:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:04 + docker inspect -f . ci-base-image-x86_64 15:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:04 prd-ubuntu20.04-docker-8c-8g-9595 does not seem to be running inside a container 15:25:04 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:25:05 $ docker top 39e6e5eecac9f1b99949cf563598aee596939c49be35b6c4aef8be21135230ed -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:05 + go version 15:25:05 go version go1.21.9 linux/amd64 [Pipeline] } 15:25:05 $ docker stop --time=1 39e6e5eecac9f1b99949cf563598aee596939c49be35b6c4aef8be21135230ed 15:25:07 $ docker rm -f --volumes 39e6e5eecac9f1b99949cf563598aee596939c49be35b6c4aef8be21135230ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:24 + docker inspect -f . ci-base-image-x86_64 15:25:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:25 prd-ubuntu20.04-docker-8c-8g-9595 does not seem to be running inside a container 15:25:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:25:25 $ docker top 34e810658ac4ab0a73fc94d69515bfc2eb26d8c461ab633a051fb9b8d4b887c6 -eo pid,comm [Pipeline] { [Pipeline] echo 15:25:25 ========================================================= 15:25:25 [edgeXBuildGoParallel] Running Tests and Build... 15:25:25 ========================================================= [Pipeline] sh 15:25:26 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 15:25:26 + make test 15:25:26 go test -race -coverprofile=coverage.out ./... 15:25:33 ? github.com/edgexfoundry/edgex-go [no test files] 15:25:59 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 15:25:59 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 15:26:00 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 15:26:01 ? github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler [no test files] 15:26:01 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 15:26:01 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 15:26:01 ? github.com/edgexfoundry/edgex-go/internal [no test files] 15:26:01 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 15:26:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 15:26:03 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 15:26:03 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.024s coverage: 28.7% of statements 15:26:04 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 15:26:04 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 15:26:04 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 15:26:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 15:26:05 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 15:26:05 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.035s coverage: 97.0% of statements 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 15:26:06 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 15:26:07 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 15:26:07 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 15:26:07 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 15:26:07 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 15:26:07 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 15:26:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 15:26:08 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 15:26:08 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.052s coverage: 69.2% of statements 15:26:08 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.040s coverage: 53.2% of statements 15:26:09 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.889s coverage: 93.4% of statements 15:26:09 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.059s coverage: 91.7% of statements 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres [no test files] 15:26:09 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 15:26:09 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.050s coverage: 7.0% of statements 15:26:10 ? github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models [no test files] 15:26:10 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.399s coverage: 95.8% of statements 15:26:10 ok github.com/edgexfoundry/edgex-go/internal/io 1.026s coverage: 72.2% of statements 15:26:11 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 15:26:11 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 15:26:11 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.019s coverage: 0.0% of statements [no tests to run] 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 1.041s coverage: 0.8% of statements 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.033s coverage: 30.7% of statements 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.027s coverage: 41.7% of statements 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.024s coverage: 77.8% of statements 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.020s coverage: 94.1% of statements 15:26:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.028s coverage: 96.3% of statements 15:26:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.025s coverage: 87.5% of statements 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 15:26:13 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 15:26:15 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 15:26:16 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 15:26:16 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 15:26:16 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 15:26:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 15:26:18 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 15:26:20 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 15:26:20 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 15:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 15:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 15:26:22 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 15:26:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 15:26:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 15:26:23 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config [no test files] 15:26:24 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container [no test files] 15:26:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.033s coverage: 94.4% of statements 15:26:26 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure [no test files] 15:26:26 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 15:26:26 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks [no test files] 15:26:26 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 15:26:27 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 15:26:27 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 15:26:27 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 15:26:27 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 15:26:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 15:26:29 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 15:26:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 15:26:29 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 15:26:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 15:26:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 15:26:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 15:26:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.242s coverage: 79.9% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 21.050s coverage: 92.9% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.023s coverage: 66.7% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.030s coverage: 62.3% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.019s coverage: 75.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.030s coverage: 87.2% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.023s coverage: 20.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.016s coverage: 100.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.075s coverage: 81.8% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.068s coverage: 82.1% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.024s coverage: 86.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.141s coverage: 63.1% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.024s coverage: 100.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.021s coverage: 89.4% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.018s coverage: 100.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.020s coverage: 73.7% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.019s coverage: 100.0% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.160s coverage: 36.5% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.023s coverage: 89.5% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.024s coverage: 84.8% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.029s coverage: 5.2% of statements 15:26:39 --- FAIL: TestPatchScheduleJob (0.00s) 15:26:39 --- FAIL: TestPatchScheduleJob/Valid (0.00s) 15:26:39 panic: 15:26:39 15:26:39 mock: Unexpected Method Call 15:26:39 ----------------------------- 15:26:39 15:26:39 UpdateScheduleJob(models.ScheduleJob,string) 15:26:39 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"2b5d541c-7c66-49d2-8437-15646484f163", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"439a8e1a-4312-4cba-a4a2-4f044cd03569", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:26:39 1: "" 15:26:39 15:26:39 The closest call I have is: 15:26:39 15:26:39 UpdateScheduleJob(models.ScheduleJob,string) 15:26:39 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:26:39 1: "" 15:26:39 15:26:39 Difference found in argument 0: 15:26:39 15:26:39 --- Expected 15:26:39 +++ Actual 15:26:39 @@ -18,3 +18,3 @@ 15:26:39 BaseScheduleAction: (models.BaseScheduleAction) { 15:26:39 - Id: (string) "", 15:26:39 + Id: (string) (len=36) "2b5d541c-7c66-49d2-8437-15646484f163", 15:26:39 Type: (models.ScheduleActionType) (len=15) "EDGEXMESSAGEBUS", 15:26:39 @@ -27,3 +27,3 @@ 15:26:39 BaseScheduleAction: (models.BaseScheduleAction) { 15:26:39 - Id: (string) "", 15:26:39 + Id: (string) (len=36) "439a8e1a-4312-4cba-a4a2-4f044cd03569", 15:26:39 Type: (models.ScheduleActionType) (len=4) "REST", 15:26:39 15:26:39 Diff: 0: FAIL: (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{2b5d541c-7c66-49d2-8437-15646484f163 EDGEXMESSAGEBUS application/json []} testTopic} {{439a8e1a-4312-4cba-a4a2-4f044cd03569 REST application/json []} testAddress GET false}] [label] map[]}) != (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{ EDGEXMESSAGEBUS application/json []} testTopic} {{ REST application/json []} testAddress GET false}] [label] map[]}) 15:26:39 1: PASS: (string=) == (string=) [recovered] 15:26:39 panic: 15:26:39 15:26:39 mock: Unexpected Method Call 15:26:39 ----------------------------- 15:26:39 15:26:39 UpdateScheduleJob(models.ScheduleJob,string) 15:26:39 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"2b5d541c-7c66-49d2-8437-15646484f163", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"439a8e1a-4312-4cba-a4a2-4f044cd03569", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:26:39 1: "" 15:26:39 15:26:39 The closest call I have is: 15:26:39 15:26:39 UpdateScheduleJob(models.ScheduleJob,string) 15:26:39 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:26:39 1: "" 15:26:39 15:26:39 Difference found in argument 0: 15:26:39 15:26:39 --- Expected 15:26:39 +++ Actual 15:26:39 @@ -18,3 +18,3 @@ 15:26:39 BaseScheduleAction: (models.BaseScheduleAction) { 15:26:39 - Id: (string) "", 15:26:39 + Id: (string) (len=36) "2b5d541c-7c66-49d2-8437-15646484f163", 15:26:39 Type: (models.ScheduleActionType) (len=15) "EDGEXMESSAGEBUS", 15:26:39 @@ -27,3 +27,3 @@ 15:26:39 BaseScheduleAction: (models.BaseScheduleAction) { 15:26:39 - Id: (string) "", 15:26:39 + Id: (string) (len=36) "439a8e1a-4312-4cba-a4a2-4f044cd03569", 15:26:39 Type: (models.ScheduleActionType) (len=4) "REST", 15:26:39 15:26:39 Diff: 0: FAIL: (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{2b5d541c-7c66-49d2-8437-15646484f163 EDGEXMESSAGEBUS application/json []} testTopic} {{439a8e1a-4312-4cba-a4a2-4f044cd03569 REST application/json []} testAddress GET false}] [label] map[]}) != (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{ EDGEXMESSAGEBUS application/json []} testTopic} {{ REST application/json []} testAddress GET false}] [label] map[]}) 15:26:39 1: PASS: (string=) == (string=) 15:26:39 15:26:39 goroutine 69 [running]: 15:26:39 testing.tRunner.func1.2({0x1053e80, 0xc000494570}) 15:26:39 /usr/local/go/src/testing/testing.go:1545 +0x3f7 15:26:39 testing.tRunner.func1() 15:26:39 /usr/local/go/src/testing/testing.go:1548 +0x716 15:26:39 panic({0x1053e80?, 0xc000494570?}) 15:26:39 /usr/local/go/src/runtime/panic.go:920 +0x270 15:26:39 github.com/stretchr/testify/mock.(*Mock).fail(0xc00034e820, {0x11c660d, 0x6f}, {0xc00036cf40, 0x4, 0x4}) 15:26:39 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:335 +0x1d9 15:26:39 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00034e820, {0x145e1d2, 0x11}, {0xc0003034e0?, 0x2, 0x2}) 15:26:39 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:494 +0x6bf 15:26:39 github.com/stretchr/testify/mock.(*Mock).Called(0x0?, {0xc0003034e0, 0x2, 0x2}) 15:26:39 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:466 +0x196 15:26:39 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks.(*SchedulerManager).UpdateScheduleJob(0xc00034e820, {{0x0, 0x0}, {0x11adc7f, 0x24}, {0x1192068, 0x7}, {0x131cb40, 0xc000484bd0}, {0xc0003034c0, ...}, ...}, ...) 15:26:39 /w/workspace/edgex-go/1/internal/support/cronscheduler/infrastructure/interfaces/mocks/SchedulerManager.go:140 +0x148 15:26:39 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application.PatchScheduleJob({0x1323868, 0x18d0d40}, {0xc000494090, 0xc0004940a0, 0xc00036c9c0, {0xc0002b5560, 0x2, 0x2}, 0x0, {0xc0004940d0, ...}, ...}, ...) 15:26:39 /w/workspace/edgex-go/1/internal/support/cronscheduler/application/schedulejob.go:127 +0x62e 15:26:39 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http.(*ScheduleJobController).PatchScheduleJob(0xc000346870, {0x13305a0, 0xc000329180}) 15:26:39 /w/workspace/edgex-go/1/internal/support/cronscheduler/controller/http/schedulejob.go:175 +0x66f 15:26:39 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http.TestPatchScheduleJob.func3(0x0?) 15:26:39 /w/workspace/edgex-go/1/internal/support/cronscheduler/controller/http/schedulejob_test.go:493 +0x78c 15:26:39 testing.tRunner(0xc00037e340, 0xc0004843f0) 15:26:39 /usr/local/go/src/testing/testing.go:1595 +0x262 15:26:39 created by testing.(*T).Run in goroutine 68 15:26:39 /usr/local/go/src/testing/testing.go:1648 +0x846 15:26:39 FAIL github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 0.071s 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.048s coverage: 19.9% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.113s coverage: 95.7% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.031s coverage: 61.8% of statements 15:26:39 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.068s coverage: 98.9% of statements 15:26:39 FAIL 15:26:39 make: *** [Makefile:161: unittest] Error 1 [Pipeline] } 15:26:39 $ docker stop --time=1 34e810658ac4ab0a73fc94d69515bfc2eb26d8c461ab633a051fb9b8d4b887c6 15:26:41 $ docker rm -f --volumes 34e810658ac4ab0a73fc94d69515bfc2eb26d8c461ab633a051fb9b8d4b887c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:42 Failed in branch amd64 15:27:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9596 in /w/workspace/edgexfoundry_edgex-go_PR-4893 [Pipeline] { [Pipeline] ws 15:27:33 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 15:27:33 The recommended git tool is: git 15:27:41 using credential edgex-jenkins-ssh 15:27:41 Cloning the remote Git repository 15:27:41 Cloning repository git@github.com:edgexfoundry/edgex-go.git 15:27:41 > git init /w/workspace/edgex-go/1 # timeout=10 15:27:42 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:27:42 > git --version # timeout=10 15:27:42 > git --version # 'git version 2.25.1' 15:27:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:28:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:01 Merging remotes/origin/main commit 6ac0180759da1d23d6b313fd49d9fb17c0af6626 into PR head commit 3d9186e1b0a9b766497317b624880d64d296eaf0 15:28:02 Merge succeeded, producing 3d9186e1b0a9b766497317b624880d64d296eaf0 15:28:02 Checking out Revision 3d9186e1b0a9b766497317b624880d64d296eaf0 (PR-4893) 15:28:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 15:28:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 15:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4893/head:refs/remotes/origin/PR-4893 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:28:01 > git config core.sparsecheckout # timeout=10 15:28:01 > git checkout -f 3d9186e1b0a9b766497317b624880d64d296eaf0 # timeout=10 15:28:02 > git remote # timeout=10 15:28:02 > git config --get remote.origin.url # timeout=10 15:28:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:02 > git merge 6ac0180759da1d23d6b313fd49d9fb17c0af6626 # timeout=10 15:28:02 > git rev-parse HEAD^{commit} # timeout=10 15:28:02 > git config core.sparsecheckout # timeout=10 15:28:02 > git checkout -f 3d9186e1b0a9b766497317b624880d64d296eaf0 # timeout=10 15:28:05 Commit message: "fix: Generate new action ID while updating schedule job" 15:28:05 > git --version # timeout=10 15:28:05 > git --version # 'git version 2.25.1' 15:28:05 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:07 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:07 Dload Upload Total Spent Left Speed 15:28:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70098 0 --:--:-- --:--:-- --:--:-- 69717 [Pipeline] sh 15:28:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:08 + sudo tee /etc/docker/daemon.new 15:28:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:08 { 15:28:08 "registry-mirrors": [ 15:28:08 "https://nexus3.edgexfoundry.org:10001" 15:28:08 ], 15:28:08 "bip": "10.250.0.254/24", 15:28:08 "hosts": [ 15:28:08 "tcp://0.0.0.0:5555", 15:28:08 "unix:///var/run/docker.sock" 15:28:08 ], 15:28:08 "mtu": 1458, 15:28:08 "selinux-enabled": true, 15:28:08 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:08 } [Pipeline] sh 15:28:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:28:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:27 provisioning config files... 15:28:27 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4130674937077130330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:28 ---> ****-login.sh 15:28:28 nexus3.edgexfoundry.org:10001 15:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:28 Configure a credential helper to remove this warning. See 15:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:28 15:28:28 Login Succeeded 15:28:28 nexus3.edgexfoundry.org:10002 15:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:28 Configure a credential helper to remove this warning. See 15:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:28 15:28:28 Login Succeeded 15:28:28 nexus3.edgexfoundry.org:10003 15:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:29 Configure a credential helper to remove this warning. See 15:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:29 15:28:29 Login Succeeded 15:28:29 nexus3.edgexfoundry.org:10004 15:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:29 Configure a credential helper to remove this warning. See 15:28:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:29 15:28:29 Login Succeeded 15:28:29 ****.io 15:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:30 Configure a credential helper to remove this warning. See 15:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:30 15:28:30 Login Succeeded 15:28:30 ---> ****-login.sh ends [Pipeline] } 15:28:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 15:28:30 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 15:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:31 ========================================================= 15:28:31 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:28:31 ========================================================= [Pipeline] fileExists [Pipeline] sh 15:28:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:28:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:28:31 c6b39de5b339: Pulling fs layer 15:28:31 a69c41024577: Pulling fs layer 15:28:31 d6de4b400683: Pulling fs layer 15:28:31 35cb2a7552d0: Pulling fs layer 15:28:31 4f4fb700ef54: Pulling fs layer 15:28:31 464afbd9ba4c: Pulling fs layer 15:28:31 00f215d4a9da: Pulling fs layer 15:28:31 d496ad576159: Pulling fs layer 15:28:31 35cb2a7552d0: Waiting 15:28:31 464afbd9ba4c: Waiting 15:28:31 4f4fb700ef54: Waiting 15:28:31 00f215d4a9da: Waiting 15:28:31 a69c41024577: Download complete 15:28:31 35cb2a7552d0: Verifying Checksum 15:28:31 35cb2a7552d0: Download complete 15:28:31 4f4fb700ef54: Download complete 15:28:31 464afbd9ba4c: Verifying Checksum 15:28:31 464afbd9ba4c: Download complete 15:28:31 c6b39de5b339: Verifying Checksum 15:28:31 c6b39de5b339: Download complete 15:28:32 d496ad576159: Download complete 15:28:32 c6b39de5b339: Pull complete 15:28:33 a69c41024577: Pull complete 15:28:33 d6de4b400683: Verifying Checksum 15:28:33 d6de4b400683: Download complete 15:28:34 00f215d4a9da: Verifying Checksum 15:28:34 00f215d4a9da: Download complete 15:28:47 d6de4b400683: Pull complete 15:28:47 35cb2a7552d0: Pull complete 15:28:47 4f4fb700ef54: Pull complete 15:28:47 464afbd9ba4c: Pull complete 15:28:57 00f215d4a9da: Pull complete 15:28:57 d496ad576159: Pull complete 15:28:57 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 15:28:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:28:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] fileExists [Pipeline] sh 15:28:57 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:28:57 WORKDIR /edgex 15:28:57 COPY go.mod . 15:28:57 RUN go mod download 15:28:57 + docker build -t ci-base-image-arm64 -f - . 15:28:58 Sending build context to Docker daemon 3.533MB 15:28:58 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:28:58 ---> f246e2811388 15:28:58 Step 2/4 : WORKDIR /edgex 15:29:00 ---> Running in b033d9137910 15:29:00 Removing intermediate container b033d9137910 15:29:00 ---> ac8b4c179518 15:29:00 Step 3/4 : COPY go.mod . 15:29:00 ---> 464d43a5950a 15:29:00 Step 4/4 : RUN go mod download 15:29:00 ---> Running in d1c4603b0358 15:30:08 Removing intermediate container d1c4603b0358 15:30:08 ---> c284e218284a 15:30:08 Successfully built c284e218284a 15:30:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:09 + docker inspect -f . ci-base-image-arm64 15:30:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:09 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 15:30:09 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:30:10 $ docker top 3544a606d7b6ca3033a77b82f0203a58d2a96415ee2480a924a5d611cd755781 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:11 + go version 15:30:11 go version go1.21.9 linux/arm64 [Pipeline] } 15:30:11 $ docker stop --time=1 3544a606d7b6ca3033a77b82f0203a58d2a96415ee2480a924a5d611cd755781 15:30:13 $ docker rm -f --volumes 3544a606d7b6ca3033a77b82f0203a58d2a96415ee2480a924a5d611cd755781 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:14 + docker inspect -f . ci-base-image-arm64 15:30:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:14 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 15:30:14 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:30:15 $ docker top 058826ca5516e3ce87bb26b56e01a821c94c3658bd533e62013be0f408b70ab3 -eo pid,comm [Pipeline] { [Pipeline] echo 15:30:16 ========================================================= 15:30:16 [edgeXBuildGoParallel] Running Tests and Build... 15:30:16 ========================================================= [Pipeline] sh 15:30:16 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 15:30:17 + make test 15:30:17 go test -race -coverprofile=coverage.out ./... 15:31:04 ? github.com/edgexfoundry/edgex-go [no test files] 15:34:11 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 15:34:11 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/core-keeper [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-auth [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 15:34:58 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 15:35:04 ? github.com/edgexfoundry/edgex-go/cmd/support-cron-scheduler [no test files] 15:35:04 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 15:35:04 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 15:35:04 ? github.com/edgexfoundry/edgex-go/internal [no test files] 15:35:04 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 15:35:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 15:35:15 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 15:35:16 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 1.118s coverage: 28.7% of statements 15:35:28 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 1.182s coverage: 97.0% of statements 15:35:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 15:35:31 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 15:35:31 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 15:35:35 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.264s coverage: 69.2% of statements 15:35:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 15:35:37 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 15:35:38 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 1.237s coverage: 53.2% of statements 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/keeper [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/application [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/container [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/constants [no test files] 15:35:44 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/config [no test files] 15:35:52 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces [no test files] 15:35:52 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/infrastructure/interfaces/mocks [no test files] 15:35:52 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/registry [no test files] 15:35:52 ? github.com/edgexfoundry/edgex-go/internal/core/keeper/utils [no test files] 15:35:52 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 15:35:53 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 9.416s coverage: 93.4% of statements 15:35:53 ok github.com/edgexfoundry/edgex-go/internal/core/keeper/controller/http 1.240s coverage: 91.7% of statements 15:35:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 15:35:59 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 15:36:00 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 1.243s coverage: 7.0% of statements 15:36:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 15:36:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 15:36:12 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/postgres [no test files] 15:36:13 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 15:36:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.614s coverage: 95.8% of statements 15:36:14 ok github.com/edgexfoundry/edgex-go/internal/io 1.096s coverage: 72.2% of statements 15:36:18 ? github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres/models [no test files] 15:36:19 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/postgres 1.108s coverage: 0.0% of statements [no tests to run] 15:36:25 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 15:36:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 15:36:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.296s coverage: 0.8% of statements 15:36:25 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 1.135s coverage: 30.7% of statements 15:36:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 1.148s coverage: 41.7% of statements 15:36:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 2.109s coverage: 77.8% of statements 15:36:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 1.090s coverage: 94.1% of statements 15:36:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 1.108s coverage: 96.3% of statements 15:36:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 1.118s coverage: 87.5% of statements 15:36:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 15:36:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 15:36:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 15:36:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 15:36:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 15:36:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 15:36:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 15:36:40 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 15:36:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 13.134s coverage: 94.4% of statements 15:36:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres [no test files] 15:36:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/config [no test files] 15:36:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/container [no test files] 15:36:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 15:36:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 15:36:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 15:36:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 15:36:56 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 15:36:56 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 15:37:00 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 15:37:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.858s coverage: 79.9% of statements 15:37:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 23.145s coverage: 92.9% of statements 15:37:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 1.084s coverage: 66.7% of statements 15:37:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 7.115s coverage: 62.3% of statements 15:37:00 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/postgres/handlers 1.107s coverage: 75.0% of statements 15:37:04 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/shared [no test files] 15:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.103s coverage: 87.2% of statements 15:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/common 1.074s coverage: 20.0% of statements 15:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 1.071s coverage: 100.0% of statements 15:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 1.268s coverage: 81.8% of statements 15:37:05 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 1.268s coverage: 82.1% of statements 15:37:06 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 15:37:08 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.111s coverage: 86.0% of statements 15:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 15:37:12 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 15:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.736s coverage: 63.1% of statements 15:37:13 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 1.124s coverage: 100.0% of statements 15:37:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 1.114s coverage: 89.4% of statements 15:37:15 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 1.069s coverage: 100.0% of statements 15:37:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth [no test files] 15:37:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/config [no test files] 15:37:15 ? github.com/edgexfoundry/edgex-go/internal/security/proxyauth/container [no test files] 15:37:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 1.072s coverage: 73.7% of statements 15:37:16 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 1.077s coverage: 100.0% of statements 15:37:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 15:37:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 15:37:22 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 15:37:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 1.662s coverage: 36.5% of statements 15:37:23 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 1.114s coverage: 89.5% of statements 15:37:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 15:37:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 15:37:24 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 15:37:24 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler [no test files] 15:37:25 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 1.117s coverage: 84.8% of statements 15:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application/action [no test files] 15:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/config [no test files] 15:37:28 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/container [no test files] 15:37:29 ok github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application 1.125s coverage: 5.2% of statements 15:37:35 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure [no test files] 15:37:35 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces [no test files] 15:37:35 ? github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks [no test files] 15:37:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 15:37:35 --- FAIL: TestPatchScheduleJob (0.01s) 15:37:35 --- FAIL: TestPatchScheduleJob/Valid (0.01s) 15:37:35 panic: 15:37:35 15:37:35 mock: Unexpected Method Call 15:37:35 ----------------------------- 15:37:35 15:37:35 UpdateScheduleJob(models.ScheduleJob,string) 15:37:35 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"17640569-c8c3-490a-8179-62e9975312ac", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"3c734da4-0df7-403f-b2ee-8d9cf25d8308", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:37:35 1: "" 15:37:35 15:37:35 The closest call I have is: 15:37:35 15:37:35 UpdateScheduleJob(models.ScheduleJob,string) 15:37:35 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:37:35 1: "" 15:37:35 15:37:35 Difference found in argument 0: 15:37:35 15:37:35 --- Expected 15:37:35 +++ Actual 15:37:35 @@ -18,3 +18,3 @@ 15:37:35 BaseScheduleAction: (models.BaseScheduleAction) { 15:37:35 - Id: (string) "", 15:37:35 + Id: (string) (len=36) "17640569-c8c3-490a-8179-62e9975312ac", 15:37:35 Type: (models.ScheduleActionType) (len=15) "EDGEXMESSAGEBUS", 15:37:35 @@ -27,3 +27,3 @@ 15:37:35 BaseScheduleAction: (models.BaseScheduleAction) { 15:37:35 - Id: (string) "", 15:37:35 + Id: (string) (len=36) "3c734da4-0df7-403f-b2ee-8d9cf25d8308", 15:37:35 Type: (models.ScheduleActionType) (len=4) "REST", 15:37:35 15:37:35 Diff: 0: FAIL: (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{17640569-c8c3-490a-8179-62e9975312ac EDGEXMESSAGEBUS application/json []} testTopic} {{3c734da4-0df7-403f-b2ee-8d9cf25d8308 REST application/json []} testAddress GET false}] [label] map[]}) != (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{ EDGEXMESSAGEBUS application/json []} testTopic} {{ REST application/json []} testAddress GET false}] [label] map[]}) 15:37:35 1: PASS: (string=) == (string=) [recovered] 15:37:35 panic: 15:37:35 15:37:35 mock: Unexpected Method Call 15:37:35 ----------------------------- 15:37:35 15:37:35 UpdateScheduleJob(models.ScheduleJob,string) 15:37:35 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"17640569-c8c3-490a-8179-62e9975312ac", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"3c734da4-0df7-403f-b2ee-8d9cf25d8308", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:37:35 1: "" 15:37:35 15:37:35 The closest call I have is: 15:37:35 15:37:35 UpdateScheduleJob(models.ScheduleJob,string) 15:37:35 0: models.ScheduleJob{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Name:"jobName", Definition:models.IntervalScheduleDef{BaseScheduleDef:models.BaseScheduleDef{Type:"INTERVAL", StartTimestamp:0, EndTimestamp:0}, Interval:"10m"}, Actions:[]models.ScheduleAction{models.EdgeXMessageBusAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"EDGEXMESSAGEBUS", ContentType:"application/json", Payload:[]uint8(nil)}, Topic:"testTopic"}, models.RESTAction{BaseScheduleAction:models.BaseScheduleAction{Id:"", Type:"REST", ContentType:"application/json", Payload:[]uint8(nil)}, Address:"testAddress", Method:"GET", InjectEdgeXAuth:false}}, AdminState:"", Labels:[]string{"label"}, Properties:map[string]interface {}(nil)} 15:37:35 1: "" 15:37:35 15:37:35 Difference found in argument 0: 15:37:35 15:37:35 --- Expected 15:37:35 +++ Actual 15:37:35 @@ -18,3 +18,3 @@ 15:37:35 BaseScheduleAction: (models.BaseScheduleAction) { 15:37:35 - Id: (string) "", 15:37:35 + Id: (string) (len=36) "17640569-c8c3-490a-8179-62e9975312ac", 15:37:35 Type: (models.ScheduleActionType) (len=15) "EDGEXMESSAGEBUS", 15:37:35 @@ -27,3 +27,3 @@ 15:37:35 BaseScheduleAction: (models.BaseScheduleAction) { 15:37:35 - Id: (string) "", 15:37:35 + Id: (string) (len=36) "3c734da4-0df7-403f-b2ee-8d9cf25d8308", 15:37:35 Type: (models.ScheduleActionType) (len=4) "REST", 15:37:35 15:37:35 Diff: 0: FAIL: (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{17640569-c8c3-490a-8179-62e9975312ac EDGEXMESSAGEBUS application/json []} testTopic} {{3c734da4-0df7-403f-b2ee-8d9cf25d8308 REST application/json []} testAddress GET false}] [label] map[]}) != (models.ScheduleJob={{0 0} 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc jobName {{INTERVAL 0 0} 10m} [{{ EDGEXMESSAGEBUS application/json []} testTopic} {{ REST application/json []} testAddress GET false}] [label] map[]}) 15:37:35 1: PASS: (string=) == (string=) 15:37:35 15:37:35 goroutine 82 [running]: 15:37:35 testing.tRunner.func1.2({0xa44e40, 0xc000362b10}) 15:37:35 /usr/local/go/src/testing/testing.go:1545 +0x2c8 15:37:35 testing.tRunner.func1() 15:37:35 /usr/local/go/src/testing/testing.go:1548 +0x4c4 15:37:35 panic({0xa44e40?, 0xc000362b10?}) 15:37:35 /usr/local/go/src/runtime/panic.go:920 +0x26c 15:37:35 github.com/stretchr/testify/mock.(*Mock).fail(0xc0002df130, {0xbb7558, 0x6f}, {0xc00034d280, 0x4, 0x4}) 15:37:35 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:335 +0x150 15:37:35 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0002df130, {0xe4f6b3, 0x11}, {0xc000368280?, 0x2, 0x2}) 15:37:35 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:494 +0x4d8 15:37:35 github.com/stretchr/testify/mock.(*Mock).Called(0x0?, {0xc000368280, 0x2, 0x2}) 15:37:35 /go/pkg/mod/github.com/stretchr/testify@v1.9.0/mock/mock.go:466 +0x154 15:37:35 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/infrastructure/interfaces/mocks.(*SchedulerManager).UpdateScheduleJob(0xc0002df130, {{0x0, 0x0}, {0xb9ebe8, 0x24}, {0xb82f46, 0x7}, {0xd107a0, 0xc0003513e0}, {0xc000368260, ...}, ...}, ...) 15:37:35 /w/workspace/edgex-go/1/internal/support/cronscheduler/infrastructure/interfaces/mocks/SchedulerManager.go:140 +0x108 15:37:35 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/application.PatchScheduleJob({0xd174e0, 0x12c00c0}, {0xc000362630, 0xc000362640, 0xc00034cd00, {0xc00025bc20, 0x2, 0x2}, 0x0, {0xc000362670, ...}, ...}, ...) 15:37:35 /w/workspace/edgex-go/1/internal/support/cronscheduler/application/schedulejob.go:127 +0x514 15:37:35 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http.(*ScheduleJobController).PatchScheduleJob(0xc0002d7050, {0xd24160, 0xc000360140}) 15:37:35 /w/workspace/edgex-go/1/internal/support/cronscheduler/controller/http/schedulejob.go:175 +0x4dc 15:37:35 github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http.TestPatchScheduleJob.func3(0x0?) 15:37:35 /w/workspace/edgex-go/1/internal/support/cronscheduler/controller/http/schedulejob_test.go:493 +0x62c 15:37:35 testing.tRunner(0xc0003371e0, 0xc000350c00) 15:37:35 /usr/local/go/src/testing/testing.go:1595 +0x1b4 15:37:35 created by testing.(*T).Run in goroutine 81 15:37:35 /usr/local/go/src/testing/testing.go:1648 +0x5ec 15:37:35 FAIL github.com/edgexfoundry/edgex-go/internal/support/cronscheduler/controller/http 0.252s 15:37:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 15:37:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 15:37:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 15:37:42 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 15:37:49 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 7.175s coverage: 19.9% of statements 15:37:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 15:37:49 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 15:37:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 15:37:49 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 15:37:51 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 1.539s coverage: 95.7% of statements 15:37:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 15:37:53 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 15:37:54 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 1.151s coverage: 61.8% of statements 15:37:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 15:37:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 15:37:58 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 1.277s coverage: 98.9% of statements 15:37:58 FAIL 15:38:00 make: *** [Makefile:161: unittest] Error 1 [Pipeline] } 15:38:00 $ docker stop --time=1 058826ca5516e3ce87bb26b56e01a821c94c3658bd533e62013be0f408b70ab3 15:38:01 $ docker rm -f --volumes 058826ca5516e3ce87bb26b56e01a821c94c3658bd533e62013be0f408b70ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:04 15:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:05 arm64: Pulling from edgex-lftools-log-publisher 15:38:05 8998bd30e6a1: Pulling fs layer 15:38:05 04944245beec: Pulling fs layer 15:38:05 699f458cf7ca: Pulling fs layer 15:38:05 765212b225bb: Pulling fs layer 15:38:05 f23df028b6ca: Pulling fs layer 15:38:05 d65c8cfc05b1: Pulling fs layer 15:38:05 2437ff75d9bd: Pulling fs layer 15:38:05 f23df028b6ca: Waiting 15:38:05 d65c8cfc05b1: Waiting 15:38:05 2437ff75d9bd: Waiting 15:38:05 765212b225bb: Waiting 15:38:05 04944245beec: Verifying Checksum 15:38:05 04944245beec: Download complete 15:38:05 765212b225bb: Verifying Checksum 15:38:05 765212b225bb: Download complete 15:38:05 f23df028b6ca: Verifying Checksum 15:38:05 f23df028b6ca: Download complete 15:38:05 d65c8cfc05b1: Verifying Checksum 15:38:05 d65c8cfc05b1: Download complete 15:38:05 699f458cf7ca: Verifying Checksum 15:38:05 699f458cf7ca: Download complete 15:38:06 8998bd30e6a1: Verifying Checksum 15:38:06 8998bd30e6a1: Download complete 15:38:08 2437ff75d9bd: Verifying Checksum 15:38:08 2437ff75d9bd: Download complete 15:38:10 8998bd30e6a1: Pull complete 15:38:11 04944245beec: Pull complete 15:38:13 699f458cf7ca: Pull complete 15:38:13 765212b225bb: Pull complete 15:38:13 f23df028b6ca: Pull complete 15:38:13 d65c8cfc05b1: Pull complete 15:38:32 2437ff75d9bd: Pull complete 15:38:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:38:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:32 prd-ubuntu20.04-docker-arm64-4c-16g-9596 does not seem to be running inside a container 15:38:32 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:38:34 $ docker top cb5dfd6ae7b364b0e93ae8d395384d1ba966a86bf1a2b78f984cc92007570195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:35 ---> job-cost.sh 15:38:35 lf-activate-venv: SKIPPING 15:38:35 INFO: No Stack... 15:38:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:38:37 INFO: Archiving Costs [Pipeline] sh 15:38:37 + cut -d, -f6 15:38:37 + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock 15:38:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-edgex-go-PR-4893-1-stack-cost] 15:38:37 Resource [jenkins-edgexfoundry-edgex-go-PR-4893-1-stack-cost] did not exist. Created. 15:38:37 Lock acquired on [Resource: jenkins-edgexfoundry-edgex-go-PR-4893-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:38 + echo total: 0.10999999940395355 [Pipeline] stash 15:38:39 Stashed 1 file(s) [Pipeline] } 15:38:39 Lock released on resource [Resource: jenkins-edgexfoundry-edgex-go-PR-4893-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:38:39 $ docker stop --time=1 cb5dfd6ae7b364b0e93ae8d395384d1ba966a86bf1a2b78f984cc92007570195 15:38:40 $ docker rm -f --volumes cb5dfd6ae7b364b0e93ae8d395384d1ba966a86bf1a2b78f984cc92007570195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:38:43 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 15:38:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:38:44 ---> package-listing.sh 15:38:44 ++ tr '[:upper:]' '[:lower:]' 15:38:44 ++ facter osfamily 15:38:45 + OS_FAMILY=debian 15:38:45 + workspace=/w/workspace/edgex-go/1 15:38:45 + START_PACKAGES=/tmp/packages_start.txt 15:38:45 + END_PACKAGES=/tmp/packages_end.txt 15:38:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:38:45 + PACKAGES=/tmp/packages_start.txt 15:38:45 + '[' /w/workspace/edgex-go/1 ']' 15:38:45 + PACKAGES=/tmp/packages_end.txt 15:38:45 + case "${OS_FAMILY}" in 15:38:45 + dpkg -l 15:38:45 + grep '^ii' 15:38:45 + '[' -f /tmp/packages_start.txt ']' 15:38:45 + '[' -f /tmp/packages_end.txt ']' 15:38:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:38:45 + '[' /w/workspace/edgex-go/1 ']' 15:38:45 + mkdir -p /w/workspace/edgex-go/1/archives/ 15:38:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 15:38:45 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 15:38:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:46 15:38:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:46 latest: Pulling from edgex-lftools-log-publisher 15:38:46 5eb5b503b376: Pulling fs layer 15:38:46 5c69ac0246d0: Pulling fs layer 15:38:46 ec43610c2a17: Pulling fs layer 15:38:46 3a2ae6a8a46f: Pulling fs layer 15:38:46 33b1e0a273af: Pulling fs layer 15:38:46 5d3b04190fa2: Pulling fs layer 15:38:46 2f39f015ded8: Pulling fs layer 15:38:46 3a2ae6a8a46f: Waiting 15:38:46 33b1e0a273af: Waiting 15:38:46 5d3b04190fa2: Waiting 15:38:46 2f39f015ded8: Waiting 15:38:46 5c69ac0246d0: Download complete 15:38:46 3a2ae6a8a46f: Verifying Checksum 15:38:46 3a2ae6a8a46f: Download complete 15:38:46 33b1e0a273af: Verifying Checksum 15:38:46 33b1e0a273af: Download complete 15:38:46 5d3b04190fa2: Verifying Checksum 15:38:46 5d3b04190fa2: Download complete 15:38:46 ec43610c2a17: Verifying Checksum 15:38:46 ec43610c2a17: Download complete 15:38:46 5eb5b503b376: Verifying Checksum 15:38:46 5eb5b503b376: Download complete 15:38:47 2f39f015ded8: Verifying Checksum 15:38:47 2f39f015ded8: Download complete 15:38:47 5eb5b503b376: Pull complete 15:38:48 5c69ac0246d0: Pull complete 15:38:48 ec43610c2a17: Pull complete 15:38:48 3a2ae6a8a46f: Pull complete 15:38:48 33b1e0a273af: Pull complete 15:38:48 5d3b04190fa2: Pull complete 15:38:53 2f39f015ded8: Pull complete 15:38:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:53 prd-ubuntu20.04-docker-8c-8g-9595 does not seem to be running inside a container 15:38:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:38:59 $ docker top a466677fc3d8a0ba7b337dfdbb00850ea62aea6909640b656fc4b2ce0d3454bf -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:00 + touch /tmp/pre-build-complete [Pipeline] sh 15:39:00 + mkdir -p /var/log/sysstat [Pipeline] sh 15:39:00 + ls /var/log/sa-host 15:39:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:00 provisioning config files... 15:39:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3327879146638819235tmp [Pipeline] { [Pipeline] echo 15:39:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:39:01 ---> create-netrc.sh [Pipeline] } 15:39:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:39:01 ---> python-tools-install.sh [Pipeline] echo 15:39:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:39:02 ---> sudo-logs.sh 15:39:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:39:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:39:02 ---> job-cost.sh 15:39:02 lf-activate-venv: SKIPPING 15:39:02 DEBUG: total: 0.10999999940395355 15:39:02 INFO: Retrieving Stack Cost... 15:39:02 INFO: Retrieving Pricing Info for: v3-standard-8 15:39:03 INFO: Archiving Costs [Pipeline] echo 15:39:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:39:03 ---> logs-deploy.sh 15:39:03 lf-activate-venv: SKIPPING 15:39:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4893/1 15:39:03 INFO: archiving workspace using pattern(s): 15:39:04 Archives upload complete. 15:39:04 INFO: archiving logs to Nexus