Pull request #3746 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from 632fc636684a7a27190ce27bf628d85f68ee9f5b+69f0044378c84a2584b9cc14c244d921f2d7705f (e2eede11b73915cf3e75cc2e5942e86702f6d467) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh3442727448332050760.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh2278222095519402183.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-3746/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9073235671256335188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 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-ssh5950705354052721925.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3746/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-3746/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9008945153202423929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1666 in /w/workspace/edgexfoundry_edgex-go_PR-3746 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/7 [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/7 # 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/7@tmp/jenkins-gitclient-ssh1508801390320021451.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/7@tmp/jenkins-gitclient-ssh4156783761335087377.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3746/head:refs/remotes/origin/PR-3746 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 69f0044378c84a2584b9cc14c244d921f2d7705f into PR head commit 632fc636684a7a27190ce27bf628d85f68ee9f5b Merge succeeded, producing 632fc636684a7a27190ce27bf628d85f68ee9f5b Checking out Revision 632fc636684a7a27190ce27bf628d85f68ee9f5b (PR-3746) > git config core.sparsecheckout # timeout=10 > git checkout -f 632fc636684a7a27190ce27bf628d85f68ee9f5b # 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/7@tmp/jenkins-gitclient-ssh5327633678715418938.key > git merge 69f0044378c84a2584b9cc14c244d921f2d7705f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 632fc636684a7a27190ce27bf628d85f68ee9f5b # timeout=10 Commit message: "feat(command): Update Command V2 API to include totalCount field for MultiDeviceCoreCommandsResponse" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:58:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:58:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:43 ========================================================= 01:58:43 EdgeX Global Pipelines Version Info 01:58:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9f0752ccc19182f334b623eaf4f40af100d36b75 # timeout=10 01:58:45 ------------------- 01:58:45 stable info: 01:58:45 ------------------- 01:58:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:58:45 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 01:58:45 Message: update stable to v1.0.210 01:58:45 ------------------- 01:58:45 experimental info: 01:58:45 ------------------- 01:58:45 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:45 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 01:58:45 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3746 [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3746 [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3746 [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 632fc636684a7a27190ce27bf628d85f68ee9f5b [Pipeline] echo 01:58:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 632fc63 [Pipeline] echo 01:58:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:46 provisioning config files... 01:58:46 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config3718639244410293469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:46 ---> docker-login.sh 01:58:46 nexus3.edgexfoundry.org:10001 01:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:46 Configure a credential helper to remove this warning. See 01:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:46 01:58:46 Login Succeeded 01:58:46 nexus3.edgexfoundry.org:10002 01:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:46 Configure a credential helper to remove this warning. See 01:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:46 01:58:46 Login Succeeded 01:58:46 nexus3.edgexfoundry.org:10003 01:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:46 Configure a credential helper to remove this warning. See 01:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:46 01:58:46 Login Succeeded 01:58:46 nexus3.edgexfoundry.org:10004 01:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:46 Configure a credential helper to remove this warning. See 01:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:46 01:58:46 Login Succeeded 01:58:46 docker.io 01:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:47 Configure a credential helper to remove this warning. See 01:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:47 01:58:47 Login Succeeded 01:58:47 ---> docker-login.sh ends [Pipeline] } 01:58:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:47 ++ 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 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/core-command/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo core-command,cmd/core-command/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/core-data/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo core-data,cmd/core-data/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/core-metadata/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo core-metadata,cmd/core-metadata/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/security-bootstrapper/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/security-proxy-setup/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/security-secretstore-setup/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/support-notifications/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo support-notifications,cmd/support-notifications/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/support-scheduler/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo support-scheduler,cmd/support-scheduler/Dockerfile 01:58:47 + for file in '`ls cmd/**/Dockerfile`' 01:58:47 ++ dirname cmd/sys-mgmt-agent/Dockerfile 01:58:47 ++ cut -d/ -f2 01:58:47 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 01:58:47 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 01:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:58:48 01:58:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:58:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:58:48 latest: Pulling from edgex-devops/git-semver 01:58:48 a0d0a0d46f8b: Pulling fs layer 01:58:48 3e5f54012d9b: Pulling fs layer 01:58:48 4c7163046ea9: Pulling fs layer 01:58:48 0c2d73faf560: Pulling fs layer 01:58:48 0c2d73faf560: Waiting 01:58:48 3e5f54012d9b: Verifying Checksum 01:58:48 3e5f54012d9b: Download complete 01:58:48 a0d0a0d46f8b: Verifying Checksum 01:58:48 a0d0a0d46f8b: Download complete 01:58:48 4c7163046ea9: Verifying Checksum 01:58:48 4c7163046ea9: Download complete 01:58:48 0c2d73faf560: Verifying Checksum 01:58:48 0c2d73faf560: Download complete 01:58:48 a0d0a0d46f8b: Pull complete 01:58:48 3e5f54012d9b: Pull complete 01:58:49 4c7163046ea9: Pull complete 01:58:49 0c2d73faf560: Pull complete 01:58:49 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:58:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:58:49 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 01:58:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@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:10004/edgex-devops/git-semver:latest cat 01:58:50 $ docker top 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:50 [ssh-agent] Looking for ssh-agent implementation... 01:58:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:50 $ docker exec 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a ssh-agent 01:58:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDpelpH/agent.13 01:58:50 SSH_AGENT_PID=19 01:58:50 Running ssh-add (command line suppressed) 01:58:50 Identity added: /w/workspace/edgex-go/7@tmp/private_key_5228042201982090363.key (/w/workspace/edgex-go/7@tmp/private_key_5228042201982090363.key) 01:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:51 + git tag --points-at HEAD [Pipeline] } 01:58:51 $ docker exec --env ******** --env ******** 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a ssh-agent -k 01:58:51 unset SSH_AUTH_SOCK; 01:58:51 unset SSH_AGENT_PID; 01:58:51 echo Agent pid 19 killed; 01:58:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:51 [ssh-agent] Looking for ssh-agent implementation... 01:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:51 $ docker exec 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a ssh-agent 01:58:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOGMdb/agent.51 01:58:51 SSH_AGENT_PID=57 01:58:51 Running ssh-add (command line suppressed) 01:58:51 Identity added: /w/workspace/edgex-go/7@tmp/private_key_2499136939023095255.key (/w/workspace/edgex-go/7@tmp/private_key_2499136939023095255.key) 01:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:51 + git semver init 01:58:51 # -> Open(): unable to determine branch for HEAD 01:58:51 # $GIT_DIR = /w/workspace/edgex-go/7/.git 01:58:51 # $GIT_WORK_TREE = /w/workspace/edgex-go/7 01:58:51 # $SEMVER_REMOTE_NAME = origin 01:58:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:58:51 # $SEMVER_USER_NAME = edgex-jenkins 01:58:51 # $SEMVER_BRANCH = PR-3746 01:58:51 # $SEMVER_TEMP = /tmp/semver-820957069 01:58:51 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 01:59:04 # '/tmp/semver-820957069' -> '/w/workspace/edgex-go/7/.semver' 01:59:04 # -> Force: false 01:59:04 # $SEMVER_DIR = /w/workspace/edgex-go/7/.semver [Pipeline] } 01:59:04 $ docker exec --env ******** --env ******** 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a ssh-agent -k 01:59:04 unset SSH_AUTH_SOCK; 01:59:04 unset SSH_AGENT_PID; 01:59:04 echo Agent pid 57 killed; 01:59:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:04 + git semver [Pipeline] } 01:59:05 $ docker stop --time=1 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a 01:59:07 $ docker rm -f 5d3ecf7a887075503ce2b92ac769f4256227033f34ceaceb25ea77ba1eb7b56a [Pipeline] // withDockerContainer [Pipeline] sh 01:59:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:07 Stashed 1 file(s) [Pipeline] echo 01:59:07 [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 01:59:07 ========================================================= 01:59:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:59:07 ========================================================= [Pipeline] fileExists [Pipeline] sh 01:59:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:59:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:08 a0d0a0d46f8b: Already exists 01:59:08 31adcdaf11c8: Pulling fs layer 01:59:08 b8b176561691: Pulling fs layer 01:59:08 4527c011a84f: Pulling fs layer 01:59:08 5d74067f8e1e: Pulling fs layer 01:59:08 e0aca202a116: Pulling fs layer 01:59:08 3a43be97a3b4: Pulling fs layer 01:59:08 34cad66bf833: Pulling fs layer 01:59:08 b4e3c513aaa6: Pulling fs layer 01:59:08 5d74067f8e1e: Waiting 01:59:08 e0aca202a116: Waiting 01:59:08 3a43be97a3b4: Waiting 01:59:08 34cad66bf833: Waiting 01:59:08 b4e3c513aaa6: Waiting 01:59:08 b8b176561691: Verifying Checksum 01:59:08 b8b176561691: Download complete 01:59:08 31adcdaf11c8: Verifying Checksum 01:59:08 31adcdaf11c8: Download complete 01:59:08 5d74067f8e1e: Verifying Checksum 01:59:08 5d74067f8e1e: Download complete 01:59:08 e0aca202a116: Verifying Checksum 01:59:08 e0aca202a116: Download complete 01:59:08 3a43be97a3b4: Verifying Checksum 01:59:08 3a43be97a3b4: Download complete 01:59:08 31adcdaf11c8: Pull complete 01:59:08 34cad66bf833: Verifying Checksum 01:59:08 34cad66bf833: Download complete 01:59:08 b8b176561691: Pull complete 01:59:08 b4e3c513aaa6: Verifying Checksum 01:59:08 b4e3c513aaa6: Download complete 01:59:08 4527c011a84f: Verifying Checksum 01:59:08 4527c011a84f: Download complete 01:59:13 4527c011a84f: Pull complete 01:59:13 5d74067f8e1e: Pull complete 01:59:13 e0aca202a116: Pull complete 01:59:13 3a43be97a3b4: Pull complete 01:59:13 34cad66bf833: Pull complete 01:59:16 b4e3c513aaa6: Pull complete 01:59:16 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 01:59:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:59:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh 01:59:17 + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:59:17 WORKDIR /edgex 01:59:17 COPY go.mod . 01:59:17 RUN go mod download' 01:59:17 + docker build -t ci-base-image-x86_64 -f - . 01:59:18 Sending build context to Docker daemon 329.5MB 01:59:18 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:59:18 ---> 9f6097aaca64 01:59:18 Step 2/4 : WORKDIR /edgex 01:59:20 ---> Running in db6ecf2354cd 01:59:20 Removing intermediate container db6ecf2354cd 01:59:20 ---> 988de3b70395 01:59:20 Step 3/4 : COPY go.mod . 01:59:20 ---> 5bdf81035762 01:59:20 Step 4/4 : RUN go mod download 01:59:20 ---> Running in a8119346ef8a 01:59:22 Still waiting to schedule task 01:59:22 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:59:59 Removing intermediate container a8119346ef8a 01:59:59 ---> 2acab8580b27 01:59:59 Successfully built 2acab8580b27 01:59:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:59:59 + docker inspect -f . ci-base-image-x86_64 01:59:59 . [Pipeline] withDockerContainer 02:00:00 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 02:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:00:00 $ docker top fa1b3e08a1c72bb1dbef48e6f147edd1d5c344bf7e0cfbff4e3740753f08fed3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:00 + go version 02:00:00 go version go1.16.8 linux/amd64 [Pipeline] } 02:00:00 $ docker stop --time=1 fa1b3e08a1c72bb1dbef48e6f147edd1d5c344bf7e0cfbff4e3740753f08fed3 02:00:02 $ docker rm -f fa1b3e08a1c72bb1dbef48e6f147edd1d5c344bf7e0cfbff4e3740753f08fed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:00:02 + docker inspect -f . ci-base-image-x86_64 02:00:02 . [Pipeline] withDockerContainer 02:00:02 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 02:00:02 $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:00:03 $ docker top 5bcb612c90293b82e59d3fa641ce521d7ee76586085d0335f22378b7a3241daf -eo pid,comm [Pipeline] { [Pipeline] echo 02:00:03 ========================================================= 02:00:03 [edgeXBuildGoParallel] Running Tests and Build... 02:00:03 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:00:03 + make test 02:00:03 go mod tidy 02:00:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:00:08 ? github.com/edgexfoundry/edgex-go [no test files] 02:00:21 # github.com/edgexfoundry/edgex-go/internal/core/command/application 02:00:21 internal/core/command/application/command.go:62:49: multiDevicesResponse.TotalCount undefined (type responses.MultiDevicesResponse has no field or method TotalCount) 02:00:29 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 02:00:29 internal/core/data/controller/http/event.go:205:48: too many arguments in call to responses.NewMultiEventsResponse 02:00:29 have (string, string, number, uint32, []dtos.Event) 02:00:29 want (string, string, int, []dtos.Event) 02:00:29 internal/core/data/controller/http/event.go:230:48: too many arguments in call to responses.NewMultiEventsResponse 02:00:29 have (string, string, number, uint32, []dtos.Event) 02:00:29 want (string, string, int, []dtos.Event) 02:00:29 internal/core/data/controller/http/event.go:273:48: too many arguments in call to responses.NewMultiEventsResponse 02:00:29 have (string, string, number, uint32, []dtos.Event) 02:00:29 want (string, string, int, []dtos.Event) 02:00:29 internal/core/data/controller/http/reading.go:72:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:94:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:119:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:144:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:192:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:218:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:245:50: too many arguments in call to responses.NewMultiReadingsResponse 02:00:29 have (string, string, number, uint32, []dtos.BaseReading) 02:00:29 want (string, string, int, []dtos.BaseReading) 02:00:29 internal/core/data/controller/http/reading.go:245:50: too many errors 02:00:29 # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 02:00:29 internal/core/metadata/controller/http/device.go:126:49: too many arguments in call to responses.NewMultiDevicesResponse 02:00:29 have (string, string, number, uint32, []dtos.Device) 02:00:29 want (string, string, int, []dtos.Device) 02:00:29 internal/core/metadata/controller/http/device.go:218:49: too many arguments in call to responses.NewMultiDevicesResponse 02:00:29 have (string, string, number, uint32, []dtos.Device) 02:00:29 want (string, string, int, []dtos.Device) 02:00:29 internal/core/metadata/controller/http/device.go:262:49: too many arguments in call to responses.NewMultiDevicesResponse 02:00:29 have (string, string, number, uint32, []dtos.Device) 02:00:29 want (string, string, int, []dtos.Device) 02:00:29 internal/core/metadata/controller/http/deviceprofile.go:263:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:29 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:29 want (string, string, int, []dtos.DeviceProfile) 02:00:29 internal/core/metadata/controller/http/deviceprofile.go:288:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:29 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:29 want (string, string, int, []dtos.DeviceProfile) 02:00:29 internal/core/metadata/controller/http/deviceprofile.go:313:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:29 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:29 want (string, string, int, []dtos.DeviceProfile) 02:00:29 internal/core/metadata/controller/http/deviceprofile.go:339:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:29 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:29 want (string, string, int, []dtos.DeviceProfile) 02:00:29 internal/core/metadata/controller/http/deviceservice.go:184:56: too many arguments in call to responses.NewMultiDeviceServicesResponse 02:00:29 have (string, string, number, uint32, []dtos.DeviceService) 02:00:29 want (string, string, int, []dtos.DeviceService) 02:00:29 internal/core/metadata/controller/http/provisionwatcher.go:124:59: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:00:29 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:00:29 want (string, string, int, []dtos.ProvisionWatcher) 02:00:29 internal/core/metadata/controller/http/provisionwatcher.go:149:59: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:00:29 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:00:29 want (string, string, int, []dtos.ProvisionWatcher) 02:00:29 internal/core/metadata/controller/http/provisionwatcher.go:149:59: too many errors 02:00:35 # github.com/edgexfoundry/edgex-go/internal/core/command/application [github.com/edgexfoundry/edgex-go/internal/core/command/application.test] 02:00:35 internal/core/command/application/command.go:62: multiDevicesResponse.TotalCount undefined (type responses.MultiDevicesResponse has no field or method TotalCount) 02:00:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] 02:00:35 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] 02:00:35 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 02:00:35 internal/core/data/controller/http/event.go:205: too many arguments in call to responses.NewMultiEventsResponse 02:00:35 have (string, string, number, uint32, []dtos.Event) 02:00:35 want (string, string, int, []dtos.Event) 02:00:35 internal/core/data/controller/http/event.go:230: too many arguments in call to responses.NewMultiEventsResponse 02:00:35 have (string, string, number, uint32, []dtos.Event) 02:00:35 want (string, string, int, []dtos.Event) 02:00:35 internal/core/data/controller/http/event.go:273: too many arguments in call to responses.NewMultiEventsResponse 02:00:35 have (string, string, number, uint32, []dtos.Event) 02:00:35 want (string, string, int, []dtos.Event) 02:00:35 internal/core/data/controller/http/reading.go:72: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:94: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:119: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:144: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:192: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:218: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:245: too many arguments in call to responses.NewMultiReadingsResponse 02:00:35 have (string, string, number, uint32, []dtos.BaseReading) 02:00:35 want (string, string, int, []dtos.BaseReading) 02:00:35 internal/core/data/controller/http/reading.go:245: too many errors 02:00:36 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.063s coverage: 47.2% of statements 02:00:36 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 02:00:36 # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.test] 02:00:36 internal/core/metadata/controller/http/device.go:126: too many arguments in call to responses.NewMultiDevicesResponse 02:00:36 have (string, string, number, uint32, []dtos.Device) 02:00:36 want (string, string, int, []dtos.Device) 02:00:36 internal/core/metadata/controller/http/device.go:218: too many arguments in call to responses.NewMultiDevicesResponse 02:00:36 have (string, string, number, uint32, []dtos.Device) 02:00:36 want (string, string, int, []dtos.Device) 02:00:36 internal/core/metadata/controller/http/device.go:262: too many arguments in call to responses.NewMultiDevicesResponse 02:00:36 have (string, string, number, uint32, []dtos.Device) 02:00:36 want (string, string, int, []dtos.Device) 02:00:36 internal/core/metadata/controller/http/deviceprofile.go:263: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:36 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:36 want (string, string, int, []dtos.DeviceProfile) 02:00:36 internal/core/metadata/controller/http/deviceprofile.go:288: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:36 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:36 want (string, string, int, []dtos.DeviceProfile) 02:00:36 internal/core/metadata/controller/http/deviceprofile.go:313: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:36 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:36 want (string, string, int, []dtos.DeviceProfile) 02:00:36 internal/core/metadata/controller/http/deviceprofile.go:339: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:00:36 have (string, string, number, uint32, []dtos.DeviceProfile) 02:00:36 want (string, string, int, []dtos.DeviceProfile) 02:00:36 internal/core/metadata/controller/http/deviceservice.go:184: too many arguments in call to responses.NewMultiDeviceServicesResponse 02:00:36 have (string, string, number, uint32, []dtos.DeviceService) 02:00:36 want (string, string, int, []dtos.DeviceService) 02:00:36 internal/core/metadata/controller/http/provisionwatcher.go:124: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:00:36 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:00:36 want (string, string, int, []dtos.ProvisionWatcher) 02:00:36 internal/core/metadata/controller/http/provisionwatcher.go:149: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:00:36 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:00:36 want (string, string, int, []dtos.ProvisionWatcher) 02:00:36 internal/core/metadata/controller/http/provisionwatcher.go:149: too many errors 02:00:37 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.045s coverage: 84.4% of statements 02:00:37 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 02:00:37 ok github.com/edgexfoundry/edgex-go/internal/io 0.051s coverage: 59.1% of statements 02:00:37 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements 02:00:38 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.053s coverage: 1.0% of statements 02:00:38 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.066s coverage: 58.8% of statements 02:00:38 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.051s coverage: 21.7% of statements 02:00:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.048s coverage: 47.1% of statements 02:00:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.053s coverage: 79.5% of statements 02:00:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.047s coverage: 94.1% of statements 02:00:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.105s coverage: 96.3% of statements 02:00:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.046s coverage: 87.5% of statements 02:00:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.057s coverage: 94.4% of statements 02:00:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.050s coverage: 44.8% of statements 02:00:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.186s coverage: 82.5% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.081s coverage: 92.9% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.031s coverage: 65.1% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.056s coverage: 87.2% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.049s coverage: 100.0% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.062s coverage: 58.8% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.062s coverage: 80.0% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.051s coverage: 85.4% of statements 02:01:13 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.132s coverage: 91.2% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.131s coverage: 64.4% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.044s coverage: 100.0% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 89.4% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.023s coverage: 100.0% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.024s coverage: 73.7% of statements 02:01:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.020s coverage: 100.0% of statements 02:01:15 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.204s coverage: 70.4% of statements 02:01:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.120s coverage: 43.4% of statements 02:01:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.054s coverage: 89.5% of statements 02:01:16 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.046s coverage: 84.8% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.063s coverage: 19.5% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.127s coverage: 92.0% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.054s coverage: 63.2% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.085s coverage: 97.7% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.053s coverage: 28.9% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.043s coverage: 100.0% of statements 02:01:24 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements 02:01:24 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 02:01:24 $ docker stop --time=1 5bcb612c90293b82e59d3fa641ce521d7ee76586085d0335f22378b7a3241daf 02:01:26 $ docker rm -f 5bcb612c90293b82e59d3fa641ce521d7ee76586085d0335f22378b7a3241daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:26 Failed in branch amd64 02:03:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1667 in /w/workspace/edgexfoundry_edgex-go_PR-3746 [Pipeline] { [Pipeline] ws 02:03:12 Running in /w/workspace/edgex-go/7 [Pipeline] { [Pipeline] checkout 02:03:13 The recommended git tool is: git 02:03:18 using credential edgex-jenkins-ssh 02:03:18 Cloning the remote Git repository 02:03:18 Cloning repository git@github.com:edgexfoundry/edgex-go.git 02:03:19 > git init /w/workspace/edgex-go/7 # timeout=10 02:03:19 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:03:19 > git --version # timeout=10 02:03:19 > git --version # 'git version 2.17.1' 02:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:44 Merging remotes/origin/main commit 69f0044378c84a2584b9cc14c244d921f2d7705f into PR head commit 632fc636684a7a27190ce27bf628d85f68ee9f5b 02:03:43 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:03:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:43 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 02:03:43 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 02:03:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3746/head:refs/remotes/origin/PR-3746 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:03:44 > git config core.sparsecheckout # timeout=10 02:03:44 > git checkout -f 632fc636684a7a27190ce27bf628d85f68ee9f5b # timeout=10 02:03:44 Merge succeeded, producing 632fc636684a7a27190ce27bf628d85f68ee9f5b 02:03:44 Checking out Revision 632fc636684a7a27190ce27bf628d85f68ee9f5b (PR-3746) 02:03:44 > git remote # timeout=10 02:03:44 > git config --get remote.origin.url # timeout=10 02:03:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:44 > git merge 69f0044378c84a2584b9cc14c244d921f2d7705f # timeout=10 02:03:44 > git rev-parse HEAD^{commit} # timeout=10 02:03:44 > git config core.sparsecheckout # timeout=10 02:03:44 > git checkout -f 632fc636684a7a27190ce27bf628d85f68ee9f5b # timeout=10 02:03:49 Commit message: "feat(command): Update Command V2 API to include totalCount field for MultiDeviceCoreCommandsResponse" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:03:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:50 Dload Upload Total Spent Left Speed 02:03:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 02:03:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:03:50 + sudo tee /etc/docker/daemon.new 02:03:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:03:50 { 02:03:50 "registry-mirrors": [ 02:03:50 "https://nexus3.edgexfoundry.org:10001" 02:03:50 ], 02:03:50 "bip": "10.250.0.254/24", 02:03:50 "hosts": [ 02:03:50 "tcp://0.0.0.0:5555", 02:03:50 "unix:///var/run/docker.sock" 02:03:50 ], 02:03:50 "mtu": 1458, 02:03:50 "selinux-enabled": true, 02:03:50 "seccomp-profile": "/etc/docker/seccomp.json" 02:03:50 } [Pipeline] sh 02:03:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:03:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:09 provisioning config files... 02:04:10 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/7@tmp/config570560152019229358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:10 ---> docker-login.sh 02:04:10 nexus3.edgexfoundry.org:10001 02:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:12 Configure a credential helper to remove this warning. See 02:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:12 02:04:12 Login Succeeded 02:04:12 nexus3.edgexfoundry.org:10002 02:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:13 Configure a credential helper to remove this warning. See 02:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:13 02:04:13 Login Succeeded 02:04:13 nexus3.edgexfoundry.org:10003 02:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:13 Configure a credential helper to remove this warning. See 02:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:13 02:04:13 Login Succeeded 02:04:13 nexus3.edgexfoundry.org:10004 02:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:14 Configure a credential helper to remove this warning. See 02:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:14 02:04:14 Login Succeeded 02:04:14 docker.io 02:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:15 Configure a credential helper to remove this warning. See 02:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:15 02:04:15 Login Succeeded 02:04:15 ---> docker-login.sh ends [Pipeline] } 02:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:04:15 ========================================================= 02:04:15 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:04:15 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:04:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:04:16 552d1f2373af: Pulling fs layer 02:04:16 ea3f2d53f512: Pulling fs layer 02:04:16 9e70ebbbe112: Pulling fs layer 02:04:16 7a9cfe048b4a: Pulling fs layer 02:04:16 72dc09318566: Pulling fs layer 02:04:16 f4f7b4309257: Pulling fs layer 02:04:16 0ac9a79272e3: Pulling fs layer 02:04:16 b78e95d17946: Pulling fs layer 02:04:16 7a9cfe048b4a: Waiting 02:04:16 72dc09318566: Waiting 02:04:16 b78e95d17946: Waiting 02:04:16 0ac9a79272e3: Waiting 02:04:16 f4f7b4309257: Waiting 02:04:16 9e70ebbbe112: Download complete 02:04:16 ea3f2d53f512: Verifying Checksum 02:04:16 ea3f2d53f512: Download complete 02:04:16 72dc09318566: Verifying Checksum 02:04:16 72dc09318566: Download complete 02:04:16 f4f7b4309257: Verifying Checksum 02:04:16 f4f7b4309257: Download complete 02:04:16 0ac9a79272e3: Download complete 02:04:16 552d1f2373af: Verifying Checksum 02:04:17 552d1f2373af: Pull complete 02:04:18 ea3f2d53f512: Pull complete 02:04:18 9e70ebbbe112: Pull complete 02:04:19 b78e95d17946: Verifying Checksum 02:04:19 b78e95d17946: Download complete 02:04:19 7a9cfe048b4a: Verifying Checksum 02:04:19 7a9cfe048b4a: Download complete 02:04:29 7a9cfe048b4a: Pull complete 02:04:29 72dc09318566: Pull complete 02:04:30 f4f7b4309257: Pull complete 02:04:30 0ac9a79272e3: Pull complete 02:04:37 b78e95d17946: Pull complete 02:04:37 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:04:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh 02:04:37 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:04:37 WORKDIR /edgex 02:04:37 COPY go.mod . 02:04:37 RUN go mod download 02:04:37 + docker build -t ci-base-image-arm64 -f - . 02:04:40 Sending build context to Docker daemon 166.4MB 02:04:40 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:04:40 ---> 8b459fc5aaf0 02:04:40 Step 2/4 : WORKDIR /edgex 02:04:48 ---> Running in 7c4840e2a8ab 02:04:48 Removing intermediate container 7c4840e2a8ab 02:04:48 ---> 5751a07beb03 02:04:48 Step 3/4 : COPY go.mod . 02:04:49 ---> 55375c274db0 02:04:49 Step 4/4 : RUN go mod download 02:04:49 ---> Running in a716d0eb4359 02:06:11 Removing intermediate container a716d0eb4359 02:06:11 ---> a34be4bb80cb 02:06:11 Successfully built a34be4bb80cb 02:06:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:06:12 + docker inspect -f . ci-base-image-arm64 02:06:12 . [Pipeline] withDockerContainer 02:06:12 prd-ubuntu18.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 02:06:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:14 $ docker top 391f33e0e650989121aac03bbde2da9e2f37a363691d529a81a2289d30c211d6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:15 + go version 02:06:15 go version go1.16.8 linux/arm64 [Pipeline] } 02:06:15 $ docker stop --time=1 391f33e0e650989121aac03bbde2da9e2f37a363691d529a81a2289d30c211d6 02:06:17 $ docker rm -f 391f33e0e650989121aac03bbde2da9e2f37a363691d529a81a2289d30c211d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:06:17 + docker inspect -f . ci-base-image-arm64 02:06:17 . [Pipeline] withDockerContainer 02:06:18 prd-ubuntu18.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 02:06:18 $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:19 $ docker top fce99adb68879978b452a8a7252b407f9736fe11197faac0a2cc7bb4164f28bb -eo pid,comm [Pipeline] { [Pipeline] echo 02:06:20 ========================================================= 02:06:20 [edgeXBuildGoParallel] Running Tests and Build... 02:06:20 ========================================================= [Pipeline] fileExists [Pipeline] sh 02:06:20 + make test 02:06:20 go mod tidy 02:06:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:06:48 ? github.com/edgexfoundry/edgex-go [no test files] 02:07:35 # github.com/edgexfoundry/edgex-go/internal/core/command/application 02:07:35 internal/core/command/application/command.go:62:49: multiDevicesResponse.TotalCount undefined (type responses.MultiDevicesResponse has no field or method TotalCount) 02:07:47 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 02:07:47 internal/core/data/controller/http/event.go:205:48: too many arguments in call to responses.NewMultiEventsResponse 02:07:47 have (string, string, number, uint32, []dtos.Event) 02:07:47 want (string, string, int, []dtos.Event) 02:07:47 internal/core/data/controller/http/event.go:230:48: too many arguments in call to responses.NewMultiEventsResponse 02:07:47 have (string, string, number, uint32, []dtos.Event) 02:07:47 want (string, string, int, []dtos.Event) 02:07:47 internal/core/data/controller/http/event.go:273:48: too many arguments in call to responses.NewMultiEventsResponse 02:07:47 have (string, string, number, uint32, []dtos.Event) 02:07:47 want (string, string, int, []dtos.Event) 02:07:47 internal/core/data/controller/http/reading.go:72:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:94:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:119:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:144:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:192:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:218:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:245:50: too many arguments in call to responses.NewMultiReadingsResponse 02:07:47 have (string, string, number, uint32, []dtos.BaseReading) 02:07:47 want (string, string, int, []dtos.BaseReading) 02:07:47 internal/core/data/controller/http/reading.go:245:50: too many errors 02:07:48 # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 02:07:48 internal/core/metadata/controller/http/device.go:126:49: too many arguments in call to responses.NewMultiDevicesResponse 02:07:48 have (string, string, number, uint32, []dtos.Device) 02:07:48 want (string, string, int, []dtos.Device) 02:07:48 internal/core/metadata/controller/http/device.go:218:49: too many arguments in call to responses.NewMultiDevicesResponse 02:07:48 have (string, string, number, uint32, []dtos.Device) 02:07:48 want (string, string, int, []dtos.Device) 02:07:48 internal/core/metadata/controller/http/device.go:262:49: too many arguments in call to responses.NewMultiDevicesResponse 02:07:48 have (string, string, number, uint32, []dtos.Device) 02:07:48 want (string, string, int, []dtos.Device) 02:07:48 internal/core/metadata/controller/http/deviceprofile.go:263:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:07:48 have (string, string, number, uint32, []dtos.DeviceProfile) 02:07:48 want (string, string, int, []dtos.DeviceProfile) 02:07:48 internal/core/metadata/controller/http/deviceprofile.go:288:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:07:48 have (string, string, number, uint32, []dtos.DeviceProfile) 02:07:48 want (string, string, int, []dtos.DeviceProfile) 02:07:48 internal/core/metadata/controller/http/deviceprofile.go:313:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:07:48 have (string, string, number, uint32, []dtos.DeviceProfile) 02:07:48 want (string, string, int, []dtos.DeviceProfile) 02:07:48 internal/core/metadata/controller/http/deviceprofile.go:339:56: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:07:48 have (string, string, number, uint32, []dtos.DeviceProfile) 02:07:48 want (string, string, int, []dtos.DeviceProfile) 02:07:48 internal/core/metadata/controller/http/deviceservice.go:184:56: too many arguments in call to responses.NewMultiDeviceServicesResponse 02:07:48 have (string, string, number, uint32, []dtos.DeviceService) 02:07:48 want (string, string, int, []dtos.DeviceService) 02:07:48 internal/core/metadata/controller/http/provisionwatcher.go:124:59: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:07:48 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:07:48 want (string, string, int, []dtos.ProvisionWatcher) 02:07:48 internal/core/metadata/controller/http/provisionwatcher.go:149:59: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:07:48 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:07:48 want (string, string, int, []dtos.ProvisionWatcher) 02:07:48 internal/core/metadata/controller/http/provisionwatcher.go:149:59: too many errors 02:08:10 # github.com/edgexfoundry/edgex-go/internal/core/command/application [github.com/edgexfoundry/edgex-go/internal/core/command/application.test] 02:08:10 internal/core/command/application/command.go:62: multiDevicesResponse.TotalCount undefined (type responses.MultiDevicesResponse has no field or method TotalCount) 02:08:10 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/application [build failed] 02:08:10 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 02:08:10 internal/core/data/controller/http/event.go:205: too many arguments in call to responses.NewMultiEventsResponse 02:08:10 have (string, string, number, uint32, []dtos.Event) 02:08:10 want (string, string, int, []dtos.Event) 02:08:10 internal/core/data/controller/http/event.go:230: too many arguments in call to responses.NewMultiEventsResponse 02:08:10 have (string, string, number, uint32, []dtos.Event) 02:08:10 want (string, string, int, []dtos.Event) 02:08:10 internal/core/data/controller/http/event.go:273: too many arguments in call to responses.NewMultiEventsResponse 02:08:10 have (string, string, number, uint32, []dtos.Event) 02:08:10 want (string, string, int, []dtos.Event) 02:08:10 internal/core/data/controller/http/reading.go:72: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:94: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:119: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:144: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:192: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:218: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:245: too many arguments in call to responses.NewMultiReadingsResponse 02:08:10 have (string, string, number, uint32, []dtos.BaseReading) 02:08:10 want (string, string, int, []dtos.BaseReading) 02:08:10 internal/core/data/controller/http/reading.go:245: too many errors 02:08:12 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/controller/http [build failed] 02:08:12 # github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http.test] 02:08:12 internal/core/metadata/controller/http/device.go:126: too many arguments in call to responses.NewMultiDevicesResponse 02:08:12 have (string, string, number, uint32, []dtos.Device) 02:08:12 want (string, string, int, []dtos.Device) 02:08:12 internal/core/metadata/controller/http/device.go:218: too many arguments in call to responses.NewMultiDevicesResponse 02:08:12 have (string, string, number, uint32, []dtos.Device) 02:08:12 want (string, string, int, []dtos.Device) 02:08:12 internal/core/metadata/controller/http/device.go:262: too many arguments in call to responses.NewMultiDevicesResponse 02:08:12 have (string, string, number, uint32, []dtos.Device) 02:08:12 want (string, string, int, []dtos.Device) 02:08:12 internal/core/metadata/controller/http/deviceprofile.go:263: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:08:12 have (string, string, number, uint32, []dtos.DeviceProfile) 02:08:12 want (string, string, int, []dtos.DeviceProfile) 02:08:12 internal/core/metadata/controller/http/deviceprofile.go:288: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:08:12 have (string, string, number, uint32, []dtos.DeviceProfile) 02:08:12 want (string, string, int, []dtos.DeviceProfile) 02:08:12 internal/core/metadata/controller/http/deviceprofile.go:313: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:08:12 have (string, string, number, uint32, []dtos.DeviceProfile) 02:08:12 want (string, string, int, []dtos.DeviceProfile) 02:08:12 internal/core/metadata/controller/http/deviceprofile.go:339: too many arguments in call to responses.NewMultiDeviceProfilesResponse 02:08:12 have (string, string, number, uint32, []dtos.DeviceProfile) 02:08:12 want (string, string, int, []dtos.DeviceProfile) 02:08:12 internal/core/metadata/controller/http/deviceservice.go:184: too many arguments in call to responses.NewMultiDeviceServicesResponse 02:08:12 have (string, string, number, uint32, []dtos.DeviceService) 02:08:12 want (string, string, int, []dtos.DeviceService) 02:08:12 internal/core/metadata/controller/http/provisionwatcher.go:124: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:08:12 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:08:12 want (string, string, int, []dtos.ProvisionWatcher) 02:08:12 internal/core/metadata/controller/http/provisionwatcher.go:149: too many arguments in call to responses.NewMultiProvisionWatchersResponse 02:08:12 have (string, string, number, uint32, []dtos.ProvisionWatcher) 02:08:12 want (string, string, int, []dtos.ProvisionWatcher) 02:08:12 internal/core/metadata/controller/http/provisionwatcher.go:149: too many errors 02:08:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.389s coverage: 47.2% of statements 02:08:16 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 02:08:16 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.281s coverage: 84.4% of statements 02:08:16 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http [build failed] 02:08:16 ok github.com/edgexfoundry/edgex-go/internal/io 0.214s coverage: 59.1% of statements 02:08:16 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.234s coverage: 60.0% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.311s coverage: 1.0% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.298s coverage: 58.8% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.179s coverage: 21.7% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.169s coverage: 47.1% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.200s coverage: 79.5% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.231s coverage: 94.1% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.367s coverage: 96.3% of statements 02:08:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.215s coverage: 87.5% of statements 02:08:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.206s coverage: 94.4% of statements 02:08:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.231s coverage: 44.8% of statements 02:08:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.619s coverage: 82.5% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.264s coverage: 92.9% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.174s coverage: 87.2% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.151s coverage: 100.0% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.233s coverage: 58.8% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.259s coverage: 80.0% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.245s coverage: 87.2% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.298s coverage: 85.4% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.828s coverage: 91.2% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.728s coverage: 64.4% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.184s coverage: 100.0% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.093s coverage: 89.4% of statements 02:08:49 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.096s coverage: 100.0% of statements 02:08:50 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.066s coverage: 73.7% of statements 02:08:51 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.047s coverage: 100.0% of statements 02:08:55 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.370s coverage: 70.4% of statements 02:08:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.794s coverage: 43.4% of statements 02:08:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.264s coverage: 89.5% of statements 02:08:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.241s coverage: 84.8% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.268s coverage: 19.5% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.594s coverage: 92.0% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.388s coverage: 63.2% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.408s coverage: 97.7% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.200s coverage: 28.9% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.271s coverage: 100.0% of statements 02:09:05 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 96.9% of statements 02:09:06 make: *** [Makefile:98: unittest] Error 2 [Pipeline] } 02:09:06 $ docker stop --time=1 fce99adb68879978b452a8a7252b407f9736fe11197faac0a2cc7bb4164f28bb 02:09:09 $ docker rm -f fce99adb68879978b452a8a7252b407f9736fe11197faac0a2cc7bb4164f28bb [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 02:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:11 02:09:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:09:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:11 arm64: Pulling from edgex-lftools-log-publisher 02:09:11 448f6bf000e3: Pulling fs layer 02:09:11 f757da607395: Pulling fs layer 02:09:11 05883995daec: Pulling fs layer 02:09:11 8603b9c90790: Pulling fs layer 02:09:11 1560dd03e051: Pulling fs layer 02:09:11 27f5ce0e4adf: Pulling fs layer 02:09:11 c2d8d7efcc4b: Pulling fs layer 02:09:11 c2d8d7efcc4b: Waiting 02:09:11 8603b9c90790: Waiting 02:09:11 27f5ce0e4adf: Waiting 02:09:12 f757da607395: Verifying Checksum 02:09:12 f757da607395: Download complete 02:09:12 8603b9c90790: Download complete 02:09:12 05883995daec: Verifying Checksum 02:09:12 05883995daec: Download complete 02:09:12 1560dd03e051: Verifying Checksum 02:09:12 1560dd03e051: Download complete 02:09:12 27f5ce0e4adf: Verifying Checksum 02:09:12 27f5ce0e4adf: Download complete 02:09:12 448f6bf000e3: Verifying Checksum 02:09:12 448f6bf000e3: Download complete 02:09:15 c2d8d7efcc4b: Verifying Checksum 02:09:15 c2d8d7efcc4b: Download complete 02:09:16 448f6bf000e3: Pull complete 02:09:16 f757da607395: Pull complete 02:09:18 05883995daec: Pull complete 02:09:18 8603b9c90790: Pull complete 02:09:19 1560dd03e051: Pull complete 02:09:19 27f5ce0e4adf: Pull complete 02:09:35 c2d8d7efcc4b: Pull complete 02:09:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:09:35 prd-ubuntu18.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 02:09:35 $ 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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:09:39 $ docker top 170ae70e847b922468cf60c381a9175113d9b8bace45d5080f8a96e2e0f77eaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:40 ---> job-cost.sh 02:09:40 lf-activate-venv: SKIPPING 02:09:40 INFO: No Stack... 02:09:47 INFO: Retrieving Pricing Info for: v3-standard-4 02:09:47 INFO: Archiving Costs [Pipeline] sh 02:09:47 + cat /w/workspace/edgex-go/7/archives/cost.csv 02:09:47 + cut -d, -f6 [Pipeline] lock 02:09:48 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3746-7-stack-cost] 02:09:48 Resource [jenkins-edgexfoundry-edgex-go-PR-3746-7-stack-cost] did not exist. Created. 02:09:48 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3746-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:09:48 + echo total: 0.10999999940395355 [Pipeline] stash 02:09:49 Stashed 1 file(s) [Pipeline] } 02:09:49 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3746-7-stack-cost] [Pipeline] // lock [Pipeline] } 02:09:49 $ docker stop --time=1 170ae70e847b922468cf60c381a9175113d9b8bace45d5080f8a96e2e0f77eaf 02:09:51 $ docker rm -f 170ae70e847b922468cf60c381a9175113d9b8bace45d5080f8a96e2e0f77eaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:09:51 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 02:09:52 + '[' -d /w/workspace/edgex-go/7/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:09:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:09:53 ---> package-listing.sh 02:09:53 ++ facter osfamily 02:09:53 ++ tr '[:upper:]' '[:lower:]' 02:09:54 + OS_FAMILY=redhat 02:09:54 + workspace=/w/workspace/edgex-go/7 02:09:54 + START_PACKAGES=/tmp/packages_start.txt 02:09:54 + END_PACKAGES=/tmp/packages_end.txt 02:09:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:09:54 + PACKAGES=/tmp/packages_start.txt 02:09:54 + '[' /w/workspace/edgex-go/7 ']' 02:09:54 + PACKAGES=/tmp/packages_end.txt 02:09:54 + case "${OS_FAMILY}" in 02:09:54 + rpm -qa 02:09:54 + sort 02:09:54 + '[' -f /tmp/packages_start.txt ']' 02:09:54 + '[' -f /tmp/packages_end.txt ']' 02:09:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:09:54 + '[' /w/workspace/edgex-go/7 ']' 02:09:54 + mkdir -p /w/workspace/edgex-go/7/archives/ 02:09:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/7/archives/ [Pipeline] echo 02:09:54 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/7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:09:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:55 02:09:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:09:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:55 latest: Pulling from edgex-lftools-log-publisher 02:09:55 b4d181a07f80: Pulling fs layer 02:09:55 a1111a8f2ec3: Pulling fs layer 02:09:55 ed53099fbce6: Pulling fs layer 02:09:55 dc539afda2c1: Pulling fs layer 02:09:55 77bc0d833cb6: Pulling fs layer 02:09:55 9065ff56babe: Pulling fs layer 02:09:55 d287ab97295c: Pulling fs layer 02:09:55 77bc0d833cb6: Waiting 02:09:55 9065ff56babe: Waiting 02:09:55 d287ab97295c: Waiting 02:09:55 dc539afda2c1: Waiting 02:09:55 a1111a8f2ec3: Verifying Checksum 02:09:55 a1111a8f2ec3: Download complete 02:09:55 dc539afda2c1: Verifying Checksum 02:09:55 dc539afda2c1: Download complete 02:09:55 ed53099fbce6: Verifying Checksum 02:09:55 ed53099fbce6: Download complete 02:09:55 77bc0d833cb6: Verifying Checksum 02:09:55 77bc0d833cb6: Download complete 02:09:55 9065ff56babe: Verifying Checksum 02:09:55 9065ff56babe: Download complete 02:09:55 b4d181a07f80: Download complete 02:09:56 d287ab97295c: Verifying Checksum 02:09:56 d287ab97295c: Download complete 02:09:57 b4d181a07f80: Pull complete 02:09:57 a1111a8f2ec3: Pull complete 02:09:57 ed53099fbce6: Pull complete 02:09:57 dc539afda2c1: Pull complete 02:09:58 77bc0d833cb6: Pull complete 02:09:58 9065ff56babe: Pull complete 02:10:03 d287ab97295c: Pull complete 02:10:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:10:03 prd-centos7-docker-4c-2g-1666 does not seem to be running inside a container 02:10:03 $ 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/7/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/7 -v /w/workspace/edgex-go/7:/w/workspace/edgex-go/7:rw,z -v /w/workspace/edgex-go/7@tmp:/w/workspace/edgex-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:10:06 $ docker top 49bbe9e2b6334ec12c3ee32136806b9f03024c2597150d3ef1f5ae9e07e37796 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:06 + touch /tmp/pre-build-complete [Pipeline] sh 02:10:06 + mkdir -p /var/log/sysstat [Pipeline] sh 02:10:07 + ls /var/log/sa-host 02:10:07 + sadf -c /var/log/sa-host/sa15 02:10:07 file_magic: OK 02:10:07 HZ: Using current value: 100 02:10:07 file_header: OK 02:10:07 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 02:10:07 Statistics: 02:10:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:10:07 File successfully converted to sysstat format version 12.0.3 02:10:07 + sadf -c /var/log/sa-host/sa30 02:10:07 file_magic: OK 02:10:07 HZ: Using current value: 100 02:10:07 file_header: OK 02:10:07 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 02:10:07 Statistics: 02:10:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:10:07 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:07 provisioning config files... 02:10:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/7@tmp/config8122486203668045728tmp [Pipeline] { [Pipeline] echo 02:10:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:10:07 ---> create-netrc.sh [Pipeline] } 02:10:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:10:08 ---> python-tools-install.sh [Pipeline] echo 02:10:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:10:08 ---> sudo-logs.sh 02:10:08 Archiving 'sudo' log.. 02:10:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-1666.novalocal: Name or service not known 02:10:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-1666.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:10:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:10:08 ---> job-cost.sh 02:10:08 lf-activate-venv: SKIPPING 02:10:08 DEBUG: total: 0.10999999940395355 02:10:08 INFO: Retrieving Stack Cost... 02:10:09 INFO: Retrieving Pricing Info for: v3-standard-2 02:10:09 INFO: Archiving Costs [Pipeline] echo 02:10:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:10:09 ---> logs-deploy.sh 02:10:09 lf-activate-venv: SKIPPING 02:10:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3746/7 02:10:09 INFO: archiving workspace using pattern(s): 02:10:10 Archives upload complete. 02:10:10 INFO: archiving logs to Nexus