Pull request #1051 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 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb+6aaea41e142bdf99866ea5b9b70145e1b0b11551 (d11ab83b606ff8bf7651b9fea503f8a68d2c0c9b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1286966567682988131.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8691077264964891895.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1051/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-1051/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6827817176530395100.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-1051/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9145140085821219182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh4348511064488479738.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-1051/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-1051/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4936196716435744440.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-13727 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1051 # 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-1051@tmp/jenkins-gitclient-ssh4932798230906434883.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-1051@tmp/jenkins-gitclient-ssh7522436114282155985.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb Merge succeeded, producing c2102fbeee554c8b6ff10d975464dd52f8902c21 Checking out Revision c2102fbeee554c8b6ff10d975464dd52f8902c21 (PR-1051) > git config core.sparsecheckout # timeout=10 > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # 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-1051@tmp/jenkins-gitclient-ssh3889273945887540985.key > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2102fbeee554c8b6ff10d975464dd52f8902c21 # timeout=10 Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:09:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:09:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:09:19 ========================================================= 18:09:19 EdgeX Global Pipelines Version Info 18:09:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:09:20 ------------------- 18:09:20 stable info: 18:09:20 ------------------- 18:09:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:09:20 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 18:09:20 Message: update stable to v1.0.211 18:09:21 ------------------- 18:09:21 experimental info: 18:09:21 ------------------- 18:09:21 Commited By: **** collab-it+edgex@linuxfoundation.org 18:09:21 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 18:09:21 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:09:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1051 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1051 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1051 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2102fb [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:22 provisioning config files... 18:09:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config5639776291966434305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:23 ---> docker-login.sh 18:09:23 nexus3.edgexfoundry.org:10001 18:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:23 Configure a credential helper to remove this warning. See 18:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:23 18:09:23 Login Succeeded 18:09:23 nexus3.edgexfoundry.org:10002 18:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:23 Configure a credential helper to remove this warning. See 18:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:23 18:09:23 Login Succeeded 18:09:23 nexus3.edgexfoundry.org:10003 18:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:23 Configure a credential helper to remove this warning. See 18:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:23 18:09:23 Login Succeeded 18:09:23 nexus3.edgexfoundry.org:10004 18:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:23 Configure a credential helper to remove this warning. See 18:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:23 18:09:23 Login Succeeded 18:09:23 docker.io 18:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 ---> docker-login.sh ends [Pipeline] } 18:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:09:24 + git rev-list -1 --merges c2102fbeee554c8b6ff10d975464dd52f8902c21~1..c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo 18:09:24 -----------> git rev-list -1 --merges c2102fbeee554c8b6ff10d975464dd52f8902c21~1..c2102fbeee554c8b6ff10d975464dd52f8902c21 c2102fbeee554c8b6ff10d975464dd52f8902c21 18:09:24 c2102fbeee554c8b6ff10d975464dd52f8902c21 [false] [Pipeline] sh 18:09:25 + git log --format=format:%s -1 c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo 18:09:25 ========================================================= 18:09:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:09:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:25 + git log --format=format:%s -1 c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo 18:09:25 [semverPrep] GIT_COMMIT: c2102fbeee554c8b6ff10d975464dd52f8902c21, Commit Message: Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD [Pipeline] echo 18:09:25 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:09:26 18:09:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:09:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:09:26 latest: Pulling from edgex-devops/git-semver 18:09:26 a0d0a0d46f8b: Pulling fs layer 18:09:26 3e5f54012d9b: Pulling fs layer 18:09:26 4c7163046ea9: Pulling fs layer 18:09:26 0c2d73faf560: Pulling fs layer 18:09:26 0c2d73faf560: Waiting 18:09:26 3e5f54012d9b: Verifying Checksum 18:09:26 3e5f54012d9b: Download complete 18:09:26 a0d0a0d46f8b: Download complete 18:09:26 4c7163046ea9: Verifying Checksum 18:09:26 4c7163046ea9: Download complete 18:09:26 0c2d73faf560: Verifying Checksum 18:09:26 0c2d73faf560: Download complete 18:09:26 a0d0a0d46f8b: Pull complete 18:09:26 3e5f54012d9b: Pull complete 18:09:27 4c7163046ea9: Pull complete 18:09:27 0c2d73faf560: Pull complete 18:09:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:09:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:09:27 prd-centos7-docker-4c-2g-13727 does not seem to be running inside a container 18:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1051 -v /w/workspace/gexfoundry_device-sdk-go_PR-1051:/w/workspace/gexfoundry_device-sdk-go_PR-1051:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1051@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 18:09:28 $ docker top 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:28 [ssh-agent] Looking for ssh-agent implementation... 18:09:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:28 $ docker exec 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent 18:09:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXggKEkO/agent.14 18:09:28 SSH_AGENT_PID=20 18:09:28 Running ssh-add (command line suppressed) 18:09:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_5147332959954181436.key (/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_5147332959954181436.key) 18:09:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:29 + git tag --points-at HEAD [Pipeline] } 18:09:29 $ docker exec --env ******** --env ******** 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent -k 18:09:29 unset SSH_AUTH_SOCK; 18:09:29 unset SSH_AGENT_PID; 18:09:29 echo Agent pid 20 killed; 18:09:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:09:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:29 [ssh-agent] Looking for ssh-agent implementation... 18:09:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:29 $ docker exec 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent 18:09:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFLdio/agent.56 18:09:29 SSH_AGENT_PID=63 18:09:29 Running ssh-add (command line suppressed) 18:09:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_3773029355800121778.key (/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_3773029355800121778.key) 18:09:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:29 + git semver init 18:09:29 # -> Open(): unable to determine branch for HEAD 18:09:29 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1051/.git 18:09:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1051 18:09:29 # $SEMVER_REMOTE_NAME = origin 18:09:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:09:29 # $SEMVER_USER_NAME = edgex-jenkins 18:09:29 # $SEMVER_BRANCH = PR-1051 18:09:29 # $SEMVER_TEMP = /tmp/semver-165627763 18:09:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:09:30 # '/tmp/semver-165627763' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1051/.semver' 18:09:30 # -> Force: false 18:09:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1051/.semver [Pipeline] } 18:09:30 $ docker exec --env ******** --env ******** 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent -k 18:09:31 unset SSH_AUTH_SOCK; 18:09:31 unset SSH_AGENT_PID; 18:09:31 echo Agent pid 63 killed; 18:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:31 + git semver [Pipeline] } 18:09:31 $ docker stop --time=1 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 18:09:32 $ docker rm -f 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:09:33 Stashed 1 file(s) [Pipeline] echo 18:09:33 [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 18:09:48 Still waiting to schedule task 18:09:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:09:48 Still waiting to schedule task 18:09:48 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:12:01 Running on prd-centos7-docker-4c-2g-13728 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [Pipeline] { [Pipeline] ws 18:12:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:12:01 Selected Git installation does not exist. Using Default 18:12:01 The recommended git tool is: NONE 18:12:03 using credential edgex-jenkins-ssh 18:12:03 Cloning the remote Git repository 18:12:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:12:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:12:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:12:03 > git --version # timeout=10 18:12:03 > git --version # 'git version 2.24.4' 18:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:03 [INFO] Currently running in a labeled security context 18:12:03 [INFO] Currently SELinux is 'enforcing' on the host 18:12:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2470470461045276400.key 18:12:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:12:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:12:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:03 [INFO] Currently running in a labeled security context 18:12:03 [INFO] Currently SELinux is 'enforcing' on the host 18:12:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7322860376687744613.key 18:12:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:12:05 Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb 18:12:05 Merge succeeded, producing cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 18:12:05 Checking out Revision cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 (PR-1051) 18:12:04 > git config core.sparsecheckout # timeout=10 18:12:04 > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # timeout=10 18:12:04 > git remote # timeout=10 18:12:04 > git config --get remote.origin.url # timeout=10 18:12:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:12:04 [INFO] Currently running in a labeled security context 18:12:04 [INFO] Currently SELinux is 'enforcing' on the host 18:12:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4725512197705820256.key 18:12:04 > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 18:12:04 > git rev-parse HEAD^{commit} # timeout=10 18:12:04 > git config core.sparsecheckout # timeout=10 18:12:04 > git checkout -f cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 # timeout=10 18:12:09 Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" 18:12:09 First time build. Skipping changelog. 18:12:08 > git --version # timeout=10 18:12:08 > git --version # 'git version 2.24.4' 18:12:08 fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:09 provisioning config files... 18:12:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3934955386824818515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:10 ---> docker-login.sh 18:12:10 nexus3.edgexfoundry.org:10001 18:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:10 Configure a credential helper to remove this warning. See 18:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:10 18:12:10 Login Succeeded 18:12:10 nexus3.edgexfoundry.org:10002 18:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:10 Configure a credential helper to remove this warning. See 18:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:10 18:12:10 Login Succeeded 18:12:10 nexus3.edgexfoundry.org:10003 18:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:10 Configure a credential helper to remove this warning. See 18:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:10 18:12:10 Login Succeeded 18:12:10 nexus3.edgexfoundry.org:10004 18:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:10 Configure a credential helper to remove this warning. See 18:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:10 18:12:10 Login Succeeded 18:12:10 docker.io 18:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:11 Configure a credential helper to remove this warning. See 18:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:11 18:12:11 Login Succeeded 18:12:11 ---> docker-login.sh ends [Pipeline] } 18:12:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:11 ========================================================= 18:12:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:12:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:12:11 + 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 . 18:12:11 Sending build context to Docker daemon 2.742MB 18:12:11 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:12:11 Step 2/10 : FROM ${BASE} AS builder 18:12:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:12:11 a0d0a0d46f8b: Pulling fs layer 18:12:11 31adcdaf11c8: Pulling fs layer 18:12:11 b8b176561691: Pulling fs layer 18:12:11 4527c011a84f: Pulling fs layer 18:12:11 5d74067f8e1e: Pulling fs layer 18:12:11 e0aca202a116: Pulling fs layer 18:12:11 3a43be97a3b4: Pulling fs layer 18:12:11 34cad66bf833: Pulling fs layer 18:12:11 b4e3c513aaa6: Pulling fs layer 18:12:11 4527c011a84f: Waiting 18:12:11 5d74067f8e1e: Waiting 18:12:11 e0aca202a116: Waiting 18:12:11 3a43be97a3b4: Waiting 18:12:11 34cad66bf833: Waiting 18:12:11 b4e3c513aaa6: Waiting 18:12:11 b8b176561691: Verifying Checksum 18:12:11 b8b176561691: Download complete 18:12:11 31adcdaf11c8: Download complete 18:12:11 5d74067f8e1e: Verifying Checksum 18:12:11 5d74067f8e1e: Download complete 18:12:11 e0aca202a116: Verifying Checksum 18:12:11 e0aca202a116: Download complete 18:12:11 3a43be97a3b4: Verifying Checksum 18:12:11 3a43be97a3b4: Download complete 18:12:12 a0d0a0d46f8b: Verifying Checksum 18:12:12 a0d0a0d46f8b: Download complete 18:12:12 34cad66bf833: Verifying Checksum 18:12:12 34cad66bf833: Download complete 18:12:12 a0d0a0d46f8b: Pull complete 18:12:12 4527c011a84f: Verifying Checksum 18:12:12 4527c011a84f: Download complete 18:12:12 b4e3c513aaa6: Verifying Checksum 18:12:12 b4e3c513aaa6: Download complete 18:12:12 31adcdaf11c8: Pull complete 18:12:12 b8b176561691: Pull complete 18:12:16 4527c011a84f: Pull complete 18:12:16 5d74067f8e1e: Pull complete 18:12:16 e0aca202a116: Pull complete 18:12:17 3a43be97a3b4: Pull complete 18:12:17 34cad66bf833: Pull complete 18:12:19 b4e3c513aaa6: Pull complete 18:12:19 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:12:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:12:19 ---> 9f6097aaca64 18:12:19 Step 3/10 : ARG MAKE=make build 18:12:21 ---> Running in 374f5f3e21f6 18:12:21 Removing intermediate container 374f5f3e21f6 18:12:21 ---> 05b64ef5259c 18:12:21 Step 4/10 : WORKDIR /device-sdk-go 18:12:21 ---> Running in d851db3057c5 18:12:21 Removing intermediate container d851db3057c5 18:12:21 ---> f642fd4013bc 18:12:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:12:21 ---> Running in f0735d865b3a 18:12:21 Removing intermediate container f0735d865b3a 18:12:21 ---> bb32e58e7166 18:12:21 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:12:21 ---> Running in 245f46313780 18:12:22 Removing intermediate container 245f46313780 18:12:22 ---> 6278842f7314 18:12:22 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:12:22 ---> Running in 8ef865e5f525 18:12:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:12:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:12:23 OK: 220 MiB in 52 packages 18:12:23 Removing intermediate container 8ef865e5f525 18:12:23 ---> dd31a58d3a37 18:12:23 Step 8/10 : COPY . . 18:12:24 ---> 9d25f440665f 18:12:24 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:24 ---> Running in 2a1a29714e94 18:12:56 Removing intermediate container 2a1a29714e94 18:12:56 ---> 881462108f7e 18:12:56 Step 10/10 : RUN ${MAKE} 18:12:56 ---> Running in fafa01f27ade 18:12:56 noop 18:12:56 Removing intermediate container fafa01f27ade 18:12:56 ---> 442b16195a50 18:12:56 Successfully built 442b16195a50 18:12:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:12:56 + docker inspect -f . ci-base-image-x86_64 18:12:56 . [Pipeline] withDockerContainer 18:12:56 prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container 18:12:56 $ 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 ******** -e ******** ci-base-image-x86_64 cat 18:12:57 $ docker top ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:57 + go version 18:12:57 go version go1.16.8 linux/amd64 [Pipeline] } 18:12:57 $ docker stop --time=1 ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 18:12:58 $ docker rm -f ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:12:59 + docker inspect -f . ci-base-image-x86_64 18:12:59 . [Pipeline] withDockerContainer 18:12:59 prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container 18:12:59 $ 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 ******** -e ******** ci-base-image-x86_64 cat 18:12:59 $ docker top fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:13:00 + make test 18:13:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:13:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:13:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13729 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [Pipeline] { [Pipeline] ws 18:13:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:13:17 Selected Git installation does not exist. Using Default 18:13:17 The recommended git tool is: NONE 18:13:23 using credential edgex-jenkins-ssh 18:13:23 Cloning the remote Git repository 18:13:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:13:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:13:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:13:23 > git --version # timeout=10 18:13:23 > git --version # 'git version 2.17.1' 18:13:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:25 Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb 18:13:26 Merge succeeded, producing e2a54f31f22f26975e469fb3aea0b9f705eb00a4 18:13:26 Checking out Revision e2a54f31f22f26975e469fb3aea0b9f705eb00a4 (PR-1051) 18:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:13:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:13:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:13:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:13:25 > git config core.sparsecheckout # timeout=10 18:13:25 > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # timeout=10 18:13:25 > git remote # timeout=10 18:13:25 > git config --get remote.origin.url # timeout=10 18:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:26 > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 18:13:26 > git rev-parse HEAD^{commit} # timeout=10 18:13:26 > git config core.sparsecheckout # timeout=10 18:13:26 > git checkout -f e2a54f31f22f26975e469fb3aea0b9f705eb00a4 # timeout=10 18:13:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:13:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:13:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:13:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 23.8% of statements 18:13:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:13:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements 18:13:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements 18:13:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.035s coverage: 9.0% of statements 18:13:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:13:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:13:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:13:30 Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" 18:13:30 First time build. Skipping changelog. 18:13:30 > git --version # timeout=10 18:13:30 > git --version # 'git version 2.17.1' 18:13:30 fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements 18:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:13:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:13:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:31 Dload Upload Total Spent Left Speed 18:13:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11824 65 7746 0 0 45564 0 --:--:-- --:--:-- --:--:-- 45298 100 11824 100 11824 0 0 68744 0 --:--:-- --:--:-- --:--:-- 68744 [Pipeline] sh 18:13:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:13:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:13:32 + sudo tee /etc/docker/daemon.new 18:13:32 { 18:13:32 "registry-mirrors": [ 18:13:32 "https://nexus3.edgexfoundry.org:10001" 18:13:32 ], 18:13:32 "bip": "10.250.0.254/24", 18:13:32 "hosts": [ 18:13:32 "tcp://0.0.0.0:5555", 18:13:32 "unix:///var/run/docker.sock" 18:13:32 ], 18:13:32 "mtu": 1458, 18:13:32 "selinux-enabled": true, 18:13:32 "seccomp-profile": "/etc/docker/seccomp.json" 18:13:32 } 18:13:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 83.3% of statements 18:13:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:13:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:13:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [Pipeline] sh 18:13:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:13:32 + sudo service docker restart 18:13:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 88.8% of statements 18:13:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:13:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.9% of statements 18:13:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:13:33 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:51 provisioning config files... 18:13:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2725084116139643536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:51 ./bin/test-attribution-txt.sh [Pipeline] } 18:13:51 $ docker stop --time=1 fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac 18:13:51 ---> docker-login.sh 18:13:51 nexus3.edgexfoundry.org:10001 18:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:53 Configure a credential helper to remove this warning. See 18:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:53 18:13:53 Login Succeeded 18:13:53 nexus3.edgexfoundry.org:10002 18:13:53 $ docker rm -f fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac [Pipeline] // withDockerContainer [Pipeline] sh 18:13:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:53 Configure a credential helper to remove this warning. See 18:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:53 18:13:53 Login Succeeded 18:13:53 nexus3.edgexfoundry.org:10003 18:13:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 18:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 nexus3.edgexfoundry.org:10004 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 docker.io [Pipeline] sh 18:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:55 + ls -al . 18:13:55 total 260 18:13:55 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 1 18:13 . 18:13:55 drwxrwxr-x. 4 jenkins jenkins 28 Nov 1 18:12 .. 18:13:55 drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 18:12 bin 18:13:55 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 1 18:12 CHANGELOG.md 18:13:55 -rw-r--r--. 1 jenkins jenkins 126785 Nov 1 18:13 coverage.out 18:13:55 -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 18:12 .dockerignore 18:13:55 drwxrwxr-x. 5 jenkins jenkins 62 Nov 1 18:12 example 18:13:55 drwxrwxr-x. 8 jenkins jenkins 179 Nov 1 18:12 .git 18:13:55 drwxrwxr-x. 3 jenkins jenkins 125 Nov 1 18:12 .github 18:13:55 -rw-rw-r--. 1 jenkins jenkins 131 Nov 1 18:12 .gitignore 18:13:55 -rw-rw-r--. 1 jenkins jenkins 602 Nov 1 18:12 go.mod 18:13:55 -rw-rw-r--. 1 jenkins jenkins 49022 Nov 1 18:12 go.sum 18:13:55 -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 18:12 GOVERNANCE.md 18:13:55 drwxrwxr-x. 15 jenkins jenkins 224 Nov 1 18:12 internal 18:13:55 -rw-rw-r--. 1 jenkins jenkins 880 Nov 1 18:12 Jenkinsfile 18:13:55 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 1 18:12 LICENSE 18:13:55 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 1 18:12 Makefile 18:13:55 drwxrwxr-x. 3 jenkins jenkins 16 Nov 1 18:12 openapi 18:13:55 -rw-rw-r--. 1 jenkins jenkins 619 Nov 1 18:12 OWNERS.md 18:13:55 drwxrwxr-x. 5 jenkins jenkins 50 Nov 1 18:12 pkg 18:13:55 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 1 18:12 README.md 18:13:55 drwxrwxr-x. 4 jenkins jenkins 54 Nov 1 18:12 snap 18:13:55 -rw-rw-r--. 1 jenkins jenkins 5 Nov 1 18:09 VERSION 18:13:55 -rw-rw-r--. 1 jenkins jenkins 222 Nov 1 18:12 version.go [Pipeline] isUnix [Pipeline] sh 18:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:55 Configure a credential helper to remove this warning. See 18:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:55 18:13:55 Login Succeeded 18:13:55 ---> docker-login.sh ends [Pipeline] } 18:13:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:13:55 + 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=cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 --label arch=amd64 --label version=0.0.0 . 18:13:55 Sending build context to Docker daemon 2.869MB 18:13:55 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 18:13:55 Step 2/24 : FROM ${BASE} AS builder 18:13:55 ---> 442b16195a50 18:13:55 Step 3/24 : ARG MAKE=make build 18:13:55 ---> Running in 7be1d4c92cf9 18:13:55 Removing intermediate container 7be1d4c92cf9 18:13:55 ---> b8e998ccafb6 18:13:55 Step 4/24 : WORKDIR /device-sdk-go 18:13:56 ---> Running in 5ff1b432e00e 18:13:56 Removing intermediate container 5ff1b432e00e 18:13:56 ---> 6f931c25cf8e 18:13:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:13:56 ---> Running in 1e3f226a6e1c 18:13:56 Removing intermediate container 1e3f226a6e1c 18:13:56 ---> 620dc00f2c3e 18:13:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:13:56 ---> Running in 2594ff90f399 [Pipeline] echo 18:13:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:13:56 ========================================================= 18:13:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:13:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:13:56 + 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 . 18:13:56 Removing intermediate container 2594ff90f399 18:13:56 ---> b2e684c85059 18:13:56 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:13:56 ---> Running in ce8147f94967 18:13:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:13:57 Sending build context to Docker daemon 2.74MB 18:13:57 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:13:57 Step 2/10 : FROM ${BASE} AS builder 18:13:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:13:57 552d1f2373af: Pulling fs layer 18:13:57 ea3f2d53f512: Pulling fs layer 18:13:57 9e70ebbbe112: Pulling fs layer 18:13:57 7a9cfe048b4a: Pulling fs layer 18:13:57 72dc09318566: Pulling fs layer 18:13:57 f4f7b4309257: Pulling fs layer 18:13:57 0ac9a79272e3: Pulling fs layer 18:13:57 b78e95d17946: Pulling fs layer 18:13:57 7a9cfe048b4a: Waiting 18:13:57 0ac9a79272e3: Waiting 18:13:57 72dc09318566: Waiting 18:13:57 f4f7b4309257: Waiting 18:13:57 b78e95d17946: Waiting 18:13:57 9e70ebbbe112: Verifying Checksum 18:13:57 9e70ebbbe112: Download complete 18:13:57 ea3f2d53f512: Download complete 18:13:57 72dc09318566: Verifying Checksum 18:13:57 72dc09318566: Download complete 18:13:57 f4f7b4309257: Verifying Checksum 18:13:57 f4f7b4309257: Download complete 18:13:57 552d1f2373af: Verifying Checksum 18:13:57 552d1f2373af: Download complete 18:13:57 0ac9a79272e3: Verifying Checksum 18:13:57 0ac9a79272e3: Download complete 18:13:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:13:58 552d1f2373af: Pull complete 18:13:58 OK: 220 MiB in 52 packages 18:13:58 Removing intermediate container ce8147f94967 18:13:58 ---> 422aaaaea74a 18:13:58 Step 8/24 : COPY . . 18:13:58 ---> 051a32e14d1e 18:13:58 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:58 ---> Running in 61178b2c6a3f 18:13:58 ea3f2d53f512: Pull complete 18:13:59 Removing intermediate container 61178b2c6a3f 18:13:59 ---> 79e7c55c27e1 18:13:59 Step 10/24 : RUN ${MAKE} 18:13:59 ---> Running in 1cf72ede9c52 18:13:59 9e70ebbbe112: Pull complete 18:13:59 b78e95d17946: Verifying Checksum 18:13:59 b78e95d17946: Download complete 18:13:59 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 18:13:59 7a9cfe048b4a: Verifying Checksum 18:13:59 7a9cfe048b4a: Download complete 18:14:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:14:10 7a9cfe048b4a: Pull complete 18:14:10 72dc09318566: Pull complete 18:14:10 Removing intermediate container 1cf72ede9c52 18:14:10 ---> 27b1cf37a9bc 18:14:10 Step 11/24 : FROM alpine:3.14 18:14:10 f4f7b4309257: Pull complete 18:14:10 0ac9a79272e3: Pull complete 18:14:11 3.14: Pulling from library/alpine 18:14:11 a0d0a0d46f8b: Already exists 18:14:11 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:14:11 Status: Downloaded newer image for alpine:3.14 18:14:11 ---> 14119a10abf4 18:14:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:14:11 ---> Running in a3ec30266f66 18:14:11 Removing intermediate container a3ec30266f66 18:14:11 ---> 901076dbc857 18:14:11 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:11 ---> Running in 9cec6c167272 18:14:12 Removing intermediate container 9cec6c167272 18:14:12 ---> 677118edcb3a 18:14:12 Step 14/24 : RUN apk add --update --no-cache zeromq 18:14:12 ---> Running in bcd62bce1788 18:14:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:14:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:14:13 (1/5) Installing libgcc (10.3.1_git20210424-r2) 18:14:13 (2/5) Installing libsodium (1.0.18-r0) 18:14:13 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 18:14:14 (4/5) Installing libzmq (4.3.4-r0) 18:14:14 (5/5) Installing zeromq (4.3.4-r0) 18:14:14 Executing busybox-1.33.1-r3.trigger 18:14:14 OK: 8 MiB in 19 packages 18:14:14 Removing intermediate container bcd62bce1788 18:14:14 ---> 6ef90653ed97 18:14:14 Step 15/24 : WORKDIR / 18:14:14 ---> Running in 43d16025754d 18:14:14 Removing intermediate container 43d16025754d 18:14:14 ---> ef3d05bd4f53 18:14:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:14:14 ---> 49cfb69fcfda 18:14:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:14:15 ---> 4d41eb9fca55 18:14:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:14:15 ---> 289b5bc6b5ad 18:14:15 Step 19/24 : EXPOSE 59999 18:14:15 ---> Running in 5aea061b4544 18:14:15 Removing intermediate container 5aea061b4544 18:14:15 ---> 47f2e82c7960 18:14:15 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:14:15 ---> Running in d242be144cb3 18:14:15 Removing intermediate container d242be144cb3 18:14:15 ---> cc6a80da2a27 18:14:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:14:15 ---> Running in 4c3b4cffcdf4 18:14:15 Removing intermediate container 4c3b4cffcdf4 18:14:15 ---> fae58eea2244 18:14:15 Step 22/24 : LABEL arch=amd64 18:14:15 ---> Running in d6b0aaa21afb 18:14:15 Removing intermediate container d6b0aaa21afb 18:14:15 ---> 287dd1e0f063 18:14:15 Step 23/24 : LABEL git_sha=cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 18:14:15 ---> Running in 7490aab749a8 18:14:15 Removing intermediate container 7490aab749a8 18:14:15 ---> 6aea97e0edb5 18:14:15 Step 24/24 : LABEL version=0.0.0 18:14:15 ---> Running in 6359a8ca2757 18:14:15 Removing intermediate container 6359a8ca2757 18:14:15 ---> 9b3c7ecf3ac9 18:14:15 [Warning] One or more build-args [ARCH] were not consumed 18:14:15 Successfully built 9b3c7ecf3ac9 18:14:15 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 18:14:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:16 18:14:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:14:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:17 latest: Pulling from edgex-lftools-log-publisher 18:14:17 b4d181a07f80: Pulling fs layer 18:14:17 a1111a8f2ec3: Pulling fs layer 18:14:17 ed53099fbce6: Pulling fs layer 18:14:17 dc539afda2c1: Pulling fs layer 18:14:17 77bc0d833cb6: Pulling fs layer 18:14:17 9065ff56babe: Pulling fs layer 18:14:17 d287ab97295c: Pulling fs layer 18:14:17 dc539afda2c1: Waiting 18:14:17 77bc0d833cb6: Waiting 18:14:17 9065ff56babe: Waiting 18:14:17 d287ab97295c: Waiting 18:14:17 a1111a8f2ec3: Verifying Checksum 18:14:17 a1111a8f2ec3: Download complete 18:14:17 dc539afda2c1: Verifying Checksum 18:14:17 dc539afda2c1: Download complete 18:14:17 ed53099fbce6: Verifying Checksum 18:14:17 ed53099fbce6: Download complete 18:14:17 9065ff56babe: Verifying Checksum 18:14:17 9065ff56babe: Download complete 18:14:17 77bc0d833cb6: Verifying Checksum 18:14:17 77bc0d833cb6: Download complete 18:14:17 b4d181a07f80: Verifying Checksum 18:14:17 b4d181a07f80: Download complete 18:14:17 b78e95d17946: Pull complete 18:14:17 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 18:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:14:17 ---> 8b459fc5aaf0 18:14:17 Step 3/10 : ARG MAKE=make build 18:14:18 d287ab97295c: Verifying Checksum 18:14:18 d287ab97295c: Download complete 18:14:18 b4d181a07f80: Pull complete 18:14:18 a1111a8f2ec3: Pull complete 18:14:19 ---> Running in fc8ae1d95509 18:14:19 Removing intermediate container fc8ae1d95509 18:14:19 ---> f0e3f04687ea 18:14:19 Step 4/10 : WORKDIR /device-sdk-go 18:14:19 ---> Running in 808978dcfdeb 18:14:19 ed53099fbce6: Pull complete 18:14:19 Removing intermediate container 808978dcfdeb 18:14:19 ---> 0c46cb318ed0 18:14:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:14:19 dc539afda2c1: Pull complete 18:14:19 ---> Running in da251d4934e2 18:14:20 77bc0d833cb6: Pull complete 18:14:20 9065ff56babe: Pull complete 18:14:20 Removing intermediate container da251d4934e2 18:14:20 ---> 0048bce9ff34 18:14:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:20 ---> Running in ccaac16d15e5 18:14:22 Removing intermediate container ccaac16d15e5 18:14:22 ---> b3aeff391683 18:14:22 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:14:22 ---> Running in 73b20b2632f8 18:14:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:14:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:14:25 d287ab97295c: Pull complete 18:14:25 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:14:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:14:25 prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container 18:14:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:14:25 OK: 219 MiB in 52 packages 18:14:26 Removing intermediate container 73b20b2632f8 18:14:26 ---> d378c089cf6f 18:14:26 Step 8/10 : COPY . . 18:14:27 ---> e844766416f5 18:14:27 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:27 ---> Running in 23abbaaa1240 18:14:28 $ docker top 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:28 ---> job-cost.sh 18:14:28 lf-activate-venv: SKIPPING 18:14:28 INFO: No Stack... 18:14:28 INFO: Retrieving Pricing Info for: v3-standard-2 18:14:29 INFO: Archiving Costs [Pipeline] sh 18:14:29 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 18:14:29 + cut -d, -f6 [Pipeline] lock 18:14:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] 18:14:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] did not exist. Created. 18:14:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:30 + echo total: 0.05999999865889549 [Pipeline] stash 18:14:30 Stashed 1 file(s) [Pipeline] } 18:14:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:30 $ docker stop --time=1 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e 18:14:31 $ docker rm -f 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:15:49 Removing intermediate container 23abbaaa1240 18:15:49 ---> c0fb455b559f 18:15:49 Step 10/10 : RUN ${MAKE} 18:15:49 ---> Running in 2947272b9865 18:15:49 noop 18:15:49 Removing intermediate container 2947272b9865 18:15:49 ---> b27cf2176027 18:15:49 Successfully built b27cf2176027 18:15:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:15:50 + docker inspect -f . ci-base-image-arm64 18:15:50 . [Pipeline] withDockerContainer 18:15:50 prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container 18:15:50 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:15:52 $ docker top 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:53 + go version 18:15:53 go version go1.16.8 linux/arm64 [Pipeline] } 18:15:53 $ docker stop --time=1 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 18:15:54 $ docker rm -f 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:15:55 + docker inspect -f . ci-base-image-arm64 18:15:55 . [Pipeline] withDockerContainer 18:15:56 prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container 18:15:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:15:57 $ docker top 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:15:58 + make test 18:15:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:16:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:17:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 23.8% of statements 18:17:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:17:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.387s coverage: 28.1% of statements 18:17:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.267s coverage: 78.9% of statements 18:17:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.217s coverage: 9.0% of statements 18:17:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:17:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:17:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:17:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.360s coverage: 28.7% of statements 18:17:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:17:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.212s coverage: 83.3% of statements 18:17:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:17:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:17:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.490s coverage: 57.8% of statements 18:17:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.211s coverage: 88.8% of statements 18:17:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:17:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements 18:17:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:17:44 GO111MODULE=on go vet ./... 18:18:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:18:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:18:52 ./bin/test-attribution-txt.sh [Pipeline] } 18:18:52 $ docker stop --time=1 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb 18:18:54 $ docker rm -f 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb [Pipeline] // withDockerContainer [Pipeline] sh 18:18:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:18:55 Warning: overwriting stash ‘coverage-report’ 18:18:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:18:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:18:57 + ls -al . 18:18:57 total 296 18:18:57 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 18:18 . 18:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:13 .. 18:18:57 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 18:13 .dockerignore 18:18:57 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:13 .git 18:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:13 .github 18:18:57 -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 18:13 .gitignore 18:18:57 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 1 18:13 CHANGELOG.md 18:18:57 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 18:13 GOVERNANCE.md 18:18:57 -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 18:13 Jenkinsfile 18:18:57 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 18:13 LICENSE 18:18:57 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 1 18:13 Makefile 18:18:57 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 18:13 OWNERS.md 18:18:57 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 1 18:13 README.md 18:18:57 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 18:09 VERSION 18:18:57 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:13 bin 18:18:57 -rw-r--r-- 1 jenkins jenkins 126785 Nov 1 18:17 coverage.out 18:18:57 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:13 example 18:18:57 -rw-rw-r-- 1 jenkins jenkins 602 Nov 1 18:13 go.mod 18:18:57 -rw-rw-r-- 1 jenkins jenkins 49022 Nov 1 18:13 go.sum 18:18:57 drwxrwxr-x 15 jenkins jenkins 4096 Nov 1 18:13 internal 18:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:13 openapi 18:18:57 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:13 pkg 18:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:13 snap 18:18:57 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 18:13 version.go [Pipeline] isUnix [Pipeline] sh 18:18:57 + 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=e2a54f31f22f26975e469fb3aea0b9f705eb00a4 --label arch=arm64 --label version=0.0.0 . 18:18:58 Sending build context to Docker daemon 2.867MB 18:18:58 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 18:18:58 Step 2/24 : FROM ${BASE} AS builder 18:18:58 ---> b27cf2176027 18:18:58 Step 3/24 : ARG MAKE=make build 18:18:58 ---> Running in 37df18e73d3e 18:18:59 Removing intermediate container 37df18e73d3e 18:18:59 ---> 4214210e4bea 18:18:59 Step 4/24 : WORKDIR /device-sdk-go 18:18:59 ---> Running in 5ddad0bb3c43 18:18:59 Removing intermediate container 5ddad0bb3c43 18:18:59 ---> 7581167d4b05 18:18:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:18:59 ---> Running in 72e0e03658bd 18:19:00 Removing intermediate container 72e0e03658bd 18:19:00 ---> 56d0298a5fdb 18:19:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:00 ---> Running in 339f0eece386 18:19:02 Removing intermediate container 339f0eece386 18:19:02 ---> 447379ce092f 18:19:02 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:19:02 ---> Running in 9d27c1903dc0 18:19:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:19:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:19:06 OK: 219 MiB in 52 packages 18:19:07 Removing intermediate container 9d27c1903dc0 18:19:07 ---> 07256db29565 18:19:07 Step 8/24 : COPY . . 18:19:08 ---> a281f7cba6f8 18:19:08 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:19:08 ---> Running in 4419fbfe6917 18:19:11 Removing intermediate container 4419fbfe6917 18:19:11 ---> 4cfaab114eae 18:19:11 Step 10/24 : RUN ${MAKE} 18:19:11 ---> Running in 9383431739a8 18:19:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:19:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:19:51 Removing intermediate container 9383431739a8 18:19:51 ---> 3ef38506d67c 18:19:51 Step 11/24 : FROM alpine:3.14 18:19:51 3.14: Pulling from library/alpine 18:19:51 552d1f2373af: Already exists 18:19:51 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:19:51 Status: Downloaded newer image for alpine:3.14 18:19:51 ---> bb3de5531c18 18:19:51 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:19:51 ---> Running in 5ed4be32c191 18:19:51 Removing intermediate container 5ed4be32c191 18:19:51 ---> db9950b1f074 18:19:51 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:51 ---> Running in e4a5ea46dffb 18:19:54 Removing intermediate container e4a5ea46dffb 18:19:54 ---> bbf207537b08 18:19:54 Step 14/24 : RUN apk add --update --no-cache zeromq 18:19:54 ---> Running in 241cddbf6312 18:19:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:19:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:19:57 (1/5) Installing libgcc (10.3.1_git20210424-r2) 18:19:57 (2/5) Installing libsodium (1.0.18-r0) 18:19:57 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 18:19:57 (4/5) Installing libzmq (4.3.4-r0) 18:19:57 (5/5) Installing zeromq (4.3.4-r0) 18:19:57 Executing busybox-1.33.1-r3.trigger 18:19:57 OK: 8 MiB in 19 packages 18:19:59 Removing intermediate container 241cddbf6312 18:19:59 ---> 2037bbdb312c 18:19:59 Step 15/24 : WORKDIR / 18:19:59 ---> Running in 223144d1098d 18:19:59 Removing intermediate container 223144d1098d 18:19:59 ---> 5a1eb5d4c9bb 18:19:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:20:00 ---> 3f8c0178dd3a 18:20:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:20:01 ---> d42e792aa72f 18:20:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:20:02 ---> a1fb30c8e787 18:20:02 Step 19/24 : EXPOSE 59999 18:20:02 ---> Running in dfdd59c1409e 18:20:03 Removing intermediate container dfdd59c1409e 18:20:03 ---> fc02b17cdf93 18:20:03 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:20:03 ---> Running in 8c73972ba15d 18:20:03 Removing intermediate container 8c73972ba15d 18:20:03 ---> fc183af4c724 18:20:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:20:03 ---> Running in e38ba50e68e5 18:20:04 Removing intermediate container e38ba50e68e5 18:20:04 ---> 19d03a854a3e 18:20:04 Step 22/24 : LABEL arch=arm64 18:20:04 ---> Running in 3b6052750c7d 18:20:04 Removing intermediate container 3b6052750c7d 18:20:04 ---> 1a4b5e992dc8 18:20:04 Step 23/24 : LABEL git_sha=e2a54f31f22f26975e469fb3aea0b9f705eb00a4 18:20:04 ---> Running in ee62ea24bb50 18:20:05 Removing intermediate container ee62ea24bb50 18:20:05 ---> c0da9a89d66c 18:20:05 Step 24/24 : LABEL version=0.0.0 18:20:05 ---> Running in d02e5ed24a65 18:20:05 Removing intermediate container d02e5ed24a65 18:20:05 ---> eea96d96ae42 18:20:05 [Warning] One or more build-args [ARCH] were not consumed 18:20:06 Successfully built eea96d96ae42 18:20:06 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 18:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:07 18:20:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:07 arm64: Pulling from edgex-lftools-log-publisher 18:20:07 448f6bf000e3: Pulling fs layer 18:20:07 f757da607395: Pulling fs layer 18:20:07 05883995daec: Pulling fs layer 18:20:07 8603b9c90790: Pulling fs layer 18:20:07 1560dd03e051: Pulling fs layer 18:20:07 27f5ce0e4adf: Pulling fs layer 18:20:07 c2d8d7efcc4b: Pulling fs layer 18:20:07 1560dd03e051: Waiting 18:20:07 27f5ce0e4adf: Waiting 18:20:07 c2d8d7efcc4b: Waiting 18:20:07 8603b9c90790: Waiting 18:20:07 f757da607395: Verifying Checksum 18:20:07 f757da607395: Download complete 18:20:07 8603b9c90790: Download complete 18:20:08 1560dd03e051: Verifying Checksum 18:20:08 1560dd03e051: Download complete 18:20:08 27f5ce0e4adf: Verifying Checksum 18:20:08 27f5ce0e4adf: Download complete 18:20:08 05883995daec: Verifying Checksum 18:20:08 05883995daec: Download complete 18:20:08 448f6bf000e3: Verifying Checksum 18:20:08 448f6bf000e3: Download complete 18:20:10 c2d8d7efcc4b: Verifying Checksum 18:20:10 c2d8d7efcc4b: Download complete 18:20:11 448f6bf000e3: Pull complete 18:20:12 f757da607395: Pull complete 18:20:13 05883995daec: Pull complete 18:20:14 8603b9c90790: Pull complete 18:20:15 1560dd03e051: Pull complete 18:20:15 27f5ce0e4adf: Pull complete 18:20:31 c2d8d7efcc4b: Pull complete 18:20:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:20:31 prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container 18:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:20:34 $ docker top 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:35 ---> job-cost.sh 18:20:35 lf-activate-venv: SKIPPING 18:20:35 INFO: No Stack... 18:20:35 INFO: Retrieving Pricing Info for: v3-standard-4 18:20:36 INFO: Archiving Costs [Pipeline] sh 18:20:37 + cut -d, -f6 18:20:37 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 18:20:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] 18:20:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] did not exist. Created. 18:20:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:37 /w/workspace/device-sdk-go/1@tmp/durable-8cddf83d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-8cddf83d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:20:38 + echo total: 0.10999999940395355 [Pipeline] stash 18:20:38 Warning: overwriting stash ‘stack-cost’ 18:20:38 Stashed 1 file(s) [Pipeline] } 18:20:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:38 $ docker stop --time=1 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 18:20:40 $ docker rm -f 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 [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 18:20:41 provisioning config files... 18:20:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config1603279976190482456tmp [Pipeline] { [Pipeline] sh 18:20:41 + set +x 18:20:41 + curl -s https://codecov.io/bash 18:20:41 + bash -s -- 18:20:41 18:20:41 _____ _ 18:20:41 / ____| | | 18:20:41 | | ___ __| | ___ ___ _____ __ 18:20:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:20:41 | |___| (_) | (_| | __/ (_| (_) \ V / 18:20:41 \_____\___/ \__,_|\___|\___\___/ \_/ 18:20:41 Bash-1.0.6 18:20:41 18:20:41 18:20:41 ==> git version 2.24.4 found 18:20:41 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:20:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:20:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:20:41 ==> Jenkins CI detected. 18:20:41 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1051 18:20:41 project root: . 18:20:41 --> token set from env 18:20:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:20:42 ==> Running gcov in . (disable via -X gcov) 18:20:42 ==> Python coveragepy not found 18:20:42 ==> Searching for coverage reports in: 18:20:42 + . 18:20:42 -> Found 1 reports 18:20:42 ==> Detecting git/mercurial file structure 18:20:42 ==> Reading reports 18:20:42 + ./coverage.out bytes=126785 18:20:42 ==> Appending adjustments 18:20:42 https://docs.codecov.io/docs/fixing-reports 18:20:42 + Found adjustments 18:20:42 ==> Gzipping contents 18:20:42 16K /tmp/codecov.ymc1AE.gz 18:20:42 ==> Uploading reports 18:20:42 url: https://codecov.io 18:20:42 query: branch=PR-1051&commit=c2102fbeee554c8b6ff10d975464dd52f8902c21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1051%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1051&job=&cmd_args= 18:20:42 -> Pinging Codecov 18:20:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1051&commit=c2102fbeee554c8b6ff10d975464dd52f8902c21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1051%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1051&job=&cmd_args= 18:20:42 -> Uploading to 18:20:42 https://storage.googleapis.com/codecov/v4/raw/2021-11-01/7E55EF52A471D76F132DFD9A03CDDE97/c2102fbeee554c8b6ff10d975464dd52f8902c21/d8e04a19-0fac-40bb-b444-dd7283b67f15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T182042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aca5ce4c69c48eaabcc54073a03aadf4c412221adac01503932aae852fd6126 18:20:42 % Total % Received % Xferd Average Speed Time Time Time Current 18:20:42 Dload Upload Total Spent Left Speed 18:20:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16163 0 0 100 16163 0 53327 --:--:-- --:--:-- --:--:-- 53519 18:20:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] } 18:20:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:20:45 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:20:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:20:46 ---> package-listing.sh 18:20:46 ++ facter osfamily 18:20:46 ++ tr '[:upper:]' '[:lower:]' 18:20:46 + OS_FAMILY=redhat 18:20:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1051 18:20:46 + START_PACKAGES=/tmp/packages_start.txt 18:20:46 + END_PACKAGES=/tmp/packages_end.txt 18:20:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:20:46 + PACKAGES=/tmp/packages_start.txt 18:20:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1051 ']' 18:20:46 + PACKAGES=/tmp/packages_end.txt 18:20:46 + case "${OS_FAMILY}" in 18:20:46 + rpm -qa 18:20:46 + sort 18:20:46 + '[' -f /tmp/packages_start.txt ']' 18:20:46 + '[' -f /tmp/packages_end.txt ']' 18:20:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:20:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1051 ']' 18:20:46 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives/ 18:20:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives/ [Pipeline] echo 18:20:46 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-1051/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:20:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:20:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:47 18:20:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:20:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:47 latest: Pulling from edgex-lftools-log-publisher 18:20:47 b4d181a07f80: Pulling fs layer 18:20:47 a1111a8f2ec3: Pulling fs layer 18:20:47 ed53099fbce6: Pulling fs layer 18:20:47 dc539afda2c1: Pulling fs layer 18:20:47 77bc0d833cb6: Pulling fs layer 18:20:47 9065ff56babe: Pulling fs layer 18:20:47 d287ab97295c: Pulling fs layer 18:20:47 dc539afda2c1: Waiting 18:20:47 77bc0d833cb6: Waiting 18:20:47 9065ff56babe: Waiting 18:20:47 d287ab97295c: Waiting 18:20:47 a1111a8f2ec3: Verifying Checksum 18:20:47 a1111a8f2ec3: Download complete 18:20:47 dc539afda2c1: Verifying Checksum 18:20:47 dc539afda2c1: Download complete 18:20:48 ed53099fbce6: Verifying Checksum 18:20:48 ed53099fbce6: Download complete 18:20:48 9065ff56babe: Verifying Checksum 18:20:48 9065ff56babe: Download complete 18:20:48 77bc0d833cb6: Verifying Checksum 18:20:48 77bc0d833cb6: Download complete 18:20:48 b4d181a07f80: Verifying Checksum 18:20:48 b4d181a07f80: Download complete 18:20:48 d287ab97295c: Verifying Checksum 18:20:48 d287ab97295c: Download complete 18:20:49 b4d181a07f80: Pull complete 18:20:49 a1111a8f2ec3: Pull complete 18:20:50 ed53099fbce6: Pull complete 18:20:50 dc539afda2c1: Pull complete 18:20:51 77bc0d833cb6: Pull complete 18:20:51 9065ff56babe: Pull complete 18:20:56 d287ab97295c: Pull complete 18:20:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:20:56 prd-centos7-docker-4c-2g-13727 does not seem to be running inside a container 18:20:56 $ 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-1051/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-1051 -v /w/workspace/gexfoundry_device-sdk-go_PR-1051:/w/workspace/gexfoundry_device-sdk-go_PR-1051:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1051@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 18:21:00 $ docker top e7963f65df411afee13379f4739c668366d637dc4e5fd9fe3b9d9559b65253b0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:21:01 + mkdir -p /var/log/sysstat [Pipeline] sh 18:21:01 + ls /var/log/sa-host 18:21:01 + sadf -c /var/log/sa-host/sa01 18:21:01 file_magic: OK 18:21:01 HZ: Using current value: 100 18:21:01 file_header: OK 18:21:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:21:01 Statistics: 18:21:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:21:01 File successfully converted to sysstat format version 12.0.3 18:21:01 + sadf -c /var/log/sa-host/sa30 18:21:01 file_magic: OK 18:21:01 HZ: Using current value: 100 18:21:01 file_header: OK 18:21:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:21:01 Statistics: 18:21:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:21:01 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:21:01 provisioning config files... 18:21:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config1543956893876417946tmp [Pipeline] { [Pipeline] echo 18:21:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:21:02 ---> create-netrc.sh [Pipeline] } 18:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:21:02 ---> python-tools-install.sh [Pipeline] echo 18:21:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:21:02 ---> sudo-logs.sh 18:21:02 Archiving 'sudo' log.. 18:21:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-13727.novalocal: Name or service not known 18:21:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-13727.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:21:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:21:03 ---> job-cost.sh 18:21:03 lf-activate-venv: SKIPPING 18:21:03 DEBUG: total: 0.10999999940395355 18:21:03 INFO: Retrieving Stack Cost... 18:21:03 INFO: Retrieving Pricing Info for: v3-standard-2 18:21:04 INFO: Archiving Costs [Pipeline] echo 18:21:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:21:04 ---> logs-deploy.sh 18:21:04 lf-activate-venv: SKIPPING 18:21:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1051/1 18:21:04 INFO: archiving workspace using pattern(s): 18:21:04 Archives upload complete. 18:21:05 INFO: archiving logs to Nexus 18:21:05 ---> uname -a: 18:21:05 Linux prd-centos7-docker-4c-2g-13727.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 18:21:05 18:21:05 18:21:05 ---> lscpu: 18:21:05 Architecture: x86_64 18:21:05 CPU op-mode(s): 32-bit, 64-bit 18:21:05 Byte Order: Little Endian 18:21:05 Address sizes: 40 bits physical, 48 bits virtual 18:21:05 CPU(s): 2 18:21:05 On-line CPU(s) list: 0,1 18:21:05 Thread(s) per core: 1 18:21:05 Core(s) per socket: 1 18:21:05 Socket(s): 2 18:21:05 NUMA node(s): 1 18:21:05 Vendor ID: AuthenticAMD 18:21:05 CPU family: 23 18:21:05 Model: 49 18:21:05 Model name: AMD EPYC-Rome Processor 18:21:05 Stepping: 0 18:21:05 CPU MHz: 2799.998 18:21:05 BogoMIPS: 5599.99 18:21:05 Virtualization: AMD-V 18:21:05 Hypervisor vendor: KVM 18:21:05 Virtualization type: full 18:21:05 L1d cache: 32K 18:21:05 L1i cache: 32K 18:21:05 L2 cache: 512K 18:21:05 L3 cache: 16384K 18:21:05 NUMA node0 CPU(s): 0,1 18:21:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 18:21:05 18:21:05 18:21:05 ---> nproc: 18:21:05 2 18:21:05 18:21:05 18:21:05 ---> df -h: 18:21:05 Filesystem Size Used Avail Use% Mounted on 18:21:05 overlay 40G 7.7G 33G 20% / 18:21:05 tmpfs 64M 0 64M 0% /dev 18:21:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:21:05 shm 64M 0 64M 0% /dev/shm 18:21:05 /dev/vda1 40G 7.7G 33G 20% /facter-os 18:21:05 18:21:05 18:21:05 ---> sar -b -r -n DEV: 18:21:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/01/21 _x86_64_ (2 CPU) 18:21:05 18:21:05 18:08:44 LINUX RESTART (2 CPU) 18:21:05 18:21:05 18:09:03 tps rtps wtps bread/s bwrtn/s 18:21:05 18:10:01 114.45 20.21 94.25 5612.82 9105.87 18:21:05 18:11:01 1.92 0.03 1.88 1.07 40.44 18:21:05 18:12:01 0.23 0.00 0.23 0.00 1.92 18:21:05 18:13:01 0.38 0.00 0.38 0.00 6.56 18:21:05 18:14:01 0.13 0.00 0.13 0.00 2.02 18:21:05 18:15:01 0.40 0.00 0.40 0.00 6.83 18:21:05 18:16:01 0.15 0.00 0.15 0.00 1.75 18:21:05 18:17:01 0.18 0.00 0.18 0.00 2.03 18:21:05 18:18:01 0.30 0.00 0.30 0.00 3.22 18:21:05 18:19:01 0.23 0.00 0.23 0.00 2.60 18:21:05 18:20:01 0.27 0.00 0.27 0.00 3.48 18:21:05 Average: 10.47 1.78 8.69 494.98 809.33 18:21:05 18:21:05 18:09:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:21:05 18:10:01 5683660 0 623192 7.78 2620 1699460 1263576 13.95 566928 1523436 132 18:21:05 18:11:01 5696424 0 610420 7.62 2620 1699468 1162972 12.84 556372 1523400 16 18:21:05 18:12:01 5700224 0 606620 7.57 2620 1699468 1162972 12.84 551872 1523960 8 18:21:05 18:13:01 5695848 0 610988 7.63 2620 1699476 1163480 12.85 556900 1523960 16 18:21:05 18:14:01 5697292 0 609540 7.61 2620 1699480 1163468 12.85 553632 1524800 8 18:21:05 18:15:01 5698056 0 608772 7.60 2620 1699484 1163384 12.84 553428 1524804 16 18:21:05 18:16:01 5699228 0 607596 7.59 2620 1699488 1163228 12.84 552448 1524880 8 18:21:05 18:17:01 5697692 0 609128 7.61 2620 1699492 1163228 12.84 554120 1524880 8 18:21:05 18:18:01 5689192 0 617624 7.71 2620 1699496 1163228 12.84 562568 1524880 8 18:21:05 18:19:01 5689236 0 617576 7.71 2620 1699500 1163228 12.84 564232 1523224 8 18:21:05 18:20:01 5689176 0 617632 7.71 2620 1699504 1163312 12.84 564472 1523288 8 18:21:05 Average: 5694184 0 612644 7.65 2620 1699483 1172371 12.94 557907 1524137 21 18:21:05 18:21:05 18:09:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:21:05 18:10:01 eth0 508.54 294.38 1073.56 80.32 0.00 0.00 0.00 0.00 18:21:05 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:10:01 docker0 10.63 4.89 1.79 30.43 0.00 0.00 0.00 0.00 18:21:05 18:11:01 eth0 0.10 0.10 0.01 0.02 0.00 0.00 0.00 0.00 18:21:05 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:12:01 eth0 0.67 0.08 0.06 0.01 0.00 0.00 0.00 0.00 18:21:05 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:13:01 eth0 0.97 0.32 0.32 0.20 0.00 0.00 0.00 0.00 18:21:05 18:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:14:01 eth0 0.53 0.30 0.32 0.20 0.00 0.00 0.00 0.00 18:21:05 18:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:15:01 eth0 0.38 0.25 0.15 0.08 0.00 0.00 0.00 0.00 18:21:05 18:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:16:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:21:05 18:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:17:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 18:21:05 18:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:18:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:19:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:20:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 18:21:05 18:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 18:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 Average: eth0 45.14 26.10 94.74 7.14 0.00 0.00 0.00 0.00 18:21:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:05 Average: docker0 0.94 0.43 0.16 2.68 0.00 0.00 0.00 0.00 18:21:05 18:21:05 18:21:05 ---> sar -P ALL: 18:21:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/01/21 _x86_64_ (2 CPU) 18:21:05 18:21:05 18:08:44 LINUX RESTART (2 CPU) 18:21:05 18:21:05 18:09:03 CPU %user %nice %system %iowait %steal %idle 18:21:05 18:10:01 all 16.96 0.00 4.73 2.55 0.06 75.70 18:21:05 18:10:01 0 17.96 0.00 4.99 2.02 0.05 74.97 18:21:05 18:10:01 1 15.96 0.00 4.47 3.08 0.07 76.42 18:21:05 18:11:01 all 0.15 0.00 0.07 0.00 0.03 99.76 18:21:05 18:11:01 0 0.22 0.00 0.05 0.00 0.02 99.72 18:21:05 18:11:01 1 0.08 0.00 0.08 0.00 0.03 99.80 18:21:05 18:12:01 all 0.15 0.00 0.05 0.00 0.03 99.77 18:21:05 18:12:01 0 0.18 0.00 0.03 0.00 0.02 99.77 18:21:05 18:12:01 1 0.12 0.00 0.07 0.00 0.03 99.78 18:21:05 18:13:01 all 0.23 0.00 0.03 0.00 0.02 99.72 18:21:05 18:13:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:21:05 18:13:01 1 0.43 0.00 0.05 0.00 0.03 99.48 18:21:05 18:14:01 all 0.16 0.00 0.04 0.00 0.03 99.77 18:21:05 18:14:01 0 0.07 0.00 0.03 0.00 0.02 99.88 18:21:05 18:14:01 1 0.25 0.00 0.05 0.00 0.03 99.67 18:21:05 18:15:01 all 0.07 0.00 0.05 0.00 0.03 99.86 18:21:05 18:15:01 0 0.05 0.00 0.05 0.00 0.03 99.87 18:21:05 18:15:01 1 0.08 0.00 0.05 0.00 0.02 99.85 18:21:05 18:16:01 all 0.08 0.00 0.03 0.00 0.03 99.87 18:21:05 18:16:01 0 0.05 0.00 0.03 0.00 0.02 99.90 18:21:05 18:16:01 1 0.10 0.00 0.02 0.00 0.03 99.85 18:21:05 18:17:01 all 0.16 0.00 0.05 0.00 0.02 99.77 18:21:05 18:17:01 0 0.03 0.00 0.05 0.00 0.02 99.90 18:21:05 18:17:01 1 0.28 0.00 0.05 0.00 0.02 99.65 18:21:05 18:18:01 all 0.17 0.00 0.04 0.00 0.03 99.77 18:21:05 18:18:01 0 0.02 0.00 0.05 0.00 0.02 99.92 18:21:05 18:18:01 1 0.32 0.00 0.03 0.00 0.03 99.62 18:21:05 18:19:01 all 0.20 0.00 0.03 0.00 0.02 99.76 18:21:05 18:19:01 0 0.05 0.00 0.03 0.00 0.02 99.90 18:21:05 18:19:01 1 0.35 0.00 0.02 0.00 0.02 99.62 18:21:05 18:20:01 all 0.21 0.00 0.03 0.00 0.01 99.75 18:21:05 18:20:01 0 0.07 0.00 0.05 0.00 0.02 99.87 18:21:05 18:20:01 1 0.35 0.00 0.02 0.00 0.00 99.63 18:21:05 18:21:05 Average: CPU %user %nice %system %iowait %steal %idle 18:21:05 Average: all 1.60 0.00 0.44 0.22 0.02 97.72 18:21:05 Average: 0 1.61 0.00 0.46 0.17 0.02 97.74 18:21:05 Average: 1 1.59 0.00 0.42 0.26 0.03 97.70 18:21:05 18:21:05 18:21:05