Pull request #1065 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e588cde4f003785b9f05c08f4335de82a37da285+26056eb6751852d3be2b177fe263ccb57def27d1 (b48ae6804bda081dc59a714a0fe84359f120f308) 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-ssh8259056962738764773.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-ssh6078377847240014497.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-1065/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-1065/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6134080564448442634.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-1065/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh942051280555011393.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-ssh4454425822775646072.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-1065/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-1065/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8549089872759443539.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11’ Running on prd-centos7-docker-4c-2g-13 in /w/workspace/gexfoundry_device-sdk-go_PR-1065 [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-1065 # 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-1065@tmp/jenkins-gitclient-ssh2601590833517676100.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit e588cde4f003785b9f05c08f4335de82a37da285 Merge succeeded, producing e588cde4f003785b9f05c08f4335de82a37da285 Checking out Revision e588cde4f003785b9f05c08f4335de82a37da285 (PR-1065) > 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-1065@tmp/jenkins-gitclient-ssh7709808186554858910.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1065/head:refs/remotes/origin/PR-1065 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # 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-1065@tmp/jenkins-gitclient-ssh2446103988333025214.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 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:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:11:56 ========================================================= 04:11:56 EdgeX Global Pipelines Version Info 04:11:56 ========================================================= [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:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:11:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:11:58 [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:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1065 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1065 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1065 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e588cde4f003785b9f05c08f4335de82a37da285 [Pipeline] echo 04:11:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e588cde [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-1065@tmp/config1545061503089031003tmp [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: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 nexus3.edgexfoundry.org:10003 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 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 e588cde4f003785b9f05c08f4335de82a37da285~1..e588cde4f003785b9f05c08f4335de82a37da285 [Pipeline] echo 04:12:01 -----------> git rev-list -1 --merges e588cde4f003785b9f05c08f4335de82a37da285~1..e588cde4f003785b9f05c08f4335de82a37da285 e588cde4f003785b9f05c08f4335de82a37da285 [false] [Pipeline] sh 04:12:01 + git log --format=format:%s -1 e588cde4f003785b9f05c08f4335de82a37da285 [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:02 + git log --format=format:%s -1 e588cde4f003785b9f05c08f4335de82a37da285 [Pipeline] echo 04:12:02 [semverPrep] GIT_COMMIT: e588cde4f003785b9f05c08f4335de82a37da285, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:12:02 [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-13 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-1065 -v /w/workspace/gexfoundry_device-sdk-go_PR-1065:/w/workspace/gexfoundry_device-sdk-go_PR-1065:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:12:04 $ docker top 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 -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 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 ssh-agent 04:12:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgPkJKJ/agent.14 04:12:04 SSH_AGENT_PID=21 04:12:04 Running ssh-add (command line suppressed) 04:12:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/private_key_995735053374768477.key (/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/private_key_995735053374768477.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 ******** 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 ssh-agent -k 04:12:05 unset SSH_AUTH_SOCK; 04:12:05 unset SSH_AGENT_PID; 04:12:05 echo Agent pid 21 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 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 ssh-agent 04:12:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaBbACA/agent.56 04:12:05 SSH_AGENT_PID=62 04:12:05 Running ssh-add (command line suppressed) 04:12:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/private_key_7778514537374311816.key (/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/private_key_7778514537374311816.key) 04:12:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:06 + git semver init 04:12:06 # -> Open(): unable to determine branch for HEAD 04:12:06 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1065/.git 04:12:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1065 04:12:06 # $SEMVER_REMOTE_NAME = origin 04:12:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:12:06 # $SEMVER_USER_NAME = edgex-jenkins 04:12:06 # $SEMVER_BRANCH = PR-1065 04:12:06 # $SEMVER_TEMP = /tmp/semver-612908514 04:12:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:12:07 # '/tmp/semver-612908514' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1065/.semver' 04:12:07 # -> Force: false 04:12:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1065/.semver [Pipeline] } 04:12:07 $ docker exec --env ******** --env ******** 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 ssh-agent -k 04:12:07 unset SSH_AUTH_SOCK; 04:12:07 unset SSH_AGENT_PID; 04:12:07 echo Agent pid 62 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 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 04:12:08 $ docker rm -f 4013e131550f851417e7c8c260dc8d1dd674097cd5699424fe195b5bc1249301 [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-23 in /w/workspace/gexfoundry_device-sdk-go_PR-1065 [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:13 using credential edgex-jenkins-ssh 04:13:13 Cloning the remote Git repository 04:13:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:13:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:13:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:13:13 > git --version # timeout=10 04:13:13 > git --version # 'git version 2.24.4' 04:13:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:13 [INFO] Currently running in a labeled security context 04:13:13 [INFO] Currently SELinux is 'enforcing' on the host 04:13:13 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh39675831653792660.key 04:13:13 > 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-ssh5391292884209634041.key 04:13:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1065/head:refs/remotes/origin/PR-1065 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:13:15 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit e588cde4f003785b9f05c08f4335de82a37da285 04:13:15 Merge succeeded, producing e588cde4f003785b9f05c08f4335de82a37da285 04:13:15 Checking out Revision e588cde4f003785b9f05c08f4335de82a37da285 (PR-1065) 04:13:14 > git config core.sparsecheckout # timeout=10 04:13:14 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # timeout=10 04:13:14 > git remote # timeout=10 04:13:14 > git config --get remote.origin.url # timeout=10 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-ssh297466695722172405.key 04:13:14 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:13:14 > git rev-parse HEAD^{commit} # timeout=10 04:13:14 > git config core.sparsecheckout # timeout=10 04:13:14 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # timeout=10 04:13:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:13:18 > git --version # timeout=10 04:13:18 > git --version # 'git version 2.24.4' 04:13:18 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/config253666916175174946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:19 ---> docker-login.sh 04:13:19 nexus3.edgexfoundry.org:10001 04:13:19 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: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-login.sh ends [Pipeline] } 04:13:20 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:21 + 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:21 Sending build context to Docker daemon 2.76MB 04:13:21 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:13:21 Step 2/10 : FROM ${BASE} AS builder 04:13:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:13:21 a0d0a0d46f8b: Pulling fs layer 04:13:21 31adcdaf11c8: Pulling fs layer 04:13:21 b8b176561691: Pulling fs layer 04:13:21 4527c011a84f: Pulling fs layer 04:13:21 5d74067f8e1e: Pulling fs layer 04:13:21 e0aca202a116: Pulling fs layer 04:13:21 3a43be97a3b4: Pulling fs layer 04:13:21 34cad66bf833: Pulling fs layer 04:13:21 b4e3c513aaa6: Pulling fs layer 04:13:21 4527c011a84f: Waiting 04:13:21 5d74067f8e1e: Waiting 04:13:21 e0aca202a116: Waiting 04:13:21 34cad66bf833: Waiting 04:13:21 3a43be97a3b4: Waiting 04:13:21 b4e3c513aaa6: Waiting 04:13:21 b8b176561691: Verifying Checksum 04:13:21 b8b176561691: Download complete 04:13:21 31adcdaf11c8: Verifying Checksum 04:13:21 31adcdaf11c8: Download complete 04:13:21 5d74067f8e1e: Verifying Checksum 04:13:21 5d74067f8e1e: Download complete 04:13:21 e0aca202a116: Verifying Checksum 04:13:21 e0aca202a116: Download complete 04:13:21 3a43be97a3b4: Verifying Checksum 04:13:21 3a43be97a3b4: Download complete 04:13:21 a0d0a0d46f8b: Verifying Checksum 04:13:21 a0d0a0d46f8b: Download complete 04:13:21 34cad66bf833: Verifying Checksum 04:13:21 34cad66bf833: Download complete 04:13:22 a0d0a0d46f8b: Pull complete 04:13:22 4527c011a84f: Verifying Checksum 04:13:22 4527c011a84f: Download complete 04:13:22 b4e3c513aaa6: Verifying Checksum 04:13:22 b4e3c513aaa6: Download complete 04:13:22 31adcdaf11c8: Pull complete 04:13:22 b8b176561691: Pull complete 04:13:26 4527c011a84f: Pull complete 04:13:26 5d74067f8e1e: Pull complete 04:13:26 e0aca202a116: Pull complete 04:13:26 3a43be97a3b4: Pull complete 04:13:26 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:32 ---> Running in b47233609413 04:13:33 Removing intermediate container b47233609413 04:13:33 ---> 0b0b2c019cfb 04:13:33 Step 4/10 : WORKDIR /device-sdk-go 04:13:33 ---> Running in 4de785731e95 04:13:33 Removing intermediate container 4de785731e95 04:13:33 ---> 8ccf91aecb10 04:13:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:33 ---> Running in 67c4a62a72e1 04:13:33 Removing intermediate container 67c4a62a72e1 04:13:33 ---> b4908a908a01 04:13:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:33 ---> Running in 4f3501774809 04:13:34 Removing intermediate container 4f3501774809 04:13:34 ---> f81ee4e9a3d0 04:13:34 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:34 ---> Running in e20ca44a8fca 04:13:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:13:35 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:36 Removing intermediate container e20ca44a8fca 04:13:36 ---> 81251f362d9c 04:13:36 Step 8/10 : COPY . . 04:13:36 ---> 603cee8593d3 04:13:36 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:36 ---> Running in c6c5e37f1300 04:14:15 Removing intermediate container c6c5e37f1300 04:14:15 ---> 6cd2d585d6b2 04:14:15 Step 10/10 : RUN ${MAKE} 04:14:15 ---> Running in b34a98acf739 04:14:15 noop 04:14:15 Removing intermediate container b34a98acf739 04:14:15 ---> cb093fb9e064 04:14:15 Successfully built cb093fb9e064 04:14:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:14:15 + docker inspect -f . ci-base-image-x86_64 04:14:15 . [Pipeline] withDockerContainer 04:14:15 prd-centos7-docker-4c-2g-23 does not seem to be running inside a container 04:14:15 $ 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:16 $ docker top abc6a7ee59cc0222a915848a4d4a440d92e933f0c3cf1d97356ab63ae4a894b7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:16 + go version 04:14:16 go version go1.16.8 linux/amd64 [Pipeline] } 04:14:16 $ docker stop --time=1 abc6a7ee59cc0222a915848a4d4a440d92e933f0c3cf1d97356ab63ae4a894b7 04:14:17 $ docker rm -f abc6a7ee59cc0222a915848a4d4a440d92e933f0c3cf1d97356ab63ae4a894b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:14:18 + docker inspect -f . ci-base-image-x86_64 04:14:18 . [Pipeline] withDockerContainer 04:14:18 prd-centos7-docker-4c-2g-23 does not seem to be running inside a container 04:14:18 $ 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 38496b458737153073352faa2fd639e77d8e369622698b9712ceab6891fc006b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:14:19 + make test 04:14:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:14:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.3% of statements 04:14:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 27.6% of statements 04:14:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements 04:14:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements 04:14:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:14:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:14:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:14:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements 04:14:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:14:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements 04:14:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:14:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:14:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 57.8% of statements 04:14:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.815s coverage: 89.2% of statements 04:14:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.8% of statements 04:14:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:52 GO111MODULE=on go vet ./... 04:14:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31 in /w/workspace/gexfoundry_device-sdk-go_PR-1065 [Pipeline] { [Pipeline] ws 04:14:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:14:59 Selected Git installation does not exist. Using Default 04:14:59 The recommended git tool is: NONE 04:15:06 using credential edgex-jenkins-ssh 04:15:06 Cloning the remote Git repository 04:15:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:15:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:15:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:15:07 > git --version # timeout=10 04:15:07 > git --version # 'git version 2.17.1' 04:15:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:15:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:15:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:15:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1065/head:refs/remotes/origin/PR-1065 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:15:09 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit e588cde4f003785b9f05c08f4335de82a37da285 04:15:09 Merge succeeded, producing e588cde4f003785b9f05c08f4335de82a37da285 04:15:09 Checking out Revision e588cde4f003785b9f05c08f4335de82a37da285 (PR-1065) 04:15:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:10 ./bin/test-attribution-txt.sh [Pipeline] } 04:15:10 $ docker stop --time=1 38496b458737153073352faa2fd639e77d8e369622698b9712ceab6891fc006b 04:15:09 > git config core.sparsecheckout # timeout=10 04:15:09 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # timeout=10 04:15:09 > git remote # timeout=10 04:15:09 > git config --get remote.origin.url # timeout=10 04:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:09 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:15:09 > git rev-parse HEAD^{commit} # timeout=10 04:15:09 > git config core.sparsecheckout # timeout=10 04:15:09 > git checkout -f e588cde4f003785b9f05c08f4335de82a37da285 # timeout=10 04:15:11 $ docker rm -f 38496b458737153073352faa2fd639e77d8e369622698b9712ceab6891fc006b [Pipeline] // withDockerContainer [Pipeline] sh 04:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:13 + ls -al . 04:15:13 total 264 04:15:13 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 04:15 . 04:15:13 drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 04:13 .. 04:15:13 drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 04:13 bin 04:15:13 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 11 04:13 CHANGELOG.md 04:15:13 -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 04:14 coverage.out 04:15:13 -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 04:13 .dockerignore 04:15:13 drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 04:13 example 04:15:13 drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 04:13 .git 04:15:13 drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 04:13 .github 04:15:13 -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 04:13 .gitignore 04:15:13 -rw-rw-r--. 1 jenkins jenkins 602 Nov 11 04:13 go.mod 04:15:13 -rw-rw-r--. 1 jenkins jenkins 49140 Nov 11 04:13 go.sum 04:15:13 -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 04:13 GOVERNANCE.md 04:15:13 drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 04:13 internal 04:15:13 -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 04:13 Jenkinsfile 04:15:13 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 04:13 LICENSE 04:15:13 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 04:13 Makefile 04:15:13 drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 04:13 openapi 04:15:13 -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 04:13 OWNERS.md 04:15:13 drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 04:13 pkg 04:15:13 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 04:13 README.md 04:15:13 drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 04:13 snap 04:15:13 -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 04:12 VERSION 04:15:13 -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 04:13 version.go [Pipeline] isUnix [Pipeline] sh 04:15:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:15:14 > git --version # timeout=10 04:15:14 > git --version # 'git version 2.17.1' 04:15:14 fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 04:15:14 + 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=e588cde4f003785b9f05c08f4335de82a37da285 --label arch=amd64 --label version=0.0.0 . 04:15:14 Sending build context to Docker daemon 2.889MB 04:15:14 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:15:14 Step 2/24 : FROM ${BASE} AS builder 04:15:14 ---> cb093fb9e064 04:15:14 Step 3/24 : ARG MAKE=make build 04:15:14 ---> Running in 00d700ebaf98 [Pipeline] withEnv 04:15:14 Removing intermediate container 00d700ebaf98 04:15:14 ---> e84b500daffc 04:15:14 Step 4/24 : WORKDIR /device-sdk-go 04:15:14 ---> Running in 8e3c3ecef165 04:15:14 Removing intermediate container 8e3c3ecef165 04:15:14 ---> d379bbcf71eb 04:15:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:14 ---> Running in 72e9243436ab 04:15:14 Removing intermediate container 72e9243436ab 04:15:14 ---> dfc6c6b95516 04:15:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:14 ---> Running in 0d0d499d0660 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:14 Removing intermediate container 0d0d499d0660 04:15:14 ---> 5c16a18b74ef 04:15:14 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:14 ---> Running in e6c6d6427ab7 04:15:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:15 Dload Upload Total Spent Left Speed 04:15:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 04:15:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:15 + + sudo tee /etc/docker/daemon.newsudo 04:15:15 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:15 { 04:15:15 "registry-mirrors": [ 04:15:15 "https://nexus3.edgexfoundry.org:10001" 04:15:15 ], 04:15:15 "bip": "10.250.0.254/24", 04:15:15 "hosts": [ 04:15:15 "tcp://0.0.0.0:5555", 04:15:15 "unix:///var/run/docker.sock" 04:15:15 ], 04:15:15 "mtu": 1458, 04:15:15 "selinux-enabled": true, 04:15:15 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:15 } [Pipeline] sh 04:15:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:15:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:16 OK: 220 MiB in 52 packages 04:15:16 + sudo service docker restart 04:15:16 Removing intermediate container e6c6d6427ab7 04:15:16 ---> e49831cfdbfc 04:15:16 Step 8/24 : COPY . . 04:15:16 ---> 9f3c4b437c6c 04:15:16 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:16 ---> Running in 41ad6ab32f67 04:15:17 Removing intermediate container 41ad6ab32f67 04:15:17 ---> 238971ce7464 04:15:17 Step 10/24 : RUN ${MAKE} 04:15:17 ---> Running in 044ea7dfeef6 04:15:17 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:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:15:29 Removing intermediate container 044ea7dfeef6 04:15:29 ---> 8979dfe85376 04:15:29 Step 11/24 : FROM alpine:3.14 04:15:33 3.14: Pulling from library/alpine 04:15:33 a0d0a0d46f8b: Already exists 04:15:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:15:33 Status: Downloaded newer image for alpine:3.14 04:15:33 ---> 14119a10abf4 04:15:33 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:33 ---> Running in 88a629155a01 04:15:33 Removing intermediate container 88a629155a01 04:15:33 ---> 4df01e12fc04 04:15:33 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:33 ---> Running in 78881ce206db 04:15:33 Removing intermediate container 78881ce206db 04:15:33 ---> eed6db9669f3 04:15:33 Step 14/24 : RUN apk add --update --no-cache zeromq 04:15:33 ---> Running in cb8a6761d022 04:15:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:35 provisioning config files... 04:15:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2972399900419300700tmp [Pipeline] { 04:15:35 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:15:35 (2/5) Installing libsodium (1.0.18-r0) 04:15:35 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [Pipeline] libraryResource [Pipeline] sh 04:15:35 (4/5) Installing libzmq (4.3.4-r0) 04:15:35 (5/5) Installing zeromq (4.3.4-r0) 04:15:35 Executing busybox-1.33.1-r3.trigger 04:15:35 OK: 8 MiB in 19 packages 04:15:35 ---> docker-login.sh 04:15:35 nexus3.edgexfoundry.org:10001 04:15:35 Removing intermediate container cb8a6761d022 04:15:35 ---> 599f057598ee 04:15:35 Step 15/24 : WORKDIR / 04:15:35 ---> Running in 04ee2dd83858 04:15:35 Removing intermediate container 04ee2dd83858 04:15:35 ---> bc3b070ae2cd 04:15:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:15:35 ---> dfc44727f763 04:15:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 ---> 9c570dab0098 04:15:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:15:36 ---> 86a84bed9c4c 04:15:36 Step 19/24 : EXPOSE 59999 04:15:36 ---> Running in 9a6b4ad932d7 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 nexus3.edgexfoundry.org:10002 04:15:36 Removing intermediate container 9a6b4ad932d7 04:15:36 ---> fb7b090e7494 04:15:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:15:36 ---> Running in 68a03b2518fa 04:15:36 Removing intermediate container 68a03b2518fa 04:15:36 ---> 692de7497d9e 04:15:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:15:36 ---> Running in 7dd61629762a 04:15:36 Removing intermediate container 7dd61629762a 04:15:36 ---> 3bb7101ae0dc 04:15:36 Step 22/24 : LABEL arch=amd64 04:15:37 ---> Running in f861ba96824b 04:15:37 Removing intermediate container f861ba96824b 04:15:37 ---> a9a93bf4b8f1 04:15:37 Step 23/24 : LABEL git_sha=e588cde4f003785b9f05c08f4335de82a37da285 04:15:37 ---> Running in e908e8e2f801 04:15:37 Removing intermediate container e908e8e2f801 04:15:37 ---> 1308c517db4e 04:15:37 Step 24/24 : LABEL version=0.0.0 04:15:37 ---> Running in fc297e5bd86c 04:15:37 Removing intermediate container fc297e5bd86c 04:15:37 ---> ea7534be36b1 04:15:37 [Warning] One or more build-args [ARCH] were not consumed 04:15:37 Successfully built ea7534be36b1 04:15:37 Successfully tagged device-sdk-simple:latest [Pipeline] } 04:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:37 Configure a credential helper to remove this warning. See 04:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:37 04:15:37 Login Succeeded 04:15:37 nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:37 Configure a credential helper to remove this warning. See 04:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:37 04:15:37 Login Succeeded 04:15:37 nexus3.edgexfoundry.org:10004 04:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:38 04:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:38 latest: Pulling from edgex-lftools-log-publisher 04:15:38 b4d181a07f80: Pulling fs layer 04:15:38 a1111a8f2ec3: Pulling fs layer 04:15:38 ed53099fbce6: Pulling fs layer 04:15:38 dc539afda2c1: Pulling fs layer 04:15:38 77bc0d833cb6: Pulling fs layer 04:15:38 9065ff56babe: Pulling fs layer 04:15:38 d287ab97295c: Pulling fs layer 04:15:38 77bc0d833cb6: Waiting 04:15:38 9065ff56babe: Waiting 04:15:38 d287ab97295c: Waiting 04:15:38 dc539afda2c1: Waiting 04:15:38 a1111a8f2ec3: Verifying Checksum 04:15:38 a1111a8f2ec3: Download complete 04:15:38 dc539afda2c1: Verifying Checksum 04:15:38 dc539afda2c1: Download complete 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 docker.io 04:15:38 ed53099fbce6: Verifying Checksum 04:15:38 ed53099fbce6: Download complete 04:15:38 77bc0d833cb6: Verifying Checksum 04:15:38 77bc0d833cb6: Download complete 04:15:38 9065ff56babe: Verifying Checksum 04:15:38 9065ff56babe: Download complete 04:15:38 b4d181a07f80: Verifying Checksum 04:15:38 b4d181a07f80: Download complete 04:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:39 d287ab97295c: Verifying Checksum 04:15:39 d287ab97295c: Download complete 04:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:39 Configure a credential helper to remove this warning. See 04:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:39 04:15:39 Login Succeeded 04:15:39 ---> docker-login.sh ends [Pipeline] } 04:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:40 ========================================================= 04:15:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:15:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:40 b4d181a07f80: Pull complete 04:15:40 a1111a8f2ec3: Pull complete 04:15:40 + 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:40 ed53099fbce6: Pull complete 04:15:40 dc539afda2c1: Pull complete 04:15:41 Sending build context to Docker daemon 2.759MB 04:15:41 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:15:41 Step 2/10 : FROM ${BASE} AS builder 04:15:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:41 552d1f2373af: Pulling fs layer 04:15:41 ea3f2d53f512: Pulling fs layer 04:15:41 9e70ebbbe112: Pulling fs layer 04:15:41 7a9cfe048b4a: Pulling fs layer 04:15:41 72dc09318566: Pulling fs layer 04:15:41 f4f7b4309257: Pulling fs layer 04:15:41 0ac9a79272e3: Pulling fs layer 04:15:41 b78e95d17946: Pulling fs layer 04:15:41 7a9cfe048b4a: Waiting 04:15:41 72dc09318566: Waiting 04:15:41 f4f7b4309257: Waiting 04:15:41 0ac9a79272e3: Waiting 04:15:41 b78e95d17946: Waiting 04:15:41 9e70ebbbe112: Verifying Checksum 04:15:41 9e70ebbbe112: Download complete 04:15:41 ea3f2d53f512: Verifying Checksum 04:15:41 72dc09318566: Verifying Checksum 04:15:41 72dc09318566: Download complete 04:15:41 f4f7b4309257: Verifying Checksum 04:15:41 f4f7b4309257: Download complete 04:15:41 0ac9a79272e3: Verifying Checksum 04:15:41 0ac9a79272e3: Download complete 04:15:41 552d1f2373af: Verifying Checksum 04:15:41 552d1f2373af: Download complete 04:15:41 77bc0d833cb6: Pull complete 04:15:41 9065ff56babe: Pull complete 04:15:42 552d1f2373af: Pull complete 04:15:43 ea3f2d53f512: Pull complete 04:15:43 9e70ebbbe112: Pull complete 04:15:43 b78e95d17946: Verifying Checksum 04:15:43 b78e95d17946: Download complete 04:15:43 7a9cfe048b4a: Verifying Checksum 04:15:43 7a9cfe048b4a: Download complete 04:15:46 d287ab97295c: Pull complete 04:15:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:15:46 prd-centos7-docker-4c-2g-23 does not seem to be running inside a container 04:15:46 $ 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:50 $ docker top 7e110ad3b95c7656c0ddbca36af0608fc4b03ae9b492893fdcdd19217b5c973c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:51 ---> job-cost.sh 04:15:51 lf-activate-venv: SKIPPING 04:15:51 INFO: No Stack... 04:15:51 INFO: Retrieving Pricing Info for: v3-standard-2 04:15:52 INFO: Archiving Costs [Pipeline] sh 04:15:52 + cut -d, -f6 04:15:52 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:15:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] 04:15:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] did not exist. Created. 04:15:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:15:52 + echo total: 0.05999999865889549 [Pipeline] stash 04:15:52 Stashed 1 file(s) [Pipeline] } 04:15:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:52 $ docker stop --time=1 7e110ad3b95c7656c0ddbca36af0608fc4b03ae9b492893fdcdd19217b5c973c 04:15:54 7a9cfe048b4a: Pull complete 04:15:54 72dc09318566: Pull complete 04:15:54 $ docker rm -f 7e110ad3b95c7656c0ddbca36af0608fc4b03ae9b492893fdcdd19217b5c973c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:15:54 f4f7b4309257: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:15:54 0ac9a79272e3: Pull complete 04:16:01 b78e95d17946: Pull complete 04:16:01 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:16:01 ---> 8b459fc5aaf0 04:16:01 Step 3/10 : ARG MAKE=make build 04:16:03 ---> Running in ca3342633183 04:16:04 Removing intermediate container ca3342633183 04:16:04 ---> d38387928583 04:16:04 Step 4/10 : WORKDIR /device-sdk-go 04:16:04 ---> Running in 18d6b58f7dc2 04:16:04 Removing intermediate container 18d6b58f7dc2 04:16:04 ---> 80ad6269e298 04:16:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:04 ---> Running in db5989c6e84f 04:16:05 Removing intermediate container db5989c6e84f 04:16:05 ---> 6e892e5deab9 04:16:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:05 ---> Running in 1a6f7441f1f2 04:16:08 Removing intermediate container 1a6f7441f1f2 04:16:08 ---> 2e6a8d0b16a4 04:16:08 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:16:08 ---> Running in e7a84bcc6512 04:16:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:16:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:16:11 OK: 219 MiB in 52 packages 04:16:12 Removing intermediate container e7a84bcc6512 04:16:12 ---> c27d8bb7e9f5 04:16:12 Step 8/10 : COPY . . 04:16:14 ---> 6cb5390c8667 04:16:14 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:14 ---> Running in b2095b3c258f 04:17:51 Removing intermediate container b2095b3c258f 04:17:51 ---> 83ab620c5c16 04:17:51 Step 10/10 : RUN ${MAKE} 04:17:51 ---> Running in 16b16aeff123 04:17:51 noop 04:17:51 Removing intermediate container 16b16aeff123 04:17:51 ---> c30aaebde280 04:17:51 Successfully built c30aaebde280 04:17:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:51 + docker inspect -f . ci-base-image-arm64 04:17:51 . [Pipeline] withDockerContainer 04:17:51 prd-ubuntu18.04-docker-arm64-4c-16g-31 does not seem to be running inside a container 04:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:17:53 $ docker top a737090cc739454a6e38b4cb602c5d250a3476e7992cacd11dccbb647b13f066 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:55 + go version 04:17:55 go version go1.16.8 linux/arm64 [Pipeline] } 04:17:55 $ docker stop --time=1 a737090cc739454a6e38b4cb602c5d250a3476e7992cacd11dccbb647b13f066 04:17:56 $ docker rm -f a737090cc739454a6e38b4cb602c5d250a3476e7992cacd11dccbb647b13f066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:57 + docker inspect -f . ci-base-image-arm64 04:17:57 . [Pipeline] withDockerContainer 04:17:58 prd-ubuntu18.04-docker-arm64-4c-16g-31 does not seem to be running inside a container 04:17:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:17:59 $ docker top 7874981ace2c3cb93f2c9197c175159677b521796810eb117f00715bae746c91 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:18:00 + make test 04:18:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:18:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.432s coverage: 23.3% of statements 04:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.307s coverage: 27.6% of statements 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.304s coverage: 78.9% of statements 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.262s coverage: 9.0% of statements 04:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.391s coverage: 28.7% of statements 04:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.353s coverage: 83.3% of statements 04:20:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.413s coverage: 57.8% of statements 04:20:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.828s coverage: 89.2% of statements 04:20:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:20:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.269s coverage: 4.8% of statements 04:20:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:31 GO111MODULE=on go vet ./... 04:21:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:53 ./bin/test-attribution-txt.sh [Pipeline] } 04:21:53 $ docker stop --time=1 7874981ace2c3cb93f2c9197c175159677b521796810eb117f00715bae746c91 04:21:55 $ docker rm -f 7874981ace2c3cb93f2c9197c175159677b521796810eb117f00715bae746c91 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:56 Warning: overwriting stash ‘coverage-report’ 04:21:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:58 + ls -al . 04:21:58 total 300 04:21:58 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:21 . 04:21:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:15 .. 04:21:58 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:15 .dockerignore 04:21:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:15 .git 04:21:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:15 .github 04:21:58 -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 04:15 .gitignore 04:21:58 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 11 04:15 CHANGELOG.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:15 GOVERNANCE.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 04:15 Jenkinsfile 04:21:58 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:15 LICENSE 04:21:58 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 04:15 Makefile 04:21:58 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:15 OWNERS.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 04:15 README.md 04:21:58 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:12 VERSION 04:21:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:15 bin 04:21:58 -rw-r--r-- 1 jenkins jenkins 128369 Nov 11 04:20 coverage.out 04:21:58 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:15 example 04:21:58 -rw-rw-r-- 1 jenkins jenkins 602 Nov 11 04:15 go.mod 04:21:58 -rw-rw-r-- 1 jenkins jenkins 49140 Nov 11 04:15 go.sum 04:21:58 drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 04:15 internal 04:21:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:15 openapi 04:21:58 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:15 pkg 04:21:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:15 snap 04:21:58 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:15 version.go [Pipeline] isUnix [Pipeline] sh 04:21:58 + 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=e588cde4f003785b9f05c08f4335de82a37da285 --label arch=arm64 --label version=0.0.0 . 04:21:59 Sending build context to Docker daemon 2.888MB 04:21:59 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:21:59 Step 2/24 : FROM ${BASE} AS builder 04:21:59 ---> c30aaebde280 04:21:59 Step 3/24 : ARG MAKE=make build 04:21:59 ---> Running in a35b65daeba2 04:21:59 Removing intermediate container a35b65daeba2 04:21:59 ---> 870a0e284b1a 04:21:59 Step 4/24 : WORKDIR /device-sdk-go 04:22:00 ---> Running in 44203e9f3947 04:22:00 Removing intermediate container 44203e9f3947 04:22:00 ---> 4245520c9e8d 04:22:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:00 ---> Running in ba3a94d213d2 04:22:01 Removing intermediate container ba3a94d213d2 04:22:01 ---> 95c0416c0dfc 04:22:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:01 ---> Running in 2cf4ae95c952 04:22:03 Removing intermediate container 2cf4ae95c952 04:22:03 ---> 3889751713f3 04:22:03 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:22:03 ---> Running in 5c1aa5a3505f 04:22:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:06 OK: 219 MiB in 52 packages 04:22:07 Removing intermediate container 5c1aa5a3505f 04:22:07 ---> 3a17e51dd96f 04:22:07 Step 8/24 : COPY . . 04:22:08 ---> 93386a20ad95 04:22:08 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:08 ---> Running in 7e470a2eb5b8 04:22:11 Removing intermediate container 7e470a2eb5b8 04:22:11 ---> 9448ee28fe7d 04:22:11 Step 10/24 : RUN ${MAKE} 04:22:11 ---> Running in 0fd3929b3e81 04:22:12 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:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:51 Removing intermediate container 0fd3929b3e81 04:22:51 ---> 301d30bd7833 04:22:51 Step 11/24 : FROM alpine:3.14 04:22:52 3.14: Pulling from library/alpine 04:22:52 552d1f2373af: Already exists 04:22:52 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:22:52 Status: Downloaded newer image for alpine:3.14 04:22:52 ---> bb3de5531c18 04:22:52 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:52 ---> Running in 7637349499df 04:22:52 Removing intermediate container 7637349499df 04:22:52 ---> 09d60d9660c8 04:22:52 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:53 ---> Running in 772960bc26a6 04:22:55 Removing intermediate container 772960bc26a6 04:22:55 ---> 342d6ef5d4e7 04:22:55 Step 14/24 : RUN apk add --update --no-cache zeromq 04:22:55 ---> Running in 8d5778e33102 04:22:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:22:58 (2/5) Installing libsodium (1.0.18-r0) 04:22:58 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:58 (4/5) Installing libzmq (4.3.4-r0) 04:22:58 (5/5) Installing zeromq (4.3.4-r0) 04:22:58 Executing busybox-1.33.1-r3.trigger 04:22:58 OK: 8 MiB in 19 packages 04:22:59 Removing intermediate container 8d5778e33102 04:22:59 ---> b3c291bfa353 04:22:59 Step 15/24 : WORKDIR / 04:22:59 ---> Running in 08ebcb82a71d 04:23:00 Removing intermediate container 08ebcb82a71d 04:23:00 ---> f38518d37c1d 04:23:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:23:00 ---> f6d0277423d3 04:23:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:23:02 ---> 2fc3d5b3c9e8 04:23:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:23:02 ---> aeca727979f4 04:23:02 Step 19/24 : EXPOSE 59999 04:23:03 ---> Running in 47eee45dadb5 04:23:03 Removing intermediate container 47eee45dadb5 04:23:03 ---> 1081cdf0af24 04:23:03 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:23:03 ---> Running in 381a77a7d0de 04:23:03 Removing intermediate container 381a77a7d0de 04:23:03 ---> 1c8f2575c516 04:23:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:23:03 ---> Running in 46261b34eb49 04:23:04 Removing intermediate container 46261b34eb49 04:23:04 ---> 64a2d7e6b622 04:23:04 Step 22/24 : LABEL arch=arm64 04:23:04 ---> Running in 953d07c319aa 04:23:05 Removing intermediate container 953d07c319aa 04:23:05 ---> 5467d0169c62 04:23:05 Step 23/24 : LABEL git_sha=e588cde4f003785b9f05c08f4335de82a37da285 04:23:05 ---> Running in 423d2b6f8367 04:23:05 Removing intermediate container 423d2b6f8367 04:23:05 ---> cce0e4a11fd6 04:23:05 Step 24/24 : LABEL version=0.0.0 04:23:05 ---> Running in 08419dba79b7 04:23:05 Removing intermediate container 08419dba79b7 04:23:05 ---> ab14707147af 04:23:05 [Warning] One or more build-args [ARCH] were not consumed 04:23:05 Successfully built ab14707147af 04:23:05 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:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:06 04:23:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:23:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:07 arm64: Pulling from edgex-lftools-log-publisher 04:23:07 448f6bf000e3: Pulling fs layer 04:23:07 f757da607395: Pulling fs layer 04:23:07 05883995daec: Pulling fs layer 04:23:07 8603b9c90790: Pulling fs layer 04:23:07 1560dd03e051: Pulling fs layer 04:23:07 27f5ce0e4adf: Pulling fs layer 04:23:07 c2d8d7efcc4b: Pulling fs layer 04:23:07 8603b9c90790: Waiting 04:23:07 1560dd03e051: Waiting 04:23:07 27f5ce0e4adf: Waiting 04:23:07 c2d8d7efcc4b: Waiting 04:23:07 f757da607395: Verifying Checksum 04:23:07 f757da607395: Download complete 04:23:07 8603b9c90790: Verifying Checksum 04:23:07 8603b9c90790: Download complete 04:23:07 1560dd03e051: Verifying Checksum 04:23:07 1560dd03e051: Download complete 04:23:07 27f5ce0e4adf: Verifying Checksum 04:23:07 27f5ce0e4adf: Download complete 04:23:07 05883995daec: Verifying Checksum 04:23:07 05883995daec: Download complete 04:23:08 448f6bf000e3: Verifying Checksum 04:23:08 448f6bf000e3: Download complete 04:23:10 c2d8d7efcc4b: Verifying Checksum 04:23:10 c2d8d7efcc4b: Download complete 04:23:11 448f6bf000e3: Pull complete 04:23:12 f757da607395: Pull complete 04:23:14 05883995daec: Pull complete 04:23:14 8603b9c90790: Pull complete 04:23:15 1560dd03e051: Pull complete 04:23:15 27f5ce0e4adf: Pull complete 04:23:31 c2d8d7efcc4b: Pull complete 04:23:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:31 prd-ubuntu18.04-docker-arm64-4c-16g-31 does not seem to be running inside a container 04:23:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:23:34 $ docker top 90802346104e258ab942d22d7092f00dc958ed762780637b2e7f186283f19747 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:35 ---> job-cost.sh 04:23:35 lf-activate-venv: SKIPPING 04:23:35 INFO: No Stack... 04:23:36 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:36 INFO: Archiving Costs [Pipeline] sh 04:23:37 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:23:37 + cut -d, -f6 [Pipeline] lock 04:23:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] 04:23:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] did not exist. Created. 04:23:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:37 /w/workspace/device-sdk-go/1@tmp/durable-88bb78aa/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-88bb78aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:38 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:38 Warning: overwriting stash ‘stack-cost’ 04:23:38 Stashed 1 file(s) [Pipeline] } 04:23:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1065-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:38 $ docker stop --time=1 90802346104e258ab942d22d7092f00dc958ed762780637b2e7f186283f19747 04:23:40 $ docker rm -f 90802346104e258ab942d22d7092f00dc958ed762780637b2e7f186283f19747 [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:41 provisioning config files... 04:23:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/config1953073611372582824tmp [Pipeline] { [Pipeline] sh 04:23:41 + set +x 04:23:41 + curl -s https://codecov.io/bash 04:23:41 + bash -s -- 04:23:41 04:23:41 _____ _ 04:23:41 / ____| | | 04:23:41 | | ___ __| | ___ ___ _____ __ 04:23:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:41 Bash-1.0.6 04:23:41 04:23:41 04:23:41 ==> git version 2.24.4 found 04:23:41 ==> 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:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:23:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:23:41 ==> Jenkins CI detected. 04:23:41 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1065 04:23:41 project root: . 04:23:41 --> token set from env 04:23:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:41 ==> Running gcov in . (disable via -X gcov) 04:23:41 ==> Python coveragepy not found 04:23:41 ==> Searching for coverage reports in: 04:23:41 + . 04:23:41 -> Found 1 reports 04:23:41 ==> Detecting git/mercurial file structure 04:23:41 ==> Reading reports 04:23:41 + ./coverage.out bytes=128369 04:23:41 ==> Appending adjustments 04:23:41 https://docs.codecov.io/docs/fixing-reports 04:23:42 + Found adjustments 04:23:42 ==> Gzipping contents 04:23:42 16K /tmp/codecov.sYQVPU.gz 04:23:42 ==> Uploading reports 04:23:42 url: https://codecov.io 04:23:42 query: branch=PR-1065&commit=e588cde4f003785b9f05c08f4335de82a37da285&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1065%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1065&job=&cmd_args= 04:23:42 -> Pinging Codecov 04:23:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1065&commit=e588cde4f003785b9f05c08f4335de82a37da285&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1065%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1065&job=&cmd_args= 04:23:42 -> Uploading to 04:23:42 https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/e588cde4f003785b9f05c08f4335de82a37da285/0482d39c-4926-4c4f-9e3b-e3b140a8c929.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T042342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57e163cfc69c03d8373a0fb9ebffe63440a0adbe9bbfbfd3d1711e89720c0292 04:23:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:42 Dload Upload Total Spent Left Speed 04:23:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16297 0 0 100 16297 0 44785 --:--:-- --:--:-- --:--:-- 44895 04:23:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e588cde4f003785b9f05c08f4335de82a37da285 [Pipeline] } 04:23:43 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:45 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1065/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:23:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:46 ---> package-listing.sh 04:23:46 ++ facter osfamily 04:23:46 ++ tr '[:upper:]' '[:lower:]' 04:23:46 + OS_FAMILY=redhat 04:23:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1065 04:23:46 + START_PACKAGES=/tmp/packages_start.txt 04:23:46 + END_PACKAGES=/tmp/packages_end.txt 04:23:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:46 + PACKAGES=/tmp/packages_start.txt 04:23:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1065 ']' 04:23:46 + PACKAGES=/tmp/packages_end.txt 04:23:46 + case "${OS_FAMILY}" in 04:23:46 + sort 04:23:46 + rpm -qa 04:23:47 + '[' -f /tmp/packages_start.txt ']' 04:23:47 + '[' -f /tmp/packages_end.txt ']' 04:23:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:47 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1065 ']' 04:23:47 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1065/archives/ 04:23:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1065/archives/ [Pipeline] echo 04:23:47 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-1065/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:48 04:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:48 latest: Pulling from edgex-lftools-log-publisher 04:23:48 b4d181a07f80: Pulling fs layer 04:23:48 a1111a8f2ec3: Pulling fs layer 04:23:48 ed53099fbce6: Pulling fs layer 04:23:48 dc539afda2c1: Pulling fs layer 04:23:48 77bc0d833cb6: Pulling fs layer 04:23:48 9065ff56babe: Pulling fs layer 04:23:48 d287ab97295c: Pulling fs layer 04:23:48 dc539afda2c1: Waiting 04:23:48 77bc0d833cb6: Waiting 04:23:48 9065ff56babe: Waiting 04:23:48 d287ab97295c: Waiting 04:23:48 a1111a8f2ec3: Verifying Checksum 04:23:48 a1111a8f2ec3: Download complete 04:23:48 dc539afda2c1: Verifying Checksum 04:23:48 dc539afda2c1: Download complete 04:23:48 ed53099fbce6: Verifying Checksum 04:23:48 ed53099fbce6: Download complete 04:23:48 9065ff56babe: Verifying Checksum 04:23:48 9065ff56babe: Download complete 04:23:48 77bc0d833cb6: Verifying Checksum 04:23:48 77bc0d833cb6: Download complete 04:23:48 b4d181a07f80: Verifying Checksum 04:23:48 b4d181a07f80: Download complete 04:23:49 d287ab97295c: Verifying Checksum 04:23:49 d287ab97295c: Download complete 04:23:50 b4d181a07f80: Pull complete 04:23:50 a1111a8f2ec3: Pull complete 04:23:51 ed53099fbce6: Pull complete 04:23:51 dc539afda2c1: Pull complete 04:23:51 77bc0d833cb6: Pull complete 04:23:51 9065ff56babe: Pull complete 04:23:57 d287ab97295c: Pull complete 04:23:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:23:57 prd-centos7-docker-4c-2g-13 does not seem to be running inside a container 04:23:57 $ 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-1065/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-1065 -v /w/workspace/gexfoundry_device-sdk-go_PR-1065:/w/workspace/gexfoundry_device-sdk-go_PR-1065:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:24:00 $ docker top 570d795cb7a36a6aca1b9d77ea6c8d48298fc73570b7710db5529ad2dc6571d6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:24:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:24:01 + ls /var/log/sa-host 04:24:01 + sadf -c /var/log/sa-host/sa11 04:24:01 file_magic: OK 04:24:01 HZ: Using current value: 100 04:24:01 file_header: OK 04:24:01 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:24:01 Statistics: 04:24:01 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:24:01 File successfully converted to sysstat format version 12.0.3 04:24:01 + sadf -c /var/log/sa-host/sa30 04:24:01 file_magic: OK 04:24:01 HZ: Using current value: 100 04:24:01 file_header: OK 04:24:01 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:24:01 Statistics: 04:24:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:24:01 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:01 provisioning config files... 04:24:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1065@tmp/config9122460135029557433tmp [Pipeline] { [Pipeline] echo 04:24:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:24:01 ---> create-netrc.sh [Pipeline] } 04:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:24:02 ---> python-tools-install.sh [Pipeline] echo 04:24:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:24:02 ---> sudo-logs.sh 04:24:02 Archiving 'sudo' log.. 04:24:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-13.novalocal: Name or service not known 04:24:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-13.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:24:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:24:02 ---> job-cost.sh 04:24:02 lf-activate-venv: SKIPPING 04:24:02 DEBUG: total: 0.10999999940395355 04:24:02 INFO: Retrieving Stack Cost... 04:24:03 INFO: Retrieving Pricing Info for: v3-standard-2 04:24:03 INFO: Archiving Costs [Pipeline] echo 04:24:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:24:03 ---> logs-deploy.sh 04:24:03 lf-activate-venv: SKIPPING 04:24:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1065/1 04:24:03 INFO: archiving workspace using pattern(s): 04:24:04 Archives upload complete. 04:24:04 INFO: archiving logs to Nexus 04:24:05 ---> uname -a: 04:24:05 Linux prd-centos7-docker-4c-2g-13.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:24:05 04:24:05 04:24:05 ---> lscpu: 04:24:05 Architecture: x86_64 04:24:05 CPU op-mode(s): 32-bit, 64-bit 04:24:05 Byte Order: Little Endian 04:24:05 Address sizes: 40 bits physical, 48 bits virtual 04:24:05 CPU(s): 2 04:24:05 On-line CPU(s) list: 0,1 04:24:05 Thread(s) per core: 1 04:24:05 Core(s) per socket: 1 04:24:05 Socket(s): 2 04:24:05 NUMA node(s): 1 04:24:05 Vendor ID: AuthenticAMD 04:24:05 CPU family: 23 04:24:05 Model: 49 04:24:05 Model name: AMD EPYC-Rome Processor 04:24:05 Stepping: 0 04:24:05 CPU MHz: 2799.998 04:24:05 BogoMIPS: 5599.99 04:24:05 Virtualization: AMD-V 04:24:05 Hypervisor vendor: KVM 04:24:05 Virtualization type: full 04:24:05 L1d cache: 32K 04:24:05 L1i cache: 32K 04:24:05 L2 cache: 512K 04:24:05 L3 cache: 16384K 04:24:05 NUMA node0 CPU(s): 0,1 04:24:05 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:24:05 04:24:05 04:24:05 ---> nproc: 04:24:05 2 04:24:05 04:24:05 04:24:05 ---> df -h: 04:24:05 Filesystem Size Used Avail Use% Mounted on 04:24:05 overlay 40G 7.7G 33G 20% / 04:24:05 tmpfs 64M 0 64M 0% /dev 04:24:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:24:05 shm 64M 0 64M 0% /dev/shm 04:24:05 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:24:05 04:24:05 04:24:05 ---> sar -b -r -n DEV: 04:24:05 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:24:05 04:24:05 04:11:25 LINUX RESTART (2 CPU) 04:24:05 04:24:05 04:12:01 tps rtps wtps bread/s bwrtn/s 04:24:05 04:13:01 14.44 0.73 13.71 332.39 1900.70 04:24:05 04:14:01 0.30 0.00 0.30 0.00 4.73 04:24:05 04:15:01 0.27 0.00 0.27 0.00 3.63 04:24:05 04:16:01 0.18 0.00 0.18 0.00 2.97 04:24:05 04:17:01 0.30 0.00 0.30 0.00 3.98 04:24:05 04:18:01 0.28 0.00 0.28 0.00 4.58 04:24:05 04:19:01 0.17 0.00 0.17 0.00 1.62 04:24:05 04:20:01 0.30 0.00 0.30 0.00 3.25 04:24:05 04:21:01 0.25 0.00 0.25 0.00 2.30 04:24:05 04:22:01 0.23 0.00 0.23 0.00 3.10 04:24:05 04:23:01 0.23 0.00 0.23 0.00 2.83 04:24:05 Average: 1.54 0.07 1.47 30.23 175.84 04:24:05 04:24:05 04:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:24:05 04:13:01 5698352 0 608416 7.60 2620 1699552 1268476 14.00 552560 1523056 20 04:24:05 04:14:01 5701952 0 604808 7.55 2620 1699560 1205756 13.31 550224 1523020 20 04:24:05 04:15:01 5704900 0 601860 7.51 2620 1699560 1191388 13.15 546964 1523516 20 04:24:05 04:16:01 5702968 0 603784 7.54 2620 1699568 1191412 13.15 548904 1523516 8 04:24:05 04:17:01 5706384 0 600364 7.50 2620 1699572 1186260 13.10 545452 1524380 20 04:24:05 04:18:01 5706360 0 600384 7.50 2620 1699576 1186284 13.10 545640 1524380 8 04:24:05 04:19:01 5709052 0 597688 7.46 2620 1699580 1161336 12.82 543440 1524380 8 04:24:05 04:20:01 5701240 0 605492 7.56 2620 1699588 1161336 12.82 551692 1524384 8 04:24:05 04:21:01 5700296 0 606436 7.57 2620 1699588 1161336 12.82 553588 1522932 16 04:24:05 04:22:01 5700096 0 606632 7.57 2620 1699592 1161420 12.82 554004 1522932 20 04:24:05 04:23:01 5693224 0 613500 7.66 2620 1699596 1161336 12.82 560440 1522932 20 04:24:05 Average: 5702257 0 604488 7.55 2620 1699576 1185122 13.08 550264 1523584 15 04:24:05 04:24:05 04:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:24:05 04:13:01 eth0 55.69 42.53 344.42 13.27 0.00 0.00 0.00 0.00 04:24:05 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:13:01 docker0 9.18 4.55 1.68 29.64 0.00 0.00 0.00 0.00 04:24:05 04:14:01 eth0 5.16 0.75 1.19 0.61 0.00 0.00 0.00 0.00 04:24:05 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:15:01 eth0 3.75 0.95 1.24 0.78 0.00 0.00 0.00 0.00 04:24:05 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:16:01 eth0 3.00 0.82 0.94 0.56 0.00 0.00 0.00 0.00 04:24:05 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:17:01 eth0 1.60 0.80 0.94 0.65 0.00 0.00 0.00 0.00 04:24:05 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:18:01 eth0 0.53 0.30 0.27 0.23 0.00 0.00 0.00 0.00 04:24:05 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:19:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:24:05 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:20:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:24:05 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:21:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:24:05 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:22:01 eth0 0.50 0.20 0.16 0.07 0.00 0.00 0.00 0.00 04:24:05 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:23:01 eth0 0.27 0.12 0.02 0.01 0.00 0.00 0.00 0.00 04:24:05 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 Average: eth0 6.46 4.25 31.75 1.47 0.00 0.00 0.00 0.00 04:24:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:24:05 Average: docker0 0.83 0.41 0.15 2.70 0.00 0.00 0.00 0.00 04:24:05 04:24:05 04:24:05 ---> sar -P ALL: 04:24:05 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:24:05 04:24:05 04:11:25 LINUX RESTART (2 CPU) 04:24:05 04:24:05 04:12:01 CPU %user %nice %system %iowait %steal %idle 04:24:05 04:13:01 all 2.53 0.00 1.11 0.18 0.03 96.16 04:24:05 04:13:01 0 2.37 0.00 1.16 0.10 0.02 96.35 04:24:05 04:13:01 1 2.69 0.00 1.06 0.25 0.03 95.96 04:24:05 04:14:01 all 0.23 0.00 0.07 0.00 0.02 99.68 04:24:05 04:14:01 0 0.05 0.00 0.07 0.00 0.02 99.87 04:24:05 04:14:01 1 0.42 0.00 0.07 0.00 0.02 99.50 04:24:05 04:15:01 all 0.33 0.00 0.06 0.00 0.02 99.60 04:24:05 04:15:01 0 0.13 0.00 0.07 0.00 0.02 99.78 04:24:05 04:15:01 1 0.52 0.00 0.05 0.00 0.02 99.42 04:24:05 04:16:01 all 0.24 0.00 0.03 0.00 0.02 99.71 04:24:05 04:16:01 0 0.28 0.00 0.03 0.00 0.02 99.67 04:24:05 04:16:01 1 0.20 0.00 0.03 0.00 0.02 99.75 04:24:05 04:17:01 all 0.30 0.00 0.05 0.00 0.02 99.63 04:24:05 04:17:01 0 0.47 0.00 0.03 0.00 0.02 99.48 04:24:05 04:17:01 1 0.13 0.00 0.07 0.00 0.02 99.78 04:24:05 04:18:01 all 0.23 0.00 0.07 0.00 0.01 99.70 04:24:05 04:18:01 0 0.40 0.00 0.07 0.00 0.02 99.52 04:24:05 04:18:01 1 0.05 0.00 0.07 0.00 0.00 99.88 04:24:05 04:19:01 all 0.09 0.00 0.06 0.00 0.01 99.84 04:24:05 04:19:01 0 0.12 0.00 0.05 0.00 0.00 99.83 04:24:05 04:19:01 1 0.07 0.00 0.07 0.00 0.02 99.85 04:24:05 04:20:01 all 0.21 0.00 0.03 0.00 0.02 99.74 04:24:05 04:20:01 0 0.37 0.00 0.02 0.00 0.02 99.60 04:24:05 04:20:01 1 0.05 0.00 0.05 0.00 0.02 99.88 04:24:05 04:21:01 all 0.23 0.00 0.04 0.00 0.01 99.72 04:24:05 04:21:01 0 0.40 0.00 0.03 0.00 0.00 99.57 04:24:05 04:21:01 1 0.07 0.00 0.05 0.00 0.02 99.87 04:24:05 04:22:01 all 0.20 0.00 0.05 0.00 0.02 99.73 04:24:05 04:22:01 0 0.35 0.00 0.03 0.00 0.02 99.60 04:24:05 04:22:01 1 0.05 0.00 0.07 0.00 0.02 99.87 04:24:05 04:23:01 all 0.22 0.00 0.04 0.00 0.01 99.73 04:24:05 04:23:01 0 0.35 0.00 0.02 0.00 0.00 99.63 04:24:05 04:23:01 1 0.08 0.00 0.07 0.00 0.02 99.83 04:24:05 04:24:05 Average: CPU %user %nice %system %iowait %steal %idle 04:24:05 Average: all 0.44 0.00 0.15 0.02 0.01 99.39 04:24:05 Average: 0 0.48 0.00 0.14 0.01 0.01 99.36 04:24:05 Average: 1 0.39 0.00 0.15 0.02 0.02 99.42 04:24:05 04:24:05 04:24:05