Pull request #1064 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f508cae3723960d2472d3e02e611b123bac0cc41+26056eb6751852d3be2b177fe263ccb57def27d1 (622edfa4656bbb2161d81634bb1f2e4923bf95d4) 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-ssh1504182188211371608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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-ssh6771622948032321490.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 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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-1064/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-1064/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2508846574523311824.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-1064/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6392194837398110487.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 # timeout=10 Commit message: "Merge pull request #363 from ernestojeda/fix-lts-clone" > 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-ssh5276966929190632737.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-1064/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-1064/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8667601497262973726.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 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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 ‘prd-centos7-docker-4c-2g-11’ is offline Running on prd-centos7-docker-4c-2g-14 in /w/workspace/gexfoundry_device-sdk-go_PR-1064 [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-1064 # 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-1064@tmp/jenkins-gitclient-ssh8823831482175411046.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-1064@tmp/jenkins-gitclient-ssh5146303810969583608.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1064/head:refs/remotes/origin/PR-1064 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit f508cae3723960d2472d3e02e611b123bac0cc41 Merge succeeded, producing f508cae3723960d2472d3e02e611b123bac0cc41 Checking out Revision f508cae3723960d2472d3e02e611b123bac0cc41 (PR-1064) > git config core.sparsecheckout # timeout=10 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # 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-1064@tmp/jenkins-gitclient-ssh4046598252813962191.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:11:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:11:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:11:55 ========================================================= 04:11:55 EdgeX Global Pipelines Version Info 04:11:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:11:57 ------------------- 04:11:57 stable info: 04:11:57 ------------------- 04:11:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:11:57 Commit SHA: 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 04:11:57 Message: update stable to v1.0.212 04:11:57 ------------------- 04:11:57 experimental info: 04:11:57 ------------------- 04:11:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:11:57 Commit SHA: 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 04:11:57 Message: update experimental to v1.0.212 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:11:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:11:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:11:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:11:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1064 [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1064 [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1064 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f508cae3723960d2472d3e02e611b123bac0cc41 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f508cae [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:59 provisioning config files... 04:11:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/config4094829081556832206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:59 ---> docker-login.sh 04:11:59 nexus3.edgexfoundry.org:10001 04:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:59 Configure a credential helper to remove this warning. See 04:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:59 04:11:59 Login Succeeded 04:11:59 nexus3.edgexfoundry.org:10002 04:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:59 Configure a credential helper to remove this warning. See 04:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:59 04:11:59 Login Succeeded 04:11:59 nexus3.edgexfoundry.org:10003 04:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:59 Configure a credential helper to remove this warning. See 04:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:59 04:11:59 Login Succeeded 04:11:59 nexus3.edgexfoundry.org:10004 04:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:00 Configure a credential helper to remove this warning. See 04:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:00 04:12:00 Login Succeeded 04:12:00 docker.io 04:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:00 Configure a credential helper to remove this warning. See 04:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:00 04:12:00 Login Succeeded 04:12:00 ---> docker-login.sh ends [Pipeline] } 04:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:12:01 + git rev-list -1 --merges f508cae3723960d2472d3e02e611b123bac0cc41~1..f508cae3723960d2472d3e02e611b123bac0cc41 [Pipeline] echo 04:12:01 -----------> git rev-list -1 --merges f508cae3723960d2472d3e02e611b123bac0cc41~1..f508cae3723960d2472d3e02e611b123bac0cc41 f508cae3723960d2472d3e02e611b123bac0cc41 [false] [Pipeline] sh 04:12:01 + git log --format=format:%s -1 f508cae3723960d2472d3e02e611b123bac0cc41 [Pipeline] echo 04:12:01 ========================================================= 04:12:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:12:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:01 + git log --format=format:%s -1 f508cae3723960d2472d3e02e611b123bac0cc41 [Pipeline] echo 04:12:01 [semverPrep] GIT_COMMIT: f508cae3723960d2472d3e02e611b123bac0cc41, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:12:01 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:02 04:12:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:12:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:02 latest: Pulling from edgex-devops/git-semver 04:12:02 a0d0a0d46f8b: Pulling fs layer 04:12:02 3e5f54012d9b: Pulling fs layer 04:12:02 4c7163046ea9: Pulling fs layer 04:12:02 0c2d73faf560: Pulling fs layer 04:12:02 0c2d73faf560: Waiting 04:12:02 3e5f54012d9b: Verifying Checksum 04:12:02 3e5f54012d9b: Download complete 04:12:02 a0d0a0d46f8b: Verifying Checksum 04:12:02 a0d0a0d46f8b: Download complete 04:12:02 4c7163046ea9: Verifying Checksum 04:12:02 4c7163046ea9: Download complete 04:12:02 0c2d73faf560: Verifying Checksum 04:12:02 0c2d73faf560: Download complete 04:12:03 a0d0a0d46f8b: Pull complete 04:12:03 3e5f54012d9b: Pull complete 04:12:03 4c7163046ea9: Pull complete 04:12:03 0c2d73faf560: Pull complete 04:12:03 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:12:03 prd-centos7-docker-4c-2g-14 does not seem to be running inside a container 04:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1064 -v /w/workspace/gexfoundry_device-sdk-go_PR-1064:/w/workspace/gexfoundry_device-sdk-go_PR-1064:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:12:04 $ docker top f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:04 [ssh-agent] Looking for ssh-agent implementation... 04:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:04 $ docker exec f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 ssh-agent 04:12:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlNBeGd/agent.13 04:12:04 SSH_AGENT_PID=19 04:12:04 Running ssh-add (command line suppressed) 04:12:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/private_key_4901735214075161832.key (/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/private_key_4901735214075161832.key) 04:12:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:05 + git tag --points-at HEAD [Pipeline] } 04:12:05 $ docker exec --env ******** --env ******** f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 ssh-agent -k 04:12:05 unset SSH_AUTH_SOCK; 04:12:05 unset SSH_AGENT_PID; 04:12:05 echo Agent pid 19 killed; 04:12:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:12:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:05 [ssh-agent] Looking for ssh-agent implementation... 04:12:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:05 $ docker exec f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 ssh-agent 04:12:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgkfcLE/agent.55 04:12:05 SSH_AGENT_PID=61 04:12:05 Running ssh-add (command line suppressed) 04:12:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/private_key_9071215824400162986.key (/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/private_key_9071215824400162986.key) 04:12:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:05 + git semver init 04:12:05 # -> Open(): unable to determine branch for HEAD 04:12:05 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1064/.git 04:12:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1064 04:12:05 # $SEMVER_REMOTE_NAME = origin 04:12:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:12:05 # $SEMVER_USER_NAME = edgex-jenkins 04:12:05 # $SEMVER_BRANCH = PR-1064 04:12:05 # $SEMVER_TEMP = /tmp/semver-475660313 04:12:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:12:06 # '/tmp/semver-475660313' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1064/.semver' 04:12:06 # -> Force: false 04:12:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1064/.semver [Pipeline] } 04:12:06 $ docker exec --env ******** --env ******** f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 ssh-agent -k 04:12:07 unset SSH_AUTH_SOCK; 04:12:07 unset SSH_AGENT_PID; 04:12:07 echo Agent pid 61 killed; 04:12:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:07 + git semver [Pipeline] } 04:12:07 $ docker stop --time=1 f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 04:12:08 $ docker rm -f f73c330f8befe3a2e7dc822fbe6ce1d0b4223fc316f85f4720158ae382d08955 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:12:09 Stashed 1 file(s) [Pipeline] echo 04:12:09 [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:12:24 Still waiting to schedule task 04:12:24 ‘prd-centos7-docker-4c-2g-17’ is offline 04:12:24 ‘prd-centos7-docker-4c-2g-19’ is offline 04:12:24 ‘prd-centos7-docker-4c-2g-20’ is offline 04:12:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-15’ doesn’t have label ‘centos7-docker-4c-2g’ 04:12:24 Still waiting to schedule task 04:12:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-15’ is offline 04:13:11 Running on prd-centos7-docker-4c-2g-22 in /w/workspace/gexfoundry_device-sdk-go_PR-1064 [Pipeline] { [Pipeline] ws 04:13:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:13:11 Selected Git installation does not exist. Using Default 04:13:11 The recommended git tool is: NONE 04:13:14 using credential edgex-jenkins-ssh 04:13:14 Cloning the remote Git repository 04:13:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:13:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:13:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:13:14 > git --version # timeout=10 04:13:14 > git --version # 'git version 2.24.4' 04:13:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:14 [INFO] Currently running in a labeled security context 04:13:14 [INFO] Currently SELinux is 'enforcing' on the host 04:13:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8730136103856626205.key 04:13:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:13:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:13:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:13:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:13:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:13:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:14 [INFO] Currently running in a labeled security context 04:13:14 [INFO] Currently SELinux is 'enforcing' on the host 04:13:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4469056692236250350.key 04:13:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1064/head:refs/remotes/origin/PR-1064 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:13:15 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit f508cae3723960d2472d3e02e611b123bac0cc41 04:13:15 Merge succeeded, producing f508cae3723960d2472d3e02e611b123bac0cc41 04:13:15 Checking out Revision f508cae3723960d2472d3e02e611b123bac0cc41 (PR-1064) 04:13:15 > git config core.sparsecheckout # timeout=10 04:13:15 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # timeout=10 04:13:15 > git remote # timeout=10 04:13:15 > git config --get remote.origin.url # timeout=10 04:13:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:15 [INFO] Currently running in a labeled security context 04:13:15 [INFO] Currently SELinux is 'enforcing' on the host 04:13:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3271581486476644866.key 04:13:15 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:13:15 > git rev-parse HEAD^{commit} # timeout=10 04:13:15 > git config core.sparsecheckout # timeout=10 04:13:15 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # timeout=10 04:13:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:13:19 > git --version # timeout=10 04:13:19 > git --version # 'git version 2.24.4' 04:13:19 fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:19 provisioning config files... 04:13:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6378236890261649612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:20 ---> docker-login.sh 04:13:20 nexus3.edgexfoundry.org:10001 04:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:20 Configure a credential helper to remove this warning. See 04:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:20 04:13:20 Login Succeeded 04:13:20 nexus3.edgexfoundry.org:10002 04:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:20 Configure a credential helper to remove this warning. See 04:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:20 04:13:20 Login Succeeded 04:13:20 nexus3.edgexfoundry.org:10003 04:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:20 Configure a credential helper to remove this warning. See 04:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:20 04:13:20 Login Succeeded 04:13:20 nexus3.edgexfoundry.org:10004 04:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:20 Configure a credential helper to remove this warning. See 04:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:20 04:13:20 Login Succeeded 04:13:20 docker.io 04:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:21 Configure a credential helper to remove this warning. See 04:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:21 04:13:21 Login Succeeded 04:13:21 ---> docker-login.sh ends [Pipeline] } 04:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:13:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:21 ========================================================= 04:13:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:13:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:13:22 + 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:13:22 Sending build context to Docker daemon 2.76MB 04:13:22 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:13:22 Step 2/10 : FROM ${BASE} AS builder 04:13:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:13:22 a0d0a0d46f8b: Pulling fs layer 04:13:22 31adcdaf11c8: Pulling fs layer 04:13:22 b8b176561691: Pulling fs layer 04:13:22 4527c011a84f: Pulling fs layer 04:13:22 5d74067f8e1e: Pulling fs layer 04:13:22 e0aca202a116: Pulling fs layer 04:13:22 3a43be97a3b4: Pulling fs layer 04:13:22 34cad66bf833: Pulling fs layer 04:13:22 b4e3c513aaa6: Pulling fs layer 04:13:22 4527c011a84f: Waiting 04:13:22 5d74067f8e1e: Waiting 04:13:22 e0aca202a116: Waiting 04:13:22 3a43be97a3b4: Waiting 04:13:22 34cad66bf833: Waiting 04:13:22 b4e3c513aaa6: Waiting 04:13:22 b8b176561691: Verifying Checksum 04:13:22 b8b176561691: Download complete 04:13:22 31adcdaf11c8: Verifying Checksum 04:13:22 31adcdaf11c8: Download complete 04:13:22 5d74067f8e1e: Verifying Checksum 04:13:22 5d74067f8e1e: Download complete 04:13:22 e0aca202a116: Verifying Checksum 04:13:22 e0aca202a116: Download complete 04:13:22 3a43be97a3b4: Verifying Checksum 04:13:22 3a43be97a3b4: Download complete 04:13:22 a0d0a0d46f8b: Verifying Checksum 04:13:22 a0d0a0d46f8b: Download complete 04:13:22 34cad66bf833: Verifying Checksum 04:13:22 34cad66bf833: Download complete 04:13:22 a0d0a0d46f8b: Pull complete 04:13:22 31adcdaf11c8: Pull complete 04:13:22 b8b176561691: Pull complete 04:13:23 4527c011a84f: Verifying Checksum 04:13:23 4527c011a84f: Download complete 04:13:23 b4e3c513aaa6: Verifying Checksum 04:13:23 b4e3c513aaa6: Download complete 04:13:27 4527c011a84f: Pull complete 04:13:27 5d74067f8e1e: Pull complete 04:13:27 e0aca202a116: Pull complete 04:13:27 3a43be97a3b4: Pull complete 04:13:27 34cad66bf833: Pull complete 04:13:29 b4e3c513aaa6: Pull complete 04:13:29 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:13:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:13:29 ---> 9f6097aaca64 04:13:29 Step 3/10 : ARG MAKE=make build 04:13:34 ---> Running in df62974b7950 04:13:34 Removing intermediate container df62974b7950 04:13:34 ---> 64db9d36b606 04:13:34 Step 4/10 : WORKDIR /device-sdk-go 04:13:34 ---> Running in eb9eb7e7609e 04:13:34 Removing intermediate container eb9eb7e7609e 04:13:34 ---> 5cad4b41c6d1 04:13:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:34 ---> Running in 0c5017baf25e 04:13:34 Removing intermediate container 0c5017baf25e 04:13:34 ---> a903fb81324d 04:13:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:34 ---> Running in 762afa04ecf1 04:13:35 Removing intermediate container 762afa04ecf1 04:13:35 ---> ed1b8760b23a 04:13:35 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:35 ---> Running in 19cf4072d550 04:13:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:13:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:13:36 OK: 220 MiB in 52 packages 04:13:37 Removing intermediate container 19cf4072d550 04:13:37 ---> ffa67f377397 04:13:37 Step 8/10 : COPY . . 04:13:37 ---> d92c641dcff4 04:13:37 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:37 ---> Running in d7cdbc52d3af 04:14:16 Removing intermediate container d7cdbc52d3af 04:14:16 ---> c72b4bd4bce2 04:14:16 Step 10/10 : RUN ${MAKE} 04:14:16 ---> Running in 5f75565b83f9 04:14:16 noop 04:14:16 Removing intermediate container 5f75565b83f9 04:14:16 ---> 2d9c055f8d84 04:14:16 Successfully built 2d9c055f8d84 04:14:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:14:16 + docker inspect -f . ci-base-image-x86_64 04:14:16 . [Pipeline] withDockerContainer 04:14:16 prd-centos7-docker-4c-2g-22 does not seem to be running inside a container 04:14:16 $ 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-x86_64 cat 04:14:17 $ docker top 2fb5765b736b026a109a81178b12e7a7d26badf44d97d522dc5653eebcc99d84 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:17 + go version 04:14:17 go version go1.16.8 linux/amd64 [Pipeline] } 04:14:17 $ docker stop --time=1 2fb5765b736b026a109a81178b12e7a7d26badf44d97d522dc5653eebcc99d84 04:14:18 $ docker rm -f 2fb5765b736b026a109a81178b12e7a7d26badf44d97d522dc5653eebcc99d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:14:19 + docker inspect -f . ci-base-image-x86_64 04:14:19 . [Pipeline] withDockerContainer 04:14:19 prd-centos7-docker-4c-2g-22 does not seem to be running inside a container 04:14:19 $ 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-x86_64 cat 04:14:19 $ docker top bc10daee5b50312e3874d3a7ea21eed11410bcedc4e3c7de807d5fb4f61a3731 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:14:20 + make test 04:14:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:14:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:14:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27 in /w/workspace/gexfoundry_device-sdk-go_PR-1064 [Pipeline] { [Pipeline] ws 04:14:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:14:45 Selected Git installation does not exist. Using Default 04:14:45 The recommended git tool is: NONE 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:52 using credential edgex-jenkins-ssh 04:14:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements 04:14:52 Cloning the remote Git repository 04:14:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:14:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:14:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:52 > git --version # timeout=10 04:14:52 > git --version # 'git version 2.17.1' 04:14:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 04:14:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements 04:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:14:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:14:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 04:14:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:14:55 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit f508cae3723960d2472d3e02e611b123bac0cc41 04:14:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements 04:14:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:14:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:14:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements 04:14:55 Merge succeeded, producing f508cae3723960d2472d3e02e611b123bac0cc41 04:14:55 Checking out Revision f508cae3723960d2472d3e02e611b123bac0cc41 (PR-1064) 04:14:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:14:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:14:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1064/head:refs/remotes/origin/PR-1064 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:14:55 > git config core.sparsecheckout # timeout=10 04:14:55 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # timeout=10 04:14:55 > git remote # timeout=10 04:14:55 > git config --get remote.origin.url # timeout=10 04:14:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:55 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:14:55 > git rev-parse HEAD^{commit} # timeout=10 04:14:55 > git config core.sparsecheckout # timeout=10 04:14:55 > git checkout -f f508cae3723960d2472d3e02e611b123bac0cc41 # timeout=10 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.808s coverage: 89.2% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:56 GO111MODULE=on go vet ./... 04:15:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:15:00 > git --version # timeout=10 04:15:00 > git --version # 'git version 2.17.1' 04:15:00 fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:01 Dload Upload Total Spent Left Speed 04:15:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 144k 0 --:--:-- --:--:-- --:--:-- 146k [Pipeline] sh 04:15:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:02 + sudo tee /etc/docker/daemon.new 04:15:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:02 { 04:15:02 "registry-mirrors": [ 04:15:02 "https://nexus3.edgexfoundry.org:10001" 04:15:02 ], 04:15:02 "bip": "10.250.0.254/24", 04:15:02 "hosts": [ 04:15:02 "tcp://0.0.0.0:5555", 04:15:02 "unix:///var/run/docker.sock" 04:15:02 ], 04:15:02 "mtu": 1458, 04:15:02 "selinux-enabled": true, 04:15:02 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:02 } [Pipeline] sh 04:15:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:03 + sudo service docker restart 04:15:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:15 ./bin/test-attribution-txt.sh [Pipeline] } 04:15:15 $ docker stop --time=1 bc10daee5b50312e3874d3a7ea21eed11410bcedc4e3c7de807d5fb4f61a3731 04:15:17 $ docker rm -f bc10daee5b50312e3874d3a7ea21eed11410bcedc4e3c7de807d5fb4f61a3731 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:15:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:18 + ls -al . 04:15:18 total 264 04:15:18 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 04:15 . 04:15:18 drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 04:13 .. 04:15:18 drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 04:13 bin 04:15:18 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 11 04:13 CHANGELOG.md 04:15:18 -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 04:14 coverage.out 04:15:18 -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 04:13 .dockerignore 04:15:18 drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 04:13 example 04:15:18 drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 04:13 .git 04:15:18 drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 04:13 .github 04:15:18 -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 04:13 .gitignore 04:15:18 -rw-rw-r--. 1 jenkins jenkins 602 Nov 11 04:13 go.mod 04:15:18 -rw-rw-r--. 1 jenkins jenkins 49022 Nov 11 04:13 go.sum 04:15:18 -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 04:13 GOVERNANCE.md 04:15:18 drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 04:13 internal 04:15:18 -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 04:13 Jenkinsfile 04:15:18 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 04:13 LICENSE 04:15:18 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 04:13 Makefile 04:15:18 drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 04:13 openapi 04:15:18 -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 04:13 OWNERS.md 04:15:18 drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 04:13 pkg 04:15:18 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 04:13 README.md 04:15:18 drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 04:13 snap 04:15:18 -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 04:12 VERSION 04:15:18 -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 04:13 version.go [Pipeline] isUnix [Pipeline] sh 04:15:19 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f508cae3723960d2472d3e02e611b123bac0cc41 --label arch=amd64 --label version=0.0.0 . 04:15:19 Sending build context to Docker daemon 2.889MB 04:15:19 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:15:19 Step 2/24 : FROM ${BASE} AS builder 04:15:19 ---> 2d9c055f8d84 04:15:19 Step 3/24 : ARG MAKE=make build 04:15:19 ---> Running in 3725d51e39dc 04:15:19 Removing intermediate container 3725d51e39dc 04:15:19 ---> 80e478418bf7 04:15:19 Step 4/24 : WORKDIR /device-sdk-go 04:15:19 ---> Running in 219a61c9faab 04:15:19 Removing intermediate container 219a61c9faab 04:15:19 ---> 49f040156c68 04:15:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:19 ---> Running in 789c4c61ca2e 04:15:19 Removing intermediate container 789c4c61ca2e 04:15:19 ---> c124473beb83 04:15:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:19 ---> Running in fd98c424d538 04:15:20 Removing intermediate container fd98c424d538 04:15:20 ---> 0eccff780a08 04:15:20 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:20 ---> Running in 170a8598a912 04:15:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:21 provisioning config files... 04:15:21 OK: 220 MiB in 52 packages 04:15:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3684074858902670596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:21 Removing intermediate container 170a8598a912 04:15:21 ---> 7e26f079826d 04:15:21 Step 8/24 : COPY . . 04:15:22 ---> docker-login.sh 04:15:22 nexus3.edgexfoundry.org:10001 04:15:22 ---> 07d0e250af2d 04:15:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:22 ---> Running in 7b587cf00c3f 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 Removing intermediate container 7b587cf00c3f 04:15:22 ---> afe935d27b2e 04:15:22 Step 10/24 : RUN ${MAKE} 04:15:22 ---> Running in 9f413c3d88c8 04:15:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:23 Configure a credential helper to remove this warning. See 04:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:23 04:15:23 Login Succeeded 04:15:23 nexus3.edgexfoundry.org:10002 04:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:24 Configure a credential helper to remove this warning. See 04:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:24 04:15:24 Login Succeeded 04:15:24 nexus3.edgexfoundry.org:10003 04:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:24 Configure a credential helper to remove this warning. See 04:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:24 04:15:24 Login Succeeded 04:15:24 nexus3.edgexfoundry.org:10004 04:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:25 Configure a credential helper to remove this warning. See 04:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:25 04:15:25 Login Succeeded 04:15:25 docker.io 04:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:26 Configure a credential helper to remove this warning. See 04:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:26 04:15:26 Login Succeeded 04:15:26 ---> docker-login.sh ends [Pipeline] } 04:15:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:27 ========================================================= 04:15:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:15:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:27 + 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:28 Sending build context to Docker daemon 2.759MB 04:15:28 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:15:28 Step 2/10 : FROM ${BASE} AS builder 04:15:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:28 552d1f2373af: Pulling fs layer 04:15:28 ea3f2d53f512: Pulling fs layer 04:15:28 9e70ebbbe112: Pulling fs layer 04:15:28 7a9cfe048b4a: Pulling fs layer 04:15:28 72dc09318566: Pulling fs layer 04:15:28 f4f7b4309257: Pulling fs layer 04:15:28 0ac9a79272e3: Pulling fs layer 04:15:28 72dc09318566: Waiting 04:15:28 b78e95d17946: Pulling fs layer 04:15:28 7a9cfe048b4a: Waiting 04:15:28 f4f7b4309257: Waiting 04:15:28 b78e95d17946: Waiting 04:15:28 9e70ebbbe112: Verifying Checksum 04:15:28 9e70ebbbe112: Download complete 04:15:28 ea3f2d53f512: Verifying Checksum 04:15:28 ea3f2d53f512: Download complete 04:15:28 72dc09318566: Verifying Checksum 04:15:28 72dc09318566: Download complete 04:15:28 f4f7b4309257: Download complete 04:15:28 552d1f2373af: Verifying Checksum 04:15:28 552d1f2373af: Download complete 04:15:28 0ac9a79272e3: Verifying Checksum 04:15:28 0ac9a79272e3: Download complete 04:15:29 552d1f2373af: Pull complete 04:15:29 ea3f2d53f512: Pull complete 04:15:30 9e70ebbbe112: Pull complete 04:15:30 b78e95d17946: Verifying Checksum 04:15:30 b78e95d17946: Download complete 04:15:31 7a9cfe048b4a: Verifying Checksum 04:15:31 7a9cfe048b4a: Download complete 04:15:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:15:35 Removing intermediate container 9f413c3d88c8 04:15:35 ---> 9f2360f4968f 04:15:35 Step 11/24 : FROM alpine:3.14 04:15:36 3.14: Pulling from library/alpine 04:15:36 a0d0a0d46f8b: Already exists 04:15:36 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:15:36 Status: Downloaded newer image for alpine:3.14 04:15:36 ---> 14119a10abf4 04:15:36 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:36 ---> Running in fbdd546f7067 04:15:36 Removing intermediate container fbdd546f7067 04:15:36 ---> da961bc04a51 04:15:36 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:36 ---> Running in 5cac85995020 04:15:37 Removing intermediate container 5cac85995020 04:15:37 ---> 5ea99b355e15 04:15:37 Step 14/24 : RUN apk add --update --no-cache zeromq 04:15:37 ---> Running in 6656ee75b4ef 04:15:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:15:38 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:15:38 (2/5) Installing libsodium (1.0.18-r0) 04:15:38 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:15:39 (4/5) Installing libzmq (4.3.4-r0) 04:15:39 (5/5) Installing zeromq (4.3.4-r0) 04:15:39 Executing busybox-1.33.1-r3.trigger 04:15:39 OK: 8 MiB in 19 packages 04:15:39 Removing intermediate container 6656ee75b4ef 04:15:39 ---> a4ac54ce4674 04:15:39 Step 15/24 : WORKDIR / 04:15:39 ---> Running in 6a8d900f811c 04:15:39 Removing intermediate container 6a8d900f811c 04:15:39 ---> 4f7d9974b58e 04:15:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:15:39 ---> 99a0e33e539c 04:15:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:15:40 ---> 300297bef582 04:15:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:15:40 ---> bc472078d911 04:15:40 Step 19/24 : EXPOSE 59999 04:15:40 ---> Running in d6c9066e47d4 04:15:40 Removing intermediate container d6c9066e47d4 04:15:40 ---> 40ac5dda7302 04:15:40 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:15:40 ---> Running in ac031792736f 04:15:40 Removing intermediate container ac031792736f 04:15:40 ---> 1158ef537c55 04:15:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:15:40 ---> Running in d452546f96e1 04:15:40 Removing intermediate container d452546f96e1 04:15:40 ---> 822d2b80cfc6 04:15:40 Step 22/24 : LABEL arch=amd64 04:15:40 ---> Running in e9300fe00d05 04:15:40 Removing intermediate container e9300fe00d05 04:15:40 ---> 64db46497fc0 04:15:40 Step 23/24 : LABEL git_sha=f508cae3723960d2472d3e02e611b123bac0cc41 04:15:40 ---> Running in 475651c5d41d 04:15:40 Removing intermediate container 475651c5d41d 04:15:40 ---> 6d439a54587f 04:15:40 Step 24/24 : LABEL version=0.0.0 04:15:40 ---> Running in 34125d3bcb74 04:15:40 Removing intermediate container 34125d3bcb74 04:15:40 ---> ab136a6e86c0 04:15:40 [Warning] One or more build-args [ARCH] were not consumed 04:15:40 Successfully built ab136a6e86c0 04:15:40 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 04:15:41 7a9cfe048b4a: Pull complete 04:15:41 72dc09318566: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 04:15:41 f4f7b4309257: Pull complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:41 0ac9a79272e3: Pull complete 04:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:41 04:15:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:42 latest: Pulling from edgex-lftools-log-publisher 04:15:42 b4d181a07f80: Pulling fs layer 04:15:42 a1111a8f2ec3: Pulling fs layer 04:15:42 ed53099fbce6: Pulling fs layer 04:15:42 dc539afda2c1: Pulling fs layer 04:15:42 77bc0d833cb6: Pulling fs layer 04:15:42 9065ff56babe: Pulling fs layer 04:15:42 d287ab97295c: Pulling fs layer 04:15:42 dc539afda2c1: Waiting 04:15:42 77bc0d833cb6: Waiting 04:15:42 9065ff56babe: Waiting 04:15:42 d287ab97295c: Waiting 04:15:42 a1111a8f2ec3: Verifying Checksum 04:15:42 a1111a8f2ec3: Download complete 04:15:42 dc539afda2c1: Verifying Checksum 04:15:42 dc539afda2c1: Download complete 04:15:42 77bc0d833cb6: Verifying Checksum 04:15:42 77bc0d833cb6: Download complete 04:15:42 9065ff56babe: Verifying Checksum 04:15:42 9065ff56babe: Download complete 04:15:42 ed53099fbce6: Verifying Checksum 04:15:42 ed53099fbce6: Download complete 04:15:42 b4d181a07f80: Verifying Checksum 04:15:42 b4d181a07f80: Download complete 04:15:43 d287ab97295c: Verifying Checksum 04:15:43 d287ab97295c: Download complete 04:15:44 b4d181a07f80: Pull complete 04:15:44 a1111a8f2ec3: Pull complete 04:15:44 ed53099fbce6: Pull complete 04:15:44 dc539afda2c1: Pull complete 04:15:45 77bc0d833cb6: Pull complete 04:15:45 9065ff56babe: Pull complete 04:15:48 b78e95d17946: Pull complete 04:15:48 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:15:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:15:48 ---> 8b459fc5aaf0 04:15:48 Step 3/10 : ARG MAKE=make build 04:15:50 ---> Running in 1a3a673e50ca 04:15:50 Removing intermediate container 1a3a673e50ca 04:15:50 ---> e19de41cb7e0 04:15:50 Step 4/10 : WORKDIR /device-sdk-go 04:15:50 ---> Running in 390ba0289eb8 04:15:50 d287ab97295c: Pull complete 04:15:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:15:50 prd-centos7-docker-4c-2g-22 does not seem to be running inside a container 04:15:50 $ 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:latest cat 04:15:51 Removing intermediate container 390ba0289eb8 04:15:51 ---> f917b3b61030 04:15:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:51 ---> Running in 5c938ac6d184 04:15:52 Removing intermediate container 5c938ac6d184 04:15:52 ---> e8d0bc3556ca 04:15:52 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:52 ---> Running in 8ae227cb5cdc 04:15:53 $ docker top 8f27d116da7b5a240ffd850bc7b63e9c6870db20b6dd19224a910fd419152c60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:54 ---> job-cost.sh 04:15:54 lf-activate-venv: SKIPPING 04:15:54 INFO: No Stack... 04:15:54 INFO: Retrieving Pricing Info for: v3-standard-2 04:15:54 Removing intermediate container 8ae227cb5cdc 04:15:54 ---> e2bc04dc3d8d 04:15:54 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:54 ---> Running in a4cb97c9c2d4 04:15:54 INFO: Archiving Costs [Pipeline] sh 04:15:55 + cut -d, -f6 04:15:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:15:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] 04:15:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] did not exist. Created. 04:15:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:15:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:15:55 + echo total: 0.05999999865889549 [Pipeline] stash 04:15:55 Stashed 1 file(s) [Pipeline] } 04:15:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:55 $ docker stop --time=1 8f27d116da7b5a240ffd850bc7b63e9c6870db20b6dd19224a910fd419152c60 04:15:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:15:56 $ docker rm -f 8f27d116da7b5a240ffd850bc7b63e9c6870db20b6dd19224a910fd419152c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:15:57 OK: 219 MiB in 52 packages 04:15:58 Removing intermediate container a4cb97c9c2d4 04:15:58 ---> 17215b52d88d 04:15:58 Step 8/10 : COPY . . 04:16:00 ---> 64f4c31d91e6 04:16:00 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:00 ---> Running in 4ea1f6e2343b 04:17:37 Removing intermediate container 4ea1f6e2343b 04:17:37 ---> cc302ef02ca5 04:17:37 Step 10/10 : RUN ${MAKE} 04:17:37 ---> Running in bb5875133fb7 04:17:37 noop 04:17:37 Removing intermediate container bb5875133fb7 04:17:37 ---> e0d88613965b 04:17:37 Successfully built e0d88613965b 04:17:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:37 + docker inspect -f . ci-base-image-arm64 04:17:37 . [Pipeline] withDockerContainer 04:17:37 prd-ubuntu18.04-docker-arm64-4c-16g-27 does not seem to be running inside a container 04:17:37 $ 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:39 $ docker top 39068569d919c7b5b1de0cba694e6406305180467ce078170a4511decebbda7b -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:40 + go version 04:17:40 go version go1.16.8 linux/arm64 [Pipeline] } 04:17:40 $ docker stop --time=1 39068569d919c7b5b1de0cba694e6406305180467ce078170a4511decebbda7b 04:17:42 $ docker rm -f 39068569d919c7b5b1de0cba694e6406305180467ce078170a4511decebbda7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:43 + docker inspect -f . ci-base-image-arm64 04:17:43 . [Pipeline] withDockerContainer 04:17:43 prd-ubuntu18.04-docker-arm64-4c-16g-27 does not seem to be running inside a container 04:17:43 $ 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:45 $ docker top 2113b12e98583f68fd9c3bc039c9ab7b67503231bdeac5093bb1b8e9fc5c4518 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:17:46 + make test 04:17:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:18:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:20:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.401s coverage: 23.3% of statements 04:20:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.308s coverage: 27.6% of statements 04:20:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.344s coverage: 78.9% of statements 04:20:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.291s coverage: 9.0% of statements 04:20:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.455s coverage: 28.7% of statements 04:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.308s coverage: 83.3% of statements 04:20:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.529s coverage: 57.8% of statements 04:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.835s coverage: 89.2% of statements 04:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:20:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.248s coverage: 4.8% of statements 04:20:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:20 GO111MODULE=on go vet ./... 04:21:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:42 ./bin/test-attribution-txt.sh [Pipeline] } 04:21:42 $ docker stop --time=1 2113b12e98583f68fd9c3bc039c9ab7b67503231bdeac5093bb1b8e9fc5c4518 04:21:44 $ docker rm -f 2113b12e98583f68fd9c3bc039c9ab7b67503231bdeac5093bb1b8e9fc5c4518 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:45 Warning: overwriting stash ‘coverage-report’ 04:21:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:47 + ls -al . 04:21:47 total 300 04:21:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:21 . 04:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:14 .. 04:21:47 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:14 .dockerignore 04:21:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:14 .git 04:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:14 .github 04:21:47 -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 04:14 .gitignore 04:21:47 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 11 04:14 CHANGELOG.md 04:21:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:14 GOVERNANCE.md 04:21:47 -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 04:14 Jenkinsfile 04:21:47 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:14 LICENSE 04:21:47 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 04:14 Makefile 04:21:47 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:14 OWNERS.md 04:21:47 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 04:14 README.md 04:21:47 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:12 VERSION 04:21:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:14 bin 04:21:47 -rw-r--r-- 1 jenkins jenkins 128369 Nov 11 04:20 coverage.out 04:21:47 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:14 example 04:21:47 -rw-rw-r-- 1 jenkins jenkins 602 Nov 11 04:14 go.mod 04:21:47 -rw-rw-r-- 1 jenkins jenkins 49022 Nov 11 04:14 go.sum 04:21:47 drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 04:14 internal 04:21:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:14 openapi 04:21:47 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:14 pkg 04:21:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:14 snap 04:21:47 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:14 version.go [Pipeline] isUnix [Pipeline] sh 04:21:47 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f508cae3723960d2472d3e02e611b123bac0cc41 --label arch=arm64 --label version=0.0.0 . 04:21:48 Sending build context to Docker daemon 2.888MB 04:21:48 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:21:48 Step 2/24 : FROM ${BASE} AS builder 04:21:48 ---> e0d88613965b 04:21:48 Step 3/24 : ARG MAKE=make build 04:21:48 ---> Running in de5b409343ad 04:21:49 Removing intermediate container de5b409343ad 04:21:49 ---> 6268f0bc5c91 04:21:49 Step 4/24 : WORKDIR /device-sdk-go 04:21:49 ---> Running in c43ed56e0c90 04:21:49 Removing intermediate container c43ed56e0c90 04:21:49 ---> 23651c88d2d0 04:21:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:49 ---> Running in 4ec30921bdbc 04:21:49 Removing intermediate container 4ec30921bdbc 04:21:49 ---> 8f26442c03a3 04:21:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:50 ---> Running in 904c447e9308 04:21:52 Removing intermediate container 904c447e9308 04:21:52 ---> 71b41d625d5c 04:21:52 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:52 ---> Running in 9b6075004ac5 04:21:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:21:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:21:55 OK: 219 MiB in 52 packages 04:21:56 Removing intermediate container 9b6075004ac5 04:21:56 ---> 6d56213ba1cc 04:21:56 Step 8/24 : COPY . . 04:21:57 ---> 8dd830283b86 04:21:57 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:57 ---> Running in f35eb24acd64 04:21:59 Removing intermediate container f35eb24acd64 04:21:59 ---> 8c3430120632 04:21:59 Step 10/24 : RUN ${MAKE} 04:21:59 ---> Running in 5006ce4fcdeb 04:22:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:22:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:40 Removing intermediate container 5006ce4fcdeb 04:22:40 ---> 52d4062ebcd9 04:22:40 Step 11/24 : FROM alpine:3.14 04:22:44 3.14: Pulling from library/alpine 04:22:44 552d1f2373af: Already exists 04:22:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:22:44 Status: Downloaded newer image for alpine:3.14 04:22:44 ---> bb3de5531c18 04:22:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:44 ---> Running in c187fed1149c 04:22:44 Removing intermediate container c187fed1149c 04:22:44 ---> 111d4726af95 04:22:44 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:44 ---> Running in 6f10f5280c9a 04:22:46 Removing intermediate container 6f10f5280c9a 04:22:46 ---> edc486237571 04:22:46 Step 14/24 : RUN apk add --update --no-cache zeromq 04:22:46 ---> Running in fec8b41dee9c 04:22:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:49 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:22:49 (2/5) Installing libsodium (1.0.18-r0) 04:22:49 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:49 (4/5) Installing libzmq (4.3.4-r0) 04:22:49 (5/5) Installing zeromq (4.3.4-r0) 04:22:49 Executing busybox-1.33.1-r3.trigger 04:22:49 OK: 8 MiB in 19 packages 04:22:50 Removing intermediate container fec8b41dee9c 04:22:50 ---> 77d84df19d0f 04:22:50 Step 15/24 : WORKDIR / 04:22:51 ---> Running in 480ea92f8f58 04:22:51 Removing intermediate container 480ea92f8f58 04:22:51 ---> 92201ed8ef9e 04:22:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:52 ---> 6ae18cc8bf38 04:22:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:53 ---> 58bc6ec27404 04:22:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:54 ---> 16c5f6e92b2d 04:22:54 Step 19/24 : EXPOSE 59999 04:22:54 ---> Running in b0dd3d9079ad 04:22:54 Removing intermediate container b0dd3d9079ad 04:22:54 ---> 1f8e4739e250 04:22:54 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:22:54 ---> Running in 37552cb47fe8 04:22:55 Removing intermediate container 37552cb47fe8 04:22:55 ---> 3b080aa609fa 04:22:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:55 ---> Running in 08365c43ac6d 04:22:55 Removing intermediate container 08365c43ac6d 04:22:55 ---> 959954374c5d 04:22:55 Step 22/24 : LABEL arch=arm64 04:22:55 ---> Running in bf2cb037463a 04:22:55 Removing intermediate container bf2cb037463a 04:22:55 ---> 99fabcc45187 04:22:55 Step 23/24 : LABEL git_sha=f508cae3723960d2472d3e02e611b123bac0cc41 04:22:56 ---> Running in 8388f5384c38 04:22:56 Removing intermediate container 8388f5384c38 04:22:56 ---> 979c17867fcd 04:22:56 Step 24/24 : LABEL version=0.0.0 04:22:56 ---> Running in b41047f0fc09 04:22:57 Removing intermediate container b41047f0fc09 04:22:57 ---> 59f8fafd58a8 04:22:57 [Warning] One or more build-args [ARCH] were not consumed 04:22:57 Successfully built 59f8fafd58a8 04:22:57 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:57 04:22:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:58 arm64: Pulling from edgex-lftools-log-publisher 04:22:58 448f6bf000e3: Pulling fs layer 04:22:58 f757da607395: Pulling fs layer 04:22:58 05883995daec: Pulling fs layer 04:22:58 8603b9c90790: Pulling fs layer 04:22:58 1560dd03e051: Pulling fs layer 04:22:58 27f5ce0e4adf: Pulling fs layer 04:22:58 c2d8d7efcc4b: Pulling fs layer 04:22:58 27f5ce0e4adf: Waiting 04:22:58 c2d8d7efcc4b: Waiting 04:22:58 1560dd03e051: Waiting 04:22:58 f757da607395: Verifying Checksum 04:22:58 f757da607395: Download complete 04:22:58 8603b9c90790: Verifying Checksum 04:22:58 8603b9c90790: Download complete 04:22:58 1560dd03e051: Verifying Checksum 04:22:58 1560dd03e051: Download complete 04:22:58 27f5ce0e4adf: Verifying Checksum 04:22:58 27f5ce0e4adf: Download complete 04:22:58 05883995daec: Verifying Checksum 04:22:58 05883995daec: Download complete 04:22:59 448f6bf000e3: Verifying Checksum 04:22:59 448f6bf000e3: Download complete 04:23:01 c2d8d7efcc4b: Verifying Checksum 04:23:01 c2d8d7efcc4b: Download complete 04:23:02 448f6bf000e3: Pull complete 04:23:03 f757da607395: Pull complete 04:23:05 05883995daec: Pull complete 04:23:05 8603b9c90790: Pull complete 04:23:06 1560dd03e051: Pull complete 04:23:06 27f5ce0e4adf: Pull complete 04:23:21 c2d8d7efcc4b: Pull complete 04:23:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:23:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:21 prd-ubuntu18.04-docker-arm64-4c-16g-27 does not seem to be running inside a container 04:23: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:23:24 $ docker top a5190302e6ab73f9fafd56df0a4c1f778739b491a8eedb96bd3297be3b8a02a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:26 ---> job-cost.sh 04:23:26 lf-activate-venv: SKIPPING 04:23:26 INFO: No Stack... 04:23:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:28 INFO: Archiving Costs [Pipeline] sh 04:23:29 + cut -d, -f6 04:23:29 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:23:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] 04:23:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] did not exist. Created. 04:23:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:30 /w/workspace/device-sdk-go/1@tmp/durable-0fd4fdcb/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-0fd4fdcb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:31 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:31 Warning: overwriting stash ‘stack-cost’ 04:23:31 Stashed 1 file(s) [Pipeline] } 04:23:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1064-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:31 $ docker stop --time=1 a5190302e6ab73f9fafd56df0a4c1f778739b491a8eedb96bd3297be3b8a02a4 04:23:32 $ docker rm -f a5190302e6ab73f9fafd56df0a4c1f778739b491a8eedb96bd3297be3b8a02a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:23:33 provisioning config files... 04:23:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/config4998015305148494907tmp [Pipeline] { [Pipeline] sh 04:23:34 + set +x 04:23:34 + bash -s -- 04:23:34 + curl -s https://codecov.io/bash 04:23:34 04:23:34 _____ _ 04:23:34 / ____| | | 04:23:34 | | ___ __| | ___ ___ _____ __ 04:23:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:34 Bash-1.0.6 04:23:34 04:23:34 04:23:34 ==> git version 2.24.4 found 04:23:34 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:23:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:23:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:23:34 ==> Jenkins CI detected. 04:23:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1064 04:23:34 project root: . 04:23:34 --> token set from env 04:23:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:34 ==> Running gcov in . (disable via -X gcov) 04:23:34 ==> Python coveragepy not found 04:23:34 ==> Searching for coverage reports in: 04:23:34 + . 04:23:34 -> Found 1 reports 04:23:34 ==> Detecting git/mercurial file structure 04:23:34 ==> Reading reports 04:23:34 + ./coverage.out bytes=128369 04:23:34 ==> Appending adjustments 04:23:34 https://docs.codecov.io/docs/fixing-reports 04:23:34 + Found adjustments 04:23:34 ==> Gzipping contents 04:23:34 16K /tmp/codecov.VsA8cG.gz 04:23:34 ==> Uploading reports 04:23:34 url: https://codecov.io 04:23:34 query: branch=PR-1064&commit=f508cae3723960d2472d3e02e611b123bac0cc41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1064%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1064&job=&cmd_args= 04:23:34 -> Pinging Codecov 04:23:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1064&commit=f508cae3723960d2472d3e02e611b123bac0cc41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1064%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1064&job=&cmd_args= 04:23:34 -> Uploading to 04:23:34 https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/f508cae3723960d2472d3e02e611b123bac0cc41/89a68dba-3e4d-4cef-b5fb-075a8de3956b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T042334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=554dbbcb6f8125701074d35294e987fdcd41b7507a0dc622d0d19923c08e9aef 04:23:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:35 Dload Upload Total Spent Left Speed 04:23:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16330 0 0 100 16330 0 46794 --:--:-- --:--:-- --:--:-- 46925 04:23:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f508cae3723960d2472d3e02e611b123bac0cc41 [Pipeline] } 04:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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:23:37 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1064/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:23:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:38 ---> package-listing.sh 04:23:38 ++ facter osfamily 04:23:38 ++ tr '[:upper:]' '[:lower:]' 04:23:38 + OS_FAMILY=redhat 04:23:38 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1064 04:23:38 + START_PACKAGES=/tmp/packages_start.txt 04:23:38 + END_PACKAGES=/tmp/packages_end.txt 04:23:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:38 + PACKAGES=/tmp/packages_start.txt 04:23:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1064 ']' 04:23:38 + PACKAGES=/tmp/packages_end.txt 04:23:38 + case "${OS_FAMILY}" in 04:23:38 + sort 04:23:38 + rpm -qa 04:23:39 + '[' -f /tmp/packages_start.txt ']' 04:23:39 + '[' -f /tmp/packages_end.txt ']' 04:23:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1064 ']' 04:23:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1064/archives/ 04:23:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1064/archives/ [Pipeline] echo 04:23:39 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-1064/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:40 04:23:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:40 latest: Pulling from edgex-lftools-log-publisher 04:23:40 b4d181a07f80: Pulling fs layer 04:23:40 a1111a8f2ec3: Pulling fs layer 04:23:40 ed53099fbce6: Pulling fs layer 04:23:40 dc539afda2c1: Pulling fs layer 04:23:40 77bc0d833cb6: Pulling fs layer 04:23:40 9065ff56babe: Pulling fs layer 04:23:40 d287ab97295c: Pulling fs layer 04:23:40 77bc0d833cb6: Waiting 04:23:40 dc539afda2c1: Waiting 04:23:40 9065ff56babe: Waiting 04:23:40 d287ab97295c: Waiting 04:23:40 a1111a8f2ec3: Verifying Checksum 04:23:40 a1111a8f2ec3: Download complete 04:23:40 dc539afda2c1: Verifying Checksum 04:23:40 dc539afda2c1: Download complete 04:23:40 ed53099fbce6: Verifying Checksum 04:23:40 ed53099fbce6: Download complete 04:23:40 9065ff56babe: Verifying Checksum 04:23:40 9065ff56babe: Download complete 04:23:40 77bc0d833cb6: Verifying Checksum 04:23:40 77bc0d833cb6: Download complete 04:23:40 b4d181a07f80: Verifying Checksum 04:23:40 b4d181a07f80: Download complete 04:23:41 d287ab97295c: Verifying Checksum 04:23:41 d287ab97295c: Download complete 04:23:42 b4d181a07f80: Pull complete 04:23:42 a1111a8f2ec3: Pull complete 04:23:43 ed53099fbce6: Pull complete 04:23:43 dc539afda2c1: Pull complete 04:23:43 77bc0d833cb6: Pull complete 04:23:43 9065ff56babe: Pull complete 04:23:48 d287ab97295c: Pull complete 04:23:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:23:48 prd-centos7-docker-4c-2g-14 does not seem to be running inside a container 04:23:48 $ 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-1064/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-1064 -v /w/workspace/gexfoundry_device-sdk-go_PR-1064:/w/workspace/gexfoundry_device-sdk-go_PR-1064:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:23:51 $ docker top 39e820c05c9f2e67eddc70a96245f53f38d2f48a30130935718ae40133c4b9e8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:51 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:52 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:52 + ls /var/log/sa-host 04:23:52 + sadf -c /var/log/sa-host/sa11 04:23:52 file_magic: OK 04:23:52 HZ: Using current value: 100 04:23:52 file_header: OK 04:23:52 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:23:52 Statistics: 04:23:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:52 File successfully converted to sysstat format version 12.0.3 04:23:52 + sadf -c /var/log/sa-host/sa30 04:23:52 file_magic: OK 04:23:52 HZ: Using current value: 100 04:23:52 file_header: OK 04:23:52 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:23:52 Statistics: 04:23:52 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:52 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:52 provisioning config files... 04:23:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1064@tmp/config6010698876604621487tmp [Pipeline] { [Pipeline] echo 04:23:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:52 ---> create-netrc.sh [Pipeline] } 04:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:53 ---> python-tools-install.sh [Pipeline] echo 04:23:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:53 ---> sudo-logs.sh 04:23:53 Archiving 'sudo' log.. 04:23:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-14.novalocal: Name or service not known 04:23:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-14.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:23:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:54 ---> job-cost.sh 04:23:54 lf-activate-venv: SKIPPING 04:23:54 DEBUG: total: 0.10999999940395355 04:23:54 INFO: Retrieving Stack Cost... 04:23:54 INFO: Retrieving Pricing Info for: v3-standard-2 04:23:55 INFO: Archiving Costs [Pipeline] echo 04:23:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:55 ---> logs-deploy.sh 04:23:55 lf-activate-venv: SKIPPING 04:23:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1064/1 04:23:55 INFO: archiving workspace using pattern(s): 04:23:55 Archives upload complete. 04:23:55 INFO: archiving logs to Nexus 04:23:56 ---> uname -a: 04:23:56 Linux prd-centos7-docker-4c-2g-14.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:23:56 04:23:56 04:23:56 ---> lscpu: 04:23:56 Architecture: x86_64 04:23:56 CPU op-mode(s): 32-bit, 64-bit 04:23:56 Byte Order: Little Endian 04:23:56 Address sizes: 40 bits physical, 48 bits virtual 04:23:56 CPU(s): 2 04:23:56 On-line CPU(s) list: 0,1 04:23:56 Thread(s) per core: 1 04:23:56 Core(s) per socket: 1 04:23:56 Socket(s): 2 04:23:56 NUMA node(s): 1 04:23:56 Vendor ID: AuthenticAMD 04:23:56 CPU family: 23 04:23:56 Model: 49 04:23:56 Model name: AMD EPYC-Rome Processor 04:23:56 Stepping: 0 04:23:56 CPU MHz: 2799.998 04:23:56 BogoMIPS: 5599.99 04:23:56 Virtualization: AMD-V 04:23:56 Hypervisor vendor: KVM 04:23:56 Virtualization type: full 04:23:56 L1d cache: 32K 04:23:56 L1i cache: 32K 04:23:56 L2 cache: 512K 04:23:56 L3 cache: 16384K 04:23:56 NUMA node0 CPU(s): 0,1 04:23:56 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:23:56 04:23:56 04:23:56 ---> nproc: 04:23:56 2 04:23:56 04:23:56 04:23:56 ---> df -h: 04:23:56 Filesystem Size Used Avail Use% Mounted on 04:23:56 overlay 40G 7.7G 33G 20% / 04:23:56 tmpfs 64M 0 64M 0% /dev 04:23:56 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:23:56 shm 64M 0 64M 0% /dev/shm 04:23:56 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:23:56 04:23:56 04:23:56 ---> sar -b -r -n DEV: 04:23:56 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/11/21 _x86_64_ (2 CPU) 04:23:56 04:23:56 04:11:23 LINUX RESTART (2 CPU) 04:23:56 04:23:56 04:12:01 tps rtps wtps bread/s bwrtn/s 04:23:56 04:13:01 15.15 0.77 14.39 334.07 2551.98 04:23:56 04:14:01 0.37 0.00 0.37 0.00 5.93 04:23:56 04:15:01 0.25 0.00 0.25 0.00 3.90 04:23:56 04:16:01 0.22 0.00 0.22 0.00 3.15 04:23:56 04:17:01 0.20 0.00 0.20 0.00 2.62 04:23:56 04:18:02 0.32 0.00 0.32 0.00 5.25 04:23:56 04:19:01 0.25 0.00 0.25 0.00 2.74 04:23:56 04:20:01 0.28 0.00 0.28 0.00 3.25 04:23:56 04:21:01 0.23 0.00 0.23 0.00 2.57 04:23:56 04:22:01 0.17 0.00 0.17 0.00 1.75 04:23:56 04:23:01 0.25 0.00 0.25 0.00 3.50 04:23:56 Average: 1.61 0.07 1.54 30.43 235.60 04:23:56 04:23:56 04:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:23:56 04:13:01 5690420 0 616292 7.70 2620 1699608 1218264 13.45 562808 1522812 20 04:23:56 04:14:01 5690024 0 616684 7.70 2620 1699612 1203848 13.29 563092 1522776 16 04:23:56 04:15:01 5692812 0 613892 7.67 2620 1699616 1201792 13.27 560116 1523132 12 04:23:56 04:16:01 5691556 0 615144 7.68 2620 1699620 1197680 13.22 561676 1523128 8 04:23:56 04:17:01 5693832 0 612864 7.65 2620 1699624 1197740 13.22 558356 1523856 20 04:23:56 04:18:02 5694004 0 612688 7.65 2620 1699628 1197752 13.22 558376 1523856 8 04:23:56 04:19:01 5697824 0 608864 7.60 2620 1699632 1166624 12.88 554872 1523984 8 04:23:56 04:20:01 5689112 0 617568 7.71 2620 1699640 1166624 12.88 563664 1523984 12 04:23:56 04:21:01 5689192 0 617488 7.71 2620 1699640 1166624 12.88 565288 1522400 8 04:23:56 04:22:01 5687812 0 618860 7.73 2620 1699648 1166732 12.88 567148 1522404 8 04:23:56 04:23:01 5680480 0 626192 7.82 2620 1699648 1166624 12.88 574244 1522400 20 04:23:56 Average: 5690643 0 616049 7.69 2620 1699629 1186391 13.10 562695 1523157 13 04:23:56 04:23:56 04:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:23:56 04:13:01 eth0 54.71 41.79 343.05 13.09 0.00 0.00 0.00 0.00 04:23:56 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:13:01 docker0 9.82 6.04 1.78 29.75 0.00 0.00 0.00 0.00 04:23:56 04:14:01 eth0 5.28 0.85 1.20 0.62 0.00 0.00 0.00 0.00 04:23:56 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:15:01 eth0 3.78 0.97 1.24 0.78 0.00 0.00 0.00 0.00 04:23:56 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:16:01 eth0 3.01 0.70 0.94 0.55 0.00 0.00 0.00 0.00 04:23:56 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:17:01 eth0 1.65 1.00 0.94 0.66 0.00 0.00 0.00 0.00 04:23:56 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:18:02 eth0 0.53 0.32 0.27 0.23 0.00 0.00 0.00 0.00 04:23:56 04:18:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:18:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:19:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:56 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:20:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:56 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:21:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:56 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:22:01 eth0 0.55 0.22 0.16 0.07 0.00 0.00 0.00 0.00 04:23:56 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:23:01 eth0 0.27 0.12 0.02 0.01 0.00 0.00 0.00 0.00 04:23:56 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 Average: eth0 6.40 4.21 31.68 1.46 0.00 0.00 0.00 0.00 04:23:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:56 Average: docker0 0.89 0.55 0.16 2.71 0.00 0.00 0.00 0.00 04:23:56 04:23:56 04:23:56 ---> sar -P ALL: 04:23:56 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/11/21 _x86_64_ (2 CPU) 04:23:56 04:23:56 04:11:23 LINUX RESTART (2 CPU) 04:23:56 04:23:56 04:12:01 CPU %user %nice %system %iowait %steal %idle 04:23:56 04:13:01 all 2.61 0.00 1.10 0.22 0.03 96.04 04:23:56 04:13:01 0 2.82 0.00 1.11 0.40 0.03 95.63 04:23:56 04:13:01 1 2.40 0.00 1.09 0.03 0.03 96.44 04:23:56 04:14:01 all 0.25 0.00 0.07 0.00 0.01 99.67 04:23:56 04:14:01 0 0.42 0.00 0.05 0.00 0.00 99.53 04:23:56 04:14:01 1 0.08 0.00 0.08 0.00 0.02 99.82 04:23:56 04:15:01 all 0.28 0.00 0.06 0.00 0.03 99.64 04:23:56 04:15:01 0 0.43 0.00 0.05 0.00 0.02 99.50 04:23:56 04:15:01 1 0.12 0.00 0.07 0.00 0.03 99.78 04:23:56 04:16:01 all 0.28 0.00 0.05 0.00 0.02 99.66 04:23:56 04:16:01 0 0.08 0.00 0.03 0.00 0.02 99.87 04:23:56 04:16:01 1 0.47 0.00 0.07 0.00 0.02 99.45 04:23:56 04:17:01 all 0.28 0.00 0.06 0.00 0.02 99.64 04:23:56 04:17:01 0 0.10 0.00 0.07 0.00 0.02 99.82 04:23:56 04:17:01 1 0.47 0.00 0.05 0.00 0.02 99.47 04:23:56 04:18:02 all 0.23 0.00 0.06 0.00 0.01 99.70 04:23:56 04:18:02 0 0.05 0.00 0.03 0.00 0.00 99.92 04:23:56 04:18:02 1 0.42 0.00 0.08 0.00 0.02 99.48 04:23:56 04:19:01 all 0.26 0.00 0.06 0.00 0.02 99.66 04:23:56 04:19:01 0 0.44 0.00 0.03 0.00 0.02 99.51 04:23:56 04:19:01 1 0.08 0.00 0.08 0.00 0.02 99.81 04:23:56 04:20:01 all 0.22 0.00 0.04 0.00 0.01 99.73 04:23:56 04:20:01 0 0.38 0.00 0.03 0.00 0.00 99.58 04:23:56 04:20:01 1 0.05 0.00 0.05 0.00 0.02 99.88 04:23:56 04:21:01 all 0.25 0.00 0.03 0.00 0.02 99.70 04:23:56 04:21:01 0 0.42 0.00 0.00 0.00 0.02 99.57 04:23:56 04:21:01 1 0.08 0.00 0.07 0.00 0.02 99.83 04:23:56 04:22:01 all 0.23 0.00 0.06 0.00 0.02 99.69 04:23:56 04:22:01 0 0.25 0.00 0.03 0.00 0.02 99.70 04:23:56 04:22:01 1 0.22 0.00 0.08 0.00 0.02 99.68 04:23:56 04:23:01 all 0.24 0.00 0.03 0.00 0.02 99.71 04:23:56 04:23:01 0 0.07 0.00 0.02 0.00 0.02 99.90 04:23:56 04:23:01 1 0.42 0.00 0.05 0.00 0.02 99.52 04:23:56 04:23:56 Average: CPU %user %nice %system %iowait %steal %idle 04:23:56 Average: all 0.47 0.00 0.15 0.02 0.02 99.35 04:23:56 Average: 0 0.50 0.00 0.13 0.04 0.01 99.32 04:23:56 Average: 1 0.44 0.00 0.16 0.00 0.02 99.38 04:23:56 04:23:56 04:23:56