Pull request #3510 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 8e84e87c96d2a5839db415490fa441319d2f8c5e rather than e56599c6f0a33d78a3399cfc3315d60091fd7c45 Obtained Jenkinsfile from 8e84e87c96d2a5839db415490fa441319d2f8c5e Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2589072091083451196.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5498989199114693572.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3872306634009547468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6801472895494434319.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7737646014619461308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3510/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7702250430380330903.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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/v1, 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_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-397 in /w/workspace/edgexfoundry_edgex-go_PR-3510 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7810890971797163880.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8e84e87c96d2a5839db415490fa441319d2f8c5e into PR head commit e56599c6f0a33d78a3399cfc3315d60091fd7c45 Merge succeeded, producing e56599c6f0a33d78a3399cfc3315d60091fd7c45 Checking out Revision e56599c6f0a33d78a3399cfc3315d60091fd7c45 (PR-3510) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh4129164291577371229.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3510/head:refs/remotes/origin/PR-3510 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e56599c6f0a33d78a3399cfc3315d60091fd7c45 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7469712510147967924.key > git merge 8e84e87c96d2a5839db415490fa441319d2f8c5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e56599c6f0a33d78a3399cfc3315d60091fd7c45 # timeout=10 Commit message: "feat(notifications): Add secret creation API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T08:41:18.193Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T08:41:18.385Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T08:41:18.503Z] ========================================================= [2021-05-26T08:41:18.503Z] EdgeX Global Pipelines Version Info [2021-05-26T08:41:18.503Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:41:20.007Z] ------------------- [2021-05-26T08:41:20.007Z] stable info: [2021-05-26T08:41:20.007Z] ------------------- [2021-05-26T08:41:20.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T08:41:20.007Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T08:41:20.007Z] Message: update stable to v1.0.192 [2021-05-26T08:41:20.580Z] ------------------- [2021-05-26T08:41:20.580Z] experimental info: [2021-05-26T08:41:20.580Z] ------------------- [2021-05-26T08:41:20.580Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T08:41:20.580Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T08:41:20.580Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T08:41:20.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-26T08:41:20.916Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-26T08:41:21.012Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T08:41:21.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T08:41:21.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T08:41:21.172Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T08:41:21.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T08:41:21.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-26T08:41:21.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-26T08:41:21.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-26T08:41:21.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T08:41:21.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T08:41:21.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T08:41:21.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T08:41:21.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T08:41:21.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T08:41:21.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T08:41:21.885Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T08:41:21.960Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-26T08:41:22.015Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-26T08:41:22.070Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-26T08:41:22.125Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T08:41:22.180Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3510 [Pipeline] echo [2021-05-26T08:41:22.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3510 [Pipeline] echo [2021-05-26T08:41:22.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3510 [Pipeline] echo [2021-05-26T08:41:22.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e56599c6f0a33d78a3399cfc3315d60091fd7c45 [Pipeline] echo [2021-05-26T08:41:22.413Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e56599c [Pipeline] echo [2021-05-26T08:41:22.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T08:41:22.626Z] provisioning config files... [2021-05-26T08:41:22.644Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7889553444660765878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:41:23.037Z] ---> docker-login.sh [2021-05-26T08:41:23.037Z] nexus3.edgexfoundry.org:10001 [2021-05-26T08:41:23.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:41:23.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:41:23.301Z] Configure a credential helper to remove this warning. See [2021-05-26T08:41:23.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:41:23.301Z] [2021-05-26T08:41:23.301Z] Login Succeeded [2021-05-26T08:41:23.301Z] nexus3.edgexfoundry.org:10002 [2021-05-26T08:41:23.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:41:23.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:41:23.562Z] Configure a credential helper to remove this warning. See [2021-05-26T08:41:23.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:41:23.562Z] [2021-05-26T08:41:23.562Z] Login Succeeded [2021-05-26T08:41:23.562Z] nexus3.edgexfoundry.org:10003 [2021-05-26T08:41:23.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:41:23.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:41:23.562Z] Configure a credential helper to remove this warning. See [2021-05-26T08:41:23.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:41:23.562Z] [2021-05-26T08:41:23.562Z] Login Succeeded [2021-05-26T08:41:23.562Z] nexus3.edgexfoundry.org:10004 [2021-05-26T08:41:23.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:41:23.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:41:23.824Z] Configure a credential helper to remove this warning. See [2021-05-26T08:41:23.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:41:23.824Z] [2021-05-26T08:41:23.824Z] Login Succeeded [2021-05-26T08:41:23.824Z] docker.io [2021-05-26T08:41:23.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:41:24.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:41:24.088Z] Configure a credential helper to remove this warning. See [2021-05-26T08:41:24.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:41:24.088Z] [2021-05-26T08:41:24.088Z] Login Succeeded [2021-05-26T08:41:24.088Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T08:41:24.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T08:41:24.555Z] ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/core-command/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/core-data/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-26T08:41:24.556Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-26T08:41:24.556Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-26T08:41:24.556Z] ++ cut -d/ -f2 [2021-05-26T08:41:24.556Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-26T08:41:24.623Z] Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:41:26.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T08:41:26.117Z] [2021-05-26T08:41:26.117Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:41:26.474Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T08:41:26.474Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T08:41:26.474Z] 31603596830f: Pulling fs layer [2021-05-26T08:41:26.474Z] 54011a49482f: Pulling fs layer [2021-05-26T08:41:26.474Z] a6820b24f6d8: Pulling fs layer [2021-05-26T08:41:26.474Z] f581987b2513: Pulling fs layer [2021-05-26T08:41:26.474Z] f581987b2513: Waiting [2021-05-26T08:41:26.474Z] 54011a49482f: Verifying Checksum [2021-05-26T08:41:26.474Z] 54011a49482f: Download complete [2021-05-26T08:41:26.736Z] 31603596830f: Verifying Checksum [2021-05-26T08:41:26.736Z] 31603596830f: Download complete [2021-05-26T08:41:26.736Z] f581987b2513: Verifying Checksum [2021-05-26T08:41:26.736Z] f581987b2513: Download complete [2021-05-26T08:41:26.736Z] a6820b24f6d8: Verifying Checksum [2021-05-26T08:41:26.736Z] a6820b24f6d8: Download complete [2021-05-26T08:41:27.002Z] 31603596830f: Pull complete [2021-05-26T08:41:27.002Z] 54011a49482f: Pull complete [2021-05-26T08:41:27.573Z] a6820b24f6d8: Pull complete [2021-05-26T08:41:27.834Z] f581987b2513: Pull complete [2021-05-26T08:41:27.834Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T08:41:27.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T08:41:27.834Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T08:41:27.937Z] prd-centos7-docker-4c-2g-397 does not seem to be running inside a container [2021-05-26T08:41:27.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T08:41:30.118Z] $ docker top d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T08:41:30.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T08:41:30.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T08:41:30.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T08:41:30.437Z] $ docker exec d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 ssh-agent [2021-05-26T08:41:30.550Z] SSH_AUTH_SOCK=/tmp/ssh-GXkpE9t5luGL/agent.13 [2021-05-26T08:41:30.550Z] SSH_AGENT_PID=19 [2021-05-26T08:41:30.558Z] Running ssh-add (command line suppressed) [2021-05-26T08:41:30.642Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_7160070034548847723.key (/w/workspace/edgex-go/1@tmp/private_key_7160070034548847723.key) [2021-05-26T08:41:30.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T08:41:31.017Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T08:41:31.039Z] $ docker exec --env ******** --env ******** d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 ssh-agent -k [2021-05-26T08:41:31.126Z] unset SSH_AUTH_SOCK; [2021-05-26T08:41:31.127Z] unset SSH_AGENT_PID; [2021-05-26T08:41:31.127Z] echo Agent pid 19 killed; [2021-05-26T08:41:31.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T08:41:31.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T08:41:31.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T08:41:31.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T08:41:31.334Z] $ docker exec d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 ssh-agent [2021-05-26T08:41:31.447Z] SSH_AUTH_SOCK=/tmp/ssh-liGwkg3rdkXc/agent.53 [2021-05-26T08:41:31.447Z] SSH_AGENT_PID=60 [2021-05-26T08:41:31.452Z] Running ssh-add (command line suppressed) [2021-05-26T08:41:31.548Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8834037101459234164.key (/w/workspace/edgex-go/1@tmp/private_key_8834037101459234164.key) [2021-05-26T08:41:31.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T08:41:31.906Z] + git semver init [2021-05-26T08:41:31.906Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T08:41:31.906Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-26T08:41:31.906Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-26T08:41:31.906Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T08:41:31.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T08:41:31.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T08:41:31.906Z] # $SEMVER_BRANCH = PR-3510 [2021-05-26T08:41:31.906Z] # $SEMVER_TEMP = /tmp/semver-264826247 [2021-05-26T08:41:31.906Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-26T08:41:44.168Z] # '/tmp/semver-264826247' -> '/w/workspace/edgex-go/1/.semver' [2021-05-26T08:41:44.168Z] # -> Force: false [2021-05-26T08:41:44.168Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-26T08:41:44.192Z] $ docker exec --env ******** --env ******** d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 ssh-agent -k [2021-05-26T08:41:44.294Z] unset SSH_AUTH_SOCK; [2021-05-26T08:41:44.295Z] unset SSH_AGENT_PID; [2021-05-26T08:41:44.295Z] echo Agent pid 60 killed; [2021-05-26T08:41:44.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T08:41:44.747Z] + git semver [Pipeline] } [2021-05-26T08:41:44.770Z] $ docker stop --time=1 d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 [2021-05-26T08:41:47.273Z] $ docker rm -f d787554817dd34da748f3d4b0c337eb15af0d0f71de50827bbbf2ad55d736186 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T08:41:47.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T08:41:48.047Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T08:41:48.071Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T08:41:48.965Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T08:41:49.289Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T08:41:49.617Z] + sudo service docker restart [2021-05-26T08:41:49.617Z] + true [2021-05-26T08:41:49.617Z] Redirecting to /bin/systemctl restart docker.service [2021-05-26T08:42:03.458Z] Still waiting to schedule task [2021-05-26T08:42:03.459Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] echo [2021-05-26T08:42:07.776Z] ========================================================= [2021-05-26T08:42:07.776Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T08:42:07.776Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:42:08.130Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-26T08:42:09.520Z] Sending build context to Docker daemon 330.9MB [2021-05-26T08:42:09.520Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T08:42:09.520Z] Step 2/6 : FROM ${BASE} [2021-05-26T08:42:09.520Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T08:42:09.520Z] 540db60ca938: Pulling fs layer [2021-05-26T08:42:09.520Z] adcc1eea9eea: Pulling fs layer [2021-05-26T08:42:09.520Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T08:42:09.520Z] 0510c868ecb4: Pulling fs layer [2021-05-26T08:42:09.520Z] afea3b2eda06: Pulling fs layer [2021-05-26T08:42:09.520Z] 7809a108b3ef: Pulling fs layer [2021-05-26T08:42:09.520Z] f706445af74f: Pulling fs layer [2021-05-26T08:42:09.520Z] 0510c868ecb4: Waiting [2021-05-26T08:42:09.520Z] afea3b2eda06: Waiting [2021-05-26T08:42:09.520Z] 7809a108b3ef: Waiting [2021-05-26T08:42:09.520Z] f706445af74f: Waiting [2021-05-26T08:42:09.520Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T08:42:09.520Z] 4c4ab2625f07: Download complete [2021-05-26T08:42:09.520Z] adcc1eea9eea: Verifying Checksum [2021-05-26T08:42:09.520Z] adcc1eea9eea: Download complete [2021-05-26T08:42:09.520Z] afea3b2eda06: Verifying Checksum [2021-05-26T08:42:09.520Z] afea3b2eda06: Download complete [2021-05-26T08:42:09.520Z] 7809a108b3ef: Verifying Checksum [2021-05-26T08:42:09.520Z] 7809a108b3ef: Download complete [2021-05-26T08:42:09.520Z] 540db60ca938: Verifying Checksum [2021-05-26T08:42:09.520Z] 540db60ca938: Download complete [2021-05-26T08:42:09.786Z] 540db60ca938: Pull complete [2021-05-26T08:42:10.047Z] adcc1eea9eea: Pull complete [2021-05-26T08:42:10.047Z] 4c4ab2625f07: Pull complete [2021-05-26T08:42:11.962Z] f706445af74f: Verifying Checksum [2021-05-26T08:42:11.962Z] f706445af74f: Download complete [2021-05-26T08:42:11.962Z] 0510c868ecb4: Verifying Checksum [2021-05-26T08:42:11.962Z] 0510c868ecb4: Download complete [2021-05-26T08:42:16.208Z] 0510c868ecb4: Pull complete [2021-05-26T08:42:16.208Z] afea3b2eda06: Pull complete [2021-05-26T08:42:16.208Z] 7809a108b3ef: Pull complete [2021-05-26T08:42:17.599Z] f706445af74f: Pull complete [2021-05-26T08:42:17.599Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T08:42:17.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T08:42:17.599Z] ---> b068be0155e3 [2021-05-26T08:42:17.599Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-26T08:42:20.901Z] ---> Running in 286cbc475911 [2021-05-26T08:42:20.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T08:42:21.842Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T08:42:22.103Z] (1/12) Installing libmagic (5.39-r0) [2021-05-26T08:42:22.675Z] (2/12) Installing file (5.39-r0) [2021-05-26T08:42:22.937Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-26T08:42:22.937Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-26T08:42:27.150Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-26T08:42:27.150Z] (6/12) Installing patch (2.7.6-r6) [2021-05-26T08:42:27.150Z] (7/12) Installing build-base (0.5-r2) [2021-05-26T08:42:27.150Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-26T08:42:27.150Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-26T08:42:27.150Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-26T08:42:27.150Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-26T08:42:27.150Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-26T08:42:27.150Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T08:42:27.150Z] OK: 219 MiB in 52 packages [2021-05-26T08:42:29.064Z] Removing intermediate container 286cbc475911 [2021-05-26T08:42:29.064Z] ---> 3c36737857b5 [2021-05-26T08:42:29.064Z] Step 4/6 : WORKDIR /edgex-go [2021-05-26T08:42:29.064Z] ---> Running in 47a0100a4597 [2021-05-26T08:42:29.064Z] Removing intermediate container 47a0100a4597 [2021-05-26T08:42:29.064Z] ---> ff01170e5cfc [2021-05-26T08:42:29.064Z] Step 5/6 : COPY go.mod . [2021-05-26T08:42:29.064Z] ---> 9f21f8b3a8ee [2021-05-26T08:42:29.064Z] Step 6/6 : RUN go mod download [2021-05-26T08:42:29.064Z] ---> Running in 7aa9791818a4 [2021-05-26T08:42:47.206Z] Removing intermediate container 7aa9791818a4 [2021-05-26T08:42:47.206Z] ---> cd482f54756d [2021-05-26T08:42:47.206Z] Successfully built cd482f54756d [2021-05-26T08:42:47.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:42:47.546Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T08:42:47.546Z] . [Pipeline] withDockerContainer [2021-05-26T08:42:47.652Z] prd-centos7-docker-4c-2g-397 does not seem to be running inside a container [2021-05-26T08:42:47.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T08:42:48.097Z] $ docker top 5d5b8e7bc83b725f4b156908fa23309153487e34bffe1fc7670781f0fc6571c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T08:42:48.531Z] + go version [2021-05-26T08:42:48.531Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T08:42:48.556Z] $ docker stop --time=1 5d5b8e7bc83b725f4b156908fa23309153487e34bffe1fc7670781f0fc6571c2 [2021-05-26T08:42:49.733Z] $ docker rm -f 5d5b8e7bc83b725f4b156908fa23309153487e34bffe1fc7670781f0fc6571c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:42:50.528Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T08:42:50.529Z] . [Pipeline] withDockerContainer [2021-05-26T08:42:50.625Z] prd-centos7-docker-4c-2g-397 does not seem to be running inside a container [2021-05-26T08:42:50.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T08:42:51.024Z] $ docker top fa1fc05279c4ef45d5a60e4a82ceb99af2038e97caf35e1d8cbac0252594b82d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T08:42:51.163Z] ========================================================= [2021-05-26T08:42:51.164Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-26T08:42:51.164Z] ========================================================= [Pipeline] sh [2021-05-26T08:42:51.468Z] + go mod tidy [Pipeline] sh [2021-05-26T08:42:52.061Z] + make test [2021-05-26T08:42:52.061Z] go mod tidy [2021-05-26T08:42:52.061Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-26T08:42:57.408Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-26T08:43:09.824Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [2021-05-26T08:43:09.824Z] internal/pkg/v2/controller/http/secret.go:29:87: undefined: v2.ApiSecretRoute [2021-05-26T08:43:09.824Z] internal/pkg/v2/controller/http/secret.go:35:68: undefined: v2.ApiSecretRoute [2021-05-26T08:43:09.824Z] internal/pkg/v2/controller/http/secret.go:40:34: undefined: v2.ApiSecretRoute [2021-05-26T08:43:28.046Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-26T08:43:28.046Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.043s coverage: 28.7% of statements [2021-05-26T08:43:28.627Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.064s coverage: 100.0% of statements [2021-05-26T08:43:28.627Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-26T08:43:30.024Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.055s coverage: 81.2% of statements [2021-05-26T08:43:30.024Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.050s coverage: 100.0% of statements [2021-05-26T08:43:30.024Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.051s coverage: 100.0% of statements [2021-05-26T08:43:30.290Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.063s coverage: 58.6% of statements [2021-05-26T08:43:31.252Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.090s coverage: 87.7% of statements [2021-05-26T08:43:31.252Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.070s coverage: 78.9% of statements [2021-05-26T08:43:31.252Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-26T08:43:32.208Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.044s coverage: 100.0% of statements [2021-05-26T08:43:32.208Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.045s coverage: 100.0% of statements [2021-05-26T08:43:32.788Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.089s coverage: 86.7% of statements [2021-05-26T08:43:33.052Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.114s coverage: 97.5% of statements [2021-05-26T08:43:33.640Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.078s coverage: 78.3% of statements [2021-05-26T08:43:34.606Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.test] [2021-05-26T08:43:34.606Z] internal/pkg/v2/controller/http/secret.go:29: undefined: v2.ApiSecretRoute [2021-05-26T08:43:34.606Z] internal/pkg/v2/controller/http/secret.go:35: undefined: v2.ApiSecretRoute [2021-05-26T08:43:34.606Z] internal/pkg/v2/controller/http/secret.go:40: undefined: v2.ApiSecretRoute [2021-05-26T08:43:34.606Z] internal/pkg/v2/controller/http/secret_test.go:35:18: undefined: common.NewSecretRequest [2021-05-26T08:43:34.606Z] internal/pkg/v2/controller/http/secret_test.go:93:49: undefined: v2.ApiSecretRoute [2021-05-26T08:43:34.876Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.244s coverage: 95.1% of statements [2021-05-26T08:43:34.876Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.043s coverage: 58.8% of statements [2021-05-26T08:43:34.877Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [build failed] [2021-05-26T08:43:35.837Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.049s coverage: 0.8% of statements [2021-05-26T08:43:35.837Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.052s coverage: 21.7% of statements [2021-05-26T08:43:36.100Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.044s coverage: 47.1% of statements [2021-05-26T08:43:36.100Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.057s coverage: 79.5% of statements [2021-05-26T08:43:36.390Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.040s coverage: 94.1% of statements [2021-05-26T08:43:36.652Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.070s coverage: 96.3% of statements [2021-05-26T08:43:36.915Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.042s coverage: 87.5% of statements [2021-05-26T08:43:49.174Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.065s coverage: 94.4% of statements [2021-05-26T08:43:49.174Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.042s coverage: 44.8% of statements [2021-05-26T08:43:53.384Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.236s coverage: 81.8% of statements [2021-05-26T08:44:08.957Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-398 in /w/workspace/edgexfoundry_edgex-go_PR-3510 [Pipeline] { [Pipeline] ws [2021-05-26T08:44:09.013Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-26T08:44:09.290Z] The recommended git tool is: git [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.078s coverage: 92.9% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.041s coverage: 87.2% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.039s coverage: 100.0% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.050s coverage: 76.0% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.039s coverage: 80.0% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.050s coverage: 87.2% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.062s coverage: 85.4% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.074s coverage: 91.2% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.118s coverage: 64.4% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.042s coverage: 100.0% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 91.3% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.035s coverage: 73.7% of statements [2021-05-26T08:44:11.536Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.019s coverage: 100.0% of statements [2021-05-26T08:44:11.800Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.226s coverage: 66.9% of statements [2021-05-26T08:44:12.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.106s coverage: 43.5% of statements [2021-05-26T08:44:12.761Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.043s coverage: 89.5% of statements [2021-05-26T08:44:13.033Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.033s coverage: 84.8% of statements [2021-05-26T08:44:13.033Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-26T08:44:13.615Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.034s coverage: 100.0% of statements [2021-05-26T08:44:13.883Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.035s coverage: 100.0% of statements [2021-05-26T08:44:14.752Z] using credential edgex-jenkins-ssh [2021-05-26T08:44:14.773Z] Cloning the remote Git repository [2021-05-26T08:44:14.819Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-26T08:44:14.984Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-26T08:44:15.090Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-26T08:44:15.091Z] > git --version # timeout=10 [2021-05-26T08:44:15.126Z] > git --version # 'git version 2.17.1' [2021-05-26T08:44:15.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T08:44:15.223Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T08:44:18.110Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.059s coverage: 18.9% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.126s coverage: 91.9% of statements [2021-05-26T08:44:18.111Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.042s coverage: 99.0% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.054s coverage: 100.0% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.051s coverage: 64.6% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.082s coverage: 97.6% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.022s coverage: 0.0% of statements [2021-05-26T08:44:18.111Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.029s coverage: 100.0% of statements [2021-05-26T08:44:18.376Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.031s coverage: 87.9% of statements [2021-05-26T08:44:18.644Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.029s coverage: 100.0% of statements [2021-05-26T08:44:18.645Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.042s coverage: 28.1% of statements [2021-05-26T08:44:19.232Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.048s coverage: 27.9% of statements [2021-05-26T08:44:19.499Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 100.0% of statements [2021-05-26T08:44:19.499Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-26T08:44:19.538Z] $ docker stop --time=1 fa1fc05279c4ef45d5a60e4a82ceb99af2038e97caf35e1d8cbac0252594b82d [2021-05-26T08:44:21.137Z] $ docker rm -f fa1fc05279c4ef45d5a60e4a82ceb99af2038e97caf35e1d8cbac0252594b82d [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] } [2021-05-26T08:44:22.185Z] Failed in branch amd64 [2021-05-26T08:44:30.732Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-26T08:44:30.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T08:44:30.779Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-26T08:44:30.811Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-26T08:44:30.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T08:44:30.824Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3510/head:refs/remotes/origin/PR-3510 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T08:44:31.710Z] Merging remotes/origin/master commit 8e84e87c96d2a5839db415490fa441319d2f8c5e into PR head commit e56599c6f0a33d78a3399cfc3315d60091fd7c45 [2021-05-26T08:44:32.129Z] Merge succeeded, producing e56599c6f0a33d78a3399cfc3315d60091fd7c45 [2021-05-26T08:44:32.130Z] Checking out Revision e56599c6f0a33d78a3399cfc3315d60091fd7c45 (PR-3510) [2021-05-26T08:44:31.724Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T08:44:31.742Z] > git checkout -f e56599c6f0a33d78a3399cfc3315d60091fd7c45 # timeout=10 [2021-05-26T08:44:32.049Z] > git remote # timeout=10 [2021-05-26T08:44:32.065Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T08:44:32.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T08:44:32.088Z] > git merge 8e84e87c96d2a5839db415490fa441319d2f8c5e # timeout=10 [2021-05-26T08:44:32.111Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T08:44:32.130Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T08:44:32.143Z] > git checkout -f e56599c6f0a33d78a3399cfc3315d60091fd7c45 # timeout=10 [2021-05-26T08:44:36.559Z] Commit message: "feat(notifications): Add secret creation API" [2021-05-26T08:44:36.608Z] > git --version # timeout=10 [2021-05-26T08:44:36.624Z] > git --version # 'git version 2.17.1' [2021-05-26T08:44:36.639Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T08:44:38.359Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T08:44:38.821Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T08:44:39.212Z] + true [2021-05-26T08:44:39.212Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T08:44:57.619Z] provisioning config files... [2021-05-26T08:44:57.649Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config698553208182346740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:44:58.068Z] ---> docker-login.sh [2021-05-26T08:44:58.068Z] nexus3.edgexfoundry.org:10001 [2021-05-26T08:44:59.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:44:59.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:44:59.326Z] Configure a credential helper to remove this warning. See [2021-05-26T08:44:59.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:44:59.326Z] [2021-05-26T08:44:59.326Z] Login Succeeded [2021-05-26T08:44:59.326Z] nexus3.edgexfoundry.org:10002 [2021-05-26T08:44:59.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:44:59.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:44:59.927Z] Configure a credential helper to remove this warning. See [2021-05-26T08:44:59.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:44:59.927Z] [2021-05-26T08:44:59.927Z] Login Succeeded [2021-05-26T08:44:59.927Z] nexus3.edgexfoundry.org:10003 [2021-05-26T08:45:00.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:45:00.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:45:00.527Z] Configure a credential helper to remove this warning. See [2021-05-26T08:45:00.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:45:00.527Z] [2021-05-26T08:45:00.527Z] Login Succeeded [2021-05-26T08:45:00.527Z] nexus3.edgexfoundry.org:10004 [2021-05-26T08:45:00.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:45:01.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:45:01.075Z] Configure a credential helper to remove this warning. See [2021-05-26T08:45:01.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:45:01.075Z] [2021-05-26T08:45:01.075Z] Login Succeeded [2021-05-26T08:45:01.075Z] docker.io [2021-05-26T08:45:01.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T08:45:01.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T08:45:01.955Z] Configure a credential helper to remove this warning. See [2021-05-26T08:45:01.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T08:45:01.955Z] [2021-05-26T08:45:01.955Z] Login Succeeded [2021-05-26T08:45:01.955Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T08:45:02.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T08:45:02.768Z] ========================================================= [2021-05-26T08:45:02.768Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T08:45:02.768Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:45:03.197Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-26T08:45:05.857Z] Sending build context to Docker daemon 168.1MB [2021-05-26T08:45:05.858Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T08:45:05.858Z] Step 2/6 : FROM ${BASE} [2021-05-26T08:45:05.858Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T08:45:05.858Z] 595b0fe564bb: Pulling fs layer [2021-05-26T08:45:05.858Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T08:45:05.858Z] 316046926c0a: Pulling fs layer [2021-05-26T08:45:05.858Z] 4ebd0625c992: Pulling fs layer [2021-05-26T08:45:05.858Z] 207e8628e3a3: Pulling fs layer [2021-05-26T08:45:05.858Z] c791037a9be2: Pulling fs layer [2021-05-26T08:45:05.858Z] ffd874e62e21: Pulling fs layer [2021-05-26T08:45:05.858Z] 207e8628e3a3: Waiting [2021-05-26T08:45:05.858Z] c791037a9be2: Waiting [2021-05-26T08:45:05.858Z] ffd874e62e21: Waiting [2021-05-26T08:45:05.858Z] 4ebd0625c992: Waiting [2021-05-26T08:45:05.858Z] 316046926c0a: Verifying Checksum [2021-05-26T08:45:05.858Z] 316046926c0a: Download complete [2021-05-26T08:45:05.858Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T08:45:05.858Z] 7186ed65a4f7: Download complete [2021-05-26T08:45:05.858Z] 207e8628e3a3: Download complete [2021-05-26T08:45:05.858Z] c791037a9be2: Verifying Checksum [2021-05-26T08:45:05.858Z] c791037a9be2: Download complete [2021-05-26T08:45:06.142Z] 595b0fe564bb: Verifying Checksum [2021-05-26T08:45:06.747Z] 595b0fe564bb: Pull complete [2021-05-26T08:45:07.360Z] 7186ed65a4f7: Pull complete [2021-05-26T08:45:07.639Z] 316046926c0a: Pull complete [2021-05-26T08:45:08.235Z] ffd874e62e21: Verifying Checksum [2021-05-26T08:45:08.235Z] ffd874e62e21: Download complete [2021-05-26T08:45:09.666Z] 4ebd0625c992: Download complete [2021-05-26T08:45:19.866Z] 4ebd0625c992: Pull complete [2021-05-26T08:45:20.466Z] 207e8628e3a3: Pull complete [2021-05-26T08:45:20.749Z] c791037a9be2: Pull complete [2021-05-26T08:45:25.089Z] ffd874e62e21: Pull complete [2021-05-26T08:45:25.089Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T08:45:25.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T08:45:25.089Z] ---> cfc18b08335c [2021-05-26T08:45:25.089Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-26T08:45:27.091Z] ---> Running in b4b3a0080322 [2021-05-26T08:45:28.525Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T08:45:29.498Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T08:45:30.091Z] (1/12) Installing libmagic (5.39-r0) [2021-05-26T08:45:30.362Z] (2/12) Installing file (5.39-r0) [2021-05-26T08:45:30.362Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-26T08:45:30.633Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-26T08:45:37.344Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-26T08:45:37.344Z] (6/12) Installing patch (2.7.6-r6) [2021-05-26T08:45:37.344Z] (7/12) Installing build-base (0.5-r2) [2021-05-26T08:45:37.344Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-26T08:45:37.344Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-26T08:45:37.344Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-26T08:45:37.344Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-26T08:45:37.344Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-26T08:45:37.344Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T08:45:37.344Z] OK: 218 MiB in 52 packages [2021-05-26T08:45:41.671Z] Removing intermediate container b4b3a0080322 [2021-05-26T08:45:41.671Z] ---> a98081288017 [2021-05-26T08:45:41.671Z] Step 4/6 : WORKDIR /edgex-go [2021-05-26T08:45:41.671Z] ---> Running in 9c04f72711ed [2021-05-26T08:45:41.671Z] Removing intermediate container 9c04f72711ed [2021-05-26T08:45:41.671Z] ---> 2f0f821eead1 [2021-05-26T08:45:41.671Z] Step 5/6 : COPY go.mod . [2021-05-26T08:45:42.665Z] ---> e358c97bb7e8 [2021-05-26T08:45:42.665Z] Step 6/6 : RUN go mod download [2021-05-26T08:45:42.665Z] ---> Running in 4f272a09aa45 [2021-05-26T08:46:09.498Z] Removing intermediate container 4f272a09aa45 [2021-05-26T08:46:09.498Z] ---> 7f2446ed4f4f [2021-05-26T08:46:09.498Z] Successfully built 7f2446ed4f4f [2021-05-26T08:46:09.498Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:46:09.890Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T08:46:09.890Z] . [Pipeline] withDockerContainer [2021-05-26T08:46:10.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-398 does not seem to be running inside a container [2021-05-26T08:46:10.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T08:46:11.903Z] $ docker top 3f2912101e68d760282c19b2d82eabf1fe1b898b8c1263b33da4b9ce49657cfa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T08:46:12.965Z] + go version [2021-05-26T08:46:12.965Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T08:46:13.000Z] $ docker stop --time=1 3f2912101e68d760282c19b2d82eabf1fe1b898b8c1263b33da4b9ce49657cfa [2021-05-26T08:46:14.848Z] $ docker rm -f 3f2912101e68d760282c19b2d82eabf1fe1b898b8c1263b33da4b9ce49657cfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:46:15.795Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T08:46:15.796Z] . [Pipeline] withDockerContainer [2021-05-26T08:46:16.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-398 does not seem to be running inside a container [2021-05-26T08:46:16.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T08:46:17.678Z] $ docker top 85d53123d6aefab5658f70aa8fc2cabfebc8cc942dd959b2b549d9c9b9cd4758 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T08:46:18.052Z] ========================================================= [2021-05-26T08:46:18.052Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-26T08:46:18.052Z] ========================================================= [Pipeline] sh [2021-05-26T08:46:18.724Z] + go mod tidy [Pipeline] sh [2021-05-26T08:46:20.407Z] + make test [2021-05-26T08:46:20.407Z] go mod tidy [2021-05-26T08:46:21.006Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-26T08:46:47.827Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-26T08:47:26.923Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [2021-05-26T08:47:26.923Z] internal/pkg/v2/controller/http/secret.go:29:87: undefined: v2.ApiSecretRoute [2021-05-26T08:47:26.923Z] internal/pkg/v2/controller/http/secret.go:35:68: undefined: v2.ApiSecretRoute [2021-05-26T08:47:26.923Z] internal/pkg/v2/controller/http/secret.go:40:34: undefined: v2.ApiSecretRoute [2021-05-26T08:48:13.950Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-26T08:48:15.414Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.201s coverage: 28.7% of statements [2021-05-26T08:48:18.857Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.325s coverage: 100.0% of statements [2021-05-26T08:48:18.857Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-26T08:48:19.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.261s coverage: 81.2% of statements [2021-05-26T08:48:19.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.265s coverage: 100.0% of statements [2021-05-26T08:48:19.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.173s coverage: 100.0% of statements [2021-05-26T08:48:24.715Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.424s coverage: 58.6% of statements [2021-05-26T08:48:25.771Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.765s coverage: 87.7% of statements [2021-05-26T08:48:25.771Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.178s coverage: 78.9% of statements [2021-05-26T08:48:25.771Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-26T08:48:27.391Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.283s coverage: 100.0% of statements [2021-05-26T08:48:27.392Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.271s coverage: 100.0% of statements [2021-05-26T08:48:30.040Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.462s coverage: 86.7% of statements [2021-05-26T08:48:31.040Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http.test] [2021-05-26T08:48:31.040Z] internal/pkg/v2/controller/http/secret.go:29: undefined: v2.ApiSecretRoute [2021-05-26T08:48:31.040Z] internal/pkg/v2/controller/http/secret.go:35: undefined: v2.ApiSecretRoute [2021-05-26T08:48:31.040Z] internal/pkg/v2/controller/http/secret.go:40: undefined: v2.ApiSecretRoute [2021-05-26T08:48:31.040Z] internal/pkg/v2/controller/http/secret_test.go:35:18: undefined: common.NewSecretRequest [2021-05-26T08:48:31.040Z] internal/pkg/v2/controller/http/secret_test.go:93:49: undefined: v2.ApiSecretRoute [2021-05-26T08:48:32.051Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.514s coverage: 97.5% of statements [2021-05-26T08:48:32.051Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.328s coverage: 78.3% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.319s coverage: 95.1% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.151s coverage: 58.8% of statements [2021-05-26T08:48:40.404Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [build failed] [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.356s coverage: 0.8% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.186s coverage: 21.7% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.202s coverage: 47.1% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.206s coverage: 79.5% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.227s coverage: 94.1% of statements [2021-05-26T08:48:40.404Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.193s coverage: 96.3% of statements [2021-05-26T08:48:41.401Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.185s coverage: 87.5% of statements [2021-05-26T08:48:53.840Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.276s coverage: 94.4% of statements [2021-05-26T08:48:53.840Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.178s coverage: 44.8% of statements [2021-05-26T08:48:58.177Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.571s coverage: 81.8% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.300s coverage: 92.9% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.056s coverage: 65.1% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.074s coverage: 87.2% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.150s coverage: 100.0% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.205s coverage: 76.0% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.162s coverage: 80.0% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.249s coverage: 87.2% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.227s coverage: 85.4% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.265s coverage: 91.2% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.721s coverage: 64.4% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.181s coverage: 100.0% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements [2021-05-26T08:49:06.518Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.063s coverage: 100.0% of statements [2021-05-26T08:49:07.117Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.116s coverage: 73.7% of statements [2021-05-26T08:49:07.394Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.064s coverage: 100.0% of statements [2021-05-26T08:49:10.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.021s coverage: 66.9% of statements [2021-05-26T08:49:12.813Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.704s coverage: 43.5% of statements [2021-05-26T08:49:12.813Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.138s coverage: 89.5% of statements [2021-05-26T08:49:12.813Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.088s coverage: 84.8% of statements [2021-05-26T08:49:12.813Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-26T08:49:14.265Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.117s coverage: 100.0% of statements [2021-05-26T08:49:14.868Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.106s coverage: 100.0% of statements [2021-05-26T08:49:20.293Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.217s coverage: 18.9% of statements [2021-05-26T08:49:20.293Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.567s coverage: 91.9% of statements [2021-05-26T08:49:20.293Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-26T08:49:20.293Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.166s coverage: 99.0% of statements [2021-05-26T08:49:20.293Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.207s coverage: 100.0% of statements [2021-05-26T08:49:22.290Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.367s coverage: 64.6% of statements [2021-05-26T08:49:24.319Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.387s coverage: 97.6% of statements [2021-05-26T08:49:24.319Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.053s coverage: 0.0% of statements [2021-05-26T08:49:24.319Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.079s coverage: 100.0% of statements [2021-05-26T08:49:24.319Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.096s coverage: 87.9% of statements [2021-05-26T08:49:24.319Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.067s coverage: 100.0% of statements [2021-05-26T08:49:24.597Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.192s coverage: 28.1% of statements [2021-05-26T08:49:25.201Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.155s coverage: 27.9% of statements [2021-05-26T08:49:25.475Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements [2021-05-26T08:49:26.072Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-26T08:49:26.134Z] $ docker stop --time=1 85d53123d6aefab5658f70aa8fc2cabfebc8cc942dd959b2b549d9c9b9cd4758 [2021-05-26T08:49:28.363Z] $ docker rm -f 85d53123d6aefab5658f70aa8fc2cabfebc8cc942dd959b2b549d9c9b9cd4758 [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] libraryResource [Pipeline] sh [2021-05-26T08:49:30.629Z] ---> job-cost.sh [2021-05-26T08:49:30.629Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qoJW [2021-05-26T08:50:09.583Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T08:51:31.328Z] lf-activate-venv(): INFO: Adding /tmp/venv-qoJW/bin to PATH [2021-05-26T08:51:31.328Z] INFO: No Stack... [2021-05-26T08:51:31.328Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T08:51:31.328Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T08:51:31.736Z] + + cutcat /w/workspace/edgex-go/1/archives/cost.csv [2021-05-26T08:51:31.736Z] -d, -f6 [Pipeline] lock [2021-05-26T08:51:31.822Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3510-1-stack-cost] [2021-05-26T08:51:31.830Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3510-1-stack-cost] did not exist. Created. [2021-05-26T08:51:31.830Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T08:51:32.282Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T08:51:33.201Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T08:51:33.223Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3510-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T08:51:33.733Z] 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] libraryResource [Pipeline] sh [2021-05-26T08:51:35.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:36.279Z] ---> package-listing.sh [2021-05-26T08:51:36.279Z] ++ facter osfamily [2021-05-26T08:51:36.279Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T08:51:36.547Z] + OS_FAMILY=redhat [2021-05-26T08:51:36.547Z] + workspace=/w/workspace/edgex-go/1 [2021-05-26T08:51:36.547Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T08:51:36.547Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T08:51:36.547Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T08:51:36.547Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T08:51:36.547Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-26T08:51:36.547Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T08:51:36.547Z] + case "${OS_FAMILY}" in [2021-05-26T08:51:36.547Z] + sort [2021-05-26T08:51:36.547Z] + rpm -qa [2021-05-26T08:51:37.118Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T08:51:37.118Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T08:51:37.118Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T08:51:37.118Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-26T08:51:37.118Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-26T08:51:37.118Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-26T08:51:37.177Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T08:51:37.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:51:38.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T08:51:38.081Z] [2021-05-26T08:51:38.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T08:51:38.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T08:51:38.439Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T08:51:38.439Z] df20fa9351a1: Pulling fs layer [2021-05-26T08:51:38.439Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T08:51:38.439Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T08:51:38.439Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T08:51:38.439Z] 93b61091891f: Pulling fs layer [2021-05-26T08:51:38.439Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T08:51:38.439Z] 5e14af77c1be: Pulling fs layer [2021-05-26T08:51:38.439Z] 01666e4c0597: Pulling fs layer [2021-05-26T08:51:38.439Z] aa168da1d23b: Pulling fs layer [2021-05-26T08:51:38.439Z] 46f8f816bc3b: Waiting [2021-05-26T08:51:38.439Z] 93b61091891f: Waiting [2021-05-26T08:51:38.439Z] 93b9cdb0e59b: Waiting [2021-05-26T08:51:38.439Z] 5e14af77c1be: Waiting [2021-05-26T08:51:38.439Z] 01666e4c0597: Waiting [2021-05-26T08:51:38.439Z] aa168da1d23b: Waiting [2021-05-26T08:51:38.702Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T08:51:38.702Z] 36b3adc4ff6f: Download complete [2021-05-26T08:51:38.702Z] 46f8f816bc3b: Download complete [2021-05-26T08:51:38.702Z] df20fa9351a1: Verifying Checksum [2021-05-26T08:51:38.702Z] df20fa9351a1: Download complete [2021-05-26T08:51:38.702Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T08:51:38.702Z] 93b9cdb0e59b: Download complete [2021-05-26T08:51:38.702Z] 5e14af77c1be: Verifying Checksum [2021-05-26T08:51:38.702Z] 5e14af77c1be: Download complete [2021-05-26T08:51:38.702Z] 93b61091891f: Verifying Checksum [2021-05-26T08:51:38.702Z] 93b61091891f: Download complete [2021-05-26T08:51:38.702Z] 01666e4c0597: Verifying Checksum [2021-05-26T08:51:38.702Z] 01666e4c0597: Download complete [2021-05-26T08:51:38.966Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T08:51:38.966Z] 8ad3a11d3b57: Download complete [2021-05-26T08:51:38.966Z] df20fa9351a1: Pull complete [2021-05-26T08:51:38.966Z] 36b3adc4ff6f: Pull complete [2021-05-26T08:51:39.546Z] 8ad3a11d3b57: Pull complete [2021-05-26T08:51:39.807Z] 46f8f816bc3b: Pull complete [2021-05-26T08:51:40.071Z] 93b61091891f: Pull complete [2021-05-26T08:51:40.071Z] 93b9cdb0e59b: Pull complete [2021-05-26T08:51:40.071Z] 5e14af77c1be: Pull complete [2021-05-26T08:51:40.333Z] 01666e4c0597: Pull complete [2021-05-26T08:51:40.907Z] aa168da1d23b: Verifying Checksum [2021-05-26T08:51:40.907Z] aa168da1d23b: Download complete [2021-05-26T08:51:45.142Z] aa168da1d23b: Pull complete [2021-05-26T08:51:45.142Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T08:51:45.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T08:51:45.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T08:51:45.256Z] prd-centos7-docker-4c-2g-397 does not seem to be running inside a container [2021-05-26T08:51:45.293Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T08:51:49.230Z] $ docker top 42ee7bd9b5f7f0a61ae5365796a5dc63e811e457362f94fbe913df9dab55ac8f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T08:51:49.682Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T08:51:50.004Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T08:51:50.326Z] + ls /var/log/sa-host [2021-05-26T08:51:50.326Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T08:51:50.326Z] file_magic: OK [2021-05-26T08:51:50.326Z] HZ: Using current value: 100 [2021-05-26T08:51:50.326Z] file_header: OK [2021-05-26T08:51:50.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T08:51:50.326Z] Statistics: [2021-05-26T08:51:50.326Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T08:51:50.326Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T08:51:50.326Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T08:51:50.326Z] file_magic: OK [2021-05-26T08:51:50.326Z] HZ: Using current value: 100 [2021-05-26T08:51:50.326Z] file_header: OK [2021-05-26T08:51:50.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T08:51:50.326Z] Statistics: [2021-05-26T08:51:50.326Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T08:51:50.326Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T08:51:51.037Z] provisioning config files... [2021-05-26T08:51:51.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8790600917632876646tmp [Pipeline] { [Pipeline] echo [2021-05-26T08:51:51.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:51.446Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T08:51:51.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T08:51:51.546Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:51.885Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T08:51:51.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:52.249Z] ---> sudo-logs.sh [2021-05-26T08:51:52.249Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T08:51:52.333Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:52.679Z] ---> job-cost.sh [2021-05-26T08:51:52.679Z] lf-activate-venv: SKIPPING [2021-05-26T08:51:52.679Z] DEBUG: total: 0.18000000715255737 [2021-05-26T08:51:52.679Z] INFO: Retrieving Stack Cost... [2021-05-26T08:51:53.623Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T08:51:54.195Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T08:51:54.243Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T08:51:54.611Z] ---> logs-deploy.sh [2021-05-26T08:51:54.611Z] lf-activate-venv: SKIPPING [2021-05-26T08:51:54.611Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3510/1 [2021-05-26T08:51:54.611Z] INFO: archiving workspace using pattern(s): [2021-05-26T08:51:55.555Z] Archives upload complete. [2021-05-26T08:51:55.555Z] INFO: archiving logs to Nexus