Pull request #3647 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 905359d5c1b4947ebd876e6291f354490a67a70c+c934d2629fd1f346ec6ed5d2a54fcedb9a03a0ad (c4d3df6eb62c95f5ffbbbbdcb1e8d88c7f7c15d9) Running in Durability level: MAX_SURVIVABILITY 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-ssh1356519599480330576.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-ssh8721612111435302806.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 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-3647/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-3647/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5943932231323970458.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-3647/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5869564623551682560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 # timeout=10 Commit message: "Merge pull request #351 from ernestojeda/fix-archives-does-not-exist" > 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-ssh3176117810761292972.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-3647/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-3647/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7168601298504400988.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1905 in /w/workspace/edgexfoundry_edgex-go_PR-3647 [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-ssh2563338322916022552.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c934d2629fd1f346ec6ed5d2a54fcedb9a03a0ad into PR head commit 905359d5c1b4947ebd876e6291f354490a67a70c Merge succeeded, producing 905359d5c1b4947ebd876e6291f354490a67a70c Checking out Revision 905359d5c1b4947ebd876e6291f354490a67a70c (PR-3647) > 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-ssh4160231305112658062.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3647/head:refs/remotes/origin/PR-3647 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 905359d5c1b4947ebd876e6291f354490a67a70c # 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-ssh3412897662906000787.key > git merge c934d2629fd1f346ec6ed5d2a54fcedb9a03a0ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 905359d5c1b4947ebd876e6291f354490a67a70c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-03T19:07:45.767Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-03T19:07:45.984Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-03T19:07:46.091Z] ========================================================= [2021-08-03T19:07:46.091Z] EdgeX Global Pipelines Version Info [2021-08-03T19:07:46.091Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:07:47.853Z] ------------------- [2021-08-03T19:07:47.853Z] stable info: [2021-08-03T19:07:47.853Z] ------------------- [2021-08-03T19:07:47.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-03T19:07:47.853Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-03T19:07:47.853Z] Message: update stable to v1.0.203 [2021-08-03T19:07:48.118Z] ------------------- [2021-08-03T19:07:48.118Z] experimental info: [2021-08-03T19:07:48.118Z] ------------------- [2021-08-03T19:07:48.118Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-03T19:07:48.118Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-03T19:07:48.118Z] Message: update experimental to v1.0.203 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-03T19:07:48.392Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-08-03T19:07:48.449Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-08-03T19:07:48.506Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-03T19:07:48.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-03T19:07:48.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-03T19:07:48.677Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-03T19:07:48.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-03T19:07:48.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-08-03T19:07:48.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-08-03T19:07:48.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-08-03T19:07:48.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-03T19:07:49.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-03T19:07:49.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-03T19:07:49.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-03T19:07:49.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-03T19:07:49.303Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-03T19:07:49.373Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-03T19:07:49.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-03T19:07:49.504Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-03T19:07:49.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-03T19:07:49.640Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-03T19:07:49.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-08-03T19:07:49.776Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-03T19:07:49.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3647 [Pipeline] echo [2021-08-03T19:07:49.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3647 [Pipeline] echo [2021-08-03T19:07:49.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3647 [Pipeline] echo [2021-08-03T19:07:50.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 905359d5c1b4947ebd876e6291f354490a67a70c [Pipeline] echo [2021-08-03T19:07:50.099Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 905359d [Pipeline] echo [2021-08-03T19:07:50.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T19:07:52.873Z] provisioning config files... [2021-08-03T19:07:52.889Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3222124719656253181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:07:53.289Z] ---> docker-login.sh [2021-08-03T19:07:53.289Z] nexus3.edgexfoundry.org:10001 [2021-08-03T19:07:53.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:07:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:07:53.554Z] Configure a credential helper to remove this warning. See [2021-08-03T19:07:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:07:53.554Z] [2021-08-03T19:07:53.554Z] Login Succeeded [2021-08-03T19:07:53.554Z] nexus3.edgexfoundry.org:10002 [2021-08-03T19:07:53.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:07:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:07:53.554Z] Configure a credential helper to remove this warning. See [2021-08-03T19:07:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:07:53.554Z] [2021-08-03T19:07:53.554Z] Login Succeeded [2021-08-03T19:07:53.554Z] nexus3.edgexfoundry.org:10003 [2021-08-03T19:07:53.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:07:53.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:07:53.826Z] Configure a credential helper to remove this warning. See [2021-08-03T19:07:53.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:07:53.826Z] [2021-08-03T19:07:53.826Z] Login Succeeded [2021-08-03T19:07:53.826Z] nexus3.edgexfoundry.org:10004 [2021-08-03T19:07:53.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:07:53.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:07:53.826Z] Configure a credential helper to remove this warning. See [2021-08-03T19:07:53.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:07:53.826Z] [2021-08-03T19:07:53.826Z] Login Succeeded [2021-08-03T19:07:53.826Z] docker.io [2021-08-03T19:07:54.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:07:54.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:07:54.307Z] Configure a credential helper to remove this warning. See [2021-08-03T19:07:54.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:07:54.307Z] [2021-08-03T19:07:54.307Z] Login Succeeded [2021-08-03T19:07:54.307Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T19:07:54.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T19:07:54.806Z] ++ 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 [2021-08-03T19:07:54.806Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.806Z] ++ dirname cmd/core-command/Dockerfile [2021-08-03T19:07:54.806Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.806Z] + echo core-command,cmd/core-command/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/core-data/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo core-data,cmd/core-data/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/core-metadata/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/support-notifications/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-08-03T19:07:54.807Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-03T19:07:54.807Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-08-03T19:07:54.807Z] ++ cut -d/ -f2 [2021-08-03T19:07:54.807Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-08-03T19:07:54.887Z] 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] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:07:56.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T19:07:56.539Z] [2021-08-03T19:07:56.539Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:07:57.138Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T19:07:57.138Z] latest: Pulling from edgex-devops/git-semver [2021-08-03T19:07:57.138Z] 31603596830f: Pulling fs layer [2021-08-03T19:07:57.138Z] d4622e32a9a9: Pulling fs layer [2021-08-03T19:07:57.138Z] 1030fce36090: Pulling fs layer [2021-08-03T19:07:57.138Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-03T19:07:57.138Z] 6c6cb7e1b49b: Waiting [2021-08-03T19:07:57.138Z] d4622e32a9a9: Verifying Checksum [2021-08-03T19:07:57.138Z] d4622e32a9a9: Download complete [2021-08-03T19:07:57.138Z] 31603596830f: Verifying Checksum [2021-08-03T19:07:57.138Z] 31603596830f: Download complete [2021-08-03T19:07:57.407Z] 31603596830f: Pull complete [2021-08-03T19:07:57.407Z] d4622e32a9a9: Pull complete [2021-08-03T19:07:57.407Z] 1030fce36090: Verifying Checksum [2021-08-03T19:07:57.407Z] 1030fce36090: Download complete [2021-08-03T19:07:57.687Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-03T19:07:57.687Z] 6c6cb7e1b49b: Download complete [2021-08-03T19:07:57.954Z] 1030fce36090: Pull complete [2021-08-03T19:07:58.220Z] 6c6cb7e1b49b: Pull complete [2021-08-03T19:07:58.220Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-03T19:07:58.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-03T19:07:58.220Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-03T19:07:58.553Z] prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container [2021-08-03T19:07:58.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-03T19:07:59.240Z] $ docker top bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-03T19:07:59.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T19:07:59.475Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T19:07:59.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T19:07:59.594Z] $ docker exec bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 ssh-agent [2021-08-03T19:07:59.721Z] SSH_AUTH_SOCK=/tmp/ssh-0n7xpzM57x0p/agent.13 [2021-08-03T19:07:59.721Z] SSH_AGENT_PID=19 [2021-08-03T19:07:59.736Z] Running ssh-add (command line suppressed) [2021-08-03T19:07:59.843Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7276871339327841917.key (/w/workspace/edgex-go/1@tmp/private_key_7276871339327841917.key) [2021-08-03T19:07:59.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T19:08:00.230Z] + git tag --points-at HEAD [Pipeline] } [2021-08-03T19:08:00.257Z] $ docker exec --env ******** --env ******** bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 ssh-agent -k [2021-08-03T19:08:00.346Z] unset SSH_AUTH_SOCK; [2021-08-03T19:08:00.346Z] unset SSH_AGENT_PID; [2021-08-03T19:08:00.346Z] echo Agent pid 19 killed; [2021-08-03T19:08:00.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-03T19:08:00.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-03T19:08:00.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-03T19:08:00.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-03T19:08:00.570Z] $ docker exec bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 ssh-agent [2021-08-03T19:08:00.692Z] SSH_AUTH_SOCK=/tmp/ssh-i3Iy4BQXr0Fo/agent.56 [2021-08-03T19:08:00.692Z] SSH_AGENT_PID=62 [2021-08-03T19:08:00.704Z] Running ssh-add (command line suppressed) [2021-08-03T19:08:00.806Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_5186336218272191646.key (/w/workspace/edgex-go/1@tmp/private_key_5186336218272191646.key) [2021-08-03T19:08:00.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-03T19:08:01.200Z] + git semver init [2021-08-03T19:08:01.200Z] # -> Open(): unable to determine branch for HEAD [2021-08-03T19:08:01.200Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-08-03T19:08:01.200Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-08-03T19:08:01.200Z] # $SEMVER_REMOTE_NAME = origin [2021-08-03T19:08:01.200Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-03T19:08:01.200Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-03T19:08:01.200Z] # $SEMVER_BRANCH = PR-3647 [2021-08-03T19:08:01.200Z] # $SEMVER_TEMP = /tmp/semver-477272373 [2021-08-03T19:08:01.200Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-08-03T19:08:57.633Z] # '/tmp/semver-477272373' -> '/w/workspace/edgex-go/1/.semver' [2021-08-03T19:08:57.633Z] # -> Force: false [2021-08-03T19:08:57.633Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-08-03T19:08:57.660Z] $ docker exec --env ******** --env ******** bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 ssh-agent -k [2021-08-03T19:08:57.762Z] unset SSH_AUTH_SOCK; [2021-08-03T19:08:57.762Z] unset SSH_AGENT_PID; [2021-08-03T19:08:57.762Z] echo Agent pid 62 killed; [2021-08-03T19:08:57.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-03T19:08:58.247Z] + git semver [Pipeline] } [2021-08-03T19:08:58.284Z] $ docker stop --time=1 bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 [2021-08-03T19:08:59.903Z] $ docker rm -f bf3b34fc372fb8730164e18bd10691a84a0130e374ce9fe1cb39088c597c57d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-03T19:09:00.385Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-03T19:09:00.784Z] Stashed 1 file(s) [Pipeline] echo [2021-08-03T19:09:00.812Z] [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 [2021-08-03T19:09:01.561Z] ========================================================= [2021-08-03T19:09:01.562Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-03T19:09:01.562Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:09:01.989Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-03T19:09:03.164Z] Sending build context to Docker daemon 328.5MB [2021-08-03T19:09:03.164Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T19:09:03.164Z] Step 2/6 : FROM ${BASE} [2021-08-03T19:09:03.439Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-03T19:09:03.439Z] 540db60ca938: Pulling fs layer [2021-08-03T19:09:03.439Z] adcc1eea9eea: Pulling fs layer [2021-08-03T19:09:03.439Z] 4c4ab2625f07: Pulling fs layer [2021-08-03T19:09:03.439Z] db62176df00c: Pulling fs layer [2021-08-03T19:09:03.439Z] 3b30891b0d05: Pulling fs layer [2021-08-03T19:09:03.439Z] 444f5516b4c7: Pulling fs layer [2021-08-03T19:09:03.439Z] 90b9b1106a8b: Pulling fs layer [2021-08-03T19:09:03.439Z] 0383d17a5b7e: Pulling fs layer [2021-08-03T19:09:03.439Z] c82ef313ddc5: Pulling fs layer [2021-08-03T19:09:03.439Z] 3b30891b0d05: Waiting [2021-08-03T19:09:03.439Z] 444f5516b4c7: Waiting [2021-08-03T19:09:03.439Z] 90b9b1106a8b: Waiting [2021-08-03T19:09:03.439Z] 0383d17a5b7e: Waiting [2021-08-03T19:09:03.439Z] c82ef313ddc5: Waiting [2021-08-03T19:09:03.439Z] db62176df00c: Waiting [2021-08-03T19:09:03.439Z] 4c4ab2625f07: Verifying Checksum [2021-08-03T19:09:03.439Z] 4c4ab2625f07: Download complete [2021-08-03T19:09:03.439Z] adcc1eea9eea: Verifying Checksum [2021-08-03T19:09:03.439Z] adcc1eea9eea: Download complete [2021-08-03T19:09:03.439Z] 3b30891b0d05: Verifying Checksum [2021-08-03T19:09:03.439Z] 3b30891b0d05: Download complete [2021-08-03T19:09:03.439Z] 444f5516b4c7: Verifying Checksum [2021-08-03T19:09:03.439Z] 444f5516b4c7: Download complete [2021-08-03T19:09:03.439Z] 540db60ca938: Verifying Checksum [2021-08-03T19:09:03.439Z] 540db60ca938: Download complete [2021-08-03T19:09:03.439Z] 90b9b1106a8b: Verifying Checksum [2021-08-03T19:09:03.439Z] 90b9b1106a8b: Download complete [2021-08-03T19:09:03.704Z] 540db60ca938: Pull complete [2021-08-03T19:09:03.704Z] adcc1eea9eea: Pull complete [2021-08-03T19:09:03.704Z] 4c4ab2625f07: Pull complete [2021-08-03T19:09:05.112Z] 0383d17a5b7e: Verifying Checksum [2021-08-03T19:09:05.112Z] 0383d17a5b7e: Download complete [2021-08-03T19:09:09.365Z] c82ef313ddc5: Verifying Checksum [2021-08-03T19:09:09.365Z] c82ef313ddc5: Download complete [2021-08-03T19:09:09.365Z] db62176df00c: Verifying Checksum [2021-08-03T19:09:09.365Z] db62176df00c: Download complete [2021-08-03T19:09:12.735Z] db62176df00c: Pull complete [2021-08-03T19:09:12.735Z] 3b30891b0d05: Pull complete [2021-08-03T19:09:12.735Z] 444f5516b4c7: Pull complete [2021-08-03T19:09:13.005Z] 90b9b1106a8b: Pull complete [2021-08-03T19:09:13.005Z] 0383d17a5b7e: Pull complete [2021-08-03T19:09:15.622Z] c82ef313ddc5: Pull complete [2021-08-03T19:09:15.622Z] Digest: sha256:3eb3d6350589afc32301fc0b898c8a62550fd4a320e6d69c5ccab6db48ea93d4 [2021-08-03T19:09:15.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-03T19:09:15.622Z] ---> 4508b0543a43 [2021-08-03T19:09:15.622Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-08-03T19:09:16.210Z] ---> Running in eb0ee0c4266d [2021-08-03T19:09:16.316Z] Still waiting to schedule task [2021-08-03T19:09:16.316Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-03T19:09:16.483Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-03T19:09:17.457Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-03T19:09:18.044Z] OK: 219 MiB in 52 packages [2021-08-03T19:09:18.315Z] Removing intermediate container eb0ee0c4266d [2021-08-03T19:09:18.315Z] ---> 4f0ef8ecb4a2 [2021-08-03T19:09:18.315Z] Step 4/6 : WORKDIR /edgex-go [2021-08-03T19:09:18.315Z] ---> Running in cf1961ce3631 [2021-08-03T19:09:18.315Z] Removing intermediate container cf1961ce3631 [2021-08-03T19:09:18.315Z] ---> cbe99f873e5a [2021-08-03T19:09:18.315Z] Step 5/6 : COPY go.mod . [2021-08-03T19:09:18.582Z] ---> 314dda90df6e [2021-08-03T19:09:18.582Z] Step 6/6 : RUN go mod download [2021-08-03T19:09:18.582Z] ---> Running in 40467c240edd [2021-08-03T19:09:57.775Z] Removing intermediate container 40467c240edd [2021-08-03T19:09:57.775Z] ---> ddb825966f92 [2021-08-03T19:09:57.775Z] Successfully built ddb825966f92 [2021-08-03T19:09:57.775Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:09:58.158Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-03T19:09:58.158Z] . [Pipeline] withDockerContainer [2021-08-03T19:09:58.282Z] prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container [2021-08-03T19:09:58.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-03T19:09:58.733Z] $ docker top 748873ab140035c50af6200c02922a869445d14faf1e6baea95945bc0f306f23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T19:09:59.193Z] + go version [2021-08-03T19:09:59.193Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-03T19:09:59.236Z] $ docker stop --time=1 748873ab140035c50af6200c02922a869445d14faf1e6baea95945bc0f306f23 [2021-08-03T19:10:00.418Z] $ docker rm -f 748873ab140035c50af6200c02922a869445d14faf1e6baea95945bc0f306f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:10:03.015Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-03T19:10:03.015Z] . [Pipeline] withDockerContainer [2021-08-03T19:10:03.133Z] prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container [2021-08-03T19:10:03.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-03T19:10:03.540Z] $ docker top c694b09e6e4fd49bac7c7801215ccc71fd94a30608578ad3c06baae82cc6c0ba -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-03T19:10:03.691Z] ========================================================= [2021-08-03T19:10:03.691Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-08-03T19:10:03.691Z] ========================================================= [Pipeline] sh [2021-08-03T19:10:04.055Z] + go mod tidy [Pipeline] sh [2021-08-03T19:10:04.670Z] + make test [2021-08-03T19:10:04.670Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-08-03T19:10:04.940Z] go mod tidy [2021-08-03T19:10:04.940Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-03T19:10:10.323Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-08-03T19:10:25.431Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-08-03T19:10:32.127Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-08-03T19:10:32.127Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-08-03T19:10:32.127Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-08-03T19:10:34.114Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-08-03T19:10:34.382Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-08-03T19:10:34.382Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-08-03T19:10:34.382Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-08-03T19:10:34.976Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-08-03T19:10:35.246Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-08-03T19:10:35.515Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-08-03T19:10:35.515Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-08-03T19:10:35.515Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-08-03T19:10:35.515Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-08-03T19:10:38.348Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.037s coverage: 28.7% of statements [2021-08-03T19:10:38.348Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-08-03T19:10:38.348Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-08-03T19:10:38.954Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.085s coverage: 100.0% of statements [2021-08-03T19:10:38.954Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-08-03T19:10:39.230Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.051s coverage: 46.3% of statements [2021-08-03T19:10:39.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-08-03T19:10:39.230Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-08-03T19:10:40.199Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.118s coverage: 90.1% of statements [2021-08-03T19:10:40.199Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-08-03T19:10:40.199Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:10:41.169Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.057s coverage: 81.2% of statements [2021-08-03T19:10:41.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-08-03T19:10:41.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-08-03T19:10:41.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-08-03T19:10:41.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-08-03T19:10:41.169Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-08-03T19:10:41.442Z] --- FAIL: TestPatchDevice (0.02s) [2021-08-03T19:10:41.442Z] --- FAIL: TestPatchDevice/Invalid_-_empty_id (0.00s) [2021-08-03T19:10:41.442Z] device_test.go:547: [2021-08-03T19:10:41.442Z] Error Trace: device_test.go:547 [2021-08-03T19:10:41.442Z] Error: Received unexpected error: [2021-08-03T19:10:41.442Z] json: cannot unmarshal array into Go value of type common.BaseResponse [2021-08-03T19:10:41.442Z] Test: TestPatchDevice/Invalid_-_empty_id [2021-08-03T19:10:41.442Z] --- FAIL: TestPatchDeviceService (0.01s) [2021-08-03T19:10:41.442Z] --- FAIL: TestPatchDeviceService/Invalid_-_empty_id (0.00s) [2021-08-03T19:10:41.442Z] panic: [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] mock: Unexpected Method Call [2021-08-03T19:10:41.442Z] ----------------------------- [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] DeviceServiceById(string) [2021-08-03T19:10:41.442Z] 0: "" [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] The closest call I have is: [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] DeviceServiceById(string) [2021-08-03T19:10:41.442Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:10:41.442Z] panic: [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] mock: Unexpected Method Call [2021-08-03T19:10:41.442Z] ----------------------------- [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] DeviceServiceById(string) [2021-08-03T19:10:41.442Z] 0: "" [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] The closest call I have is: [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] DeviceServiceById(string) [2021-08-03T19:10:41.442Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:10:41.442Z] [2021-08-03T19:10:41.442Z] goroutine 123 [running]: [2021-08-03T19:10:41.442Z] testing.tRunner.func1.2(0xa4b220, 0xc00026a350) [2021-08-03T19:10:41.442Z] /usr/local/go/src/testing/testing.go:1143 +0x49f [2021-08-03T19:10:41.442Z] testing.tRunner.func1(0xc000442000) [2021-08-03T19:10:41.442Z] /usr/local/go/src/testing/testing.go:1146 +0x695 [2021-08-03T19:10:41.442Z] panic(0xa4b220, 0xc00026a350) [2021-08-03T19:10:41.442Z] /usr/local/go/src/runtime/panic.go:971 +0x499 [2021-08-03T19:10:41.442Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc0004a4f00, 0xaff8c2, 0x6f, 0xc0004b8140, 0x4, 0x4) [2021-08-03T19:10:41.442Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x21f [2021-08-03T19:10:41.442Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0004a4f00, 0xc22c0a, 0x11, 0xc00026a120, 0x1, 0x1, 0xc0004b8100, 0x4, 0x4) [2021-08-03T19:10:41.442Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x510 [2021-08-03T19:10:41.442Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc0004a4f00, 0xc00026a120, 0x1, 0x1, 0xc00049b468, 0x84feb4, 0x447d51) [2021-08-03T19:10:41.442Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x1ee [2021-08-03T19:10:41.442Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks.(*DBClient).DeviceServiceById(0xc0004a4f00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:10:41.442Z] /w/workspace/edgex-go/1/internal/core/metadata/infrastructure/interfaces/mocks/DBClient.go:542 +0x125 [2021-08-03T19:10:41.442Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/application.PatchDeviceService(0xc00026a0a0, 0xc00026a0b0, 0x0, 0x0, 0x0, 0xc00026a0c0, 0xc0004b80c0, 0x2, 0x4, 0xc00026a0d0, ...) [2021-08-03T19:10:41.442Z] /w/workspace/edgex-go/1/internal/core/metadata/application/deviceservice.go:66 +0x274 [2021-08-03T19:10:41.442Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.(*DeviceServiceController).PatchDeviceService(0xc00000f8c0, 0xba25e0, 0xc0004b8080, 0xc000458000) [2021-08-03T19:10:41.442Z] /w/workspace/edgex-go/1/internal/core/metadata/controller/http/deviceservice.go:127 +0x517 [2021-08-03T19:10:41.442Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:10:41.442Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:10:41.442Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.TestPatchDeviceService.func2(0xc000442000) [2021-08-03T19:10:41.442Z] /w/workspace/edgex-go/1/internal/core/metadata/controller/http/deviceservice_test.go:347 +0x40e [2021-08-03T19:10:41.442Z] testing.tRunner(0xc000442000, 0xc00041a1e0) [2021-08-03T19:10:41.442Z] /usr/local/go/src/testing/testing.go:1193 +0x203 [2021-08-03T19:10:41.442Z] created by testing.(*T).Run [2021-08-03T19:10:41.442Z] /usr/local/go/src/testing/testing.go:1238 +0x5d8 [2021-08-03T19:10:41.442Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.184s [2021-08-03T19:10:41.442Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-08-03T19:10:41.442Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:10:41.709Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.052s coverage: 59.1% of statements [2021-08-03T19:10:41.709Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-08-03T19:10:41.709Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-08-03T19:10:41.709Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-08-03T19:10:41.709Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-08-03T19:10:41.709Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-08-03T19:10:41.986Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.063s coverage: 60.0% of statements [2021-08-03T19:10:41.986Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-08-03T19:10:41.986Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-08-03T19:10:41.986Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-08-03T19:10:42.985Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.047s coverage: 0.8% of statements [2021-08-03T19:10:42.985Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-08-03T19:10:42.985Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.054s coverage: 58.8% of statements [2021-08-03T19:10:42.985Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.044s coverage: 22.0% of statements [2021-08-03T19:10:42.985Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-08-03T19:10:43.268Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.046s coverage: 47.1% of statements [2021-08-03T19:10:43.268Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.052s coverage: 79.5% of statements [2021-08-03T19:10:43.542Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements [2021-08-03T19:10:44.135Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.332s coverage: 96.3% of statements [2021-08-03T19:10:44.135Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements [2021-08-03T19:10:56.458Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.053s coverage: 94.4% of statements [2021-08-03T19:10:56.458Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.043s coverage: 44.8% of statements [2021-08-03T19:11:00.733Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.208s coverage: 81.8% of statements [2021-08-03T19:11:00.733Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.078s coverage: 92.9% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.022s coverage: 65.1% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.063s coverage: 87.2% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.042s coverage: 100.0% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 58.8% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.060s coverage: 87.2% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.083s coverage: 91.2% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.119s coverage: 64.4% of statements [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-08-03T19:11:18.977Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.029s coverage: 91.3% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.022s coverage: 73.7% of statements [2021-08-03T19:11:18.977Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements [2021-08-03T19:11:19.949Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.209s coverage: 66.9% of statements [2021-08-03T19:11:19.949Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-08-03T19:11:19.949Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-08-03T19:11:19.949Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-08-03T19:11:20.218Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.110s coverage: 43.6% of statements [2021-08-03T19:11:20.218Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-08-03T19:11:20.218Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-08-03T19:11:20.218Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.059s coverage: 89.5% of statements [2021-08-03T19:11:20.218Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-08-03T19:11:20.487Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.054s coverage: 84.8% of statements [2021-08-03T19:11:20.487Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-08-03T19:11:27.160Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.068s coverage: 19.3% of statements [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-08-03T19:11:27.160Z] --- FAIL: TestPatchSubscription (0.01s) [2021-08-03T19:11:27.160Z] --- FAIL: TestPatchSubscription/Invalid_-_empty_id (0.00s) [2021-08-03T19:11:27.160Z] panic: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] mock: Unexpected Method Call [2021-08-03T19:11:27.160Z] ----------------------------- [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] SubscriptionById(string) [2021-08-03T19:11:27.160Z] 0: "" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] The closest call I have is: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] SubscriptionById(string) [2021-08-03T19:11:27.160Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:11:27.160Z] panic: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] mock: Unexpected Method Call [2021-08-03T19:11:27.160Z] ----------------------------- [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] SubscriptionById(string) [2021-08-03T19:11:27.160Z] 0: "" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] The closest call I have is: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] SubscriptionById(string) [2021-08-03T19:11:27.160Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] goroutine 126 [running]: [2021-08-03T19:11:27.160Z] testing.tRunner.func1.2(0x9a32e0, 0xc00023feb0) [2021-08-03T19:11:27.160Z] /usr/local/go/src/testing/testing.go:1143 +0x49f [2021-08-03T19:11:27.160Z] testing.tRunner.func1(0xc0000e0c00) [2021-08-03T19:11:27.160Z] /usr/local/go/src/testing/testing.go:1146 +0x695 [2021-08-03T19:11:27.160Z] panic(0x9a32e0, 0xc00023feb0) [2021-08-03T19:11:27.160Z] /usr/local/go/src/runtime/panic.go:971 +0x499 [2021-08-03T19:11:27.160Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc000487220, 0xa50240, 0x6f, 0xc000422180, 0x4, 0x4) [2021-08-03T19:11:27.160Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x21f [2021-08-03T19:11:27.160Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000487220, 0xb515ab, 0x10, 0xc00023fcb0, 0x1, 0x1, 0xc000422140, 0x4, 0x4) [2021-08-03T19:11:27.160Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x510 [2021-08-03T19:11:27.160Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc000487220, 0xc00023fcb0, 0x1, 0x1, 0x10000000047e974, 0x10, 0x7fd446d9e108) [2021-08-03T19:11:27.160Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x1ee [2021-08-03T19:11:27.160Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks.(*DBClient).SubscriptionById(0xc000487220, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:11:27.160Z] /w/workspace/edgex-go/1/internal/support/notifications/infrastructure/interfaces/mocks/DBClient.go:372 +0x125 [2021-08-03T19:11:27.160Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/application.PatchSubscription(0xad9eb0, 0xc00001c148, 0xc00023fc00, 0xc00023fc10, 0xc0002fa500, 0x2, 0x4, 0xc00023fc20, 0xc00039ffc0, 0x2, ...) [2021-08-03T19:11:27.160Z] /w/workspace/edgex-go/1/internal/support/notifications/application/subscription.go:142 +0x254 [2021-08-03T19:11:27.160Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http.(*SubscriptionController).PatchSubscription(0xc000089500, 0xad8bc0, 0xc00039ff00, 0xc0001c9500) [2021-08-03T19:11:27.160Z] /w/workspace/edgex-go/1/internal/support/notifications/controller/http/subscription.go:236 +0x525 [2021-08-03T19:11:27.160Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:11:27.160Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:11:27.160Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http.TestPatchSubscription.func2(0xc0000e0c00) [2021-08-03T19:11:27.160Z] /w/workspace/edgex-go/1/internal/support/notifications/controller/http/subscription_test.go:695 +0x40b [2021-08-03T19:11:27.160Z] testing.tRunner(0xc0000e0c00, 0xc000089b78) [2021-08-03T19:11:27.160Z] /usr/local/go/src/testing/testing.go:1193 +0x203 [2021-08-03T19:11:27.160Z] created by testing.(*T).Run [2021-08-03T19:11:27.160Z] /usr/local/go/src/testing/testing.go:1238 +0x5d8 [2021-08-03T19:11:27.160Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.094s [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-08-03T19:11:27.160Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.052s coverage: 62.7% of statements [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-08-03T19:11:27.160Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-08-03T19:11:27.160Z] --- FAIL: TestPatchInterval (0.01s) [2021-08-03T19:11:27.160Z] --- FAIL: TestPatchInterval/Invalid_-_empty_id (0.00s) [2021-08-03T19:11:27.160Z] panic: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] mock: Unexpected Method Call [2021-08-03T19:11:27.160Z] ----------------------------- [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] IntervalById(string) [2021-08-03T19:11:27.160Z] 0: "" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] The closest call I have is: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] IntervalById(string) [2021-08-03T19:11:27.160Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:11:27.160Z] panic: [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] mock: Unexpected Method Call [2021-08-03T19:11:27.160Z] ----------------------------- [2021-08-03T19:11:27.160Z] [2021-08-03T19:11:27.160Z] IntervalById(string) [2021-08-03T19:11:27.160Z] 0: "" [2021-08-03T19:11:27.161Z] [2021-08-03T19:11:27.161Z] The closest call I have is: [2021-08-03T19:11:27.161Z] [2021-08-03T19:11:27.161Z] IntervalById(string) [2021-08-03T19:11:27.161Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:11:27.161Z] [2021-08-03T19:11:27.161Z] [2021-08-03T19:11:27.161Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:11:27.161Z] [2021-08-03T19:11:27.161Z] goroutine 45 [running]: [2021-08-03T19:11:27.161Z] testing.tRunner.func1.2(0x7ee480, 0xc000452850) [2021-08-03T19:11:27.161Z] /usr/local/go/src/testing/testing.go:1143 +0x49f [2021-08-03T19:11:27.161Z] testing.tRunner.func1(0xc000400900) [2021-08-03T19:11:27.161Z] /usr/local/go/src/testing/testing.go:1146 +0x695 [2021-08-03T19:11:27.161Z] panic(0x7ee480, 0xc000452850) [2021-08-03T19:11:27.161Z] /usr/local/go/src/runtime/panic.go:971 +0x499 [2021-08-03T19:11:27.161Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc0003736d0, 0x873581, 0x6f, 0xc000462680, 0x4, 0x4) [2021-08-03T19:11:27.161Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x21f [2021-08-03T19:11:27.161Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003736d0, 0x93669e, 0xc, 0xc000452660, 0x1, 0x1, 0xc000462640, 0x4, 0x4) [2021-08-03T19:11:27.161Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x510 [2021-08-03T19:11:27.161Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc0003736d0, 0xc000452660, 0x1, 0x1, 0x47e75c, 0x418f60, 0xc00014f5d0) [2021-08-03T19:11:27.161Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x1ee [2021-08-03T19:11:27.161Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks.(*DBClient).IntervalById(0xc0003736d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:11:27.161Z] /w/workspace/edgex-go/1/internal/support/scheduler/infrastructure/interfaces/mocks/DBClient.go:224 +0x125 [2021-08-03T19:11:27.161Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/application.PatchInterval(0xc000452600, 0xc000452610, 0x0, 0x0, 0xc000452620, 0x8d55f0, 0xc0000a6010, 0xc0003d2a60, 0x203000, 0x203000) [2021-08-03T19:11:27.161Z] /w/workspace/edgex-go/1/internal/support/scheduler/application/interval.go:111 +0x2f4 [2021-08-03T19:11:27.161Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http.(*IntervalController).PatchInterval(0xc0000b8ac8, 0x8d4cf0, 0xc000462600, 0xc0003f2b00) [2021-08-03T19:11:27.161Z] /w/workspace/edgex-go/1/internal/support/scheduler/controller/http/interval.go:160 +0x525 [2021-08-03T19:11:27.161Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:11:27.161Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:11:27.161Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http.TestPatchInterval.func3(0xc000400900) [2021-08-03T19:11:27.161Z] /w/workspace/edgex-go/1/internal/support/scheduler/controller/http/interval_test.go:456 +0x40e [2021-08-03T19:11:27.161Z] testing.tRunner(0xc000400900, 0xc00042cab0) [2021-08-03T19:11:27.161Z] /usr/local/go/src/testing/testing.go:1193 +0x203 [2021-08-03T19:11:27.161Z] created by testing.(*T).Run [2021-08-03T19:11:27.161Z] /usr/local/go/src/testing/testing.go:1238 +0x5d8 [2021-08-03T19:11:27.161Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.049s [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-08-03T19:11:27.161Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.055s coverage: 28.9% of statements [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-08-03T19:11:27.161Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-08-03T19:11:27.161Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements [2021-08-03T19:11:27.161Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 95.4% of statements [2021-08-03T19:11:27.161Z] FAIL [2021-08-03T19:11:27.435Z] make: *** [Makefile:101: test] Error 1 [Pipeline] } [2021-08-03T19:11:27.490Z] $ docker stop --time=1 c694b09e6e4fd49bac7c7801215ccc71fd94a30608578ad3c06baae82cc6c0ba [2021-08-03T19:11:28.222Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1906 in /w/workspace/edgexfoundry_edgex-go_PR-3647 [2021-08-03T19:11:28.797Z] $ docker rm -f c694b09e6e4fd49bac7c7801215ccc71fd94a30608578ad3c06baae82cc6c0ba [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-08-03T19:11:29.210Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] checkout Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-08-03T19:11:29.672Z] The recommended git tool is: git 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] } [2021-08-03T19:11:30.358Z] Failed in branch amd64 [2021-08-03T19:11:35.136Z] using credential edgex-jenkins-ssh [2021-08-03T19:11:35.155Z] Cloning the remote Git repository [2021-08-03T19:11:35.261Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-08-03T19:11:35.383Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-08-03T19:11:35.464Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-03T19:11:35.465Z] > git --version # timeout=10 [2021-08-03T19:11:35.498Z] > git --version # 'git version 2.17.1' [2021-08-03T19:11:35.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-03T19:11:35.610Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T19:11:51.672Z] Merging remotes/origin/main commit c934d2629fd1f346ec6ed5d2a54fcedb9a03a0ad into PR head commit 905359d5c1b4947ebd876e6291f354490a67a70c [2021-08-03T19:11:51.038Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-03T19:11:51.051Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-03T19:11:51.076Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-03T19:11:51.105Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-03T19:11:51.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-03T19:11:51.124Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3647/head:refs/remotes/origin/PR-3647 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-03T19:11:51.695Z] > git config core.sparsecheckout # timeout=10 [2021-08-03T19:11:51.715Z] > git checkout -f 905359d5c1b4947ebd876e6291f354490a67a70c # timeout=10 [2021-08-03T19:11:52.001Z] Merge succeeded, producing 905359d5c1b4947ebd876e6291f354490a67a70c [2021-08-03T19:11:52.002Z] Checking out Revision 905359d5c1b4947ebd876e6291f354490a67a70c (PR-3647) [2021-08-03T19:11:51.919Z] > git remote # timeout=10 [2021-08-03T19:11:51.939Z] > git config --get remote.origin.url # timeout=10 [2021-08-03T19:11:51.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-03T19:11:51.964Z] > git merge c934d2629fd1f346ec6ed5d2a54fcedb9a03a0ad # timeout=10 [2021-08-03T19:11:51.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-03T19:11:52.010Z] > git config core.sparsecheckout # timeout=10 [2021-08-03T19:11:52.022Z] > git checkout -f 905359d5c1b4947ebd876e6291f354490a67a70c # timeout=10 [2021-08-03T19:11:56.386Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-08-03T19:11:56.443Z] > git --version # timeout=10 [2021-08-03T19:11:56.453Z] > git --version # 'git version 2.17.1' [2021-08-03T19:11:56.464Z] fatal: bad object 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T19:11:59.077Z] provisioning config files... [2021-08-03T19:11:59.141Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1032242535483390850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:11:59.901Z] ---> docker-login.sh [2021-08-03T19:11:59.901Z] nexus3.edgexfoundry.org:10001 [2021-08-03T19:12:00.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:12:01.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:12:01.171Z] Configure a credential helper to remove this warning. See [2021-08-03T19:12:01.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:12:01.171Z] [2021-08-03T19:12:01.171Z] Login Succeeded [2021-08-03T19:12:01.171Z] nexus3.edgexfoundry.org:10002 [2021-08-03T19:12:01.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:12:01.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:12:01.788Z] Configure a credential helper to remove this warning. See [2021-08-03T19:12:01.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:12:01.788Z] [2021-08-03T19:12:01.788Z] Login Succeeded [2021-08-03T19:12:01.788Z] nexus3.edgexfoundry.org:10003 [2021-08-03T19:12:02.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:12:02.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:12:02.390Z] Configure a credential helper to remove this warning. See [2021-08-03T19:12:02.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:12:02.390Z] [2021-08-03T19:12:02.390Z] Login Succeeded [2021-08-03T19:12:02.390Z] nexus3.edgexfoundry.org:10004 [2021-08-03T19:12:02.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:12:02.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:12:02.989Z] Configure a credential helper to remove this warning. See [2021-08-03T19:12:02.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:12:02.989Z] [2021-08-03T19:12:02.989Z] Login Succeeded [2021-08-03T19:12:02.989Z] docker.io [2021-08-03T19:12:03.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-03T19:12:03.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-03T19:12:03.861Z] Configure a credential helper to remove this warning. See [2021-08-03T19:12:03.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-03T19:12:03.861Z] [2021-08-03T19:12:03.861Z] Login Succeeded [2021-08-03T19:12:03.861Z] ---> docker-login.sh ends [Pipeline] } [2021-08-03T19:12:03.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-03T19:12:04.564Z] ========================================================= [2021-08-03T19:12:04.564Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-03T19:12:04.564Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:12:05.020Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-03T19:12:07.671Z] Sending build context to Docker daemon 165.8MB [2021-08-03T19:12:07.671Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-08-03T19:12:07.671Z] Step 2/6 : FROM ${BASE} [2021-08-03T19:12:07.671Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-03T19:12:07.671Z] 595b0fe564bb: Pulling fs layer [2021-08-03T19:12:07.671Z] 24495759ef45: Pulling fs layer [2021-08-03T19:12:07.671Z] d148012ef14d: Pulling fs layer [2021-08-03T19:12:07.671Z] e90a11edd702: Pulling fs layer [2021-08-03T19:12:07.671Z] d77568369979: Pulling fs layer [2021-08-03T19:12:07.671Z] 02195dbdac53: Pulling fs layer [2021-08-03T19:12:07.671Z] 2b1b35aa2570: Pulling fs layer [2021-08-03T19:12:07.671Z] 2c1f732e5b09: Pulling fs layer [2021-08-03T19:12:07.671Z] e90a11edd702: Waiting [2021-08-03T19:12:07.671Z] d77568369979: Waiting [2021-08-03T19:12:07.671Z] 02195dbdac53: Waiting [2021-08-03T19:12:07.671Z] 2c1f732e5b09: Waiting [2021-08-03T19:12:07.671Z] 2b1b35aa2570: Waiting [2021-08-03T19:12:07.671Z] d148012ef14d: Download complete [2021-08-03T19:12:07.671Z] 24495759ef45: Verifying Checksum [2021-08-03T19:12:07.671Z] 24495759ef45: Download complete [2021-08-03T19:12:07.671Z] d77568369979: Download complete [2021-08-03T19:12:07.671Z] 02195dbdac53: Download complete [2021-08-03T19:12:07.671Z] 595b0fe564bb: Verifying Checksum [2021-08-03T19:12:07.671Z] 595b0fe564bb: Download complete [2021-08-03T19:12:07.671Z] 2b1b35aa2570: Verifying Checksum [2021-08-03T19:12:07.671Z] 2b1b35aa2570: Download complete [2021-08-03T19:12:08.271Z] 595b0fe564bb: Pull complete [2021-08-03T19:12:09.269Z] 24495759ef45: Pull complete [2021-08-03T19:12:09.546Z] d148012ef14d: Pull complete [2021-08-03T19:12:11.536Z] 2c1f732e5b09: Verifying Checksum [2021-08-03T19:12:11.536Z] 2c1f732e5b09: Download complete [2021-08-03T19:12:11.819Z] e90a11edd702: Verifying Checksum [2021-08-03T19:12:11.819Z] e90a11edd702: Download complete [2021-08-03T19:12:22.001Z] e90a11edd702: Pull complete [2021-08-03T19:12:22.274Z] d77568369979: Pull complete [2021-08-03T19:12:22.876Z] 02195dbdac53: Pull complete [2021-08-03T19:12:23.474Z] 2b1b35aa2570: Pull complete [2021-08-03T19:12:30.210Z] 2c1f732e5b09: Pull complete [2021-08-03T19:12:30.210Z] Digest: sha256:28bf673c29b435c7a745567d5b62fe0c6cb5f21a2a07afb8b83a2b3b340898b5 [2021-08-03T19:12:30.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-03T19:12:30.210Z] ---> 88ecf2bb1f95 [2021-08-03T19:12:30.210Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-08-03T19:12:33.612Z] ---> Running in 010cbb4f93b5 [2021-08-03T19:12:35.057Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-03T19:12:36.041Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-03T19:12:36.638Z] OK: 218 MiB in 52 packages [2021-08-03T19:12:38.082Z] Removing intermediate container 010cbb4f93b5 [2021-08-03T19:12:38.082Z] ---> dcd9a74862da [2021-08-03T19:12:38.082Z] Step 4/6 : WORKDIR /edgex-go [2021-08-03T19:12:38.082Z] ---> Running in 80f7b139387f [2021-08-03T19:12:38.685Z] Removing intermediate container 80f7b139387f [2021-08-03T19:12:38.685Z] ---> 03dfa8d3e9d0 [2021-08-03T19:12:38.685Z] Step 5/6 : COPY go.mod . [2021-08-03T19:12:39.668Z] ---> 53cb4f6a64a6 [2021-08-03T19:12:39.668Z] Step 6/6 : RUN go mod download [2021-08-03T19:12:39.668Z] ---> Running in 5c80dbd51e9e [2021-08-03T19:14:16.491Z] Removing intermediate container 5c80dbd51e9e [2021-08-03T19:14:16.491Z] ---> 3607cd425e04 [2021-08-03T19:14:16.491Z] Successfully built 3607cd425e04 [2021-08-03T19:14:16.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:14:16.892Z] + docker inspect -f . ci-base-image-arm64 [2021-08-03T19:14:16.892Z] . [Pipeline] withDockerContainer [2021-08-03T19:14:17.180Z] prd-ubuntu18.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container [2021-08-03T19:14:17.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-03T19:14:19.054Z] $ docker top ec94484c98c7dd1857192bee7fb46c1b9e9cb8c1146249351bc40ed8d7251dc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T19:14:20.103Z] + go version [2021-08-03T19:14:20.104Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-03T19:14:20.138Z] $ docker stop --time=1 ec94484c98c7dd1857192bee7fb46c1b9e9cb8c1146249351bc40ed8d7251dc2 [2021-08-03T19:14:22.252Z] $ docker rm -f ec94484c98c7dd1857192bee7fb46c1b9e9cb8c1146249351bc40ed8d7251dc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:14:23.385Z] + docker inspect -f . ci-base-image-arm64 [2021-08-03T19:14:23.385Z] . [Pipeline] withDockerContainer [2021-08-03T19:14:23.668Z] prd-ubuntu18.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container [2021-08-03T19:14:23.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-03T19:14:25.382Z] $ docker top d4fd07bc8bdc2ae17799aae85b47d950242cbcb6fe8e9af289c27464bb0c59dd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-03T19:14:25.748Z] ========================================================= [2021-08-03T19:14:25.749Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-08-03T19:14:25.749Z] ========================================================= [Pipeline] sh [2021-08-03T19:14:26.416Z] + go mod tidy [Pipeline] sh [2021-08-03T19:14:28.084Z] + make test [2021-08-03T19:14:28.084Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-08-03T19:14:28.084Z] go mod tidy [2021-08-03T19:14:28.689Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-03T19:14:55.551Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-08-03T19:15:52.219Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-08-03T19:15:54.222Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-08-03T19:15:55.682Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-08-03T19:15:56.289Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-08-03T19:16:08.738Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-08-03T19:16:09.726Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-08-03T19:16:09.726Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-08-03T19:16:09.726Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-08-03T19:16:09.726Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-08-03T19:16:22.157Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.264s coverage: 28.7% of statements [2021-08-03T19:16:22.157Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-08-03T19:16:22.157Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-08-03T19:16:24.797Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.292s coverage: 100.0% of statements [2021-08-03T19:16:24.797Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-08-03T19:16:24.797Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.368s coverage: 46.3% of statements [2021-08-03T19:16:24.797Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-08-03T19:16:24.797Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-08-03T19:16:26.246Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.569s coverage: 90.1% of statements [2021-08-03T19:16:26.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-08-03T19:16:26.246Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:16:29.675Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.220s coverage: 81.2% of statements [2021-08-03T19:16:29.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-08-03T19:16:29.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-08-03T19:16:29.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-08-03T19:16:29.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-08-03T19:16:29.675Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-08-03T19:16:35.125Z] --- FAIL: TestPatchDevice (0.11s) [2021-08-03T19:16:35.125Z] --- FAIL: TestPatchDevice/Invalid_-_empty_id (0.01s) [2021-08-03T19:16:35.125Z] device_test.go:547: [2021-08-03T19:16:35.125Z] Error Trace: device_test.go:547 [2021-08-03T19:16:35.125Z] Error: Received unexpected error: [2021-08-03T19:16:35.125Z] json: cannot unmarshal array into Go value of type common.BaseResponse [2021-08-03T19:16:35.125Z] Test: TestPatchDevice/Invalid_-_empty_id [2021-08-03T19:16:35.125Z] --- FAIL: TestPatchDeviceService (0.05s) [2021-08-03T19:16:35.125Z] --- FAIL: TestPatchDeviceService/Invalid_-_empty_id (0.01s) [2021-08-03T19:16:35.125Z] panic: [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] mock: Unexpected Method Call [2021-08-03T19:16:35.125Z] ----------------------------- [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] DeviceServiceById(string) [2021-08-03T19:16:35.125Z] 0: "" [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] The closest call I have is: [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] DeviceServiceById(string) [2021-08-03T19:16:35.125Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:16:35.125Z] panic: [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] mock: Unexpected Method Call [2021-08-03T19:16:35.125Z] ----------------------------- [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] DeviceServiceById(string) [2021-08-03T19:16:35.125Z] 0: "" [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] The closest call I have is: [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] DeviceServiceById(string) [2021-08-03T19:16:35.125Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:16:35.125Z] [2021-08-03T19:16:35.125Z] goroutine 230 [running]: [2021-08-03T19:16:35.125Z] testing.tRunner.func1.2(0x5178a0, 0xc000383a30) [2021-08-03T19:16:35.125Z] /usr/local/go/src/testing/testing.go:1143 +0x348 [2021-08-03T19:16:35.125Z] testing.tRunner.func1(0xc000501200) [2021-08-03T19:16:35.125Z] /usr/local/go/src/testing/testing.go:1146 +0x470 [2021-08-03T19:16:35.125Z] panic(0x5178a0, 0xc000383a30) [2021-08-03T19:16:35.125Z] /usr/local/go/src/runtime/panic.go:971 +0x424 [2021-08-03T19:16:35.125Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc0003d4fa0, 0x5cca20, 0x6f, 0xc000013900, 0x4, 0x4) [2021-08-03T19:16:35.125Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x180 [2021-08-03T19:16:35.125Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003d4fa0, 0x6ef8e5, 0x11, 0xc0003837c0, 0x1, 0x1, 0xc0000138c0, 0x4, 0x4) [2021-08-03T19:16:35.125Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x394 [2021-08-03T19:16:35.125Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc0003d4fa0, 0xc0003837c0, 0x1, 0x1, 0xc00034f470, 0x3da35c, 0x4f770) [2021-08-03T19:16:35.125Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x15c [2021-08-03T19:16:35.125Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks.(*DBClient).DeviceServiceById(0xc0003d4fa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:16:35.125Z] /w/workspace/edgex-go/1/internal/core/metadata/infrastructure/interfaces/mocks/DBClient.go:542 +0xcc [2021-08-03T19:16:35.125Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/application.PatchDeviceService(0xc000383720, 0xc000383730, 0x0, 0x0, 0x0, 0xc000383740, 0xc000013880, 0x2, 0x4, 0xc000383750, ...) [2021-08-03T19:16:35.125Z] /w/workspace/edgex-go/1/internal/core/metadata/application/deviceservice.go:66 +0x1bc [2021-08-03T19:16:35.125Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.(*DeviceServiceController).PatchDeviceService(0xc000466ae0, 0x670970, 0xc000013840, 0xc0000b3000) [2021-08-03T19:16:35.125Z] /w/workspace/edgex-go/1/internal/core/metadata/controller/http/deviceservice.go:127 +0x3cc [2021-08-03T19:16:35.125Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:16:35.125Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:16:35.125Z] github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.TestPatchDeviceService.func2(0xc000501200) [2021-08-03T19:16:35.125Z] /w/workspace/edgex-go/1/internal/core/metadata/controller/http/deviceservice_test.go:347 +0x334 [2021-08-03T19:16:35.125Z] testing.tRunner(0xc000501200, 0xc000662330) [2021-08-03T19:16:35.125Z] /usr/local/go/src/testing/testing.go:1193 +0x174 [2021-08-03T19:16:35.125Z] created by testing.(*T).Run [2021-08-03T19:16:35.125Z] /usr/local/go/src/testing/testing.go:1238 +0x43c [2021-08-03T19:16:35.125Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.195s [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.237s coverage: 59.1% of statements [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.248s coverage: 60.0% of statements [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.279s coverage: 0.8% of statements [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.155s coverage: 58.8% of statements [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.228s coverage: 22.0% of statements [2021-08-03T19:16:35.125Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.332s coverage: 47.1% of statements [2021-08-03T19:16:35.125Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.211s coverage: 79.5% of statements [2021-08-03T19:16:35.728Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.185s coverage: 94.1% of statements [2021-08-03T19:16:36.714Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.203s coverage: 96.3% of statements [2021-08-03T19:16:37.706Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.203s coverage: 87.5% of statements [2021-08-03T19:16:50.141Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.191s coverage: 94.4% of statements [2021-08-03T19:16:50.141Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.194s coverage: 44.8% of statements [2021-08-03T19:16:55.555Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.565s coverage: 81.8% of statements [2021-08-03T19:16:55.555Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.272s coverage: 92.9% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.190s coverage: 87.2% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.152s coverage: 100.0% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.188s coverage: 58.8% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.183s coverage: 80.0% of statements [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.241s coverage: 87.2% of statements [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.240s coverage: 85.4% of statements [2021-08-03T19:17:02.326Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.319s coverage: 91.2% of statements [2021-08-03T19:17:02.326Z] ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] [2021-08-03T19:17:03.784Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.854s coverage: 64.4% of statements [2021-08-03T19:17:03.784Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] [2021-08-03T19:17:03.784Z] ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] [2021-08-03T19:17:03.784Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.191s coverage: 100.0% of statements [2021-08-03T19:17:03.784Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements [2021-08-03T19:17:03.784Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.071s coverage: 100.0% of statements [2021-08-03T19:17:03.784Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.088s coverage: 73.7% of statements [2021-08-03T19:17:04.391Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.081s coverage: 100.0% of statements [2021-08-03T19:17:08.739Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.148s coverage: 66.9% of statements [2021-08-03T19:17:08.739Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] [2021-08-03T19:17:08.739Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] [2021-08-03T19:17:08.739Z] ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] [2021-08-03T19:17:11.380Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.820s coverage: 43.6% of statements [2021-08-03T19:17:11.380Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] [2021-08-03T19:17:11.380Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] [2021-08-03T19:17:11.380Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.215s coverage: 89.5% of statements [2021-08-03T19:17:11.380Z] ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] [2021-08-03T19:17:11.380Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.211s coverage: 84.8% of statements [2021-08-03T19:17:11.380Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] [2021-08-03T19:17:18.118Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.229s coverage: 19.3% of statements [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] [2021-08-03T19:17:18.118Z] --- FAIL: TestPatchSubscription (0.03s) [2021-08-03T19:17:18.118Z] --- FAIL: TestPatchSubscription/Invalid_-_empty_id (0.00s) [2021-08-03T19:17:18.118Z] panic: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] mock: Unexpected Method Call [2021-08-03T19:17:18.118Z] ----------------------------- [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] SubscriptionById(string) [2021-08-03T19:17:18.118Z] 0: "" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] The closest call I have is: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] SubscriptionById(string) [2021-08-03T19:17:18.118Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:17:18.118Z] panic: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] mock: Unexpected Method Call [2021-08-03T19:17:18.118Z] ----------------------------- [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] SubscriptionById(string) [2021-08-03T19:17:18.118Z] 0: "" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] The closest call I have is: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] SubscriptionById(string) [2021-08-03T19:17:18.118Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] goroutine 134 [running]: [2021-08-03T19:17:18.118Z] testing.tRunner.func1.2(0x495920, 0xc0004170a0) [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1143 +0x348 [2021-08-03T19:17:18.118Z] testing.tRunner.func1(0xc0004ead80) [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1146 +0x470 [2021-08-03T19:17:18.118Z] panic(0x495920, 0xc0004170a0) [2021-08-03T19:17:18.118Z] /usr/local/go/src/runtime/panic.go:971 +0x424 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc000546be0, 0x54335e, 0x6f, 0xc000381a40, 0x4, 0x4) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x180 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000546be0, 0x643e26, 0x10, 0xc000416e20, 0x1, 0x1, 0xc000381a00, 0x4, 0x4) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x394 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc000546be0, 0xc000416e20, 0x1, 0x1, 0xc000308600, 0x8c0e8, 0xc000040800) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x15c [2021-08-03T19:17:18.118Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks.(*DBClient).SubscriptionById(0xc000546be0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:17:18.118Z] /w/workspace/edgex-go/1/internal/support/notifications/infrastructure/interfaces/mocks/DBClient.go:372 +0xc8 [2021-08-03T19:17:18.118Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/application.PatchSubscription(0x5cdb10, 0xc000120010, 0xc000416d70, 0xc000416d80, 0xc0003b8c80, 0x2, 0x4, 0xc000416d90, 0xc000381880, 0x2, ...) [2021-08-03T19:17:18.118Z] /w/workspace/edgex-go/1/internal/support/notifications/application/subscription.go:142 +0x1b4 [2021-08-03T19:17:18.118Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http.(*SubscriptionController).PatchSubscription(0xc00000e558, 0x5cc7d0, 0xc0003817c0, 0xc0004a3200) [2021-08-03T19:17:18.118Z] /w/workspace/edgex-go/1/internal/support/notifications/controller/http/subscription.go:236 +0x3d0 [2021-08-03T19:17:18.118Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:17:18.118Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:17:18.118Z] github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http.TestPatchSubscription.func2(0xc0004ead80) [2021-08-03T19:17:18.118Z] /w/workspace/edgex-go/1/internal/support/notifications/controller/http/subscription_test.go:695 +0x328 [2021-08-03T19:17:18.118Z] testing.tRunner(0xc0004ead80, 0xc00000ebd0) [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1193 +0x174 [2021-08-03T19:17:18.118Z] created by testing.(*T).Run [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1238 +0x43c [2021-08-03T19:17:18.118Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.411s [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] [2021-08-03T19:17:18.118Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.212s coverage: 62.7% of statements [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] [2021-08-03T19:17:18.118Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] [2021-08-03T19:17:18.118Z] --- FAIL: TestPatchInterval (0.03s) [2021-08-03T19:17:18.118Z] --- FAIL: TestPatchInterval/Invalid_-_empty_id (0.00s) [2021-08-03T19:17:18.118Z] panic: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] mock: Unexpected Method Call [2021-08-03T19:17:18.118Z] ----------------------------- [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] IntervalById(string) [2021-08-03T19:17:18.118Z] 0: "" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] The closest call I have is: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] IntervalById(string) [2021-08-03T19:17:18.118Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [recovered] [2021-08-03T19:17:18.118Z] panic: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] mock: Unexpected Method Call [2021-08-03T19:17:18.118Z] ----------------------------- [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] IntervalById(string) [2021-08-03T19:17:18.118Z] 0: "" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] The closest call I have is: [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] IntervalById(string) [2021-08-03T19:17:18.118Z] 0: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] Diff: 0: FAIL: (string=) != (string=82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc) [2021-08-03T19:17:18.118Z] [2021-08-03T19:17:18.118Z] goroutine 37 [running]: [2021-08-03T19:17:18.118Z] testing.tRunner.func1.2(0x349ac0, 0xc0004a5450) [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1143 +0x348 [2021-08-03T19:17:18.118Z] testing.tRunner.func1(0xc0004d6180) [2021-08-03T19:17:18.118Z] /usr/local/go/src/testing/testing.go:1146 +0x470 [2021-08-03T19:17:18.118Z] panic(0x349ac0, 0xc0004a5450) [2021-08-03T19:17:18.118Z] /usr/local/go/src/runtime/panic.go:971 +0x424 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc000440b40, 0x3cf602, 0x6f, 0xc0004cc4c0, 0x4, 0x4) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x180 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000440b40, 0x49261d, 0xc, 0xc0004a5260, 0x1, 0x1, 0xc0004cc480, 0x4, 0x4) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x394 [2021-08-03T19:17:18.118Z] github.com/stretchr/testify/mock.(*Mock).Called(0xc000440b40, 0xc0004a5260, 0x1, 0x1, 0xc00013b598, 0x83c84, 0xc00013b5d8) [2021-08-03T19:17:18.118Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x15c [2021-08-03T19:17:18.119Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks.(*DBClient).IntervalById(0xc000440b40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) [2021-08-03T19:17:18.119Z] /w/workspace/edgex-go/1/internal/support/scheduler/infrastructure/interfaces/mocks/DBClient.go:224 +0xc8 [2021-08-03T19:17:18.119Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/application.PatchInterval(0xc0004a5200, 0xc0004a5210, 0x0, 0x0, 0xc0004a5220, 0x431fd0, 0xc00001c148, 0xc000422c00, 0xc00004aaa8, 0x496e8) [2021-08-03T19:17:18.119Z] /w/workspace/edgex-go/1/internal/support/scheduler/application/interval.go:111 +0x238 [2021-08-03T19:17:18.119Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http.(*IntervalController).PatchInterval(0xc000412390, 0x4316a0, 0xc0004cc440, 0xc000429600) [2021-08-03T19:17:18.119Z] /w/workspace/edgex-go/1/internal/support/scheduler/controller/http/interval.go:160 +0x3e4 [2021-08-03T19:17:18.119Z] net/http.HandlerFunc.ServeHTTP(...) [2021-08-03T19:17:18.119Z] /usr/local/go/src/net/http/server.go:2049 [2021-08-03T19:17:18.119Z] github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http.TestPatchInterval.func3(0xc0004d6180) [2021-08-03T19:17:18.119Z] /w/workspace/edgex-go/1/internal/support/scheduler/controller/http/interval_test.go:456 +0x334 [2021-08-03T19:17:18.119Z] testing.tRunner(0xc0004d6180, 0xc0004d0240) [2021-08-03T19:17:18.119Z] /usr/local/go/src/testing/testing.go:1193 +0x174 [2021-08-03T19:17:18.119Z] created by testing.(*T).Run [2021-08-03T19:17:18.119Z] /usr/local/go/src/testing/testing.go:1238 +0x43c [2021-08-03T19:17:18.119Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.238s [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] [2021-08-03T19:17:18.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.178s coverage: 28.9% of statements [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] [2021-08-03T19:17:18.119Z] ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] [2021-08-03T19:17:18.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.177s coverage: 100.0% of statements [2021-08-03T19:17:18.119Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 95.4% of statements [2021-08-03T19:17:18.119Z] FAIL [2021-08-03T19:17:18.717Z] make: *** [Makefile:101: test] Error 1 [Pipeline] } [2021-08-03T19:17:18.769Z] $ docker stop --time=1 d4fd07bc8bdc2ae17799aae85b47d950242cbcb6fe8e9af289c27464bb0c59dd [2021-08-03T19:17:20.932Z] $ docker rm -f d4fd07bc8bdc2ae17799aae85b47d950242cbcb6fe8e9af289c27464bb0c59dd [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 [2021-08-03T19:17:23.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T19:17:23.289Z] [2021-08-03T19:17:23.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:17:23.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T19:17:23.983Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-03T19:17:23.983Z] 448f6bf000e3: Pulling fs layer [2021-08-03T19:17:23.983Z] f757da607395: Pulling fs layer [2021-08-03T19:17:23.983Z] 05883995daec: Pulling fs layer [2021-08-03T19:17:23.983Z] 8603b9c90790: Pulling fs layer [2021-08-03T19:17:23.983Z] 1560dd03e051: Pulling fs layer [2021-08-03T19:17:23.983Z] 27f5ce0e4adf: Pulling fs layer [2021-08-03T19:17:23.983Z] c2d8d7efcc4b: Pulling fs layer [2021-08-03T19:17:23.983Z] 1560dd03e051: Waiting [2021-08-03T19:17:23.983Z] 27f5ce0e4adf: Waiting [2021-08-03T19:17:23.983Z] c2d8d7efcc4b: Waiting [2021-08-03T19:17:23.983Z] 8603b9c90790: Waiting [2021-08-03T19:17:24.260Z] f757da607395: Verifying Checksum [2021-08-03T19:17:24.260Z] f757da607395: Download complete [2021-08-03T19:17:24.260Z] 8603b9c90790: Download complete [2021-08-03T19:17:24.537Z] 1560dd03e051: Verifying Checksum [2021-08-03T19:17:24.537Z] 1560dd03e051: Download complete [2021-08-03T19:17:24.537Z] 27f5ce0e4adf: Verifying Checksum [2021-08-03T19:17:24.537Z] 27f5ce0e4adf: Download complete [2021-08-03T19:17:24.810Z] 05883995daec: Verifying Checksum [2021-08-03T19:17:24.810Z] 05883995daec: Download complete [2021-08-03T19:17:25.794Z] 448f6bf000e3: Download complete [2021-08-03T19:17:28.426Z] c2d8d7efcc4b: Verifying Checksum [2021-08-03T19:17:29.025Z] 448f6bf000e3: Pull complete [2021-08-03T19:17:30.006Z] f757da607395: Pull complete [2021-08-03T19:17:31.458Z] 05883995daec: Pull complete [2021-08-03T19:17:31.735Z] 8603b9c90790: Pull complete [2021-08-03T19:17:32.727Z] 1560dd03e051: Pull complete [2021-08-03T19:17:33.001Z] 27f5ce0e4adf: Pull complete [2021-08-03T19:17:48.105Z] c2d8d7efcc4b: Pull complete [2021-08-03T19:17:48.105Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-03T19:17:48.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-03T19:17:48.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-03T19:17:48.400Z] prd-ubuntu18.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container [2021-08-03T19:17:48.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-03T19:17:53.346Z] $ docker top 507f67e1ffcc8560233b36e7ac2ef2c99d891185453e7b190d1decb8662e9b4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:17:54.750Z] ---> job-cost.sh [2021-08-03T19:17:54.750Z] lf-activate-venv: SKIPPING [2021-08-03T19:17:54.750Z] INFO: No Stack... [2021-08-03T19:17:56.716Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-03T19:17:56.989Z] INFO: Archiving Costs [Pipeline] sh [2021-08-03T19:17:57.693Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [2021-08-03T19:17:57.694Z] + cut -d, -f6 [Pipeline] lock [2021-08-03T19:17:57.803Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3647-1-stack-cost] [2021-08-03T19:17:57.811Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3647-1-stack-cost] did not exist. Created. [2021-08-03T19:17:57.811Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-03T19:17:58.632Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-03T19:17:59.319Z] Stashed 1 file(s) [Pipeline] } [2021-08-03T19:17:59.345Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3647-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-03T19:17:59.442Z] $ docker stop --time=1 507f67e1ffcc8560233b36e7ac2ef2c99d891185453e7b190d1decb8662e9b4f [2021-08-03T19:18:01.103Z] $ docker rm -f 507f67e1ffcc8560233b36e7ac2ef2c99d891185453e7b190d1decb8662e9b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-03T19:18:04.197Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-03T19:18:06.554Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:06.981Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:07.658Z] ---> package-listing.sh [2021-08-03T19:18:07.658Z] ++ facter osfamily [2021-08-03T19:18:07.658Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-03T19:18:07.938Z] + OS_FAMILY=redhat [2021-08-03T19:18:07.938Z] + workspace=/w/workspace/edgex-go/1 [2021-08-03T19:18:07.938Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-03T19:18:07.938Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-03T19:18:07.938Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-03T19:18:07.938Z] + PACKAGES=/tmp/packages_start.txt [2021-08-03T19:18:07.938Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-03T19:18:07.938Z] + PACKAGES=/tmp/packages_end.txt [2021-08-03T19:18:07.938Z] + case "${OS_FAMILY}" in [2021-08-03T19:18:07.938Z] + sort [2021-08-03T19:18:07.938Z] + rpm -qa [2021-08-03T19:18:08.525Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-03T19:18:08.525Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-03T19:18:08.525Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-03T19:18:08.525Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-03T19:18:08.525Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-08-03T19:18:08.525Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-08-03T19:18:08.566Z] 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 [2021-08-03T19:18:08.906Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:18:09.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T19:18:09.549Z] [2021-08-03T19:18:09.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-03T19:18:09.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T19:18:09.939Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-03T19:18:09.939Z] b4d181a07f80: Pulling fs layer [2021-08-03T19:18:09.939Z] a1111a8f2ec3: Pulling fs layer [2021-08-03T19:18:09.939Z] ed53099fbce6: Pulling fs layer [2021-08-03T19:18:09.939Z] dc539afda2c1: Pulling fs layer [2021-08-03T19:18:09.939Z] 77bc0d833cb6: Pulling fs layer [2021-08-03T19:18:09.939Z] 9065ff56babe: Pulling fs layer [2021-08-03T19:18:09.939Z] d287ab97295c: Pulling fs layer [2021-08-03T19:18:09.939Z] dc539afda2c1: Waiting [2021-08-03T19:18:09.939Z] 77bc0d833cb6: Waiting [2021-08-03T19:18:09.939Z] 9065ff56babe: Waiting [2021-08-03T19:18:09.939Z] d287ab97295c: Waiting [2021-08-03T19:18:10.205Z] a1111a8f2ec3: Verifying Checksum [2021-08-03T19:18:10.205Z] a1111a8f2ec3: Download complete [2021-08-03T19:18:10.205Z] dc539afda2c1: Verifying Checksum [2021-08-03T19:18:10.205Z] dc539afda2c1: Download complete [2021-08-03T19:18:10.469Z] 77bc0d833cb6: Verifying Checksum [2021-08-03T19:18:10.469Z] 77bc0d833cb6: Download complete [2021-08-03T19:18:10.469Z] 9065ff56babe: Verifying Checksum [2021-08-03T19:18:10.469Z] 9065ff56babe: Download complete [2021-08-03T19:18:10.738Z] ed53099fbce6: Verifying Checksum [2021-08-03T19:18:10.738Z] ed53099fbce6: Download complete [2021-08-03T19:18:11.323Z] b4d181a07f80: Verifying Checksum [2021-08-03T19:18:11.323Z] b4d181a07f80: Download complete [2021-08-03T19:18:12.290Z] b4d181a07f80: Pull complete [2021-08-03T19:18:12.558Z] a1111a8f2ec3: Pull complete [2021-08-03T19:18:12.826Z] ed53099fbce6: Pull complete [2021-08-03T19:18:12.826Z] dc539afda2c1: Pull complete [2021-08-03T19:18:13.098Z] 77bc0d833cb6: Pull complete [2021-08-03T19:18:13.365Z] 9065ff56babe: Pull complete [2021-08-03T19:18:15.315Z] d287ab97295c: Verifying Checksum [2021-08-03T19:18:15.315Z] d287ab97295c: Download complete [2021-08-03T19:18:19.630Z] d287ab97295c: Pull complete [2021-08-03T19:18:19.630Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-03T19:18:19.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-03T19:18:19.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-03T19:18:19.742Z] prd-centos7-docker-4c-2g-1905 does not seem to be running inside a container [2021-08-03T19:18:19.807Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-03T19:18:22.065Z] $ docker top 02e07c11c579e07a52785c3fcc2fd66c94ae4b3a7bf578ead16514c7ff6c2771 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-03T19:18:22.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-03T19:18:22.838Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-03T19:18:23.175Z] + ls /var/log/sa-host [2021-08-03T19:18:23.175Z] + sadf -c /var/log/sa-host/sa03 [2021-08-03T19:18:23.175Z] file_magic: OK [2021-08-03T19:18:23.175Z] HZ: Using current value: 100 [2021-08-03T19:18:23.175Z] file_header: OK [2021-08-03T19:18:23.175Z] 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 [2021-08-03T19:18:23.175Z] Statistics: [2021-08-03T19:18:23.175Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-03T19:18:23.175Z] File successfully converted to sysstat format version 12.0.3 [2021-08-03T19:18:23.175Z] + sadf -c /var/log/sa-host/sa05 [2021-08-03T19:18:23.175Z] file_magic: OK [2021-08-03T19:18:23.175Z] HZ: Using current value: 100 [2021-08-03T19:18:23.175Z] file_header: OK [2021-08-03T19:18:23.175Z] 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 [2021-08-03T19:18:23.175Z] Statistics: [2021-08-03T19:18:23.175Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-03T19:18:23.175Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-03T19:18:23.881Z] provisioning config files... [2021-08-03T19:18:23.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2788571743223215350tmp [Pipeline] { [Pipeline] echo [2021-08-03T19:18:23.959Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:24.314Z] ---> create-netrc.sh [Pipeline] } [2021-08-03T19:18:24.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:24.818Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-03T19:18:24.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:25.199Z] ---> sudo-logs.sh [2021-08-03T19:18:25.199Z] Archiving 'sudo' log.. [2021-08-03T19:18:25.199Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1905.vexxhost.local: Name or service not known [2021-08-03T19:18:25.199Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1905.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-03T19:18:25.294Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:25.650Z] ---> job-cost.sh [2021-08-03T19:18:25.650Z] lf-activate-venv: SKIPPING [2021-08-03T19:18:25.650Z] DEBUG: total: 0.18000000715255737 [2021-08-03T19:18:25.650Z] INFO: Retrieving Stack Cost... [2021-08-03T19:18:26.609Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-03T19:18:26.609Z] INFO: Archiving Costs [Pipeline] echo [2021-08-03T19:18:26.651Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-03T19:18:27.003Z] ---> logs-deploy.sh [2021-08-03T19:18:27.003Z] lf-activate-venv: SKIPPING [2021-08-03T19:18:27.003Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3647/1 [2021-08-03T19:18:27.003Z] INFO: archiving workspace using pattern(s): [2021-08-03T19:18:27.586Z] Archives upload complete. [2021-08-03T19:18:27.855Z] INFO: archiving logs to Nexus