Pull request #1046 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ded86fd10a291dcedcb4c63a954e218a22abcaa+1be87f15213c05ab1957194b5dea87ff4eff74a4 (55ca3305881daa6e6127f1b0c08f0d898ace12cb) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2011022703850509735.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1232021815475505738.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 d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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-1046/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1046/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8494592493467457858.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1046/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2228795927309190757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 # timeout=10 Commit message: "feat: implement new function to grab latest lts commit" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3860226047051244507.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-1046/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1046/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5663966259264388929.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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/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 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1819 in /w/workspace/gexfoundry_device-sdk-go_PR-1046 [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/gexfoundry_device-sdk-go_PR-1046 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/jenkins-gitclient-ssh4556101697977755554.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/jenkins-gitclient-ssh733569719104363289.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1046/head:refs/remotes/origin/PR-1046 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 2ded86fd10a291dcedcb4c63a954e218a22abcaa Merge succeeded, producing 2ded86fd10a291dcedcb4c63a954e218a22abcaa Checking out Revision 2ded86fd10a291dcedcb4c63a954e218a22abcaa (PR-1046) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/jenkins-gitclient-ssh2497142159650427164.key > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:09:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:09:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:09:03 ========================================================= 04:09:03 EdgeX Global Pipelines Version Info 04:09:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:09:04 ------------------- 04:09:04 stable info: 04:09:04 ------------------- 04:09:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:04 Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 04:09:04 Message: testing jakarta lts changes 04:09:05 ------------------- 04:09:05 experimental info: 04:09:05 ------------------- 04:09:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:05 Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 04:09:05 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1046 [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1046 [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1046 [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ded86fd10a291dcedcb4c63a954e218a22abcaa [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ded86f [Pipeline] echo 04:09:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:06 provisioning config files... 04:09:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/config4145772208750141918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:07 ---> docker-login.sh 04:09:07 nexus3.edgexfoundry.org:10001 04:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:07 Configure a credential helper to remove this warning. See 04:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:07 04:09:07 Login Succeeded 04:09:07 nexus3.edgexfoundry.org:10002 04:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:07 Configure a credential helper to remove this warning. See 04:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:07 04:09:07 Login Succeeded 04:09:07 nexus3.edgexfoundry.org:10003 04:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:07 Configure a credential helper to remove this warning. See 04:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:07 04:09:07 Login Succeeded 04:09:07 nexus3.edgexfoundry.org:10004 04:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:07 Configure a credential helper to remove this warning. See 04:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:07 04:09:07 Login Succeeded 04:09:07 docker.io 04:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:08 Configure a credential helper to remove this warning. See 04:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:08 04:09:08 Login Succeeded 04:09:08 ---> docker-login.sh ends [Pipeline] } 04:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:08 + git rev-list -1 --merges 2ded86fd10a291dcedcb4c63a954e218a22abcaa~1..2ded86fd10a291dcedcb4c63a954e218a22abcaa [Pipeline] echo 04:09:08 -----------> git rev-list -1 --merges 2ded86fd10a291dcedcb4c63a954e218a22abcaa~1..2ded86fd10a291dcedcb4c63a954e218a22abcaa 2ded86fd10a291dcedcb4c63a954e218a22abcaa [false] [Pipeline] sh 04:09:09 + git log --format=format:%s -1 2ded86fd10a291dcedcb4c63a954e218a22abcaa [Pipeline] echo 04:09:09 ========================================================= 04:09:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:09 + git log --format=format:%s -1 2ded86fd10a291dcedcb4c63a954e218a22abcaa [Pipeline] echo 04:09:09 [semverPrep] GIT_COMMIT: 2ded86fd10a291dcedcb4c63a954e218a22abcaa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:09:09 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:10 04:09:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:09:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:10 latest: Pulling from edgex-devops/git-semver 04:09:10 a0d0a0d46f8b: Pulling fs layer 04:09:10 3e5f54012d9b: Pulling fs layer 04:09:10 4c7163046ea9: Pulling fs layer 04:09:10 0c2d73faf560: Pulling fs layer 04:09:10 0c2d73faf560: Waiting 04:09:10 3e5f54012d9b: Download complete 04:09:10 a0d0a0d46f8b: Verifying Checksum 04:09:10 a0d0a0d46f8b: Download complete 04:09:10 0c2d73faf560: Verifying Checksum 04:09:10 0c2d73faf560: Download complete 04:09:10 4c7163046ea9: Verifying Checksum 04:09:10 4c7163046ea9: Download complete 04:09:10 a0d0a0d46f8b: Pull complete 04:09:10 3e5f54012d9b: Pull complete 04:09:10 4c7163046ea9: Pull complete 04:09:11 0c2d73faf560: Pull complete 04:09:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:09:11 prd-centos7-docker-4c-2g-1819 does not seem to be running inside a container 04:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1046 -v /w/workspace/gexfoundry_device-sdk-go_PR-1046:/w/workspace/gexfoundry_device-sdk-go_PR-1046:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:09:11 $ docker top 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:12 [ssh-agent] Looking for ssh-agent implementation... 04:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:12 $ docker exec 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 ssh-agent 04:09:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlIfkej/agent.13 04:09:12 SSH_AGENT_PID=20 04:09:12 Running ssh-add (command line suppressed) 04:09:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/private_key_4202167213721386141.key (/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/private_key_4202167213721386141.key) 04:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:12 + git tag --points-at HEAD [Pipeline] } 04:09:12 $ docker exec --env ******** --env ******** 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 ssh-agent -k 04:09:12 unset SSH_AUTH_SOCK; 04:09:12 unset SSH_AGENT_PID; 04:09:12 echo Agent pid 20 killed; 04:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:12 [ssh-agent] Looking for ssh-agent implementation... 04:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:13 $ docker exec 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 ssh-agent 04:09:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJKGoDm/agent.56 04:09:13 SSH_AGENT_PID=62 04:09:13 Running ssh-add (command line suppressed) 04:09:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/private_key_5905649186204670720.key (/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/private_key_5905649186204670720.key) 04:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:13 + git semver init 04:09:13 # -> Open(): unable to determine branch for HEAD 04:09:13 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1046/.git 04:09:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1046 04:09:13 # $SEMVER_REMOTE_NAME = origin 04:09:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:09:13 # $SEMVER_USER_NAME = edgex-jenkins 04:09:13 # $SEMVER_BRANCH = PR-1046 04:09:13 # $SEMVER_TEMP = /tmp/semver-970353540 04:09:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:09:14 # '/tmp/semver-970353540' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1046/.semver' 04:09:14 # -> Force: false 04:09:14 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1046/.semver [Pipeline] } 04:09:14 $ docker exec --env ******** --env ******** 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 ssh-agent -k 04:09:15 unset SSH_AUTH_SOCK; 04:09:15 unset SSH_AGENT_PID; 04:09:15 echo Agent pid 62 killed; 04:09:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:15 + git semver [Pipeline] } 04:09:15 $ docker stop --time=1 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 04:09:16 $ docker rm -f 2e89b774a05a72bd19f70330a4c080cd9bf23df3fa2c59cc9d5225b93b6342f8 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:09:17 Stashed 1 file(s) [Pipeline] echo 04:09:17 [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 04:09:32 Still waiting to schedule task 04:09:32 ‘prd-centos7-docker-4c-2g-1822’ is offline 04:09:32 ‘prd-ubuntu18.04-docker-8c-8g-1716’ doesn’t have label ‘centos7-docker-4c-2g’ 04:09:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ doesn’t have label ‘centos7-docker-4c-2g’ 04:09:32 Still waiting to schedule task 04:09:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ is offline 04:10:14 Running on prd-centos7-docker-4c-2g-1825 in /w/workspace/gexfoundry_device-sdk-go_PR-1046 [Pipeline] { [Pipeline] ws 04:10:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:10:14 Selected Git installation does not exist. Using Default 04:10:14 The recommended git tool is: NONE 04:10:16 using credential edgex-jenkins-ssh 04:10:16 Cloning the remote Git repository 04:10:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:15 > git --version # timeout=10 04:10:15 > git --version # 'git version 2.24.4' 04:10:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:15 [INFO] Currently running in a labeled security context 04:10:15 [INFO] Currently SELinux is 'enforcing' on the host 04:10:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1533861909086138144.key 04:10:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:16 [INFO] Currently running in a labeled security context 04:10:16 [INFO] Currently SELinux is 'enforcing' on the host 04:10:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh631028001156410897.key 04:10:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1046/head:refs/remotes/origin/PR-1046 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:18 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 2ded86fd10a291dcedcb4c63a954e218a22abcaa 04:10:18 Merge succeeded, producing 2ded86fd10a291dcedcb4c63a954e218a22abcaa 04:10:18 Checking out Revision 2ded86fd10a291dcedcb4c63a954e218a22abcaa (PR-1046) 04:10:16 > git config core.sparsecheckout # timeout=10 04:10:16 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 04:10:16 > git remote # timeout=10 04:10:16 > git config --get remote.origin.url # timeout=10 04:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:16 [INFO] Currently running in a labeled security context 04:10:16 [INFO] Currently SELinux is 'enforcing' on the host 04:10:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1883973648424659254.key 04:10:16 > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 04:10:16 > git rev-parse HEAD^{commit} # timeout=10 04:10:16 > git config core.sparsecheckout # timeout=10 04:10:16 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 04:10:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:10:20 > git --version # timeout=10 04:10:20 > git --version # 'git version 2.24.4' 04:10:20 fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:22 provisioning config files... 04:10:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5238894580033508882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:22 ---> docker-login.sh 04:10:22 nexus3.edgexfoundry.org:10001 04:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:22 Configure a credential helper to remove this warning. See 04:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:22 04:10:22 Login Succeeded 04:10:22 nexus3.edgexfoundry.org:10002 04:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:23 Configure a credential helper to remove this warning. See 04:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:23 04:10:23 Login Succeeded 04:10:23 nexus3.edgexfoundry.org:10003 04:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:23 Configure a credential helper to remove this warning. See 04:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:23 04:10:23 Login Succeeded 04:10:23 nexus3.edgexfoundry.org:10004 04:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:23 Configure a credential helper to remove this warning. See 04:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:23 04:10:23 Login Succeeded 04:10:23 docker.io 04:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:23 Configure a credential helper to remove this warning. See 04:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:23 04:10:23 Login Succeeded 04:10:23 ---> docker-login.sh ends [Pipeline] } 04:10:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:24 ========================================================= 04:10:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:10:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:10:24 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 04:10:24 Sending build context to Docker daemon 2.717MB 04:10:24 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:10:24 Step 2/10 : FROM ${BASE} AS builder 04:10:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:10:24 a0d0a0d46f8b: Pulling fs layer 04:10:24 31adcdaf11c8: Pulling fs layer 04:10:24 b8b176561691: Pulling fs layer 04:10:24 4527c011a84f: Pulling fs layer 04:10:24 5d74067f8e1e: Pulling fs layer 04:10:24 e0aca202a116: Pulling fs layer 04:10:24 3a43be97a3b4: Pulling fs layer 04:10:24 34cad66bf833: Pulling fs layer 04:10:24 b4e3c513aaa6: Pulling fs layer 04:10:24 4527c011a84f: Waiting 04:10:24 5d74067f8e1e: Waiting 04:10:24 e0aca202a116: Waiting 04:10:24 3a43be97a3b4: Waiting 04:10:24 34cad66bf833: Waiting 04:10:24 b4e3c513aaa6: Waiting 04:10:24 b8b176561691: Verifying Checksum 04:10:24 b8b176561691: Download complete 04:10:24 31adcdaf11c8: Verifying Checksum 04:10:24 31adcdaf11c8: Download complete 04:10:24 5d74067f8e1e: Verifying Checksum 04:10:24 5d74067f8e1e: Download complete 04:10:24 e0aca202a116: Verifying Checksum 04:10:24 e0aca202a116: Download complete 04:10:24 a0d0a0d46f8b: Verifying Checksum 04:10:24 a0d0a0d46f8b: Download complete 04:10:24 3a43be97a3b4: Verifying Checksum 04:10:24 3a43be97a3b4: Download complete 04:10:24 34cad66bf833: Verifying Checksum 04:10:24 34cad66bf833: Download complete 04:10:25 b4e3c513aaa6: Verifying Checksum 04:10:25 b4e3c513aaa6: Download complete 04:10:25 4527c011a84f: Verifying Checksum 04:10:25 4527c011a84f: Download complete 04:10:25 a0d0a0d46f8b: Pull complete 04:10:25 31adcdaf11c8: Pull complete 04:10:25 b8b176561691: Pull complete 04:10:29 4527c011a84f: Pull complete 04:10:29 5d74067f8e1e: Pull complete 04:10:29 e0aca202a116: Pull complete 04:10:29 3a43be97a3b4: Pull complete 04:10:29 34cad66bf833: Pull complete 04:10:32 b4e3c513aaa6: Pull complete 04:10:32 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:10:32 ---> 9f6097aaca64 04:10:32 Step 3/10 : ARG MAKE=make build 04:10:36 ---> Running in 5ee71ddb2306 04:10:36 Removing intermediate container 5ee71ddb2306 04:10:36 ---> d88719b11f67 04:10:36 Step 4/10 : WORKDIR /device-sdk-go 04:10:36 ---> Running in 2f1a8d0fe0fd 04:10:36 Removing intermediate container 2f1a8d0fe0fd 04:10:36 ---> 785b476ceb47 04:10:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:10:36 ---> Running in 727d757932d2 04:10:36 Removing intermediate container 727d757932d2 04:10:36 ---> ecfa6424f5a1 04:10:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:36 ---> Running in 2a5e6581805d 04:10:36 Removing intermediate container 2a5e6581805d 04:10:36 ---> 4837e0923c10 04:10:36 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:36 ---> Running in 5292a5a9919b 04:10:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:10:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:10:38 OK: 220 MiB in 52 packages 04:10:38 Removing intermediate container 5292a5a9919b 04:10:38 ---> fbe81fd5f10a 04:10:38 Step 8/10 : COPY . . 04:10:39 ---> cd866b989404 04:10:39 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:39 ---> Running in 0c46bdb71e24 04:11:25 Removing intermediate container 0c46bdb71e24 04:11:25 ---> ab3235919aee 04:11:25 Step 10/10 : RUN ${MAKE} 04:11:25 ---> Running in 1f3d00d9da2b 04:11:25 noop 04:11:25 Removing intermediate container 1f3d00d9da2b 04:11:25 ---> c9683c1389f8 04:11:25 Successfully built c9683c1389f8 04:11:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:11:26 + docker inspect -f . ci-base-image-x86_64 04:11:26 . [Pipeline] withDockerContainer 04:11:26 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 04:11:26 $ 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 ******** ci-base-image-x86_64 cat 04:11:26 $ docker top 13dea695a005346be2a6a705b6b0b5768fe3bb7ee8a8166f36b4fd6bd84ff171 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:27 + go version 04:11:27 go version go1.16.8 linux/amd64 [Pipeline] } 04:11:27 $ docker stop --time=1 13dea695a005346be2a6a705b6b0b5768fe3bb7ee8a8166f36b4fd6bd84ff171 04:11:28 $ docker rm -f 13dea695a005346be2a6a705b6b0b5768fe3bb7ee8a8166f36b4fd6bd84ff171 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:11:29 + docker inspect -f . ci-base-image-x86_64 04:11:29 . [Pipeline] withDockerContainer 04:11:29 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 04:11:29 $ 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 ******** ci-base-image-x86_64 cat 04:11:29 $ docker top d65821a40cf83dd076a8361a21e6ebf8440ca4abe487744a572e40f986f0a31b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:11:29 + make test 04:11:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:11:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:11:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:11:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:11:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:58 # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] 04:11:58 internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse 04:11:58 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 04:11:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements 04:11:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements 04:11:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements 04:11:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:11:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:11:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements 04:12:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:12:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements 04:12:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements 04:12:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 88.8% of statements 04:12:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:12:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 4.9% of statements 04:12:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:02 FAIL 04:12:02 make: *** [Makefile:35: test] Error 2 [Pipeline] } 04:12:02 $ docker stop --time=1 d65821a40cf83dd076a8361a21e6ebf8440ca4abe487744a572e40f986f0a31b 04:12:04 $ docker rm -f d65821a40cf83dd076a8361a21e6ebf8440ca4abe487744a572e40f986f0a31b [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1828 in /w/workspace/gexfoundry_device-sdk-go_PR-1046 [Pipeline] { [Pipeline] ws 04:12:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:05 04:12:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:12:05 Selected Git installation does not exist. Using Default 04:12:05 The recommended git tool is: NONE 04:12:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:05 latest: Pulling from edgex-lftools-log-publisher 04:12:05 b4d181a07f80: Pulling fs layer 04:12:05 a1111a8f2ec3: Pulling fs layer 04:12:05 ed53099fbce6: Pulling fs layer 04:12:05 dc539afda2c1: Pulling fs layer 04:12:05 77bc0d833cb6: Pulling fs layer 04:12:05 9065ff56babe: Pulling fs layer 04:12:05 d287ab97295c: Pulling fs layer 04:12:05 dc539afda2c1: Waiting 04:12:05 77bc0d833cb6: Waiting 04:12:05 9065ff56babe: Waiting 04:12:05 d287ab97295c: Waiting 04:12:05 a1111a8f2ec3: Verifying Checksum 04:12:05 a1111a8f2ec3: Download complete 04:12:05 dc539afda2c1: Verifying Checksum 04:12:05 dc539afda2c1: Download complete 04:12:05 ed53099fbce6: Verifying Checksum 04:12:05 ed53099fbce6: Download complete 04:12:06 9065ff56babe: Verifying Checksum 04:12:06 9065ff56babe: Download complete 04:12:06 77bc0d833cb6: Verifying Checksum 04:12:06 77bc0d833cb6: Download complete 04:12:06 b4d181a07f80: Verifying Checksum 04:12:06 b4d181a07f80: Download complete 04:12:06 d287ab97295c: Verifying Checksum 04:12:06 d287ab97295c: Download complete 04:12:07 b4d181a07f80: Pull complete 04:12:07 a1111a8f2ec3: Pull complete 04:12:08 ed53099fbce6: Pull complete 04:12:08 dc539afda2c1: Pull complete 04:12:08 77bc0d833cb6: Pull complete 04:12:08 9065ff56babe: Pull complete 04:12:12 using credential edgex-jenkins-ssh 04:12:12 Cloning the remote Git repository 04:12:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:12:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:12:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:12 > git --version # timeout=10 04:12:12 > git --version # 'git version 2.17.1' 04:12:12 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:13 d287ab97295c: Pull complete 04:12:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:12:14 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 04:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:12:14 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 2ded86fd10a291dcedcb4c63a954e218a22abcaa 04:12:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1046/head:refs/remotes/origin/PR-1046 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:12:14 > git config core.sparsecheckout # timeout=10 04:12:14 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 04:12:14 > git remote # timeout=10 04:12:14 > git config --get remote.origin.url # timeout=10 04:12:14 Merge succeeded, producing 2ded86fd10a291dcedcb4c63a954e218a22abcaa 04:12:14 Checking out Revision 2ded86fd10a291dcedcb4c63a954e218a22abcaa (PR-1046) 04:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:14 > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 04:12:14 > git rev-parse HEAD^{commit} # timeout=10 04:12:14 > git config core.sparsecheckout # timeout=10 04:12:14 > git checkout -f 2ded86fd10a291dcedcb4c63a954e218a22abcaa # timeout=10 04:12:16 $ docker top 5f9c38ad0df0effced3c8b12bfd3fad9ae50c5cc2b647d4510b324793ac7d8a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:17 ---> job-cost.sh 04:12:17 lf-activate-venv: SKIPPING 04:12:17 INFO: No Stack... 04:12:17 INFO: Retrieving Pricing Info for: v3-standard-2 04:12:17 INFO: Archiving Costs [Pipeline] sh 04:12:17 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:12:17 + cut -d, -f6 [Pipeline] lock 04:12:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] 04:12:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] did not exist. Created. 04:12:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:18 + echo total: 0.05999999865889549 [Pipeline] stash 04:12:18 Stashed 1 file(s) [Pipeline] } 04:12:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:18 $ docker stop --time=1 5f9c38ad0df0effced3c8b12bfd3fad9ae50c5cc2b647d4510b324793ac7d8a6 04:12:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:12:19 > git --version # timeout=10 04:12:19 > git --version # 'git version 2.17.1' 04:12:19 fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 04:12:19 04:12:19 GitHub has been notified of this commit’s build result 04:12:19 04:12:19 $ docker rm -f 5f9c38ad0df0effced3c8b12bfd3fad9ae50c5cc2b647d4510b324793ac7d8a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:20 Failed in branch amd64 [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:12:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:21 Dload Upload Total Spent Left Speed 04:12:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 04:12:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:12:21 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 04:12:21 04:12:21 { 04:12:21 "registry-mirrors": [ 04:12:21 "https://nexus3.edgexfoundry.org:10001" 04:12:21 ], 04:12:21 "bip": "10.250.0.254/24", 04:12:21 "hosts": [ 04:12:21 "tcp://0.0.0.0:5555", 04:12:21 "unix:///var/run/docker.sock" 04:12:21 ], 04:12:21 "mtu": 1458, 04:12:21 "selinux-enabled": true, 04:12:21 "seccomp-profile": "/etc/docker/seccomp.json" 04:12:21 } [Pipeline] sh 04:12:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:12:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:41 provisioning config files... 04:12:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5993645642249961426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> docker-login.sh 04:12:41 nexus3.edgexfoundry.org:10001 04:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:42 Configure a credential helper to remove this warning. See 04:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:42 04:12:42 Login Succeeded 04:12:42 nexus3.edgexfoundry.org:10002 04:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:42 Configure a credential helper to remove this warning. See 04:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:42 04:12:42 Login Succeeded 04:12:43 nexus3.edgexfoundry.org:10003 04:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:43 Configure a credential helper to remove this warning. See 04:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:43 04:12:43 Login Succeeded 04:12:43 nexus3.edgexfoundry.org:10004 04:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:44 Configure a credential helper to remove this warning. See 04:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:44 04:12:44 Login Succeeded 04:12:44 docker.io 04:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:44 Configure a credential helper to remove this warning. See 04:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:44 04:12:44 Login Succeeded 04:12:44 ---> docker-login.sh ends [Pipeline] } 04:12:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:12:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:45 ========================================================= 04:12:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:12:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:12:45 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 04:12:46 Sending build context to Docker daemon 2.715MB 04:12:46 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:12:46 Step 2/10 : FROM ${BASE} AS builder 04:12:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:12:46 552d1f2373af: Pulling fs layer 04:12:46 ea3f2d53f512: Pulling fs layer 04:12:46 9e70ebbbe112: Pulling fs layer 04:12:46 7a9cfe048b4a: Pulling fs layer 04:12:46 72dc09318566: Pulling fs layer 04:12:46 f4f7b4309257: Pulling fs layer 04:12:46 0ac9a79272e3: Pulling fs layer 04:12:46 b78e95d17946: Pulling fs layer 04:12:46 72dc09318566: Waiting 04:12:46 f4f7b4309257: Waiting 04:12:46 0ac9a79272e3: Waiting 04:12:46 7a9cfe048b4a: Waiting 04:12:46 b78e95d17946: Waiting 04:12:46 9e70ebbbe112: Verifying Checksum 04:12:46 9e70ebbbe112: Download complete 04:12:46 ea3f2d53f512: Verifying Checksum 04:12:46 ea3f2d53f512: Download complete 04:12:46 72dc09318566: Verifying Checksum 04:12:46 72dc09318566: Download complete 04:12:46 f4f7b4309257: Verifying Checksum 04:12:46 f4f7b4309257: Download complete 04:12:46 552d1f2373af: Verifying Checksum 04:12:46 552d1f2373af: Download complete 04:12:46 0ac9a79272e3: Verifying Checksum 04:12:46 0ac9a79272e3: Download complete 04:12:47 552d1f2373af: Pull complete 04:12:48 ea3f2d53f512: Pull complete 04:12:48 9e70ebbbe112: Pull complete 04:12:48 b78e95d17946: Verifying Checksum 04:12:48 b78e95d17946: Download complete 04:12:49 7a9cfe048b4a: Verifying Checksum 04:12:49 7a9cfe048b4a: Download complete 04:13:01 7a9cfe048b4a: Pull complete 04:13:01 72dc09318566: Pull complete 04:13:01 f4f7b4309257: Pull complete 04:13:01 0ac9a79272e3: Pull complete 04:13:07 b78e95d17946: Pull complete 04:13:07 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:13:07 ---> 8b459fc5aaf0 04:13:07 Step 3/10 : ARG MAKE=make build 04:13:08 ---> Running in e693876c5f10 04:13:08 Removing intermediate container e693876c5f10 04:13:08 ---> e6b941108ae1 04:13:08 Step 4/10 : WORKDIR /device-sdk-go 04:13:08 ---> Running in 653d3320ce5d 04:13:09 Removing intermediate container 653d3320ce5d 04:13:09 ---> fffd36cf6e45 04:13:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:09 ---> Running in ea92222aca7e 04:13:10 Removing intermediate container ea92222aca7e 04:13:10 ---> 9c901b1a6716 04:13:10 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:10 ---> Running in 558661c30063 04:13:12 Removing intermediate container 558661c30063 04:13:12 ---> 7ae7ea5dca31 04:13:12 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:12 ---> Running in 76ecbd6d9a37 04:13:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:13:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:13:16 OK: 219 MiB in 52 packages 04:13:17 Removing intermediate container 76ecbd6d9a37 04:13:17 ---> a665b49c6802 04:13:17 Step 8/10 : COPY . . 04:13:18 ---> fb99b8dbb3fa 04:13:18 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:18 ---> Running in 9152c9a3acc7 04:14:40 Removing intermediate container 9152c9a3acc7 04:14:40 ---> f3ff27f29ae2 04:14:40 Step 10/10 : RUN ${MAKE} 04:14:40 ---> Running in a8606626b9cb 04:14:40 noop 04:14:40 Removing intermediate container a8606626b9cb 04:14:40 ---> ce954c51269b 04:14:40 Successfully built ce954c51269b 04:14:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:14:40 + docker inspect -f . ci-base-image-arm64 04:14:40 . [Pipeline] withDockerContainer 04:14:41 prd-ubuntu18.04-docker-arm64-4c-16g-1828 does not seem to be running inside a container 04:14:41 $ 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 ******** ci-base-image-arm64 cat 04:14:42 $ docker top 411846a4162a4b0b57226b92c079db3449f2853a75b0346bf8c7c2f0a8104e1f -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:43 + go version 04:14:43 go version go1.16.8 linux/arm64 [Pipeline] } 04:14:43 $ docker stop --time=1 411846a4162a4b0b57226b92c079db3449f2853a75b0346bf8c7c2f0a8104e1f 04:14:45 $ docker rm -f 411846a4162a4b0b57226b92c079db3449f2853a75b0346bf8c7c2f0a8104e1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:14:46 + docker inspect -f . ci-base-image-arm64 04:14:46 . [Pipeline] withDockerContainer 04:14:46 prd-ubuntu18.04-docker-arm64-4c-16g-1828 does not seem to be running inside a container 04:14:46 $ 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 ******** ci-base-image-arm64 cat 04:14:48 $ docker top 27ce064577c1354cfa63eed753aea3de9f0d0bef8880966e7fb2841b4df5c987 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:14:49 + make test 04:14:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:15:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:16:43 # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] 04:16:43 internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse 04:16:43 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.244s coverage: 28.1% of statements 04:16:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.301s coverage: 78.9% of statements 04:16:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 9.0% of statements 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.371s coverage: 28.7% of statements 04:16:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.300s coverage: 83.3% of statements 04:16:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.398s coverage: 57.8% of statements 04:16:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.462s coverage: 88.8% of statements 04:16:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.220s coverage: 4.9% of statements 04:16:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:50 FAIL 04:16:50 make: *** [Makefile:35: test] Error 2 [Pipeline] } 04:16:50 $ docker stop --time=1 27ce064577c1354cfa63eed753aea3de9f0d0bef8880966e7fb2841b4df5c987 04:16:52 $ docker rm -f 27ce064577c1354cfa63eed753aea3de9f0d0bef8880966e7fb2841b4df5c987 [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:54 04:16:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:54 arm64: Pulling from edgex-lftools-log-publisher 04:16:54 448f6bf000e3: Pulling fs layer 04:16:54 f757da607395: Pulling fs layer 04:16:54 05883995daec: Pulling fs layer 04:16:54 8603b9c90790: Pulling fs layer 04:16:54 1560dd03e051: Pulling fs layer 04:16:54 27f5ce0e4adf: Pulling fs layer 04:16:54 c2d8d7efcc4b: Pulling fs layer 04:16:54 1560dd03e051: Waiting 04:16:54 27f5ce0e4adf: Waiting 04:16:54 8603b9c90790: Waiting 04:16:54 c2d8d7efcc4b: Waiting 04:16:54 f757da607395: Verifying Checksum 04:16:54 f757da607395: Download complete 04:16:54 8603b9c90790: Verifying Checksum 04:16:54 8603b9c90790: Download complete 04:16:55 1560dd03e051: Verifying Checksum 04:16:55 1560dd03e051: Download complete 04:16:55 27f5ce0e4adf: Verifying Checksum 04:16:55 27f5ce0e4adf: Download complete 04:16:55 05883995daec: Verifying Checksum 04:16:55 05883995daec: Download complete 04:16:55 448f6bf000e3: Verifying Checksum 04:16:55 448f6bf000e3: Download complete 04:16:58 c2d8d7efcc4b: Verifying Checksum 04:16:58 c2d8d7efcc4b: Download complete 04:16:59 448f6bf000e3: Pull complete 04:17:00 f757da607395: Pull complete 04:17:01 05883995daec: Pull complete 04:17:01 8603b9c90790: Pull complete 04:17:02 1560dd03e051: Pull complete 04:17:03 27f5ce0e4adf: Pull complete 04:17:21 c2d8d7efcc4b: Pull complete 04:17:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:17:21 prd-ubuntu18.04-docker-arm64-4c-16g-1828 does not seem to be running inside a container 04:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:25 $ docker top aa543ffdaeb99d923c748a79c20ac3218d9663424be6be714f5be907c5ed041d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:26 ---> job-cost.sh 04:17:26 lf-activate-venv: SKIPPING 04:17:26 INFO: No Stack... 04:17:26 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:27 INFO: Archiving Costs [Pipeline] sh 04:17:27 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:17:27 + cut -d, -f6 [Pipeline] lock 04:17:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] 04:17:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] did not exist. Created. 04:17:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:28 /w/workspace/device-sdk-go/1@tmp/durable-5168303f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-5168303f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:29 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:29 Warning: overwriting stash ‘stack-cost’ 04:17:30 Stashed 1 file(s) [Pipeline] } 04:17:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1046-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:30 $ docker stop --time=1 aa543ffdaeb99d923c748a79c20ac3218d9663424be6be714f5be907c5ed041d 04:17:31 $ docker rm -f aa543ffdaeb99d923c748a79c20ac3218d9663424be6be714f5be907c5ed041d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:17:32 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:17:35 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1046/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:17:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:35 ---> package-listing.sh 04:17:35 ++ facter osfamily 04:17:35 ++ tr '[:upper:]' '[:lower:]' 04:17:36 + OS_FAMILY=redhat 04:17:36 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1046 04:17:36 + START_PACKAGES=/tmp/packages_start.txt 04:17:36 + END_PACKAGES=/tmp/packages_end.txt 04:17:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:36 + PACKAGES=/tmp/packages_start.txt 04:17:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1046 ']' 04:17:36 + PACKAGES=/tmp/packages_end.txt 04:17:36 + case "${OS_FAMILY}" in 04:17:36 + rpm -qa 04:17:36 + sort 04:17:36 + '[' -f /tmp/packages_start.txt ']' 04:17:36 + '[' -f /tmp/packages_end.txt ']' 04:17:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1046 ']' 04:17:36 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1046/archives/ 04:17:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1046/archives/ [Pipeline] echo 04:17:36 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/gexfoundry_device-sdk-go_PR-1046/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:17:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:37 04:17:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:38 latest: Pulling from edgex-lftools-log-publisher 04:17:38 b4d181a07f80: Pulling fs layer 04:17:38 a1111a8f2ec3: Pulling fs layer 04:17:38 ed53099fbce6: Pulling fs layer 04:17:38 dc539afda2c1: Pulling fs layer 04:17:38 77bc0d833cb6: Pulling fs layer 04:17:38 9065ff56babe: Pulling fs layer 04:17:38 d287ab97295c: Pulling fs layer 04:17:38 dc539afda2c1: Waiting 04:17:38 77bc0d833cb6: Waiting 04:17:38 9065ff56babe: Waiting 04:17:38 d287ab97295c: Waiting 04:17:38 a1111a8f2ec3: Verifying Checksum 04:17:38 a1111a8f2ec3: Download complete 04:17:38 dc539afda2c1: Verifying Checksum 04:17:38 dc539afda2c1: Download complete 04:17:38 ed53099fbce6: Verifying Checksum 04:17:38 ed53099fbce6: Download complete 04:17:38 9065ff56babe: Verifying Checksum 04:17:38 9065ff56babe: Download complete 04:17:38 77bc0d833cb6: Verifying Checksum 04:17:38 77bc0d833cb6: Download complete 04:17:38 b4d181a07f80: Verifying Checksum 04:17:38 b4d181a07f80: Download complete 04:17:38 d287ab97295c: Verifying Checksum 04:17:38 d287ab97295c: Download complete 04:17:39 b4d181a07f80: Pull complete 04:17:39 a1111a8f2ec3: Pull complete 04:17:40 ed53099fbce6: Pull complete 04:17:40 dc539afda2c1: Pull complete 04:17:40 77bc0d833cb6: Pull complete 04:17:40 9065ff56babe: Pull complete 04:17:46 d287ab97295c: Pull complete 04:17:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:17:46 prd-centos7-docker-4c-2g-1819 does not seem to be running inside a container 04:17:46 $ 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/gexfoundry_device-sdk-go_PR-1046/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1046 -v /w/workspace/gexfoundry_device-sdk-go_PR-1046:/w/workspace/gexfoundry_device-sdk-go_PR-1046:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:48 $ docker top f231a5c3e7bafc29339a7b4ce054e0e62d6e6196f307640397d9256f94dff711 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:48 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:49 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:49 + ls /var/log/sa-host 04:17:49 + sadf -c /var/log/sa-host/sa26 04:17:49 file_magic: OK 04:17:49 HZ: Using current value: 100 04:17:49 file_header: OK 04:17:49 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 04:17:49 Statistics: 04:17:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:17:49 File successfully converted to sysstat format version 12.0.3 04:17:49 + sadf -c /var/log/sa-host/sa30 04:17:49 file_magic: OK 04:17:49 HZ: Using current value: 100 04:17:49 file_header: OK 04:17:49 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 04:17:49 Statistics: 04:17:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:17:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:49 provisioning config files... 04:17:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1046@tmp/config7051084783249129436tmp [Pipeline] { [Pipeline] echo 04:17:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:50 ---> create-netrc.sh [Pipeline] } 04:17:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:50 ---> python-tools-install.sh [Pipeline] echo 04:17:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:50 ---> sudo-logs.sh 04:17:50 Archiving 'sudo' log.. 04:17:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-1819.novalocal: Name or service not known 04:17:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-1819.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:17:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:51 ---> job-cost.sh 04:17:51 lf-activate-venv: SKIPPING 04:17:51 DEBUG: total: 0.10999999940395355 04:17:51 INFO: Retrieving Stack Cost... 04:18:06 INFO: Retrieving Pricing Info for: v3-standard-2 04:18:06 INFO: Archiving Costs [Pipeline] echo 04:18:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:06 ---> logs-deploy.sh 04:18:06 lf-activate-venv: SKIPPING 04:18:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1046/1 04:18:06 INFO: archiving workspace using pattern(s): 04:18:07 Archives upload complete. 04:18:07 INFO: archiving logs to Nexus 04:18:08 ---> uname -a: 04:18:08 Linux prd-centos7-docker-4c-2g-1819.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 04:18:08 04:18:08 04:18:08 ---> lscpu: 04:18:08 Architecture: x86_64 04:18:08 CPU op-mode(s): 32-bit, 64-bit 04:18:08 Byte Order: Little Endian 04:18:08 Address sizes: 40 bits physical, 48 bits virtual 04:18:08 CPU(s): 2 04:18:08 On-line CPU(s) list: 0,1 04:18:08 Thread(s) per core: 1 04:18:08 Core(s) per socket: 1 04:18:08 Socket(s): 2 04:18:08 NUMA node(s): 1 04:18:08 Vendor ID: AuthenticAMD 04:18:08 CPU family: 23 04:18:08 Model: 49 04:18:08 Model name: AMD EPYC-Rome Processor 04:18:08 Stepping: 0 04:18:08 CPU MHz: 2799.996 04:18:08 BogoMIPS: 5599.99 04:18:08 Virtualization: AMD-V 04:18:08 Hypervisor vendor: KVM 04:18:08 Virtualization type: full 04:18:08 L1d cache: 32K 04:18:08 L1i cache: 32K 04:18:08 L2 cache: 512K 04:18:08 L3 cache: 16384K 04:18:08 NUMA node0 CPU(s): 0,1 04:18:08 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 04:18:08 04:18:08 04:18:08 ---> nproc: 04:18:08 2 04:18:08 04:18:08 04:18:08 ---> df -h: 04:18:08 Filesystem Size Used Avail Use% Mounted on 04:18:08 overlay 40G 7.7G 33G 20% / 04:18:08 tmpfs 64M 0 64M 0% /dev 04:18:08 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:18:08 shm 64M 0 64M 0% /dev/shm 04:18:08 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:18:08 04:18:08 04:18:08 ---> sar -b -r -n DEV: 04:18:08 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/26/21 _x86_64_ (2 CPU) 04:18:08 04:18:08 04:08:29 LINUX RESTART (2 CPU) 04:18:08 04:18:08 04:09:01 tps rtps wtps bread/s bwrtn/s 04:18:08 04:10:01 30.69 3.43 27.26 2353.24 2629.31 04:18:08 04:11:01 0.33 0.00 0.33 0.00 5.66 04:18:08 04:12:01 0.30 0.00 0.30 0.00 3.91 04:18:08 04:13:01 0.20 0.00 0.20 0.00 2.56 04:18:08 04:14:01 0.27 0.00 0.27 0.00 3.68 04:18:08 04:15:01 0.28 0.00 0.28 0.00 4.58 04:18:08 04:16:01 0.17 0.00 0.17 0.00 1.62 04:18:08 04:17:01 0.28 0.00 0.28 0.00 3.50 04:18:08 Average: 4.07 0.43 3.64 294.22 331.93 04:18:08 04:18:08 04:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:18:08 04:10:01 5688824 0 618020 7.72 2620 1699468 1265440 13.97 563396 1522444 20 04:18:08 04:11:01 5693372 0 613468 7.66 2620 1699472 1237100 13.66 560284 1522404 16 04:18:08 04:12:01 5698476 0 608364 7.60 2620 1699472 1206316 13.32 555128 1522708 12 04:18:08 04:13:01 5696164 0 610668 7.62 2620 1699480 1206392 13.32 557148 1522708 20 04:18:08 04:14:01 5698056 0 608768 7.60 2620 1699488 1191772 13.16 554972 1523660 16 04:18:08 04:15:01 5697464 0 609356 7.61 2620 1699492 1191856 13.16 555404 1523660 8 04:18:08 04:16:01 5700240 0 606576 7.57 2620 1699496 1166072 12.87 553048 1523804 8 04:18:08 04:17:01 5689912 0 616896 7.70 2620 1699504 1166228 12.88 563496 1523808 8 04:18:08 Average: 5695314 0 611514 7.64 2620 1699484 1203897 13.29 557860 1523150 14 04:18:08 04:18:08 04:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:18:08 04:10:01 eth0 83.76 61.68 369.57 23.61 0.00 0.00 0.00 0.00 04:18:08 04:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:10:01 docker0 11.54 8.63 1.78 29.65 0.00 0.00 0.00 0.00 04:18:08 04:11:01 eth0 4.15 1.07 1.54 0.96 0.00 0.00 0.00 0.00 04:18:08 04:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:12:01 eth0 2.85 0.82 1.00 0.59 0.00 0.00 0.00 0.00 04:18:08 04:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:13:01 eth0 3.71 0.73 0.98 0.59 0.00 0.00 0.00 0.00 04:18:08 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:14:01 eth0 3.12 0.43 0.67 0.30 0.00 0.00 0.00 0.00 04:18:08 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:15:01 eth0 1.73 0.73 0.63 0.37 0.00 0.00 0.00 0.00 04:18:08 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:16:01 eth0 0.27 0.10 0.02 0.04 0.00 0.00 0.00 0.00 04:18:08 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:17:01 eth0 1.07 0.37 0.32 0.20 0.00 0.00 0.00 0.00 04:18:08 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 Average: eth0 12.58 8.24 46.85 3.33 0.00 0.00 0.00 0.00 04:18:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:08 Average: docker0 1.44 1.08 0.22 3.71 0.00 0.00 0.00 0.00 04:18:08 04:18:08 04:18:08 ---> sar -P ALL: 04:18:08 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/26/21 _x86_64_ (2 CPU) 04:18:08 04:18:08 04:08:29 LINUX RESTART (2 CPU) 04:18:08 04:18:08 04:09:01 CPU %user %nice %system %iowait %steal %idle 04:18:08 04:10:01 all 3.96 0.00 1.73 0.78 0.03 93.50 04:18:08 04:10:01 0 4.31 0.00 1.89 1.47 0.03 92.29 04:18:08 04:10:01 1 3.61 0.00 1.57 0.08 0.03 94.70 04:18:08 04:11:01 all 0.22 0.00 0.04 0.00 0.02 99.72 04:18:08 04:11:01 0 0.37 0.00 0.03 0.00 0.02 99.58 04:18:08 04:11:01 1 0.07 0.00 0.05 0.00 0.02 99.87 04:18:08 04:12:01 all 0.26 0.00 0.04 0.00 0.02 99.68 04:18:08 04:12:01 0 0.42 0.00 0.03 0.00 0.02 99.53 04:18:08 04:12:01 1 0.10 0.00 0.05 0.00 0.02 99.83 04:18:08 04:13:01 all 0.24 0.00 0.04 0.00 0.03 99.69 04:18:08 04:13:01 0 0.45 0.00 0.05 0.00 0.02 99.48 04:18:08 04:13:01 1 0.03 0.00 0.03 0.00 0.03 99.90 04:18:08 04:14:01 all 0.18 0.00 0.06 0.00 0.03 99.74 04:18:08 04:14:01 0 0.28 0.00 0.07 0.00 0.03 99.62 04:18:08 04:14:01 1 0.07 0.00 0.05 0.00 0.02 99.87 04:18:08 04:15:01 all 0.08 0.00 0.06 0.00 0.01 99.85 04:18:08 04:15:01 0 0.05 0.00 0.05 0.00 0.00 99.90 04:18:08 04:15:01 1 0.12 0.00 0.07 0.00 0.02 99.80 04:18:08 04:16:01 all 0.18 0.00 0.04 0.00 0.03 99.74 04:18:08 04:16:01 0 0.30 0.00 0.05 0.00 0.03 99.62 04:18:08 04:16:01 1 0.07 0.00 0.03 0.00 0.03 99.87 04:18:08 04:17:01 all 0.23 0.00 0.04 0.00 0.02 99.72 04:18:08 04:17:01 0 0.42 0.00 0.05 0.00 0.02 99.52 04:18:08 04:17:01 1 0.03 0.00 0.03 0.00 0.02 99.92 04:18:08 Average: all 0.66 0.00 0.26 0.10 0.02 98.96 04:18:08 Average: 0 0.82 0.00 0.28 0.18 0.02 98.70 04:18:08 Average: 1 0.51 0.00 0.23 0.01 0.02 99.22 04:18:08 04:18:08 04:18:08