Pull request #1048 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 523514bff5bad65dedb8b5f01688f297d1ab3e33+1be87f15213c05ab1957194b5dea87ff4eff74a4 (765c36fbccb4b0bf4a51e8e75088879b6d119f64) 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-ssh2469641116330207219.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-ssh8872254253623168795.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-1048/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-1048/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4007056537123953942.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-1048/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7052265281631689332.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-ssh1669322010504863778.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-1048/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-1048/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3341616044483610959.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-1821 in /w/workspace/gexfoundry_device-sdk-go_PR-1048 [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-1048 # 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-1048@tmp/jenkins-gitclient-ssh7409862324659429813.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 523514bff5bad65dedb8b5f01688f297d1ab3e33 Merge succeeded, producing 523514bff5bad65dedb8b5f01688f297d1ab3e33 Checking out Revision 523514bff5bad65dedb8b5f01688f297d1ab3e33 (PR-1048) > 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-1048@tmp/jenkins-gitclient-ssh8143291380765807023.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1048/head:refs/remotes/origin/PR-1048 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # 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-1048@tmp/jenkins-gitclient-ssh4441579521565327000.key > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:09:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:09:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:09:33 ========================================================= 04:09:33 EdgeX Global Pipelines Version Info 04:09:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:09:34 ------------------- 04:09:34 stable info: 04:09:34 ------------------- 04:09:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:34 Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 04:09:34 Message: testing jakarta lts changes 04:09:35 ------------------- 04:09:35 experimental info: 04:09:35 ------------------- 04:09:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:35 Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 04:09:35 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1048 [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1048 [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1048 [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 523514bff5bad65dedb8b5f01688f297d1ab3e33 [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 523514b [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:36 provisioning config files... 04:09:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/config5782180460631232863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:37 ---> docker-login.sh 04:09:37 nexus3.edgexfoundry.org:10001 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 nexus3.edgexfoundry.org:10002 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 nexus3.edgexfoundry.org:10003 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 nexus3.edgexfoundry.org:10004 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 docker.io 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 ---> docker-login.sh ends [Pipeline] } 04:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:38 + git rev-list -1 --merges 523514bff5bad65dedb8b5f01688f297d1ab3e33~1..523514bff5bad65dedb8b5f01688f297d1ab3e33 [Pipeline] echo 04:09:38 -----------> git rev-list -1 --merges 523514bff5bad65dedb8b5f01688f297d1ab3e33~1..523514bff5bad65dedb8b5f01688f297d1ab3e33 523514bff5bad65dedb8b5f01688f297d1ab3e33 [false] [Pipeline] sh 04:09:38 + git log --format=format:%s -1 523514bff5bad65dedb8b5f01688f297d1ab3e33 [Pipeline] echo 04:09:39 ========================================================= 04:09:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:39 + git log --format=format:%s -1 523514bff5bad65dedb8b5f01688f297d1ab3e33 [Pipeline] echo 04:09:39 [semverPrep] GIT_COMMIT: 523514bff5bad65dedb8b5f01688f297d1ab3e33, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:09:39 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:39 04:09:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:09:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:40 latest: Pulling from edgex-devops/git-semver 04:09:40 a0d0a0d46f8b: Pulling fs layer 04:09:40 3e5f54012d9b: Pulling fs layer 04:09:40 4c7163046ea9: Pulling fs layer 04:09:40 0c2d73faf560: Pulling fs layer 04:09:40 0c2d73faf560: Waiting 04:09:40 3e5f54012d9b: Verifying Checksum 04:09:40 3e5f54012d9b: Download complete 04:09:40 a0d0a0d46f8b: Verifying Checksum 04:09:40 a0d0a0d46f8b: Download complete 04:09:40 0c2d73faf560: Verifying Checksum 04:09:40 0c2d73faf560: Download complete 04:09:40 4c7163046ea9: Verifying Checksum 04:09:40 4c7163046ea9: Download complete 04:09:40 a0d0a0d46f8b: Pull complete 04:09:40 3e5f54012d9b: Pull complete 04:09:40 4c7163046ea9: Pull complete 04:09:41 0c2d73faf560: Pull complete 04:09:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:09:41 prd-centos7-docker-4c-2g-1821 does not seem to be running inside a container 04:09:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1048 -v /w/workspace/gexfoundry_device-sdk-go_PR-1048:/w/workspace/gexfoundry_device-sdk-go_PR-1048:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1048@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:41 $ docker top d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:41 [ssh-agent] Looking for ssh-agent implementation... 04:09:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:42 $ docker exec d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 ssh-agent 04:09:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFpIjbN/agent.14 04:09:42 SSH_AGENT_PID=20 04:09:42 Running ssh-add (command line suppressed) 04:09:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/private_key_167407998817643840.key (/w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/private_key_167407998817643840.key) 04:09:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:42 + git tag --points-at HEAD [Pipeline] } 04:09:42 $ docker exec --env ******** --env ******** d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 ssh-agent -k 04:09:42 unset SSH_AUTH_SOCK; 04:09:42 unset SSH_AGENT_PID; 04:09:42 echo Agent pid 20 killed; 04:09:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:42 [ssh-agent] Looking for ssh-agent implementation... 04:09:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:42 $ docker exec d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 ssh-agent 04:09:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDONMGL/agent.54 04:09:42 SSH_AGENT_PID=62 04:09:42 Running ssh-add (command line suppressed) 04:09:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/private_key_8935349655645399084.key (/w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/private_key_8935349655645399084.key) 04:09:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:43 + git semver init 04:09:43 # -> Open(): unable to determine branch for HEAD 04:09:43 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1048/.git 04:09:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1048 04:09:43 # $SEMVER_REMOTE_NAME = origin 04:09:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:09:43 # $SEMVER_USER_NAME = edgex-jenkins 04:09:43 # $SEMVER_BRANCH = PR-1048 04:09:43 # $SEMVER_TEMP = /tmp/semver-426495333 04:09:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:09:44 # '/tmp/semver-426495333' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1048/.semver' 04:09:44 # -> Force: false 04:09:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1048/.semver [Pipeline] } 04:09:44 $ docker exec --env ******** --env ******** d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 ssh-agent -k 04:09:44 unset SSH_AUTH_SOCK; 04:09:44 unset SSH_AGENT_PID; 04:09:44 echo Agent pid 62 killed; 04:09:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:44 + git semver [Pipeline] } 04:09:44 $ docker stop --time=1 d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 04:09:46 $ docker rm -f d87cfd3127fd28e758b6dfddb859c4ebc33752db1c18130ad6a46d7aac4948d4 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:09:46 Stashed 1 file(s) [Pipeline] echo 04:09:46 [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:10:02 Still waiting to schedule task 04:10:02 ‘prd-centos7-docker-4c-2g-1824’ is offline 04:10:02 ‘prd-centos7-docker-4c-2g-1825’ is offline 04:10:02 ‘prd-ubuntu18.04-docker-8c-8g-1716’ doesn’t have label ‘centos7-docker-4c-2g’ 04:10:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ doesn’t have label ‘centos7-docker-4c-2g’ 04:10:02 Still waiting to schedule task 04:10:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ is offline 04:10:45 Running on prd-centos7-docker-4c-2g-1827 in /w/workspace/gexfoundry_device-sdk-go_PR-1048 [Pipeline] { [Pipeline] ws 04:10:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:10:45 Selected Git installation does not exist. Using Default 04:10:45 The recommended git tool is: NONE 04:10:47 using credential edgex-jenkins-ssh 04:10:47 Cloning the remote Git repository 04:10:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:47 > git --version # timeout=10 04:10:47 > git --version # 'git version 2.24.4' 04:10:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:47 [INFO] Currently running in a labeled security context 04:10:47 [INFO] Currently SELinux is 'enforcing' on the host 04:10:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5516030581000291171.key 04:10:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:50 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 523514bff5bad65dedb8b5f01688f297d1ab3e33 04:10:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:48 [INFO] Currently running in a labeled security context 04:10:48 [INFO] Currently SELinux is 'enforcing' on the host 04:10:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh79790339790288667.key 04:10:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1048/head:refs/remotes/origin/PR-1048 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:49 > git config core.sparsecheckout # timeout=10 04:10:49 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # timeout=10 04:10:49 > git remote # timeout=10 04:10:49 > git config --get remote.origin.url # timeout=10 04:10:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:49 [INFO] Currently running in a labeled security context 04:10:49 [INFO] Currently SELinux is 'enforcing' on the host 04:10:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5238088652670233155.key 04:10:49 > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 04:10:50 Merge succeeded, producing 523514bff5bad65dedb8b5f01688f297d1ab3e33 04:10:50 Checking out Revision 523514bff5bad65dedb8b5f01688f297d1ab3e33 (PR-1048) 04:10:49 > git rev-parse HEAD^{commit} # timeout=10 04:10:49 > git config core.sparsecheckout # timeout=10 04:10:49 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # timeout=10 04:10:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:10:53 > git --version # timeout=10 04:10:53 > git --version # 'git version 2.24.4' 04:10:53 fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:54 provisioning config files... 04:10:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1508167085696525758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:54 ---> docker-login.sh 04:10:54 nexus3.edgexfoundry.org:10001 04:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:54 Configure a credential helper to remove this warning. See 04:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:54 04:10:54 Login Succeeded 04:10:54 nexus3.edgexfoundry.org:10002 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 nexus3.edgexfoundry.org:10003 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 nexus3.edgexfoundry.org:10004 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 docker.io 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 ---> docker-login.sh ends [Pipeline] } 04:10:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:56 ========================================================= 04:10:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:10:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:10:56 + 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:56 Sending build context to Docker daemon 2.717MB 04:10:56 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:10:56 Step 2/10 : FROM ${BASE} AS builder 04:10:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:10:56 a0d0a0d46f8b: Pulling fs layer 04:10:56 31adcdaf11c8: Pulling fs layer 04:10:56 b8b176561691: Pulling fs layer 04:10:56 4527c011a84f: Pulling fs layer 04:10:56 5d74067f8e1e: Pulling fs layer 04:10:56 e0aca202a116: Pulling fs layer 04:10:56 3a43be97a3b4: Pulling fs layer 04:10:56 34cad66bf833: Pulling fs layer 04:10:56 b4e3c513aaa6: Pulling fs layer 04:10:56 4527c011a84f: Waiting 04:10:56 5d74067f8e1e: Waiting 04:10:56 e0aca202a116: Waiting 04:10:56 3a43be97a3b4: Waiting 04:10:56 34cad66bf833: Waiting 04:10:56 b4e3c513aaa6: Waiting 04:10:56 b8b176561691: Verifying Checksum 04:10:56 b8b176561691: Download complete 04:10:56 31adcdaf11c8: Verifying Checksum 04:10:56 31adcdaf11c8: Download complete 04:10:56 5d74067f8e1e: Verifying Checksum 04:10:56 5d74067f8e1e: Download complete 04:10:56 e0aca202a116: Verifying Checksum 04:10:56 e0aca202a116: Download complete 04:10:56 a0d0a0d46f8b: Verifying Checksum 04:10:56 a0d0a0d46f8b: Download complete 04:10:56 3a43be97a3b4: Verifying Checksum 04:10:56 3a43be97a3b4: Download complete 04:10:56 34cad66bf833: Verifying Checksum 04:10:56 34cad66bf833: Download complete 04:10:57 a0d0a0d46f8b: Pull complete 04:10:57 b4e3c513aaa6: Verifying Checksum 04:10:57 b4e3c513aaa6: Download complete 04:10:57 31adcdaf11c8: Pull complete 04:10:57 4527c011a84f: Verifying Checksum 04:10:57 4527c011a84f: Download complete 04:10:57 b8b176561691: Pull complete 04:11:01 4527c011a84f: Pull complete 04:11:01 5d74067f8e1e: Pull complete 04:11:01 e0aca202a116: Pull complete 04:11:01 3a43be97a3b4: Pull complete 04:11:01 34cad66bf833: Pull complete 04:11:04 b4e3c513aaa6: Pull complete 04:11:04 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:11:04 ---> 9f6097aaca64 04:11:04 Step 3/10 : ARG MAKE=make build 04:11:06 ---> Running in bcd8746d5cb6 04:11:06 Removing intermediate container bcd8746d5cb6 04:11:06 ---> f9ba40fa288e 04:11:06 Step 4/10 : WORKDIR /device-sdk-go 04:11:06 ---> Running in c636a9126e9b 04:11:06 Removing intermediate container c636a9126e9b 04:11:06 ---> 1c8ce973296c 04:11:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:06 ---> Running in 5285f0197c58 04:11:07 Removing intermediate container 5285f0197c58 04:11:07 ---> b1e56d2f3fe3 04:11:07 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:07 ---> Running in 99b603dd1d77 04:11:07 Removing intermediate container 99b603dd1d77 04:11:07 ---> 363ae2d08b8f 04:11:07 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:07 ---> Running in 9f2576414939 04:11:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:11:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:11:09 OK: 220 MiB in 52 packages 04:11:09 Removing intermediate container 9f2576414939 04:11:09 ---> bf009b9e6afd 04:11:09 Step 8/10 : COPY . . 04:11:09 ---> 24943b2dbab6 04:11:09 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:09 ---> Running in b48e9a0fbd8c 04:11:42 Removing intermediate container b48e9a0fbd8c 04:11:42 ---> ae3031901593 04:11:42 Step 10/10 : RUN ${MAKE} 04:11:42 ---> Running in 2454ba13d171 04:11:42 noop 04:11:42 Removing intermediate container 2454ba13d171 04:11:42 ---> fd0e288816ec 04:11:42 Successfully built fd0e288816ec 04:11:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:11:42 + docker inspect -f . ci-base-image-x86_64 04:11:42 . [Pipeline] withDockerContainer 04:11:42 prd-centos7-docker-4c-2g-1827 does not seem to be running inside a container 04:11:42 $ 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:43 $ docker top 70474770013cfed95b36efffc784d99a327d71a9f7a079090554ce07b62bc078 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:43 + go version 04:11:43 go version go1.16.8 linux/amd64 [Pipeline] } 04:11:43 $ docker stop --time=1 70474770013cfed95b36efffc784d99a327d71a9f7a079090554ce07b62bc078 04:11:44 $ docker rm -f 70474770013cfed95b36efffc784d99a327d71a9f7a079090554ce07b62bc078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:11:45 + docker inspect -f . ci-base-image-x86_64 04:11:45 . [Pipeline] withDockerContainer 04:11:45 prd-centos7-docker-4c-2g-1827 does not seem to be running inside a container 04:11:45 $ 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:45 $ docker top e204d3a7fc2533d4e10922044ed072f3dbd1c9998f6d30aae6022f52f259fdf7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:11:46 + make test 04:11:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:11:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:16 # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] 04:12:16 internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse 04:12:16 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 04:12:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements 04:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements 04:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 9.0% of statements 04:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements 04:12:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:12:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 83.3% of statements 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.8% of statements 04:12:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 88.8% of statements 04:12:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:12:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.9% of statements 04:12:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:21 FAIL 04:12:21 make: *** [Makefile:35: test] Error 2 [Pipeline] } 04:12:21 $ docker stop --time=1 e204d3a7fc2533d4e10922044ed072f3dbd1c9998f6d30aae6022f52f259fdf7 04:12:22 $ docker rm -f e204d3a7fc2533d4e10922044ed072f3dbd1c9998f6d30aae6022f52f259fdf7 [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:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:24 04:12:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:12:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:24 latest: Pulling from edgex-lftools-log-publisher 04:12:24 b4d181a07f80: Pulling fs layer 04:12:24 a1111a8f2ec3: Pulling fs layer 04:12:24 ed53099fbce6: Pulling fs layer 04:12:24 dc539afda2c1: Pulling fs layer 04:12:24 77bc0d833cb6: Pulling fs layer 04:12:24 9065ff56babe: Pulling fs layer 04:12:24 d287ab97295c: Pulling fs layer 04:12:24 77bc0d833cb6: Waiting 04:12:24 9065ff56babe: Waiting 04:12:24 d287ab97295c: Waiting 04:12:24 dc539afda2c1: Waiting 04:12:24 a1111a8f2ec3: Verifying Checksum 04:12:24 a1111a8f2ec3: Download complete 04:12:24 dc539afda2c1: Verifying Checksum 04:12:24 dc539afda2c1: Download complete 04:12:24 ed53099fbce6: Verifying Checksum 04:12:24 ed53099fbce6: Download complete 04:12:24 9065ff56babe: Verifying Checksum 04:12:24 9065ff56babe: Download complete 04:12:24 77bc0d833cb6: Verifying Checksum 04:12:24 77bc0d833cb6: Download complete 04:12:24 b4d181a07f80: Verifying Checksum 04:12:24 b4d181a07f80: Download complete 04:12:25 d287ab97295c: Verifying Checksum 04:12:25 d287ab97295c: Download complete 04:12:26 b4d181a07f80: Pull complete 04:12:26 a1111a8f2ec3: Pull complete 04:12:27 ed53099fbce6: Pull complete 04:12:27 dc539afda2c1: Pull complete 04:12:27 77bc0d833cb6: Pull complete 04:12:27 9065ff56babe: Pull complete 04:12:32 d287ab97295c: Pull complete 04:12:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:12:32 prd-centos7-docker-4c-2g-1827 does not seem to be running inside a container 04:12:32 $ 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:35 $ docker top d30148ab09262c465ee4ec23e668b27847eb0bb1ee08a1f2c36106bb224f2e54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:35 ---> job-cost.sh 04:12:35 lf-activate-venv: SKIPPING 04:12:35 INFO: No Stack... 04:12:35 INFO: Retrieving Pricing Info for: v3-standard-2 04:12:35 INFO: Archiving Costs [Pipeline] sh 04:12:36 + cut -d, -f6 04:12:36 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:12:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] 04:12:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] did not exist. Created. 04:12:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:36 + echo total: 0.05999999865889549 [Pipeline] stash 04:12:36 Stashed 1 file(s) [Pipeline] } 04:12:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:36 $ docker stop --time=1 d30148ab09262c465ee4ec23e668b27847eb0bb1ee08a1f2c36106bb224f2e54 04:12:38 $ docker rm -f d30148ab09262c465ee4ec23e668b27847eb0bb1ee08a1f2c36106bb224f2e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:38 Failed in branch amd64 04:14:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1837 in /w/workspace/gexfoundry_device-sdk-go_PR-1048 [Pipeline] { [Pipeline] ws 04:14:21 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:14:21 Selected Git installation does not exist. Using Default 04:14:21 The recommended git tool is: NONE 04:14:29 using credential edgex-jenkins-ssh 04:14:29 Cloning the remote Git repository 04:14:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:14:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:14:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:30 > git --version # timeout=10 04:14:30 > git --version # 'git version 2.17.1' 04:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1048/head:refs/remotes/origin/PR-1048 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:14:32 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 523514bff5bad65dedb8b5f01688f297d1ab3e33 04:14:32 Merge succeeded, producing 523514bff5bad65dedb8b5f01688f297d1ab3e33 04:14:32 Checking out Revision 523514bff5bad65dedb8b5f01688f297d1ab3e33 (PR-1048) 04:14:32 > git config core.sparsecheckout # timeout=10 04:14:32 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # timeout=10 04:14:32 > git remote # timeout=10 04:14:32 > git config --get remote.origin.url # timeout=10 04:14:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:32 > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 04:14:32 > git rev-parse HEAD^{commit} # timeout=10 04:14:32 > git config core.sparsecheckout # timeout=10 04:14:32 > git checkout -f 523514bff5bad65dedb8b5f01688f297d1ab3e33 # timeout=10 04:14:37 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:14:37 > git --version # timeout=10 04:14:37 > git --version # 'git version 2.17.1' 04:14:37 fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:14:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:14:38 Dload Upload Total Spent Left Speed 04:14:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 04:14:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:14:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:14:39 + sudo tee /etc/docker/daemon.new 04:14:39 { 04:14:39 "registry-mirrors": [ 04:14:39 "https://nexus3.edgexfoundry.org:10001" 04:14:39 ], 04:14:39 "bip": "10.250.0.254/24", 04:14:39 "hosts": [ 04:14:39 "tcp://0.0.0.0:5555", 04:14:39 "unix:///var/run/docker.sock" 04:14:39 ], 04:14:39 "mtu": 1458, 04:14:39 "selinux-enabled": true, 04:14:39 "seccomp-profile": "/etc/docker/seccomp.json" 04:14:39 } [Pipeline] sh 04:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:14:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:59 provisioning config files... 04:14:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1439756877479668508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:59 ---> docker-login.sh 04:14:59 nexus3.edgexfoundry.org:10001 04:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:00 Configure a credential helper to remove this warning. See 04:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:00 04:15:00 Login Succeeded 04:15:00 nexus3.edgexfoundry.org:10002 04:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:01 Configure a credential helper to remove this warning. See 04:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:01 04:15:01 Login Succeeded 04:15:01 nexus3.edgexfoundry.org:10003 04:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:02 Configure a credential helper to remove this warning. See 04:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:02 04:15:02 Login Succeeded 04:15:02 nexus3.edgexfoundry.org:10004 04:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:03 Configure a credential helper to remove this warning. See 04:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:03 04:15:03 Login Succeeded 04:15:03 docker.io 04:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:03 Configure a credential helper to remove this warning. See 04:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:03 04:15:03 Login Succeeded 04:15:03 ---> docker-login.sh ends [Pipeline] } 04:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:04 ========================================================= 04:15:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:15:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:05 + 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:15:05 Sending build context to Docker daemon 2.716MB 04:15:05 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:15:05 Step 2/10 : FROM ${BASE} AS builder 04:15:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:06 552d1f2373af: Pulling fs layer 04:15:06 ea3f2d53f512: Pulling fs layer 04:15:06 9e70ebbbe112: Pulling fs layer 04:15:06 7a9cfe048b4a: Pulling fs layer 04:15:06 72dc09318566: Pulling fs layer 04:15:06 f4f7b4309257: Pulling fs layer 04:15:06 0ac9a79272e3: Pulling fs layer 04:15:06 b78e95d17946: Pulling fs layer 04:15:06 f4f7b4309257: Waiting 04:15:06 7a9cfe048b4a: Waiting 04:15:06 0ac9a79272e3: Waiting 04:15:06 72dc09318566: Waiting 04:15:06 b78e95d17946: Waiting 04:15:06 9e70ebbbe112: Verifying Checksum 04:15:06 9e70ebbbe112: Download complete 04:15:06 ea3f2d53f512: Verifying Checksum 04:15:06 ea3f2d53f512: Download complete 04:15:06 72dc09318566: Verifying Checksum 04:15:06 72dc09318566: Download complete 04:15:06 f4f7b4309257: Verifying Checksum 04:15:06 f4f7b4309257: Download complete 04:15:06 552d1f2373af: Verifying Checksum 04:15:06 0ac9a79272e3: Verifying Checksum 04:15:06 0ac9a79272e3: Download complete 04:15:07 552d1f2373af: Pull complete 04:15:07 ea3f2d53f512: Pull complete 04:15:08 9e70ebbbe112: Pull complete 04:15:08 b78e95d17946: Verifying Checksum 04:15:08 b78e95d17946: Download complete 04:15:08 7a9cfe048b4a: Verifying Checksum 04:15:08 7a9cfe048b4a: Download complete 04:15:21 7a9cfe048b4a: Pull complete 04:15:21 72dc09318566: Pull complete 04:15:21 f4f7b4309257: Pull complete 04:15:21 0ac9a79272e3: Pull complete 04:15:26 b78e95d17946: Pull complete 04:15:26 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:15:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:15:26 ---> 8b459fc5aaf0 04:15:26 Step 3/10 : ARG MAKE=make build 04:15:28 ---> Running in efbd7ed10d7c 04:15:29 Removing intermediate container efbd7ed10d7c 04:15:29 ---> 360d39a2b2db 04:15:29 Step 4/10 : WORKDIR /device-sdk-go 04:15:29 ---> Running in 6320ed7ccc6e 04:15:29 Removing intermediate container 6320ed7ccc6e 04:15:29 ---> 3a5828fc71b8 04:15:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:29 ---> Running in 5c703e9be0a7 04:15:30 Removing intermediate container 5c703e9be0a7 04:15:30 ---> a869449faff9 04:15:30 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:30 ---> Running in a0559259acb8 04:15:33 Removing intermediate container a0559259acb8 04:15:33 ---> e973cb5e5cb1 04:15:33 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:33 ---> Running in 4c4a5674f486 04:15:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:15:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:15:36 OK: 219 MiB in 52 packages 04:15:37 Removing intermediate container 4c4a5674f486 04:15:37 ---> 72373612fd1f 04:15:37 Step 8/10 : COPY . . 04:15:38 ---> 9efe617a25db 04:15:38 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:38 ---> Running in 2ae9e1aba1ff 04:17:00 Removing intermediate container 2ae9e1aba1ff 04:17:00 ---> 4dd1342c65f0 04:17:00 Step 10/10 : RUN ${MAKE} 04:17:00 ---> Running in 9a430a5667a8 04:17:00 noop 04:17:01 Removing intermediate container 9a430a5667a8 04:17:01 ---> a96bcb93f38e 04:17:01 Successfully built a96bcb93f38e 04:17:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:01 + docker inspect -f . ci-base-image-arm64 04:17:01 . [Pipeline] withDockerContainer 04:17:02 prd-ubuntu18.04-docker-arm64-4c-16g-1837 does not seem to be running inside a container 04:17:02 $ 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:17:03 $ docker top 172be38bf195b6a9a0f595be7142cbfa1ad6718c1cf66e144e549682531d0539 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:05 + go version 04:17:05 go version go1.16.8 linux/arm64 [Pipeline] } 04:17:05 $ docker stop --time=1 172be38bf195b6a9a0f595be7142cbfa1ad6718c1cf66e144e549682531d0539 04:17:06 $ docker rm -f 172be38bf195b6a9a0f595be7142cbfa1ad6718c1cf66e144e549682531d0539 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:07 + docker inspect -f . ci-base-image-arm64 04:17:07 . [Pipeline] withDockerContainer 04:17:08 prd-ubuntu18.04-docker-arm64-4c-16g-1837 does not seem to be running inside a container 04:17:08 $ 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:17:10 $ docker top 65585ab7bafb141f99c663fdcbd22472a086a566b5daa5a4a13b08ea945f175f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:17:11 + make test 04:17:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:17:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:19:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:19:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:19:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:19:09 # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] 04:19:09 internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse 04:19:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 04:19:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:19:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 28.1% of statements 04:19:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.314s coverage: 78.9% of statements 04:19:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.224s coverage: 9.0% of statements 04:19:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:19:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:19:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:19:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.277s coverage: 28.7% of statements 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:19:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.328s coverage: 83.3% of statements 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:19:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 57.8% of statements 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.241s coverage: 88.8% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.224s coverage: 4.9% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:19:19 FAIL 04:19:20 make: *** [Makefile:35: test] Error 2 [Pipeline] } 04:19:20 $ docker stop --time=1 65585ab7bafb141f99c663fdcbd22472a086a566b5daa5a4a13b08ea945f175f 04:19:22 $ docker rm -f 65585ab7bafb141f99c663fdcbd22472a086a566b5daa5a4a13b08ea945f175f [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:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:24 04:19:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:19:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:25 arm64: Pulling from edgex-lftools-log-publisher 04:19:25 448f6bf000e3: Pulling fs layer 04:19:25 f757da607395: Pulling fs layer 04:19:25 05883995daec: Pulling fs layer 04:19:25 8603b9c90790: Pulling fs layer 04:19:25 1560dd03e051: Pulling fs layer 04:19:25 27f5ce0e4adf: Pulling fs layer 04:19:25 c2d8d7efcc4b: Pulling fs layer 04:19:25 8603b9c90790: Waiting 04:19:25 1560dd03e051: Waiting 04:19:25 27f5ce0e4adf: Waiting 04:19:25 c2d8d7efcc4b: Waiting 04:19:25 f757da607395: Verifying Checksum 04:19:25 f757da607395: Download complete 04:19:25 8603b9c90790: Verifying Checksum 04:19:25 8603b9c90790: Download complete 04:19:25 1560dd03e051: Verifying Checksum 04:19:25 1560dd03e051: Download complete 04:19:25 05883995daec: Verifying Checksum 04:19:25 05883995daec: Download complete 04:19:25 27f5ce0e4adf: Verifying Checksum 04:19:25 27f5ce0e4adf: Download complete 04:19:25 448f6bf000e3: Verifying Checksum 04:19:25 448f6bf000e3: Download complete 04:19:28 c2d8d7efcc4b: Verifying Checksum 04:19:28 c2d8d7efcc4b: Download complete 04:19:29 448f6bf000e3: Pull complete 04:19:30 f757da607395: Pull complete 04:19:32 05883995daec: Pull complete 04:19:32 8603b9c90790: Pull complete 04:19:33 1560dd03e051: Pull complete 04:19:33 27f5ce0e4adf: Pull complete 04:19:49 c2d8d7efcc4b: Pull complete 04:19:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:19:49 prd-ubuntu18.04-docker-arm64-4c-16g-1837 does not seem to be running inside a container 04:19:49 $ 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:19:52 $ docker top e887a0ddb03b9dd190ad6982fa43821dc627535216ed12cabaa35bcb86fc12ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:54 ---> job-cost.sh 04:19:54 lf-activate-venv: SKIPPING 04:19:54 INFO: No Stack... 04:19:54 INFO: Retrieving Pricing Info for: v3-standard-4 04:19:54 INFO: Archiving Costs [Pipeline] sh 04:19:55 + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 04:19:55 [Pipeline] lock 04:19:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] 04:19:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] did not exist. Created. 04:19:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:56 /w/workspace/device-sdk-go/1@tmp/durable-c7c70d41/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-c7c70d41/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:19:57 + echo total: 0.10999999940395355 [Pipeline] stash 04:19:57 Warning: overwriting stash ‘stack-cost’ 04:19:57 Stashed 1 file(s) [Pipeline] } 04:19:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1048-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:19:57 $ docker stop --time=1 e887a0ddb03b9dd190ad6982fa43821dc627535216ed12cabaa35bcb86fc12ef 04:19:59 $ docker rm -f e887a0ddb03b9dd190ad6982fa43821dc627535216ed12cabaa35bcb86fc12ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:20:00 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:20:03 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1048/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:20:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:20:04 ---> package-listing.sh 04:20:04 ++ facter osfamily 04:20:04 ++ tr '[:upper:]' '[:lower:]' 04:20:04 + OS_FAMILY=redhat 04:20:04 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1048 04:20:04 + START_PACKAGES=/tmp/packages_start.txt 04:20:04 + END_PACKAGES=/tmp/packages_end.txt 04:20:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:20:04 + PACKAGES=/tmp/packages_start.txt 04:20:04 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1048 ']' 04:20:04 + PACKAGES=/tmp/packages_end.txt 04:20:04 + case "${OS_FAMILY}" in 04:20:04 + rpm -qa 04:20:04 + sort 04:20:04 + '[' -f /tmp/packages_start.txt ']' 04:20:04 + '[' -f /tmp/packages_end.txt ']' 04:20:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:20:04 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1048 ']' 04:20:04 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1048/archives/ 04:20:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1048/archives/ [Pipeline] echo 04:20:04 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-1048/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:20:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:20:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:05 04:20:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:20:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:06 latest: Pulling from edgex-lftools-log-publisher 04:20:06 b4d181a07f80: Pulling fs layer 04:20:06 a1111a8f2ec3: Pulling fs layer 04:20:06 ed53099fbce6: Pulling fs layer 04:20:06 dc539afda2c1: Pulling fs layer 04:20:06 77bc0d833cb6: Pulling fs layer 04:20:06 9065ff56babe: Pulling fs layer 04:20:06 d287ab97295c: Pulling fs layer 04:20:06 dc539afda2c1: Waiting 04:20:06 77bc0d833cb6: Waiting 04:20:06 9065ff56babe: Waiting 04:20:06 d287ab97295c: Waiting 04:20:06 a1111a8f2ec3: Verifying Checksum 04:20:06 a1111a8f2ec3: Download complete 04:20:06 dc539afda2c1: Verifying Checksum 04:20:06 dc539afda2c1: Download complete 04:20:06 ed53099fbce6: Verifying Checksum 04:20:06 ed53099fbce6: Download complete 04:20:06 9065ff56babe: Verifying Checksum 04:20:06 9065ff56babe: Download complete 04:20:06 77bc0d833cb6: Verifying Checksum 04:20:06 77bc0d833cb6: Download complete 04:20:06 b4d181a07f80: Verifying Checksum 04:20:06 b4d181a07f80: Download complete 04:20:07 d287ab97295c: Verifying Checksum 04:20:07 d287ab97295c: Download complete 04:20:08 b4d181a07f80: Pull complete 04:20:08 a1111a8f2ec3: Pull complete 04:20:08 ed53099fbce6: Pull complete 04:20:08 dc539afda2c1: Pull complete 04:20:08 77bc0d833cb6: Pull complete 04:20:09 9065ff56babe: Pull complete 04:20:14 d287ab97295c: Pull complete 04:20:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:20:14 prd-centos7-docker-4c-2g-1821 does not seem to be running inside a container 04:20:14 $ 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-1048/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-1048 -v /w/workspace/gexfoundry_device-sdk-go_PR-1048:/w/workspace/gexfoundry_device-sdk-go_PR-1048:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1048@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:20:16 $ docker top 8974ace5bcb10a989fc9ecc88cf31c1490cd250a13433f7a1b691cabd018c9ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:17 + touch /tmp/pre-build-complete [Pipeline] sh 04:20:17 + mkdir -p /var/log/sysstat [Pipeline] sh 04:20:17 + ls /var/log/sa-host 04:20:17 + sadf -c /var/log/sa-host/sa26 04:20:17 file_magic: OK 04:20:17 HZ: Using current value: 100 04:20:17 file_header: OK 04:20:17 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:20:17 Statistics: 04:20:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:20:17 File successfully converted to sysstat format version 12.0.3 04:20:17 + sadf -c /var/log/sa-host/sa30 04:20:17 file_magic: OK 04:20:17 HZ: Using current value: 100 04:20:17 file_header: OK 04:20:17 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:20:17 Statistics: 04:20:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:20:17 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:17 provisioning config files... 04:20:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1048@tmp/config2818513171134643108tmp [Pipeline] { [Pipeline] echo 04:20:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:20:18 ---> create-netrc.sh [Pipeline] } 04:20:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:20:18 ---> python-tools-install.sh [Pipeline] echo 04:20:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:20:19 ---> sudo-logs.sh 04:20:19 Archiving 'sudo' log.. 04:20:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-1821.novalocal: Name or service not known 04:20:19 sudo: unable to resolve host prd-centos7-docker-4c-2g-1821.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:20:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:20:19 ---> job-cost.sh 04:20:19 lf-activate-venv: SKIPPING 04:20:19 DEBUG: total: 0.10999999940395355 04:20:19 INFO: Retrieving Stack Cost... 04:20:19 INFO: Retrieving Pricing Info for: v3-standard-2 04:20:20 INFO: Archiving Costs [Pipeline] echo 04:20:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:20:20 ---> logs-deploy.sh 04:20:20 lf-activate-venv: SKIPPING 04:20:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1048/1 04:20:20 INFO: archiving workspace using pattern(s): 04:20:21 Archives upload complete. 04:20:21 INFO: archiving logs to Nexus 04:20:21 ---> uname -a: 04:20:21 Linux prd-centos7-docker-4c-2g-1821.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:20:21 04:20:21 04:20:21 ---> lscpu: 04:20:21 Architecture: x86_64 04:20:21 CPU op-mode(s): 32-bit, 64-bit 04:20:21 Byte Order: Little Endian 04:20:21 Address sizes: 40 bits physical, 48 bits virtual 04:20:21 CPU(s): 2 04:20:21 On-line CPU(s) list: 0,1 04:20:21 Thread(s) per core: 1 04:20:21 Core(s) per socket: 1 04:20:21 Socket(s): 2 04:20:21 NUMA node(s): 1 04:20:21 Vendor ID: AuthenticAMD 04:20:21 CPU family: 23 04:20:21 Model: 49 04:20:21 Model name: AMD EPYC-Rome Processor 04:20:21 Stepping: 0 04:20:21 CPU MHz: 2799.994 04:20:21 BogoMIPS: 5599.98 04:20:21 Virtualization: AMD-V 04:20:21 Hypervisor vendor: KVM 04:20:21 Virtualization type: full 04:20:21 L1d cache: 32K 04:20:21 L1i cache: 32K 04:20:21 L2 cache: 512K 04:20:21 L3 cache: 16384K 04:20:21 NUMA node0 CPU(s): 0,1 04:20: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 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:20:21 04:20:21 04:20:21 ---> nproc: 04:20:21 2 04:20:21 04:20:21 04:20:21 ---> df -h: 04:20:21 Filesystem Size Used Avail Use% Mounted on 04:20:21 overlay 40G 7.7G 33G 20% / 04:20:21 tmpfs 64M 0 64M 0% /dev 04:20:21 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:20:21 shm 64M 0 64M 0% /dev/shm 04:20:21 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:20:21 04:20:21 04:20:21 ---> sar -b -r -n DEV: 04:20:21 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:20:21 04:20:21 04:09:02 LINUX RESTART (2 CPU) 04:20:21 04:20:21 04:10:01 tps rtps wtps bread/s bwrtn/s 04:20:21 04:11:01 2.02 0.00 2.02 0.00 45.02 04:20:21 04:12:01 0.23 0.00 0.23 0.00 3.78 04:20:21 04:13:02 0.25 0.00 0.25 0.00 3.25 04:20:21 04:14:01 0.15 0.00 0.15 0.00 2.46 04:20:21 04:15:01 0.40 0.00 0.40 0.00 6.51 04:20:21 04:16:01 0.23 0.00 0.23 0.00 3.50 04:20:21 04:17:01 0.23 0.00 0.23 0.00 3.38 04:20:21 04:18:01 0.28 0.00 0.28 0.00 3.00 04:20:21 04:19:01 0.27 0.00 0.27 0.00 3.51 04:20:21 04:20:01 0.23 0.00 0.23 0.00 2.85 04:20:21 Average: 0.43 0.00 0.43 0.00 7.74 04:20:21 04:20:21 04:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:20:21 04:11:01 5680908 0 625996 7.82 2620 1699416 1492936 16.48 570484 1523996 20 04:20:21 04:12:01 5688300 0 618596 7.72 2620 1699424 1456956 16.09 563500 1524164 20 04:20:21 04:13:02 5684900 0 621996 7.77 2620 1699424 1456968 16.09 567076 1524164 20 04:20:21 04:14:01 5686280 0 620608 7.75 2620 1699432 1445648 15.96 564940 1524948 12 04:20:21 04:15:01 5688832 0 618048 7.72 2620 1699440 1445660 15.96 562260 1524948 8 04:20:21 04:16:01 5692424 0 614456 7.67 2620 1699440 1418920 15.67 559472 1524964 8 04:20:21 04:17:01 5691592 0 615280 7.68 2620 1699448 1419064 15.67 560364 1524964 8 04:20:21 04:18:01 5692728 0 614140 7.67 2620 1699452 1418920 15.67 559448 1524964 8 04:20:21 04:19:01 5692416 0 614448 7.67 2620 1699456 1418920 15.67 559636 1524964 8 04:20:21 04:20:01 5687048 0 619812 7.74 2620 1699460 1419004 15.67 565080 1524964 8 04:20:21 Average: 5688543 0 618338 7.72 2620 1699439 1439300 15.89 563226 1524704 12 04:20:21 04:20:21 04:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:20:21 04:11:01 eth0 4.13 0.93 1.54 0.91 0.00 0.00 0.00 0.00 04:20:21 04:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:12:01 eth0 2.90 0.72 1.00 0.61 0.00 0.00 0.00 0.00 04:20:21 04:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:13:02 eth0 3.70 0.68 0.98 0.55 0.00 0.00 0.00 0.00 04:20:21 04:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:14:01 eth0 2.95 0.37 0.55 0.24 0.00 0.00 0.00 0.00 04:20:21 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:15:01 eth0 1.92 0.58 0.76 0.45 0.00 0.00 0.00 0.00 04:20:21 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:16:01 eth0 0.28 0.05 0.02 0.00 0.00 0.00 0.00 0.00 04:20:21 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:17:01 eth0 1.08 0.30 0.32 0.20 0.00 0.00 0.00 0.00 04:20:21 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:18:01 eth0 0.20 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:20:21 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:19:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:20:21 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:20:01 eth0 1.85 0.20 0.32 0.07 0.00 0.00 0.00 0.00 04:20:21 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 Average: eth0 1.92 0.40 0.55 0.31 0.00 0.00 0.00 0.00 04:20:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:20:21 04:20:21 04:20:21 ---> sar -P ALL: 04:20:21 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:20:21 04:20:21 04:09:02 LINUX RESTART (2 CPU) 04:20:21 04:20:21 04:10:01 CPU %user %nice %system %iowait %steal %idle 04:20:21 04:11:01 all 0.33 0.00 0.08 0.00 0.01 99.59 04:20:21 04:11:01 0 0.08 0.00 0.10 0.00 0.02 99.80 04:20:21 04:11:01 1 0.57 0.00 0.05 0.00 0.00 99.38 04:20:21 04:12:01 all 0.25 0.00 0.05 0.00 0.02 99.68 04:20:21 04:12:01 0 0.05 0.00 0.03 0.00 0.00 99.92 04:20:21 04:12:01 1 0.45 0.00 0.07 0.00 0.03 99.45 04:20:21 04:13:02 all 0.23 0.00 0.04 0.00 0.02 99.71 04:20:21 04:13:02 0 0.10 0.00 0.03 0.00 0.02 99.85 04:20:21 04:13:02 1 0.37 0.00 0.05 0.00 0.02 99.57 04:20:21 04:14:01 all 0.19 0.00 0.04 0.00 0.02 99.75 04:20:21 04:14:01 0 0.29 0.00 0.03 0.00 0.02 99.66 04:20:21 04:14:01 1 0.08 0.00 0.05 0.00 0.02 99.85 04:20:21 04:15:01 all 0.26 0.00 0.04 0.00 0.03 99.67 04:20:21 04:15:01 0 0.48 0.00 0.05 0.00 0.02 99.45 04:20:21 04:15:01 1 0.03 0.00 0.03 0.00 0.03 99.90 04:20:21 04:16:01 all 0.27 0.00 0.03 0.00 0.03 99.67 04:20:21 04:16:01 0 0.48 0.00 0.03 0.00 0.02 99.47 04:20:21 04:16:01 1 0.05 0.00 0.03 0.00 0.03 99.88 04:20:21 04:17:01 all 0.19 0.00 0.04 0.00 0.02 99.75 04:20:21 04:17:01 0 0.33 0.00 0.03 0.00 0.02 99.62 04:20:21 04:17:01 1 0.05 0.00 0.05 0.00 0.02 99.88 04:20:21 04:18:01 all 0.07 0.00 0.04 0.00 0.03 99.87 04:20:21 04:18:01 0 0.10 0.00 0.03 0.00 0.03 99.83 04:20:21 04:18:01 1 0.03 0.00 0.05 0.00 0.02 99.90 04:20:21 04:19:01 all 0.17 0.00 0.04 0.00 0.03 99.77 04:20:21 04:19:01 0 0.28 0.00 0.03 0.00 0.03 99.65 04:20:21 04:19:01 1 0.05 0.00 0.05 0.00 0.02 99.88 04:20:21 04:20:01 all 0.13 0.00 0.04 0.00 0.03 99.80 04:20:21 04:20:01 0 0.10 0.00 0.03 0.00 0.03 99.83 04:20:21 04:20:01 1 0.17 0.00 0.05 0.00 0.02 99.77 04:20:21 Average: all 0.21 0.00 0.05 0.00 0.02 99.73 04:20:21 Average: 0 0.23 0.00 0.04 0.00 0.02 99.71 04:20:21 Average: 1 0.19 0.00 0.05 0.00 0.02 99.75 04:20:21 04:20:21 04:20:21