Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+d38291b108151c678147caa989c3776b19aa5fc1 (fe3ba669504eafef3f931b221e140a584802df6e) 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 # timeout=10 Commit message: "Merge pull request #316 from ernestojeda/email-notifications" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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-27783 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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 > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 99dc373190326cf6ce5f2961912e9ad1835e96a2 Checking out Revision 99dc373190326cf6ce5f2961912e9ad1835e96a2 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99dc373190326cf6ce5f2961912e9ad1835e96a2 # timeout=10 Commit message: "Merge commit 'd38291b108151c678147caa989c3776b19aa5fc1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-26T02:42:21.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 4617e9eaabedc8cc24114567cc27a326d596fddc # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-26T02:42:21.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-26T02:42:21.952Z] ========================================================= [2021-02-26T02:42:21.952Z] EdgeX Global Pipelines Version Info [2021-02-26T02:42:21.952Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:42:23.449Z] ------------------- [2021-02-26T02:42:23.449Z] stable info: [2021-02-26T02:42:23.449Z] ------------------- [2021-02-26T02:42:23.449Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-26T02:42:23.449Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T02:42:23.449Z] Message: update stable to v1.0.182 [2021-02-26T02:42:24.396Z] ------------------- [2021-02-26T02:42:24.396Z] experimental info: [2021-02-26T02:42:24.396Z] ------------------- [2021-02-26T02:42:24.396Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-26T02:42:24.396Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-26T02:42:24.396Z] Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-26T02:42:24.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-26T02:42:24.736Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-26T02:42:24.825Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-26T02:42:24.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-26T02:42:25.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-26T02:42:25.163Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-26T02:42:25.284Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-26T02:42:25.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-26T02:42:25.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-26T02:42:25.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-26T02:42:25.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-26T02:42:25.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-02-26T02:42:25.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-26T02:42:25.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-26T02:42:26.067Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-26T02:42:26.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T02:42:26.254Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T02:42:26.338Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-26T02:42:26.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-26T02:42:26.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-26T02:42:26.624Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-26T02:42:26.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-26T02:42:26.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-26T02:42:26.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-26T02:42:26.967Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-26T02:42:27.049Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-02-26T02:42:27.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-02-26T02:42:27.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-02-26T02:42:27.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-02-26T02:42:27.398Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99dc373190326cf6ce5f2961912e9ad1835e96a2 [Pipeline] echo [2021-02-26T02:42:27.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99dc373 [Pipeline] echo [2021-02-26T02:42:27.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-26T02:42:27.735Z] provisioning config files... [2021-02-26T02:42:27.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5926008901549299979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:42:28.116Z] ---> docker-login.sh [2021-02-26T02:42:28.116Z] nexus3.edgexfoundry.org:10001 [2021-02-26T02:42:28.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:42:28.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:42:28.646Z] Configure a credential helper to remove this warning. See [2021-02-26T02:42:28.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:42:28.646Z] [2021-02-26T02:42:28.646Z] Login Succeeded [2021-02-26T02:42:28.646Z] nexus3.edgexfoundry.org:10002 [2021-02-26T02:42:28.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:42:28.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:42:28.646Z] Configure a credential helper to remove this warning. See [2021-02-26T02:42:28.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:42:28.646Z] [2021-02-26T02:42:28.646Z] Login Succeeded [2021-02-26T02:42:28.646Z] nexus3.edgexfoundry.org:10003 [2021-02-26T02:42:28.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:42:28.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:42:28.908Z] Configure a credential helper to remove this warning. See [2021-02-26T02:42:28.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:42:28.908Z] [2021-02-26T02:42:28.908Z] Login Succeeded [2021-02-26T02:42:28.908Z] nexus3.edgexfoundry.org:10004 [2021-02-26T02:42:28.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:42:29.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:42:29.182Z] Configure a credential helper to remove this warning. See [2021-02-26T02:42:29.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:42:29.182Z] [2021-02-26T02:42:29.182Z] Login Succeeded [2021-02-26T02:42:29.183Z] docker.io [2021-02-26T02:42:29.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:42:29.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:42:29.448Z] Configure a credential helper to remove this warning. See [2021-02-26T02:42:29.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:42:29.448Z] [2021-02-26T02:42:29.448Z] Login Succeeded [2021-02-26T02:42:29.448Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T02:42:29.458Z] 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-02-26T02:42:30.252Z] + git log --format=format:%s -1 99dc373190326cf6ce5f2961912e9ad1835e96a2 [Pipeline] echo [2021-02-26T02:42:30.325Z] GIT_COMMIT: 99dc373190326cf6ce5f2961912e9ad1835e96a2, Commit Message: Merge commit 'd38291b108151c678147caa989c3776b19aa5fc1' into HEAD [Pipeline] echo [2021-02-26T02:42:30.371Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:42:30.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T02:42:30.969Z] [2021-02-26T02:42:30.969Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:42:31.329Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T02:42:31.329Z] latest: Pulling from edgex-devops/git-semver [2021-02-26T02:42:31.329Z] 31603596830f: Pulling fs layer [2021-02-26T02:42:31.329Z] 2a8b12db71e7: Pulling fs layer [2021-02-26T02:42:31.329Z] 6ca5941a6612: Pulling fs layer [2021-02-26T02:42:31.329Z] ecc8261a40a4: Pulling fs layer [2021-02-26T02:42:31.329Z] ecc8261a40a4: Waiting [2021-02-26T02:42:31.329Z] 2a8b12db71e7: Verifying Checksum [2021-02-26T02:42:31.329Z] 2a8b12db71e7: Download complete [2021-02-26T02:42:31.329Z] 31603596830f: Verifying Checksum [2021-02-26T02:42:31.329Z] 31603596830f: Download complete [2021-02-26T02:42:31.594Z] 6ca5941a6612: Verifying Checksum [2021-02-26T02:42:31.594Z] 6ca5941a6612: Download complete [2021-02-26T02:42:31.594Z] ecc8261a40a4: Verifying Checksum [2021-02-26T02:42:31.594Z] ecc8261a40a4: Download complete [2021-02-26T02:42:31.861Z] 31603596830f: Pull complete [2021-02-26T02:42:31.861Z] 2a8b12db71e7: Pull complete [2021-02-26T02:42:32.811Z] 6ca5941a6612: Pull complete [2021-02-26T02:42:32.811Z] ecc8261a40a4: Pull complete [2021-02-26T02:42:33.074Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-26T02:42:33.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-26T02:42:33.074Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-26T02:42:33.180Z] prd-centos7-docker-4c-2g-27783 does not seem to be running inside a container [2021-02-26T02:42:33.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-26T02:42:35.209Z] $ docker top 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-26T02:42:35.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T02:42:35.487Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T02:42:35.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T02:42:35.701Z] $ docker exec 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 ssh-agent [2021-02-26T02:42:35.856Z] SSH_AUTH_SOCK=/tmp/ssh-3OrfCNExSCi4/agent.12 [2021-02-26T02:42:35.856Z] SSH_AGENT_PID=17 [2021-02-26T02:42:35.866Z] Running ssh-add (command line suppressed) [2021-02-26T02:42:35.986Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4871628948668935117.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4871628948668935117.key) [2021-02-26T02:42:36.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T02:42:36.436Z] + git tag --points-at HEAD [Pipeline] } [2021-02-26T02:42:36.463Z] $ docker exec --env ******** --env ******** 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 ssh-agent -k [2021-02-26T02:42:36.573Z] unset SSH_AUTH_SOCK; [2021-02-26T02:42:36.573Z] unset SSH_AGENT_PID; [2021-02-26T02:42:36.573Z] echo Agent pid 17 killed; [2021-02-26T02:42:36.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-26T02:42:37.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-26T02:42:37.008Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-26T02:42:37.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-26T02:42:37.177Z] $ docker exec 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 ssh-agent [2021-02-26T02:42:37.343Z] SSH_AUTH_SOCK=/tmp/ssh-6cX3w9u8xXEk/agent.48 [2021-02-26T02:42:37.343Z] SSH_AGENT_PID=53 [2021-02-26T02:42:37.352Z] Running ssh-add (command line suppressed) [2021-02-26T02:42:37.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3395174985453844751.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3395174985453844751.key) [2021-02-26T02:42:37.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-26T02:42:37.873Z] + git semver init [2021-02-26T02:42:37.873Z] # -> Open(): unable to determine branch for HEAD [2021-02-26T02:42:37.873Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-02-26T02:42:37.873Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-26T02:42:37.873Z] # $SEMVER_REMOTE_NAME = origin [2021-02-26T02:42:37.873Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-26T02:42:37.873Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-26T02:42:37.873Z] # $SEMVER_BRANCH = PR-725 [2021-02-26T02:42:37.873Z] # $SEMVER_TEMP = /tmp/semver-628499589 [2021-02-26T02:42:37.873Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-26T02:42:38.447Z] # '/tmp/semver-628499589' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-02-26T02:42:38.447Z] # -> Force: false [2021-02-26T02:42:38.447Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-02-26T02:42:38.460Z] $ docker exec --env ******** --env ******** 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 ssh-agent -k [2021-02-26T02:42:38.577Z] unset SSH_AUTH_SOCK; [2021-02-26T02:42:38.577Z] unset SSH_AGENT_PID; [2021-02-26T02:42:38.577Z] echo Agent pid 53 killed; [2021-02-26T02:42:38.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-26T02:42:39.089Z] + git semver [Pipeline] } [2021-02-26T02:42:39.106Z] $ docker stop --time=1 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 [2021-02-26T02:42:40.509Z] $ docker rm -f 5892287583b21e53397f312b41beb4a27e1f455ed13f491acef8da09c16392e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-26T02:42:40.992Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-26T02:42:41.523Z] Stashed 1 file(s) [Pipeline] echo [2021-02-26T02:42:41.526Z] [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-02-26T02:42:56.989Z] Still waiting to schedule task [2021-02-26T02:42:56.989Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-26T02:42:56.992Z] Still waiting to schedule task [2021-02-26T02:42:56.992Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-26T02:44:45.946Z] Running on prd-centos7-docker-4c-2g-27787 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-02-26T02:44:46.004Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2021-02-26T02:44:48.344Z] using credential edgex-jenkins-ssh [2021-02-26T02:44:48.396Z] Cloning the remote Git repository [2021-02-26T02:44:48.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:44:48.483Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2021-02-26T02:44:48.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:44:48.536Z] > git --version # timeout=10 [2021-02-26T02:44:48.544Z] > git --version # 'git version 2.24.3' [2021-02-26T02:44:48.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:44:48.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T02:44:49.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-26T02:44:49.202Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T02:44:49.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-26T02:44:49.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:44:49.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:44:49.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-26T02:44:49.700Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-26T02:44:49.875Z] Merge succeeded, producing 190bff50c4d81b6970bfba6d1c2f68b4eb6f746a [2021-02-26T02:44:49.875Z] Checking out Revision 190bff50c4d81b6970bfba6d1c2f68b4eb6f746a (PR-725) [2021-02-26T02:44:49.709Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T02:44:49.717Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-26T02:44:49.764Z] > git remote # timeout=10 [2021-02-26T02:44:49.770Z] > git config --get remote.origin.url # timeout=10 [2021-02-26T02:44:49.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:44:49.780Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-02-26T02:44:49.869Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-26T02:44:49.879Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T02:44:49.886Z] > git checkout -f 190bff50c4d81b6970bfba6d1c2f68b4eb6f746a # timeout=10 [2021-02-26T02:44:53.436Z] Commit message: "Merge commit 'd38291b108151c678147caa989c3776b19aa5fc1' into HEAD" [2021-02-26T02:44:53.446Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T02:44:53.441Z] > git rev-list --no-walk 4617e9eaabedc8cc24114567cc27a326d596fddc # timeout=10 [2021-02-26T02:44:54.616Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-26T02:44:54.973Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T02:44:55.289Z] + sudo service docker restart [2021-02-26T02:44:55.289Z] + true [2021-02-26T02:44:55.289Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-26T02:44:56.296Z] provisioning config files... [2021-02-26T02:44:56.320Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config2605798436510347219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:44:56.675Z] ---> docker-login.sh [2021-02-26T02:44:56.675Z] nexus3.edgexfoundry.org:10001 [2021-02-26T02:44:56.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:44:56.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:44:56.941Z] Configure a credential helper to remove this warning. See [2021-02-26T02:44:56.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:44:56.941Z] [2021-02-26T02:44:56.941Z] Login Succeeded [2021-02-26T02:44:56.941Z] nexus3.edgexfoundry.org:10002 [2021-02-26T02:44:56.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:44:57.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:44:57.204Z] Configure a credential helper to remove this warning. See [2021-02-26T02:44:57.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:44:57.205Z] [2021-02-26T02:44:57.205Z] Login Succeeded [2021-02-26T02:44:57.205Z] nexus3.edgexfoundry.org:10003 [2021-02-26T02:44:57.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:44:57.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:44:57.205Z] Configure a credential helper to remove this warning. See [2021-02-26T02:44:57.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:44:57.205Z] [2021-02-26T02:44:57.205Z] Login Succeeded [2021-02-26T02:44:57.205Z] nexus3.edgexfoundry.org:10004 [2021-02-26T02:44:57.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:44:57.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:44:57.467Z] Configure a credential helper to remove this warning. See [2021-02-26T02:44:57.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:44:57.467Z] [2021-02-26T02:44:57.467Z] Login Succeeded [2021-02-26T02:44:57.467Z] docker.io [2021-02-26T02:44:57.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:44:57.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:44:57.728Z] Configure a credential helper to remove this warning. See [2021-02-26T02:44:57.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:44:57.728Z] [2021-02-26T02:44:57.728Z] Login Succeeded [2021-02-26T02:44:57.728Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T02:44:57.738Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-26T02:44:58.041Z] ========================================================= [2021-02-26T02:44:58.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-26T02:44:58.041Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:44:58.399Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-26T02:44:58.399Z] Sending build context to Docker daemon 2.419MB [2021-02-26T02:44:58.399Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-26T02:44:58.399Z] Step 2/8 : FROM ${BASE} [2021-02-26T02:44:58.399Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-26T02:44:58.399Z] 188c0c94c7c5: Pulling fs layer [2021-02-26T02:44:58.399Z] 0ef7d3d256c8: Pulling fs layer [2021-02-26T02:44:58.399Z] de9db76c5a1d: Pulling fs layer [2021-02-26T02:44:58.399Z] bca2f99d35d6: Pulling fs layer [2021-02-26T02:44:58.399Z] 93359f2a8cfa: Pulling fs layer [2021-02-26T02:44:58.399Z] 7c6f9722023f: Pulling fs layer [2021-02-26T02:44:58.399Z] a35cf1a2eb13: Pulling fs layer [2021-02-26T02:44:58.399Z] 93359f2a8cfa: Waiting [2021-02-26T02:44:58.399Z] 7c6f9722023f: Waiting [2021-02-26T02:44:58.399Z] a35cf1a2eb13: Waiting [2021-02-26T02:44:58.399Z] bca2f99d35d6: Waiting [2021-02-26T02:44:58.663Z] de9db76c5a1d: Verifying Checksum [2021-02-26T02:44:58.663Z] de9db76c5a1d: Download complete [2021-02-26T02:44:58.663Z] 0ef7d3d256c8: Verifying Checksum [2021-02-26T02:44:58.663Z] 0ef7d3d256c8: Download complete [2021-02-26T02:44:58.663Z] 93359f2a8cfa: Verifying Checksum [2021-02-26T02:44:58.663Z] 93359f2a8cfa: Download complete [2021-02-26T02:44:58.663Z] 188c0c94c7c5: Verifying Checksum [2021-02-26T02:44:58.663Z] 188c0c94c7c5: Download complete [2021-02-26T02:44:58.663Z] 7c6f9722023f: Verifying Checksum [2021-02-26T02:44:58.663Z] 7c6f9722023f: Download complete [2021-02-26T02:44:58.924Z] 188c0c94c7c5: Pull complete [2021-02-26T02:44:58.924Z] 0ef7d3d256c8: Pull complete [2021-02-26T02:44:59.185Z] de9db76c5a1d: Pull complete [2021-02-26T02:45:00.574Z] a35cf1a2eb13: Verifying Checksum [2021-02-26T02:45:00.574Z] a35cf1a2eb13: Download complete [2021-02-26T02:45:01.151Z] bca2f99d35d6: Verifying Checksum [2021-02-26T02:45:01.151Z] bca2f99d35d6: Download complete [2021-02-26T02:45:06.489Z] bca2f99d35d6: Pull complete [2021-02-26T02:45:06.489Z] 93359f2a8cfa: Pull complete [2021-02-26T02:45:06.489Z] 7c6f9722023f: Pull complete [2021-02-26T02:45:11.796Z] a35cf1a2eb13: Pull complete [2021-02-26T02:45:11.796Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-26T02:45:11.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-26T02:45:11.796Z] ---> a62c8e92a672 [2021-02-26T02:45:11.796Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:45:12.077Z] ---> Running in 221f18ea3204 [2021-02-26T02:45:12.077Z] Removing intermediate container 221f18ea3204 [2021-02-26T02:45:12.077Z] ---> 9f7c734b2093 [2021-02-26T02:45:12.077Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-26T02:45:12.077Z] ---> Running in 255f02595954 [2021-02-26T02:45:13.021Z] Removing intermediate container 255f02595954 [2021-02-26T02:45:13.021Z] ---> 3dd0628b29c9 [2021-02-26T02:45:13.021Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-26T02:45:13.285Z] ---> Running in effacd20e9c2 [2021-02-26T02:45:13.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-26T02:45:14.806Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-26T02:45:15.378Z] OK: 166 MiB in 39 packages [2021-02-26T02:45:15.641Z] Removing intermediate container effacd20e9c2 [2021-02-26T02:45:15.641Z] ---> 4b5d5b272fc5 [2021-02-26T02:45:15.641Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-26T02:45:15.641Z] ---> Running in 72c071b1fba2 [2021-02-26T02:45:15.904Z] Removing intermediate container 72c071b1fba2 [2021-02-26T02:45:15.904Z] ---> 1772a82344fa [2021-02-26T02:45:15.904Z] Step 7/8 : COPY . . [2021-02-26T02:45:16.849Z] ---> af6174679242 [2021-02-26T02:45:16.849Z] Step 8/8 : RUN go mod download [2021-02-26T02:45:17.110Z] ---> Running in bae631c6170c [2021-02-26T02:45:24.515Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27786 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-02-26T02:45:24.567Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2021-02-26T02:45:29.142Z] using credential edgex-jenkins-ssh [2021-02-26T02:45:29.266Z] Cloning the remote Git repository [2021-02-26T02:45:29.319Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:45:29.415Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2021-02-26T02:45:29.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:45:29.490Z] > git --version # timeout=10 [2021-02-26T02:45:29.509Z] > git --version # 'git version 2.17.1' [2021-02-26T02:45:29.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:45:29.577Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T02:45:30.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-26T02:45:30.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-26T02:45:30.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-26T02:45:30.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-26T02:45:30.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:45:30.679Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-26T02:45:31.227Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-02-26T02:45:31.571Z] Merge succeeded, producing 662b76165911eaa4371a4059ee2996e57577ce36 [2021-02-26T02:45:31.571Z] Checking out Revision 662b76165911eaa4371a4059ee2996e57577ce36 (PR-725) [2021-02-26T02:45:31.247Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T02:45:31.260Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-02-26T02:45:31.369Z] > git remote # timeout=10 [2021-02-26T02:45:31.382Z] > git config --get remote.origin.url # timeout=10 [2021-02-26T02:45:31.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-26T02:45:31.405Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-02-26T02:45:31.560Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-26T02:45:31.578Z] > git config core.sparsecheckout # timeout=10 [2021-02-26T02:45:31.590Z] > git checkout -f 662b76165911eaa4371a4059ee2996e57577ce36 # timeout=10 [2021-02-26T02:45:35.936Z] Commit message: "Merge commit 'd38291b108151c678147caa989c3776b19aa5fc1' into HEAD" [2021-02-26T02:45:35.960Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-02-26T02:45:35.946Z] > git rev-list --no-walk 4617e9eaabedc8cc24114567cc27a326d596fddc # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T02:45:37.354Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-26T02:45:37.772Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-26T02:45:38.110Z] + sudo+ service docker restarttrue [2021-02-26T02:45:38.110Z] [2021-02-26T02:45:39.096Z] Removing intermediate container bae631c6170c [2021-02-26T02:45:39.096Z] ---> 20008d4910eb [2021-02-26T02:45:39.096Z] Successfully built 20008d4910eb [2021-02-26T02:45:39.096Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:45:39.401Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-26T02:45:39.401Z] . [Pipeline] withDockerContainer [2021-02-26T02:45:39.499Z] prd-centos7-docker-4c-2g-27787 does not seem to be running inside a container [2021-02-26T02:45:39.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-26T02:45:40.199Z] $ docker top d15689fdf7ce32d32b955d819846a6267b6aaa340ad2037afe23b30edfbb5ee7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2021-02-26T02:45:40.787Z] + go version [2021-02-26T02:45:40.787Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-26T02:45:40.821Z] $ docker stop --time=1 d15689fdf7ce32d32b955d819846a6267b6aaa340ad2037afe23b30edfbb5ee7 [2021-02-26T02:45:42.182Z] $ docker rm -f d15689fdf7ce32d32b955d819846a6267b6aaa340ad2037afe23b30edfbb5ee7 [Pipeline] wrap [2021-02-26T02:45:42.278Z] provisioning config files... [Pipeline] // withDockerContainer [2021-02-26T02:45:42.339Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config1244412746635254769tmp [Pipeline] } [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:45:42.875Z] ---> docker-login.sh [2021-02-26T02:45:42.875Z] nexus3.edgexfoundry.org:10001 [2021-02-26T02:45:43.100Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-26T02:45:43.100Z] . [Pipeline] withDockerContainer [2021-02-26T02:45:43.191Z] prd-centos7-docker-4c-2g-27787 does not seem to be running inside a container [2021-02-26T02:45:43.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-26T02:45:43.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:45:43.839Z] $ docker top da855a7ee86f410c664d4f1b51f8b0dd01678b6bcb38e4b80fc6acbc78faf268 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T02:45:44.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:45:44.079Z] Configure a credential helper to remove this warning. See [2021-02-26T02:45:44.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:45:44.079Z] [2021-02-26T02:45:44.079Z] Login Succeeded [2021-02-26T02:45:44.079Z] nexus3.edgexfoundry.org:10002 [2021-02-26T02:45:44.307Z] + make test [2021-02-26T02:45:44.307Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-26T02:45:44.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:45:44.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:45:44.627Z] Configure a credential helper to remove this warning. See [2021-02-26T02:45:44.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:45:44.627Z] [2021-02-26T02:45:44.627Z] Login Succeeded [2021-02-26T02:45:44.627Z] nexus3.edgexfoundry.org:10003 [2021-02-26T02:45:44.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:45:45.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:45:45.178Z] Configure a credential helper to remove this warning. See [2021-02-26T02:45:45.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:45:45.178Z] [2021-02-26T02:45:45.178Z] Login Succeeded [2021-02-26T02:45:45.178Z] nexus3.edgexfoundry.org:10004 [2021-02-26T02:45:45.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:45:45.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:45:45.726Z] Configure a credential helper to remove this warning. See [2021-02-26T02:45:45.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:45:45.726Z] [2021-02-26T02:45:45.726Z] Login Succeeded [2021-02-26T02:45:45.726Z] docker.io [2021-02-26T02:45:45.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-26T02:45:46.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-26T02:45:46.269Z] Configure a credential helper to remove this warning. See [2021-02-26T02:45:46.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-26T02:45:46.269Z] [2021-02-26T02:45:46.269Z] Login Succeeded [2021-02-26T02:45:46.269Z] ---> docker-login.sh ends [Pipeline] } [2021-02-26T02:45:46.285Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-26T02:45:46.673Z] ========================================================= [2021-02-26T02:45:46.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-26T02:45:46.674Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:45:47.054Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-26T02:45:47.328Z] Sending build context to Docker daemon 2.418MB [2021-02-26T02:45:47.618Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-26T02:45:47.618Z] Step 2/8 : FROM ${BASE} [2021-02-26T02:45:47.618Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-26T02:45:47.618Z] 5f621e34cdf4: Pulling fs layer [2021-02-26T02:45:47.618Z] a4357932f1b6: Pulling fs layer [2021-02-26T02:45:47.618Z] 18c013af1878: Pulling fs layer [2021-02-26T02:45:47.618Z] 00ac8860ef70: Pulling fs layer [2021-02-26T02:45:47.618Z] 63d7cb157983: Pulling fs layer [2021-02-26T02:45:47.618Z] b116817d02f9: Pulling fs layer [2021-02-26T02:45:47.618Z] 745a02a5169b: Pulling fs layer [2021-02-26T02:45:47.618Z] 00ac8860ef70: Waiting [2021-02-26T02:45:47.618Z] 63d7cb157983: Waiting [2021-02-26T02:45:47.618Z] b116817d02f9: Waiting [2021-02-26T02:45:47.618Z] 745a02a5169b: Waiting [2021-02-26T02:45:47.618Z] 18c013af1878: Download complete [2021-02-26T02:45:47.618Z] a4357932f1b6: Download complete [2021-02-26T02:45:47.618Z] 63d7cb157983: Verifying Checksum [2021-02-26T02:45:47.618Z] 63d7cb157983: Download complete [2021-02-26T02:45:47.618Z] 5f621e34cdf4: Verifying Checksum [2021-02-26T02:45:47.618Z] 5f621e34cdf4: Download complete [2021-02-26T02:45:47.618Z] b116817d02f9: Verifying Checksum [2021-02-26T02:45:47.618Z] b116817d02f9: Download complete [2021-02-26T02:45:48.220Z] 5f621e34cdf4: Pull complete [2021-02-26T02:45:48.832Z] a4357932f1b6: Pull complete [2021-02-26T02:45:49.449Z] 18c013af1878: Pull complete [2021-02-26T02:45:50.048Z] 745a02a5169b: Verifying Checksum [2021-02-26T02:45:51.032Z] 00ac8860ef70: Verifying Checksum [2021-02-26T02:45:51.032Z] 00ac8860ef70: Download complete [2021-02-26T02:45:51.144Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-26T02:46:01.193Z] 00ac8860ef70: Pull complete [2021-02-26T02:46:01.193Z] 63d7cb157983: Pull complete [2021-02-26T02:46:01.465Z] b116817d02f9: Pull complete [2021-02-26T02:46:05.777Z] 745a02a5169b: Pull complete [2021-02-26T02:46:05.777Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-26T02:46:05.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-26T02:46:05.777Z] ---> b7e6874047d6 [2021-02-26T02:46:05.777Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:46:06.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-26T02:46:06.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-26T02:46:06.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-26T02:46:07.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 25.5% of statements [2021-02-26T02:46:08.410Z] ---> Running in 1108ddf402b8 [2021-02-26T02:46:08.411Z] Removing intermediate container 1108ddf402b8 [2021-02-26T02:46:08.411Z] ---> e90098722b56 [2021-02-26T02:46:08.411Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-26T02:46:08.686Z] ---> Running in 306a452e7b30 [2021-02-26T02:46:11.316Z] Removing intermediate container 306a452e7b30 [2021-02-26T02:46:11.316Z] ---> f0d06ab7986f [2021-02-26T02:46:11.316Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-26T02:46:11.316Z] ---> Running in 1b85ca75a5f0 [2021-02-26T02:46:12.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-26T02:46:12.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-26T02:46:13.870Z] OK: 142 MiB in 39 packages [2021-02-26T02:46:15.305Z] Removing intermediate container 1b85ca75a5f0 [2021-02-26T02:46:15.305Z] ---> b4eddb572044 [2021-02-26T02:46:15.305Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-26T02:46:15.305Z] ---> Running in 795c43874654 [2021-02-26T02:46:15.904Z] Removing intermediate container 795c43874654 [2021-02-26T02:46:15.904Z] ---> 333de96d810d [2021-02-26T02:46:15.904Z] Step 7/8 : COPY . . [2021-02-26T02:46:16.883Z] ---> dfa16c1b87f2 [2021-02-26T02:46:16.883Z] Step 8/8 : RUN go mod download [2021-02-26T02:46:17.166Z] ---> Running in 5a5b32ad95f2 [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 10.1% of statements [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 12.5% of statements [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.059s coverage: 84.8% of statements [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 48.7% of statements [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.062s coverage: 81.3% of statements [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 24.8% of statements [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.261s coverage: 83.5% of statements [2021-02-26T02:46:39.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.3% of statements [2021-02-26T02:46:39.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-26T02:46:39.695Z] GO111MODULE=on go vet ./... [2021-02-26T02:46:44.074Z] Removing intermediate container 5a5b32ad95f2 [2021-02-26T02:46:44.074Z] ---> 4fc25c4a1688 [2021-02-26T02:46:44.074Z] Successfully built 4fc25c4a1688 [2021-02-26T02:46:44.074Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:46:44.417Z] + docker inspect -f . ci-base-image-arm64 [2021-02-26T02:46:44.417Z] . [Pipeline] withDockerContainer [2021-02-26T02:46:44.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-27786 does not seem to be running inside a container [2021-02-26T02:46:44.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-26T02:46:46.339Z] gofmt -l . [2021-02-26T02:46:46.339Z] [ "`gofmt -l .`" = "" ] [2021-02-26T02:46:46.339Z] ./bin/test-attribution-txt.sh [2021-02-26T02:46:46.339Z] ./bin/test-go-mod-tidy.sh [2021-02-26T02:46:46.396Z] $ docker top 398e0fc3a7a94f0bf64fd58bb9509097694232893f1166085032b3886c6758dd -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-26T02:46:46.764Z] $ docker stop --time=1 da855a7ee86f410c664d4f1b51f8b0dd01678b6bcb38e4b80fc6acbc78faf268 [2021-02-26T02:46:48.716Z] $ docker rm -f da855a7ee86f410c664d4f1b51f8b0dd01678b6bcb38e4b80fc6acbc78faf268 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-02-26T02:46:49.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-26T02:46:49.635Z] Stashed 1 file(s) [Pipeline] } [2021-02-26T02:46:49.659Z] + go version [2021-02-26T02:46:49.659Z] go version go1.15.5 linux/arm64 [Pipeline] // script [Pipeline] } [Pipeline] } [2021-02-26T02:46:49.737Z] $ docker stop --time=1 398e0fc3a7a94f0bf64fd58bb9509097694232893f1166085032b3886c6758dd [2021-02-26T02:46:51.811Z] $ docker rm -f 398e0fc3a7a94f0bf64fd58bb9509097694232893f1166085032b3886c6758dd [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:46:55.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-26T02:46:55.249Z] + docker inspect -f . ci-base-image-arm64 [2021-02-26T02:46:55.250Z] . [Pipeline] withDockerContainer [2021-02-26T02:46:55.429Z] + ls -al . [2021-02-26T02:46:55.429Z] total 184 [2021-02-26T02:46:55.429Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 26 02:46 . [2021-02-26T02:46:55.429Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 26 02:44 .. [2021-02-26T02:46:55.429Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 26 02:44 bin [2021-02-26T02:46:55.429Z] -rw-r--r--. 1 jenkins jenkins 102310 Feb 26 02:46 coverage.out [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 26 02:44 Dockerfile.build [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 26 02:44 .dockerignore [2021-02-26T02:46:55.429Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 26 02:44 example [2021-02-26T02:46:55.429Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 26 02:44 .git [2021-02-26T02:46:55.429Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 26 02:44 .github [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 26 02:44 .gitignore [2021-02-26T02:46:55.429Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 26 02:46 go.mod [2021-02-26T02:46:55.429Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 26 02:46 go.sum [2021-02-26T02:46:55.429Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 26 02:44 internal [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 894 Feb 26 02:44 Jenkinsfile [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 26 02:44 LICENSE [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 26 02:44 Makefile [2021-02-26T02:46:55.429Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 26 02:44 openapi [2021-02-26T02:46:55.429Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 26 02:44 pkg [2021-02-26T02:46:55.429Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 26 02:44 README.md [2021-02-26T02:46:55.430Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 26 02:44 RELEASE-NOTES.txt [2021-02-26T02:46:55.430Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 26 02:44 snap [2021-02-26T02:46:55.430Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 26 02:42 VERSION [2021-02-26T02:46:55.430Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 26 02:44 version.go [2021-02-26T02:46:55.508Z] prd-ubuntu18.04-docker-arm64-4c-16g-27786 does not seem to be running inside a container [2021-02-26T02:46:55.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-26T02:46:57.136Z] $ docker top 3bb5b91fcc37d3fde2eda1afeb76edf679d934a30bf2a94997c0d4f0f83f7a09 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:46:57.903Z] + 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=99dc373190326cf6ce5f2961912e9ad1835e96a2 --label arch=amd64 --label version=0.0.0 . [2021-02-26T02:46:57.903Z] Sending build context to Docker daemon 2.522MB [2021-02-26T02:46:57.903Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-26T02:46:57.903Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-26T02:46:57.903Z] ---> 20008d4910eb [2021-02-26T02:46:57.903Z] Step 3/24 : ARG MAKE='make build' [2021-02-26T02:46:58.162Z] + make test [2021-02-26T02:46:58.162Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-26T02:46:58.473Z] ---> Running in 30369a3d2814 [2021-02-26T02:46:58.473Z] Removing intermediate container 30369a3d2814 [2021-02-26T02:46:58.473Z] ---> 6e32e4ba890e [2021-02-26T02:46:58.473Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-26T02:46:58.473Z] ---> Running in fff944cdab14 [2021-02-26T02:46:58.733Z] Removing intermediate container fff944cdab14 [2021-02-26T02:46:58.734Z] ---> 55f5a0867794 [2021-02-26T02:46:58.734Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:46:58.734Z] ---> Running in 844ea80f3143 [2021-02-26T02:46:58.999Z] Removing intermediate container 844ea80f3143 [2021-02-26T02:46:58.999Z] ---> 4ca083952b49 [2021-02-26T02:46:58.999Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-26T02:46:58.999Z] ---> Running in 1d50cab5c110 [2021-02-26T02:46:59.943Z] Removing intermediate container 1d50cab5c110 [2021-02-26T02:46:59.943Z] ---> e73b530ec80f [2021-02-26T02:46:59.943Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-26T02:46:59.943Z] ---> Running in 1af31026fda3 [2021-02-26T02:47:00.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-26T02:47:01.150Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-26T02:47:01.411Z] OK: 166 MiB in 39 packages [2021-02-26T02:47:01.987Z] Removing intermediate container 1af31026fda3 [2021-02-26T02:47:01.987Z] ---> 7197d0124174 [2021-02-26T02:47:01.987Z] Step 8/24 : COPY . . [2021-02-26T02:47:02.931Z] ---> 9a9bd2c834a8 [2021-02-26T02:47:02.931Z] Step 9/24 : RUN ${MAKE} [2021-02-26T02:47:02.931Z] ---> Running in a674f7d2c1c7 [2021-02-26T02:47:03.505Z] CGO_ENABLED=0 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-02-26T02:47:11.757Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-26T02:47:13.698Z] Removing intermediate container a674f7d2c1c7 [2021-02-26T02:47:13.698Z] ---> af11769dbe34 [2021-02-26T02:47:13.698Z] Step 10/24 : FROM scratch [2021-02-26T02:47:13.698Z] ---> [2021-02-26T02:47:13.698Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:47:13.963Z] ---> Running in 62eee8353106 [2021-02-26T02:47:13.963Z] Removing intermediate container 62eee8353106 [2021-02-26T02:47:13.963Z] ---> addc1467d0bc [2021-02-26T02:47:13.963Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-26T02:47:13.963Z] ---> Running in 01608da245fc [2021-02-26T02:47:14.225Z] Removing intermediate container 01608da245fc [2021-02-26T02:47:14.225Z] ---> d06213743140 [2021-02-26T02:47:14.225Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-26T02:47:14.225Z] ---> Running in e9e780b678f5 [2021-02-26T02:47:14.486Z] Removing intermediate container e9e780b678f5 [2021-02-26T02:47:14.486Z] ---> a3e5651e2777 [2021-02-26T02:47:14.486Z] Step 14/24 : WORKDIR / [2021-02-26T02:47:14.486Z] ---> Running in d91bcaa6be7d [2021-02-26T02:47:14.486Z] Removing intermediate container d91bcaa6be7d [2021-02-26T02:47:14.486Z] ---> 0f61187f616d [2021-02-26T02:47:14.486Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-26T02:47:15.057Z] ---> 3820dc256ca8 [2021-02-26T02:47:15.057Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-26T02:47:15.317Z] ---> 2a953520a44f [2021-02-26T02:47:15.317Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-26T02:47:15.579Z] ---> 4a93c0b937a6 [2021-02-26T02:47:15.579Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-26T02:47:15.839Z] ---> eaec8c973e5f [2021-02-26T02:47:15.839Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-26T02:47:16.100Z] ---> 6f7343bd1651 [2021-02-26T02:47:16.100Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-26T02:47:16.100Z] ---> Running in 9c3df6ad85f2 [2021-02-26T02:47:16.100Z] Removing intermediate container 9c3df6ad85f2 [2021-02-26T02:47:16.100Z] ---> 4d8311c43927 [2021-02-26T02:47:16.100Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-26T02:47:16.361Z] ---> Running in 18ff98a77b3d [2021-02-26T02:47:16.361Z] Removing intermediate container 18ff98a77b3d [2021-02-26T02:47:16.361Z] ---> a9614ed8f60f [2021-02-26T02:47:16.361Z] Step 22/24 : LABEL arch=amd64 [2021-02-26T02:47:16.622Z] ---> Running in 84471289c412 [2021-02-26T02:47:16.622Z] Removing intermediate container 84471289c412 [2021-02-26T02:47:16.622Z] ---> 59117506a240 [2021-02-26T02:47:16.622Z] Step 23/24 : LABEL git_sha=99dc373190326cf6ce5f2961912e9ad1835e96a2 [2021-02-26T02:47:16.622Z] ---> Running in b57aaf361c3a [2021-02-26T02:47:16.885Z] Removing intermediate container b57aaf361c3a [2021-02-26T02:47:16.885Z] ---> c136f6b8a09e [2021-02-26T02:47:16.885Z] Step 24/24 : LABEL version=0.0.0 [2021-02-26T02:47:16.885Z] ---> Running in 96914e66f963 [2021-02-26T02:47:17.152Z] Removing intermediate container 96914e66f963 [2021-02-26T02:47:17.152Z] ---> cbc38ff39ed7 [2021-02-26T02:47:17.152Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-26T02:47:17.152Z] Successfully built cbc38ff39ed7 [2021-02-26T02:47:17.152Z] 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-02-26T02:47:18.388Z] ---> job-cost.sh [2021-02-26T02:47:18.388Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qHbr [2021-02-26T02:47:20.327Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-26T02:47:33.320Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-26T02:47:59.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-26T02:47:59.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-26T02:47:59.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-26T02:47:59.935Z] lf-activate-venv(): INFO: Adding /tmp/venv-qHbr/bin to PATH [2021-02-26T02:47:59.935Z] INFO: No Stack... [2021-02-26T02:48:01.322Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-26T02:48:02.266Z] INFO: Archiving Costs [Pipeline] sh [2021-02-26T02:48:02.565Z] + cat /w/workspace/device-sdk-go/16/archives/cost.csv [2021-02-26T02:48:02.565Z] + cut -d, -f6 [Pipeline] lock [2021-02-26T02:48:02.630Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] [2021-02-26T02:48:02.642Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] did not exist. Created. [2021-02-26T02:48:02.643Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-26T02:48:03.082Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-26T02:48:03.246Z] Stashed 1 file(s) [Pipeline] } [2021-02-26T02:48:03.257Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-02-26T02:48:03.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 25.5% of statements [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.167s coverage: 10.1% of statements [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 12.5% of statements [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.141s coverage: 84.8% of statements [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.205s coverage: 48.7% of statements [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 81.3% of statements [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.171s coverage: 24.8% of statements [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.702s coverage: 83.5% of statements [2021-02-26T02:48:36.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.3% of statements [2021-02-26T02:48:36.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-26T02:48:36.192Z] GO111MODULE=on go vet ./... [2021-02-26T02:49:08.556Z] gofmt -l . [2021-02-26T02:49:08.556Z] [ "`gofmt -l .`" = "" ] [2021-02-26T02:49:08.556Z] ./bin/test-attribution-txt.sh [2021-02-26T02:49:08.556Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-26T02:49:08.586Z] $ docker stop --time=1 3bb5b91fcc37d3fde2eda1afeb76edf679d934a30bf2a94997c0d4f0f83f7a09 [2021-02-26T02:49:10.942Z] $ docker rm -f 3bb5b91fcc37d3fde2eda1afeb76edf679d934a30bf2a94997c0d4f0f83f7a09 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-26T02:49:12.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-26T02:49:12.166Z] Warning: overwriting stash ‘coverage-report’ [2021-02-26T02:49:13.036Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-26T02:49:13.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-26T02:49:14.124Z] + ls -al . [2021-02-26T02:49:14.124Z] total 220 [2021-02-26T02:49:14.124Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 26 02:49 . [2021-02-26T02:49:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 02:45 .. [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 26 02:45 .dockerignore [2021-02-26T02:49:14.124Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 26 02:45 .git [2021-02-26T02:49:14.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 02:45 .github [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 26 02:45 .gitignore [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 26 02:45 Dockerfile.build [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 894 Feb 26 02:45 Jenkinsfile [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 26 02:45 LICENSE [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 26 02:45 Makefile [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 26 02:45 README.md [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 26 02:45 RELEASE-NOTES.txt [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 26 02:42 VERSION [2021-02-26T02:49:14.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 02:45 bin [2021-02-26T02:49:14.124Z] -rw-r--r-- 1 jenkins jenkins 102310 Feb 26 02:48 coverage.out [2021-02-26T02:49:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 02:45 example [2021-02-26T02:49:14.124Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 26 02:49 go.mod [2021-02-26T02:49:14.124Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 26 02:49 go.sum [2021-02-26T02:49:14.124Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 26 02:45 internal [2021-02-26T02:49:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 02:45 openapi [2021-02-26T02:49:14.124Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 26 02:45 pkg [2021-02-26T02:49:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 02:45 snap [2021-02-26T02:49:14.124Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 26 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:49:14.476Z] + 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=99dc373190326cf6ce5f2961912e9ad1835e96a2 --label arch=arm64 --label version=0.0.0 . [2021-02-26T02:49:14.752Z] Sending build context to Docker daemon 2.521MB [2021-02-26T02:49:15.026Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-26T02:49:15.026Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-26T02:49:15.026Z] ---> 4fc25c4a1688 [2021-02-26T02:49:15.026Z] Step 3/24 : ARG MAKE='make build' [2021-02-26T02:49:15.299Z] ---> Running in c72645218581 [2021-02-26T02:49:15.571Z] Removing intermediate container c72645218581 [2021-02-26T02:49:15.572Z] ---> f3939700efe4 [2021-02-26T02:49:15.572Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-26T02:49:15.845Z] ---> Running in 6e0766322d85 [2021-02-26T02:49:16.445Z] Removing intermediate container 6e0766322d85 [2021-02-26T02:49:16.445Z] ---> 560effaa83a4 [2021-02-26T02:49:16.445Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:49:16.445Z] ---> Running in c61bcb833c7e [2021-02-26T02:49:16.720Z] Removing intermediate container c61bcb833c7e [2021-02-26T02:49:16.720Z] ---> b3ac7d0d3277 [2021-02-26T02:49:16.721Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-26T02:49:16.996Z] ---> Running in 133a7a0c8aa4 [2021-02-26T02:49:18.970Z] Removing intermediate container 133a7a0c8aa4 [2021-02-26T02:49:18.970Z] ---> 93fb7af80950 [2021-02-26T02:49:18.970Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-26T02:49:19.244Z] ---> Running in e5846eadb801 [2021-02-26T02:49:20.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-26T02:49:21.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-26T02:49:21.794Z] OK: 142 MiB in 39 packages [2021-02-26T02:49:23.252Z] Removing intermediate container e5846eadb801 [2021-02-26T02:49:23.252Z] ---> c97cd5fbe373 [2021-02-26T02:49:23.252Z] Step 8/24 : COPY . . [2021-02-26T02:49:24.229Z] ---> b78b0be0bd1f [2021-02-26T02:49:24.229Z] Step 9/24 : RUN ${MAKE} [2021-02-26T02:49:24.504Z] ---> Running in b79dbf62b7a5 [2021-02-26T02:49:25.486Z] CGO_ENABLED=0 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-02-26T02:49:52.310Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-26T02:49:53.338Z] Removing intermediate container b79dbf62b7a5 [2021-02-26T02:49:53.339Z] ---> 20c92c57b212 [2021-02-26T02:49:53.339Z] Step 10/24 : FROM scratch [2021-02-26T02:49:53.339Z] ---> [2021-02-26T02:49:53.339Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-26T02:49:53.339Z] ---> Running in 8a2e38327487 [2021-02-26T02:49:53.625Z] Removing intermediate container 8a2e38327487 [2021-02-26T02:49:53.625Z] ---> 6224825c78cb [2021-02-26T02:49:53.625Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-26T02:49:53.625Z] ---> Running in b4abb9e0a045 [2021-02-26T02:49:54.226Z] Removing intermediate container b4abb9e0a045 [2021-02-26T02:49:54.226Z] ---> f594b27a557f [2021-02-26T02:49:54.226Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-26T02:49:54.226Z] ---> Running in 0efc61b80f0b [2021-02-26T02:49:54.496Z] Removing intermediate container 0efc61b80f0b [2021-02-26T02:49:54.496Z] ---> 2539b920fa8b [2021-02-26T02:49:54.496Z] Step 14/24 : WORKDIR / [2021-02-26T02:49:54.769Z] ---> Running in 01cd0e628bb4 [2021-02-26T02:49:55.366Z] Removing intermediate container 01cd0e628bb4 [2021-02-26T02:49:55.366Z] ---> b7fb39885c0a [2021-02-26T02:49:55.366Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-26T02:49:56.345Z] ---> 5f9360243c10 [2021-02-26T02:49:56.345Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-26T02:49:57.324Z] ---> f70669560f10 [2021-02-26T02:49:57.324Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-26T02:49:57.917Z] ---> 5614d62f24f5 [2021-02-26T02:49:57.917Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-26T02:49:58.509Z] ---> e8fce204b136 [2021-02-26T02:49:58.509Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-26T02:49:59.099Z] ---> 5e2ae12a963e [2021-02-26T02:49:59.099Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-26T02:49:59.099Z] ---> Running in 8a4343d3c443 [2021-02-26T02:49:59.696Z] Removing intermediate container 8a4343d3c443 [2021-02-26T02:49:59.696Z] ---> 78cb1db49690 [2021-02-26T02:49:59.696Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-26T02:49:59.696Z] ---> Running in d879b473d165 [2021-02-26T02:50:00.292Z] Removing intermediate container d879b473d165 [2021-02-26T02:50:00.292Z] ---> f75b3ceb6d4c [2021-02-26T02:50:00.292Z] Step 22/24 : LABEL arch=arm64 [2021-02-26T02:50:00.292Z] ---> Running in f65dc558f23e [2021-02-26T02:50:00.900Z] Removing intermediate container f65dc558f23e [2021-02-26T02:50:00.900Z] ---> e1e7f6c635d7 [2021-02-26T02:50:00.900Z] Step 23/24 : LABEL git_sha=99dc373190326cf6ce5f2961912e9ad1835e96a2 [2021-02-26T02:50:00.900Z] ---> Running in 9045575f0e3e [2021-02-26T02:50:01.500Z] Removing intermediate container 9045575f0e3e [2021-02-26T02:50:01.500Z] ---> 1bac0019c29b [2021-02-26T02:50:01.500Z] Step 24/24 : LABEL version=0.0.0 [2021-02-26T02:50:01.500Z] ---> Running in cca9f9bde3b8 [2021-02-26T02:50:02.115Z] Removing intermediate container cca9f9bde3b8 [2021-02-26T02:50:02.115Z] ---> fbb8bea26ee9 [2021-02-26T02:50:02.115Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-26T02:50:02.115Z] Successfully built fbb8bea26ee9 [2021-02-26T02:50:02.115Z] 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-02-26T02:50:02.925Z] ---> job-cost.sh [2021-02-26T02:50:02.926Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aevy [2021-02-26T02:50:41.881Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-26T02:52:48.655Z] lf-activate-venv(): INFO: Adding /tmp/venv-aevy/bin to PATH [2021-02-26T02:52:48.655Z] INFO: No Stack... [2021-02-26T02:52:48.655Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-26T02:52:48.926Z] INFO: Archiving Costs [Pipeline] sh [2021-02-26T02:52:49.540Z] + cat+ /w/workspace/device-sdk-go/16/archives/cost.csv [2021-02-26T02:52:49.540Z] cut -d, -f6 [Pipeline] lock [2021-02-26T02:52:49.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] [2021-02-26T02:52:49.662Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] did not exist. Created. [2021-02-26T02:52:49.662Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-26T02:52:50.097Z] /w/workspace/device-sdk-go/16@tmp/durable-3ab98e95/script.sh: 1: /w/workspace/device-sdk-go/16@tmp/durable-3ab98e95/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-26T02:52:50.461Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-26T02:52:50.481Z] Warning: overwriting stash ‘stack-cost’ [2021-02-26T02:52:50.650Z] Stashed 1 file(s) [Pipeline] } [2021-02-26T02:52:50.659Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-16-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-02-26T02:52:52.277Z] provisioning config files... [2021-02-26T02:52:52.288Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5491507883957735143tmp [Pipeline] { [Pipeline] sh [2021-02-26T02:52:52.672Z] + set +x [2021-02-26T02:52:52.672Z] + curl -s https://codecov.io/bash [2021-02-26T02:52:52.672Z] + bash -s -- [2021-02-26T02:52:52.935Z] [2021-02-26T02:52:52.935Z] _____ _ [2021-02-26T02:52:52.935Z] / ____| | | [2021-02-26T02:52:52.935Z] | | ___ __| | ___ ___ _____ __ [2021-02-26T02:52:52.935Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-26T02:52:52.935Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-26T02:52:52.935Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-26T02:52:52.935Z] Bash-20210129-7c25fce [2021-02-26T02:52:52.935Z] [2021-02-26T02:52:52.935Z] [2021-02-26T02:52:52.935Z] ==> git version 2.24.3 found [2021-02-26T02:52:52.935Z] ==> 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-02-26T02:52:52.935Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-26T02:52:52.935Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-26T02:52:52.935Z] ==> Jenkins CI detected. [2021-02-26T02:52:52.935Z] project root: . [2021-02-26T02:52:52.935Z] --> token set from env [2021-02-26T02:52:52.935Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-26T02:52:52.935Z] ==> Running gcov in . (disable via -X gcov) [2021-02-26T02:52:52.935Z] ==> Python coveragepy not found [2021-02-26T02:52:52.935Z] ==> Searching for coverage reports in: [2021-02-26T02:52:52.935Z] + . [2021-02-26T02:52:52.935Z] -> Found 1 reports [2021-02-26T02:52:52.935Z] ==> Detecting git/mercurial file structure [2021-02-26T02:52:52.935Z] ==> Reading reports [2021-02-26T02:52:52.935Z] + ./coverage.out bytes=102310 [2021-02-26T02:52:52.935Z] ==> Appending adjustments [2021-02-26T02:52:52.935Z] https://docs.codecov.io/docs/fixing-reports [2021-02-26T02:52:53.513Z] + Found adjustments [2021-02-26T02:52:53.513Z] ==> Gzipping contents [2021-02-26T02:52:53.513Z] 20K /tmp/codecov.KZdgLa.gz [2021-02-26T02:52:53.513Z] ==> Uploading reports [2021-02-26T02:52:53.513Z] url: https://codecov.io [2021-02-26T02:52:53.513Z] query: branch=PR-725&commit=99dc373190326cf6ce5f2961912e9ad1835e96a2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-26T02:52:53.513Z] -> Pinging Codecov [2021-02-26T02:52:53.513Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=99dc373190326cf6ce5f2961912e9ad1835e96a2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-02-26T02:52:53.775Z] -> Uploading to [2021-02-26T02:52:53.775Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-26/7E55EF52A471D76F132DFD9A03CDDE97/99dc373190326cf6ce5f2961912e9ad1835e96a2/4af23bd0-fef5-4754-89ab-b691ec6c5166.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210226%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210226T025253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec5a81218f96be849d5ae20f167fcf80626fc84b3f38e4f4750a4f554da9995a [2021-02-26T02:52:53.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-26T02:52:53.775Z] Dload Upload Total Spent Left Speed [2021-02-26T02:52:54.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16564 0 0 100 16564 0 35078 --:--:-- --:--:-- --:--:-- 35019 [2021-02-26T02:52:54.300Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/99dc373190326cf6ce5f2961912e9ad1835e96a2 [Pipeline] } [2021-02-26T02:52:54.311Z] 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-02-26T02:52:56.760Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:52:57.070Z] ---> package-listing.sh [2021-02-26T02:52:57.070Z] ++ facter osfamily [2021-02-26T02:52:57.070Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-26T02:52:57.070Z] + OS_FAMILY=redhat [2021-02-26T02:52:57.070Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-02-26T02:52:57.070Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-26T02:52:57.070Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-26T02:52:57.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-26T02:52:57.070Z] + PACKAGES=/tmp/packages_start.txt [2021-02-26T02:52:57.070Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-26T02:52:57.070Z] + PACKAGES=/tmp/packages_end.txt [2021-02-26T02:52:57.070Z] + case "${OS_FAMILY}" in [2021-02-26T02:52:57.070Z] + rpm -qa [2021-02-26T02:52:57.070Z] + sort [2021-02-26T02:53:02.389Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-26T02:53:02.389Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-26T02:53:02.389Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-26T02:53:02.389Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-02-26T02:53:02.389Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-02-26T02:53:02.389Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-02-26T02:53:02.404Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-26T02:53:02.700Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:53:03.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T02:53:03.008Z] [2021-02-26T02:53:03.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-26T02:53:03.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T02:53:03.364Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-26T02:53:03.364Z] df20fa9351a1: Pulling fs layer [2021-02-26T02:53:03.364Z] 36b3adc4ff6f: Pulling fs layer [2021-02-26T02:53:03.364Z] 8ad3a11d3b57: Pulling fs layer [2021-02-26T02:53:03.364Z] 46f8f816bc3b: Pulling fs layer [2021-02-26T02:53:03.364Z] 93b61091891f: Pulling fs layer [2021-02-26T02:53:03.364Z] 93b9cdb0e59b: Pulling fs layer [2021-02-26T02:53:03.364Z] 5e14af77c1be: Pulling fs layer [2021-02-26T02:53:03.364Z] 01666e4c0597: Pulling fs layer [2021-02-26T02:53:03.364Z] aa168da1d23b: Pulling fs layer [2021-02-26T02:53:03.364Z] 93b61091891f: Waiting [2021-02-26T02:53:03.364Z] 46f8f816bc3b: Waiting [2021-02-26T02:53:03.364Z] 93b9cdb0e59b: Waiting [2021-02-26T02:53:03.364Z] 5e14af77c1be: Waiting [2021-02-26T02:53:03.364Z] 01666e4c0597: Waiting [2021-02-26T02:53:03.364Z] 36b3adc4ff6f: Download complete [2021-02-26T02:53:03.364Z] 46f8f816bc3b: Verifying Checksum [2021-02-26T02:53:03.364Z] 46f8f816bc3b: Download complete [2021-02-26T02:53:03.627Z] df20fa9351a1: Verifying Checksum [2021-02-26T02:53:03.627Z] df20fa9351a1: Download complete [2021-02-26T02:53:03.627Z] 93b9cdb0e59b: Verifying Checksum [2021-02-26T02:53:03.627Z] 93b9cdb0e59b: Download complete [2021-02-26T02:53:03.627Z] 93b61091891f: Verifying Checksum [2021-02-26T02:53:03.627Z] 93b61091891f: Download complete [2021-02-26T02:53:03.627Z] 5e14af77c1be: Verifying Checksum [2021-02-26T02:53:03.627Z] 5e14af77c1be: Download complete [2021-02-26T02:53:03.627Z] 01666e4c0597: Verifying Checksum [2021-02-26T02:53:03.627Z] 01666e4c0597: Download complete [2021-02-26T02:53:03.889Z] df20fa9351a1: Pull complete [2021-02-26T02:53:04.153Z] 36b3adc4ff6f: Pull complete [2021-02-26T02:53:04.421Z] 8ad3a11d3b57: Verifying Checksum [2021-02-26T02:53:04.421Z] 8ad3a11d3b57: Download complete [2021-02-26T02:53:05.000Z] 8ad3a11d3b57: Pull complete [2021-02-26T02:53:05.272Z] 46f8f816bc3b: Pull complete [2021-02-26T02:53:06.227Z] aa168da1d23b: Verifying Checksum [2021-02-26T02:53:06.227Z] aa168da1d23b: Download complete [2021-02-26T02:53:06.805Z] 93b61091891f: Pull complete [2021-02-26T02:53:07.074Z] 93b9cdb0e59b: Pull complete [2021-02-26T02:53:07.074Z] 5e14af77c1be: Pull complete [2021-02-26T02:53:07.337Z] 01666e4c0597: Pull complete [2021-02-26T02:53:14.013Z] aa168da1d23b: Pull complete [2021-02-26T02:53:14.013Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-26T02:53:14.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-26T02:53:14.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-26T02:53:14.222Z] prd-centos7-docker-4c-2g-27783 does not seem to be running inside a container [2021-02-26T02:53:14.270Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-26T02:53:17.600Z] $ docker top 4b6222959b462207499144f5b0db7620c3cba3b74f2c5a0736ab7694b160c239 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-26T02:53:18.078Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-26T02:53:18.381Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-26T02:53:18.684Z] + ls /var/log/sa-host [2021-02-26T02:53:18.684Z] + sadf -c /var/log/sa-host/sa23 [2021-02-26T02:53:18.684Z] file_magic: OK [2021-02-26T02:53:18.684Z] HZ: Using current value: 100 [2021-02-26T02:53:18.684Z] file_header: OK [2021-02-26T02:53:18.684Z] 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-02-26T02:53:18.684Z] Statistics: [2021-02-26T02:53:18.684Z] Hnuu...uuuununununu... [2021-02-26T02:53:18.684Z] File successfully converted to sysstat format version 12.2.1 [2021-02-26T02:53:18.684Z] + sadf -c /var/log/sa-host/sa26 [2021-02-26T02:53:18.684Z] file_magic: OK [2021-02-26T02:53:18.684Z] HZ: Using current value: 100 [2021-02-26T02:53:18.684Z] file_header: OK [2021-02-26T02:53:18.684Z] 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-02-26T02:53:18.684Z] Statistics: [2021-02-26T02:53:18.684Z] 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-02-26T02:53:18.684Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-26T02:53:19.025Z] provisioning config files... [2021-02-26T02:53:19.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6656835227704643720tmp [Pipeline] { [Pipeline] echo [2021-02-26T02:53:19.121Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:53:19.422Z] ---> create-netrc.sh [Pipeline] } [2021-02-26T02:53:19.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-26T02:53:19.534Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:53:19.836Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-26T02:53:19.847Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:53:20.148Z] ---> sudo-logs.sh [2021-02-26T02:53:20.148Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-26T02:53:20.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:53:20.560Z] ---> job-cost.sh [2021-02-26T02:53:20.561Z] lf-activate-venv: SKIPPING [2021-02-26T02:53:20.561Z] DEBUG: total: 0.20999999344348907 [2021-02-26T02:53:20.561Z] INFO: Retrieving Stack Cost... [2021-02-26T02:53:21.508Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-26T02:53:21.771Z] INFO: Archiving Costs [Pipeline] echo [2021-02-26T02:53:21.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-26T02:53:22.088Z] ---> logs-deploy.sh [2021-02-26T02:53:22.088Z] lf-activate-venv: SKIPPING [2021-02-26T02:53:22.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/16 [2021-02-26T02:53:22.088Z] INFO: archiving workspace using pattern(s): [2021-02-26T02:53:24.013Z] Archives upload complete. [2021-02-26T02:53:24.013Z] INFO: archiving logs to Nexus