Pull request #3900 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 hahattan for edgexfoundry/edgex-go Loading trusted files from base branch main at fbf009a3584204b1f7152455677e8e4d1b9535fc rather than a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 Obtained Jenkinsfile from fbf009a3584204b1f7152455677e8e4d1b9535fc 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-ssh16996650442217417730.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh10353865297989625629.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-3900/workspace@libs/edgex-global-pipelines # 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-3900/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh960657751523202075.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-3900/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7226334853468960513.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh18160176799538044314.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-3900/workspace@libs/lf-pipelines # 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-3900/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6563698334699883186.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.17 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/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7013 in /w/workspace/edgexfoundry_edgex-go_PR-3900 [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.24.4' 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 /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7406215733332829043.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh9033797801009749425.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3900/head:refs/remotes/origin/PR-3900 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fbf009a3584204b1f7152455677e8e4d1b9535fc into PR head commit a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 Merge succeeded, producing a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 Checking out Revision a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 (PR-3900) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh6261512369167330634.key > git merge fbf009a3584204b1f7152455677e8e4d1b9535fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 # timeout=10 Commit message: "feat(metadata): invoke validation before adding/updating device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-14T05:15:58.120Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-14T05:15:58.286Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-14T05:15:58.380Z] ========================================================= [2022-03-14T05:15:58.380Z] EdgeX Global Pipelines Version Info [2022-03-14T05:15:58.380Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:15:59.541Z] ------------------- [2022-03-14T05:15:59.541Z] stable info: [2022-03-14T05:15:59.541Z] ------------------- [2022-03-14T05:15:59.541Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-14T05:15:59.541Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-14T05:15:59.541Z] Message: update stable to v1.0.220 [2022-03-14T05:16:00.114Z] ------------------- [2022-03-14T05:16:00.114Z] experimental info: [2022-03-14T05:16:00.114Z] ------------------- [2022-03-14T05:16:00.114Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-14T05:16:00.114Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-14T05:16:00.114Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-14T05:16:00.380Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2022-03-14T05:16:00.418Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2022-03-14T05:16:00.461Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-14T05:16:00.501Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-14T05:16:00.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-14T05:16:00.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-14T05:16:00.615Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-14T05:16:00.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2022-03-14T05:16:00.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2022-03-14T05:16:00.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2022-03-14T05:16:00.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-14T05:16:00.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-14T05:16:00.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-14T05:16:00.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-14T05:16:00.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-14T05:16:00.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-14T05:16:00.994Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-14T05:16:01.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-14T05:16:01.067Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-14T05:16:01.106Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-14T05:16:01.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-14T05:16:01.182Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-14T05:16:01.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3900 [Pipeline] echo [2022-03-14T05:16:01.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3900 [Pipeline] echo [2022-03-14T05:16:01.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3900 [Pipeline] echo [2022-03-14T05:16:01.343Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [Pipeline] echo [2022-03-14T05:16:01.383Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8d5021 [Pipeline] echo [2022-03-14T05:16:01.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T05:16:01.528Z] provisioning config files... [2022-03-14T05:16:01.545Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1179954327769294313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:16:01.890Z] ---> docker-login.sh [2022-03-14T05:16:01.890Z] nexus3.edgexfoundry.org:10001 [2022-03-14T05:16:01.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:16:02.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:16:02.157Z] Configure a credential helper to remove this warning. See [2022-03-14T05:16:02.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:16:02.157Z] [2022-03-14T05:16:02.157Z] Login Succeeded [2022-03-14T05:16:02.157Z] nexus3.edgexfoundry.org:10002 [2022-03-14T05:16:02.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:16:02.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:16:02.157Z] Configure a credential helper to remove this warning. See [2022-03-14T05:16:02.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:16:02.157Z] [2022-03-14T05:16:02.157Z] Login Succeeded [2022-03-14T05:16:02.157Z] nexus3.edgexfoundry.org:10003 [2022-03-14T05:16:02.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:16:02.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:16:02.428Z] Configure a credential helper to remove this warning. See [2022-03-14T05:16:02.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:16:02.428Z] [2022-03-14T05:16:02.428Z] Login Succeeded [2022-03-14T05:16:02.428Z] nexus3.edgexfoundry.org:10004 [2022-03-14T05:16:02.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:16:02.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:16:02.428Z] Configure a credential helper to remove this warning. See [2022-03-14T05:16:02.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:16:02.428Z] [2022-03-14T05:16:02.428Z] Login Succeeded [2022-03-14T05:16:02.428Z] docker.io [2022-03-14T05:16:02.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:16:03.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:16:03.008Z] Configure a credential helper to remove this warning. See [2022-03-14T05:16:03.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:16:03.008Z] [2022-03-14T05:16:03.008Z] Login Succeeded [2022-03-14T05:16:03.008Z] ---> docker-login.sh ends [Pipeline] } [2022-03-14T05:16:03.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-14T05:16:03.456Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/core-command/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo core-command,cmd/core-command/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/core-data/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo core-data,cmd/core-data/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/core-metadata/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/support-notifications/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/support-scheduler/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2022-03-14T05:16:03.456Z] + for file in '`ls cmd/**/Dockerfile`' [2022-03-14T05:16:03.456Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2022-03-14T05:16:03.456Z] ++ cut -d/ -f2 [2022-03-14T05:16:03.456Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2022-03-14T05:16:03.506Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-14T05:16:04.018Z] + git rev-list -1 --merges a8d5021d7becae3b61b3c2f3387d4470e3d66bc3~1..a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [Pipeline] echo [2022-03-14T05:16:04.053Z] -----------> git rev-list -1 --merges a8d5021d7becae3b61b3c2f3387d4470e3d66bc3~1..a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [false] [Pipeline] sh [2022-03-14T05:16:04.369Z] + git log --format=format:%s -1 a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [Pipeline] echo [2022-03-14T05:16:04.406Z] ========================================================= [2022-03-14T05:16:04.406Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-14T05:16:04.406Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-14T05:16:04.987Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-14T05:16:04.987Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-14T05:16:04.987Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-14T05:16:04.987Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-14T05:16:04.987Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-14T05:16:04.987Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-14T05:16:04.987Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:16:05.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T05:16:05.467Z] [2022-03-14T05:16:05.467Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:16:05.810Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T05:16:05.811Z] latest: Pulling from edgex-devops/git-semver [2022-03-14T05:16:05.811Z] a0d0a0d46f8b: Pulling fs layer [2022-03-14T05:16:05.811Z] 3e5f54012d9b: Pulling fs layer [2022-03-14T05:16:05.811Z] 4c7163046ea9: Pulling fs layer [2022-03-14T05:16:05.811Z] 0c2d73faf560: Pulling fs layer [2022-03-14T05:16:05.811Z] 0c2d73faf560: Waiting [2022-03-14T05:16:05.811Z] 3e5f54012d9b: Verifying Checksum [2022-03-14T05:16:05.811Z] 3e5f54012d9b: Download complete [2022-03-14T05:16:05.811Z] a0d0a0d46f8b: Verifying Checksum [2022-03-14T05:16:05.811Z] a0d0a0d46f8b: Download complete [2022-03-14T05:16:05.811Z] 0c2d73faf560: Verifying Checksum [2022-03-14T05:16:05.811Z] 0c2d73faf560: Download complete [2022-03-14T05:16:05.811Z] 4c7163046ea9: Verifying Checksum [2022-03-14T05:16:05.811Z] 4c7163046ea9: Download complete [2022-03-14T05:16:06.090Z] a0d0a0d46f8b: Pull complete [2022-03-14T05:16:06.090Z] 3e5f54012d9b: Pull complete [2022-03-14T05:16:06.358Z] 4c7163046ea9: Pull complete [2022-03-14T05:16:06.625Z] 0c2d73faf560: Pull complete [2022-03-14T05:16:06.625Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-14T05:16:06.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T05:16:06.625Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-14T05:16:06.718Z] prd-centos7-docker-4c-2g-7013 does not seem to be running inside a container [2022-03-14T05:16:06.769Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-14T05:16:07.525Z] $ docker top 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-14T05:16:07.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-14T05:16:07.699Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-14T05:16:07.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-14T05:16:07.811Z] $ docker exec 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a ssh-agent [2022-03-14T05:16:07.896Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpiEioj/agent.14 [2022-03-14T05:16:07.896Z] SSH_AGENT_PID=21 [2022-03-14T05:16:07.903Z] Running ssh-add (command line suppressed) [2022-03-14T05:16:07.997Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2428967732423317615.key (/w/workspace/edgex-go/1@tmp/private_key_2428967732423317615.key) [2022-03-14T05:16:08.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-14T05:16:08.339Z] + git tag --points-at HEAD [Pipeline] } [2022-03-14T05:16:08.367Z] $ docker exec --env ******** --env ******** 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a ssh-agent -k [2022-03-14T05:16:08.475Z] unset SSH_AUTH_SOCK; [2022-03-14T05:16:08.475Z] unset SSH_AGENT_PID; [2022-03-14T05:16:08.475Z] echo Agent pid 21 killed; [2022-03-14T05:16:08.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-14T05:16:08.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-14T05:16:08.565Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-14T05:16:08.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-14T05:16:08.697Z] $ docker exec 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a ssh-agent [2022-03-14T05:16:08.835Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAFBhJm/agent.55 [2022-03-14T05:16:08.835Z] SSH_AGENT_PID=61 [2022-03-14T05:16:08.839Z] Running ssh-add (command line suppressed) [2022-03-14T05:16:08.976Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_2659297770836431704.key (/w/workspace/edgex-go/1@tmp/private_key_2659297770836431704.key) [2022-03-14T05:16:08.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-14T05:16:09.329Z] + git semver init [2022-03-14T05:16:09.329Z] # -> Open(): unable to determine branch for HEAD [2022-03-14T05:16:09.329Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2022-03-14T05:16:09.329Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2022-03-14T05:16:09.329Z] # $SEMVER_REMOTE_NAME = origin [2022-03-14T05:16:09.329Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-14T05:16:09.329Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-14T05:16:09.329Z] # $SEMVER_BRANCH = PR-3900 [2022-03-14T05:16:09.329Z] # $SEMVER_TEMP = /tmp/semver-344882359 [2022-03-14T05:16:09.329Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2022-03-14T05:16:24.305Z] # '/tmp/semver-344882359' -> '/w/workspace/edgex-go/1/.semver' [2022-03-14T05:16:24.305Z] # -> Force: false [2022-03-14T05:16:24.305Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2022-03-14T05:16:24.335Z] $ docker exec --env ******** --env ******** 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a ssh-agent -k [2022-03-14T05:16:24.434Z] unset SSH_AUTH_SOCK; [2022-03-14T05:16:24.435Z] unset SSH_AGENT_PID; [2022-03-14T05:16:24.435Z] echo Agent pid 61 killed; [2022-03-14T05:16:24.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-14T05:16:24.868Z] + git semver [Pipeline] } [2022-03-14T05:16:24.904Z] $ docker stop --time=1 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a [2022-03-14T05:16:27.295Z] $ docker rm -f 48375c006c908b28dc1b598fefbfd0c2781892a5dd36a50447be78dffbd00f3a [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-14T05:16:27.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-14T05:16:28.035Z] Stashed 1 file(s) [Pipeline] echo [2022-03-14T05:16:28.053Z] [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] echo [2022-03-14T05:16:28.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-14T05:16:28.553Z] ========================================================= [2022-03-14T05:16:28.553Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-14T05:16:28.553Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:16:28.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-14T05:16:28.905Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-14T05:16:28.905Z] 59bf1c3509f3: Pulling fs layer [2022-03-14T05:16:28.905Z] 666ba61612fd: Pulling fs layer [2022-03-14T05:16:28.905Z] 8ed8ca486205: Pulling fs layer [2022-03-14T05:16:28.905Z] 4fe6c5a15a65: Pulling fs layer [2022-03-14T05:16:28.905Z] 22a0e8bec74d: Pulling fs layer [2022-03-14T05:16:28.905Z] 640e595b4fbd: Pulling fs layer [2022-03-14T05:16:28.905Z] 763cafe07f6e: Pulling fs layer [2022-03-14T05:16:28.905Z] 0c0b528cf693: Pulling fs layer [2022-03-14T05:16:28.905Z] 10935f4eaf8b: Pulling fs layer [2022-03-14T05:16:28.905Z] 640e595b4fbd: Waiting [2022-03-14T05:16:28.905Z] 763cafe07f6e: Waiting [2022-03-14T05:16:28.905Z] 0c0b528cf693: Waiting [2022-03-14T05:16:28.905Z] 10935f4eaf8b: Waiting [2022-03-14T05:16:28.905Z] 4fe6c5a15a65: Waiting [2022-03-14T05:16:28.905Z] 22a0e8bec74d: Waiting [2022-03-14T05:16:28.905Z] 8ed8ca486205: Verifying Checksum [2022-03-14T05:16:28.905Z] 8ed8ca486205: Download complete [2022-03-14T05:16:28.905Z] 666ba61612fd: Verifying Checksum [2022-03-14T05:16:28.905Z] 666ba61612fd: Download complete [2022-03-14T05:16:28.905Z] 22a0e8bec74d: Verifying Checksum [2022-03-14T05:16:28.905Z] 22a0e8bec74d: Download complete [2022-03-14T05:16:29.170Z] 640e595b4fbd: Verifying Checksum [2022-03-14T05:16:29.170Z] 640e595b4fbd: Download complete [2022-03-14T05:16:29.170Z] 763cafe07f6e: Verifying Checksum [2022-03-14T05:16:29.170Z] 763cafe07f6e: Download complete [2022-03-14T05:16:29.170Z] 59bf1c3509f3: Verifying Checksum [2022-03-14T05:16:29.170Z] 59bf1c3509f3: Download complete [2022-03-14T05:16:29.170Z] 0c0b528cf693: Verifying Checksum [2022-03-14T05:16:29.170Z] 0c0b528cf693: Download complete [2022-03-14T05:16:29.751Z] 10935f4eaf8b: Verifying Checksum [2022-03-14T05:16:29.751Z] 10935f4eaf8b: Download complete [2022-03-14T05:16:29.751Z] 4fe6c5a15a65: Verifying Checksum [2022-03-14T05:16:29.751Z] 4fe6c5a15a65: Download complete [2022-03-14T05:16:29.751Z] 59bf1c3509f3: Pull complete [2022-03-14T05:16:29.751Z] 666ba61612fd: Pull complete [2022-03-14T05:16:29.751Z] 8ed8ca486205: Pull complete [2022-03-14T05:16:34.010Z] 4fe6c5a15a65: Pull complete [2022-03-14T05:16:34.010Z] 22a0e8bec74d: Pull complete [2022-03-14T05:16:34.010Z] 640e595b4fbd: Pull complete [2022-03-14T05:16:34.271Z] 763cafe07f6e: Pull complete [2022-03-14T05:16:34.271Z] 0c0b528cf693: Pull complete [2022-03-14T05:16:36.862Z] 10935f4eaf8b: Pull complete [2022-03-14T05:16:36.862Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-14T05:16:36.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-14T05:16:36.863Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:16:37.218Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-14T05:16:37.218Z] WORKDIR /edgex [2022-03-14T05:16:37.218Z] COPY go.mod . [2022-03-14T05:16:37.218Z] RUN go mod download' [2022-03-14T05:16:37.218Z] + docker build -t ci-base-image-x86_64 -f - . [2022-03-14T05:16:38.728Z] Sending build context to Docker daemon 334.1MB [2022-03-14T05:16:38.728Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-14T05:16:38.728Z] ---> 99d49a6021b9 [2022-03-14T05:16:38.728Z] Step 2/4 : WORKDIR /edgex [2022-03-14T05:16:41.278Z] ---> Running in 0a135ab06866 [2022-03-14T05:16:41.278Z] Removing intermediate container 0a135ab06866 [2022-03-14T05:16:41.278Z] ---> f9f25273d045 [2022-03-14T05:16:41.278Z] Step 3/4 : COPY go.mod . [2022-03-14T05:16:41.278Z] ---> 4e854f590d95 [2022-03-14T05:16:41.278Z] Step 4/4 : RUN go mod download [2022-03-14T05:16:41.278Z] ---> Running in 9a913a437234 [2022-03-14T05:16:43.346Z] Still waiting to schedule task [2022-03-14T05:16:43.346Z] ‘prd-centos7-blackbox-4c-2g-6902’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-03-14T05:16:43.346Z] ‘prd-centos7-docker-4c-2g-7004’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-03-14T05:16:43.347Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-7008’ is offline [2022-03-14T05:16:43.347Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-7014’ is offline [2022-03-14T05:16:53.401Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7014 in /w/workspace/edgexfoundry_edgex-go_PR-3900 [Pipeline] { [Pipeline] ws [2022-03-14T05:16:53.447Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2022-03-14T05:16:53.699Z] The recommended git tool is: git [2022-03-14T05:16:58.634Z] using credential edgex-jenkins-ssh [2022-03-14T05:16:58.653Z] Cloning the remote Git repository [2022-03-14T05:16:58.725Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2022-03-14T05:16:58.810Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2022-03-14T05:16:58.903Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-14T05:16:58.904Z] > git --version # timeout=10 [2022-03-14T05:16:58.925Z] > git --version # 'git version 2.17.1' [2022-03-14T05:16:58.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T05:16:59.080Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-14T05:17:13.464Z] Removing intermediate container 9a913a437234 [2022-03-14T05:17:13.464Z] ---> ed66f135477d [2022-03-14T05:17:13.464Z] Successfully built ed66f135477d [2022-03-14T05:17:13.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:17:13.797Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-14T05:17:13.797Z] . [Pipeline] withDockerContainer [2022-03-14T05:17:13.894Z] prd-centos7-docker-4c-2g-7013 does not seem to be running inside a container [2022-03-14T05:17:13.943Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-14T05:17:14.345Z] $ docker top 5f605372c25162962c479d9f2ec8f08034481d847ae402ce201a01b02007edd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T05:17:14.750Z] + go version [2022-03-14T05:17:14.751Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-14T05:17:14.786Z] $ docker stop --time=1 5f605372c25162962c479d9f2ec8f08034481d847ae402ce201a01b02007edd4 [2022-03-14T05:17:15.673Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-14T05:17:15.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-14T05:17:15.721Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2022-03-14T05:17:15.751Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2022-03-14T05:17:15.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T05:17:15.764Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3900/head:refs/remotes/origin/PR-3900 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-14T05:17:15.973Z] $ docker rm -f 5f605372c25162962c479d9f2ec8f08034481d847ae402ce201a01b02007edd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:17:16.599Z] Merging remotes/origin/main commit fbf009a3584204b1f7152455677e8e4d1b9535fc into PR head commit a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [2022-03-14T05:17:16.625Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-14T05:17:16.625Z] . [Pipeline] withDockerContainer [2022-03-14T05:17:16.716Z] prd-centos7-docker-4c-2g-7013 does not seem to be running inside a container [2022-03-14T05:17:16.759Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-14T05:17:16.958Z] Merge succeeded, producing a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 [2022-03-14T05:17:16.959Z] Checking out Revision a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 (PR-3900) [2022-03-14T05:17:17.108Z] $ docker top 9923459d3ca764db2f02478411a191e713bd47f5e18c6960b744a8bd8e63346d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-14T05:17:17.233Z] ========================================================= [2022-03-14T05:17:17.233Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-14T05:17:17.233Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:17:17.572Z] + make test [2022-03-14T05:17:17.572Z] go mod tidy [2022-03-14T05:17:17.572Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-14T05:17:16.622Z] > git config core.sparsecheckout # timeout=10 [2022-03-14T05:17:16.644Z] > git checkout -f a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 # timeout=10 [2022-03-14T05:17:16.867Z] > git remote # timeout=10 [2022-03-14T05:17:16.884Z] > git config --get remote.origin.url # timeout=10 [2022-03-14T05:17:16.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T05:17:16.918Z] > git merge fbf009a3584204b1f7152455677e8e4d1b9535fc # timeout=10 [2022-03-14T05:17:16.943Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-14T05:17:16.969Z] > git config core.sparsecheckout # timeout=10 [2022-03-14T05:17:16.981Z] > git checkout -f a8d5021d7becae3b61b3c2f3387d4470e3d66bc3 # timeout=10 [2022-03-14T05:17:21.364Z] Commit message: "feat(metadata): invoke validation before adding/updating device" [2022-03-14T05:17:21.428Z] > git --version # timeout=10 [2022-03-14T05:17:21.440Z] > git --version # 'git version 2.17.1' [2022-03-14T05:17:21.455Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-14T05:17:22.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-14T05:17:22.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-14T05:17:22.496Z] Dload Upload Total Spent Left Speed [2022-03-14T05:17:22.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-03-14T05:17:23.044Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-14T05:17:23.410Z] + sudo tee /etc/docker/daemon.new [2022-03-14T05:17:23.410Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-14T05:17:23.410Z] { [2022-03-14T05:17:23.410Z] "registry-mirrors": [ [2022-03-14T05:17:23.410Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-14T05:17:23.410Z] ], [2022-03-14T05:17:23.410Z] "bip": "10.250.0.254/24", [2022-03-14T05:17:23.410Z] "hosts": [ [2022-03-14T05:17:23.410Z] "tcp://0.0.0.0:5555", [2022-03-14T05:17:23.410Z] "unix:///var/run/docker.sock" [2022-03-14T05:17:23.410Z] ], [2022-03-14T05:17:23.410Z] "mtu": 1458, [2022-03-14T05:17:23.410Z] "selinux-enabled": true, [2022-03-14T05:17:23.410Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-14T05:17:23.410Z] } [Pipeline] sh [2022-03-14T05:17:23.888Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-14T05:17:24.219Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-14T05:17:24.252Z] + sudo service docker restart [2022-03-14T05:17:42.533Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T05:17:42.631Z] provisioning config files... [2022-03-14T05:17:42.655Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config451866903684370360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:17:43.049Z] ---> docker-login.sh [2022-03-14T05:17:43.049Z] nexus3.edgexfoundry.org:10001 [2022-03-14T05:17:43.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:17:43.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:17:43.917Z] Configure a credential helper to remove this warning. See [2022-03-14T05:17:43.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:17:43.917Z] [2022-03-14T05:17:43.917Z] Login Succeeded [2022-03-14T05:17:43.917Z] nexus3.edgexfoundry.org:10002 [2022-03-14T05:17:44.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:17:44.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:17:44.199Z] Configure a credential helper to remove this warning. See [2022-03-14T05:17:44.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:17:44.199Z] [2022-03-14T05:17:44.199Z] Login Succeeded [2022-03-14T05:17:44.199Z] nexus3.edgexfoundry.org:10003 [2022-03-14T05:17:44.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:17:44.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:17:44.800Z] Configure a credential helper to remove this warning. See [2022-03-14T05:17:44.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:17:44.800Z] [2022-03-14T05:17:44.800Z] Login Succeeded [2022-03-14T05:17:44.800Z] nexus3.edgexfoundry.org:10004 [2022-03-14T05:17:45.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:17:45.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:17:45.359Z] Configure a credential helper to remove this warning. See [2022-03-14T05:17:45.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:17:45.359Z] [2022-03-14T05:17:45.359Z] Login Succeeded [2022-03-14T05:17:45.359Z] docker.io [2022-03-14T05:17:45.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T05:17:45.901Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-14T05:17:45.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T05:17:45.905Z] Configure a credential helper to remove this warning. See [2022-03-14T05:17:45.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T05:17:45.905Z] [2022-03-14T05:17:45.905Z] Login Succeeded [2022-03-14T05:17:45.905Z] ---> docker-login.sh ends [Pipeline] } [2022-03-14T05:17:45.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-03-14T05:17:46.168Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-14T05:17:46.434Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [Pipeline] echo [2022-03-14T05:17:46.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-14T05:17:46.648Z] ========================================================= [2022-03-14T05:17:46.648Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-14T05:17:46.648Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:17:47.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-14T05:17:47.342Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-14T05:17:47.342Z] 9b3977197b4f: Pulling fs layer [2022-03-14T05:17:47.342Z] 1a89e8eeedd5: Pulling fs layer [2022-03-14T05:17:47.342Z] 94645a83ff95: Pulling fs layer [2022-03-14T05:17:47.342Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-14T05:17:47.342Z] 0c92f367c5e7: Pulling fs layer [2022-03-14T05:17:47.342Z] f7c0051592d6: Pulling fs layer [2022-03-14T05:17:47.342Z] a227ed2f7395: Pulling fs layer [2022-03-14T05:17:47.342Z] 7b1c46037f91: Pulling fs layer [2022-03-14T05:17:47.342Z] 3f3a8bcf1eab: Waiting [2022-03-14T05:17:47.342Z] 0c92f367c5e7: Waiting [2022-03-14T05:17:47.342Z] f7c0051592d6: Waiting [2022-03-14T05:17:47.342Z] a227ed2f7395: Waiting [2022-03-14T05:17:47.342Z] 7b1c46037f91: Waiting [2022-03-14T05:17:47.342Z] 94645a83ff95: Verifying Checksum [2022-03-14T05:17:47.342Z] 94645a83ff95: Download complete [2022-03-14T05:17:47.342Z] 1a89e8eeedd5: Download complete [2022-03-14T05:17:47.342Z] 0c92f367c5e7: Verifying Checksum [2022-03-14T05:17:47.342Z] 0c92f367c5e7: Download complete [2022-03-14T05:17:47.342Z] f7c0051592d6: Verifying Checksum [2022-03-14T05:17:47.342Z] f7c0051592d6: Download complete [2022-03-14T05:17:47.342Z] 9b3977197b4f: Download complete [2022-03-14T05:17:47.342Z] a227ed2f7395: Download complete [2022-03-14T05:17:47.959Z] 9b3977197b4f: Pull complete [2022-03-14T05:17:48.563Z] 1a89e8eeedd5: Pull complete [2022-03-14T05:17:49.067Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-14T05:17:49.168Z] 94645a83ff95: Pull complete [2022-03-14T05:17:49.169Z] 7b1c46037f91: Verifying Checksum [2022-03-14T05:17:49.169Z] 7b1c46037f91: Download complete [2022-03-14T05:17:49.332Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-14T05:17:49.332Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-14T05:17:49.332Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-14T05:17:49.764Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-14T05:17:49.764Z] 3f3a8bcf1eab: Download complete [2022-03-14T05:17:50.295Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-03-14T05:17:50.295Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-03-14T05:17:50.559Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-03-14T05:17:50.559Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-03-14T05:17:50.559Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-03-14T05:17:50.559Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-03-14T05:17:52.481Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.046s coverage: 28.7% of statements [2022-03-14T05:17:52.481Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-03-14T05:17:52.481Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-03-14T05:17:53.460Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.050s coverage: 98.5% of statements [2022-03-14T05:17:53.460Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-03-14T05:17:53.728Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.067s coverage: 44.7% of statements [2022-03-14T05:17:53.728Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-03-14T05:17:53.728Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-03-14T05:17:54.703Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.129s coverage: 89.5% of statements [2022-03-14T05:17:54.703Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-03-14T05:17:54.703Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:17:55.653Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.050s coverage: 84.4% of statements [2022-03-14T05:17:55.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-03-14T05:17:55.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-03-14T05:17:55.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-03-14T05:17:55.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-03-14T05:17:55.653Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-03-14T05:17:56.616Z] --- FAIL: TestAddDevice (0.02s) [2022-03-14T05:17:56.616Z] --- FAIL: TestAddDevice/Valid (0.01s) [2022-03-14T05:17:56.616Z] device_test.go:214: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:214 [2022-03-14T05:17:56.616Z] Error: Not equal: [2022-03-14T05:17:56.616Z] expected: 201 [2022-03-14T05:17:56.616Z] actual : 500 [2022-03-14T05:17:56.616Z] Test: TestAddDevice/Valid [2022-03-14T05:17:56.616Z] Messages: BaseResponse status code not as expected [2022-03-14T05:17:56.616Z] --- FAIL: TestPatchDevice (0.02s) [2022-03-14T05:17:56.616Z] --- FAIL: TestPatchDevice/Valid (0.00s) [2022-03-14T05:17:56.616Z] device_test.go:543: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:543 [2022-03-14T05:17:56.616Z] Error: Not equal: [2022-03-14T05:17:56.616Z] expected: 200 [2022-03-14T05:17:56.616Z] actual : 500 [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid [2022-03-14T05:17:56.616Z] Messages: BaseResponse status code not as expected [2022-03-14T05:17:56.616Z] device_test.go:545: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:545 [2022-03-14T05:17:56.616Z] Error: Should be empty, but was device validation failed [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid [2022-03-14T05:17:56.616Z] Messages: Message should be empty when it is successful [2022-03-14T05:17:56.616Z] --- FAIL: TestPatchDevice/Valid_-_no_requestId (0.01s) [2022-03-14T05:17:56.616Z] device_test.go:543: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:543 [2022-03-14T05:17:56.616Z] Error: Not equal: [2022-03-14T05:17:56.616Z] expected: 200 [2022-03-14T05:17:56.616Z] actual : 500 [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_requestId [2022-03-14T05:17:56.616Z] Messages: BaseResponse status code not as expected [2022-03-14T05:17:56.616Z] device_test.go:545: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:545 [2022-03-14T05:17:56.616Z] Error: Should be empty, but was device validation failed [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_requestId [2022-03-14T05:17:56.616Z] Messages: Message should be empty when it is successful [2022-03-14T05:17:56.616Z] --- FAIL: TestPatchDevice/Valid_-_no_id (0.00s) [2022-03-14T05:17:56.616Z] device_test.go:543: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:543 [2022-03-14T05:17:56.616Z] Error: Not equal: [2022-03-14T05:17:56.616Z] expected: 200 [2022-03-14T05:17:56.616Z] actual : 500 [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_id [2022-03-14T05:17:56.616Z] Messages: BaseResponse status code not as expected [2022-03-14T05:17:56.616Z] device_test.go:545: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:545 [2022-03-14T05:17:56.616Z] Error: Should be empty, but was device validation failed [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_id [2022-03-14T05:17:56.616Z] Messages: Message should be empty when it is successful [2022-03-14T05:17:56.616Z] --- FAIL: TestPatchDevice/Valid_-_no_name (0.00s) [2022-03-14T05:17:56.616Z] device_test.go:543: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:543 [2022-03-14T05:17:56.616Z] Error: Not equal: [2022-03-14T05:17:56.616Z] expected: 200 [2022-03-14T05:17:56.616Z] actual : 500 [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_name [2022-03-14T05:17:56.616Z] Messages: BaseResponse status code not as expected [2022-03-14T05:17:56.616Z] device_test.go:545: [2022-03-14T05:17:56.616Z] Error Trace: device_test.go:545 [2022-03-14T05:17:56.616Z] Error: Should be empty, but was device validation failed [2022-03-14T05:17:56.616Z] Test: TestPatchDevice/Valid_-_no_name [2022-03-14T05:17:56.616Z] Messages: Message should be empty when it is successful [2022-03-14T05:17:56.616Z] FAIL [2022-03-14T05:17:56.616Z] coverage: 93.9% of statements [2022-03-14T05:17:56.616Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.279s [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:17:56.616Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.057s coverage: 59.1% of statements [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-03-14T05:17:56.616Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-03-14T05:17:56.881Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.050s coverage: 60.0% of statements [2022-03-14T05:17:56.881Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-03-14T05:17:56.881Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-03-14T05:17:56.881Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-03-14T05:17:57.830Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.044s coverage: 0.9% of statements [2022-03-14T05:17:57.830Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-03-14T05:17:57.830Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.047s coverage: 58.8% of statements [2022-03-14T05:17:58.104Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.047s coverage: 21.7% of statements [2022-03-14T05:17:58.104Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-03-14T05:17:58.104Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.045s coverage: 47.1% of statements [2022-03-14T05:17:58.368Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.050s coverage: 79.5% of statements [2022-03-14T05:17:58.636Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.054s coverage: 94.1% of statements [2022-03-14T05:17:58.895Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.071s coverage: 96.3% of statements [2022-03-14T05:17:59.156Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.053s coverage: 87.5% of statements [2022-03-14T05:18:02.167Z] 3f3a8bcf1eab: Pull complete [2022-03-14T05:18:02.167Z] 0c92f367c5e7: Pull complete [2022-03-14T05:18:02.167Z] f7c0051592d6: Pull complete [2022-03-14T05:18:02.167Z] a227ed2f7395: Pull complete [2022-03-14T05:18:07.565Z] 7b1c46037f91: Pull complete [2022-03-14T05:18:07.565Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-14T05:18:07.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-14T05:18:07.565Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:18:07.975Z] + docker build -t ci-base-image-arm64 -f - . [2022-03-14T05:18:07.975Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-14T05:18:07.975Z] WORKDIR /edgex [2022-03-14T05:18:07.975Z] COPY go.mod . [2022-03-14T05:18:07.975Z] RUN go mod download [2022-03-14T05:18:10.603Z] Sending build context to Docker daemon 168.7MB [2022-03-14T05:18:10.603Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-14T05:18:10.603Z] ---> f79e39bc4007 [2022-03-14T05:18:10.603Z] Step 2/4 : WORKDIR /edgex [2022-03-14T05:18:11.393Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.060s coverage: 94.4% of statements [2022-03-14T05:18:11.393Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements [2022-03-14T05:18:12.574Z] ---> Running in b87f983c526c [2022-03-14T05:18:12.846Z] Removing intermediate container b87f983c526c [2022-03-14T05:18:12.846Z] ---> cd80ae7bedef [2022-03-14T05:18:12.846Z] Step 3/4 : COPY go.mod . [2022-03-14T05:18:13.448Z] ---> 9077e64e2147 [2022-03-14T05:18:13.448Z] Step 4/4 : RUN go mod download [2022-03-14T05:18:13.448Z] ---> Running in 9531972fec6d [2022-03-14T05:18:16.693Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 16.167s coverage: 82.5% of statements [2022-03-14T05:18:16.693Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.082s coverage: 92.9% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.056s coverage: 87.2% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.041s coverage: 100.0% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.055s coverage: 58.8% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.055s coverage: 87.2% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.065s coverage: 85.4% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.145s coverage: 91.2% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.142s coverage: 64.4% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.047s coverage: 100.0% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.039s coverage: 89.4% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.039s coverage: 73.7% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.028s coverage: 100.0% of statements [2022-03-14T05:18:34.819Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.240s coverage: 65.4% of statements [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-03-14T05:18:34.819Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-03-14T05:18:35.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.116s coverage: 43.8% of statements [2022-03-14T05:18:35.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-03-14T05:18:35.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-03-14T05:18:35.093Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.056s coverage: 89.5% of statements [2022-03-14T05:18:35.093Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-03-14T05:18:35.358Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements [2022-03-14T05:18:35.358Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.058s coverage: 17.7% of statements [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.142s coverage: 92.3% of statements [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 63.2% of statements [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.097s coverage: 97.7% of statements [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.054s coverage: 28.9% of statements [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-03-14T05:18:43.511Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.046s coverage: 100.0% of statements [2022-03-14T05:18:43.511Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements [2022-03-14T05:18:43.511Z] FAIL [2022-03-14T05:18:43.511Z] make: *** [Makefile:98: unittest] Error 1 [Pipeline] } [2022-03-14T05:18:43.560Z] $ docker stop --time=1 9923459d3ca764db2f02478411a191e713bd47f5e18c6960b744a8bd8e63346d [2022-03-14T05:18:44.922Z] $ docker rm -f 9923459d3ca764db2f02478411a191e713bd47f5e18c6960b744a8bd8e63346d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-14T05:18:45.911Z] Failed in branch amd64 [2022-03-14T05:19:35.243Z] Removing intermediate container 9531972fec6d [2022-03-14T05:19:35.243Z] ---> 2ff35a50765b [2022-03-14T05:19:35.243Z] Successfully built 2ff35a50765b [2022-03-14T05:19:35.243Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:19:35.609Z] + docker inspect -f . ci-base-image-arm64 [2022-03-14T05:19:35.610Z] . [Pipeline] withDockerContainer [2022-03-14T05:19:35.866Z] prd-ubuntu18.04-docker-arm64-4c-16g-7014 does not seem to be running inside a container [2022-03-14T05:19:35.958Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-14T05:19:37.396Z] $ docker top 3e4d4b50ab317430c65f96fd7fb40bdc6acda7c23ab15128a4ba438e343b3d6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T05:19:38.357Z] + go version [2022-03-14T05:19:38.357Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-14T05:19:38.391Z] $ docker stop --time=1 3e4d4b50ab317430c65f96fd7fb40bdc6acda7c23ab15128a4ba438e343b3d6a [2022-03-14T05:19:40.059Z] $ docker rm -f 3e4d4b50ab317430c65f96fd7fb40bdc6acda7c23ab15128a4ba438e343b3d6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:19:40.936Z] + docker inspect -f . ci-base-image-arm64 [2022-03-14T05:19:40.936Z] . [Pipeline] withDockerContainer [2022-03-14T05:19:41.180Z] prd-ubuntu18.04-docker-arm64-4c-16g-7014 does not seem to be running inside a container [2022-03-14T05:19:41.261Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-14T05:19:42.586Z] $ docker top 2ead0b83d34b92cb51c213a7e1c9405187db2aead5a231a8be558e185973c8f2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-14T05:19:42.897Z] ========================================================= [2022-03-14T05:19:42.897Z] [edgeXBuildGoParallel] Running Tests and Build... [2022-03-14T05:19:42.897Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2022-03-14T05:19:43.602Z] + make test [2022-03-14T05:19:43.602Z] go mod tidy [2022-03-14T05:19:44.198Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-14T05:20:16.541Z] ? github.com/edgexfoundry/edgex-go [no test files] [2022-03-14T05:21:13.088Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2022-03-14T05:21:19.883Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2022-03-14T05:21:19.883Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2022-03-14T05:21:19.883Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2022-03-14T05:21:30.063Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2022-03-14T05:21:31.496Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2022-03-14T05:21:31.497Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2022-03-14T05:21:31.497Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2022-03-14T05:21:31.497Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2022-03-14T05:21:39.795Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.215s coverage: 28.7% of statements [2022-03-14T05:21:39.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2022-03-14T05:21:39.795Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2022-03-14T05:21:45.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.357s coverage: 98.5% of statements [2022-03-14T05:21:45.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2022-03-14T05:21:45.215Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.462s coverage: 44.7% of statements [2022-03-14T05:21:45.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2022-03-14T05:21:45.215Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2022-03-14T05:21:47.221Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.764s coverage: 89.5% of statements [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:21:47.221Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.246s coverage: 84.4% of statements [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2022-03-14T05:21:47.221Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2022-03-14T05:21:57.388Z] --- FAIL: TestAddDevice (0.16s) [2022-03-14T05:21:57.388Z] --- FAIL: TestAddDevice/Valid (0.07s) [2022-03-14T05:21:57.388Z] device_test.go:214: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:214 [2022-03-14T05:21:57.388Z] Error: Not equal: [2022-03-14T05:21:57.388Z] expected: 201 [2022-03-14T05:21:57.388Z] actual : 500 [2022-03-14T05:21:57.388Z] Test: TestAddDevice/Valid [2022-03-14T05:21:57.388Z] Messages: BaseResponse status code not as expected [2022-03-14T05:21:57.388Z] --- FAIL: TestPatchDevice (0.14s) [2022-03-14T05:21:57.388Z] --- FAIL: TestPatchDevice/Valid (0.02s) [2022-03-14T05:21:57.388Z] device_test.go:543: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:543 [2022-03-14T05:21:57.388Z] Error: Not equal: [2022-03-14T05:21:57.388Z] expected: 200 [2022-03-14T05:21:57.388Z] actual : 500 [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid [2022-03-14T05:21:57.388Z] Messages: BaseResponse status code not as expected [2022-03-14T05:21:57.388Z] device_test.go:545: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:545 [2022-03-14T05:21:57.388Z] Error: Should be empty, but was device validation failed [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid [2022-03-14T05:21:57.388Z] Messages: Message should be empty when it is successful [2022-03-14T05:21:57.388Z] --- FAIL: TestPatchDevice/Valid_-_no_requestId (0.02s) [2022-03-14T05:21:57.388Z] device_test.go:543: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:543 [2022-03-14T05:21:57.388Z] Error: Not equal: [2022-03-14T05:21:57.388Z] expected: 200 [2022-03-14T05:21:57.388Z] actual : 500 [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_requestId [2022-03-14T05:21:57.388Z] Messages: BaseResponse status code not as expected [2022-03-14T05:21:57.388Z] device_test.go:545: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:545 [2022-03-14T05:21:57.388Z] Error: Should be empty, but was device validation failed [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_requestId [2022-03-14T05:21:57.388Z] Messages: Message should be empty when it is successful [2022-03-14T05:21:57.388Z] --- FAIL: TestPatchDevice/Valid_-_no_id (0.02s) [2022-03-14T05:21:57.388Z] device_test.go:543: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:543 [2022-03-14T05:21:57.388Z] Error: Not equal: [2022-03-14T05:21:57.388Z] expected: 200 [2022-03-14T05:21:57.388Z] actual : 500 [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_id [2022-03-14T05:21:57.388Z] Messages: BaseResponse status code not as expected [2022-03-14T05:21:57.388Z] device_test.go:545: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:545 [2022-03-14T05:21:57.388Z] Error: Should be empty, but was device validation failed [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_id [2022-03-14T05:21:57.388Z] Messages: Message should be empty when it is successful [2022-03-14T05:21:57.388Z] --- FAIL: TestPatchDevice/Valid_-_no_name (0.02s) [2022-03-14T05:21:57.388Z] device_test.go:543: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:543 [2022-03-14T05:21:57.388Z] Error: Not equal: [2022-03-14T05:21:57.388Z] expected: 200 [2022-03-14T05:21:57.388Z] actual : 500 [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_name [2022-03-14T05:21:57.388Z] Messages: BaseResponse status code not as expected [2022-03-14T05:21:57.388Z] device_test.go:545: [2022-03-14T05:21:57.388Z] Error Trace: device_test.go:545 [2022-03-14T05:21:57.388Z] Error: Should be empty, but was device validation failed [2022-03-14T05:21:57.388Z] Test: TestPatchDevice/Valid_-_no_name [2022-03-14T05:21:57.388Z] Messages: Message should be empty when it is successful [2022-03-14T05:21:57.388Z] FAIL [2022-03-14T05:21:57.388Z] coverage: 93.9% of statements [2022-03-14T05:21:57.388Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.678s [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.274s coverage: 59.1% of statements [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.311s coverage: 60.0% of statements [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.408s coverage: 0.9% of statements [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.171s coverage: 58.8% of statements [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.192s coverage: 21.7% of statements [2022-03-14T05:21:57.388Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.262s coverage: 47.1% of statements [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.260s coverage: 79.5% of statements [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.235s coverage: 94.1% of statements [2022-03-14T05:21:57.388Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.218s coverage: 96.3% of statements [2022-03-14T05:21:57.662Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.222s coverage: 87.5% of statements [2022-03-14T05:22:10.081Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.239s coverage: 94.4% of statements [2022-03-14T05:22:10.081Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.189s coverage: 44.8% of statements [2022-03-14T05:22:16.852Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.647s coverage: 82.5% of statements [2022-03-14T05:22:16.852Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.268s coverage: 92.9% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.201s coverage: 87.2% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.203s coverage: 100.0% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.290s coverage: 58.8% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.287s coverage: 80.0% of statements [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.247s coverage: 87.2% of statements [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.278s coverage: 85.4% of statements [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.792s coverage: 91.2% of statements [2022-03-14T05:22:23.589Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2022-03-14T05:22:23.589Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.915s coverage: 64.4% of statements [2022-03-14T05:22:23.590Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2022-03-14T05:22:23.590Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2022-03-14T05:22:23.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.183s coverage: 100.0% of statements [2022-03-14T05:22:23.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.126s coverage: 89.4% of statements [2022-03-14T05:22:23.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.070s coverage: 100.0% of statements [2022-03-14T05:22:24.590Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.069s coverage: 73.7% of statements [2022-03-14T05:22:25.576Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.051s coverage: 100.0% of statements [2022-03-14T05:22:29.914Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.333s coverage: 65.4% of statements [2022-03-14T05:22:29.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2022-03-14T05:22:29.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2022-03-14T05:22:29.914Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2022-03-14T05:22:31.891Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.821s coverage: 43.8% of statements [2022-03-14T05:22:31.891Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2022-03-14T05:22:31.891Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2022-03-14T05:22:31.891Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.264s coverage: 89.5% of statements [2022-03-14T05:22:31.891Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2022-03-14T05:22:31.891Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.236s coverage: 84.8% of statements [2022-03-14T05:22:31.891Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.301s coverage: 17.7% of statements [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.673s coverage: 92.3% of statements [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.226s coverage: 63.2% of statements [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.474s coverage: 97.7% of statements [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.177s coverage: 28.9% of statements [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2022-03-14T05:22:40.172Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.180s coverage: 100.0% of statements [2022-03-14T05:22:40.172Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 96.9% of statements [2022-03-14T05:22:40.172Z] FAIL [2022-03-14T05:22:40.172Z] make: *** [Makefile:98: unittest] Error 1 [Pipeline] } [2022-03-14T05:22:40.211Z] $ docker stop --time=1 2ead0b83d34b92cb51c213a7e1c9405187db2aead5a231a8be558e185973c8f2 [2022-03-14T05:22:42.043Z] $ docker rm -f 2ead0b83d34b92cb51c213a7e1c9405187db2aead5a231a8be558e185973c8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:22:43.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T05:22:43.691Z] [2022-03-14T05:22:43.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:22:44.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T05:22:44.335Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-14T05:22:44.335Z] 8998bd30e6a1: Pulling fs layer [2022-03-14T05:22:44.335Z] 04944245beec: Pulling fs layer [2022-03-14T05:22:44.335Z] 699f458cf7ca: Pulling fs layer [2022-03-14T05:22:44.335Z] 765212b225bb: Pulling fs layer [2022-03-14T05:22:44.335Z] f23df028b6ca: Pulling fs layer [2022-03-14T05:22:44.335Z] d65c8cfc05b1: Pulling fs layer [2022-03-14T05:22:44.335Z] 2437ff75d9bd: Pulling fs layer [2022-03-14T05:22:44.335Z] f23df028b6ca: Waiting [2022-03-14T05:22:44.335Z] 765212b225bb: Waiting [2022-03-14T05:22:44.335Z] 2437ff75d9bd: Waiting [2022-03-14T05:22:44.335Z] d65c8cfc05b1: Waiting [2022-03-14T05:22:44.335Z] 04944245beec: Verifying Checksum [2022-03-14T05:22:44.335Z] 04944245beec: Download complete [2022-03-14T05:22:44.335Z] 765212b225bb: Verifying Checksum [2022-03-14T05:22:44.335Z] 765212b225bb: Download complete [2022-03-14T05:22:44.335Z] f23df028b6ca: Download complete [2022-03-14T05:22:44.335Z] d65c8cfc05b1: Verifying Checksum [2022-03-14T05:22:44.335Z] d65c8cfc05b1: Download complete [2022-03-14T05:22:44.607Z] 699f458cf7ca: Verifying Checksum [2022-03-14T05:22:44.607Z] 699f458cf7ca: Download complete [2022-03-14T05:22:44.878Z] 8998bd30e6a1: Verifying Checksum [2022-03-14T05:22:44.878Z] 8998bd30e6a1: Download complete [2022-03-14T05:22:47.487Z] 2437ff75d9bd: Verifying Checksum [2022-03-14T05:22:47.487Z] 2437ff75d9bd: Download complete [2022-03-14T05:22:49.465Z] 8998bd30e6a1: Pull complete [2022-03-14T05:22:49.737Z] 04944245beec: Pull complete [2022-03-14T05:22:51.167Z] 699f458cf7ca: Pull complete [2022-03-14T05:22:51.441Z] 765212b225bb: Pull complete [2022-03-14T05:22:52.419Z] f23df028b6ca: Pull complete [2022-03-14T05:22:52.692Z] d65c8cfc05b1: Pull complete [2022-03-14T05:23:07.765Z] 2437ff75d9bd: Pull complete [2022-03-14T05:23:07.765Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-14T05:23:07.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T05:23:07.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-14T05:23:07.997Z] prd-ubuntu18.04-docker-arm64-4c-16g-7014 does not seem to be running inside a container [2022-03-14T05:23:08.077Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-14T05:23:10.786Z] $ docker top a74b78c1501d2ab6e3878478a00aa14f24b2acd980d28f4dda7ce9454d4ab6c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:11.804Z] ---> job-cost.sh [2022-03-14T05:23:11.805Z] lf-activate-venv: SKIPPING [2022-03-14T05:23:11.805Z] INFO: No Stack... [2022-03-14T05:23:12.074Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-14T05:23:13.042Z] INFO: Archiving Costs [Pipeline] sh [2022-03-14T05:23:13.710Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2022-03-14T05:23:13.710Z] + cut -d, -f6 [Pipeline] lock [2022-03-14T05:23:13.793Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3900-1-stack-cost] [2022-03-14T05:23:13.798Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3900-1-stack-cost] did not exist. Created. [2022-03-14T05:23:13.798Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3900-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-14T05:23:14.534Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-14T05:23:15.109Z] Stashed 1 file(s) [Pipeline] } [2022-03-14T05:23:15.126Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3900-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-14T05:23:15.200Z] $ docker stop --time=1 a74b78c1501d2ab6e3878478a00aa14f24b2acd980d28f4dda7ce9454d4ab6c4 [2022-03-14T05:23:16.646Z] $ docker rm -f a74b78c1501d2ab6e3878478a00aa14f24b2acd980d28f4dda7ce9454d4ab6c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-14T05:23:17.320Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-14T05:23:18.894Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:19.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:19.830Z] ---> package-listing.sh [2022-03-14T05:23:19.830Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-14T05:23:19.830Z] ++ facter osfamily [2022-03-14T05:23:20.091Z] + OS_FAMILY=redhat [2022-03-14T05:23:20.091Z] + workspace=/w/workspace/edgex-go/1 [2022-03-14T05:23:20.091Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-14T05:23:20.091Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-14T05:23:20.091Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-14T05:23:20.091Z] + PACKAGES=/tmp/packages_start.txt [2022-03-14T05:23:20.091Z] + '[' /w/workspace/edgex-go/1 ']' [2022-03-14T05:23:20.091Z] + PACKAGES=/tmp/packages_end.txt [2022-03-14T05:23:20.091Z] + case "${OS_FAMILY}" in [2022-03-14T05:23:20.091Z] + sort [2022-03-14T05:23:20.091Z] + rpm -qa [2022-03-14T05:23:20.664Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-14T05:23:20.664Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-14T05:23:20.664Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-14T05:23:20.664Z] + '[' /w/workspace/edgex-go/1 ']' [2022-03-14T05:23:20.664Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2022-03-14T05:23:20.664Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2022-03-14T05:23:20.704Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2022-03-14T05:23:21.000Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:23:21.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T05:23:21.592Z] [2022-03-14T05:23:21.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T05:23:21.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T05:23:21.940Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-14T05:23:21.940Z] 5eb5b503b376: Pulling fs layer [2022-03-14T05:23:21.940Z] 5c69ac0246d0: Pulling fs layer [2022-03-14T05:23:21.940Z] ec43610c2a17: Pulling fs layer [2022-03-14T05:23:21.940Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-14T05:23:21.940Z] 33b1e0a273af: Pulling fs layer [2022-03-14T05:23:21.940Z] 5d3b04190fa2: Pulling fs layer [2022-03-14T05:23:21.940Z] 2f39f015ded8: Pulling fs layer [2022-03-14T05:23:21.940Z] 3a2ae6a8a46f: Waiting [2022-03-14T05:23:21.940Z] 33b1e0a273af: Waiting [2022-03-14T05:23:21.940Z] 5d3b04190fa2: Waiting [2022-03-14T05:23:21.940Z] 2f39f015ded8: Waiting [2022-03-14T05:23:21.940Z] 5c69ac0246d0: Verifying Checksum [2022-03-14T05:23:21.940Z] 5c69ac0246d0: Download complete [2022-03-14T05:23:21.940Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-14T05:23:21.940Z] 3a2ae6a8a46f: Download complete [2022-03-14T05:23:22.207Z] ec43610c2a17: Verifying Checksum [2022-03-14T05:23:22.207Z] ec43610c2a17: Download complete [2022-03-14T05:23:22.207Z] 33b1e0a273af: Verifying Checksum [2022-03-14T05:23:22.207Z] 33b1e0a273af: Download complete [2022-03-14T05:23:22.207Z] 5d3b04190fa2: Verifying Checksum [2022-03-14T05:23:22.207Z] 5d3b04190fa2: Download complete [2022-03-14T05:23:22.207Z] 5eb5b503b376: Verifying Checksum [2022-03-14T05:23:22.207Z] 5eb5b503b376: Download complete [2022-03-14T05:23:22.784Z] 2f39f015ded8: Download complete [2022-03-14T05:23:23.733Z] 5eb5b503b376: Pull complete [2022-03-14T05:23:23.733Z] 5c69ac0246d0: Pull complete [2022-03-14T05:23:24.314Z] ec43610c2a17: Pull complete [2022-03-14T05:23:24.314Z] 3a2ae6a8a46f: Pull complete [2022-03-14T05:23:24.575Z] 33b1e0a273af: Pull complete [2022-03-14T05:23:24.840Z] 5d3b04190fa2: Pull complete [2022-03-14T05:23:30.171Z] 2f39f015ded8: Pull complete [2022-03-14T05:23:30.171Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-14T05:23:30.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T05:23:30.171Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-14T05:23:30.261Z] prd-centos7-docker-4c-2g-7013 does not seem to be running inside a container [2022-03-14T05:23:30.301Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-14T05:23:32.893Z] $ docker top 90c8171537b0c719e3bc9bbbf8b8e55423fec9b85657895c032020c0034fd154 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T05:23:33.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-14T05:23:33.964Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-14T05:23:34.283Z] + ls /var/log/sa-host [2022-03-14T05:23:34.283Z] + sadf -c /var/log/sa-host/sa14 [2022-03-14T05:23:34.283Z] file_magic: OK [2022-03-14T05:23:34.283Z] HZ: Using current value: 100 [2022-03-14T05:23:34.283Z] file_header: OK [2022-03-14T05:23:34.284Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-03-14T05:23:34.284Z] Statistics: [2022-03-14T05:23:34.284Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-14T05:23:34.284Z] File successfully converted to sysstat format version 12.5.2 [2022-03-14T05:23:34.284Z] + sadf -c /var/log/sa-host/sa17 [2022-03-14T05:23:34.284Z] file_magic: OK [2022-03-14T05:23:34.284Z] HZ: Using current value: 100 [2022-03-14T05:23:34.284Z] file_header: OK [2022-03-14T05:23:34.284Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-03-14T05:23:34.284Z] Statistics: [2022-03-14T05:23:34.284Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-14T05:23:34.284Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T05:23:34.568Z] provisioning config files... [2022-03-14T05:23:34.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8567699548158502567tmp [Pipeline] { [Pipeline] echo [2022-03-14T05:23:34.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:34.941Z] ---> create-netrc.sh [Pipeline] } [2022-03-14T05:23:34.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:35.387Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-14T05:23:35.421Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:35.737Z] ---> sudo-logs.sh [2022-03-14T05:23:35.737Z] Archiving 'sudo' log.. [2022-03-14T05:23:35.737Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-7013.novalocal: Name or service not known [2022-03-14T05:23:35.737Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-7013.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-14T05:23:35.836Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:36.154Z] ---> job-cost.sh [2022-03-14T05:23:36.154Z] lf-activate-venv: SKIPPING [2022-03-14T05:23:36.154Z] DEBUG: total: 0.10999999940395355 [2022-03-14T05:23:36.154Z] INFO: Retrieving Stack Cost... [2022-03-14T05:23:36.417Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-14T05:23:36.991Z] INFO: Archiving Costs [Pipeline] echo [2022-03-14T05:23:37.028Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T05:23:37.344Z] ---> logs-deploy.sh [2022-03-14T05:23:37.344Z] lf-activate-venv: SKIPPING [2022-03-14T05:23:37.345Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3900/1 [2022-03-14T05:23:37.345Z] INFO: archiving workspace using pattern(s): [2022-03-14T05:23:38.287Z] Archives upload complete. [2022-03-14T05:23:38.287Z] INFO: archiving logs to Nexus