Pull request #1078 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a10945069221f12862f9a2d2b86a5a889805e071+633449dbefca29cf62edd9030bbe74b52352fb22 (321fb2a38d8e56dd1d6eb4fee3280ec6e5433311) 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-ssh9809042368676825058.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh1405813140252674707.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-1078/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-1078/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11383401540818196716.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-1078/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh433576527267976748.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh12898679056022288552.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-1078/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-1078/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5784172607391029528.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1188 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-1078 # 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-1078@tmp/jenkins-gitclient-ssh7345429406147826827.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/jenkins-gitclient-ssh2136106403787538154.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) > git config core.sparsecheckout # timeout=10 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # 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-1078@tmp/jenkins-gitclient-ssh3473114415865423346.key > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 Commit message: "docs: Publish swagger to 2.2.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:33:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:33:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:33:14 ========================================================= 02:33:14 EdgeX Global Pipelines Version Info 02:33:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:33:15 ------------------- 02:33:15 stable info: 02:33:15 ------------------- 02:33:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:33:15 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 02:33:15 Message: update stable to v1.0.217 02:33:16 ------------------- 02:33:16 experimental info: 02:33:16 ------------------- 02:33:16 Commited By: **** collab-it+edgex@linuxfoundation.org 02:33:16 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 02:33:16 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1078 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1078 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1078 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a109450 [Pipeline] echo 02:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:18 provisioning config files... 02:33:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config1059914082339261873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:18 ---> docker-login.sh 02:33:18 nexus3.edgexfoundry.org:10001 02:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:18 Configure a credential helper to remove this warning. See 02:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:18 02:33:18 Login Succeeded 02:33:18 nexus3.edgexfoundry.org:10002 02:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:18 Configure a credential helper to remove this warning. See 02:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:18 02:33:18 Login Succeeded 02:33:18 nexus3.edgexfoundry.org:10003 02:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:19 Configure a credential helper to remove this warning. See 02:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:19 02:33:19 Login Succeeded 02:33:19 nexus3.edgexfoundry.org:10004 02:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:19 Configure a credential helper to remove this warning. See 02:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:19 02:33:19 Login Succeeded 02:33:19 docker.io 02:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:19 Configure a credential helper to remove this warning. See 02:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:19 02:33:19 Login Succeeded 02:33:19 ---> docker-login.sh ends [Pipeline] } 02:33:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:33:20 + git rev-list -1 --merges a10945069221f12862f9a2d2b86a5a889805e071~1..a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo 02:33:20 -----------> git rev-list -1 --merges a10945069221f12862f9a2d2b86a5a889805e071~1..a10945069221f12862f9a2d2b86a5a889805e071 a10945069221f12862f9a2d2b86a5a889805e071 [false] [Pipeline] sh 02:33:20 + git log --format=format:%s -1 a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo 02:33:20 ========================================================= 02:33:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:33:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:21 + git log --format=format:%s -1 a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo 02:33:21 [semverPrep] GIT_COMMIT: a10945069221f12862f9a2d2b86a5a889805e071, Commit Message: docs: Publish swagger to 2.2.0 [Pipeline] echo 02:33:21 [semverPrep] This is not a build commit. [Pipeline] sh 02:33:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 02:33:21 + grep -v github /etc/ssh/ssh_known_hosts 02:33:21 + '[' -e /tmp/ssh_known_hosts ']' 02:33:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:33:21 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 02:33:21 + sudo tee -a /etc/ssh/ssh_known_hosts 02:33:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:33:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:33:21 02:33:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:33:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:33:22 latest: Pulling from edgex-devops/git-semver 02:33:22 a0d0a0d46f8b: Pulling fs layer 02:33:22 3e5f54012d9b: Pulling fs layer 02:33:22 4c7163046ea9: Pulling fs layer 02:33:22 0c2d73faf560: Pulling fs layer 02:33:22 0c2d73faf560: Waiting 02:33:22 3e5f54012d9b: Verifying Checksum 02:33:22 3e5f54012d9b: Download complete 02:33:22 a0d0a0d46f8b: Verifying Checksum 02:33:22 a0d0a0d46f8b: Download complete 02:33:22 0c2d73faf560: Verifying Checksum 02:33:22 0c2d73faf560: Download complete 02:33:22 4c7163046ea9: Verifying Checksum 02:33:22 4c7163046ea9: Download complete 02:33:22 a0d0a0d46f8b: Pull complete 02:33:22 3e5f54012d9b: Pull complete 02:33:22 4c7163046ea9: Pull complete 02:33:23 0c2d73faf560: Pull complete 02:33:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:33:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:33:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:33:23 prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container 02:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1078 -v /w/workspace/gexfoundry_device-sdk-go_PR-1078:/w/workspace/gexfoundry_device-sdk-go_PR-1078:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1078@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:10004/edgex-devops/git-semver:latest cat 02:33:23 $ docker top d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:24 [ssh-agent] Looking for ssh-agent implementation... 02:33:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:24 $ docker exec d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent 02:33:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEmihBm/agent.13 02:33:24 SSH_AGENT_PID=19 02:33:24 Running ssh-add (command line suppressed) 02:33:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_7037949104659444816.key (/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_7037949104659444816.key) 02:33:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:24 + git tag --points-at HEAD [Pipeline] } 02:33:24 $ docker exec --env ******** --env ******** d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent -k 02:33:24 unset SSH_AUTH_SOCK; 02:33:24 unset SSH_AGENT_PID; 02:33:24 echo Agent pid 19 killed; 02:33:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:33:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:25 [ssh-agent] Looking for ssh-agent implementation... 02:33:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:25 $ docker exec d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent 02:33:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnHGdod/agent.52 02:33:25 SSH_AGENT_PID=59 02:33:25 Running ssh-add (command line suppressed) 02:33:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_647033283824867429.key (/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_647033283824867429.key) 02:33:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:25 + git semver init 02:33:25 # -> Open(): unable to determine branch for HEAD 02:33:25 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1078/.git 02:33:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1078 02:33:25 # $SEMVER_REMOTE_NAME = origin 02:33:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:33:25 # $SEMVER_USER_NAME = edgex-jenkins 02:33:25 # $SEMVER_BRANCH = PR-1078 02:33:25 # $SEMVER_TEMP = /tmp/semver-518538150 02:33:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:33:26 # '/tmp/semver-518538150' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1078/.semver' 02:33:26 # -> Force: false 02:33:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1078/.semver [Pipeline] } 02:33:26 $ docker exec --env ******** --env ******** d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent -k 02:33:26 unset SSH_AUTH_SOCK; 02:33:26 unset SSH_AGENT_PID; 02:33:26 echo Agent pid 59 killed; 02:33:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:27 + git semver [Pipeline] } 02:33:27 $ docker stop --time=1 d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c 02:33:28 $ docker rm -f d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c [Pipeline] // withDockerContainer [Pipeline] sh 02:33:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:33:29 Stashed 1 file(s) [Pipeline] echo 02:33:29 [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 02:33:44 Still waiting to schedule task 02:33:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:33:44 Still waiting to schedule task 02:33:44 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1186’ 02:35:23 Running on prd-centos7-docker-4c-2g-1189 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] ws 02:35:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:35:23 The recommended git tool is: git 02:35:25 using credential edgex-jenkins-ssh 02:35:25 Cloning the remote Git repository 02:35:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:35:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:35:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:25 > git --version # timeout=10 02:35:25 > git --version # 'git version 2.24.4' 02:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:25 [INFO] Currently running in a labeled security context 02:35:25 [INFO] Currently SELinux is 'enforcing' on the host 02:35:25 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7415076760423763352.key 02:35:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:27 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 02:35:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:35:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:26 [INFO] Currently running in a labeled security context 02:35:26 [INFO] Currently SELinux is 'enforcing' on the host 02:35:26 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1441769511555946254.key 02:35:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:35:26 > git config core.sparsecheckout # timeout=10 02:35:26 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 02:35:27 Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 02:35:27 Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) 02:35:26 > git remote # timeout=10 02:35:26 > git config --get remote.origin.url # timeout=10 02:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:26 [INFO] Currently running in a labeled security context 02:35:26 [INFO] Currently SELinux is 'enforcing' on the host 02:35:26 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh297128825554503209.key 02:35:26 > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 02:35:26 > git rev-parse HEAD^{commit} # timeout=10 02:35:26 > git config core.sparsecheckout # timeout=10 02:35:26 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 02:35:30 Commit message: "docs: Publish swagger to 2.2.0" 02:35:30 > git --version # timeout=10 02:35:30 > git --version # 'git version 2.24.4' 02:35:30 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:31 provisioning config files... 02:35:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3728320611401120169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:32 ---> docker-login.sh 02:35:32 nexus3.edgexfoundry.org:10001 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 nexus3.edgexfoundry.org:10002 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 nexus3.edgexfoundry.org:10003 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 nexus3.edgexfoundry.org:10004 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 docker.io 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 ---> docker-login.sh ends [Pipeline] } 02:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:33 ========================================================= 02:35:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:35:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:35:33 + 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 . 02:35:33 Sending build context to Docker daemon 5.049MB 02:35:33 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 02:35:33 Step 2/10 : FROM ${BASE} AS builder 02:35:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:33 a0d0a0d46f8b: Pulling fs layer 02:35:33 31adcdaf11c8: Pulling fs layer 02:35:33 b8b176561691: Pulling fs layer 02:35:33 4527c011a84f: Pulling fs layer 02:35:33 5d74067f8e1e: Pulling fs layer 02:35:33 e0aca202a116: Pulling fs layer 02:35:33 3a43be97a3b4: Pulling fs layer 02:35:33 34cad66bf833: Pulling fs layer 02:35:33 b4e3c513aaa6: Pulling fs layer 02:35:33 4527c011a84f: Waiting 02:35:33 5d74067f8e1e: Waiting 02:35:33 e0aca202a116: Waiting 02:35:33 3a43be97a3b4: Waiting 02:35:33 34cad66bf833: Waiting 02:35:33 b4e3c513aaa6: Waiting 02:35:33 b8b176561691: Verifying Checksum 02:35:33 b8b176561691: Download complete 02:35:33 31adcdaf11c8: Verifying Checksum 02:35:33 31adcdaf11c8: Download complete 02:35:33 5d74067f8e1e: Verifying Checksum 02:35:33 5d74067f8e1e: Download complete 02:35:33 e0aca202a116: Verifying Checksum 02:35:33 e0aca202a116: Download complete 02:35:33 a0d0a0d46f8b: Verifying Checksum 02:35:33 a0d0a0d46f8b: Download complete 02:35:33 3a43be97a3b4: Verifying Checksum 02:35:33 3a43be97a3b4: Download complete 02:35:33 34cad66bf833: Verifying Checksum 02:35:33 34cad66bf833: Download complete 02:35:34 b4e3c513aaa6: Verifying Checksum 02:35:34 b4e3c513aaa6: Download complete 02:35:34 a0d0a0d46f8b: Pull complete 02:35:34 4527c011a84f: Verifying Checksum 02:35:34 4527c011a84f: Download complete 02:35:34 31adcdaf11c8: Pull complete 02:35:34 b8b176561691: Pull complete 02:35:38 4527c011a84f: Pull complete 02:35:38 5d74067f8e1e: Pull complete 02:35:38 e0aca202a116: Pull complete 02:35:38 3a43be97a3b4: Pull complete 02:35:38 34cad66bf833: Pull complete 02:35:41 b4e3c513aaa6: Pull complete 02:35:41 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 02:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:35:41 ---> 9f6097aaca64 02:35:41 Step 3/10 : ARG MAKE=make build 02:35:43 ---> Running in ee3293976d90 02:35:43 Removing intermediate container ee3293976d90 02:35:43 ---> 93c4976b3c4d 02:35:43 Step 4/10 : WORKDIR /device-sdk-go 02:35:43 ---> Running in 6a3b7113a91b 02:35:43 Removing intermediate container 6a3b7113a91b 02:35:43 ---> ca8e77c08add 02:35:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:35:43 ---> Running in a05c7132676d 02:35:43 Removing intermediate container a05c7132676d 02:35:43 ---> 060f64c7bade 02:35:43 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:35:43 ---> Running in ad5b38fbe4f2 02:35:44 Removing intermediate container ad5b38fbe4f2 02:35:44 ---> 06d9217363b9 02:35:44 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:35:44 ---> Running in c84aca4a6e4b 02:35:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:35:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:35:45 OK: 220 MiB in 52 packages 02:35:45 Removing intermediate container c84aca4a6e4b 02:35:45 ---> 8b140492c07b 02:35:45 Step 8/10 : COPY . . 02:35:46 ---> cf11b55bdc41 02:35:46 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:46 ---> Running in 05413eb5dc8b 02:36:24 Removing intermediate container 05413eb5dc8b 02:36:24 ---> 38ecdac57f22 02:36:24 Step 10/10 : RUN ${MAKE} 02:36:24 ---> Running in 07c03e15a3ac 02:36:24 noop 02:36:24 Removing intermediate container 07c03e15a3ac 02:36:24 ---> c885ea5e93ec 02:36:24 Successfully built c885ea5e93ec 02:36:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:36:25 + docker inspect -f . ci-base-image-x86_64 02:36:25 . [Pipeline] withDockerContainer 02:36:25 prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container 02:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:25 $ docker top ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:26 + go version 02:36:26 go version go1.16.8 linux/amd64 [Pipeline] } 02:36:26 $ docker stop --time=1 ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a 02:36:27 $ docker rm -f ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:36:27 + docker inspect -f . ci-base-image-x86_64 02:36:27 . [Pipeline] withDockerContainer 02:36:28 prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container 02:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:28 $ docker top d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:36:28 + make test 02:36:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:36:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:36:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1190 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] ws 02:36:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:36:59 The recommended git tool is: git 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:37:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:37:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements 02:37:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements 02:37:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 9.0% of statements 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:37:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:37:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements 02:37:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:37:04 using credential edgex-jenkins-ssh 02:37:04 Cloning the remote Git repository 02:37:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 86.1% of statements 02:37:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:37:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:37:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.4% of statements 02:37:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:37:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:37:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:37:04 > git --version # timeout=10 02:37:04 > git --version # 'git version 2.17.1' 02:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.889s coverage: 89.2% of statements 02:37:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:37:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.8% of statements 02:37:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:37:07 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 02:37:07 Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 02:37:07 Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) 02:37:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:37:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:37:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:37:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:37:07 > git config core.sparsecheckout # timeout=10 02:37:07 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 02:37:07 > git remote # timeout=10 02:37:07 > git config --get remote.origin.url # timeout=10 02:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:07 > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 02:37:07 > git rev-parse HEAD^{commit} # timeout=10 02:37:07 > git config core.sparsecheckout # timeout=10 02:37:07 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 02:37:11 Commit message: "docs: Publish swagger to 2.2.0" 02:37:11 > git --version # timeout=10 02:37:11 > git --version # 'git version 2.17.1' 02:37:11 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:37:12 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:12 Dload Upload Total Spent Left Speed 02:37:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh 02:37:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:37:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:37:13 + sudo tee /etc/docker/daemon.new 02:37:13 { 02:37:13 "registry-mirrors": [ 02:37:13 "https://nexus3.edgexfoundry.org:10001" 02:37:13 ], 02:37:13 "bip": "10.250.0.254/24", 02:37:13 "hosts": [ 02:37:13 "tcp://0.0.0.0:5555", 02:37:13 "unix:///var/run/docker.sock" 02:37:13 ], 02:37:13 "mtu": 1458, 02:37:13 "selinux-enabled": true, 02:37:13 "seccomp-profile": "/etc/docker/seccomp.json" 02:37:13 } [Pipeline] sh 02:37:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:37:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:32 provisioning config files... 02:37:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config919900720766617041tmp 02:37:32 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:33 ---> docker-login.sh 02:37:33 nexus3.edgexfoundry.org:10001 02:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:33 Configure a credential helper to remove this warning. See 02:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:33 02:37:33 Login Succeeded 02:37:33 nexus3.edgexfoundry.org:10002 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 nexus3.edgexfoundry.org:10003 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 nexus3.edgexfoundry.org:10004 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:35 Configure a credential helper to remove this warning. See 02:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:35 02:37:35 Login Succeeded 02:37:35 docker.io 02:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:35 Configure a credential helper to remove this warning. See 02:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:35 02:37:35 Login Succeeded 02:37:35 ---> docker-login.sh ends [Pipeline] } 02:37:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:36 ========================================================= 02:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:37:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:37:36 + 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 . 02:37:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:37:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:37:36 ./bin/test-attribution-txt.sh 02:37:36 Sending build context to Docker daemon 5.042MB 02:37:36 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 02:37:36 Step 2/10 : FROM ${BASE} AS builder 02:37:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:37:37 552d1f2373af: Pulling fs layer 02:37:37 ea3f2d53f512: Pulling fs layer 02:37:37 9e70ebbbe112: Pulling fs layer 02:37:37 7a9cfe048b4a: Pulling fs layer 02:37:37 72dc09318566: Pulling fs layer 02:37:37 f4f7b4309257: Pulling fs layer 02:37:37 0ac9a79272e3: Pulling fs layer 02:37:37 b78e95d17946: Pulling fs layer 02:37:37 72dc09318566: Waiting 02:37:37 f4f7b4309257: Waiting 02:37:37 7a9cfe048b4a: Waiting 02:37:37 0ac9a79272e3: Waiting 02:37:37 b78e95d17946: Waiting 02:37:37 9e70ebbbe112: Verifying Checksum 02:37:37 9e70ebbbe112: Download complete 02:37:37 ea3f2d53f512: Verifying Checksum 02:37:37 ea3f2d53f512: Download complete 02:37:37 72dc09318566: Verifying Checksum 02:37:37 72dc09318566: Download complete 02:37:37 f4f7b4309257: Verifying Checksum 02:37:37 f4f7b4309257: Download complete 02:37:37 552d1f2373af: Verifying Checksum 02:37:37 552d1f2373af: Download complete 02:37:37 0ac9a79272e3: Verifying Checksum 02:37:37 0ac9a79272e3: Download complete [Pipeline] echo 02:37:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:37:37 $ docker stop --time=1 d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 02:37:37 552d1f2373af: Pull complete 02:37:38 ea3f2d53f512: Pull complete 02:37:38 9e70ebbbe112: Pull complete 02:37:38 $ docker rm -f d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 02:37:38 b78e95d17946: Verifying Checksum 02:37:38 b78e95d17946: Download complete [Pipeline] // withDockerContainer [Pipeline] sh 02:37:39 + sudo chown -R jenkins:jenkins . 02:37:39 7a9cfe048b4a: Verifying Checksum 02:37:39 7a9cfe048b4a: Download complete [Pipeline] stash 02:37:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:37:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:37:41 + ls -al . 02:37:41 total 272 02:37:41 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 02:37 . 02:37:41 drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 02:35 .. 02:37:41 drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 02:35 bin 02:37:41 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 02:35 CHANGELOG.md 02:37:41 -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 02:37 coverage.out 02:37:41 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 02:35 .dockerignore 02:37:41 drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 02:35 example 02:37:41 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 02:35 .git 02:37:41 drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 02:35 .github 02:37:41 -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 02:35 .gitignore 02:37:41 -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 02:35 .golangci.yml 02:37:41 -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 02:35 go.mod 02:37:41 -rw-rw-r--. 1 jenkins jenkins 49492 Jan 11 02:35 go.sum 02:37:41 -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 02:35 GOVERNANCE.md 02:37:41 drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 02:35 internal 02:37:41 -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 02:35 Jenkinsfile 02:37:41 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 02:35 LICENSE 02:37:41 -rw-rw-r--. 1 jenkins jenkins 1590 Jan 11 02:35 Makefile 02:37:41 drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 02:35 openapi 02:37:41 -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 02:35 OWNERS.md 02:37:41 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 02:35 pkg 02:37:41 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 02:35 README.md 02:37:41 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 02:35 snap 02:37:41 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 02:33 VERSION 02:37:41 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 02:35 version.go [Pipeline] isUnix [Pipeline] sh 02:37:41 + 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=a10945069221f12862f9a2d2b86a5a889805e071 --label arch=amd64 --label version=0.0.0 . 02:37:41 Sending build context to Docker daemon 5.179MB 02:37:41 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 02:37:41 Step 2/24 : FROM ${BASE} AS builder 02:37:41 ---> c885ea5e93ec 02:37:41 Step 3/24 : ARG MAKE=make build 02:37:41 ---> Running in 5c050ed9c2a7 02:37:41 Removing intermediate container 5c050ed9c2a7 02:37:41 ---> 2ec1ab459afe 02:37:41 Step 4/24 : WORKDIR /device-sdk-go 02:37:41 ---> Running in 0ef5af546aea 02:37:41 Removing intermediate container 0ef5af546aea 02:37:41 ---> 2e8ee8b919cd 02:37:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:37:41 ---> Running in 63bfc3ca14a3 02:37:41 Removing intermediate container 63bfc3ca14a3 02:37:41 ---> 827df950a1f2 02:37:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:41 ---> Running in 5ec09f492d67 02:37:42 Removing intermediate container 5ec09f492d67 02:37:42 ---> 779abae7694a 02:37:42 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:37:42 ---> Running in b407267719e0 02:37:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:37:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:37:43 OK: 220 MiB in 52 packages 02:37:44 Removing intermediate container b407267719e0 02:37:44 ---> 8cc1c9862b3a 02:37:44 Step 8/24 : COPY . . 02:37:44 ---> b7dbbf1dff94 02:37:44 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:44 ---> Running in 2338e47bdb38 02:37:45 Removing intermediate container 2338e47bdb38 02:37:45 ---> 3d07026243c4 02:37:45 Step 10/24 : RUN ${MAKE} 02:37:45 ---> Running in 3cfe9c4f49a7 02:37:45 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 02:37:51 7a9cfe048b4a: Pull complete 02:37:51 72dc09318566: Pull complete 02:37:51 f4f7b4309257: Pull complete 02:37:51 0ac9a79272e3: Pull complete 02:37:57 b78e95d17946: Pull complete 02:37:57 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:37:57 ---> 8b459fc5aaf0 02:37:57 Step 3/10 : ARG MAKE=make build 02:37:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:37:58 Removing intermediate container 3cfe9c4f49a7 02:37:58 ---> f42b7d0bd495 02:37:58 Step 11/24 : FROM alpine:3.14 02:37:58 ---> Running in bc8dc6fe44e4 02:37:58 Removing intermediate container bc8dc6fe44e4 02:37:58 ---> da00426b41aa 02:37:58 Step 4/10 : WORKDIR /device-sdk-go 02:37:58 3.14: Pulling from library/alpine 02:37:58 97518928ae5f: Pulling fs layer 02:37:58 ---> Running in 382f5143cb48 02:37:59 97518928ae5f: Verifying Checksum 02:37:59 97518928ae5f: Download complete 02:37:59 97518928ae5f: Pull complete 02:37:59 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 02:37:59 Status: Downloaded newer image for alpine:3.14 02:37:59 ---> 0a97eee8041e 02:37:59 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:37:59 ---> Running in 6f30b1e24e49 02:37:59 Removing intermediate container 382f5143cb48 02:37:59 ---> d39a1e32805d 02:37:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:37:59 ---> Running in 7a2c6e99ddbf 02:37:59 Removing intermediate container 6f30b1e24e49 02:37:59 ---> 48b2016650a5 02:37:59 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:59 ---> Running in 851cdf76d8f4 02:37:59 Removing intermediate container 851cdf76d8f4 02:37:59 ---> 755798173cfe 02:37:59 Step 14/24 : RUN apk add --update --no-cache zeromq 02:37:59 Removing intermediate container 7a2c6e99ddbf 02:37:59 ---> ad0a9a875005 02:37:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:59 ---> Running in 07baf9623919 02:37:59 ---> Running in 5a62b9af7900 02:37:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:38:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:38:01 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:38:01 (2/5) Installing libsodium (1.0.18-r0) 02:38:01 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:38:01 (4/5) Installing libzmq (4.3.4-r0) 02:38:01 (5/5) Installing zeromq (4.3.4-r0) 02:38:01 Executing busybox-1.33.1-r6.trigger 02:38:01 OK: 8 MiB in 19 packages 02:38:01 Removing intermediate container 07baf9623919 02:38:01 ---> 683c073af271 02:38:01 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:38:01 ---> Running in cb4103b55260 02:38:01 Removing intermediate container 5a62b9af7900 02:38:01 ---> 16196ee8cba2 02:38:01 Step 15/24 : WORKDIR / 02:38:01 ---> Running in 873b8f08c6b2 02:38:01 Removing intermediate container 873b8f08c6b2 02:38:01 ---> 2423ffa639bb 02:38:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:38:02 ---> 630ac43063f8 02:38:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:38:02 ---> e1406b60e620 02:38:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:38:02 ---> f22cb8d5ea57 02:38:02 Step 19/24 : EXPOSE 59999 02:38:02 ---> Running in cfee2dee666d 02:38:02 Removing intermediate container cfee2dee666d 02:38:02 ---> c6f72dac9f50 02:38:02 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:38:02 ---> Running in 96dc9f379295 02:38:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:38:02 Removing intermediate container 96dc9f379295 02:38:02 ---> 2da6d0837b65 02:38:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:38:02 ---> Running in 9603eb5e8d4c 02:38:02 Removing intermediate container 9603eb5e8d4c 02:38:02 ---> 4723a142d7a2 02:38:02 Step 22/24 : LABEL arch=amd64 02:38:02 ---> Running in 19d17ca2d598 02:38:03 Removing intermediate container 19d17ca2d598 02:38:03 ---> 88e33b33c5e6 02:38:03 Step 23/24 : LABEL git_sha=a10945069221f12862f9a2d2b86a5a889805e071 02:38:03 ---> Running in 1a7c00d1a0d3 02:38:03 Removing intermediate container 1a7c00d1a0d3 02:38:03 ---> a1f07ae90196 02:38:03 Step 24/24 : LABEL version=0.0.0 02:38:03 ---> Running in ae35c6ebf096 02:38:03 Removing intermediate container ae35c6ebf096 02:38:03 ---> b13b947ae5ff 02:38:03 [Warning] One or more build-args [ARCH] were not consumed 02:38:03 Successfully built b13b947ae5ff 02:38:03 Successfully tagged device-sdk-simple:latest [Pipeline] } [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 02:38:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:38:04 02:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:38:04 OK: 219 MiB in 52 packages 02:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:38:04 latest: Pulling from edgex-lftools-log-publisher 02:38:04 b4d181a07f80: Pulling fs layer 02:38:04 a1111a8f2ec3: Pulling fs layer 02:38:04 ed53099fbce6: Pulling fs layer 02:38:04 dc539afda2c1: Pulling fs layer 02:38:04 77bc0d833cb6: Pulling fs layer 02:38:04 9065ff56babe: Pulling fs layer 02:38:04 d287ab97295c: Pulling fs layer 02:38:04 77bc0d833cb6: Waiting 02:38:04 dc539afda2c1: Waiting 02:38:04 9065ff56babe: Waiting 02:38:04 d287ab97295c: Waiting 02:38:04 a1111a8f2ec3: Verifying Checksum 02:38:04 a1111a8f2ec3: Download complete 02:38:04 dc539afda2c1: Verifying Checksum 02:38:04 dc539afda2c1: Download complete 02:38:04 ed53099fbce6: Verifying Checksum 02:38:04 ed53099fbce6: Download complete 02:38:04 9065ff56babe: Verifying Checksum 02:38:04 9065ff56babe: Download complete 02:38:04 b4d181a07f80: Verifying Checksum 02:38:04 b4d181a07f80: Download complete 02:38:04 77bc0d833cb6: Verifying Checksum 02:38:04 77bc0d833cb6: Download complete 02:38:05 d287ab97295c: Verifying Checksum 02:38:05 d287ab97295c: Download complete 02:38:05 Removing intermediate container cb4103b55260 02:38:05 ---> d12166f5d93e 02:38:05 Step 8/10 : COPY . . 02:38:06 b4d181a07f80: Pull complete 02:38:06 a1111a8f2ec3: Pull complete 02:38:06 ---> 98ea23a1f8c5 02:38:06 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:06 ---> Running in 44a720bbc8f7 02:38:06 ed53099fbce6: Pull complete 02:38:07 dc539afda2c1: Pull complete 02:38:07 77bc0d833cb6: Pull complete 02:38:07 9065ff56babe: Pull complete 02:38:12 d287ab97295c: Pull complete 02:38:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:38:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:38:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:38:12 prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container 02:38:12 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:38:15 $ docker top c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:15 ---> job-cost.sh 02:38:15 lf-activate-venv: SKIPPING 02:38:15 INFO: No Stack... 02:38:16 INFO: Retrieving Pricing Info for: v3-standard-2 02:38:16 INFO: Archiving Costs [Pipeline] sh 02:38:16 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 02:38:16 + cut -d, -f6 [Pipeline] lock 02:38:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] 02:38:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] did not exist. Created. 02:38:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:17 + echo total: 0.05999999865889549 [Pipeline] stash 02:38:17 Stashed 1 file(s) [Pipeline] } 02:38:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:38:17 $ docker stop --time=1 c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff 02:38:18 $ docker rm -f c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:39:28 Removing intermediate container 44a720bbc8f7 02:39:28 ---> 662674ac4155 02:39:28 Step 10/10 : RUN ${MAKE} 02:39:28 ---> Running in d9af81f85702 02:39:28 noop 02:39:28 Removing intermediate container d9af81f85702 02:39:28 ---> b6757d9b0c2e 02:39:28 Successfully built b6757d9b0c2e 02:39:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:39:28 + docker inspect -f . ci-base-image-arm64 02:39:28 . [Pipeline] withDockerContainer 02:39:28 prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container 02:39:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:39:30 $ docker top 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:31 + go version 02:39:31 go version go1.16.8 linux/arm64 [Pipeline] } 02:39:31 $ docker stop --time=1 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 02:39:32 $ docker rm -f 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:39:33 + docker inspect -f . ci-base-image-arm64 02:39:33 . [Pipeline] withDockerContainer 02:39:33 prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container 02:39:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:39:35 $ docker top 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:39:36 + make test 02:39:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:39:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:41:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:41:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:41:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:41:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.453s coverage: 23.3% of statements 02:41:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:41:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements 02:41:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements 02:41:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.254s coverage: 9.0% of statements 02:41:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:41:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:41:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:41:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.298s coverage: 28.7% of statements 02:41:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:41:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.205s coverage: 86.1% of statements 02:41:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:41:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:41:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.4% of statements 02:41:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.206s coverage: 89.2% of statements 02:41:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:41:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.8% of statements 02:41:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:41:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:41:18 GO111MODULE=on go vet ./... 02:42:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:42:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:42:14 ./bin/test-attribution-txt.sh [Pipeline] echo 02:42:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:42:14 $ docker stop --time=1 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 02:42:16 $ docker rm -f 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:17 Warning: overwriting stash ‘coverage-report’ 02:42:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:19 + ls -al . 02:42:19 total 308 02:42:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 02:42 . 02:42:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 02:37 .. 02:42:19 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 02:37 .dockerignore 02:42:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 02:37 .git 02:42:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 02:37 .github 02:42:19 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 02:37 .gitignore 02:42:19 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 02:37 .golangci.yml 02:42:19 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 02:37 CHANGELOG.md 02:42:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 02:37 GOVERNANCE.md 02:42:19 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 02:37 Jenkinsfile 02:42:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 02:37 LICENSE 02:42:19 -rw-rw-r-- 1 jenkins jenkins 1590 Jan 11 02:37 Makefile 02:42:19 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 02:37 OWNERS.md 02:42:19 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 02:37 README.md 02:42:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 02:33 VERSION 02:42:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 02:37 bin 02:42:19 -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 02:41 coverage.out 02:42:19 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 02:37 example 02:42:19 -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 02:37 go.mod 02:42:19 -rw-rw-r-- 1 jenkins jenkins 49492 Jan 11 02:37 go.sum 02:42:19 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 02:37 internal 02:42:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 02:37 openapi 02:42:19 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 02:37 pkg 02:42:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 02:37 snap 02:42:19 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 02:37 version.go [Pipeline] isUnix [Pipeline] sh 02:42:20 + 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=a10945069221f12862f9a2d2b86a5a889805e071 --label arch=arm64 --label version=0.0.0 . 02:42:20 Sending build context to Docker daemon 5.172MB 02:42:20 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 02:42:20 Step 2/24 : FROM ${BASE} AS builder 02:42:20 ---> b6757d9b0c2e 02:42:20 Step 3/24 : ARG MAKE=make build 02:42:20 ---> Running in c61e1fddd58e 02:42:20 Removing intermediate container c61e1fddd58e 02:42:20 ---> 4a7b5843c577 02:42:20 Step 4/24 : WORKDIR /device-sdk-go 02:42:21 ---> Running in 2b2967235a31 02:42:21 Removing intermediate container 2b2967235a31 02:42:21 ---> 39a16472aa66 02:42:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:42:21 ---> Running in 2b758a66b5ae 02:42:21 Removing intermediate container 2b758a66b5ae 02:42:21 ---> d8279ed5160b 02:42:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:42:21 ---> Running in e88ec665c013 02:42:23 Removing intermediate container e88ec665c013 02:42:23 ---> d75ab9b56d92 02:42:23 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:42:23 ---> Running in 43abc3829fc3 02:42:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:42:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:42:26 OK: 219 MiB in 52 packages 02:42:27 Removing intermediate container 43abc3829fc3 02:42:27 ---> c11e965ba51f 02:42:27 Step 8/24 : COPY . . 02:42:28 ---> b58aa3408c26 02:42:28 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:28 ---> Running in 4c4d3dd4ffde 02:42:30 Removing intermediate container 4c4d3dd4ffde 02:42:30 ---> a186227e39cb 02:42:30 Step 10/24 : RUN ${MAKE} 02:42:30 ---> Running in e32cd597e4bf 02:42:31 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 02:43:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:43:06 Removing intermediate container e32cd597e4bf 02:43:06 ---> 243be57b8566 02:43:06 Step 11/24 : FROM alpine:3.14 02:43:06 3.14: Pulling from library/alpine 02:43:06 be307f383ecc: Pulling fs layer 02:43:07 be307f383ecc: Download complete 02:43:07 be307f383ecc: Pull complete 02:43:07 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 02:43:07 Status: Downloaded newer image for alpine:3.14 02:43:07 ---> 5b8b7b635229 02:43:07 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:43:07 ---> Running in 38c84796fe3e 02:43:08 Removing intermediate container 38c84796fe3e 02:43:08 ---> 5a13c40550f3 02:43:08 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:43:08 ---> Running in 3724add36a52 02:43:09 Removing intermediate container 3724add36a52 02:43:09 ---> d16349e5d10d 02:43:09 Step 14/24 : RUN apk add --update --no-cache zeromq 02:43:09 ---> Running in 92362e184c56 02:43:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:43:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:43:12 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:43:12 (2/5) Installing libsodium (1.0.18-r0) 02:43:12 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:43:12 (4/5) Installing libzmq (4.3.4-r0) 02:43:13 (5/5) Installing zeromq (4.3.4-r0) 02:43:13 Executing busybox-1.33.1-r6.trigger 02:43:13 OK: 8 MiB in 19 packages 02:43:14 Removing intermediate container 92362e184c56 02:43:14 ---> 938d7c56b257 02:43:14 Step 15/24 : WORKDIR / 02:43:14 ---> Running in 65795fd69b26 02:43:14 Removing intermediate container 65795fd69b26 02:43:14 ---> c491e7d809b0 02:43:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:43:14 ---> 3db5950d1563 02:43:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:43:15 ---> 982c2cf5cd6f 02:43:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:43:16 ---> cb09dbb2f803 02:43:16 Step 19/24 : EXPOSE 59999 02:43:16 ---> Running in dd160de6b84f 02:43:17 Removing intermediate container dd160de6b84f 02:43:17 ---> 7869ef32ab2f 02:43:17 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:43:17 ---> Running in 544e68adbda5 02:43:17 Removing intermediate container 544e68adbda5 02:43:17 ---> 0c6cc368a1b4 02:43:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:43:17 ---> Running in e9f27f9e1f7c 02:43:17 Removing intermediate container e9f27f9e1f7c 02:43:17 ---> abedc6e0f9d2 02:43:17 Step 22/24 : LABEL arch=arm64 02:43:17 ---> Running in 62a9b2f7b0db 02:43:18 Removing intermediate container 62a9b2f7b0db 02:43:18 ---> 3e67cc58df05 02:43:18 Step 23/24 : LABEL git_sha=a10945069221f12862f9a2d2b86a5a889805e071 02:43:18 ---> Running in 725a318313cd 02:43:18 Removing intermediate container 725a318313cd 02:43:18 ---> 583ed95feb43 02:43:18 Step 24/24 : LABEL version=0.0.0 02:43:18 ---> Running in 42417acbdc10 02:43:18 Removing intermediate container 42417acbdc10 02:43:18 ---> 7cd4438b6ae7 02:43:18 [Warning] One or more build-args [ARCH] were not consumed 02:43:18 Successfully built 7cd4438b6ae7 02:43:19 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 02:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:19 02:43:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:43:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:20 arm64: Pulling from edgex-lftools-log-publisher 02:43:20 448f6bf000e3: Pulling fs layer 02:43:20 f757da607395: Pulling fs layer 02:43:20 05883995daec: Pulling fs layer 02:43:20 8603b9c90790: Pulling fs layer 02:43:20 1560dd03e051: Pulling fs layer 02:43:20 27f5ce0e4adf: Pulling fs layer 02:43:20 c2d8d7efcc4b: Pulling fs layer 02:43:20 8603b9c90790: Waiting 02:43:20 1560dd03e051: Waiting 02:43:20 27f5ce0e4adf: Waiting 02:43:20 c2d8d7efcc4b: Waiting 02:43:20 f757da607395: Verifying Checksum 02:43:20 f757da607395: Download complete 02:43:20 8603b9c90790: Verifying Checksum 02:43:20 8603b9c90790: Download complete 02:43:20 1560dd03e051: Verifying Checksum 02:43:20 1560dd03e051: Download complete 02:43:20 27f5ce0e4adf: Verifying Checksum 02:43:20 27f5ce0e4adf: Download complete 02:43:20 05883995daec: Verifying Checksum 02:43:20 05883995daec: Download complete 02:43:21 448f6bf000e3: Verifying Checksum 02:43:21 448f6bf000e3: Download complete 02:43:23 c2d8d7efcc4b: Verifying Checksum 02:43:23 c2d8d7efcc4b: Download complete 02:43:24 448f6bf000e3: Pull complete 02:43:25 f757da607395: Pull complete 02:43:26 05883995daec: Pull complete 02:43:26 8603b9c90790: Pull complete 02:43:27 1560dd03e051: Pull complete 02:43:28 27f5ce0e4adf: Pull complete 02:43:43 c2d8d7efcc4b: Pull complete 02:43:43 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:43:43 prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container 02:43:43 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:43:46 $ docker top dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:47 ---> job-cost.sh 02:43:47 lf-activate-venv: SKIPPING 02:43:47 INFO: No Stack... 02:43:47 INFO: Retrieving Pricing Info for: v3-standard-4 02:43:47 INFO: Archiving Costs [Pipeline] sh 02:43:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 02:43:48 + cut -d, -f6 [Pipeline] lock 02:43:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] 02:43:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] did not exist. Created. 02:43:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:43:49 /w/workspace/device-sdk-go/1@tmp/durable-e6149083/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e6149083/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:43:49 + echo total: 0.10999999940395355 [Pipeline] stash 02:43:49 Warning: overwriting stash ‘stack-cost’ 02:43:50 Stashed 1 file(s) [Pipeline] } 02:43:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:43:50 $ docker stop --time=1 dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 02:43:51 $ docker rm -f dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 [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 02:43:52 provisioning config files... 02:43:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config899552497497726846tmp [Pipeline] { [Pipeline] sh 02:43:53 + set +x 02:43:53 + bash -s -- 02:43:53 + curl -s https://codecov.io/bash 02:43:53 02:43:53 _____ _ 02:43:53 / ____| | | 02:43:53 | | ___ __| | ___ ___ _____ __ 02:43:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:43:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:43:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:43:53 Bash-1.0.6 02:43:53 02:43:53 02:43:53 ==> git version 2.24.4 found 02:43:53 ==> 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 02:43:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:43:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:43:53 ==> Jenkins CI detected. 02:43:53 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1078 02:43:53 project root: . 02:43:53 --> token set from env 02:43:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:43:53 ==> Running gcov in . (disable via -X gcov) 02:43:53 ==> Python coveragepy not found 02:43:53 ==> Searching for coverage reports in: 02:43:53 + . 02:43:53 -> Found 1 reports 02:43:53 ==> Detecting git/mercurial file structure 02:43:53 ==> Reading reports 02:43:53 + ./coverage.out bytes=128667 02:43:53 ==> Appending adjustments 02:43:53 https://docs.codecov.io/docs/fixing-reports 02:43:53 + Found adjustments 02:43:53 ==> Gzipping contents 02:43:53 16K /tmp/codecov.6xvoLx.gz 02:43:53 ==> Uploading reports 02:43:53 url: https://codecov.io 02:43:53 query: branch=PR-1078&commit=a10945069221f12862f9a2d2b86a5a889805e071&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1078%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1078&job=&cmd_args= 02:43:53 -> Pinging Codecov 02:43:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1078&commit=a10945069221f12862f9a2d2b86a5a889805e071&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1078%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1078&job=&cmd_args= 02:43:53 -> Uploading to 02:43:53 https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/a10945069221f12862f9a2d2b86a5a889805e071/dea6df1c-b82c-4fb9-9e37-6e8b8498fa0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T024353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa52b2b59ed7eacc275ee1998ce5d6ebec67798f60edb279f953263678fe7dff 02:43:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:53 Dload Upload Total Spent Left Speed 02:43:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16328 0 0 100 16328 0 47938 --:--:-- --:--:-- --:--:-- 48023 02:43:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] } 02:43:54 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 02:43:56 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:43:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:43:57 ---> package-listing.sh 02:43:57 ++ facter osfamily 02:43:57 ++ tr '[:upper:]' '[:lower:]' 02:43:57 + OS_FAMILY=redhat 02:43:57 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1078 02:43:57 + START_PACKAGES=/tmp/packages_start.txt 02:43:57 + END_PACKAGES=/tmp/packages_end.txt 02:43:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:43:57 + PACKAGES=/tmp/packages_start.txt 02:43:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1078 ']' 02:43:57 + PACKAGES=/tmp/packages_end.txt 02:43:57 + case "${OS_FAMILY}" in 02:43:57 + sort 02:43:57 + rpm -qa 02:43:58 + '[' -f /tmp/packages_start.txt ']' 02:43:58 + '[' -f /tmp/packages_end.txt ']' 02:43:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:43:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1078 ']' 02:43:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives/ 02:43:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives/ [Pipeline] echo 02:43:58 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-1078/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:43:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:59 02:43:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:43:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:43:59 latest: Pulling from edgex-lftools-log-publisher 02:43:59 b4d181a07f80: Pulling fs layer 02:43:59 a1111a8f2ec3: Pulling fs layer 02:43:59 ed53099fbce6: Pulling fs layer 02:43:59 dc539afda2c1: Pulling fs layer 02:43:59 77bc0d833cb6: Pulling fs layer 02:43:59 9065ff56babe: Pulling fs layer 02:43:59 d287ab97295c: Pulling fs layer 02:43:59 77bc0d833cb6: Waiting 02:43:59 9065ff56babe: Waiting 02:43:59 d287ab97295c: Waiting 02:43:59 dc539afda2c1: Waiting 02:43:59 a1111a8f2ec3: Verifying Checksum 02:43:59 a1111a8f2ec3: Download complete 02:43:59 dc539afda2c1: Verifying Checksum 02:43:59 dc539afda2c1: Download complete 02:43:59 ed53099fbce6: Verifying Checksum 02:43:59 ed53099fbce6: Download complete 02:43:59 9065ff56babe: Verifying Checksum 02:43:59 9065ff56babe: Download complete 02:43:59 77bc0d833cb6: Verifying Checksum 02:43:59 77bc0d833cb6: Download complete 02:43:59 b4d181a07f80: Verifying Checksum 02:43:59 b4d181a07f80: Download complete 02:44:00 d287ab97295c: Verifying Checksum 02:44:00 d287ab97295c: Download complete 02:44:01 b4d181a07f80: Pull complete 02:44:01 a1111a8f2ec3: Pull complete 02:44:02 ed53099fbce6: Pull complete 02:44:02 dc539afda2c1: Pull complete 02:44:03 77bc0d833cb6: Pull complete 02:44:03 9065ff56babe: Pull complete 02:44:09 d287ab97295c: Pull complete 02:44:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:44:09 prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container 02:44:09 $ 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-1078/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-1078 -v /w/workspace/gexfoundry_device-sdk-go_PR-1078:/w/workspace/gexfoundry_device-sdk-go_PR-1078:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:44:11 $ docker top b5dab3d7afe3ed4c900f2624c9dddf4296d5bda6cfc1b9d2c7f20f101a3b1ee2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:12 + touch /tmp/pre-build-complete [Pipeline] sh 02:44:12 + mkdir -p /var/log/sysstat [Pipeline] sh 02:44:13 + ls /var/log/sa-host 02:44:13 + sadf -c /var/log/sa-host/sa11 02:44:13 file_magic: OK 02:44:13 HZ: Using current value: 100 02:44:13 file_header: OK 02:44:13 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 02:44:13 Statistics: 02:44:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:44:13 File successfully converted to sysstat format version 12.0.3 02:44:13 + sadf -c /var/log/sa-host/sa17 02:44:13 file_magic: OK 02:44:13 HZ: Using current value: 100 02:44:13 file_header: OK 02:44:13 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 02:44:13 Statistics: 02:44:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:44:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:13 provisioning config files... 02:44:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config2806469475885954317tmp [Pipeline] { [Pipeline] echo 02:44:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:44:13 ---> create-netrc.sh [Pipeline] } 02:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:44:13 ---> python-tools-install.sh [Pipeline] echo 02:44:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:44:14 ---> sudo-logs.sh 02:44:14 Archiving 'sudo' log.. 02:44:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-1188.novalocal: Name or service not known 02:44:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-1188.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:44:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:44:14 ---> job-cost.sh 02:44:14 lf-activate-venv: SKIPPING 02:44:14 DEBUG: total: 0.10999999940395355 02:44:14 INFO: Retrieving Stack Cost... 02:44:15 INFO: Retrieving Pricing Info for: v3-standard-2 02:44:15 INFO: Archiving Costs [Pipeline] echo 02:44:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:44:15 ---> logs-deploy.sh 02:44:15 lf-activate-venv: SKIPPING 02:44:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1078/1 02:44:15 INFO: archiving workspace using pattern(s): 02:44:16 Archives upload complete. 02:44:17 INFO: archiving logs to Nexus 02:44:17 ---> uname -a: 02:44:17 Linux prd-centos7-docker-4c-2g-1188.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 02:44:17 02:44:17 02:44:17 ---> lscpu: 02:44:17 Architecture: x86_64 02:44:17 CPU op-mode(s): 32-bit, 64-bit 02:44:17 Byte Order: Little Endian 02:44:17 Address sizes: 40 bits physical, 48 bits virtual 02:44:17 CPU(s): 2 02:44:17 On-line CPU(s) list: 0,1 02:44:17 Thread(s) per core: 1 02:44:17 Core(s) per socket: 1 02:44:17 Socket(s): 2 02:44:17 NUMA node(s): 1 02:44:17 Vendor ID: AuthenticAMD 02:44:17 CPU family: 23 02:44:17 Model: 49 02:44:17 Model name: AMD EPYC-Rome Processor 02:44:17 Stepping: 0 02:44:17 CPU MHz: 2799.998 02:44:17 BogoMIPS: 5599.99 02:44:17 Virtualization: AMD-V 02:44:17 Hypervisor vendor: KVM 02:44:17 Virtualization type: full 02:44:17 L1d cache: 32K 02:44:17 L1i cache: 32K 02:44:17 L2 cache: 512K 02:44:17 L3 cache: 16384K 02:44:17 NUMA node0 CPU(s): 0,1 02:44:17 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 02:44:17 02:44:17 02:44:17 ---> nproc: 02:44:17 2 02:44:17 02:44:17 02:44:17 ---> df -h: 02:44:17 Filesystem Size Used Avail Use% Mounted on 02:44:17 overlay 40G 7.7G 33G 20% / 02:44:17 tmpfs 64M 0 64M 0% /dev 02:44:17 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:44:17 shm 64M 0 64M 0% /dev/shm 02:44:17 /dev/vda1 40G 7.7G 33G 20% /facter-os 02:44:17 02:44:17 02:44:17 ---> sar -b -r -n DEV: 02:44:17 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 02:44:17 02:44:17 02:32:38 LINUX RESTART (2 CPU) 02:44:17 02:44:17 02:33:01 tps rtps wtps bread/s bwrtn/s 02:44:17 02:34:03 70.98 8.87 62.11 3717.89 4045.88 02:44:17 02:35:01 1.93 0.05 1.88 1.10 37.90 02:44:17 02:36:01 0.40 0.00 0.40 0.00 5.48 02:44:17 02:37:01 0.18 0.00 0.18 0.00 3.10 02:44:17 02:38:01 0.17 0.00 0.17 0.00 2.43 02:44:17 02:39:01 0.33 0.00 0.33 0.00 4.88 02:44:17 02:40:01 0.25 0.00 0.25 0.00 2.47 02:44:17 02:41:01 0.33 0.00 0.33 0.00 3.36 02:44:17 02:42:01 0.22 0.00 0.22 0.00 2.16 02:44:17 02:43:01 0.17 0.00 0.17 0.00 1.75 02:44:17 02:44:01 2.13 0.13 2.00 13.72 84.52 02:44:17 Average: 7.03 0.83 6.20 340.58 382.55 02:44:17 02:44:17 02:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:44:17 02:34:03 5683864 0 621080 7.75 2620 1701376 1281548 14.15 569336 1520444 132 02:44:17 02:35:01 5692324 0 612572 7.65 2620 1701424 1212048 13.38 562460 1520448 8 02:44:17 02:36:01 5700384 0 604512 7.55 2620 1701424 1165800 12.87 555100 1520448 8 02:44:17 02:37:01 5698172 0 606712 7.58 2620 1701436 1165824 12.87 557252 1520448 8 02:44:17 02:38:01 5700712 0 604168 7.54 2620 1701440 1165896 12.87 554504 1520448 8 02:44:17 02:39:01 5701484 0 603396 7.53 2620 1701440 1165800 12.87 553984 1520448 8 02:44:17 02:40:01 5703488 0 601384 7.51 2620 1701448 1165524 12.87 552396 1520448 8 02:44:17 02:41:01 5694260 0 610608 7.62 2620 1701452 1165524 12.87 561416 1520448 8 02:44:17 02:42:01 5693848 0 611016 7.63 2620 1701456 1165524 12.87 561796 1520448 8 02:44:17 02:43:01 5692264 0 612596 7.65 2620 1701460 1165524 12.87 563756 1520448 16 02:44:17 02:44:01 5387700 0 713400 8.91 2620 1905220 1520940 16.79 793276 1573692 203356 02:44:17 Average: 5668045 0 618313 7.72 2620 1719961 1212723 13.39 580480 1525288 18506 02:44:17 02:44:17 02:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:44:17 02:34:03 eth0 374.75 214.18 1081.91 73.17 0.00 0.00 0.00 0.00 02:44:17 02:34:03 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:34:03 docker0 14.01 8.35 2.11 65.83 0.00 0.00 0.00 0.00 02:44:17 02:35:01 eth0 5.82 3.08 8.50 0.22 0.00 0.00 0.00 0.00 02:44:17 02:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:36:01 eth0 1.35 0.45 0.43 0.27 0.00 0.00 0.00 0.00 02:44:17 02:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:37:01 eth0 0.85 0.17 0.15 0.07 0.00 0.00 0.00 0.00 02:44:17 02:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:38:01 eth0 0.90 0.47 0.52 0.32 0.00 0.00 0.00 0.00 02:44:17 02:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:39:01 eth0 0.23 0.15 0.08 0.13 0.00 0.00 0.00 0.00 02:44:17 02:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:40:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:44:17 02:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:41:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:44:17 02:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:42:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:44:17 02:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:43:01 eth0 0.10 0.05 0.01 0.00 0.00 0.00 0.00 0.00 02:44:17 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:44:01 eth0 112.00 67.35 2594.79 9.93 0.00 0.00 0.00 0.00 02:44:17 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 Average: eth0 45.27 26.10 336.25 7.68 0.00 0.00 0.00 0.00 02:44:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:17 Average: docker0 1.28 0.76 0.19 6.01 0.00 0.00 0.00 0.00 02:44:17 02:44:17 02:44:17 ---> sar -P ALL: 02:44:17 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) 02:44:17 02:44:17 02:32:38 LINUX RESTART (2 CPU) 02:44:17 02:44:17 02:33:01 CPU %user %nice %system %iowait %steal %idle 02:44:17 02:34:03 all 14.28 0.00 3.20 1.43 0.21 80.87 02:44:17 02:34:03 0 14.52 0.00 3.40 1.18 0.19 80.71 02:44:17 02:34:03 1 14.05 0.00 3.01 1.68 0.22 81.03 02:44:17 02:35:01 all 0.21 0.00 0.10 0.00 0.03 99.65 02:44:17 02:35:01 0 0.33 0.00 0.12 0.00 0.03 99.51 02:44:17 02:35:01 1 0.09 0.00 0.09 0.00 0.03 99.79 02:44:17 02:36:01 all 0.30 0.00 0.08 0.00 0.04 99.57 02:44:17 02:36:01 0 0.52 0.00 0.08 0.00 0.05 99.35 02:44:17 02:36:01 1 0.08 0.00 0.08 0.00 0.03 99.80 02:44:17 02:37:01 all 0.25 0.00 0.06 0.00 0.03 99.67 02:44:17 02:37:01 0 0.43 0.00 0.07 0.00 0.02 99.48 02:44:17 02:37:01 1 0.07 0.00 0.05 0.00 0.03 99.85 02:44:17 02:38:01 all 0.31 0.00 0.08 0.00 0.03 99.58 02:44:17 02:38:01 0 0.38 0.00 0.08 0.00 0.03 99.50 02:44:17 02:38:01 1 0.23 0.00 0.07 0.00 0.03 99.67 02:44:17 02:39:01 all 0.28 0.00 0.05 0.00 0.03 99.64 02:44:17 02:39:01 0 0.13 0.00 0.05 0.00 0.03 99.78 02:44:17 02:39:01 1 0.42 0.00 0.05 0.00 0.03 99.50 02:44:17 02:40:01 all 0.25 0.00 0.07 0.00 0.03 99.66 02:44:17 02:40:01 0 0.12 0.00 0.07 0.00 0.03 99.78 02:44:17 02:40:01 1 0.38 0.00 0.07 0.00 0.02 99.53 02:44:17 02:41:01 all 0.16 0.00 0.13 0.00 0.03 99.69 02:44:17 02:41:01 0 0.08 0.00 0.07 0.00 0.03 99.82 02:44:17 02:41:01 1 0.23 0.00 0.18 0.00 0.02 99.56 02:44:17 02:42:01 all 0.28 0.00 0.06 0.00 0.03 99.62 02:44:17 02:42:01 0 0.10 0.00 0.05 0.00 0.02 99.83 02:44:17 02:42:01 1 0.47 0.00 0.07 0.00 0.05 99.41 02:44:17 02:43:01 all 0.23 0.00 0.06 0.00 0.03 99.68 02:44:17 02:43:01 0 0.10 0.00 0.08 0.00 0.03 99.78 02:44:17 02:43:01 1 0.35 0.00 0.03 0.00 0.03 99.58 02:44:17 02:44:01 all 4.21 0.00 1.34 0.01 0.07 94.37 02:44:17 02:44:01 0 3.29 0.00 1.28 0.02 0.07 95.34 02:44:17 02:44:01 1 5.14 0.00 1.40 0.00 0.07 93.39 02:44:17 02:44:17 Average: CPU %user %nice %system %iowait %steal %idle 02:44:17 Average: all 1.86 0.00 0.47 0.13 0.05 97.49 02:44:17 Average: 0 1.79 0.00 0.48 0.11 0.05 97.57 02:44:17 Average: 1 1.93 0.00 0.46 0.15 0.05 97.41 02:44:17 02:44:17 02:44:17