Pull request #1186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cb407924c40b87a7cde79c7c59fdf367fb080f65+387354420b6c024391aeac33674ce5c69e12b92e (72a6d66385145b35db0e279006fde05a59df4ef0) 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-ssh7429116501676913217.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5069910523835413044.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15275818658831933110.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-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377923555787132101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh14558116596102854944.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-1186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8321936009625930431.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16465 in /w/workspace/gexfoundry_device-sdk-go_PR-1186 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit cb407924c40b87a7cde79c7c59fdf367fb080f65 Merge succeeded, producing cb407924c40b87a7cde79c7c59fdf367fb080f65 Checking out Revision cb407924c40b87a7cde79c7c59fdf367fb080f65 (PR-1186) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1186/head:refs/remotes/origin/PR-1186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-30T04:06:50.267Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-30T04:06:50.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-30T04:06:50.540Z] ========================================================= [2022-06-30T04:06:50.540Z] EdgeX Global Pipelines Version Info [2022-06-30T04:06:50.540Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:06:51.334Z] ------------------- [2022-06-30T04:06:51.334Z] stable info: [2022-06-30T04:06:51.334Z] ------------------- [2022-06-30T04:06:51.334Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-30T04:06:51.334Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-30T04:06:51.334Z] Message: update stable to v1.0.234 [2022-06-30T04:06:51.906Z] ------------------- [2022-06-30T04:06:51.906Z] experimental info: [2022-06-30T04:06:51.906Z] ------------------- [2022-06-30T04:06:51.906Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-30T04:06:51.906Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-30T04:06:51.906Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-30T04:06:52.239Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-30T04:06:52.275Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-30T04:06:52.311Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-30T04:06:52.350Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-30T04:06:52.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-30T04:06:52.430Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-30T04:06:52.467Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-30T04:06:52.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-30T04:06:52.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-30T04:06:52.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-30T04:06:52.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-30T04:06:52.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-30T04:06:52.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-30T04:06:52.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-30T04:06:52.778Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T04:06:52.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T04:06:52.930Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T04:06:52.966Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T04:06:53.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-30T04:06:53.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-30T04:06:53.092Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-30T04:06:53.135Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-30T04:06:53.174Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-30T04:06:53.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-30T04:06:53.250Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-30T04:06:53.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-30T04:06:53.337Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-30T04:06:53.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1186 [Pipeline] echo [2022-06-30T04:06:53.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1186 [Pipeline] echo [2022-06-30T04:06:53.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1186 [Pipeline] echo [2022-06-30T04:06:53.504Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo [2022-06-30T04:06:53.543Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb40792 [Pipeline] echo [2022-06-30T04:06:53.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T04:06:53.704Z] provisioning config files... [2022-06-30T04:06:53.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config2257933750828175579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:06:54.073Z] ---> docker-login.sh [2022-06-30T04:06:54.073Z] nexus3.edgexfoundry.org:10001 [2022-06-30T04:06:54.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:06:54.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:06:54.334Z] Configure a credential helper to remove this warning. See [2022-06-30T04:06:54.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:06:54.334Z] [2022-06-30T04:06:54.334Z] Login Succeeded [2022-06-30T04:06:54.334Z] nexus3.edgexfoundry.org:10002 [2022-06-30T04:06:54.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:06:54.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:06:54.595Z] Configure a credential helper to remove this warning. See [2022-06-30T04:06:54.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:06:54.595Z] [2022-06-30T04:06:54.595Z] Login Succeeded [2022-06-30T04:06:54.595Z] nexus3.edgexfoundry.org:10003 [2022-06-30T04:06:54.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:06:54.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:06:54.864Z] Configure a credential helper to remove this warning. See [2022-06-30T04:06:54.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:06:54.864Z] [2022-06-30T04:06:54.864Z] Login Succeeded [2022-06-30T04:06:54.864Z] nexus3.edgexfoundry.org:10004 [2022-06-30T04:06:54.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:06:54.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:06:54.864Z] Configure a credential helper to remove this warning. See [2022-06-30T04:06:54.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:06:54.864Z] [2022-06-30T04:06:54.864Z] Login Succeeded [2022-06-30T04:06:54.864Z] docker.io [2022-06-30T04:06:54.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:06:55.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:06:55.437Z] Configure a credential helper to remove this warning. See [2022-06-30T04:06:55.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:06:55.437Z] [2022-06-30T04:06:55.437Z] Login Succeeded [2022-06-30T04:06:55.437Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T04:06:55.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-30T04:06:56.076Z] + git rev-list -1 --merges cb407924c40b87a7cde79c7c59fdf367fb080f65~1..cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo [2022-06-30T04:06:56.135Z] -----------> git rev-list -1 --merges cb407924c40b87a7cde79c7c59fdf367fb080f65~1..cb407924c40b87a7cde79c7c59fdf367fb080f65 cb407924c40b87a7cde79c7c59fdf367fb080f65 [false] [Pipeline] sh [2022-06-30T04:06:56.446Z] + git log --format=format:%s -1 cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo [2022-06-30T04:06:56.478Z] ========================================================= [2022-06-30T04:06:56.478Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-30T04:06:56.478Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T04:06:56.910Z] + git log --format=format:%s -1 cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo [2022-06-30T04:06:56.948Z] [semverPrep] GIT_COMMIT: cb407924c40b87a7cde79c7c59fdf367fb080f65, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-06-30T04:06:56.977Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-30T04:06:57.363Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T04:06:57.363Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-30T04:06:57.363Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-30T04:06:57.363Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-30T04:06:57.363Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-30T04:06:57.363Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-30T04:06:57.363Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:06:57.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T04:06:57.858Z] [2022-06-30T04:06:57.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:06:58.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T04:06:58.289Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-30T04:06:58.289Z] 42c077c10790: Pulling fs layer [2022-06-30T04:06:58.289Z] f63e77b7563a: Pulling fs layer [2022-06-30T04:06:58.289Z] bd5fdadae976: Pulling fs layer [2022-06-30T04:06:58.289Z] 205491f53016: Pulling fs layer [2022-06-30T04:06:58.289Z] df18705c85c3: Pulling fs layer [2022-06-30T04:06:58.289Z] bdb3f477010e: Pulling fs layer [2022-06-30T04:06:58.289Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-30T04:06:58.289Z] 2c6e9b1d212d: Pulling fs layer [2022-06-30T04:06:58.289Z] bdb8f0575790: Pulling fs layer [2022-06-30T04:06:58.289Z] 205491f53016: Waiting [2022-06-30T04:06:58.289Z] df18705c85c3: Waiting [2022-06-30T04:06:58.289Z] bdb3f477010e: Waiting [2022-06-30T04:06:58.289Z] 2c6e9b1d212d: Waiting [2022-06-30T04:06:58.289Z] c8a8fc8e1c8f: Waiting [2022-06-30T04:06:58.289Z] 386e3cb2ff24: Pulling fs layer [2022-06-30T04:06:58.289Z] 2343380bae48: Pulling fs layer [2022-06-30T04:06:58.289Z] bdb8f0575790: Waiting [2022-06-30T04:06:58.289Z] 386e3cb2ff24: Waiting [2022-06-30T04:06:58.289Z] 2343380bae48: Waiting [2022-06-30T04:06:58.289Z] f63e77b7563a: Verifying Checksum [2022-06-30T04:06:58.289Z] f63e77b7563a: Download complete [2022-06-30T04:06:58.289Z] 205491f53016: Verifying Checksum [2022-06-30T04:06:58.289Z] 205491f53016: Download complete [2022-06-30T04:06:58.548Z] bd5fdadae976: Verifying Checksum [2022-06-30T04:06:58.548Z] bd5fdadae976: Download complete [2022-06-30T04:06:58.548Z] df18705c85c3: Verifying Checksum [2022-06-30T04:06:58.548Z] df18705c85c3: Download complete [2022-06-30T04:06:58.548Z] bdb3f477010e: Verifying Checksum [2022-06-30T04:06:58.548Z] bdb3f477010e: Download complete [2022-06-30T04:06:58.548Z] 2c6e9b1d212d: Download complete [2022-06-30T04:06:58.548Z] bdb8f0575790: Verifying Checksum [2022-06-30T04:06:58.548Z] bdb8f0575790: Download complete [2022-06-30T04:06:58.548Z] 386e3cb2ff24: Verifying Checksum [2022-06-30T04:06:58.548Z] 2343380bae48: Verifying Checksum [2022-06-30T04:06:58.548Z] 2343380bae48: Download complete [2022-06-30T04:06:58.548Z] 42c077c10790: Download complete [2022-06-30T04:06:58.808Z] c8a8fc8e1c8f: Download complete [2022-06-30T04:07:00.191Z] 42c077c10790: Pull complete [2022-06-30T04:07:00.191Z] f63e77b7563a: Pull complete [2022-06-30T04:07:00.457Z] bd5fdadae976: Pull complete [2022-06-30T04:07:00.730Z] 205491f53016: Pull complete [2022-06-30T04:07:01.004Z] df18705c85c3: Pull complete [2022-06-30T04:07:01.004Z] bdb3f477010e: Pull complete [2022-06-30T04:07:02.931Z] c8a8fc8e1c8f: Pull complete [2022-06-30T04:07:02.931Z] 2c6e9b1d212d: Pull complete [2022-06-30T04:07:03.194Z] bdb8f0575790: Pull complete [2022-06-30T04:07:03.194Z] 386e3cb2ff24: Pull complete [2022-06-30T04:07:03.194Z] 2343380bae48: Pull complete [2022-06-30T04:07:03.194Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-30T04:07:03.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T04:07:03.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:07:03.423Z] prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container [2022-06-30T04:07:03.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T04:07:04.893Z] $ docker top d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a -eo pid,comm [2022-06-30T04:07:04.963Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-30T04:07:04.963Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T04:07:05.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T04:07:05.087Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T04:07:05.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T04:07:05.230Z] $ docker exec d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent [2022-06-30T04:07:05.351Z] SSH_AUTH_SOCK=/tmp/ssh-eo12VYKmalMz/agent.32 [2022-06-30T04:07:05.351Z] SSH_AGENT_PID=39 [2022-06-30T04:07:05.358Z] Running ssh-add (command line suppressed) [2022-06-30T04:07:05.488Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_2302366439469768989.key (/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_2302366439469768989.key) [2022-06-30T04:07:05.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T04:07:05.834Z] + git tag --points-at HEAD [Pipeline] } [2022-06-30T04:07:05.862Z] $ docker exec --env ******** --env ******** d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent -k [2022-06-30T04:07:05.981Z] unset SSH_AUTH_SOCK; [2022-06-30T04:07:05.981Z] unset SSH_AGENT_PID; [2022-06-30T04:07:05.988Z] echo Agent pid 39 killed; [2022-06-30T04:07:05.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-30T04:07:06.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T04:07:06.079Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T04:07:06.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T04:07:06.226Z] $ docker exec d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent [2022-06-30T04:07:06.364Z] SSH_AUTH_SOCK=/tmp/ssh-iO42SN2jyqvp/agent.71 [2022-06-30T04:07:06.364Z] SSH_AGENT_PID=78 [2022-06-30T04:07:06.371Z] Running ssh-add (command line suppressed) [2022-06-30T04:07:06.517Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_7411844078130797451.key (/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_7411844078130797451.key) [2022-06-30T04:07:06.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T04:07:06.864Z] + git semver init [2022-06-30T04:07:07.124Z] 2022-06-30 04:07:07,096 [run_init] DEBUG init version:0.0.0 force:False [2022-06-30T04:07:07.124Z] 2022-06-30 04:07:07,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver [2022-06-30T04:07:07.124Z] 2022-06-30 04:07:07,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver [2022-06-30T04:07:07.124Z] 2022-06-30 04:07:07,098 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186, universal_newlines=False, shell=None, istream=None) [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,883 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.git/info/exclude [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 with force:False [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,884 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,888 [execute] INFO git cat-file --batch-check [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,894 [execute] INFO git cat-file --batch [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T04:07:08.068Z] 2022-06-30 04:07:07,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 [2022-06-30T04:07:08.068Z] 0.0.0 [Pipeline] } [2022-06-30T04:07:08.100Z] $ docker exec --env ******** --env ******** d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent -k [2022-06-30T04:07:08.215Z] unset SSH_AUTH_SOCK; [2022-06-30T04:07:08.215Z] unset SSH_AGENT_PID; [2022-06-30T04:07:08.215Z] echo Agent pid 78 killed; [2022-06-30T04:07:08.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T04:07:08.651Z] + git semver [Pipeline] } [2022-06-30T04:07:08.943Z] $ docker stop --time=1 d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a [2022-06-30T04:07:10.274Z] $ docker rm -f d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T04:07:10.687Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-30T04:07:10.983Z] Stashed 1 file(s) [Pipeline] echo [2022-06-30T04:07:11.000Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T04:07:11.605Z] provisioning config files... [2022-06-30T04:07:11.616Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config2762179119094478628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:07:11.968Z] ---> docker-login.sh [2022-06-30T04:07:11.968Z] nexus3.edgexfoundry.org:10001 [2022-06-30T04:07:11.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:07:11.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:07:11.968Z] Configure a credential helper to remove this warning. See [2022-06-30T04:07:11.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:07:11.968Z] [2022-06-30T04:07:11.968Z] Login Succeeded [2022-06-30T04:07:11.968Z] nexus3.edgexfoundry.org:10002 [2022-06-30T04:07:11.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:07:12.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:07:12.228Z] Configure a credential helper to remove this warning. See [2022-06-30T04:07:12.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:07:12.228Z] [2022-06-30T04:07:12.228Z] Login Succeeded [2022-06-30T04:07:12.228Z] nexus3.edgexfoundry.org:10003 [2022-06-30T04:07:12.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:07:12.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:07:12.228Z] Configure a credential helper to remove this warning. See [2022-06-30T04:07:12.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:07:12.228Z] [2022-06-30T04:07:12.228Z] Login Succeeded [2022-06-30T04:07:12.228Z] nexus3.edgexfoundry.org:10004 [2022-06-30T04:07:12.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:07:12.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:07:12.489Z] Configure a credential helper to remove this warning. See [2022-06-30T04:07:12.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:07:12.489Z] [2022-06-30T04:07:12.489Z] Login Succeeded [2022-06-30T04:07:12.489Z] docker.io [2022-06-30T04:07:12.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:07:12.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:07:12.749Z] Configure a credential helper to remove this warning. See [2022-06-30T04:07:12.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:07:12.749Z] [2022-06-30T04:07:12.749Z] Login Succeeded [2022-06-30T04:07:12.749Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T04:07:12.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T04:07:12.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T04:07:12.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T04:07:13.027Z] ========================================================= [2022-06-30T04:07:13.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-30T04:07:13.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:07:13.493Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-30T04:07:13.493Z] Sending build context to Docker daemon 9.687MB [2022-06-30T04:07:13.493Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T04:07:13.493Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-30T04:07:13.755Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-30T04:07:13.755Z] 59bf1c3509f3: Pulling fs layer [2022-06-30T04:07:13.755Z] 666ba61612fd: Pulling fs layer [2022-06-30T04:07:13.755Z] 8ed8ca486205: Pulling fs layer [2022-06-30T04:07:13.755Z] cc1cd167ecdc: Pulling fs layer [2022-06-30T04:07:13.755Z] c516ae0d96e1: Pulling fs layer [2022-06-30T04:07:13.755Z] cc1cd167ecdc: Waiting [2022-06-30T04:07:13.755Z] 684cea983483: Pulling fs layer [2022-06-30T04:07:13.755Z] dd3240ac7de5: Pulling fs layer [2022-06-30T04:07:13.755Z] b1e948a4e11c: Pulling fs layer [2022-06-30T04:07:13.755Z] a8fd76ee1af6: Pulling fs layer [2022-06-30T04:07:13.755Z] 646ad004c059: Pulling fs layer [2022-06-30T04:07:13.755Z] b1e948a4e11c: Waiting [2022-06-30T04:07:13.755Z] a8fd76ee1af6: Waiting [2022-06-30T04:07:13.755Z] 646ad004c059: Waiting [2022-06-30T04:07:13.755Z] 684cea983483: Waiting [2022-06-30T04:07:13.755Z] dd3240ac7de5: Waiting [2022-06-30T04:07:13.755Z] 8ed8ca486205: Download complete [2022-06-30T04:07:13.755Z] 666ba61612fd: Download complete [2022-06-30T04:07:13.755Z] c516ae0d96e1: Verifying Checksum [2022-06-30T04:07:13.755Z] c516ae0d96e1: Download complete [2022-06-30T04:07:13.755Z] 684cea983483: Verifying Checksum [2022-06-30T04:07:13.755Z] 684cea983483: Download complete [2022-06-30T04:07:13.755Z] dd3240ac7de5: Download complete [2022-06-30T04:07:13.755Z] 59bf1c3509f3: Verifying Checksum [2022-06-30T04:07:13.756Z] 59bf1c3509f3: Download complete [2022-06-30T04:07:13.756Z] b1e948a4e11c: Verifying Checksum [2022-06-30T04:07:13.756Z] b1e948a4e11c: Download complete [2022-06-30T04:07:13.756Z] 59bf1c3509f3: Pull complete [2022-06-30T04:07:14.017Z] 666ba61612fd: Pull complete [2022-06-30T04:07:14.017Z] 8ed8ca486205: Pull complete [2022-06-30T04:07:14.279Z] 646ad004c059: Verifying Checksum [2022-06-30T04:07:14.279Z] 646ad004c059: Download complete [2022-06-30T04:07:14.540Z] cc1cd167ecdc: Verifying Checksum [2022-06-30T04:07:14.540Z] cc1cd167ecdc: Download complete [2022-06-30T04:07:14.540Z] a8fd76ee1af6: Verifying Checksum [2022-06-30T04:07:14.540Z] a8fd76ee1af6: Download complete [2022-06-30T04:07:18.743Z] cc1cd167ecdc: Pull complete [2022-06-30T04:07:18.743Z] c516ae0d96e1: Pull complete [2022-06-30T04:07:18.743Z] 684cea983483: Pull complete [2022-06-30T04:07:18.743Z] dd3240ac7de5: Pull complete [2022-06-30T04:07:18.743Z] b1e948a4e11c: Pull complete [2022-06-30T04:07:20.663Z] a8fd76ee1af6: Pull complete [2022-06-30T04:07:21.621Z] 646ad004c059: Pull complete [2022-06-30T04:07:21.621Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-30T04:07:21.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-30T04:07:21.621Z] ---> 8f69c11f6b0c [2022-06-30T04:07:21.621Z] Step 3/11 : ARG MAKE=make build [2022-06-30T04:07:23.539Z] ---> Running in d2433c80cc35 [2022-06-30T04:07:23.539Z] Removing intermediate container d2433c80cc35 [2022-06-30T04:07:23.539Z] ---> 407a4d17e832 [2022-06-30T04:07:23.539Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-30T04:07:23.539Z] ---> Running in 5267a60f28b3 [2022-06-30T04:07:23.539Z] Removing intermediate container 5267a60f28b3 [2022-06-30T04:07:23.539Z] ---> 226fd2a03ceb [2022-06-30T04:07:23.539Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:07:23.539Z] ---> Running in 395c56f35e43 [2022-06-30T04:07:23.539Z] Removing intermediate container 395c56f35e43 [2022-06-30T04:07:23.539Z] ---> 413ec791531a [2022-06-30T04:07:23.539Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:07:23.539Z] ---> Running in 3b49bd734ec4 [2022-06-30T04:07:24.109Z] Removing intermediate container 3b49bd734ec4 [2022-06-30T04:07:24.109Z] ---> 75475de3b5e5 [2022-06-30T04:07:24.109Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-30T04:07:24.109Z] ---> Running in e0984d1ccc7a [2022-06-30T04:07:24.369Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T04:07:25.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T04:07:25.883Z] OK: 221 MiB in 52 packages [2022-06-30T04:07:26.143Z] Removing intermediate container e0984d1ccc7a [2022-06-30T04:07:26.143Z] ---> 8e00fa3ed7c5 [2022-06-30T04:07:26.143Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-30T04:07:26.404Z] ---> b4cf3a163b07 [2022-06-30T04:07:26.404Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T04:07:26.404Z] ---> Running in 4b46b1cc4f2a [2022-06-30T04:07:26.422Z] Still waiting to schedule task [2022-06-30T04:07:26.422Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-30T04:07:44.527Z] Removing intermediate container 4b46b1cc4f2a [2022-06-30T04:07:44.527Z] ---> ec715950c4c3 [2022-06-30T04:07:44.527Z] Step 10/11 : COPY . . [2022-06-30T04:07:44.527Z] ---> faabeff6f6b5 [2022-06-30T04:07:44.527Z] Step 11/11 : RUN ${MAKE} [2022-06-30T04:07:44.527Z] ---> Running in bf890ce22426 [2022-06-30T04:07:44.527Z] noop [2022-06-30T04:07:44.527Z] Removing intermediate container bf890ce22426 [2022-06-30T04:07:44.527Z] ---> fb6d0f3db0cc [2022-06-30T04:07:44.527Z] Successfully built fb6d0f3db0cc [2022-06-30T04:07:44.527Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:07:44.964Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T04:07:44.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:07:45.135Z] prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container [2022-06-30T04:07:45.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 ******** ci-base-image-x86_64 cat [2022-06-30T04:07:45.595Z] $ docker top 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T04:07:46.290Z] + go version [2022-06-30T04:07:46.290Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-30T04:07:46.328Z] $ docker stop --time=1 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 [2022-06-30T04:07:47.617Z] $ docker rm -f 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:07:48.319Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T04:07:48.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:07:48.484Z] prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container [2022-06-30T04:07:48.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 ******** ci-base-image-x86_64 cat [2022-06-30T04:07:49.000Z] $ docker top e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T04:07:49.526Z] + make test [2022-06-30T04:07:49.526Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-30T04:07:56.106Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.087s coverage: 23.7% of statements [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 10.8% of statements [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-30T04:08:08.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements [2022-06-30T04:08:08.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-30T04:08:08.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 85.4% of statements [2022-06-30T04:08:08.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-30T04:08:08.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-30T04:08:08.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements [2022-06-30T04:08:08.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.807s coverage: 89.2% of statements [2022-06-30T04:08:08.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-30T04:08:08.844Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-06-30T04:08:08.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-30T04:08:26.956Z] GO111MODULE=on go vet ./... [2022-06-30T04:08:29.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T04:08:29.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T04:08:29.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T04:08:30.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T04:08:30.125Z] $ docker stop --time=1 e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 [2022-06-30T04:08:32.136Z] $ docker rm -f e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T04:08:32.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T04:08:32.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-30T04:08:33.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T04:08:33.777Z] + ls -al . [2022-06-30T04:08:33.777Z] total 304 [2022-06-30T04:08:33.777Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 04:08 . [2022-06-30T04:08:33.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:06 .. [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 04:06 .dockerignore [2022-06-30T04:08:33.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 04:07 .git [2022-06-30T04:08:33.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:06 .github [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 30 04:06 .gitignore [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 04:06 .golangci.yml [2022-06-30T04:08:33.778Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 04:07 .semver [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 30 04:06 CHANGELOG.md [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 04:06 GOVERNANCE.md [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 30 04:06 Jenkinsfile [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 30 04:06 LICENSE [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 30 04:06 Makefile [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 30 04:06 OWNERS.md [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 30 04:06 README.md [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 04:07 VERSION [2022-06-30T04:08:33.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:06 bin [2022-06-30T04:08:33.778Z] -rw-r--r-- 1 jenkins jenkins 131191 Jun 30 04:08 coverage.out [2022-06-30T04:08:33.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:06 example [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 30 04:06 go.mod [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 30 04:06 go.sum [2022-06-30T04:08:33.778Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 30 04:06 internal [2022-06-30T04:08:33.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 04:06 openapi [2022-06-30T04:08:33.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:06 pkg [2022-06-30T04:08:33.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:06 snap [2022-06-30T04:08:33.778Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 30 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:08:34.176Z] + 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=cb407924c40b87a7cde79c7c59fdf367fb080f65 --label arch=amd64 --label version=0.0.0 . [2022-06-30T04:08:34.176Z] Sending build context to Docker daemon 9.819MB [2022-06-30T04:08:34.176Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T04:08:34.176Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-30T04:08:34.176Z] ---> fb6d0f3db0cc [2022-06-30T04:08:34.176Z] Step 3/25 : ARG MAKE=make build [2022-06-30T04:08:34.436Z] ---> Running in 532e6f2638d6 [2022-06-30T04:08:34.436Z] Removing intermediate container 532e6f2638d6 [2022-06-30T04:08:34.436Z] ---> ba97fcd3564d [2022-06-30T04:08:34.436Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-30T04:08:34.436Z] ---> Running in e382d5b595b5 [2022-06-30T04:08:34.436Z] Removing intermediate container e382d5b595b5 [2022-06-30T04:08:34.436Z] ---> 8ec35bd1378d [2022-06-30T04:08:34.436Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:08:34.695Z] ---> Running in 7c7901146fde [2022-06-30T04:08:34.695Z] Removing intermediate container 7c7901146fde [2022-06-30T04:08:34.695Z] ---> a340db383680 [2022-06-30T04:08:34.695Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:08:34.695Z] ---> Running in 50909ef930b1 [2022-06-30T04:08:35.264Z] Removing intermediate container 50909ef930b1 [2022-06-30T04:08:35.264Z] ---> deca79827fb7 [2022-06-30T04:08:35.264Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-30T04:08:35.264Z] ---> Running in 2644b6d25536 [2022-06-30T04:08:35.524Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T04:08:36.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T04:08:36.726Z] OK: 221 MiB in 52 packages [2022-06-30T04:08:36.986Z] Removing intermediate container 2644b6d25536 [2022-06-30T04:08:36.986Z] ---> b7d9693776ea [2022-06-30T04:08:36.986Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-30T04:08:37.249Z] ---> 3640fe36456a [2022-06-30T04:08:37.249Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T04:08:37.249Z] ---> Running in 9c3b411adeed [2022-06-30T04:08:37.821Z] Removing intermediate container 9c3b411adeed [2022-06-30T04:08:37.821Z] ---> e2781b84240e [2022-06-30T04:08:37.821Z] Step 10/25 : COPY . . [2022-06-30T04:08:38.395Z] ---> b8e5f6b490c7 [2022-06-30T04:08:38.395Z] Step 11/25 : RUN ${MAKE} [2022-06-30T04:08:38.395Z] ---> Running in 6273f12cbdb5 [2022-06-30T04:08:38.655Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-30T04:08:56.763Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-30T04:08:59.309Z] Removing intermediate container 6273f12cbdb5 [2022-06-30T04:08:59.309Z] ---> d4f090ca7c2a [2022-06-30T04:08:59.309Z] Step 12/25 : FROM alpine:3.14 [2022-06-30T04:08:59.570Z] 3.14: Pulling from library/alpine [2022-06-30T04:08:59.833Z] 8663204ce13b: Pulling fs layer [2022-06-30T04:09:00.101Z] 8663204ce13b: Verifying Checksum [2022-06-30T04:09:00.101Z] 8663204ce13b: Download complete [2022-06-30T04:09:00.101Z] 8663204ce13b: Pull complete [2022-06-30T04:09:00.101Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-30T04:09:00.101Z] Status: Downloaded newer image for alpine:3.14 [2022-06-30T04:09:00.101Z] ---> e04c818066af [2022-06-30T04:09:00.101Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:09:00.361Z] ---> Running in 097944341b49 [2022-06-30T04:09:00.361Z] Removing intermediate container 097944341b49 [2022-06-30T04:09:00.361Z] ---> 22d81eab8a87 [2022-06-30T04:09:00.361Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:09:00.361Z] ---> Running in 1d28be15202d [2022-06-30T04:09:00.929Z] Removing intermediate container 1d28be15202d [2022-06-30T04:09:00.929Z] ---> 1f024af29636 [2022-06-30T04:09:00.929Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-30T04:09:00.929Z] ---> Running in 8a92896aaad8 [2022-06-30T04:09:01.189Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-30T04:09:02.128Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-30T04:09:02.389Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-30T04:09:02.389Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-30T04:09:02.648Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-30T04:09:02.648Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-30T04:09:02.908Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-30T04:09:02.908Z] Executing busybox-1.33.1-r7.trigger [2022-06-30T04:09:02.908Z] OK: 8 MiB in 19 packages [2022-06-30T04:09:03.476Z] Removing intermediate container 8a92896aaad8 [2022-06-30T04:09:03.477Z] ---> ac87c6298830 [2022-06-30T04:09:03.477Z] Step 16/25 : WORKDIR / [2022-06-30T04:09:03.477Z] ---> Running in c0be34a2c717 [2022-06-30T04:09:03.477Z] Removing intermediate container c0be34a2c717 [2022-06-30T04:09:03.477Z] ---> 545747f4395f [2022-06-30T04:09:03.477Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-30T04:09:03.477Z] ---> 15a3a74713db [2022-06-30T04:09:03.477Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-30T04:09:04.049Z] ---> 9afb2dacb797 [2022-06-30T04:09:04.049Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-30T04:09:04.308Z] ---> 23480d50d405 [2022-06-30T04:09:04.308Z] Step 20/25 : EXPOSE 59999 [2022-06-30T04:09:04.308Z] ---> Running in ef9d98c557a2 [2022-06-30T04:09:04.570Z] Removing intermediate container ef9d98c557a2 [2022-06-30T04:09:04.570Z] ---> 96e677e01829 [2022-06-30T04:09:04.570Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-30T04:09:04.570Z] ---> Running in 74e46e2e9f8e [2022-06-30T04:09:04.570Z] Removing intermediate container 74e46e2e9f8e [2022-06-30T04:09:04.570Z] ---> b2a4bc87b46f [2022-06-30T04:09:04.570Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T04:09:04.570Z] ---> Running in e8bc737b4a0b [2022-06-30T04:09:04.832Z] Removing intermediate container e8bc737b4a0b [2022-06-30T04:09:04.832Z] ---> 877e35e1bdab [2022-06-30T04:09:04.832Z] Step 23/25 : LABEL arch=amd64 [2022-06-30T04:09:04.832Z] ---> Running in c95097231847 [2022-06-30T04:09:04.832Z] Removing intermediate container c95097231847 [2022-06-30T04:09:04.832Z] ---> 6bcdb54f8d94 [2022-06-30T04:09:04.832Z] Step 24/25 : LABEL git_sha=cb407924c40b87a7cde79c7c59fdf367fb080f65 [2022-06-30T04:09:04.832Z] ---> Running in 2c0f688c7a49 [2022-06-30T04:09:05.093Z] Removing intermediate container 2c0f688c7a49 [2022-06-30T04:09:05.093Z] ---> 56dfbf6b5383 [2022-06-30T04:09:05.093Z] Step 25/25 : LABEL version=0.0.0 [2022-06-30T04:09:05.093Z] ---> Running in 17dc61bee2a2 [2022-06-30T04:09:05.093Z] Removing intermediate container 17dc61bee2a2 [2022-06-30T04:09:05.093Z] ---> ba1058bdd352 [2022-06-30T04:09:05.093Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T04:09:05.093Z] Successfully built ba1058bdd352 [2022-06-30T04:09:05.093Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:09:05.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T04:09:05.925Z] [2022-06-30T04:09:05.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:09:06.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T04:09:06.302Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-30T04:09:06.302Z] 5eb5b503b376: Pulling fs layer [2022-06-30T04:09:06.302Z] 5c69ac0246d0: Pulling fs layer [2022-06-30T04:09:06.302Z] ec43610c2a17: Pulling fs layer [2022-06-30T04:09:06.302Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-30T04:09:06.302Z] 33b1e0a273af: Pulling fs layer [2022-06-30T04:09:06.302Z] 5d3b04190fa2: Pulling fs layer [2022-06-30T04:09:06.302Z] 2f39f015ded8: Pulling fs layer [2022-06-30T04:09:06.302Z] 3a2ae6a8a46f: Waiting [2022-06-30T04:09:06.302Z] 33b1e0a273af: Waiting [2022-06-30T04:09:06.302Z] 5d3b04190fa2: Waiting [2022-06-30T04:09:06.302Z] 2f39f015ded8: Waiting [2022-06-30T04:09:06.302Z] 5c69ac0246d0: Download complete [2022-06-30T04:09:06.302Z] 3a2ae6a8a46f: Download complete [2022-06-30T04:09:06.302Z] 33b1e0a273af: Verifying Checksum [2022-06-30T04:09:06.302Z] 33b1e0a273af: Download complete [2022-06-30T04:09:06.302Z] 5d3b04190fa2: Download complete [2022-06-30T04:09:06.302Z] ec43610c2a17: Verifying Checksum [2022-06-30T04:09:06.302Z] ec43610c2a17: Download complete [2022-06-30T04:09:06.562Z] 5eb5b503b376: Verifying Checksum [2022-06-30T04:09:06.562Z] 5eb5b503b376: Download complete [2022-06-30T04:09:07.129Z] 2f39f015ded8: Download complete [2022-06-30T04:09:08.068Z] 5eb5b503b376: Pull complete [2022-06-30T04:09:08.068Z] 5c69ac0246d0: Pull complete [2022-06-30T04:09:08.328Z] ec43610c2a17: Pull complete [2022-06-30T04:09:08.587Z] 3a2ae6a8a46f: Pull complete [2022-06-30T04:09:08.846Z] 33b1e0a273af: Pull complete [2022-06-30T04:09:08.846Z] 5d3b04190fa2: Pull complete [2022-06-30T04:09:09.007Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16468 in /w/workspace/gexfoundry_device-sdk-go_PR-1186 [Pipeline] { [Pipeline] ws [2022-06-30T04:09:09.048Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-30T04:09:09.149Z] The recommended git tool is: git [2022-06-30T04:09:13.037Z] 2f39f015ded8: Pull complete [2022-06-30T04:09:13.037Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-30T04:09:13.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T04:09:13.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:09:13.249Z] prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container [2022-06-30T04:09:13.285Z] $ 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/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 [2022-06-30T04:09:15.025Z] $ docker top e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:09:15.557Z] ---> job-cost.sh [2022-06-30T04:09:15.557Z] lf-activate-venv: SKIPPING [2022-06-30T04:09:15.557Z] INFO: No Stack... [2022-06-30T04:09:15.705Z] using credential edgex-jenkins-ssh [2022-06-30T04:09:15.721Z] Cloning the remote Git repository [2022-06-30T04:09:15.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T04:09:16.387Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T04:09:15.773Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-30T04:09:15.849Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-30T04:09:15.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-30T04:09:15.921Z] > git --version # timeout=10 [2022-06-30T04:09:15.940Z] > git --version # 'git version 2.25.1' [2022-06-30T04:09:15.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T04:09:16.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T04:09:16.702Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/cost.csv [2022-06-30T04:09:16.702Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T04:09:16.739Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [2022-06-30T04:09:16.744Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] did not exist. Created. [2022-06-30T04:09:16.744Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T04:09:17.131Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-30T04:09:17.181Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T04:09:17.206Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T04:09:17.281Z] $ docker stop --time=1 e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 [2022-06-30T04:09:17.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-30T04:09:17.438Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T04:09:17.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-30T04:09:17.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-30T04:09:17.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T04:09:17.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1186/head:refs/remotes/origin/PR-1186 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-30T04:09:17.977Z] Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit cb407924c40b87a7cde79c7c59fdf367fb080f65 [2022-06-30T04:09:18.176Z] Merge succeeded, producing cb407924c40b87a7cde79c7c59fdf367fb080f65 [2022-06-30T04:09:18.176Z] Checking out Revision cb407924c40b87a7cde79c7c59fdf367fb080f65 (PR-1186) [2022-06-30T04:09:18.461Z] $ docker rm -f e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-30T04:09:17.994Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T04:09:18.007Z] > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 [2022-06-30T04:09:18.104Z] > git remote # timeout=10 [2022-06-30T04:09:18.120Z] > git config --get remote.origin.url # timeout=10 [2022-06-30T04:09:18.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T04:09:18.142Z] > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 [2022-06-30T04:09:18.163Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-30T04:09:18.183Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T04:09:18.202Z] > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 [2022-06-30T04:09:22.461Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [2022-06-30T04:09:22.516Z] > git --version # timeout=10 [2022-06-30T04:09:22.525Z] > git --version # 'git version 2.25.1' [2022-06-30T04:09:22.540Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T04:09:23.538Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-30T04:09:23.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T04:09:23.538Z] Dload Upload Total Spent Left Speed [2022-06-30T04:09:23.538Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh [2022-06-30T04:09:24.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-30T04:09:24.963Z] + sudo tee /etc/docker/daemon.new [2022-06-30T04:09:24.963Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-30T04:09:24.963Z] { [2022-06-30T04:09:24.963Z] "registry-mirrors": [ [2022-06-30T04:09:24.963Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-30T04:09:24.963Z] ], [2022-06-30T04:09:24.963Z] "bip": "10.250.0.254/24", [2022-06-30T04:09:24.963Z] "hosts": [ [2022-06-30T04:09:24.963Z] "tcp://0.0.0.0:5555", [2022-06-30T04:09:24.963Z] "unix:///var/run/docker.sock" [2022-06-30T04:09:24.963Z] ], [2022-06-30T04:09:24.963Z] "mtu": 1458, [2022-06-30T04:09:24.963Z] "selinux-enabled": true, [2022-06-30T04:09:24.963Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-30T04:09:24.963Z] } [Pipeline] sh [2022-06-30T04:09:25.324Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-30T04:09:25.685Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T04:09:44.094Z] provisioning config files... [2022-06-30T04:09:44.121Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8763752594307627806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:09:44.522Z] ---> docker-login.sh [2022-06-30T04:09:44.522Z] nexus3.edgexfoundry.org:10001 [2022-06-30T04:09:45.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:09:45.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:09:45.399Z] Configure a credential helper to remove this warning. See [2022-06-30T04:09:45.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:09:45.399Z] [2022-06-30T04:09:45.399Z] Login Succeeded [2022-06-30T04:09:45.399Z] nexus3.edgexfoundry.org:10002 [2022-06-30T04:09:45.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:09:45.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:09:45.954Z] Configure a credential helper to remove this warning. See [2022-06-30T04:09:45.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:09:45.954Z] [2022-06-30T04:09:45.954Z] Login Succeeded [2022-06-30T04:09:45.954Z] nexus3.edgexfoundry.org:10003 [2022-06-30T04:09:46.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:09:46.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:09:46.236Z] Configure a credential helper to remove this warning. See [2022-06-30T04:09:46.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:09:46.236Z] [2022-06-30T04:09:46.236Z] Login Succeeded [2022-06-30T04:09:46.236Z] nexus3.edgexfoundry.org:10004 [2022-06-30T04:09:46.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:09:46.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:09:46.835Z] Configure a credential helper to remove this warning. See [2022-06-30T04:09:46.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:09:46.835Z] [2022-06-30T04:09:46.835Z] Login Succeeded [2022-06-30T04:09:46.835Z] docker.io [2022-06-30T04:09:47.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T04:09:47.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T04:09:47.715Z] Configure a credential helper to remove this warning. See [2022-06-30T04:09:47.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T04:09:47.715Z] [2022-06-30T04:09:47.715Z] Login Succeeded [2022-06-30T04:09:47.715Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T04:09:47.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T04:09:48.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T04:09:48.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T04:09:48.208Z] ========================================================= [2022-06-30T04:09:48.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-30T04:09:48.208Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:09:48.706Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-30T04:09:48.984Z] Sending build context to Docker daemon 5.192MB [2022-06-30T04:09:49.269Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T04:09:49.269Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-30T04:09:49.269Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-30T04:09:49.269Z] 9b3977197b4f: Pulling fs layer [2022-06-30T04:09:49.269Z] 1a89e8eeedd5: Pulling fs layer [2022-06-30T04:09:49.269Z] 94645a83ff95: Pulling fs layer [2022-06-30T04:09:49.269Z] e6fb740bc735: Pulling fs layer [2022-06-30T04:09:49.269Z] 3a77bd46dcc9: Pulling fs layer [2022-06-30T04:09:49.269Z] 355e64cbe906: Pulling fs layer [2022-06-30T04:09:49.269Z] 63ab81a10011: Pulling fs layer [2022-06-30T04:09:49.269Z] 555d1d1c4555: Pulling fs layer [2022-06-30T04:09:49.269Z] 7d9057610161: Pulling fs layer [2022-06-30T04:09:49.269Z] 355e64cbe906: Waiting [2022-06-30T04:09:49.269Z] 63ab81a10011: Waiting [2022-06-30T04:09:49.269Z] 555d1d1c4555: Waiting [2022-06-30T04:09:49.269Z] 7d9057610161: Waiting [2022-06-30T04:09:49.269Z] e6fb740bc735: Waiting [2022-06-30T04:09:49.269Z] 3a77bd46dcc9: Waiting [2022-06-30T04:09:49.269Z] 94645a83ff95: Download complete [2022-06-30T04:09:49.269Z] 1a89e8eeedd5: Verifying Checksum [2022-06-30T04:09:49.269Z] 1a89e8eeedd5: Download complete [2022-06-30T04:09:49.269Z] 3a77bd46dcc9: Verifying Checksum [2022-06-30T04:09:49.269Z] 3a77bd46dcc9: Download complete [2022-06-30T04:09:49.269Z] 355e64cbe906: Verifying Checksum [2022-06-30T04:09:49.269Z] 355e64cbe906: Download complete [2022-06-30T04:09:49.269Z] 9b3977197b4f: Verifying Checksum [2022-06-30T04:09:49.269Z] 9b3977197b4f: Download complete [2022-06-30T04:09:49.551Z] 63ab81a10011: Verifying Checksum [2022-06-30T04:09:49.551Z] 63ab81a10011: Download complete [2022-06-30T04:09:50.151Z] 9b3977197b4f: Pull complete [2022-06-30T04:09:50.430Z] 7d9057610161: Verifying Checksum [2022-06-30T04:09:50.430Z] 7d9057610161: Download complete [2022-06-30T04:09:50.708Z] 1a89e8eeedd5: Pull complete [2022-06-30T04:09:51.310Z] 94645a83ff95: Pull complete [2022-06-30T04:09:51.584Z] 555d1d1c4555: Verifying Checksum [2022-06-30T04:09:51.584Z] 555d1d1c4555: Download complete [2022-06-30T04:09:52.181Z] e6fb740bc735: Verifying Checksum [2022-06-30T04:09:52.181Z] e6fb740bc735: Download complete [2022-06-30T04:10:04.603Z] e6fb740bc735: Pull complete [2022-06-30T04:10:04.603Z] 3a77bd46dcc9: Pull complete [2022-06-30T04:10:04.603Z] 355e64cbe906: Pull complete [2022-06-30T04:10:04.878Z] 63ab81a10011: Pull complete [2022-06-30T04:10:11.621Z] 555d1d1c4555: Pull complete [2022-06-30T04:10:13.055Z] 7d9057610161: Pull complete [2022-06-30T04:10:13.331Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-30T04:10:13.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-30T04:10:13.331Z] ---> 819e984ddca1 [2022-06-30T04:10:13.331Z] Step 3/11 : ARG MAKE=make build [2022-06-30T04:10:13.931Z] ---> Running in 27e47cdf32a6 [2022-06-30T04:10:14.535Z] Removing intermediate container 27e47cdf32a6 [2022-06-30T04:10:14.535Z] ---> 461d30216b11 [2022-06-30T04:10:14.535Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-30T04:10:14.829Z] ---> Running in 8c6ddc81651f [2022-06-30T04:10:15.105Z] Removing intermediate container 8c6ddc81651f [2022-06-30T04:10:15.105Z] ---> d274eef59f83 [2022-06-30T04:10:15.382Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:10:15.382Z] ---> Running in 6cda4f78ecec [2022-06-30T04:10:16.820Z] Removing intermediate container 6cda4f78ecec [2022-06-30T04:10:16.820Z] ---> 58ee1ff46d9d [2022-06-30T04:10:16.820Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:10:17.106Z] ---> Running in 219716179d85 [2022-06-30T04:10:19.099Z] Removing intermediate container 219716179d85 [2022-06-30T04:10:19.099Z] ---> 142b446dad52 [2022-06-30T04:10:19.099Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-30T04:10:19.099Z] ---> Running in e5a41226aa10 [2022-06-30T04:10:20.082Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T04:10:21.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T04:10:22.060Z] OK: 220 MiB in 52 packages [2022-06-30T04:10:22.666Z] Removing intermediate container e5a41226aa10 [2022-06-30T04:10:22.666Z] ---> 22ef9864f88a [2022-06-30T04:10:22.666Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-30T04:10:23.271Z] ---> fd14bf41a576 [2022-06-30T04:10:23.272Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T04:10:23.272Z] ---> Running in d91509f0de69 [2022-06-30T04:11:10.325Z] Removing intermediate container d91509f0de69 [2022-06-30T04:11:10.325Z] ---> a7d2400ccddc [2022-06-30T04:11:10.325Z] Step 10/11 : COPY . . [2022-06-30T04:11:10.325Z] ---> e292731eb5d3 [2022-06-30T04:11:10.325Z] Step 11/11 : RUN ${MAKE} [2022-06-30T04:11:10.325Z] ---> Running in ad857bed9c4f [2022-06-30T04:11:11.320Z] noop [2022-06-30T04:11:11.924Z] Removing intermediate container ad857bed9c4f [2022-06-30T04:11:11.924Z] ---> f5e72839b1c0 [2022-06-30T04:11:11.924Z] Successfully built f5e72839b1c0 [2022-06-30T04:11:11.924Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:11:12.387Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T04:11:12.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:11:12.688Z] prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container [2022-06-30T04:11:12.771Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-30T04:11:14.049Z] $ docker top 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T04:11:15.021Z] + go version [2022-06-30T04:11:15.021Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-30T04:11:15.059Z] $ docker stop --time=1 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 [2022-06-30T04:11:16.738Z] $ docker rm -f 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:11:17.651Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T04:11:17.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:11:17.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container [2022-06-30T04:11:18.024Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-30T04:11:19.534Z] $ docker top 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T04:11:20.568Z] + make test [2022-06-30T04:11:20.568Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-30T04:11:52.931Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-30T04:13:44.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-30T04:13:44.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-30T04:13:44.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-30T04:13:48.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.585s coverage: 23.7% of statements [2022-06-30T04:13:48.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-30T04:13:48.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.403s coverage: 27.6% of statements [2022-06-30T04:13:48.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.283s coverage: 78.9% of statements [2022-06-30T04:13:48.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.298s coverage: 10.8% of statements [2022-06-30T04:13:52.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.390s coverage: 60.0% of statements [2022-06-30T04:13:52.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-30T04:13:52.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-30T04:13:56.048Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.540s coverage: 34.8% of statements [2022-06-30T04:13:56.048Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-30T04:13:58.693Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.373s coverage: 85.4% of statements [2022-06-30T04:13:58.693Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-30T04:13:58.693Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-30T04:13:58.693Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.544s coverage: 65.1% of statements [2022-06-30T04:14:00.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.246s coverage: 89.2% of statements [2022-06-30T04:14:00.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-30T04:14:04.086Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements [2022-06-30T04:14:04.086Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-30T04:14:04.086Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-30T04:14:04.086Z] GO111MODULE=on go vet ./... [2022-06-30T04:15:40.975Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T04:15:40.975Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T04:15:40.975Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T04:15:41.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T04:15:41.045Z] $ docker stop --time=1 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb [2022-06-30T04:15:42.846Z] $ docker rm -f 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T04:15:44.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T04:15:44.346Z] Warning: overwriting stash ‘coverage-report’ [2022-06-30T04:15:45.025Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T04:15:45.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T04:15:46.018Z] + ls -al . [2022-06-30T04:15:46.018Z] total 300 [2022-06-30T04:15:46.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 04:15 . [2022-06-30T04:15:46.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:09 .. [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 04:09 .dockerignore [2022-06-30T04:15:46.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 04:09 .git [2022-06-30T04:15:46.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:09 .github [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 30 04:09 .gitignore [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 04:09 .golangci.yml [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 30 04:09 CHANGELOG.md [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 04:09 GOVERNANCE.md [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 30 04:09 Jenkinsfile [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 30 04:09 LICENSE [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 30 04:09 Makefile [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 30 04:09 OWNERS.md [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 30 04:09 README.md [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 04:07 VERSION [2022-06-30T04:15:46.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:09 bin [2022-06-30T04:15:46.018Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 30 04:14 coverage.out [2022-06-30T04:15:46.018Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:09 example [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 30 04:09 go.mod [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 30 04:09 go.sum [2022-06-30T04:15:46.018Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 30 04:09 internal [2022-06-30T04:15:46.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 04:09 openapi [2022-06-30T04:15:46.018Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:09 pkg [2022-06-30T04:15:46.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:09 snap [2022-06-30T04:15:46.018Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 30 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:15:46.459Z] + 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=cb407924c40b87a7cde79c7c59fdf367fb080f65 --label arch=arm64 --label version=0.0.0 . [2022-06-30T04:15:46.742Z] Sending build context to Docker daemon 5.324MB [2022-06-30T04:15:47.018Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T04:15:47.018Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-30T04:15:47.018Z] ---> f5e72839b1c0 [2022-06-30T04:15:47.018Z] Step 3/25 : ARG MAKE=make build [2022-06-30T04:15:47.018Z] ---> Running in 80f82ff11fc3 [2022-06-30T04:15:47.302Z] Removing intermediate container 80f82ff11fc3 [2022-06-30T04:15:47.302Z] ---> 8bb1168035d5 [2022-06-30T04:15:47.302Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-30T04:15:47.581Z] ---> Running in f12b4086813d [2022-06-30T04:15:47.857Z] Removing intermediate container f12b4086813d [2022-06-30T04:15:47.857Z] ---> 64bb7740e14d [2022-06-30T04:15:47.857Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:15:47.857Z] ---> Running in 119450eaa92e [2022-06-30T04:15:48.133Z] Removing intermediate container 119450eaa92e [2022-06-30T04:15:48.133Z] ---> 32e69beeb69f [2022-06-30T04:15:48.133Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:15:48.422Z] ---> Running in 2ce7296fcd4b [2022-06-30T04:15:49.871Z] Removing intermediate container 2ce7296fcd4b [2022-06-30T04:15:49.871Z] ---> 31779efd23f3 [2022-06-30T04:15:49.871Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-30T04:15:50.150Z] ---> Running in 588d605142ff [2022-06-30T04:15:51.133Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T04:15:52.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T04:15:53.092Z] OK: 220 MiB in 52 packages [2022-06-30T04:15:54.075Z] Removing intermediate container 588d605142ff [2022-06-30T04:15:54.075Z] ---> 410a26a9d5b6 [2022-06-30T04:15:54.075Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-30T04:15:54.677Z] ---> 3eabc9daafdf [2022-06-30T04:15:54.678Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T04:15:54.678Z] ---> Running in ede3b0380c36 [2022-06-30T04:15:56.664Z] Removing intermediate container ede3b0380c36 [2022-06-30T04:15:56.664Z] ---> b0b9828c1116 [2022-06-30T04:15:56.664Z] Step 10/25 : COPY . . [2022-06-30T04:15:57.652Z] ---> f9cbfe3b938b [2022-06-30T04:15:57.652Z] Step 11/25 : RUN ${MAKE} [2022-06-30T04:15:57.928Z] ---> Running in cc41c13cb0ae [2022-06-30T04:15:58.915Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-30T04:18:05.831Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-30T04:18:12.561Z] Removing intermediate container cc41c13cb0ae [2022-06-30T04:18:12.561Z] ---> cd8df2051888 [2022-06-30T04:18:12.561Z] Step 12/25 : FROM alpine:3.14 [2022-06-30T04:18:12.834Z] 3.14: Pulling from library/alpine [2022-06-30T04:18:13.108Z] 455c02918c45: Pulling fs layer [2022-06-30T04:18:13.384Z] 455c02918c45: Download complete [2022-06-30T04:18:13.984Z] 455c02918c45: Pull complete [2022-06-30T04:18:13.984Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-30T04:18:13.984Z] Status: Downloaded newer image for alpine:3.14 [2022-06-30T04:18:13.984Z] ---> ac73e934f311 [2022-06-30T04:18:13.984Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-30T04:18:13.984Z] ---> Running in f89957bcda21 [2022-06-30T04:18:14.270Z] Removing intermediate container f89957bcda21 [2022-06-30T04:18:14.270Z] ---> df516725a0fb [2022-06-30T04:18:14.270Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T04:18:14.270Z] ---> Running in c280a9c3e5e8 [2022-06-30T04:18:16.278Z] Removing intermediate container c280a9c3e5e8 [2022-06-30T04:18:16.278Z] ---> edb1c8e11a77 [2022-06-30T04:18:16.278Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-30T04:18:16.278Z] ---> Running in 309e397c68d7 [2022-06-30T04:18:17.265Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-30T04:18:17.870Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-30T04:18:18.857Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-30T04:18:18.857Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-30T04:18:19.134Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-30T04:18:19.134Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-30T04:18:19.134Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-30T04:18:19.408Z] Executing busybox-1.33.1-r7.trigger [2022-06-30T04:18:19.408Z] OK: 8 MiB in 19 packages [2022-06-30T04:18:20.400Z] Removing intermediate container 309e397c68d7 [2022-06-30T04:18:20.400Z] ---> 43802bbe8965 [2022-06-30T04:18:20.400Z] Step 16/25 : WORKDIR / [2022-06-30T04:18:20.400Z] ---> Running in 00e7732af7e9 [2022-06-30T04:18:20.676Z] Removing intermediate container 00e7732af7e9 [2022-06-30T04:18:20.676Z] ---> 712ec7e78a27 [2022-06-30T04:18:20.676Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-30T04:18:21.279Z] ---> 4f30ad6a7c58 [2022-06-30T04:18:21.279Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-30T04:18:22.724Z] ---> ce59f78ec203 [2022-06-30T04:18:22.724Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-30T04:18:23.325Z] ---> 3bceb229b1e8 [2022-06-30T04:18:23.325Z] Step 20/25 : EXPOSE 59999 [2022-06-30T04:18:23.604Z] ---> Running in d63640ed0cdb [2022-06-30T04:18:23.877Z] Removing intermediate container d63640ed0cdb [2022-06-30T04:18:23.877Z] ---> 2d5ac9ea1698 [2022-06-30T04:18:23.877Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-30T04:18:23.877Z] ---> Running in fbd4eccc5a50 [2022-06-30T04:18:24.156Z] Removing intermediate container fbd4eccc5a50 [2022-06-30T04:18:24.156Z] ---> 6c3d210ffa73 [2022-06-30T04:18:24.156Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T04:18:24.433Z] ---> Running in 811183aa3cb3 [2022-06-30T04:18:24.708Z] Removing intermediate container 811183aa3cb3 [2022-06-30T04:18:24.708Z] ---> f9f69ff0a99e [2022-06-30T04:18:24.708Z] Step 23/25 : LABEL arch=arm64 [2022-06-30T04:18:24.708Z] ---> Running in 5e424903ae8c [2022-06-30T04:18:24.987Z] Removing intermediate container 5e424903ae8c [2022-06-30T04:18:24.987Z] ---> 7b076bd445a7 [2022-06-30T04:18:24.987Z] Step 24/25 : LABEL git_sha=cb407924c40b87a7cde79c7c59fdf367fb080f65 [2022-06-30T04:18:24.987Z] ---> Running in d905eb814cd0 [2022-06-30T04:18:25.268Z] Removing intermediate container d905eb814cd0 [2022-06-30T04:18:25.268Z] ---> e8556191c9b7 [2022-06-30T04:18:25.268Z] Step 25/25 : LABEL version=0.0.0 [2022-06-30T04:18:25.551Z] ---> Running in 975d71ee119f [2022-06-30T04:18:25.827Z] Removing intermediate container 975d71ee119f [2022-06-30T04:18:25.827Z] ---> c721910384e6 [2022-06-30T04:18:25.827Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T04:18:25.827Z] Successfully built c721910384e6 [2022-06-30T04:18:25.827Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:18:26.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T04:18:26.656Z] [2022-06-30T04:18:26.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:18:27.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T04:18:27.351Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-30T04:18:27.351Z] 8998bd30e6a1: Pulling fs layer [2022-06-30T04:18:27.351Z] 04944245beec: Pulling fs layer [2022-06-30T04:18:27.351Z] 699f458cf7ca: Pulling fs layer [2022-06-30T04:18:27.351Z] 765212b225bb: Pulling fs layer [2022-06-30T04:18:27.351Z] f23df028b6ca: Pulling fs layer [2022-06-30T04:18:27.351Z] d65c8cfc05b1: Pulling fs layer [2022-06-30T04:18:27.351Z] 2437ff75d9bd: Pulling fs layer [2022-06-30T04:18:27.351Z] 765212b225bb: Waiting [2022-06-30T04:18:27.351Z] f23df028b6ca: Waiting [2022-06-30T04:18:27.351Z] d65c8cfc05b1: Waiting [2022-06-30T04:18:27.351Z] 2437ff75d9bd: Waiting [2022-06-30T04:18:27.351Z] 04944245beec: Verifying Checksum [2022-06-30T04:18:27.351Z] 04944245beec: Download complete [2022-06-30T04:18:27.351Z] 765212b225bb: Verifying Checksum [2022-06-30T04:18:27.351Z] 765212b225bb: Download complete [2022-06-30T04:18:27.351Z] f23df028b6ca: Verifying Checksum [2022-06-30T04:18:27.351Z] f23df028b6ca: Download complete [2022-06-30T04:18:27.351Z] d65c8cfc05b1: Verifying Checksum [2022-06-30T04:18:27.351Z] d65c8cfc05b1: Download complete [2022-06-30T04:18:27.632Z] 699f458cf7ca: Verifying Checksum [2022-06-30T04:18:27.632Z] 699f458cf7ca: Download complete [2022-06-30T04:18:27.909Z] 8998bd30e6a1: Verifying Checksum [2022-06-30T04:18:27.909Z] 8998bd30e6a1: Download complete [2022-06-30T04:18:30.557Z] 2437ff75d9bd: Verifying Checksum [2022-06-30T04:18:30.557Z] 2437ff75d9bd: Download complete [2022-06-30T04:18:32.549Z] 8998bd30e6a1: Pull complete [2022-06-30T04:18:32.827Z] 04944245beec: Pull complete [2022-06-30T04:18:34.270Z] 699f458cf7ca: Pull complete [2022-06-30T04:18:34.544Z] 765212b225bb: Pull complete [2022-06-30T04:18:35.536Z] f23df028b6ca: Pull complete [2022-06-30T04:18:35.810Z] d65c8cfc05b1: Pull complete [2022-06-30T04:18:50.902Z] 2437ff75d9bd: Pull complete [2022-06-30T04:18:50.902Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-30T04:18:50.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T04:18:50.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:18:51.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container [2022-06-30T04:18:51.376Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-30T04:18:54.260Z] $ docker top dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:18:55.335Z] ---> job-cost.sh [2022-06-30T04:18:55.615Z] lf-activate-venv: SKIPPING [2022-06-30T04:18:55.615Z] INFO: No Stack... [2022-06-30T04:18:55.891Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-30T04:18:56.883Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T04:18:57.588Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-30T04:18:57.588Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T04:18:57.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [2022-06-30T04:18:57.704Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] did not exist. Created. [2022-06-30T04:18:57.704Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T04:18:58.486Z] /w/workspace/device-sdk-go/1@tmp/durable-0ec97520/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-30T04:18:59.197Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-30T04:18:59.234Z] Warning: overwriting stash ‘stack-cost’ [2022-06-30T04:18:59.301Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T04:18:59.317Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T04:18:59.396Z] $ docker stop --time=1 dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c [2022-06-30T04:19:00.966Z] $ docker rm -f dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c [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 [2022-06-30T04:19:01.938Z] provisioning config files... [2022-06-30T04:19:01.948Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config5824499017716379662tmp [Pipeline] { [Pipeline] sh [2022-06-30T04:19:02.280Z] + set +x [2022-06-30T04:19:02.281Z] + curl -s https://codecov.io/bash [2022-06-30T04:19:02.281Z] + bash -s -- [2022-06-30T04:19:02.281Z] [2022-06-30T04:19:02.281Z] _____ _ [2022-06-30T04:19:02.281Z] / ____| | | [2022-06-30T04:19:02.281Z] | | ___ __| | ___ ___ _____ __ [2022-06-30T04:19:02.281Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-30T04:19:02.281Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-30T04:19:02.281Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-30T04:19:02.281Z] Bash-1.0.6 [2022-06-30T04:19:02.281Z] [2022-06-30T04:19:02.281Z] [2022-06-30T04:19:02.281Z] ==> git version 2.25.1 found [2022-06-30T04:19:02.281Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-30T04:19:02.281Z] Release-Date: 2020-01-08 [2022-06-30T04:19:02.281Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-30T04:19:02.281Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-30T04:19:02.281Z] ==> Jenkins CI detected. [2022-06-30T04:19:02.281Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1186 [2022-06-30T04:19:02.281Z] project root: . [2022-06-30T04:19:02.281Z] --> token set from env [2022-06-30T04:19:02.281Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-30T04:19:02.281Z] ==> Running gcov in . (disable via -X gcov) [2022-06-30T04:19:02.281Z] ==> Python coveragepy not found [2022-06-30T04:19:02.281Z] ==> Searching for coverage reports in: [2022-06-30T04:19:02.281Z] + . [2022-06-30T04:19:02.281Z] -> Found 1 reports [2022-06-30T04:19:02.281Z] ==> Detecting git/mercurial file structure [2022-06-30T04:19:02.281Z] ==> Reading reports [2022-06-30T04:19:02.281Z] + ./coverage.out bytes=131190 [2022-06-30T04:19:02.281Z] ==> Appending adjustments [2022-06-30T04:19:02.281Z] https://docs.codecov.io/docs/fixing-reports [2022-06-30T04:19:02.853Z] + Found adjustments [2022-06-30T04:19:02.853Z] ==> Gzipping contents [2022-06-30T04:19:02.853Z] 20K /tmp/codecov.BEgLwi.gz [2022-06-30T04:19:02.853Z] ==> Uploading reports [2022-06-30T04:19:02.853Z] url: https://codecov.io [2022-06-30T04:19:02.853Z] query: branch=PR-1186&commit=cb407924c40b87a7cde79c7c59fdf367fb080f65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1186&job=&cmd_args= [2022-06-30T04:19:02.853Z] -> Pinging Codecov [2022-06-30T04:19:02.853Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1186&commit=cb407924c40b87a7cde79c7c59fdf367fb080f65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1186&job=&cmd_args= [2022-06-30T04:19:03.115Z] -> Uploading to [2022-06-30T04:19:03.115Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-30/7E55EF52A471D76F132DFD9A03CDDE97/cb407924c40b87a7cde79c7c59fdf367fb080f65/7c9fdb78-03eb-4ac7-911a-44f7a461ee38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T041902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10ad2c63a46b1dd8b4591d98676d030acec84330d6240b2da282390e075500cc [2022-06-30T04:19:03.115Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T04:19:03.115Z] Dload Upload Total Spent Left Speed [2022-06-30T04:19:03.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16871 0 0 100 16871 0 76339 --:--:-- --:--:-- --:--:-- 75995 100 16871 0 0 100 16871 0 72407 --:--:-- --:--:-- --:--:-- 72098 [2022-06-30T04:19:03.376Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] } [2022-06-30T04:19:03.401Z] 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 [2022-06-30T04:19:05.092Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives ] [2022-06-30T04:19:05.092Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives [2022-06-30T04:19:05.092Z] total 16 [2022-06-30T04:19:05.092Z] drwxr-xr-x 3 root root 4096 Jun 30 04:09 . [2022-06-30T04:19:05.092Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 30 04:09 .. [2022-06-30T04:19:05.092Z] drwxr-xr-x 2 root root 4096 Jun 30 04:09 cost [2022-06-30T04:19:05.092Z] -rw-r--r-- 1 root root 85 Jun 30 04:09 cost.csv [2022-06-30T04:19:05.092Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives [2022-06-30T04:19:05.092Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives [2022-06-30T04:19:05.092Z] total 16 [2022-06-30T04:19:05.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 04:09 . [2022-06-30T04:19:05.092Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 30 04:09 .. [2022-06-30T04:19:05.092Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 04:09 cost [2022-06-30T04:19:05.092Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 30 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:05.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:06.322Z] ---> package-listing.sh [2022-06-30T04:19:06.323Z] ++ facter osfamily [2022-06-30T04:19:06.323Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-30T04:19:06.583Z] + OS_FAMILY=debian [2022-06-30T04:19:06.583Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1186 [2022-06-30T04:19:06.583Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-30T04:19:06.583Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-30T04:19:06.583Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-30T04:19:06.583Z] + PACKAGES=/tmp/packages_start.txt [2022-06-30T04:19:06.583Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1186 ']' [2022-06-30T04:19:06.583Z] + PACKAGES=/tmp/packages_end.txt [2022-06-30T04:19:06.583Z] + case "${OS_FAMILY}" in [2022-06-30T04:19:06.583Z] + dpkg -l [2022-06-30T04:19:06.583Z] + grep '^ii' [2022-06-30T04:19:06.583Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-30T04:19:06.583Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-30T04:19:06.583Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-30T04:19:06.583Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1186 ']' [2022-06-30T04:19:06.583Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/ [2022-06-30T04:19:06.584Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/ [Pipeline] echo [2022-06-30T04:19:06.617Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-30T04:19:06.913Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T04:19:07.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T04:19:07.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T04:19:07.713Z] prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container [2022-06-30T04:19:07.748Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1186/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-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T04:19:07.983Z] $ docker top 53b24b9dca3970f5c5ad0601743833e42718fbbf1d6f8110f786311ccfcac817 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T04:19:08.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-30T04:19:08.704Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-30T04:19:09.020Z] + ls /var/log/sa-host [2022-06-30T04:19:09.020Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T04:19:09.208Z] provisioning config files... [2022-06-30T04:19:09.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config7558311604648697096tmp [Pipeline] { [Pipeline] echo [2022-06-30T04:19:09.268Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:09.585Z] ---> create-netrc.sh [Pipeline] } [2022-06-30T04:19:09.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:10.020Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-30T04:19:10.053Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:10.366Z] ---> sudo-logs.sh [2022-06-30T04:19:10.366Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-30T04:19:10.452Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:10.764Z] ---> job-cost.sh [2022-06-30T04:19:10.764Z] lf-activate-venv: SKIPPING [2022-06-30T04:19:10.764Z] DEBUG: total: 0.2199999988079071 [2022-06-30T04:19:10.764Z] INFO: Retrieving Stack Cost... [2022-06-30T04:19:11.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T04:19:11.910Z] INFO: Archiving Costs [Pipeline] echo [2022-06-30T04:19:11.948Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T04:19:12.261Z] ---> logs-deploy.sh [2022-06-30T04:19:12.261Z] lf-activate-venv: SKIPPING [2022-06-30T04:19:12.261Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1186/1 [2022-06-30T04:19:12.261Z] INFO: archiving workspace using pattern(s): [2022-06-30T04:19:13.205Z] Archives upload complete. [2022-06-30T04:19:13.205Z] INFO: archiving logs to Nexus