Pull request #1078 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a10945069221f12862f9a2d2b86a5a889805e071+633449dbefca29cf62edd9030bbe74b52352fb22 (321fb2a38d8e56dd1d6eb4fee3280ec6e5433311) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9809042368676825058.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1405813140252674707.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1078/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1078/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11383401540818196716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1078/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh433576527267976748.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12898679056022288552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1078/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1078/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5784172607391029528.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1188 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1078 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/jenkins-gitclient-ssh7345429406147826827.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/jenkins-gitclient-ssh2136106403787538154.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) > git config core.sparsecheckout # timeout=10 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/jenkins-gitclient-ssh3473114415865423346.key > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 Commit message: "docs: Publish swagger to 2.2.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T02:33:14.505Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T02:33:14.631Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T02:33:14.710Z] ========================================================= [2022-01-11T02:33:14.710Z] EdgeX Global Pipelines Version Info [2022-01-11T02:33:14.710Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:33:15.873Z] ------------------- [2022-01-11T02:33:15.873Z] stable info: [2022-01-11T02:33:15.873Z] ------------------- [2022-01-11T02:33:15.873Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T02:33:15.873Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-11T02:33:15.873Z] Message: update stable to v1.0.217 [2022-01-11T02:33:16.448Z] ------------------- [2022-01-11T02:33:16.448Z] experimental info: [2022-01-11T02:33:16.448Z] ------------------- [2022-01-11T02:33:16.448Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T02:33:16.448Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T02:33:16.448Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T02:33:16.711Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T02:33:16.753Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T02:33:16.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T02:33:16.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T02:33:16.869Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T02:33:16.909Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T02:33:16.947Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T02:33:16.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T02:33:17.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T02:33:17.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T02:33:17.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T02:33:17.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T02:33:17.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T02:33:17.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T02:33:17.307Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T02:33:17.346Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T02:33:17.386Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T02:33:17.424Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T02:33:17.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T02:33:17.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T02:33:17.540Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T02:33:17.579Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T02:33:17.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T02:33:17.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T02:33:17.697Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T02:33:17.734Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T02:33:17.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1078 [Pipeline] echo [2022-01-11T02:33:17.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1078 [Pipeline] echo [2022-01-11T02:33:17.847Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1078 [Pipeline] echo [2022-01-11T02:33:17.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo [2022-01-11T02:33:17.937Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a109450 [Pipeline] echo [2022-01-11T02:33:17.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T02:33:18.115Z] provisioning config files... [2022-01-11T02:33:18.130Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config1059914082339261873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:33:18.498Z] ---> docker-login.sh [2022-01-11T02:33:18.498Z] nexus3.edgexfoundry.org:10001 [2022-01-11T02:33:18.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:33:18.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:33:18.764Z] Configure a credential helper to remove this warning. See [2022-01-11T02:33:18.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:33:18.764Z] [2022-01-11T02:33:18.764Z] Login Succeeded [2022-01-11T02:33:18.764Z] nexus3.edgexfoundry.org:10002 [2022-01-11T02:33:18.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:33:18.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:33:18.764Z] Configure a credential helper to remove this warning. See [2022-01-11T02:33:18.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:33:18.764Z] [2022-01-11T02:33:18.764Z] Login Succeeded [2022-01-11T02:33:18.764Z] nexus3.edgexfoundry.org:10003 [2022-01-11T02:33:19.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:33:19.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:33:19.027Z] Configure a credential helper to remove this warning. See [2022-01-11T02:33:19.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:33:19.027Z] [2022-01-11T02:33:19.027Z] Login Succeeded [2022-01-11T02:33:19.027Z] nexus3.edgexfoundry.org:10004 [2022-01-11T02:33:19.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:33:19.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:33:19.027Z] Configure a credential helper to remove this warning. See [2022-01-11T02:33:19.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:33:19.027Z] [2022-01-11T02:33:19.027Z] Login Succeeded [2022-01-11T02:33:19.027Z] docker.io [2022-01-11T02:33:19.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:33:19.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:33:19.550Z] Configure a credential helper to remove this warning. See [2022-01-11T02:33:19.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:33:19.550Z] [2022-01-11T02:33:19.550Z] Login Succeeded [2022-01-11T02:33:19.550Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T02:33:19.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T02:33:20.231Z] + git rev-list -1 --merges a10945069221f12862f9a2d2b86a5a889805e071~1..a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo [2022-01-11T02:33:20.280Z] -----------> git rev-list -1 --merges a10945069221f12862f9a2d2b86a5a889805e071~1..a10945069221f12862f9a2d2b86a5a889805e071 a10945069221f12862f9a2d2b86a5a889805e071 [false] [Pipeline] sh [2022-01-11T02:33:20.603Z] + git log --format=format:%s -1 a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo [2022-01-11T02:33:20.642Z] ========================================================= [2022-01-11T02:33:20.642Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T02:33:20.642Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T02:33:21.090Z] + git log --format=format:%s -1 a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] echo [2022-01-11T02:33:21.119Z] [semverPrep] GIT_COMMIT: a10945069221f12862f9a2d2b86a5a889805e071, Commit Message: docs: Publish swagger to 2.2.0 [Pipeline] echo [2022-01-11T02:33:21.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T02:33:21.582Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T02:33:21.582Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T02:33:21.582Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T02:33:21.582Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T02:33:21.582Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T02:33:21.582Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T02:33:21.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:33:21.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T02:33:21.966Z] [2022-01-11T02:33:21.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:33:22.314Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T02:33:22.314Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T02:33:22.314Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T02:33:22.314Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T02:33:22.314Z] 4c7163046ea9: Pulling fs layer [2022-01-11T02:33:22.314Z] 0c2d73faf560: Pulling fs layer [2022-01-11T02:33:22.314Z] 0c2d73faf560: Waiting [2022-01-11T02:33:22.314Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T02:33:22.314Z] 3e5f54012d9b: Download complete [2022-01-11T02:33:22.314Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T02:33:22.314Z] a0d0a0d46f8b: Download complete [2022-01-11T02:33:22.314Z] 0c2d73faf560: Verifying Checksum [2022-01-11T02:33:22.314Z] 0c2d73faf560: Download complete [2022-01-11T02:33:22.314Z] 4c7163046ea9: Verifying Checksum [2022-01-11T02:33:22.314Z] 4c7163046ea9: Download complete [2022-01-11T02:33:22.590Z] a0d0a0d46f8b: Pull complete [2022-01-11T02:33:22.590Z] 3e5f54012d9b: Pull complete [2022-01-11T02:33:22.859Z] 4c7163046ea9: Pull complete [2022-01-11T02:33:23.133Z] 0c2d73faf560: Pull complete [2022-01-11T02:33:23.133Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T02:33:23.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T02:33:23.133Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T02:33:23.242Z] prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container [2022-01-11T02:33:23.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1078 -v /w/workspace/gexfoundry_device-sdk-go_PR-1078:/w/workspace/gexfoundry_device-sdk-go_PR-1078:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-11T02:33:23.927Z] $ docker top d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T02:33:24.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T02:33:24.133Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T02:33:24.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T02:33:24.242Z] $ docker exec d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent [2022-01-11T02:33:24.364Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEmihBm/agent.13 [2022-01-11T02:33:24.364Z] SSH_AGENT_PID=19 [2022-01-11T02:33:24.373Z] Running ssh-add (command line suppressed) [2022-01-11T02:33:24.480Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_7037949104659444816.key (/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_7037949104659444816.key) [2022-01-11T02:33:24.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T02:33:24.844Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T02:33:24.871Z] $ docker exec --env ******** --env ******** d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent -k [2022-01-11T02:33:24.964Z] unset SSH_AUTH_SOCK; [2022-01-11T02:33:24.965Z] unset SSH_AGENT_PID; [2022-01-11T02:33:24.965Z] echo Agent pid 19 killed; [2022-01-11T02:33:24.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T02:33:25.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T02:33:25.058Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T02:33:25.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T02:33:25.167Z] $ docker exec d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent [2022-01-11T02:33:25.288Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnHGdod/agent.52 [2022-01-11T02:33:25.288Z] SSH_AGENT_PID=59 [2022-01-11T02:33:25.294Z] Running ssh-add (command line suppressed) [2022-01-11T02:33:25.377Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_647033283824867429.key (/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/private_key_647033283824867429.key) [2022-01-11T02:33:25.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T02:33:25.732Z] + git semver init [2022-01-11T02:33:25.732Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T02:33:25.732Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1078/.git [2022-01-11T02:33:25.732Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1078 [2022-01-11T02:33:25.732Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T02:33:25.732Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T02:33:25.732Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T02:33:25.732Z] # $SEMVER_BRANCH = PR-1078 [2022-01-11T02:33:25.732Z] # $SEMVER_TEMP = /tmp/semver-518538150 [2022-01-11T02:33:25.732Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T02:33:26.676Z] # '/tmp/semver-518538150' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1078/.semver' [2022-01-11T02:33:26.676Z] # -> Force: false [2022-01-11T02:33:26.676Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1078/.semver [Pipeline] } [2022-01-11T02:33:26.702Z] $ docker exec --env ******** --env ******** d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c ssh-agent -k [2022-01-11T02:33:26.802Z] unset SSH_AUTH_SOCK; [2022-01-11T02:33:26.802Z] unset SSH_AGENT_PID; [2022-01-11T02:33:26.802Z] echo Agent pid 59 killed; [2022-01-11T02:33:26.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T02:33:27.265Z] + git semver [Pipeline] } [2022-01-11T02:33:27.294Z] $ docker stop --time=1 d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c [2022-01-11T02:33:28.548Z] $ docker rm -f d10bcd5de7686ac04a14b9bbc3afa10e1401fa4eab9dbbbd60b228c7c9f2684c [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T02:33:28.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T02:33:29.283Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T02:33:29.304Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2022-01-11T02:33:44.706Z] Still waiting to schedule task [2022-01-11T02:33:44.707Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-11T02:33:44.727Z] Still waiting to schedule task [2022-01-11T02:33:44.727Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1186’ [2022-01-11T02:35:23.622Z] Running on prd-centos7-docker-4c-2g-1189 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] ws [2022-01-11T02:35:23.662Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-11T02:35:23.788Z] The recommended git tool is: git [2022-01-11T02:35:25.495Z] using credential edgex-jenkins-ssh [2022-01-11T02:35:25.506Z] Cloning the remote Git repository [2022-01-11T02:35:25.134Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:35:25.167Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-11T02:35:25.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:35:25.226Z] > git --version # timeout=10 [2022-01-11T02:35:25.235Z] > git --version # 'git version 2.24.4' [2022-01-11T02:35:25.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:35:25.256Z] [INFO] Currently running in a labeled security context [2022-01-11T02:35:25.256Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T02:35:25.256Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7415076760423763352.key [2022-01-11T02:35:25.343Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T02:35:27.164Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:35:26.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T02:35:26.200Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T02:35:26.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T02:35:26.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:35:26.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:35:26.240Z] [INFO] Currently running in a labeled security context [2022-01-11T02:35:26.240Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T02:35:26.240Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1441769511555946254.key [2022-01-11T02:35:26.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T02:35:26.778Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T02:35:26.786Z] > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 [2022-01-11T02:35:27.295Z] Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:35:27.296Z] Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) [2022-01-11T02:35:26.837Z] > git remote # timeout=10 [2022-01-11T02:35:26.847Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T02:35:26.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:35:26.867Z] [INFO] Currently running in a labeled security context [2022-01-11T02:35:26.867Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-11T02:35:26.867Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh297128825554503209.key [2022-01-11T02:35:26.873Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-11T02:35:26.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T02:35:26.903Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T02:35:26.912Z] > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 [2022-01-11T02:35:30.921Z] Commit message: "docs: Publish swagger to 2.2.0" [2022-01-11T02:35:30.549Z] > git --version # timeout=10 [2022-01-11T02:35:30.560Z] > git --version # 'git version 2.24.4' [2022-01-11T02:35:30.569Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T02:35:31.623Z] provisioning config files... [2022-01-11T02:35:31.637Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3728320611401120169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:35:32.059Z] ---> docker-login.sh [2022-01-11T02:35:32.059Z] nexus3.edgexfoundry.org:10001 [2022-01-11T02:35:32.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:35:32.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:35:32.059Z] Configure a credential helper to remove this warning. See [2022-01-11T02:35:32.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:35:32.059Z] [2022-01-11T02:35:32.059Z] Login Succeeded [2022-01-11T02:35:32.059Z] nexus3.edgexfoundry.org:10002 [2022-01-11T02:35:32.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:35:32.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:35:32.321Z] Configure a credential helper to remove this warning. See [2022-01-11T02:35:32.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:35:32.321Z] [2022-01-11T02:35:32.321Z] Login Succeeded [2022-01-11T02:35:32.321Z] nexus3.edgexfoundry.org:10003 [2022-01-11T02:35:32.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:35:32.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:35:32.321Z] Configure a credential helper to remove this warning. See [2022-01-11T02:35:32.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:35:32.321Z] [2022-01-11T02:35:32.321Z] Login Succeeded [2022-01-11T02:35:32.321Z] nexus3.edgexfoundry.org:10004 [2022-01-11T02:35:32.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:35:32.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:35:32.582Z] Configure a credential helper to remove this warning. See [2022-01-11T02:35:32.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:35:32.582Z] [2022-01-11T02:35:32.582Z] Login Succeeded [2022-01-11T02:35:32.582Z] docker.io [2022-01-11T02:35:32.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:35:32.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:35:32.842Z] Configure a credential helper to remove this warning. See [2022-01-11T02:35:32.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:35:32.842Z] [2022-01-11T02:35:32.842Z] Login Succeeded [2022-01-11T02:35:32.842Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T02:35:32.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T02:35:33.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T02:35:33.227Z] ========================================================= [2022-01-11T02:35:33.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T02:35:33.227Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:35:33.638Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-11T02:35:33.638Z] Sending build context to Docker daemon 5.049MB [2022-01-11T02:35:33.638Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T02:35:33.638Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T02:35:33.638Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T02:35:33.638Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T02:35:33.638Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T02:35:33.638Z] b8b176561691: Pulling fs layer [2022-01-11T02:35:33.638Z] 4527c011a84f: Pulling fs layer [2022-01-11T02:35:33.638Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T02:35:33.638Z] e0aca202a116: Pulling fs layer [2022-01-11T02:35:33.638Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T02:35:33.638Z] 34cad66bf833: Pulling fs layer [2022-01-11T02:35:33.638Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T02:35:33.638Z] 4527c011a84f: Waiting [2022-01-11T02:35:33.638Z] 5d74067f8e1e: Waiting [2022-01-11T02:35:33.638Z] e0aca202a116: Waiting [2022-01-11T02:35:33.638Z] 3a43be97a3b4: Waiting [2022-01-11T02:35:33.638Z] 34cad66bf833: Waiting [2022-01-11T02:35:33.638Z] b4e3c513aaa6: Waiting [2022-01-11T02:35:33.638Z] b8b176561691: Verifying Checksum [2022-01-11T02:35:33.638Z] b8b176561691: Download complete [2022-01-11T02:35:33.638Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T02:35:33.638Z] 31adcdaf11c8: Download complete [2022-01-11T02:35:33.638Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T02:35:33.638Z] 5d74067f8e1e: Download complete [2022-01-11T02:35:33.902Z] e0aca202a116: Verifying Checksum [2022-01-11T02:35:33.902Z] e0aca202a116: Download complete [2022-01-11T02:35:33.902Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T02:35:33.902Z] a0d0a0d46f8b: Download complete [2022-01-11T02:35:33.902Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T02:35:33.902Z] 3a43be97a3b4: Download complete [2022-01-11T02:35:33.902Z] 34cad66bf833: Verifying Checksum [2022-01-11T02:35:33.902Z] 34cad66bf833: Download complete [2022-01-11T02:35:34.491Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T02:35:34.491Z] b4e3c513aaa6: Download complete [2022-01-11T02:35:34.491Z] a0d0a0d46f8b: Pull complete [2022-01-11T02:35:34.491Z] 4527c011a84f: Verifying Checksum [2022-01-11T02:35:34.491Z] 4527c011a84f: Download complete [2022-01-11T02:35:34.491Z] 31adcdaf11c8: Pull complete [2022-01-11T02:35:34.491Z] b8b176561691: Pull complete [2022-01-11T02:35:38.725Z] 4527c011a84f: Pull complete [2022-01-11T02:35:38.725Z] 5d74067f8e1e: Pull complete [2022-01-11T02:35:38.725Z] e0aca202a116: Pull complete [2022-01-11T02:35:38.725Z] 3a43be97a3b4: Pull complete [2022-01-11T02:35:38.988Z] 34cad66bf833: Pull complete [2022-01-11T02:35:41.549Z] b4e3c513aaa6: Pull complete [2022-01-11T02:35:41.549Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T02:35:41.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T02:35:41.549Z] ---> 9f6097aaca64 [2022-01-11T02:35:41.549Z] Step 3/10 : ARG MAKE=make build [2022-01-11T02:35:43.473Z] ---> Running in ee3293976d90 [2022-01-11T02:35:43.473Z] Removing intermediate container ee3293976d90 [2022-01-11T02:35:43.473Z] ---> 93c4976b3c4d [2022-01-11T02:35:43.473Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T02:35:43.473Z] ---> Running in 6a3b7113a91b [2022-01-11T02:35:43.473Z] Removing intermediate container 6a3b7113a91b [2022-01-11T02:35:43.473Z] ---> ca8e77c08add [2022-01-11T02:35:43.473Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:35:43.473Z] ---> Running in a05c7132676d [2022-01-11T02:35:43.473Z] Removing intermediate container a05c7132676d [2022-01-11T02:35:43.473Z] ---> 060f64c7bade [2022-01-11T02:35:43.473Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:35:43.473Z] ---> Running in ad5b38fbe4f2 [2022-01-11T02:35:44.049Z] Removing intermediate container ad5b38fbe4f2 [2022-01-11T02:35:44.049Z] ---> 06d9217363b9 [2022-01-11T02:35:44.049Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T02:35:44.049Z] ---> Running in c84aca4a6e4b [2022-01-11T02:35:44.311Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T02:35:45.255Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T02:35:45.516Z] OK: 220 MiB in 52 packages [2022-01-11T02:35:45.779Z] Removing intermediate container c84aca4a6e4b [2022-01-11T02:35:45.779Z] ---> 8b140492c07b [2022-01-11T02:35:45.779Z] Step 8/10 : COPY . . [2022-01-11T02:35:46.047Z] ---> cf11b55bdc41 [2022-01-11T02:35:46.047Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T02:35:46.047Z] ---> Running in 05413eb5dc8b [2022-01-11T02:36:24.843Z] Removing intermediate container 05413eb5dc8b [2022-01-11T02:36:24.843Z] ---> 38ecdac57f22 [2022-01-11T02:36:24.843Z] Step 10/10 : RUN ${MAKE} [2022-01-11T02:36:24.843Z] ---> Running in 07c03e15a3ac [2022-01-11T02:36:24.843Z] noop [2022-01-11T02:36:24.843Z] Removing intermediate container 07c03e15a3ac [2022-01-11T02:36:24.843Z] ---> c885ea5e93ec [2022-01-11T02:36:24.843Z] Successfully built c885ea5e93ec [2022-01-11T02:36:24.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:36:25.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T02:36:25.186Z] . [Pipeline] withDockerContainer [2022-01-11T02:36:25.270Z] prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container [2022-01-11T02:36:25.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T02:36:25.656Z] $ docker top ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T02:36:26.081Z] + go version [2022-01-11T02:36:26.082Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T02:36:26.115Z] $ docker stop --time=1 ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a [2022-01-11T02:36:27.294Z] $ docker rm -f ec84f8dd6cbd9fdf128966c2d5af2a64acc80c737a4b29978c71d13e9851757a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:36:27.958Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T02:36:27.958Z] . [Pipeline] withDockerContainer [2022-01-11T02:36:28.053Z] prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container [2022-01-11T02:36:28.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T02:36:28.470Z] $ docker top d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T02:36:28.966Z] + make test [2022-01-11T02:36:28.966Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T02:36:35.643Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T02:36:59.653Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1190 in /w/workspace/gexfoundry_device-sdk-go_PR-1078 [Pipeline] { [Pipeline] ws [2022-01-11T02:36:59.699Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-11T02:36:59.963Z] The recommended git tool is: git [2022-01-11T02:37:02.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T02:37:02.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T02:37:02.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T02:37:02.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements [2022-01-11T02:37:02.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T02:37:02.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements [2022-01-11T02:37:02.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements [2022-01-11T02:37:02.657Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 9.0% of statements [2022-01-11T02:37:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T02:37:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T02:37:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T02:37:03.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2022-01-11T02:37:03.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T02:37:04.353Z] using credential edgex-jenkins-ssh [2022-01-11T02:37:04.370Z] Cloning the remote Git repository [2022-01-11T02:37:04.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 86.1% of statements [2022-01-11T02:37:04.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T02:37:04.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T02:37:04.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.4% of statements [2022-01-11T02:37:04.418Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:37:04.493Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-11T02:37:04.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:37:04.580Z] > git --version # timeout=10 [2022-01-11T02:37:04.596Z] > git --version # 'git version 2.17.1' [2022-01-11T02:37:04.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:37:04.709Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T02:37:05.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.889s coverage: 89.2% of statements [2022-01-11T02:37:05.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T02:37:05.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.8% of statements [2022-01-11T02:37:05.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T02:37:07.078Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:37:07.293Z] Merge succeeded, producing a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:37:07.293Z] Checking out Revision a10945069221f12862f9a2d2b86a5a889805e071 (PR-1078) [2022-01-11T02:37:06.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T02:37:06.313Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T02:37:06.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T02:37:06.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T02:37:06.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:37:06.391Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1078/head:refs/remotes/origin/PR-1078 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T02:37:07.097Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T02:37:07.109Z] > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 [2022-01-11T02:37:07.210Z] > git remote # timeout=10 [2022-01-11T02:37:07.226Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T02:37:07.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T02:37:07.253Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-11T02:37:07.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T02:37:07.300Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T02:37:07.321Z] > git checkout -f a10945069221f12862f9a2d2b86a5a889805e071 # timeout=10 [2022-01-11T02:37:11.423Z] Commit message: "docs: Publish swagger to 2.2.0" [2022-01-11T02:37:11.477Z] > git --version # timeout=10 [2022-01-11T02:37:11.490Z] > git --version # 'git version 2.17.1' [2022-01-11T02:37:11.505Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T02:37:12.546Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T02:37:12.546Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T02:37:12.546Z] Dload Upload Total Spent Left Speed [2022-01-11T02:37:12.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh [2022-01-11T02:37:13.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T02:37:13.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T02:37:13.467Z] + sudo tee /etc/docker/daemon.new [2022-01-11T02:37:13.467Z] { [2022-01-11T02:37:13.467Z] "registry-mirrors": [ [2022-01-11T02:37:13.467Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T02:37:13.467Z] ], [2022-01-11T02:37:13.467Z] "bip": "10.250.0.254/24", [2022-01-11T02:37:13.467Z] "hosts": [ [2022-01-11T02:37:13.467Z] "tcp://0.0.0.0:5555", [2022-01-11T02:37:13.467Z] "unix:///var/run/docker.sock" [2022-01-11T02:37:13.467Z] ], [2022-01-11T02:37:13.467Z] "mtu": 1458, [2022-01-11T02:37:13.467Z] "selinux-enabled": true, [2022-01-11T02:37:13.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T02:37:13.467Z] } [Pipeline] sh [2022-01-11T02:37:13.827Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T02:37:14.198Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T02:37:32.593Z] provisioning config files... [2022-01-11T02:37:32.620Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config919900720766617041tmp [2022-01-11T02:37:32.645Z] GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:37:33.045Z] ---> docker-login.sh [2022-01-11T02:37:33.045Z] nexus3.edgexfoundry.org:10001 [2022-01-11T02:37:33.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:37:33.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:37:33.911Z] Configure a credential helper to remove this warning. See [2022-01-11T02:37:33.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:37:33.911Z] [2022-01-11T02:37:33.911Z] Login Succeeded [2022-01-11T02:37:33.911Z] nexus3.edgexfoundry.org:10002 [2022-01-11T02:37:34.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:37:34.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:37:34.182Z] Configure a credential helper to remove this warning. See [2022-01-11T02:37:34.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:37:34.182Z] [2022-01-11T02:37:34.182Z] Login Succeeded [2022-01-11T02:37:34.182Z] nexus3.edgexfoundry.org:10003 [2022-01-11T02:37:34.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:37:34.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:37:34.456Z] Configure a credential helper to remove this warning. See [2022-01-11T02:37:34.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:37:34.456Z] [2022-01-11T02:37:34.456Z] Login Succeeded [2022-01-11T02:37:34.456Z] nexus3.edgexfoundry.org:10004 [2022-01-11T02:37:34.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:37:35.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:37:35.005Z] Configure a credential helper to remove this warning. See [2022-01-11T02:37:35.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:37:35.005Z] [2022-01-11T02:37:35.005Z] Login Succeeded [2022-01-11T02:37:35.005Z] docker.io [2022-01-11T02:37:35.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T02:37:35.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T02:37:35.546Z] Configure a credential helper to remove this warning. See [2022-01-11T02:37:35.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T02:37:35.546Z] [2022-01-11T02:37:35.546Z] Login Succeeded [2022-01-11T02:37:35.546Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T02:37:35.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T02:37:36.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T02:37:36.238Z] ========================================================= [2022-01-11T02:37:36.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T02:37:36.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:37:36.699Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-11T02:37:36.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T02:37:36.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T02:37:36.894Z] ./bin/test-attribution-txt.sh [2022-01-11T02:37:36.971Z] Sending build context to Docker daemon 5.042MB [2022-01-11T02:37:36.971Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T02:37:36.971Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T02:37:37.244Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T02:37:37.244Z] 552d1f2373af: Pulling fs layer [2022-01-11T02:37:37.244Z] ea3f2d53f512: Pulling fs layer [2022-01-11T02:37:37.244Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T02:37:37.244Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T02:37:37.244Z] 72dc09318566: Pulling fs layer [2022-01-11T02:37:37.244Z] f4f7b4309257: Pulling fs layer [2022-01-11T02:37:37.244Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T02:37:37.244Z] b78e95d17946: Pulling fs layer [2022-01-11T02:37:37.244Z] 72dc09318566: Waiting [2022-01-11T02:37:37.244Z] f4f7b4309257: Waiting [2022-01-11T02:37:37.244Z] 7a9cfe048b4a: Waiting [2022-01-11T02:37:37.244Z] 0ac9a79272e3: Waiting [2022-01-11T02:37:37.244Z] b78e95d17946: Waiting [2022-01-11T02:37:37.244Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T02:37:37.244Z] 9e70ebbbe112: Download complete [2022-01-11T02:37:37.244Z] ea3f2d53f512: Verifying Checksum [2022-01-11T02:37:37.244Z] ea3f2d53f512: Download complete [2022-01-11T02:37:37.244Z] 72dc09318566: Verifying Checksum [2022-01-11T02:37:37.244Z] 72dc09318566: Download complete [2022-01-11T02:37:37.244Z] f4f7b4309257: Verifying Checksum [2022-01-11T02:37:37.244Z] f4f7b4309257: Download complete [2022-01-11T02:37:37.244Z] 552d1f2373af: Verifying Checksum [2022-01-11T02:37:37.244Z] 552d1f2373af: Download complete [2022-01-11T02:37:37.244Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T02:37:37.244Z] 0ac9a79272e3: Download complete [Pipeline] echo [2022-01-11T02:37:37.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T02:37:37.521Z] $ docker stop --time=1 d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 [2022-01-11T02:37:37.843Z] 552d1f2373af: Pull complete [2022-01-11T02:37:38.447Z] ea3f2d53f512: Pull complete [2022-01-11T02:37:38.718Z] 9e70ebbbe112: Pull complete [2022-01-11T02:37:38.902Z] $ docker rm -f d154b70178b7b6f24668c7cbeed5badc3e6206e6d692fcb12a9e17f59770a0b1 [2022-01-11T02:37:38.988Z] b78e95d17946: Verifying Checksum [2022-01-11T02:37:38.988Z] b78e95d17946: Download complete [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T02:37:39.570Z] + sudo chown -R jenkins:jenkins . [2022-01-11T02:37:39.578Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T02:37:39.578Z] 7a9cfe048b4a: Download complete [Pipeline] stash [2022-01-11T02:37:39.816Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-11T02:37:41.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T02:37:41.330Z] + ls -al . [2022-01-11T02:37:41.330Z] total 272 [2022-01-11T02:37:41.330Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 02:37 . [2022-01-11T02:37:41.330Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 02:35 .. [2022-01-11T02:37:41.330Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 02:35 bin [2022-01-11T02:37:41.330Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 02:35 CHANGELOG.md [2022-01-11T02:37:41.330Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 02:37 coverage.out [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 02:35 .dockerignore [2022-01-11T02:37:41.331Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 02:35 example [2022-01-11T02:37:41.331Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 02:35 .git [2022-01-11T02:37:41.331Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 02:35 .github [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 02:35 .gitignore [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 02:35 .golangci.yml [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 02:35 go.mod [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 49492 Jan 11 02:35 go.sum [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 02:35 GOVERNANCE.md [2022-01-11T02:37:41.331Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 02:35 internal [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 02:35 Jenkinsfile [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 02:35 LICENSE [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 11 02:35 Makefile [2022-01-11T02:37:41.331Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 02:35 openapi [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 02:35 OWNERS.md [2022-01-11T02:37:41.331Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 02:35 pkg [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 02:35 README.md [2022-01-11T02:37:41.331Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 02:35 snap [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 02:33 VERSION [2022-01-11T02:37:41.331Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 02:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:37:41.678Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a10945069221f12862f9a2d2b86a5a889805e071 --label arch=amd64 --label version=0.0.0 . [2022-01-11T02:37:41.678Z] Sending build context to Docker daemon 5.179MB [2022-01-11T02:37:41.678Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T02:37:41.678Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T02:37:41.678Z] ---> c885ea5e93ec [2022-01-11T02:37:41.678Z] Step 3/24 : ARG MAKE=make build [2022-01-11T02:37:41.678Z] ---> Running in 5c050ed9c2a7 [2022-01-11T02:37:41.942Z] Removing intermediate container 5c050ed9c2a7 [2022-01-11T02:37:41.942Z] ---> 2ec1ab459afe [2022-01-11T02:37:41.942Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T02:37:41.942Z] ---> Running in 0ef5af546aea [2022-01-11T02:37:41.942Z] Removing intermediate container 0ef5af546aea [2022-01-11T02:37:41.942Z] ---> 2e8ee8b919cd [2022-01-11T02:37:41.942Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:37:41.942Z] ---> Running in 63bfc3ca14a3 [2022-01-11T02:37:41.942Z] Removing intermediate container 63bfc3ca14a3 [2022-01-11T02:37:41.942Z] ---> 827df950a1f2 [2022-01-11T02:37:41.942Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:37:41.942Z] ---> Running in 5ec09f492d67 [2022-01-11T02:37:42.519Z] Removing intermediate container 5ec09f492d67 [2022-01-11T02:37:42.519Z] ---> 779abae7694a [2022-01-11T02:37:42.519Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T02:37:42.519Z] ---> Running in b407267719e0 [2022-01-11T02:37:42.783Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T02:37:43.725Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T02:37:43.986Z] OK: 220 MiB in 52 packages [2022-01-11T02:37:44.253Z] Removing intermediate container b407267719e0 [2022-01-11T02:37:44.253Z] ---> 8cc1c9862b3a [2022-01-11T02:37:44.253Z] Step 8/24 : COPY . . [2022-01-11T02:37:44.515Z] ---> b7dbbf1dff94 [2022-01-11T02:37:44.515Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T02:37:44.515Z] ---> Running in 2338e47bdb38 [2022-01-11T02:37:45.096Z] Removing intermediate container 2338e47bdb38 [2022-01-11T02:37:45.096Z] ---> 3d07026243c4 [2022-01-11T02:37:45.096Z] Step 10/24 : RUN ${MAKE} [2022-01-11T02:37:45.096Z] ---> Running in 3cfe9c4f49a7 [2022-01-11T02:37:45.360Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T02:37:51.967Z] 7a9cfe048b4a: Pull complete [2022-01-11T02:37:51.967Z] 72dc09318566: Pull complete [2022-01-11T02:37:51.967Z] f4f7b4309257: Pull complete [2022-01-11T02:37:51.967Z] 0ac9a79272e3: Pull complete [2022-01-11T02:37:57.369Z] b78e95d17946: Pull complete [2022-01-11T02:37:57.369Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T02:37:57.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T02:37:57.369Z] ---> 8b459fc5aaf0 [2022-01-11T02:37:57.369Z] Step 3/10 : ARG MAKE=make build [2022-01-11T02:37:57.695Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T02:37:58.268Z] Removing intermediate container 3cfe9c4f49a7 [2022-01-11T02:37:58.268Z] ---> f42b7d0bd495 [2022-01-11T02:37:58.268Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T02:37:58.346Z] ---> Running in bc8dc6fe44e4 [2022-01-11T02:37:58.619Z] Removing intermediate container bc8dc6fe44e4 [2022-01-11T02:37:58.619Z] ---> da00426b41aa [2022-01-11T02:37:58.619Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T02:37:58.840Z] 3.14: Pulling from library/alpine [2022-01-11T02:37:58.840Z] 97518928ae5f: Pulling fs layer [2022-01-11T02:37:58.894Z] ---> Running in 382f5143cb48 [2022-01-11T02:37:59.103Z] 97518928ae5f: Verifying Checksum [2022-01-11T02:37:59.103Z] 97518928ae5f: Download complete [2022-01-11T02:37:59.103Z] 97518928ae5f: Pull complete [2022-01-11T02:37:59.103Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T02:37:59.103Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T02:37:59.103Z] ---> 0a97eee8041e [2022-01-11T02:37:59.103Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:37:59.103Z] ---> Running in 6f30b1e24e49 [2022-01-11T02:37:59.176Z] Removing intermediate container 382f5143cb48 [2022-01-11T02:37:59.176Z] ---> d39a1e32805d [2022-01-11T02:37:59.176Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:37:59.176Z] ---> Running in 7a2c6e99ddbf [2022-01-11T02:37:59.365Z] Removing intermediate container 6f30b1e24e49 [2022-01-11T02:37:59.365Z] ---> 48b2016650a5 [2022-01-11T02:37:59.365Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:37:59.365Z] ---> Running in 851cdf76d8f4 [2022-01-11T02:37:59.627Z] Removing intermediate container 851cdf76d8f4 [2022-01-11T02:37:59.627Z] ---> 755798173cfe [2022-01-11T02:37:59.627Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T02:37:59.779Z] Removing intermediate container 7a2c6e99ddbf [2022-01-11T02:37:59.779Z] ---> ad0a9a875005 [2022-01-11T02:37:59.779Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:37:59.779Z] ---> Running in 07baf9623919 [2022-01-11T02:37:59.888Z] ---> Running in 5a62b9af7900 [2022-01-11T02:37:59.888Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T02:38:00.830Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T02:38:01.090Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T02:38:01.352Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T02:38:01.352Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T02:38:01.352Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T02:38:01.618Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T02:38:01.618Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T02:38:01.618Z] OK: 8 MiB in 19 packages [2022-01-11T02:38:01.763Z] Removing intermediate container 07baf9623919 [2022-01-11T02:38:01.763Z] ---> 683c073af271 [2022-01-11T02:38:01.763Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T02:38:01.763Z] ---> Running in cb4103b55260 [2022-01-11T02:38:01.880Z] Removing intermediate container 5a62b9af7900 [2022-01-11T02:38:01.880Z] ---> 16196ee8cba2 [2022-01-11T02:38:01.880Z] Step 15/24 : WORKDIR / [2022-01-11T02:38:01.880Z] ---> Running in 873b8f08c6b2 [2022-01-11T02:38:01.880Z] Removing intermediate container 873b8f08c6b2 [2022-01-11T02:38:01.880Z] ---> 2423ffa639bb [2022-01-11T02:38:01.880Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T02:38:02.142Z] ---> 630ac43063f8 [2022-01-11T02:38:02.142Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T02:38:02.404Z] ---> e1406b60e620 [2022-01-11T02:38:02.404Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T02:38:02.668Z] ---> f22cb8d5ea57 [2022-01-11T02:38:02.668Z] Step 19/24 : EXPOSE 59999 [2022-01-11T02:38:02.668Z] ---> Running in cfee2dee666d [2022-01-11T02:38:02.668Z] Removing intermediate container cfee2dee666d [2022-01-11T02:38:02.668Z] ---> c6f72dac9f50 [2022-01-11T02:38:02.668Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T02:38:02.668Z] ---> Running in 96dc9f379295 [2022-01-11T02:38:02.758Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T02:38:02.929Z] Removing intermediate container 96dc9f379295 [2022-01-11T02:38:02.930Z] ---> 2da6d0837b65 [2022-01-11T02:38:02.930Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T02:38:02.930Z] ---> Running in 9603eb5e8d4c [2022-01-11T02:38:02.930Z] Removing intermediate container 9603eb5e8d4c [2022-01-11T02:38:02.930Z] ---> 4723a142d7a2 [2022-01-11T02:38:02.930Z] Step 22/24 : LABEL arch=amd64 [2022-01-11T02:38:02.930Z] ---> Running in 19d17ca2d598 [2022-01-11T02:38:03.192Z] Removing intermediate container 19d17ca2d598 [2022-01-11T02:38:03.192Z] ---> 88e33b33c5e6 [2022-01-11T02:38:03.192Z] Step 23/24 : LABEL git_sha=a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:38:03.192Z] ---> Running in 1a7c00d1a0d3 [2022-01-11T02:38:03.192Z] Removing intermediate container 1a7c00d1a0d3 [2022-01-11T02:38:03.192Z] ---> a1f07ae90196 [2022-01-11T02:38:03.192Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T02:38:03.192Z] ---> Running in ae35c6ebf096 [2022-01-11T02:38:03.192Z] Removing intermediate container ae35c6ebf096 [2022-01-11T02:38:03.192Z] ---> b13b947ae5ff [2022-01-11T02:38:03.192Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T02:38:03.192Z] Successfully built b13b947ae5ff [2022-01-11T02:38:03.192Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:38:03.731Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T02:38:04.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:38:04.004Z] [2022-01-11T02:38:04.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:38:04.326Z] OK: 219 MiB in 52 packages [2022-01-11T02:38:04.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:38:04.357Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T02:38:04.357Z] b4d181a07f80: Pulling fs layer [2022-01-11T02:38:04.357Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T02:38:04.357Z] ed53099fbce6: Pulling fs layer [2022-01-11T02:38:04.357Z] dc539afda2c1: Pulling fs layer [2022-01-11T02:38:04.357Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T02:38:04.357Z] 9065ff56babe: Pulling fs layer [2022-01-11T02:38:04.357Z] d287ab97295c: Pulling fs layer [2022-01-11T02:38:04.357Z] 77bc0d833cb6: Waiting [2022-01-11T02:38:04.357Z] dc539afda2c1: Waiting [2022-01-11T02:38:04.357Z] 9065ff56babe: Waiting [2022-01-11T02:38:04.358Z] d287ab97295c: Waiting [2022-01-11T02:38:04.358Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T02:38:04.358Z] a1111a8f2ec3: Download complete [2022-01-11T02:38:04.358Z] dc539afda2c1: Verifying Checksum [2022-01-11T02:38:04.358Z] dc539afda2c1: Download complete [2022-01-11T02:38:04.358Z] ed53099fbce6: Verifying Checksum [2022-01-11T02:38:04.358Z] ed53099fbce6: Download complete [2022-01-11T02:38:04.358Z] 9065ff56babe: Verifying Checksum [2022-01-11T02:38:04.358Z] 9065ff56babe: Download complete [2022-01-11T02:38:04.618Z] b4d181a07f80: Verifying Checksum [2022-01-11T02:38:04.618Z] b4d181a07f80: Download complete [2022-01-11T02:38:04.618Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T02:38:04.618Z] 77bc0d833cb6: Download complete [2022-01-11T02:38:05.207Z] d287ab97295c: Verifying Checksum [2022-01-11T02:38:05.207Z] d287ab97295c: Download complete [2022-01-11T02:38:05.306Z] Removing intermediate container cb4103b55260 [2022-01-11T02:38:05.306Z] ---> d12166f5d93e [2022-01-11T02:38:05.306Z] Step 8/10 : COPY . . [2022-01-11T02:38:06.175Z] b4d181a07f80: Pull complete [2022-01-11T02:38:06.176Z] a1111a8f2ec3: Pull complete [2022-01-11T02:38:06.297Z] ---> 98ea23a1f8c5 [2022-01-11T02:38:06.297Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T02:38:06.579Z] ---> Running in 44a720bbc8f7 [2022-01-11T02:38:06.754Z] ed53099fbce6: Pull complete [2022-01-11T02:38:07.017Z] dc539afda2c1: Pull complete [2022-01-11T02:38:07.278Z] 77bc0d833cb6: Pull complete [2022-01-11T02:38:07.278Z] 9065ff56babe: Pull complete [2022-01-11T02:38:12.591Z] d287ab97295c: Pull complete [2022-01-11T02:38:12.591Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T02:38:12.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:38:12.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T02:38:12.684Z] prd-centos7-docker-4c-2g-1189 does not seem to be running inside a container [2022-01-11T02:38:12.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T02:38:15.443Z] $ docker top c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:38:15.923Z] ---> job-cost.sh [2022-01-11T02:38:15.923Z] lf-activate-venv: SKIPPING [2022-01-11T02:38:15.923Z] INFO: No Stack... [2022-01-11T02:38:16.184Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T02:38:16.445Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T02:38:16.768Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-11T02:38:16.768Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T02:38:16.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [2022-01-11T02:38:16.818Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] did not exist. Created. [2022-01-11T02:38:16.818Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T02:38:17.218Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T02:38:17.272Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T02:38:17.295Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T02:38:17.378Z] $ docker stop --time=1 c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff [2022-01-11T02:38:18.518Z] $ docker rm -f c59a7aa75c73b31cf76b8092313693485c637d3411bbbdaf7943fc9ff84488ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T02:39:28.377Z] Removing intermediate container 44a720bbc8f7 [2022-01-11T02:39:28.377Z] ---> 662674ac4155 [2022-01-11T02:39:28.377Z] Step 10/10 : RUN ${MAKE} [2022-01-11T02:39:28.377Z] ---> Running in d9af81f85702 [2022-01-11T02:39:28.377Z] noop [2022-01-11T02:39:28.377Z] Removing intermediate container d9af81f85702 [2022-01-11T02:39:28.377Z] ---> b6757d9b0c2e [2022-01-11T02:39:28.377Z] Successfully built b6757d9b0c2e [2022-01-11T02:39:28.377Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:39:28.741Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T02:39:28.741Z] . [Pipeline] withDockerContainer [2022-01-11T02:39:28.959Z] prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container [2022-01-11T02:39:29.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T02:39:30.210Z] $ docker top 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T02:39:31.121Z] + go version [2022-01-11T02:39:31.121Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T02:39:31.152Z] $ docker stop --time=1 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 [2022-01-11T02:39:32.738Z] $ docker rm -f 355569d0bd3dee459e0eacc17e40bb577240b40f4ce505b8980e022ca8e22fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:39:33.577Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T02:39:33.577Z] . [Pipeline] withDockerContainer [2022-01-11T02:39:33.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container [2022-01-11T02:39:33.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T02:39:35.162Z] $ docker top 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T02:39:36.176Z] + make test [2022-01-11T02:39:36.177Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T02:39:58.357Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T02:41:06.374Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T02:41:06.374Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T02:41:06.374Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T02:41:13.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.453s coverage: 23.3% of statements [2022-01-11T02:41:13.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T02:41:13.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements [2022-01-11T02:41:13.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements [2022-01-11T02:41:13.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.254s coverage: 9.0% of statements [2022-01-11T02:41:13.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T02:41:13.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T02:41:13.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T02:41:13.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.298s coverage: 28.7% of statements [2022-01-11T02:41:13.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T02:41:15.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.205s coverage: 86.1% of statements [2022-01-11T02:41:15.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T02:41:15.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T02:41:15.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.4% of statements [2022-01-11T02:41:17.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.206s coverage: 89.2% of statements [2022-01-11T02:41:17.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T02:41:17.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.8% of statements [2022-01-11T02:41:17.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T02:41:18.062Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T02:41:18.062Z] GO111MODULE=on go vet ./... [2022-01-11T02:42:14.654Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T02:42:14.654Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T02:42:14.654Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T02:42:14.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T02:42:14.720Z] $ docker stop --time=1 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 [2022-01-11T02:42:16.547Z] $ docker rm -f 0f0aee134181d4a1a556ffb4f3e6fa603907a81739cf87734c3fbd898d79cbd7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T02:42:17.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T02:42:17.726Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T02:42:18.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T02:42:19.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T02:42:19.668Z] + ls -al . [2022-01-11T02:42:19.668Z] total 308 [2022-01-11T02:42:19.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 02:42 . [2022-01-11T02:42:19.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 02:37 .. [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 02:37 .dockerignore [2022-01-11T02:42:19.668Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 02:37 .git [2022-01-11T02:42:19.668Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 02:37 .github [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 02:37 .gitignore [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 02:37 .golangci.yml [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 02:37 CHANGELOG.md [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 02:37 GOVERNANCE.md [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 02:37 Jenkinsfile [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 02:37 LICENSE [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 11 02:37 Makefile [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 02:37 OWNERS.md [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 02:37 README.md [2022-01-11T02:42:19.668Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 02:33 VERSION [2022-01-11T02:42:19.668Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 02:37 bin [2022-01-11T02:42:19.668Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 02:41 coverage.out [2022-01-11T02:42:19.668Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 02:37 example [2022-01-11T02:42:19.669Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 02:37 go.mod [2022-01-11T02:42:19.669Z] -rw-rw-r-- 1 jenkins jenkins 49492 Jan 11 02:37 go.sum [2022-01-11T02:42:19.669Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 02:37 internal [2022-01-11T02:42:19.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 02:37 openapi [2022-01-11T02:42:19.669Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 02:37 pkg [2022-01-11T02:42:19.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 02:37 snap [2022-01-11T02:42:19.669Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 02:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:42:20.033Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a10945069221f12862f9a2d2b86a5a889805e071 --label arch=arm64 --label version=0.0.0 . [2022-01-11T02:42:20.625Z] Sending build context to Docker daemon 5.172MB [2022-01-11T02:42:20.625Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T02:42:20.625Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T02:42:20.625Z] ---> b6757d9b0c2e [2022-01-11T02:42:20.625Z] Step 3/24 : ARG MAKE=make build [2022-01-11T02:42:20.625Z] ---> Running in c61e1fddd58e [2022-01-11T02:42:20.896Z] Removing intermediate container c61e1fddd58e [2022-01-11T02:42:20.896Z] ---> 4a7b5843c577 [2022-01-11T02:42:20.896Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T02:42:21.168Z] ---> Running in 2b2967235a31 [2022-01-11T02:42:21.440Z] Removing intermediate container 2b2967235a31 [2022-01-11T02:42:21.440Z] ---> 39a16472aa66 [2022-01-11T02:42:21.440Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:42:21.440Z] ---> Running in 2b758a66b5ae [2022-01-11T02:42:21.720Z] Removing intermediate container 2b758a66b5ae [2022-01-11T02:42:21.720Z] ---> d8279ed5160b [2022-01-11T02:42:21.720Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:42:21.991Z] ---> Running in e88ec665c013 [2022-01-11T02:42:23.420Z] Removing intermediate container e88ec665c013 [2022-01-11T02:42:23.420Z] ---> d75ab9b56d92 [2022-01-11T02:42:23.420Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T02:42:23.693Z] ---> Running in 43abc3829fc3 [2022-01-11T02:42:24.670Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T02:42:25.645Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T02:42:26.237Z] OK: 219 MiB in 52 packages [2022-01-11T02:42:27.210Z] Removing intermediate container 43abc3829fc3 [2022-01-11T02:42:27.210Z] ---> c11e965ba51f [2022-01-11T02:42:27.210Z] Step 8/24 : COPY . . [2022-01-11T02:42:28.186Z] ---> b58aa3408c26 [2022-01-11T02:42:28.186Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T02:42:28.186Z] ---> Running in 4c4d3dd4ffde [2022-01-11T02:42:30.823Z] Removing intermediate container 4c4d3dd4ffde [2022-01-11T02:42:30.823Z] ---> a186227e39cb [2022-01-11T02:42:30.823Z] Step 10/24 : RUN ${MAKE} [2022-01-11T02:42:30.823Z] ---> Running in e32cd597e4bf [2022-01-11T02:42:31.417Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T02:43:03.785Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T02:43:06.400Z] Removing intermediate container e32cd597e4bf [2022-01-11T02:43:06.400Z] ---> 243be57b8566 [2022-01-11T02:43:06.400Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T02:43:06.672Z] 3.14: Pulling from library/alpine [2022-01-11T02:43:06.943Z] be307f383ecc: Pulling fs layer [2022-01-11T02:43:07.216Z] be307f383ecc: Download complete [2022-01-11T02:43:07.811Z] be307f383ecc: Pull complete [2022-01-11T02:43:07.811Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T02:43:07.811Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T02:43:07.811Z] ---> 5b8b7b635229 [2022-01-11T02:43:07.811Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T02:43:07.811Z] ---> Running in 38c84796fe3e [2022-01-11T02:43:08.409Z] Removing intermediate container 38c84796fe3e [2022-01-11T02:43:08.409Z] ---> 5a13c40550f3 [2022-01-11T02:43:08.409Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T02:43:08.409Z] ---> Running in 3724add36a52 [2022-01-11T02:43:09.849Z] Removing intermediate container 3724add36a52 [2022-01-11T02:43:09.849Z] ---> d16349e5d10d [2022-01-11T02:43:09.849Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T02:43:09.849Z] ---> Running in 92362e184c56 [2022-01-11T02:43:10.830Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T02:43:11.807Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T02:43:12.783Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T02:43:12.784Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T02:43:12.784Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T02:43:12.784Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T02:43:13.055Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T02:43:13.055Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T02:43:13.055Z] OK: 8 MiB in 19 packages [2022-01-11T02:43:14.031Z] Removing intermediate container 92362e184c56 [2022-01-11T02:43:14.031Z] ---> 938d7c56b257 [2022-01-11T02:43:14.031Z] Step 15/24 : WORKDIR / [2022-01-11T02:43:14.031Z] ---> Running in 65795fd69b26 [2022-01-11T02:43:14.303Z] Removing intermediate container 65795fd69b26 [2022-01-11T02:43:14.303Z] ---> c491e7d809b0 [2022-01-11T02:43:14.303Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T02:43:14.895Z] ---> 3db5950d1563 [2022-01-11T02:43:14.895Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T02:43:15.867Z] ---> 982c2cf5cd6f [2022-01-11T02:43:15.867Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T02:43:16.464Z] ---> cb09dbb2f803 [2022-01-11T02:43:16.464Z] Step 19/24 : EXPOSE 59999 [2022-01-11T02:43:16.735Z] ---> Running in dd160de6b84f [2022-01-11T02:43:17.007Z] Removing intermediate container dd160de6b84f [2022-01-11T02:43:17.007Z] ---> 7869ef32ab2f [2022-01-11T02:43:17.007Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T02:43:17.007Z] ---> Running in 544e68adbda5 [2022-01-11T02:43:17.278Z] Removing intermediate container 544e68adbda5 [2022-01-11T02:43:17.278Z] ---> 0c6cc368a1b4 [2022-01-11T02:43:17.278Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T02:43:17.556Z] ---> Running in e9f27f9e1f7c [2022-01-11T02:43:17.828Z] Removing intermediate container e9f27f9e1f7c [2022-01-11T02:43:17.828Z] ---> abedc6e0f9d2 [2022-01-11T02:43:17.828Z] Step 22/24 : LABEL arch=arm64 [2022-01-11T02:43:17.828Z] ---> Running in 62a9b2f7b0db [2022-01-11T02:43:18.423Z] Removing intermediate container 62a9b2f7b0db [2022-01-11T02:43:18.423Z] ---> 3e67cc58df05 [2022-01-11T02:43:18.423Z] Step 23/24 : LABEL git_sha=a10945069221f12862f9a2d2b86a5a889805e071 [2022-01-11T02:43:18.423Z] ---> Running in 725a318313cd [2022-01-11T02:43:18.696Z] Removing intermediate container 725a318313cd [2022-01-11T02:43:18.696Z] ---> 583ed95feb43 [2022-01-11T02:43:18.696Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T02:43:18.696Z] ---> Running in 42417acbdc10 [2022-01-11T02:43:18.967Z] Removing intermediate container 42417acbdc10 [2022-01-11T02:43:18.967Z] ---> 7cd4438b6ae7 [2022-01-11T02:43:18.967Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T02:43:18.967Z] Successfully built 7cd4438b6ae7 [2022-01-11T02:43:19.238Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:43:19.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T02:43:19.920Z] [2022-01-11T02:43:19.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:43:20.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T02:43:20.295Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T02:43:20.295Z] 448f6bf000e3: Pulling fs layer [2022-01-11T02:43:20.295Z] f757da607395: Pulling fs layer [2022-01-11T02:43:20.295Z] 05883995daec: Pulling fs layer [2022-01-11T02:43:20.295Z] 8603b9c90790: Pulling fs layer [2022-01-11T02:43:20.295Z] 1560dd03e051: Pulling fs layer [2022-01-11T02:43:20.295Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T02:43:20.295Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T02:43:20.295Z] 8603b9c90790: Waiting [2022-01-11T02:43:20.295Z] 1560dd03e051: Waiting [2022-01-11T02:43:20.295Z] 27f5ce0e4adf: Waiting [2022-01-11T02:43:20.295Z] c2d8d7efcc4b: Waiting [2022-01-11T02:43:20.579Z] f757da607395: Verifying Checksum [2022-01-11T02:43:20.579Z] f757da607395: Download complete [2022-01-11T02:43:20.579Z] 8603b9c90790: Verifying Checksum [2022-01-11T02:43:20.579Z] 8603b9c90790: Download complete [2022-01-11T02:43:20.579Z] 1560dd03e051: Verifying Checksum [2022-01-11T02:43:20.579Z] 1560dd03e051: Download complete [2022-01-11T02:43:20.579Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T02:43:20.579Z] 27f5ce0e4adf: Download complete [2022-01-11T02:43:20.579Z] 05883995daec: Verifying Checksum [2022-01-11T02:43:20.579Z] 05883995daec: Download complete [2022-01-11T02:43:21.169Z] 448f6bf000e3: Verifying Checksum [2022-01-11T02:43:21.169Z] 448f6bf000e3: Download complete [2022-01-11T02:43:23.150Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T02:43:23.150Z] c2d8d7efcc4b: Download complete [2022-01-11T02:43:24.583Z] 448f6bf000e3: Pull complete [2022-01-11T02:43:25.180Z] f757da607395: Pull complete [2022-01-11T02:43:26.607Z] 05883995daec: Pull complete [2022-01-11T02:43:26.878Z] 8603b9c90790: Pull complete [2022-01-11T02:43:27.856Z] 1560dd03e051: Pull complete [2022-01-11T02:43:28.128Z] 27f5ce0e4adf: Pull complete [2022-01-11T02:43:43.197Z] c2d8d7efcc4b: Pull complete [2022-01-11T02:43:43.197Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T02:43:43.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T02:43:43.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T02:43:43.436Z] prd-ubuntu18.04-docker-arm64-4c-16g-1190 does not seem to be running inside a container [2022-01-11T02:43:43.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T02:43:46.149Z] $ docker top dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:43:47.178Z] ---> job-cost.sh [2022-01-11T02:43:47.178Z] lf-activate-venv: SKIPPING [2022-01-11T02:43:47.178Z] INFO: No Stack... [2022-01-11T02:43:47.451Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T02:43:47.721Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T02:43:48.402Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-11T02:43:48.402Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T02:43:48.479Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [2022-01-11T02:43:48.484Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] did not exist. Created. [2022-01-11T02:43:48.484Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T02:43:49.222Z] /w/workspace/device-sdk-go/1@tmp/durable-e6149083/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e6149083/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T02:43:49.926Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T02:43:49.967Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T02:43:50.022Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T02:43:50.036Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1078-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T02:43:50.108Z] $ docker stop --time=1 dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 [2022-01-11T02:43:51.579Z] $ docker rm -f dce8a3ff67d0a54224cccf3ff9e578a2bc15baedfcf496b2cd599c277cd59c21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-11T02:43:52.655Z] provisioning config files... [2022-01-11T02:43:52.665Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config899552497497726846tmp [Pipeline] { [Pipeline] sh [2022-01-11T02:43:53.031Z] + set +x [2022-01-11T02:43:53.031Z] + bash -s -- [2022-01-11T02:43:53.031Z] + curl -s https://codecov.io/bash [2022-01-11T02:43:53.031Z] [2022-01-11T02:43:53.031Z] _____ _ [2022-01-11T02:43:53.031Z] / ____| | | [2022-01-11T02:43:53.031Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T02:43:53.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T02:43:53.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T02:43:53.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T02:43:53.031Z] Bash-1.0.6 [2022-01-11T02:43:53.031Z] [2022-01-11T02:43:53.031Z] [2022-01-11T02:43:53.031Z] ==> git version 2.24.4 found [2022-01-11T02:43:53.031Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-11T02:43:53.031Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T02:43:53.031Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T02:43:53.031Z] ==> Jenkins CI detected. [2022-01-11T02:43:53.031Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1078 [2022-01-11T02:43:53.031Z] project root: . [2022-01-11T02:43:53.031Z] --> token set from env [2022-01-11T02:43:53.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T02:43:53.298Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T02:43:53.298Z] ==> Python coveragepy not found [2022-01-11T02:43:53.298Z] ==> Searching for coverage reports in: [2022-01-11T02:43:53.298Z] + . [2022-01-11T02:43:53.298Z] -> Found 1 reports [2022-01-11T02:43:53.298Z] ==> Detecting git/mercurial file structure [2022-01-11T02:43:53.298Z] ==> Reading reports [2022-01-11T02:43:53.298Z] + ./coverage.out bytes=128667 [2022-01-11T02:43:53.298Z] ==> Appending adjustments [2022-01-11T02:43:53.298Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T02:43:53.561Z] + Found adjustments [2022-01-11T02:43:53.561Z] ==> Gzipping contents [2022-01-11T02:43:53.561Z] 16K /tmp/codecov.6xvoLx.gz [2022-01-11T02:43:53.561Z] ==> Uploading reports [2022-01-11T02:43:53.561Z] url: https://codecov.io [2022-01-11T02:43:53.561Z] query: branch=PR-1078&commit=a10945069221f12862f9a2d2b86a5a889805e071&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1078%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1078&job=&cmd_args= [2022-01-11T02:43:53.561Z] -> Pinging Codecov [2022-01-11T02:43:53.561Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1078&commit=a10945069221f12862f9a2d2b86a5a889805e071&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1078%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1078&job=&cmd_args= [2022-01-11T02:43:53.821Z] -> Uploading to [2022-01-11T02:43:53.821Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/a10945069221f12862f9a2d2b86a5a889805e071/dea6df1c-b82c-4fb9-9e37-6e8b8498fa0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T024353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa52b2b59ed7eacc275ee1998ce5d6ebec67798f60edb279f953263678fe7dff [2022-01-11T02:43:53.821Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T02:43:53.821Z] Dload Upload Total Spent Left Speed [2022-01-11T02:43:54.391Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16328 0 0 100 16328 0 47938 --:--:-- --:--:-- --:--:-- 48023 [2022-01-11T02:43:54.391Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a10945069221f12862f9a2d2b86a5a889805e071 [Pipeline] } [2022-01-11T02:43:54.421Z] 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-01-11T02:43:56.154Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:43:56.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:43:57.103Z] ---> package-listing.sh [2022-01-11T02:43:57.103Z] ++ facter osfamily [2022-01-11T02:43:57.103Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T02:43:57.371Z] + OS_FAMILY=redhat [2022-01-11T02:43:57.371Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1078 [2022-01-11T02:43:57.371Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T02:43:57.371Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T02:43:57.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T02:43:57.371Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T02:43:57.371Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1078 ']' [2022-01-11T02:43:57.371Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T02:43:57.371Z] + case "${OS_FAMILY}" in [2022-01-11T02:43:57.371Z] + sort [2022-01-11T02:43:57.371Z] + rpm -qa [2022-01-11T02:43:58.320Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T02:43:58.320Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T02:43:58.320Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T02:43:58.320Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1078 ']' [2022-01-11T02:43:58.320Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives/ [2022-01-11T02:43:58.320Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1078/archives/ [Pipeline] echo [2022-01-11T02:43:58.354Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1078/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T02:43:58.660Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:43:59.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:43:59.259Z] [2022-01-11T02:43:59.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T02:43:59.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:43:59.612Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T02:43:59.612Z] b4d181a07f80: Pulling fs layer [2022-01-11T02:43:59.612Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T02:43:59.612Z] ed53099fbce6: Pulling fs layer [2022-01-11T02:43:59.612Z] dc539afda2c1: Pulling fs layer [2022-01-11T02:43:59.612Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T02:43:59.612Z] 9065ff56babe: Pulling fs layer [2022-01-11T02:43:59.612Z] d287ab97295c: Pulling fs layer [2022-01-11T02:43:59.612Z] 77bc0d833cb6: Waiting [2022-01-11T02:43:59.612Z] 9065ff56babe: Waiting [2022-01-11T02:43:59.612Z] d287ab97295c: Waiting [2022-01-11T02:43:59.612Z] dc539afda2c1: Waiting [2022-01-11T02:43:59.612Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T02:43:59.612Z] a1111a8f2ec3: Download complete [2022-01-11T02:43:59.612Z] dc539afda2c1: Verifying Checksum [2022-01-11T02:43:59.612Z] dc539afda2c1: Download complete [2022-01-11T02:43:59.893Z] ed53099fbce6: Verifying Checksum [2022-01-11T02:43:59.893Z] ed53099fbce6: Download complete [2022-01-11T02:43:59.893Z] 9065ff56babe: Verifying Checksum [2022-01-11T02:43:59.893Z] 9065ff56babe: Download complete [2022-01-11T02:43:59.893Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T02:43:59.893Z] 77bc0d833cb6: Download complete [2022-01-11T02:43:59.893Z] b4d181a07f80: Verifying Checksum [2022-01-11T02:43:59.893Z] b4d181a07f80: Download complete [2022-01-11T02:44:00.467Z] d287ab97295c: Verifying Checksum [2022-01-11T02:44:00.467Z] d287ab97295c: Download complete [2022-01-11T02:44:01.891Z] b4d181a07f80: Pull complete [2022-01-11T02:44:01.891Z] a1111a8f2ec3: Pull complete [2022-01-11T02:44:02.476Z] ed53099fbce6: Pull complete [2022-01-11T02:44:02.742Z] dc539afda2c1: Pull complete [2022-01-11T02:44:03.013Z] 77bc0d833cb6: Pull complete [2022-01-11T02:44:03.013Z] 9065ff56babe: Pull complete [2022-01-11T02:44:09.670Z] d287ab97295c: Pull complete [2022-01-11T02:44:09.670Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T02:44:09.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T02:44:09.670Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T02:44:09.766Z] prd-centos7-docker-4c-2g-1188 does not seem to be running inside a container [2022-01-11T02:44:09.799Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1078/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1078 -v /w/workspace/gexfoundry_device-sdk-go_PR-1078:/w/workspace/gexfoundry_device-sdk-go_PR-1078:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T02:44:11.944Z] $ docker top b5dab3d7afe3ed4c900f2624c9dddf4296d5bda6cfc1b9d2c7f20f101a3b1ee2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T02:44:12.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T02:44:12.692Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T02:44:13.011Z] + ls /var/log/sa-host [2022-01-11T02:44:13.011Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T02:44:13.011Z] file_magic: OK [2022-01-11T02:44:13.011Z] HZ: Using current value: 100 [2022-01-11T02:44:13.011Z] file_header: OK [2022-01-11T02:44:13.011Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T02:44:13.011Z] Statistics: [2022-01-11T02:44:13.011Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T02:44:13.011Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T02:44:13.011Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T02:44:13.011Z] file_magic: OK [2022-01-11T02:44:13.011Z] HZ: Using current value: 100 [2022-01-11T02:44:13.011Z] file_header: OK [2022-01-11T02:44:13.011Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T02:44:13.011Z] Statistics: [2022-01-11T02:44:13.011Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T02:44:13.011Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T02:44:13.170Z] provisioning config files... [2022-01-11T02:44:13.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1078@tmp/config2806469475885954317tmp [Pipeline] { [Pipeline] echo [2022-01-11T02:44:13.235Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:44:13.547Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T02:44:13.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:44:13.972Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T02:44:14.009Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:44:14.324Z] ---> sudo-logs.sh [2022-01-11T02:44:14.324Z] Archiving 'sudo' log.. [2022-01-11T02:44:14.324Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1188.novalocal: Name or service not known [2022-01-11T02:44:14.324Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1188.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T02:44:14.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:44:14.720Z] ---> job-cost.sh [2022-01-11T02:44:14.720Z] lf-activate-venv: SKIPPING [2022-01-11T02:44:14.720Z] DEBUG: total: 0.10999999940395355 [2022-01-11T02:44:14.720Z] INFO: Retrieving Stack Cost... [2022-01-11T02:44:15.290Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T02:44:15.551Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T02:44:15.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T02:44:15.904Z] ---> logs-deploy.sh [2022-01-11T02:44:15.904Z] lf-activate-venv: SKIPPING [2022-01-11T02:44:15.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1078/1 [2022-01-11T02:44:15.904Z] INFO: archiving workspace using pattern(s): [2022-01-11T02:44:16.852Z] Archives upload complete. [2022-01-11T02:44:17.113Z] INFO: archiving logs to Nexus