Pull request #951 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 24c587a78ce3c301949ceb7b41d382e0cd5fece4+f9e550b20f5a93948f1e6d0294bcd4043c76663f (5567ae41cf46a75483f0b34780f99915e3c52643) 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-ssh4726628394265065642.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-ssh5377163688675262247.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/device-sdk-go/branches/PR-951/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/device-sdk-go/branches/PR-951/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2341199224869844761.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/device-sdk-go/branches/PR-951/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5484755856861909570.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-ssh1568947266766981700.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/device-sdk-go/branches/PR-951/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/device-sdk-go/branches/PR-951/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3864062180123078126.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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-919 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-951 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/dgexfoundry_device-sdk-go_PR-951@tmp/jenkins-gitclient-ssh8283450935660342673.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/dgexfoundry_device-sdk-go_PR-951@tmp/jenkins-gitclient-ssh6724050774604515630.key Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 24c587a78ce3c301949ceb7b41d382e0cd5fece4 Merge succeeded, producing 24c587a78ce3c301949ceb7b41d382e0cd5fece4 Checking out Revision 24c587a78ce3c301949ceb7b41d382e0cd5fece4 (PR-951) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # 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/dgexfoundry_device-sdk-go_PR-951@tmp/jenkins-gitclient-ssh5113336826005806300.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # timeout=10 Commit message: "refactor: Remove obsolete code from Add Secret" 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 20:50:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:50:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:50:52 ========================================================= 20:50:52 EdgeX Global Pipelines Version Info 20:50:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:50:53 ------------------- 20:50:53 stable info: 20:50:53 ------------------- 20:50:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:50:53 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:50:53 Message: update stable to v1.0.192 20:50:54 ------------------- 20:50:54 experimental info: 20:50:54 ------------------- 20:50:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:50:54 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:50:54 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:50:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:50:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-951 [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-951 [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-951 [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24c587a78ce3c301949ceb7b41d382e0cd5fece4 [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24c587a [Pipeline] echo 20:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:56 provisioning config files... 20:50:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/config5313573663940619562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:57 ---> docker-login.sh 20:50:57 nexus3.edgexfoundry.org:10001 20:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:57 Configure a credential helper to remove this warning. See 20:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:57 20:50:57 Login Succeeded 20:50:57 nexus3.edgexfoundry.org:10002 20:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:57 Configure a credential helper to remove this warning. See 20:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:57 20:50:57 Login Succeeded 20:50:57 nexus3.edgexfoundry.org:10003 20:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:57 Configure a credential helper to remove this warning. See 20:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:57 20:50:57 Login Succeeded 20:50:57 nexus3.edgexfoundry.org:10004 20:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:57 Configure a credential helper to remove this warning. See 20:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:57 20:50:57 Login Succeeded 20:50:57 docker.io 20:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:58 Configure a credential helper to remove this warning. See 20:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:58 20:50:58 Login Succeeded 20:50:58 ---> docker-login.sh ends [Pipeline] } 20:50:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:59 + git log --format=format:%s -1 24c587a78ce3c301949ceb7b41d382e0cd5fece4 [Pipeline] echo 20:50:59 GIT_COMMIT: 24c587a78ce3c301949ceb7b41d382e0cd5fece4, Commit Message: refactor: Remove obsolete code from Add Secret [Pipeline] echo 20:50:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:51:00 20:51:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:51:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:51:00 latest: Pulling from edgex-devops/git-semver 20:51:00 31603596830f: Pulling fs layer 20:51:00 54011a49482f: Pulling fs layer 20:51:00 a6820b24f6d8: Pulling fs layer 20:51:00 f581987b2513: Pulling fs layer 20:51:00 f581987b2513: Waiting 20:51:00 54011a49482f: Verifying Checksum 20:51:00 54011a49482f: Download complete 20:51:00 31603596830f: Verifying Checksum 20:51:00 31603596830f: Download complete 20:51:00 f581987b2513: Verifying Checksum 20:51:00 f581987b2513: Download complete 20:51:00 a6820b24f6d8: Verifying Checksum 20:51:00 a6820b24f6d8: Download complete 20:51:00 31603596830f: Pull complete 20:51:01 54011a49482f: Pull complete 20:51:01 a6820b24f6d8: Pull complete 20:51:02 f581987b2513: Pull complete 20:51:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:51:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:51:02 prd-centos7-docker-4c-2g-919 does not seem to be running inside a container 20:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-951 -v /w/workspace/dgexfoundry_device-sdk-go_PR-951:/w/workspace/dgexfoundry_device-sdk-go_PR-951:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:51:03 $ docker top f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:51:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:03 [ssh-agent] Looking for ssh-agent implementation... 20:51:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:03 $ docker exec f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 ssh-agent 20:51:03 SSH_AUTH_SOCK=/tmp/ssh-pTHa6vrTDeqk/agent.12 20:51:03 SSH_AGENT_PID=19 20:51:03 Running ssh-add (command line suppressed) 20:51:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_6772987270573873165.key (/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_6772987270573873165.key) 20:51:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:04 + git tag --points-at HEAD [Pipeline] } 20:51:04 $ docker exec --env ******** --env ******** f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 ssh-agent -k 20:51:04 unset SSH_AUTH_SOCK; 20:51:04 unset SSH_AGENT_PID; 20:51:04 echo Agent pid 19 killed; 20:51:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:51:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:04 [ssh-agent] Looking for ssh-agent implementation... 20:51:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:04 $ docker exec f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 ssh-agent 20:51:04 SSH_AUTH_SOCK=/tmp/ssh-wNDkDrFFPCbv/agent.52 20:51:04 SSH_AGENT_PID=59 20:51:04 Running ssh-add (command line suppressed) 20:51:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_5418278285494080858.key (/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/private_key_5418278285494080858.key) 20:51:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:05 + git semver init 20:51:05 # -> Open(): unable to determine branch for HEAD 20:51:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-951/.git 20:51:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-951 20:51:05 # $SEMVER_REMOTE_NAME = origin 20:51:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:51:05 # $SEMVER_USER_NAME = edgex-jenkins 20:51:05 # $SEMVER_BRANCH = PR-951 20:51:05 # $SEMVER_TEMP = /tmp/semver-121681493 20:51:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:51:06 # '/tmp/semver-121681493' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-951/.semver' 20:51:06 # -> Force: false 20:51:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-951/.semver [Pipeline] } 20:51:06 $ docker exec --env ******** --env ******** f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 ssh-agent -k 20:51:06 unset SSH_AUTH_SOCK; 20:51:06 unset SSH_AGENT_PID; 20:51:06 echo Agent pid 59 killed; 20:51:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:06 + git semver [Pipeline] } 20:51:06 $ docker stop --time=1 f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 20:51:07 $ docker rm -f f13ea4b23a54cd0d4cd71741474f56babec125dd29a577408b0074cc531d9422 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:51:08 Stashed 1 file(s) [Pipeline] echo 20:51:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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] node 20:51:24 Still waiting to schedule task 20:51:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:51:24 Still waiting to schedule task 20:51:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-917’ is offline 20:53:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-920 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [Pipeline] { [Pipeline] ws 20:53:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:53:24 Selected Git installation does not exist. Using Default 20:53:24 The recommended git tool is: NONE 20:53:27 Running on prd-centos7-docker-4c-2g-921 in /w/workspace/dgexfoundry_device-sdk-go_PR-951 [Pipeline] { [Pipeline] ws 20:53:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:53:28 Selected Git installation does not exist. Using Default 20:53:28 The recommended git tool is: NONE 20:53:29 using credential edgex-jenkins-ssh 20:53:30 Cloning the remote Git repository 20:53:30 using credential edgex-jenkins-ssh 20:53:30 Cloning the remote Git repository 20:53:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:53:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:53:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:53:30 > git --version # timeout=10 20:53:30 > git --version # 'git version 2.17.1' 20:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:53:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:53:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:53:30 > git --version # timeout=10 20:53:30 > git --version # 'git version 2.24.4' 20:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:30 [INFO] Currently running in a labeled security context 20:53:30 [INFO] Currently SELinux is 'enforcing' on the host 20:53:30 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7899476234145490835.key 20:53:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:53:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:53:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:53:32 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 24c587a78ce3c301949ceb7b41d382e0cd5fece4 20:53:32 Merge succeeded, producing 24c587a78ce3c301949ceb7b41d382e0cd5fece4 20:53:32 Checking out Revision 24c587a78ce3c301949ceb7b41d382e0cd5fece4 (PR-951) 20:53:32 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 24c587a78ce3c301949ceb7b41d382e0cd5fece4 20:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:53:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:53:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:31 [INFO] Currently running in a labeled security context 20:53:31 [INFO] Currently SELinux is 'enforcing' on the host 20:53:31 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6736055359811744895.key 20:53:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/951/head:refs/remotes/origin/PR-951 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:53:31 > git config core.sparsecheckout # timeout=10 20:53:31 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # timeout=10 20:53:31 > git remote # timeout=10 20:53:31 > git config --get remote.origin.url # timeout=10 20:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:31 [INFO] Currently running in a labeled security context 20:53:31 [INFO] Currently SELinux is 'enforcing' on the host 20:53:31 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8471774534157016282.key 20:53:31 > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 20:53:31 > git rev-parse HEAD^{commit} # timeout=10 20:53:31 > git config core.sparsecheckout # timeout=10 20:53:31 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # timeout=10 20:53:32 Merge succeeded, producing 24c587a78ce3c301949ceb7b41d382e0cd5fece4 20:53:32 Checking out Revision 24c587a78ce3c301949ceb7b41d382e0cd5fece4 (PR-951) 20:53:32 > git config core.sparsecheckout # timeout=10 20:53:32 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # timeout=10 20:53:32 > git remote # timeout=10 20:53:32 > git config --get remote.origin.url # timeout=10 20:53:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:32 > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 20:53:32 > git rev-parse HEAD^{commit} # timeout=10 20:53:32 > git config core.sparsecheckout # timeout=10 20:53:32 > git checkout -f 24c587a78ce3c301949ceb7b41d382e0cd5fece4 # timeout=10 20:53:35 Commit message: "refactor: Remove obsolete code from Add Secret" 20:53:35 > git --version # timeout=10 20:53:35 > git --version # 'git version 2.24.4' 20:53:35 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:36 Commit message: "refactor: Remove obsolete code from Add Secret" 20:53:36 > git --version # timeout=10 20:53:36 > git --version # 'git version 2.17.1' 20:53:36 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 20:53:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:53:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:37 + sudo service docker restart 20:53:37 + true 20:53:37 Redirecting to /bin/systemctl restart docker.service 20:53:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:53:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:53:39 + + true 20:53:39 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:55 provisioning config files... 20:53:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8729310779873087163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:56 ---> docker-login.sh 20:53:56 nexus3.edgexfoundry.org:10001 20:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:56 Configure a credential helper to remove this warning. See 20:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:56 20:53:56 Login Succeeded 20:53:56 nexus3.edgexfoundry.org:10002 20:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:56 Configure a credential helper to remove this warning. See 20:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:56 20:53:56 Login Succeeded 20:53:56 nexus3.edgexfoundry.org:10003 20:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:56 Configure a credential helper to remove this warning. See 20:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:56 20:53:56 Login Succeeded 20:53:56 nexus3.edgexfoundry.org:10004 20:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:57 Configure a credential helper to remove this warning. See 20:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:57 20:53:57 Login Succeeded 20:53:57 docker.io 20:53:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:57 Configure a credential helper to remove this warning. See 20:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:57 20:53:57 Login Succeeded 20:53:57 ---> docker-login.sh ends [Pipeline] } 20:53:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:57 ========================================================= 20:53:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:53:57 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:57 provisioning config files... 20:53:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7562391763437407809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:58 + 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 . 20:53:58 Sending build context to Docker daemon 2.631MB 20:53:58 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:53:58 Step 2/8 : FROM ${BASE} 20:53:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:58 540db60ca938: Pulling fs layer 20:53:58 adcc1eea9eea: Pulling fs layer 20:53:58 4c4ab2625f07: Pulling fs layer 20:53:58 0510c868ecb4: Pulling fs layer 20:53:58 afea3b2eda06: Pulling fs layer 20:53:58 7809a108b3ef: Pulling fs layer 20:53:58 f706445af74f: Pulling fs layer 20:53:58 afea3b2eda06: Waiting 20:53:58 7809a108b3ef: Waiting 20:53:58 f706445af74f: Waiting 20:53:58 0510c868ecb4: Waiting 20:53:58 4c4ab2625f07: Verifying Checksum 20:53:58 4c4ab2625f07: Download complete 20:53:58 adcc1eea9eea: Verifying Checksum 20:53:58 adcc1eea9eea: Download complete 20:53:58 afea3b2eda06: Verifying Checksum 20:53:58 afea3b2eda06: Download complete 20:53:58 7809a108b3ef: Verifying Checksum 20:53:58 7809a108b3ef: Download complete 20:53:58 540db60ca938: Verifying Checksum 20:53:58 540db60ca938: Download complete 20:53:58 ---> docker-login.sh 20:53:58 nexus3.edgexfoundry.org:10001 20:53:58 540db60ca938: Pull complete 20:53:58 adcc1eea9eea: Pull complete 20:53:58 4c4ab2625f07: Pull complete 20:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:59 Configure a credential helper to remove this warning. See 20:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:59 20:53:59 Login Succeeded 20:53:59 nexus3.edgexfoundry.org:10002 20:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:00 Configure a credential helper to remove this warning. See 20:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:00 20:54:00 Login Succeeded 20:54:00 nexus3.edgexfoundry.org:10003 20:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:00 Configure a credential helper to remove this warning. See 20:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:00 20:54:00 Login Succeeded 20:54:00 nexus3.edgexfoundry.org:10004 20:54:00 f706445af74f: Verifying Checksum 20:54:00 f706445af74f: Download complete 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 0510c868ecb4: Verifying Checksum 20:54:01 0510c868ecb4: Download complete 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 docker.io 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 ---> docker-login.sh ends [Pipeline] } 20:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:02 ========================================================= 20:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:54:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:54:02 + 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 . 20:54:03 Sending build context to Docker daemon 2.63MB 20:54:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:54:03 Step 2/8 : FROM ${BASE} 20:54:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:54:03 595b0fe564bb: Pulling fs layer 20:54:03 7186ed65a4f7: Pulling fs layer 20:54:03 316046926c0a: Pulling fs layer 20:54:03 4ebd0625c992: Pulling fs layer 20:54:03 207e8628e3a3: Pulling fs layer 20:54:03 c791037a9be2: Pulling fs layer 20:54:03 ffd874e62e21: Pulling fs layer 20:54:03 4ebd0625c992: Waiting 20:54:03 207e8628e3a3: Waiting 20:54:03 c791037a9be2: Waiting 20:54:03 ffd874e62e21: Waiting 20:54:03 316046926c0a: Verifying Checksum 20:54:03 316046926c0a: Download complete 20:54:03 7186ed65a4f7: Download complete 20:54:03 207e8628e3a3: Download complete 20:54:03 595b0fe564bb: Verifying Checksum 20:54:03 595b0fe564bb: Download complete 20:54:03 c791037a9be2: Verifying Checksum 20:54:03 c791037a9be2: Download complete 20:54:04 0510c868ecb4: Pull complete 20:54:04 595b0fe564bb: Pull complete 20:54:04 afea3b2eda06: Pull complete 20:54:04 7809a108b3ef: Pull complete 20:54:05 7186ed65a4f7: Pull complete 20:54:05 316046926c0a: Pull complete 20:54:05 ffd874e62e21: Download complete 20:54:06 f706445af74f: Pull complete 20:54:06 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:54:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:54:06 ---> b068be0155e3 20:54:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:54:07 4ebd0625c992: Verifying Checksum 20:54:07 4ebd0625c992: Download complete 20:54:12 ---> Running in 33bed9b20193 20:54:12 Removing intermediate container 33bed9b20193 20:54:12 ---> ac3a96393d93 20:54:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:12 ---> Running in cc251b363ade 20:54:12 Removing intermediate container cc251b363ade 20:54:12 ---> 12c5e1a99fe4 20:54:12 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 20:54:12 ---> Running in 9e0c7cab7d26 20:54:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:54:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:54:14 (1/6) Installing libc-dev (0.7.2-r3) 20:54:14 (2/6) Installing libsodium (1.0.18-r0) 20:54:14 (3/6) Installing pkgconf (1.7.3-r0) 20:54:14 (4/6) Installing libsodium-dev (1.0.18-r0) 20:54:14 (5/6) Installing libzmq (4.3.3-r1) 20:54:14 (6/6) Installing zeromq-dev (4.3.3-r1) 20:54:14 Executing busybox-1.32.1-r6.trigger 20:54:14 OK: 150 MiB in 46 packages 20:54:15 Removing intermediate container 9e0c7cab7d26 20:54:15 ---> c32ba32273f9 20:54:15 Step 6/8 : WORKDIR /device-sdk-go 20:54:15 ---> Running in 9b7e54065d45 20:54:15 Removing intermediate container 9b7e54065d45 20:54:15 ---> 1b66ae9bbb67 20:54:15 Step 7/8 : COPY . . 20:54:16 ---> e143b25ad9f8 20:54:16 Step 8/8 : RUN go mod download 20:54:16 ---> Running in 36bf34d1a572 20:54:17 4ebd0625c992: Pull complete 20:54:17 207e8628e3a3: Pull complete 20:54:17 c791037a9be2: Pull complete 20:54:22 ffd874e62e21: Pull complete 20:54:22 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:54:22 ---> cfc18b08335c 20:54:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:54:23 ---> Running in 6742e73541c7 20:54:24 Removing intermediate container 6742e73541c7 20:54:24 ---> 97c93199aca9 20:54:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:24 ---> Running in 72f4ed03dc06 20:54:26 Removing intermediate container 72f4ed03dc06 20:54:26 ---> 158e83756700 20:54:26 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 20:54:26 ---> Running in c88e697f2890 20:54:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:54:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:54:29 (1/6) Installing libc-dev (0.7.2-r3) 20:54:29 (2/6) Installing libsodium (1.0.18-r0) 20:54:29 (3/6) Installing pkgconf (1.7.3-r0) 20:54:30 (4/6) Installing libsodium-dev (1.0.18-r0) 20:54:30 (5/6) Installing libzmq (4.3.3-r1) 20:54:30 (6/6) Installing zeromq-dev (4.3.3-r1) 20:54:30 Executing busybox-1.32.1-r6.trigger 20:54:30 OK: 139 MiB in 46 packages 20:54:31 Removing intermediate container 36bf34d1a572 20:54:31 ---> 62c254aa5583 20:54:31 Successfully built 62c254aa5583 20:54:31 Successfully tagged ci-base-image-x86_64:latest 20:54:31 Removing intermediate container c88e697f2890 20:54:31 ---> 6dd3ea798b8e 20:54:31 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] isUnix [Pipeline] sh 20:54:31 ---> Running in 6e3f2ad7997a 20:54:31 + docker inspect -f . ci-base-image-x86_64 20:54:31 . [Pipeline] withDockerContainer 20:54:31 prd-centos7-docker-4c-2g-921 does not seem to be running inside a container 20:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:32 Removing intermediate container 6e3f2ad7997a 20:54:32 ---> df8989a9d682 20:54:32 Step 7/8 : COPY . . 20:54:32 $ docker top 05b0aaba31a1abc97e986fd78f97efb2bd5be898d8506954956e1e21a65033b4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:32 + go version 20:54:32 go version go1.16.3 linux/amd64 [Pipeline] } 20:54:32 $ docker stop --time=1 05b0aaba31a1abc97e986fd78f97efb2bd5be898d8506954956e1e21a65033b4 20:54:33 ---> ca91961ce4bd 20:54:33 Step 8/8 : RUN go mod download 20:54:33 ---> Running in 1eefbee0ea55 20:54:34 $ docker rm -f 05b0aaba31a1abc97e986fd78f97efb2bd5be898d8506954956e1e21a65033b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:54:34 + docker inspect -f . ci-base-image-x86_64 20:54:34 . [Pipeline] withDockerContainer 20:54:34 prd-centos7-docker-4c-2g-921 does not seem to be running inside a container 20:54:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:35 $ docker top 4d271a07c65ca0ac07ad20521ab24e0332398be891d5dd93ab11957c15529e86 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:36 + go mod tidy [Pipeline] sh 20:54:36 + make test 20:54:36 go mod tidy 20:54:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:54:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:55:00 Removing intermediate container 1eefbee0ea55 20:55:00 ---> a4fb94ded804 20:55:00 Successfully built a4fb94ded804 20:55:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:55:00 + docker inspect -f . ci-base-image-arm64 20:55:00 . [Pipeline] withDockerContainer 20:55:01 prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container 20:55:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:55:03 $ docker top 7f4e9f2064562d7e70932c3c8d3ca6a57bc31e9cf7d2b9f08d758559bf50aa80 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:04 + go version 20:55:04 go version go1.16.3 linux/arm64 [Pipeline] } 20:55:04 $ docker stop --time=1 7f4e9f2064562d7e70932c3c8d3ca6a57bc31e9cf7d2b9f08d758559bf50aa80 20:55:05 $ docker rm -f 7f4e9f2064562d7e70932c3c8d3ca6a57bc31e9cf7d2b9f08d758559bf50aa80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:55:06 + docker inspect -f . ci-base-image-arm64 20:55:06 . [Pipeline] withDockerContainer 20:55:07 prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container 20:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:55:08 $ docker top 2068ee9a5ddd6af0c08f2c7f765b4bebeb8889a2d4366eb079c4ed088c8f0124 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:09 + go mod tidy 20:55:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:55:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:55:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] sh 20:55:11 + make test 20:55:11 go mod tidy 20:55:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.071s coverage: 25.4% of statements 20:55:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 28.1% of statements 20:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements 20:55:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements 20:55:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:55:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:55:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:55:14 --- FAIL: TestSecretRequest (0.00s) 20:55:14 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) 20:55:14 panic: 20:55:14 20:55:14 mock: Unexpected Method Call 20:55:14 ----------------------------- 20:55:14 20:55:14 StoreSecret(string,map[string]string) 20:55:14 0: "mqtt" 20:55:14 1: map[string]string{"password":"password", "username":"username"} 20:55:14 20:55:14 The closest call I have is: 20:55:14 20:55:14 StoreSecret(string,map[string]string) 20:55:14 0: "/mqtt" 20:55:14 1: map[string]string{"password":"password", "username":"username"} 20:55:14 20:55:14 20:55:14 Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) 20:55:14 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [recovered] 20:55:14 panic: 20:55:14 20:55:14 mock: Unexpected Method Call 20:55:14 ----------------------------- 20:55:14 20:55:14 StoreSecret(string,map[string]string) 20:55:14 0: "mqtt" 20:55:14 1: map[string]string{"password":"password", "username":"username"} 20:55:14 20:55:14 The closest call I have is: 20:55:14 20:55:14 StoreSecret(string,map[string]string) 20:55:14 0: "/mqtt" 20:55:14 1: map[string]string{"password":"password", "username":"username"} 20:55:14 20:55:14 20:55:14 Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) 20:55:14 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) 20:55:14 20:55:14 goroutine 24 [running]: 20:55:14 testing.tRunner.func1.2(0x85c460, 0xc00002d990) 20:55:14 /usr/local/go/src/testing/testing.go:1143 +0x49f 20:55:14 testing.tRunner.func1(0xc000001980) 20:55:14 /usr/local/go/src/testing/testing.go:1146 +0x695 20:55:14 panic(0x85c460, 0xc00002d990) 20:55:14 /usr/local/go/src/runtime/panic.go:971 +0x499 20:55:14 github.com/stretchr/testify/mock.(*Mock).fail(0xc0003428c0, 0x8e2ab2, 0x6f, 0xc000012600, 0x4, 0x4) 20:55:14 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x21f 20:55:14 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003428c0, 0x991f56, 0xb, 0xc00005a580, 0x2, 0x2, 0xc000012540, 0x4, 0x4) 20:55:14 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x510 20:55:14 github.com/stretchr/testify/mock.(*Mock).Called(0xc0003428c0, 0xc00005a580, 0x2, 0x2, 0xc00001dc84, 0x4, 0xc000388ab8) 20:55:14 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x1ee 20:55:14 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*SecretProvider).StoreSecret(0xc0003428c0, 0xc00001dc84, 0x4, 0xc000381710, 0x24, 0xc00001dc84) 20:55:14 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/interfaces/mocks/SecretProvider.go:88 +0x11c 20:55:14 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).Secret(0xc000381110, 0x948740, 0xc000012280, 0xc00014f300) 20:55:14 /w/workspace/device-sdk-go/1/internal/controller/http/common.go:81 +0x429 20:55:14 net/http.HandlerFunc.ServeHTTP(...) 20:55:14 /usr/local/go/src/net/http/server.go:2069 20:55:14 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestSecretRequest.func4(0xc000001980) 20:55:14 /w/workspace/device-sdk-go/1/internal/controller/http/common_test.go:256 +0x58e 20:55:14 testing.tRunner(0xc000001980, 0xc00000e648) 20:55:14 /usr/local/go/src/testing/testing.go:1193 +0x203 20:55:14 created by testing.(*T).Run 20:55:14 /usr/local/go/src/testing/testing.go:1238 +0x5d8 20:55:14 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s 20:55:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 83.3% of statements 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 58.0% of statements 20:55:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.872s coverage: 89.2% of statements 20:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:55:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements 20:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:55:16 FAIL 20:55:16 make: *** [Makefile:34: test] Error 1 [Pipeline] } 20:55:16 $ docker stop --time=1 4d271a07c65ca0ac07ad20521ab24e0332398be891d5dd93ab11957c15529e86 20:55:18 $ docker rm -f 4d271a07c65ca0ac07ad20521ab24e0332398be891d5dd93ab11957c15529e86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 Post stage [Pipeline] libraryResource [Pipeline] sh 20:55:20 ---> job-cost.sh 20:55:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GxGe 20:55:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:55:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:55:47 lf-activate-venv(): INFO: Adding /tmp/venv-GxGe/bin to PATH 20:55:47 INFO: No Stack... 20:55:47 INFO: Retrieving Pricing Info for: v3-standard-2 20:55:47 INFO: Archiving Costs [Pipeline] sh 20:55:47 + cut -d, -f6 20:55:47 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 20:55:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] 20:55:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] did not exist. Created. 20:55:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:48 + echo total: 0.05999999865889549 [Pipeline] stash 20:55:48 Stashed 1 file(s) [Pipeline] } 20:55:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:55:49 Failed in branch amd64 20:56:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:56:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:56:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.253s coverage: 25.4% of statements 20:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 28.1% of statements 20:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.236s coverage: 78.9% of statements 20:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.204s coverage: 9.0% of statements 20:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:56:50 --- FAIL: TestSecretRequest (0.01s) 20:56:50 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) 20:56:50 panic: 20:56:50 20:56:50 mock: Unexpected Method Call 20:56:50 ----------------------------- 20:56:50 20:56:50 StoreSecret(string,map[string]string) 20:56:50 0: "mqtt" 20:56:50 1: map[string]string{"password":"password", "username":"username"} 20:56:50 20:56:50 The closest call I have is: 20:56:50 20:56:50 StoreSecret(string,map[string]string) 20:56:50 0: "/mqtt" 20:56:50 1: map[string]string{"password":"password", "username":"username"} 20:56:50 20:56:50 20:56:50 Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) 20:56:50 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) [recovered] 20:56:50 panic: 20:56:50 20:56:50 mock: Unexpected Method Call 20:56:50 ----------------------------- 20:56:50 20:56:50 StoreSecret(string,map[string]string) 20:56:50 0: "mqtt" 20:56:50 1: map[string]string{"password":"password", "username":"username"} 20:56:50 20:56:50 The closest call I have is: 20:56:50 20:56:50 StoreSecret(string,map[string]string) 20:56:50 0: "/mqtt" 20:56:50 1: map[string]string{"password":"password", "username":"username"} 20:56:50 20:56:50 20:56:50 Diff: 0: FAIL: (string=mqtt) != (string=/mqtt) 20:56:50 1: PASS: (map[string]string=map[password:password username:username]) == (map[string]string=map[password:password username:username]) 20:56:50 20:56:50 goroutine 22 [running]: 20:56:50 testing.tRunner.func1.2(0x78e120, 0xc0003d6370) 20:56:50 /usr/local/go/src/testing/testing.go:1143 +0x348 20:56:50 testing.tRunner.func1(0xc000001e00) 20:56:50 /usr/local/go/src/testing/testing.go:1146 +0x470 20:56:50 panic(0x78e120, 0xc0003d6370) 20:56:50 /usr/local/go/src/runtime/panic.go:971 +0x424 20:56:50 github.com/stretchr/testify/mock.(*Mock).fail(0xc0003c0140, 0x8151f3, 0x6f, 0xc000012680, 0x4, 0x4) 20:56:50 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x180 20:56:50 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003c0140, 0x8c3942, 0xb, 0xc000353b80, 0x2, 0x2, 0xc0000125c0, 0x4, 0x4) 20:56:50 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:411 +0x394 20:56:50 github.com/stretchr/testify/mock.(*Mock).Called(0xc0003c0140, 0xc000353b80, 0x2, 0x2, 0xc00039da34, 0x4, 0xc0003c8518) 20:56:50 /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x15c 20:56:50 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*SecretProvider).StoreSecret(0xc0003c0140, 0xc00039da34, 0x4, 0xc0003b4ff0, 0x24, 0xc00039da34) 20:56:50 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/interfaces/mocks/SecretProvider.go:88 +0xdc 20:56:50 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).Secret(0xc0003b49f0, 0x87b760, 0xc000012300, 0xc00007a300) 20:56:50 /w/workspace/device-sdk-go/1/internal/controller/http/common.go:81 +0x31c 20:56:50 net/http.HandlerFunc.ServeHTTP(...) 20:56:50 /usr/local/go/src/net/http/server.go:2069 20:56:50 github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestSecretRequest.func4(0xc000001e00) 20:56:50 /w/workspace/device-sdk-go/1/internal/controller/http/common_test.go:256 +0x46c 20:56:50 testing.tRunner(0xc000001e00, 0xc0000c6918) 20:56:50 /usr/local/go/src/testing/testing.go:1193 +0x174 20:56:50 created by testing.(*T).Run 20:56:50 /usr/local/go/src/testing/testing.go:1238 +0x43c 20:56:50 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.248s 20:56:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:56:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.257s coverage: 83.3% of statements 20:56:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:56:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:56:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.365s coverage: 58.0% of statements 20:56:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.038s coverage: 89.2% of statements 20:56:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:56:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 5.0% of statements 20:56:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:56:55 FAIL 20:56:55 make: *** [Makefile:34: test] Error 1 [Pipeline] } 20:56:55 $ docker stop --time=1 2068ee9a5ddd6af0c08f2c7f765b4bebeb8889a2d4366eb079c4ed088c8f0124 20:56:57 $ docker rm -f 2068ee9a5ddd6af0c08f2c7f765b4bebeb8889a2d4366eb079c4ed088c8f0124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "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 20:56:58 ---> job-cost.sh 20:56:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SUjk 20:57:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:58:59 lf-activate-venv(): INFO: Adding /tmp/venv-SUjk/bin to PATH 20:58:59 INFO: No Stack... 20:58:59 INFO: Retrieving Pricing Info for: v2-standard-4 20:58:59 INFO: Archiving Costs [Pipeline] sh 20:59:00 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 20:59:00 + cut -d, -f6 [Pipeline] lock 20:59:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] 20:59:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] did not exist. Created. 20:59:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:00 /w/workspace/device-sdk-go/1@tmp/durable-b7f6dc18/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-b7f6dc18/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:59:00 + echo total: 0.18000000715255737 [Pipeline] stash 20:59:01 Warning: overwriting stash ‘stack-cost’ 20:59:01 Stashed 1 file(s) [Pipeline] } 20:59:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-951-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:02 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 20:59:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:59:04 ---> package-listing.sh 20:59:04 ++ facter osfamily 20:59:04 ++ tr '[:upper:]' '[:lower:]' 20:59:05 + OS_FAMILY=redhat 20:59:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-951 20:59:05 + START_PACKAGES=/tmp/packages_start.txt 20:59:05 + END_PACKAGES=/tmp/packages_end.txt 20:59:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:59:05 + PACKAGES=/tmp/packages_start.txt 20:59:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-951 ']' 20:59:05 + PACKAGES=/tmp/packages_end.txt 20:59:05 + case "${OS_FAMILY}" in 20:59:05 + rpm -qa 20:59:05 + sort 20:59:05 + '[' -f /tmp/packages_start.txt ']' 20:59:05 + '[' -f /tmp/packages_end.txt ']' 20:59:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:59:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-951 ']' 20:59:05 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-951/archives/ 20:59:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-951/archives/ [Pipeline] echo 20:59:05 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/dgexfoundry_device-sdk-go_PR-951/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:59:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:59:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:59:06 20:59:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:59:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:59:07 alpine: Pulling from edgex-lftools-log-publisher 20:59:07 df20fa9351a1: Pulling fs layer 20:59:07 36b3adc4ff6f: Pulling fs layer 20:59:07 8ad3a11d3b57: Pulling fs layer 20:59:07 46f8f816bc3b: Pulling fs layer 20:59:07 93b61091891f: Pulling fs layer 20:59:07 93b9cdb0e59b: Pulling fs layer 20:59:07 5e14af77c1be: Pulling fs layer 20:59:07 01666e4c0597: Pulling fs layer 20:59:07 aa168da1d23b: Pulling fs layer 20:59:07 93b61091891f: Waiting 20:59:07 93b9cdb0e59b: Waiting 20:59:07 5e14af77c1be: Waiting 20:59:07 01666e4c0597: Waiting 20:59:07 aa168da1d23b: Waiting 20:59:07 46f8f816bc3b: Waiting 20:59:07 36b3adc4ff6f: Verifying Checksum 20:59:07 36b3adc4ff6f: Download complete 20:59:07 46f8f816bc3b: Verifying Checksum 20:59:07 46f8f816bc3b: Download complete 20:59:07 df20fa9351a1: Verifying Checksum 20:59:07 df20fa9351a1: Download complete 20:59:07 93b9cdb0e59b: Verifying Checksum 20:59:07 93b9cdb0e59b: Download complete 20:59:07 5e14af77c1be: Verifying Checksum 20:59:07 5e14af77c1be: Download complete 20:59:07 01666e4c0597: Verifying Checksum 20:59:07 01666e4c0597: Download complete 20:59:07 93b61091891f: Verifying Checksum 20:59:07 93b61091891f: Download complete 20:59:07 8ad3a11d3b57: Verifying Checksum 20:59:07 8ad3a11d3b57: Download complete 20:59:07 df20fa9351a1: Pull complete 20:59:07 36b3adc4ff6f: Pull complete 20:59:08 8ad3a11d3b57: Pull complete 20:59:08 46f8f816bc3b: Pull complete 20:59:08 93b61091891f: Pull complete 20:59:08 93b9cdb0e59b: Pull complete 20:59:08 5e14af77c1be: Pull complete 20:59:09 01666e4c0597: Pull complete 20:59:09 aa168da1d23b: Verifying Checksum 20:59:09 aa168da1d23b: Download complete 20:59:13 aa168da1d23b: Pull complete 20:59:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:59:13 prd-centos7-docker-4c-2g-919 does not seem to be running inside a container 20:59:13 $ 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/dgexfoundry_device-sdk-go_PR-951/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-951 -v /w/workspace/dgexfoundry_device-sdk-go_PR-951:/w/workspace/dgexfoundry_device-sdk-go_PR-951:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:59:15 $ docker top 3d7a5ff50d9abc74eda28971e5d7324ef6ca9a1313d9b7e5252aad23430d7456 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:15 + touch /tmp/pre-build-complete [Pipeline] sh 20:59:15 + mkdir -p /var/log/sa [Pipeline] sh 20:59:16 + ls /var/log/sa-host 20:59:16 + sadf -c /var/log/sa-host/sa05 20:59:16 file_magic: OK 20:59:16 HZ: Using current value: 100 20:59:16 file_header: OK 20:59:16 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 20:59:16 Statistics: 20:59:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:59:16 File successfully converted to sysstat format version 12.2.1 20:59:16 + sadf -c /var/log/sa-host/sa28 20:59:16 file_magic: OK 20:59:16 HZ: Using current value: 100 20:59:16 file_header: OK 20:59:16 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 20:59:16 Statistics: 20:59:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:59:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:16 provisioning config files... 20:59:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp/config281455195722451197tmp [Pipeline] { [Pipeline] echo 20:59:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:59:16 ---> create-netrc.sh [Pipeline] } 20:59:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:59:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:59:17 ---> python-tools-install.sh [Pipeline] echo 20:59:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:59:17 ---> sudo-logs.sh 20:59:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:59:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:59:18 ---> job-cost.sh 20:59:18 lf-activate-venv: SKIPPING 20:59:18 DEBUG: total: 0.18000000715255737 20:59:18 INFO: Retrieving Stack Cost... 20:59:19 INFO: Retrieving Pricing Info for: v3-standard-2 20:59:19 INFO: Archiving Costs [Pipeline] echo 20:59:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:59:19 ---> logs-deploy.sh 20:59:19 lf-activate-venv: SKIPPING 20:59:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-951/1 20:59:19 INFO: archiving workspace using pattern(s): 20:59:20 Archives upload complete. 20:59:20 INFO: archiving logs to Nexus 20:59:21 ---> uname -a: 20:59:21 Linux prd-centos7-docker-4c-2g-919.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 20:59:21 20:59:21 20:59:21 ---> lscpu: 20:59:21 Architecture: x86_64 20:59:21 CPU op-mode(s): 32-bit, 64-bit 20:59:21 Byte Order: Little Endian 20:59:21 Address sizes: 40 bits physical, 48 bits virtual 20:59:21 CPU(s): 2 20:59:21 On-line CPU(s) list: 0,1 20:59:21 Thread(s) per core: 1 20:59:21 Core(s) per socket: 1 20:59:21 Socket(s): 2 20:59:21 NUMA node(s): 1 20:59:21 Vendor ID: AuthenticAMD 20:59:21 CPU family: 23 20:59:21 Model: 49 20:59:21 Model name: AMD EPYC-Rome Processor 20:59:21 Stepping: 0 20:59:21 CPU MHz: 2799.998 20:59:21 BogoMIPS: 5599.99 20:59:21 Virtualization: AMD-V 20:59:21 Hypervisor vendor: KVM 20:59:21 Virtualization type: full 20:59:21 L1d cache: 64 KiB 20:59:21 L1i cache: 64 KiB 20:59:21 L2 cache: 1 MiB 20:59:21 L3 cache: 32 MiB 20:59:21 NUMA node0 CPU(s): 0,1 20:59:21 Vulnerability Itlb multihit: Not affected 20:59:21 Vulnerability L1tf: Not affected 20:59:21 Vulnerability Mds: Not affected 20:59:21 Vulnerability Meltdown: Not affected 20:59:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:59:21 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:59:21 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:59:21 Vulnerability Srbds: Not affected 20:59:21 Vulnerability Tsx async abort: Not affected 20:59:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 20:59:21 20:59:21 20:59:21 ---> nproc: 20:59:21 2 20:59:21 20:59:21 20:59:21 ---> df -h: 20:59:21 Filesystem Size Used Available Use% Mounted on 20:59:21 overlay 40.0G 7.6G 32.4G 19% / 20:59:21 tmpfs 64.0M 0 64.0M 0% /dev 20:59:21 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 20:59:21 shm 64.0M 0 64.0M 0% /dev/shm 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-951 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/dgexfoundry_device-sdk-go_PR-951@tmp 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 20:59:21 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 20:59:21 20:59:21 20:59:21 ---> free -m: 20:59:21 total used free shared buff/cache available 20:59:21 Mem: 7821 973 4750 0 2097 6670 20:59:21 Swap: 1023 0 1023 20:59:21 20:59:21 20:59:21 ---> ip addr: 20:59:21 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:59:21 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:59:21 inet 127.0.0.1/8 scope host lo 20:59:21 valid_lft forever preferred_lft forever 20:59:21 inet6 ::1/128 scope host 20:59:21 valid_lft forever preferred_lft forever 20:59:21 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:59:21 link/ether fa:16:3e:36:f0:ff brd ff:ff:ff:ff:ff:ff 20:59:21 inet 10.30.123.215/23 brd 10.30.123.255 scope global dynamic eth0 20:59:21 valid_lft 85861sec preferred_lft 85861sec 20:59:21 inet6 fe80::f816:3eff:fe36:f0ff/64 scope link 20:59:21 valid_lft forever preferred_lft forever 20:59:21 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:59:21 link/ether 02:42:e1:59:c9:39 brd ff:ff:ff:ff:ff:ff 20:59:21 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:59:21 valid_lft forever preferred_lft forever 20:59:21 inet6 fe80::42:e1ff:fe59:c939/64 scope link 20:59:21 valid_lft forever preferred_lft forever 20:59:21 20:59:21 20:59:21 ---> sar -b -r -n DEV: 20:59:21 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 20:59:21 20:59:21 20:50:11 LINUX RESTART (2 CPU) 20:59:21 20:59:21 20:51:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:59:21 20:52:01 18.68 0.62 18.07 0.00 351.71 3105.65 0.00 20:59:21 20:53:01 0.40 0.00 0.40 0.00 0.00 5.96 0.00 20:59:21 20:54:01 0.30 0.00 0.30 0.00 0.00 3.63 0.00 20:59:21 20:55:01 0.20 0.00 0.20 0.00 0.00 2.57 0.00 20:59:21 20:56:01 0.28 0.00 0.28 0.00 0.00 3.55 0.00 20:59:21 20:57:01 0.37 0.00 0.37 0.00 0.00 5.61 0.00 20:59:21 20:58:01 0.17 0.00 0.17 0.00 0.00 2.55 0.00 20:59:21 20:59:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 20:59:21 Average: 2.59 0.08 2.51 0.00 43.98 391.72 0.00 20:59:21 20:59:21 20:51:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:59:21 20:52:01 5457464 0 808376 10.09 2620 1740472 1271444 14.04 581772 1570768 20 20:59:21 20:53:01 5462056 0 803780 10.04 2620 1740476 1207636 13.33 580268 1568756 8 20:59:21 20:54:01 5461144 0 804688 10.05 2620 1740480 1207732 13.33 576584 1572948 8 20:59:21 20:55:01 5460712 0 805116 10.05 2620 1740484 1207480 13.33 576392 1573716 8 20:59:21 20:56:01 5456788 0 809032 10.10 2620 1740492 1207720 13.33 577112 1577108 16 20:59:21 20:57:01 5458068 0 807752 10.09 2620 1740492 1207528 13.33 575952 1577108 20 20:59:21 20:58:01 5458212 0 807600 10.08 2620 1740500 1207480 13.33 575960 1577108 8 20:59:21 20:59:01 5450868 0 814936 10.18 2620 1740508 1207624 13.33 583268 1577108 8 20:59:21 Average: 5458164 0 807660 10.08 2620 1740488 1215580 13.42 578414 1574328 12 20:59:21 20:59:21 20:51:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:59:21 20:52:01 eth0 33.77 27.79 54.29 10.27 0.00 0.00 0.00 0.00 20:59:21 20:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:52:01 docker0 10.71 7.96 1.85 27.49 0.00 0.00 0.00 0.00 20:59:21 20:53:01 eth0 1.47 0.35 0.54 0.02 0.00 0.00 0.00 0.00 20:59:21 20:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:54:01 eth0 0.70 0.30 0.29 0.20 0.00 0.00 0.00 0.00 20:59:21 20:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:55:01 eth0 0.80 0.02 0.09 0.00 0.00 0.00 0.00 0.00 20:59:21 20:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:56:01 eth0 0.75 0.57 0.36 0.25 0.00 0.00 0.00 0.00 20:59:21 20:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:57:01 eth0 0.20 0.13 0.07 0.04 0.00 0.00 0.00 0.00 20:59:21 20:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:58:01 eth0 1.07 0.08 0.11 0.01 0.00 0.00 0.00 0.00 20:59:21 20:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:59:01 eth0 1.22 0.30 0.33 0.20 0.00 0.00 0.00 0.00 20:59:21 20:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 20:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 Average: eth0 5.00 3.69 7.01 1.37 0.00 0.00 0.00 0.00 20:59:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:59:21 Average: docker0 1.34 1.00 0.23 3.44 0.00 0.00 0.00 0.00 20:59:21 20:59:21 20:59:21 ---> sar -P ALL: 20:59:21 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 20:59:21 20:59:21 20:50:11 LINUX RESTART (2 CPU) 20:59:21 20:59:21 20:51:01 CPU %user %nice %system %iowait %steal %idle 20:59:21 20:52:01 all 2.02 0.00 1.14 0.35 0.04 96.45 20:59:21 20:52:01 0 2.01 0.00 1.11 0.37 0.03 96.47 20:59:21 20:52:01 1 2.03 0.00 1.16 0.34 0.05 96.42 20:59:21 20:53:01 all 0.08 0.00 0.05 0.00 0.04 99.83 20:59:21 20:53:01 0 0.10 0.00 0.03 0.00 0.03 99.83 20:59:21 20:53:01 1 0.05 0.00 0.07 0.00 0.05 99.83 20:59:21 20:54:01 all 0.08 0.00 0.03 0.00 0.03 99.86 20:59:21 20:54:01 0 0.05 0.00 0.03 0.00 0.02 99.90 20:59:21 20:54:01 1 0.10 0.00 0.03 0.00 0.05 99.82 20:59:21 20:55:01 all 0.10 0.00 0.06 0.00 0.03 99.82 20:59:21 20:55:01 0 0.13 0.00 0.05 0.00 0.02 99.80 20:59:21 20:55:01 1 0.07 0.00 0.07 0.00 0.03 99.83 20:59:21 20:56:01 all 0.18 0.00 0.03 0.00 0.03 99.75 20:59:21 20:56:01 0 0.30 0.00 0.03 0.00 0.02 99.65 20:59:21 20:56:01 1 0.07 0.00 0.03 0.00 0.05 99.85 20:59:21 20:57:01 all 0.10 0.00 0.03 0.00 0.03 99.84 20:59:21 20:57:01 0 0.15 0.00 0.03 0.00 0.02 99.80 20:59:21 20:57:01 1 0.05 0.00 0.03 0.00 0.03 99.88 20:59:21 20:58:01 all 0.08 0.00 0.03 0.00 0.04 99.85 20:59:21 20:58:01 0 0.10 0.00 0.02 0.00 0.03 99.85 20:59:21 20:58:01 1 0.07 0.00 0.03 0.00 0.05 99.85 20:59:21 20:59:01 all 0.08 0.00 0.04 0.00 0.03 99.85 20:59:21 20:59:01 0 0.15 0.00 0.03 0.00 0.02 99.80 20:59:21 20:59:01 1 0.02 0.00 0.05 0.00 0.03 99.90 20:59:21 Average: all 0.34 0.00 0.18 0.04 0.03 99.41 20:59:21 Average: 0 0.37 0.00 0.17 0.05 0.02 99.39 20:59:21 Average: 1 0.30 0.00 0.18 0.04 0.04 99.43 20:59:21 20:59:21 20:59:21