Pull request #923 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 755ccf0f88b1d27e94309afe20514704e22475f5+8d3d36979320f9fc0ce2797f8744993b6dbca912 (296ccfcab10b5b125744454836ea6018e02471e6) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 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/v1, 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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/v1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4708 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-923 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T15:47:55.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T15:47:55.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T15:47:55.186Z] ========================================================= [2021-05-12T15:47:55.186Z] EdgeX Global Pipelines Version Info [2021-05-12T15:47:55.186Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c9a80948d642452847ce444834f2549de2e54317 # timeout=10 [2021-05-12T15:47:56.712Z] ------------------- [2021-05-12T15:47:56.712Z] stable info: [2021-05-12T15:47:56.712Z] ------------------- [2021-05-12T15:47:56.712Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T15:47:56.712Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:47:56.712Z] Message: update stable to v1.0.192 [2021-05-12T15:47:57.656Z] ------------------- [2021-05-12T15:47:57.656Z] experimental info: [2021-05-12T15:47:57.656Z] ------------------- [2021-05-12T15:47:57.656Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T15:47:57.656Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:47:57.656Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T15:47:57.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-12T15:47:57.797Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-12T15:47:57.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T15:47:57.844Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T15:47:57.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T15:47:57.891Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T15:47:57.914Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T15:47:57.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T15:47:57.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-12T15:47:57.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T15:47:58.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T15:47:58.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-12T15:47:58.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T15:47:58.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T15:47:58.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T15:47:58.181Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:47:58.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:47:58.235Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:47:58.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T15:47:58.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T15:47:58.309Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-12T15:47:58.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-12T15:47:58.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T15:47:58.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T15:47:58.421Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T15:47:58.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T15:47:58.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-923 [Pipeline] echo [2021-05-12T15:47:58.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-923 [Pipeline] echo [2021-05-12T15:47:58.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-923 [Pipeline] echo [2021-05-12T15:47:58.578Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] echo [2021-05-12T15:47:58.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 755ccf0 [Pipeline] echo [2021-05-12T15:47:58.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:47:58.698Z] provisioning config files... [2021-05-12T15:47:58.725Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config7738171745022856817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:47:59.040Z] ---> docker-login.sh [2021-05-12T15:47:59.040Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:47:59.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:47:59.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:47:59.301Z] Configure a credential helper to remove this warning. See [2021-05-12T15:47:59.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:47:59.301Z] [2021-05-12T15:47:59.301Z] Login Succeeded [2021-05-12T15:47:59.301Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:47:59.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:47:59.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:47:59.562Z] Configure a credential helper to remove this warning. See [2021-05-12T15:47:59.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:47:59.562Z] [2021-05-12T15:47:59.562Z] Login Succeeded [2021-05-12T15:47:59.562Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:47:59.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:47:59.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:47:59.562Z] Configure a credential helper to remove this warning. See [2021-05-12T15:47:59.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:47:59.562Z] [2021-05-12T15:47:59.562Z] Login Succeeded [2021-05-12T15:47:59.562Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:47:59.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:47:59.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:47:59.827Z] Configure a credential helper to remove this warning. See [2021-05-12T15:47:59.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:47:59.827Z] [2021-05-12T15:47:59.827Z] Login Succeeded [2021-05-12T15:47:59.827Z] docker.io [2021-05-12T15:48:00.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:00.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:00.348Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:00.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:00.348Z] [2021-05-12T15:48:00.348Z] Login Succeeded [2021-05-12T15:48:00.348Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:48:00.357Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:48:00.793Z] + git log --format=format:%s -1 755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] echo [2021-05-12T15:48:00.872Z] GIT_COMMIT: 755ccf0f88b1d27e94309afe20514704e22475f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1 [Pipeline] echo [2021-05-12T15:48:00.889Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:48:01.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:01.436Z] [2021-05-12T15:48:01.436Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:48:01.749Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:01.749Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T15:48:01.749Z] 31603596830f: Pulling fs layer [2021-05-12T15:48:01.749Z] 54011a49482f: Pulling fs layer [2021-05-12T15:48:01.749Z] a6820b24f6d8: Pulling fs layer [2021-05-12T15:48:01.749Z] f581987b2513: Pulling fs layer [2021-05-12T15:48:01.749Z] f581987b2513: Waiting [2021-05-12T15:48:01.749Z] 54011a49482f: Verifying Checksum [2021-05-12T15:48:01.749Z] 54011a49482f: Download complete [2021-05-12T15:48:01.749Z] 31603596830f: Download complete [2021-05-12T15:48:02.011Z] f581987b2513: Download complete [2021-05-12T15:48:02.011Z] a6820b24f6d8: Verifying Checksum [2021-05-12T15:48:02.011Z] a6820b24f6d8: Download complete [2021-05-12T15:48:02.274Z] 31603596830f: Pull complete [2021-05-12T15:48:02.274Z] 54011a49482f: Pull complete [2021-05-12T15:48:02.856Z] a6820b24f6d8: Pull complete [2021-05-12T15:48:03.117Z] f581987b2513: Pull complete [2021-05-12T15:48:03.117Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T15:48:03.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:03.117Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T15:48:03.217Z] prd-centos7-docker-4c-2g-4708 does not seem to be running inside a container [2021-05-12T15:48:03.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T15:48:05.052Z] $ docker top b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T15:48:05.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:48:05.162Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:48:05.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:48:05.369Z] $ docker exec b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent [2021-05-12T15:48:05.498Z] SSH_AUTH_SOCK=/tmp/ssh-LodeeTCmSLkN/agent.12 [2021-05-12T15:48:05.498Z] SSH_AGENT_PID=17 [2021-05-12T15:48:05.507Z] Running ssh-add (command line suppressed) [2021-05-12T15:48:05.634Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_8666125831772649039.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_8666125831772649039.key) [2021-05-12T15:48:05.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:48:05.959Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T15:48:05.996Z] $ docker exec --env ******** --env ******** b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent -k [2021-05-12T15:48:06.104Z] unset SSH_AUTH_SOCK; [2021-05-12T15:48:06.105Z] unset SSH_AGENT_PID; [2021-05-12T15:48:06.105Z] echo Agent pid 17 killed; [2021-05-12T15:48:06.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T15:48:06.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:48:06.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:48:06.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:48:06.343Z] $ docker exec b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent [2021-05-12T15:48:06.479Z] SSH_AUTH_SOCK=/tmp/ssh-IqJRAM5lWr7I/agent.46 [2021-05-12T15:48:06.479Z] SSH_AGENT_PID=51 [2021-05-12T15:48:06.485Z] Running ssh-add (command line suppressed) [2021-05-12T15:48:06.619Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_1081872625904379961.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_1081872625904379961.key) [2021-05-12T15:48:06.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:48:06.951Z] + git semver init [2021-05-12T15:48:06.951Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T15:48:06.951Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.git [2021-05-12T15:48:06.951Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-923 [2021-05-12T15:48:06.951Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T15:48:06.951Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T15:48:06.951Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T15:48:06.951Z] # $SEMVER_BRANCH = PR-923 [2021-05-12T15:48:06.951Z] # $SEMVER_TEMP = /tmp/semver-539589594 [2021-05-12T15:48:06.951Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-12T15:48:09.517Z] # '/tmp/semver-539589594' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver' [2021-05-12T15:48:09.517Z] # -> Force: false [2021-05-12T15:48:09.517Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver [Pipeline] } [2021-05-12T15:48:09.550Z] $ docker exec --env ******** --env ******** b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent -k [2021-05-12T15:48:09.662Z] unset SSH_AUTH_SOCK; [2021-05-12T15:48:09.662Z] unset SSH_AGENT_PID; [2021-05-12T15:48:09.662Z] echo Agent pid 51 killed; [2021-05-12T15:48:09.691Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T15:48:10.022Z] + git semver [Pipeline] } [2021-05-12T15:48:10.060Z] $ docker stop --time=1 b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 [2021-05-12T15:48:11.833Z] $ docker rm -f b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:48:12.220Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T15:48:12.519Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T15:48:12.523Z] [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 [2021-05-12T15:48:27.703Z] Still waiting to schedule task [2021-05-12T15:48:27.703Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T15:48:27.706Z] Still waiting to schedule task [2021-05-12T15:48:27.706Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-12T15:49:28.673Z] Running on prd-centos7-docker-4c-2g-4712 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws [2021-05-12T15:49:28.694Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-12T15:49:31.234Z] using credential edgex-jenkins-ssh [2021-05-12T15:49:31.248Z] Cloning the remote Git repository [2021-05-12T15:49:31.273Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:49:31.394Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-12T15:49:31.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:49:31.474Z] > git --version # timeout=10 [2021-05-12T15:49:31.482Z] > git --version # 'git version 2.24.3' [2021-05-12T15:49:31.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:49:31.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:49:32.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:49:32.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:49:32.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:49:32.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:49:32.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:49:32.376Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T15:49:34.078Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:49:34.237Z] Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:49:34.238Z] Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) [2021-05-12T15:49:34.086Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:49:34.092Z] > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [2021-05-12T15:49:34.140Z] > git remote # timeout=10 [2021-05-12T15:49:34.148Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:49:34.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:49:34.160Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-12T15:49:34.171Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:49:34.241Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:49:34.247Z] > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [2021-05-12T15:49:37.985Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:49:38.980Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:49:39.322Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:49:39.621Z] + true [2021-05-12T15:49:39.621Z] + sudo service docker restart [2021-05-12T15:49:39.621Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:49:40.598Z] provisioning config files... [2021-05-12T15:49:40.630Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5978287600454232729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:49:40.950Z] ---> docker-login.sh [2021-05-12T15:49:40.950Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:49:41.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:49:41.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:49:41.475Z] Configure a credential helper to remove this warning. See [2021-05-12T15:49:41.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:49:41.476Z] [2021-05-12T15:49:41.476Z] Login Succeeded [2021-05-12T15:49:41.476Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:49:41.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:49:41.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:49:41.740Z] Configure a credential helper to remove this warning. See [2021-05-12T15:49:41.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:49:41.740Z] [2021-05-12T15:49:41.740Z] Login Succeeded [2021-05-12T15:49:41.740Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:49:41.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:49:41.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:49:41.740Z] Configure a credential helper to remove this warning. See [2021-05-12T15:49:41.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:49:41.740Z] [2021-05-12T15:49:41.740Z] Login Succeeded [2021-05-12T15:49:41.740Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:49:42.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:49:42.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:49:42.003Z] Configure a credential helper to remove this warning. See [2021-05-12T15:49:42.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:49:42.003Z] [2021-05-12T15:49:42.003Z] Login Succeeded [2021-05-12T15:49:42.003Z] docker.io [2021-05-12T15:49:42.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:49:42.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:49:42.528Z] Configure a credential helper to remove this warning. See [2021-05-12T15:49:42.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:49:42.528Z] [2021-05-12T15:49:42.528Z] Login Succeeded [2021-05-12T15:49:42.528Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:49:42.537Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T15:49:42.733Z] ========================================================= [2021-05-12T15:49:42.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T15:49:42.733Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:49:43.047Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T15:49:43.047Z] Sending build context to Docker daemon 2.559MB [2021-05-12T15:49:43.047Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:49:43.047Z] Step 2/8 : FROM ${BASE} [2021-05-12T15:49:43.310Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T15:49:43.310Z] 540db60ca938: Pulling fs layer [2021-05-12T15:49:43.310Z] adcc1eea9eea: Pulling fs layer [2021-05-12T15:49:43.310Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T15:49:43.310Z] 0510c868ecb4: Pulling fs layer [2021-05-12T15:49:43.310Z] afea3b2eda06: Pulling fs layer [2021-05-12T15:49:43.310Z] 7809a108b3ef: Pulling fs layer [2021-05-12T15:49:43.310Z] f706445af74f: Pulling fs layer [2021-05-12T15:49:43.310Z] afea3b2eda06: Waiting [2021-05-12T15:49:43.310Z] 7809a108b3ef: Waiting [2021-05-12T15:49:43.310Z] f706445af74f: Waiting [2021-05-12T15:49:43.310Z] 0510c868ecb4: Waiting [2021-05-12T15:49:43.310Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T15:49:43.310Z] 4c4ab2625f07: Download complete [2021-05-12T15:49:43.310Z] adcc1eea9eea: Verifying Checksum [2021-05-12T15:49:43.310Z] adcc1eea9eea: Download complete [2021-05-12T15:49:43.310Z] afea3b2eda06: Download complete [2021-05-12T15:49:43.310Z] 540db60ca938: Verifying Checksum [2021-05-12T15:49:43.310Z] 540db60ca938: Download complete [2021-05-12T15:49:43.310Z] 7809a108b3ef: Verifying Checksum [2021-05-12T15:49:43.310Z] 7809a108b3ef: Download complete [2021-05-12T15:49:43.580Z] 540db60ca938: Pull complete [2021-05-12T15:49:43.852Z] adcc1eea9eea: Pull complete [2021-05-12T15:49:43.852Z] 4c4ab2625f07: Pull complete [2021-05-12T15:49:45.249Z] f706445af74f: Verifying Checksum [2021-05-12T15:49:45.249Z] f706445af74f: Download complete [2021-05-12T15:49:45.514Z] 0510c868ecb4: Verifying Checksum [2021-05-12T15:49:45.514Z] 0510c868ecb4: Download complete [2021-05-12T15:49:52.180Z] 0510c868ecb4: Pull complete [2021-05-12T15:49:52.180Z] afea3b2eda06: Pull complete [2021-05-12T15:49:52.180Z] 7809a108b3ef: Pull complete [2021-05-12T15:49:58.834Z] f706445af74f: Pull complete [2021-05-12T15:49:58.834Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T15:49:58.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T15:49:58.834Z] ---> b068be0155e3 [2021-05-12T15:49:58.834Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:49:58.834Z] ---> Running in c7da100d7585 [2021-05-12T15:49:59.100Z] Removing intermediate container c7da100d7585 [2021-05-12T15:49:59.100Z] ---> a0936d199a50 [2021-05-12T15:49:59.100Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:49:59.100Z] ---> Running in 5ae98017975c [2021-05-12T15:50:00.511Z] Removing intermediate container 5ae98017975c [2021-05-12T15:50:00.511Z] ---> 3094f3abab5e [2021-05-12T15:50:00.511Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T15:50:00.511Z] ---> Running in b728b20f60c4 [2021-05-12T15:50:01.914Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:50:02.493Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:50:03.076Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-12T15:50:03.076Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:50:03.340Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-12T15:50:03.340Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:50:03.340Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-12T15:50:03.605Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:50:03.605Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:50:03.605Z] OK: 150 MiB in 46 packages [2021-05-12T15:50:04.555Z] Removing intermediate container b728b20f60c4 [2021-05-12T15:50:04.555Z] ---> 76f1c40ac445 [2021-05-12T15:50:04.555Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-12T15:50:04.555Z] ---> Running in 3592771f1af5 [2021-05-12T15:50:04.818Z] Removing intermediate container 3592771f1af5 [2021-05-12T15:50:04.818Z] ---> 16d219922f72 [2021-05-12T15:50:04.818Z] Step 7/8 : COPY . . [2021-05-12T15:50:06.218Z] ---> 851049faa8f3 [2021-05-12T15:50:06.218Z] Step 8/8 : RUN go mod download [2021-05-12T15:50:06.218Z] ---> Running in 385f9da7ad50 [2021-05-12T15:50:28.272Z] Removing intermediate container 385f9da7ad50 [2021-05-12T15:50:28.272Z] ---> ed01b28cf8c3 [2021-05-12T15:50:28.272Z] Successfully built ed01b28cf8c3 [2021-05-12T15:50:28.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:50:28.589Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:50:28.589Z] . [Pipeline] withDockerContainer [2021-05-12T15:50:28.708Z] prd-centos7-docker-4c-2g-4712 does not seem to be running inside a container [2021-05-12T15:50:28.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T15:50:29.547Z] $ docker top fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:50:29.974Z] + go version [2021-05-12T15:50:29.974Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T15:50:29.989Z] $ docker stop --time=1 fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 [2021-05-12T15:50:31.368Z] $ docker rm -f fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:50:31.888Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:50:31.888Z] . [Pipeline] withDockerContainer [2021-05-12T15:50:31.998Z] prd-centos7-docker-4c-2g-4712 does not seem to be running inside a container [2021-05-12T15:50:32.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T15:50:32.767Z] $ docker top 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:50:33.203Z] + go mod tidy [Pipeline] sh [2021-05-12T15:50:34.086Z] + make test [2021-05-12T15:50:34.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-12T15:50:42.283Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-12T15:51:09.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-12T15:51:09.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-12T15:51:09.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-12T15:51:09.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 25.4% of statements [2021-05-12T15:51:09.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-12T15:51:09.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.101s coverage: 28.1% of statements [2021-05-12T15:51:09.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements [2021-05-12T15:51:09.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.073s coverage: 10.7% of statements [2021-05-12T15:51:09.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-12T15:51:09.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-12T15:51:09.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-12T15:51:10.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 30.2% of statements [2021-05-12T15:51:10.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-12T15:51:10.740Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4714 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws [2021-05-12T15:51:10.760Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-12T15:51:11.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 83.3% of statements [2021-05-12T15:51:11.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-12T15:51:11.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T15:51:11.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 58.4% of statements [2021-05-12T15:51:12.562Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.210s coverage: 89.2% of statements [2021-05-12T15:51:12.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-12T15:51:12.562Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-05-12T15:51:12.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-12T15:51:12.828Z] GO111MODULE=on go vet ./... [2021-05-12T15:51:16.660Z] using credential edgex-jenkins-ssh [2021-05-12T15:51:16.683Z] Cloning the remote Git repository [2021-05-12T15:51:16.744Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:16.884Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-12T15:51:16.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:16.979Z] > git --version # timeout=10 [2021-05-12T15:51:17.004Z] > git --version # 'git version 2.17.1' [2021-05-12T15:51:17.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:17.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:51:19.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:51:19.976Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:51:20.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:51:20.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:20.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:20.054Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T15:51:21.466Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:51:21.725Z] Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:51:21.726Z] Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) [2021-05-12T15:51:21.478Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:51:21.503Z] > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [2021-05-12T15:51:21.617Z] > git remote # timeout=10 [2021-05-12T15:51:21.642Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:51:21.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:21.676Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-12T15:51:21.697Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:51:21.723Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:51:21.745Z] > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [2021-05-12T15:51:26.105Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:51:27.558Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:51:27.959Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:51:28.304Z] + sudo service docker restart+ [2021-05-12T15:51:28.304Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:51:30.970Z] provisioning config files... [2021-05-12T15:51:31.014Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5057947867497130940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:51:31.384Z] ---> docker-login.sh [2021-05-12T15:51:31.384Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:51:31.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:51:32.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:51:32.574Z] Configure a credential helper to remove this warning. See [2021-05-12T15:51:32.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:51:32.574Z] [2021-05-12T15:51:32.574Z] Login Succeeded [2021-05-12T15:51:32.574Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:51:32.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:51:33.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:51:33.126Z] Configure a credential helper to remove this warning. See [2021-05-12T15:51:33.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:51:33.127Z] [2021-05-12T15:51:33.127Z] Login Succeeded [2021-05-12T15:51:33.127Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:51:33.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:51:33.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:51:33.675Z] Configure a credential helper to remove this warning. See [2021-05-12T15:51:33.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:51:33.675Z] [2021-05-12T15:51:33.675Z] Login Succeeded [2021-05-12T15:51:33.675Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:51:33.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:51:33.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:51:33.951Z] Configure a credential helper to remove this warning. See [2021-05-12T15:51:33.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:51:33.951Z] [2021-05-12T15:51:33.951Z] Login Succeeded [2021-05-12T15:51:33.951Z] docker.io [2021-05-12T15:51:34.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:51:34.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:51:34.822Z] Configure a credential helper to remove this warning. See [2021-05-12T15:51:34.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:51:34.822Z] [2021-05-12T15:51:34.822Z] Login Succeeded [2021-05-12T15:51:34.822Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:51:34.840Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-12T15:51:34.955Z] gofmt -l . [2021-05-12T15:51:34.956Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:51:34.956Z] ./bin/test-attribution-txt.sh [2021-05-12T15:51:34.956Z] ./bin/test-go-mod-tidy.sh [Pipeline] echo [2021-05-12T15:51:35.142Z] ========================================================= [2021-05-12T15:51:35.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T15:51:35.143Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-05-12T15:51:35.240Z] $ docker stop --time=1 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea [2021-05-12T15:51:35.487Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T15:51:35.773Z] Sending build context to Docker daemon 2.558MB [2021-05-12T15:51:36.056Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:51:36.056Z] Step 2/8 : FROM ${BASE} [2021-05-12T15:51:36.056Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T15:51:36.056Z] 595b0fe564bb: Pulling fs layer [2021-05-12T15:51:36.056Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T15:51:36.056Z] 316046926c0a: Pulling fs layer [2021-05-12T15:51:36.056Z] 4ebd0625c992: Pulling fs layer [2021-05-12T15:51:36.056Z] 207e8628e3a3: Pulling fs layer [2021-05-12T15:51:36.056Z] c791037a9be2: Pulling fs layer [2021-05-12T15:51:36.056Z] ffd874e62e21: Pulling fs layer [2021-05-12T15:51:36.056Z] 4ebd0625c992: Waiting [2021-05-12T15:51:36.056Z] 207e8628e3a3: Waiting [2021-05-12T15:51:36.056Z] c791037a9be2: Waiting [2021-05-12T15:51:36.056Z] ffd874e62e21: Waiting [2021-05-12T15:51:36.056Z] 316046926c0a: Verifying Checksum [2021-05-12T15:51:36.056Z] 316046926c0a: Download complete [2021-05-12T15:51:36.056Z] 7186ed65a4f7: Download complete [2021-05-12T15:51:36.056Z] 207e8628e3a3: Verifying Checksum [2021-05-12T15:51:36.056Z] 207e8628e3a3: Download complete [2021-05-12T15:51:36.056Z] c791037a9be2: Verifying Checksum [2021-05-12T15:51:36.056Z] c791037a9be2: Download complete [2021-05-12T15:51:36.056Z] 595b0fe564bb: Download complete [2021-05-12T15:51:36.929Z] $ docker rm -f 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea [2021-05-12T15:51:37.044Z] 595b0fe564bb: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:51:37.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:51:37.649Z] 7186ed65a4f7: Pull complete [2021-05-12T15:51:37.930Z] 316046926c0a: Pull complete [2021-05-12T15:51:38.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T15:51:38.910Z] ffd874e62e21: Verifying Checksum [2021-05-12T15:51:38.910Z] ffd874e62e21: Download complete [2021-05-12T15:51:39.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:51:39.362Z] + ls -al . [2021-05-12T15:51:39.362Z] total 212 [2021-05-12T15:51:39.362Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 12 15:51 . [2021-05-12T15:51:39.362Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:49 .. [2021-05-12T15:51:39.362Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:49 bin [2021-05-12T15:51:39.362Z] -rw-r--r--. 1 jenkins jenkins 126002 May 12 15:51 coverage.out [2021-05-12T15:51:39.362Z] -rw-rw-r--. 1 jenkins jenkins 987 May 12 15:49 Dockerfile.build [2021-05-12T15:51:39.362Z] -rw-rw-r--. 1 jenkins jenkins 140 May 12 15:49 .dockerignore [2021-05-12T15:51:39.362Z] drwxrwxr-x. 5 jenkins jenkins 62 May 12 15:49 example [2021-05-12T15:51:39.362Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:49 .git [2021-05-12T15:51:39.362Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 15:49 .github [2021-05-12T15:51:39.362Z] -rw-rw-r--. 1 jenkins jenkins 138 May 12 15:49 .gitignore [2021-05-12T15:51:39.362Z] -rw-r--r--. 1 jenkins jenkins 575 May 12 15:51 go.mod [2021-05-12T15:51:39.362Z] -rw-r--r--. 1 jenkins jenkins 20499 May 12 15:50 go.sum [2021-05-12T15:51:39.362Z] drwxrwxr-x. 15 jenkins jenkins 224 May 12 15:49 internal [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 894 May 12 15:49 Jenkinsfile [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 12 15:49 LICENSE [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 12 15:49 Makefile [2021-05-12T15:51:39.363Z] drwxrwxr-x. 4 jenkins jenkins 26 May 12 15:49 openapi [2021-05-12T15:51:39.363Z] drwxrwxr-x. 5 jenkins jenkins 50 May 12 15:49 pkg [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 12 15:49 README.md [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 12 15:49 RELEASE-NOTES.txt [2021-05-12T15:51:39.363Z] drwxrwxr-x. 4 jenkins jenkins 54 May 12 15:49 snap [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:48 VERSION [2021-05-12T15:51:39.363Z] -rw-rw-r--. 1 jenkins jenkins 222 May 12 15:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:51:39.680Z] + 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=755ccf0f88b1d27e94309afe20514704e22475f5 --label arch=amd64 --label version=0.0.0 . [2021-05-12T15:51:39.889Z] 4ebd0625c992: Verifying Checksum [2021-05-12T15:51:39.889Z] 4ebd0625c992: Download complete [2021-05-12T15:51:39.945Z] Sending build context to Docker daemon 2.686MB [2021-05-12T15:51:39.945Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:51:39.945Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T15:51:39.945Z] ---> ed01b28cf8c3 [2021-05-12T15:51:39.945Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-12T15:51:40.521Z] ---> Running in 628c2d1f0cea [2021-05-12T15:51:40.792Z] Removing intermediate container 628c2d1f0cea [2021-05-12T15:51:40.792Z] ---> 6634e57e0274 [2021-05-12T15:51:40.792Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:51:40.792Z] ---> Running in 2092ecbba5e6 [2021-05-12T15:51:41.062Z] Removing intermediate container 2092ecbba5e6 [2021-05-12T15:51:41.062Z] ---> 8185180d3505 [2021-05-12T15:51:41.062Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:51:41.062Z] ---> Running in f12b1a56da0d [2021-05-12T15:51:42.502Z] Removing intermediate container f12b1a56da0d [2021-05-12T15:51:42.502Z] ---> 28d66d997ffe [2021-05-12T15:51:42.502Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T15:51:42.502Z] ---> Running in 18787564b296 [2021-05-12T15:51:42.773Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:51:43.725Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:51:44.320Z] OK: 150 MiB in 46 packages [2021-05-12T15:51:44.903Z] Removing intermediate container 18787564b296 [2021-05-12T15:51:44.903Z] ---> f682926baa13 [2021-05-12T15:51:44.903Z] Step 7/23 : COPY . . [2021-05-12T15:51:45.892Z] ---> a34c45e19efb [2021-05-12T15:51:45.892Z] Step 8/23 : RUN go mod download [2021-05-12T15:51:45.892Z] ---> Running in 4f46f1041301 [2021-05-12T15:51:47.303Z] Removing intermediate container 4f46f1041301 [2021-05-12T15:51:47.303Z] ---> 9ab346f5201f [2021-05-12T15:51:47.303Z] Step 9/23 : RUN make build [2021-05-12T15:51:47.303Z] ---> Running in 474507ca2151 [2021-05-12T15:51:47.904Z] 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 [2021-05-12T15:51:50.042Z] 4ebd0625c992: Pull complete [2021-05-12T15:51:50.315Z] 207e8628e3a3: Pull complete [2021-05-12T15:51:50.589Z] c791037a9be2: Pull complete [2021-05-12T15:51:53.985Z] ffd874e62e21: Pull complete [2021-05-12T15:51:53.985Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T15:51:53.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T15:51:53.985Z] ---> cfc18b08335c [2021-05-12T15:51:53.985Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:51:57.379Z] ---> Running in 0e34c7ebc656 [2021-05-12T15:51:57.379Z] Removing intermediate container 0e34c7ebc656 [2021-05-12T15:51:57.379Z] ---> 78c79ff1d911 [2021-05-12T15:51:57.379Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:51:57.379Z] ---> Running in 2d09b8122b1c [2021-05-12T15:52:00.006Z] Removing intermediate container 2d09b8122b1c [2021-05-12T15:52:00.006Z] ---> d46bfc39d801 [2021-05-12T15:52:00.006Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T15:52:00.006Z] ---> Running in ea87d6e131c6 [2021-05-12T15:52:00.988Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:52:01.965Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:52:02.944Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-12T15:52:02.944Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:52:02.944Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-12T15:52:02.973Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-12T15:52:03.214Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:52:03.215Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-12T15:52:03.215Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:52:03.238Z] Removing intermediate container 474507ca2151 [2021-05-12T15:52:03.238Z] ---> 69ab50bac581 [2021-05-12T15:52:03.238Z] Step 10/23 : FROM alpine:3.12 [2021-05-12T15:52:03.495Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:52:03.495Z] OK: 139 MiB in 46 packages [2021-05-12T15:52:03.815Z] 3.12: Pulling from library/alpine [2021-05-12T15:52:03.815Z] 339de151aab4: Pulling fs layer [2021-05-12T15:52:04.081Z] 339de151aab4: Verifying Checksum [2021-05-12T15:52:04.081Z] 339de151aab4: Download complete [2021-05-12T15:52:04.354Z] 339de151aab4: Pull complete [2021-05-12T15:52:04.354Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:52:04.354Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:52:04.354Z] ---> 13621d1b12d4 [2021-05-12T15:52:04.354Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:52:04.354Z] ---> Running in dd62ebfc557e [2021-05-12T15:52:04.621Z] Removing intermediate container dd62ebfc557e [2021-05-12T15:52:04.621Z] ---> f86b74fa388d [2021-05-12T15:52:04.621Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:52:04.621Z] ---> Running in 9536e379aad4 [2021-05-12T15:52:04.928Z] Removing intermediate container ea87d6e131c6 [2021-05-12T15:52:04.928Z] ---> db6e4e8195cf [2021-05-12T15:52:04.928Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-12T15:52:04.928Z] ---> Running in ca0da03239b8 [2021-05-12T15:52:05.525Z] Removing intermediate container ca0da03239b8 [2021-05-12T15:52:05.525Z] ---> 09f63fa88bcd [2021-05-12T15:52:05.525Z] Step 7/8 : COPY . . [2021-05-12T15:52:06.016Z] Removing intermediate container 9536e379aad4 [2021-05-12T15:52:06.017Z] ---> e01fd9df3688 [2021-05-12T15:52:06.017Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-12T15:52:06.017Z] ---> Running in fc6b5b2aa16c [2021-05-12T15:52:06.280Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:06.506Z] ---> 2d728d727037 [2021-05-12T15:52:06.506Z] Step 8/8 : RUN go mod download [2021-05-12T15:52:06.782Z] ---> Running in 6663796c8a26 [2021-05-12T15:52:06.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:07.432Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-12T15:52:07.432Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-12T15:52:07.432Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:52:08.389Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-12T15:52:08.389Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-12T15:52:08.389Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:52:08.389Z] OK: 8 MiB in 19 packages [2021-05-12T15:52:08.969Z] Removing intermediate container fc6b5b2aa16c [2021-05-12T15:52:08.969Z] ---> 0176ea09c638 [2021-05-12T15:52:08.969Z] Step 14/23 : WORKDIR / [2021-05-12T15:52:09.234Z] ---> Running in 42fb67f3bab7 [2021-05-12T15:52:09.234Z] Removing intermediate container 42fb67f3bab7 [2021-05-12T15:52:09.234Z] ---> 6b4ab82c0f72 [2021-05-12T15:52:09.234Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-12T15:52:09.497Z] ---> 662868b24e34 [2021-05-12T15:52:09.497Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-12T15:52:10.074Z] ---> ab98d225904c [2021-05-12T15:52:10.074Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-12T15:52:10.670Z] ---> 74a2f2d90e9b [2021-05-12T15:52:10.670Z] Step 18/23 : EXPOSE 49990 [2021-05-12T15:52:10.670Z] ---> Running in fcfcee267742 [2021-05-12T15:52:10.670Z] Removing intermediate container fcfcee267742 [2021-05-12T15:52:10.670Z] ---> 58e144b0578d [2021-05-12T15:52:10.670Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-12T15:52:10.933Z] ---> Running in 75929ccf347d [2021-05-12T15:52:10.933Z] Removing intermediate container 75929ccf347d [2021-05-12T15:52:10.933Z] ---> 0e0b13188c87 [2021-05-12T15:52:10.933Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T15:52:11.195Z] ---> Running in 1fa13fec8e7f [2021-05-12T15:52:11.195Z] Removing intermediate container 1fa13fec8e7f [2021-05-12T15:52:11.195Z] ---> d7c2e47b9341 [2021-05-12T15:52:11.195Z] Step 21/23 : LABEL arch=amd64 [2021-05-12T15:52:11.458Z] ---> Running in 3bf2049fde47 [2021-05-12T15:52:11.458Z] Removing intermediate container 3bf2049fde47 [2021-05-12T15:52:11.458Z] ---> cb7455f3028b [2021-05-12T15:52:11.458Z] Step 22/23 : LABEL git_sha=755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:52:11.725Z] ---> Running in 31471dd21f7a [2021-05-12T15:52:11.725Z] Removing intermediate container 31471dd21f7a [2021-05-12T15:52:11.725Z] ---> 6a9051ddbf1c [2021-05-12T15:52:11.725Z] Step 23/23 : LABEL version=0.0.0 [2021-05-12T15:52:11.989Z] ---> Running in 81ff0e7f28dc [2021-05-12T15:52:11.989Z] Removing intermediate container 81ff0e7f28dc [2021-05-12T15:52:11.989Z] ---> df045a4b2dac [2021-05-12T15:52:11.989Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T15:52:11.989Z] Successfully built df045a4b2dac [2021-05-12T15:52:11.989Z] 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] libraryResource [Pipeline] sh [2021-05-12T15:52:12.801Z] ---> job-cost.sh [2021-05-12T15:52:12.801Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-28eL [2021-05-12T15:52:30.967Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:52:33.601Z] Removing intermediate container 6663796c8a26 [2021-05-12T15:52:33.601Z] ---> 31ee3ae825e1 [2021-05-12T15:52:33.601Z] Successfully built 31ee3ae825e1 [2021-05-12T15:52:33.601Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:52:33.957Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:52:33.958Z] . [Pipeline] withDockerContainer [2021-05-12T15:52:34.203Z] prd-ubuntu18.04-docker-arm64-4c-16g-4714 does not seem to be running inside a container [2021-05-12T15:52:34.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T15:52:35.676Z] $ docker top 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:52:36.621Z] + go version [2021-05-12T15:52:36.621Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T15:52:36.641Z] $ docker stop --time=1 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 [2021-05-12T15:52:38.529Z] $ docker rm -f 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:52:39.262Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:52:39.263Z] . [Pipeline] withDockerContainer [2021-05-12T15:52:39.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-4714 does not seem to be running inside a container [2021-05-12T15:52:39.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T15:52:41.119Z] $ docker top 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:52:42.097Z] + go mod tidy [Pipeline] sh [2021-05-12T15:52:43.358Z] + make test [2021-05-12T15:52:43.358Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-12T15:52:57.601Z] lf-activate-venv(): INFO: Adding /tmp/venv-28eL/bin to PATH [2021-05-12T15:52:57.601Z] INFO: No Stack... [2021-05-12T15:52:57.601Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T15:52:57.601Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:52:57.910Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-12T15:52:57.911Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T15:52:57.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [2021-05-12T15:52:57.999Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] did not exist. Created. [2021-05-12T15:52:57.999Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:52:58.327Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T15:52:58.450Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:52:58.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T15:53:05.567Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-12T15:54:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-12T15:54:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-12T15:54:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-12T15:54:20.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.216s coverage: 25.4% of statements [2021-05-12T15:54:20.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-12T15:54:20.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements [2021-05-12T15:54:20.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements [2021-05-12T15:54:20.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.203s coverage: 10.7% of statements [2021-05-12T15:54:20.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-12T15:54:20.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-12T15:54:20.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-12T15:54:23.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 30.2% of statements [2021-05-12T15:54:23.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-12T15:54:24.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.162s coverage: 83.3% of statements [2021-05-12T15:54:24.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-12T15:54:24.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T15:54:24.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 58.4% of statements [2021-05-12T15:54:27.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.060s coverage: 89.2% of statements [2021-05-12T15:54:27.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-12T15:54:27.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-05-12T15:54:27.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-12T15:54:28.121Z] GO111MODULE=on go vet ./... [2021-05-12T15:55:24.759Z] gofmt -l . [2021-05-12T15:55:24.759Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:55:24.759Z] ./bin/test-attribution-txt.sh [2021-05-12T15:55:25.037Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T15:55:25.652Z] $ docker stop --time=1 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d [2021-05-12T15:55:27.815Z] $ docker rm -f 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:55:28.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:55:28.994Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T15:55:30.032Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:55:30.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:55:31.023Z] + ls -al . [2021-05-12T15:55:31.023Z] total 248 [2021-05-12T15:55:31.023Z] drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:55 . [2021-05-12T15:55:31.023Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 .. [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 15:51 .dockerignore [2021-05-12T15:55:31.023Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:51 .git [2021-05-12T15:55:31.023Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 .github [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 138 May 12 15:51 .gitignore [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 987 May 12 15:51 Dockerfile.build [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 894 May 12 15:51 Jenkinsfile [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 15:51 LICENSE [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 12 15:51 Makefile [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 12 15:51 README.md [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 12 15:51 RELEASE-NOTES.txt [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:48 VERSION [2021-05-12T15:55:31.023Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 bin [2021-05-12T15:55:31.023Z] -rw-r--r-- 1 jenkins jenkins 126002 May 12 15:54 coverage.out [2021-05-12T15:55:31.023Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 example [2021-05-12T15:55:31.023Z] -rw-r--r-- 1 jenkins jenkins 575 May 12 15:55 go.mod [2021-05-12T15:55:31.023Z] -rw-r--r-- 1 jenkins jenkins 20499 May 12 15:52 go.sum [2021-05-12T15:55:31.023Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 15:51 internal [2021-05-12T15:55:31.023Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 openapi [2021-05-12T15:55:31.023Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 pkg [2021-05-12T15:55:31.023Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 snap [2021-05-12T15:55:31.023Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 15:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:55:31.401Z] + 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=755ccf0f88b1d27e94309afe20514704e22475f5 --label arch=arm64 --label version=0.0.0 . [2021-05-12T15:55:32.054Z] Sending build context to Docker daemon 2.685MB [2021-05-12T15:55:32.054Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:55:32.054Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T15:55:32.054Z] ---> 31ee3ae825e1 [2021-05-12T15:55:32.054Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-12T15:55:32.338Z] ---> Running in 913f3c8584ea [2021-05-12T15:55:32.959Z] Removing intermediate container 913f3c8584ea [2021-05-12T15:55:32.959Z] ---> 8fc38964d6cc [2021-05-12T15:55:32.959Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:55:32.959Z] ---> Running in e6bebccca926 [2021-05-12T15:55:33.260Z] Removing intermediate container e6bebccca926 [2021-05-12T15:55:33.260Z] ---> 91bde41c4d8a [2021-05-12T15:55:33.260Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:55:33.537Z] ---> Running in 57236cd04c82 [2021-05-12T15:55:35.512Z] Removing intermediate container 57236cd04c82 [2021-05-12T15:55:35.512Z] ---> 5f64a7868509 [2021-05-12T15:55:35.512Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T15:55:35.512Z] ---> Running in 7923daf7d8e3 [2021-05-12T15:55:36.944Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:55:37.551Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:55:38.982Z] OK: 139 MiB in 46 packages [2021-05-12T15:55:39.983Z] Removing intermediate container 7923daf7d8e3 [2021-05-12T15:55:39.983Z] ---> f1a3fa40e33f [2021-05-12T15:55:39.983Z] Step 7/23 : COPY . . [2021-05-12T15:55:41.421Z] ---> 435eb89c59f8 [2021-05-12T15:55:41.421Z] Step 8/23 : RUN go mod download [2021-05-12T15:55:41.694Z] ---> Running in 36baead0970b [2021-05-12T15:55:44.310Z] Removing intermediate container 36baead0970b [2021-05-12T15:55:44.310Z] ---> d20a0a353691 [2021-05-12T15:55:44.310Z] Step 9/23 : RUN make build [2021-05-12T15:55:44.310Z] ---> Running in 4675e60437be [2021-05-12T15:55:45.288Z] 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 [2021-05-12T15:56:17.672Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-12T15:56:20.292Z] Removing intermediate container 4675e60437be [2021-05-12T15:56:20.292Z] ---> d8fe94192734 [2021-05-12T15:56:20.292Z] Step 10/23 : FROM alpine:3.12 [2021-05-12T15:56:20.563Z] 3.12: Pulling from library/alpine [2021-05-12T15:56:20.835Z] d2f70382dc9a: Pulling fs layer [2021-05-12T15:56:21.812Z] d2f70382dc9a: Pull complete [2021-05-12T15:56:21.812Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:56:21.812Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:56:21.812Z] ---> 9852663dfa18 [2021-05-12T15:56:21.812Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:56:21.812Z] ---> Running in 16615aa3ace5 [2021-05-12T15:56:22.405Z] Removing intermediate container 16615aa3ace5 [2021-05-12T15:56:22.405Z] ---> dee8bc8d16a8 [2021-05-12T15:56:22.405Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:56:22.405Z] ---> Running in 09d7be3cedbf [2021-05-12T15:56:25.016Z] Removing intermediate container 09d7be3cedbf [2021-05-12T15:56:25.016Z] ---> d12835ce560f [2021-05-12T15:56:25.016Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-12T15:56:25.016Z] ---> Running in 68d22f705149 [2021-05-12T15:56:25.994Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:56:26.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:56:27.559Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-12T15:56:27.559Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-12T15:56:27.829Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:56:27.829Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-12T15:56:28.101Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-12T15:56:28.101Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:56:28.101Z] OK: 8 MiB in 19 packages [2021-05-12T15:56:29.531Z] Removing intermediate container 68d22f705149 [2021-05-12T15:56:29.531Z] ---> 2e5d0851d28a [2021-05-12T15:56:29.531Z] Step 14/23 : WORKDIR / [2021-05-12T15:56:29.531Z] ---> Running in f820a9cc211e [2021-05-12T15:56:30.124Z] Removing intermediate container f820a9cc211e [2021-05-12T15:56:30.124Z] ---> 0c4cbae38539 [2021-05-12T15:56:30.124Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-12T15:56:30.720Z] ---> a856aa748f45 [2021-05-12T15:56:30.720Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-12T15:56:32.148Z] ---> 1cc9d16c1bf0 [2021-05-12T15:56:32.148Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-12T15:56:32.740Z] ---> 978a460a8c4b [2021-05-12T15:56:32.740Z] Step 18/23 : EXPOSE 49990 [2021-05-12T15:56:33.011Z] ---> Running in ca39916caff1 [2021-05-12T15:56:33.283Z] Removing intermediate container ca39916caff1 [2021-05-12T15:56:33.283Z] ---> 919fd12dc77a [2021-05-12T15:56:33.283Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-12T15:56:33.556Z] ---> Running in 57ff97f9634e [2021-05-12T15:56:34.152Z] Removing intermediate container 57ff97f9634e [2021-05-12T15:56:34.152Z] ---> 2ff7f80ba74c [2021-05-12T15:56:34.152Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T15:56:34.152Z] ---> Running in a260d862ee64 [2021-05-12T15:56:34.745Z] Removing intermediate container a260d862ee64 [2021-05-12T15:56:34.745Z] ---> faaead267daf [2021-05-12T15:56:34.745Z] Step 21/23 : LABEL arch=arm64 [2021-05-12T15:56:34.745Z] ---> Running in 2252f5b5191b [2021-05-12T15:56:35.017Z] Removing intermediate container 2252f5b5191b [2021-05-12T15:56:35.017Z] ---> 812c846c8773 [2021-05-12T15:56:35.017Z] Step 22/23 : LABEL git_sha=755ccf0f88b1d27e94309afe20514704e22475f5 [2021-05-12T15:56:35.289Z] ---> Running in bc9a04b8fe69 [2021-05-12T15:56:35.881Z] Removing intermediate container bc9a04b8fe69 [2021-05-12T15:56:35.881Z] ---> e2ee5bd1e137 [2021-05-12T15:56:35.881Z] Step 23/23 : LABEL version=0.0.0 [2021-05-12T15:56:35.881Z] ---> Running in 61e29b077bdf [2021-05-12T15:56:36.473Z] Removing intermediate container 61e29b077bdf [2021-05-12T15:56:36.473Z] ---> f0a39a0ab8c7 [2021-05-12T15:56:36.473Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-12T15:56:36.473Z] Successfully built f0a39a0ab8c7 [2021-05-12T15:56:36.473Z] 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] libraryResource [Pipeline] sh [2021-05-12T15:56:36.987Z] ---> job-cost.sh [2021-05-12T15:56:36.987Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3wVs [2021-05-12T15:57:15.956Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:58:37.674Z] lf-activate-venv(): INFO: Adding /tmp/venv-3wVs/bin to PATH [2021-05-12T15:58:37.674Z] INFO: No Stack... [2021-05-12T15:58:38.649Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T15:58:39.245Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:58:39.592Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-12T15:58:39.592Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T15:58:39.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [2021-05-12T15:58:39.721Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] did not exist. Created. [2021-05-12T15:58:39.721Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:58:40.092Z] /w/workspace/device-sdk-go/3@tmp/durable-c3b08b48/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-c3b08b48/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T15:58:40.435Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T15:58:40.468Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T15:58:40.617Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:58:40.638Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] // lock [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] wrap [2021-05-12T15:58:41.053Z] provisioning config files... [2021-05-12T15:58:41.062Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config4551007481486018985tmp [Pipeline] { [Pipeline] sh [2021-05-12T15:58:41.380Z] + set +x [2021-05-12T15:58:41.380Z] + curl -s https://codecov.io/bash [2021-05-12T15:58:41.380Z] + bash -s -- [2021-05-12T15:58:41.380Z] [2021-05-12T15:58:41.380Z] _____ _ [2021-05-12T15:58:41.380Z] / ____| | | [2021-05-12T15:58:41.380Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T15:58:41.380Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T15:58:41.380Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T15:58:41.380Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T15:58:41.380Z] Bash-1.0.2 [2021-05-12T15:58:41.380Z] [2021-05-12T15:58:41.380Z] [2021-05-12T15:58:41.380Z] ==> git version 2.24.3 found [2021-05-12T15:58:41.643Z] ==> 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 [2021-05-12T15:58:41.643Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T15:58:41.643Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T15:58:41.643Z] ==> Jenkins CI detected. [2021-05-12T15:58:41.643Z] project root: . [2021-05-12T15:58:41.643Z] --> token set from env [2021-05-12T15:58:41.643Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T15:58:41.643Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T15:58:41.643Z] ==> Python coveragepy not found [2021-05-12T15:58:41.643Z] ==> Searching for coverage reports in: [2021-05-12T15:58:41.643Z] + . [2021-05-12T15:58:41.643Z] -> Found 1 reports [2021-05-12T15:58:41.643Z] ==> Detecting git/mercurial file structure [2021-05-12T15:58:41.643Z] ==> Reading reports [2021-05-12T15:58:41.643Z] + ./coverage.out bytes=126002 [2021-05-12T15:58:41.643Z] ==> Appending adjustments [2021-05-12T15:58:41.643Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T15:58:41.905Z] + Found adjustments [2021-05-12T15:58:41.905Z] ==> Gzipping contents [2021-05-12T15:58:41.905Z] 20K /tmp/codecov.0Dirzr.gz [2021-05-12T15:58:41.905Z] ==> Uploading reports [2021-05-12T15:58:41.905Z] url: https://codecov.io [2021-05-12T15:58:41.905Z] query: branch=PR-923&commit=755ccf0f88b1d27e94309afe20514704e22475f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= [2021-05-12T15:58:41.905Z] -> Pinging Codecov [2021-05-12T15:58:41.905Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-923&commit=755ccf0f88b1d27e94309afe20514704e22475f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= [2021-05-12T15:58:42.478Z] -> Uploading to [2021-05-12T15:58:42.478Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/7E55EF52A471D76F132DFD9A03CDDE97/755ccf0f88b1d27e94309afe20514704e22475f5/aeee0bc6-6891-4507-817b-6449fd04108e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T155842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5fb7f6d3fad9079c76a3489851fa846f232a6c050a4ece0f213295076715ee6 [2021-05-12T15:58:42.479Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T15:58:42.479Z] Dload Upload Total Spent Left Speed [2021-05-12T15:58:43.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16486 0 0 100 16486 0 35623 --:--:-- --:--:-- --:--:-- 35606 100 16486 0 0 100 16486 0 35612 --:--:-- --:--:-- --:--:-- 35606 [2021-05-12T15:58:43.054Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] } [2021-05-12T15:58:43.064Z] Deleting 1 temporary files [Pipeline] // wrap [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:58:43.996Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:58:44.301Z] ---> package-listing.sh [2021-05-12T15:58:44.301Z] ++ facter osfamily [2021-05-12T15:58:44.301Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T15:58:44.301Z] + OS_FAMILY=redhat [2021-05-12T15:58:44.301Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-923 [2021-05-12T15:58:44.301Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T15:58:44.301Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T15:58:44.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T15:58:44.301Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T15:58:44.301Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' [2021-05-12T15:58:44.301Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T15:58:44.301Z] + case "${OS_FAMILY}" in [2021-05-12T15:58:44.301Z] + rpm -qa [2021-05-12T15:58:44.301Z] + sort [2021-05-12T15:58:49.605Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T15:58:49.605Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T15:58:49.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T15:58:49.605Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' [2021-05-12T15:58:49.605Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [2021-05-12T15:58:49.605Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [Pipeline] echo [2021-05-12T15:58:49.619Z] 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/dgexfoundry_device-sdk-go_PR-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T15:58:49.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:58:50.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:58:50.212Z] [2021-05-12T15:58:50.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:58:50.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:58:50.535Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T15:58:50.535Z] df20fa9351a1: Pulling fs layer [2021-05-12T15:58:50.535Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T15:58:50.535Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T15:58:50.535Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T15:58:50.535Z] 93b61091891f: Pulling fs layer [2021-05-12T15:58:50.535Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T15:58:50.535Z] 5e14af77c1be: Pulling fs layer [2021-05-12T15:58:50.535Z] 01666e4c0597: Pulling fs layer [2021-05-12T15:58:50.535Z] aa168da1d23b: Pulling fs layer [2021-05-12T15:58:50.535Z] 46f8f816bc3b: Waiting [2021-05-12T15:58:50.535Z] 93b61091891f: Waiting [2021-05-12T15:58:50.535Z] 93b9cdb0e59b: Waiting [2021-05-12T15:58:50.535Z] 5e14af77c1be: Waiting [2021-05-12T15:58:50.535Z] 01666e4c0597: Waiting [2021-05-12T15:58:50.535Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T15:58:50.535Z] 36b3adc4ff6f: Download complete [2021-05-12T15:58:50.535Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T15:58:50.535Z] 46f8f816bc3b: Download complete [2021-05-12T15:58:50.535Z] df20fa9351a1: Verifying Checksum [2021-05-12T15:58:50.535Z] df20fa9351a1: Download complete [2021-05-12T15:58:50.535Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T15:58:50.535Z] 93b9cdb0e59b: Download complete [2021-05-12T15:58:50.801Z] 5e14af77c1be: Download complete [2021-05-12T15:58:50.801Z] 93b61091891f: Verifying Checksum [2021-05-12T15:58:50.801Z] 93b61091891f: Download complete [2021-05-12T15:58:50.801Z] 01666e4c0597: Verifying Checksum [2021-05-12T15:58:50.801Z] 01666e4c0597: Download complete [2021-05-12T15:58:50.801Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T15:58:50.801Z] 8ad3a11d3b57: Download complete [2021-05-12T15:58:51.063Z] df20fa9351a1: Pull complete [2021-05-12T15:58:51.063Z] 36b3adc4ff6f: Pull complete [2021-05-12T15:58:52.015Z] 8ad3a11d3b57: Pull complete [2021-05-12T15:58:52.279Z] 46f8f816bc3b: Pull complete [2021-05-12T15:58:52.541Z] aa168da1d23b: Verifying Checksum [2021-05-12T15:58:52.541Z] aa168da1d23b: Download complete [2021-05-12T15:58:52.541Z] 93b61091891f: Pull complete [2021-05-12T15:58:52.806Z] 93b9cdb0e59b: Pull complete [2021-05-12T15:58:52.806Z] 5e14af77c1be: Pull complete [2021-05-12T15:58:53.067Z] 01666e4c0597: Pull complete [2021-05-12T15:58:59.683Z] aa168da1d23b: Pull complete [2021-05-12T15:58:59.683Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T15:58:59.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:58:59.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T15:58:59.850Z] prd-centos7-docker-4c-2g-4708 does not seem to be running inside a container [2021-05-12T15:58:59.912Z] $ 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/dgexfoundry_device-sdk-go_PR-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T15:59:03.864Z] $ docker top a1caa9696d1bf35ec4906ffbcbf853bd3bbd566de2ba05b9d388d9fb9d5e4240 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:59:04.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T15:59:04.552Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T15:59:04.850Z] + ls /var/log/sa-host [2021-05-12T15:59:04.850Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T15:59:04.850Z] file_magic: OK [2021-05-12T15:59:04.850Z] HZ: Using current value: 100 [2021-05-12T15:59:04.850Z] file_header: OK [2021-05-12T15:59:04.850Z] 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 [2021-05-12T15:59:04.850Z] Statistics: [2021-05-12T15:59:04.850Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T15:59:04.850Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T15:59:04.850Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T15:59:04.850Z] file_magic: OK [2021-05-12T15:59:04.850Z] HZ: Using current value: 100 [2021-05-12T15:59:04.850Z] file_header: OK [2021-05-12T15:59:04.850Z] 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 [2021-05-12T15:59:04.850Z] Statistics: [2021-05-12T15:59:04.850Z] Hnuu...uuuununununu... [2021-05-12T15:59:04.850Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T15:59:05.388Z] provisioning config files... [2021-05-12T15:59:05.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config1912168461700922653tmp [Pipeline] { [Pipeline] echo [2021-05-12T15:59:05.428Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:05.735Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T15:59:05.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T15:59:05.772Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:06.064Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T15:59:06.076Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:06.387Z] ---> sudo-logs.sh [2021-05-12T15:59:06.387Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T15:59:06.418Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:06.766Z] ---> job-cost.sh [2021-05-12T15:59:06.766Z] lf-activate-venv: SKIPPING [2021-05-12T15:59:06.766Z] DEBUG: total: 0.20999999344348907 [2021-05-12T15:59:06.766Z] INFO: Retrieving Stack Cost... [2021-05-12T15:59:08.150Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T15:59:08.411Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T15:59:08.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:08.716Z] ---> logs-deploy.sh [2021-05-12T15:59:08.716Z] lf-activate-venv: SKIPPING [2021-05-12T15:59:08.716Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-923/3 [2021-05-12T15:59:08.716Z] INFO: archiving workspace using pattern(s): [2021-05-12T15:59:10.629Z] Archives upload complete. [2021-05-12T15:59:10.629Z] INFO: archiving logs to Nexus