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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 84ea4a05cef1466ee67975698004463005cbf340 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 84ea4a05cef1466ee67975698004463005cbf340 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:docker-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: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24079 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 Merge succeeded, producing 48807053613575e78c4fa610d360d65e6f880de1 Checking out Revision 48807053613575e78c4fa610d360d65e6f880de1 (PR-732) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48807053613575e78c4fa610d360d65e6f880de1 # timeout=10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-30T02:43:27.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-30T02:43:28.208Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-30T02:43:28.299Z] ========================================================= [2021-01-30T02:43:28.299Z] EdgeX Global Pipelines Version Info [2021-01-30T02:43:28.299Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 [2021-01-30T02:43:30.710Z] ------------------- [2021-01-30T02:43:30.710Z] stable info: [2021-01-30T02:43:30.710Z] ------------------- [2021-01-30T02:43:30.710Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:43:30.710Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:43:30.710Z] Message: update stable to v1.0.179 [2021-01-30T02:43:31.695Z] ------------------- [2021-01-30T02:43:31.695Z] experimental info: [2021-01-30T02:43:31.695Z] ------------------- [2021-01-30T02:43:31.695Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:43:31.695Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:43:31.695Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-30T02:43:32.035Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-30T02:43:32.143Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-30T02:43:32.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-30T02:43:32.361Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-30T02:43:32.483Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-30T02:43:32.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-30T02:43:32.663Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-30T02:43:32.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-30T02:43:32.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-30T02:43:32.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-30T02:43:33.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-30T02:43:33.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-30T02:43:33.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-30T02:43:33.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-30T02:43:33.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-30T02:43:33.653Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:43:33.731Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:43:33.831Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:43:33.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-30T02:43:34.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-30T02:43:34.088Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-30T02:43:34.169Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-30T02:43:34.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-30T02:43:34.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-30T02:43:34.469Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-30T02:43:34.594Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-30T02:43:34.683Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-30T02:43:34.813Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo [2021-01-30T02:43:34.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo [2021-01-30T02:43:34.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo [2021-01-30T02:43:35.075Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] echo [2021-01-30T02:43:35.213Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4880705 [Pipeline] echo [2021-01-30T02:43:35.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:43:35.504Z] provisioning config files... [2021-01-30T02:43:35.561Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4000011849884901328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:43:36.044Z] ---> docker-login.sh [2021-01-30T02:43:36.045Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:43:36.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:36.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:36.640Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:36.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:36.640Z] [2021-01-30T02:43:36.640Z] Login Succeeded [2021-01-30T02:43:36.640Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:43:36.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:37.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:37.209Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:37.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:37.209Z] [2021-01-30T02:43:37.209Z] Login Succeeded [2021-01-30T02:43:37.209Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:43:37.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:37.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:37.491Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:37.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:37.491Z] [2021-01-30T02:43:37.491Z] Login Succeeded [2021-01-30T02:43:37.491Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:43:37.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:37.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:37.776Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:37.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:37.776Z] [2021-01-30T02:43:37.776Z] Login Succeeded [2021-01-30T02:43:37.776Z] docker.io [2021-01-30T02:43:38.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:43:38.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:43:38.335Z] Configure a credential helper to remove this warning. See [2021-01-30T02:43:38.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:43:38.335Z] [2021-01-30T02:43:38.335Z] Login Succeeded [2021-01-30T02:43:38.335Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:43:38.359Z] 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-01-30T02:43:39.232Z] + git log --format=format:%s -1 48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] echo [2021-01-30T02:43:39.374Z] GIT_COMMIT: 48807053613575e78c4fa610d360d65e6f880de1, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo [2021-01-30T02:43:39.456Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:43:40.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:40.156Z] [2021-01-30T02:43:40.156Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:43:40.594Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:40.594Z] latest: Pulling from edgex-devops/git-semver [2021-01-30T02:43:40.594Z] 31603596830f: Pulling fs layer [2021-01-30T02:43:40.594Z] 2a8b12db71e7: Pulling fs layer [2021-01-30T02:43:40.594Z] 6ca5941a6612: Pulling fs layer [2021-01-30T02:43:40.594Z] ecc8261a40a4: Pulling fs layer [2021-01-30T02:43:40.594Z] ecc8261a40a4: Waiting [2021-01-30T02:43:40.594Z] 2a8b12db71e7: Verifying Checksum [2021-01-30T02:43:40.594Z] 2a8b12db71e7: Download complete [2021-01-30T02:43:40.868Z] 31603596830f: Verifying Checksum [2021-01-30T02:43:40.868Z] 31603596830f: Download complete [2021-01-30T02:43:41.140Z] 6ca5941a6612: Verifying Checksum [2021-01-30T02:43:41.140Z] 6ca5941a6612: Download complete [2021-01-30T02:43:41.140Z] ecc8261a40a4: Verifying Checksum [2021-01-30T02:43:41.140Z] ecc8261a40a4: Download complete [2021-01-30T02:43:41.506Z] 31603596830f: Pull complete [2021-01-30T02:43:41.779Z] 2a8b12db71e7: Pull complete [2021-01-30T02:43:43.231Z] 6ca5941a6612: Pull complete [2021-01-30T02:43:43.503Z] ecc8261a40a4: Pull complete [2021-01-30T02:43:43.773Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-30T02:43:43.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:43.773Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-30T02:43:44.042Z] prd-centos7-docker-4c-2g-24079 does not seem to be running inside a container [2021-01-30T02:43:44.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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-01-30T02:43:46.800Z] $ docker top bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-30T02:43:47.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:43:47.217Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:43:47.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:43:47.623Z] $ docker exec bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent [2021-01-30T02:43:48.066Z] SSH_AUTH_SOCK=/tmp/ssh-1bgdobrhDCSA/agent.11 [2021-01-30T02:43:48.066Z] SSH_AGENT_PID=17 [2021-01-30T02:43:48.084Z] Running ssh-add (command line suppressed) [2021-01-30T02:43:48.282Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9196559450207244440.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9196559450207244440.key) [2021-01-30T02:43:48.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:43:48.861Z] + git tag --points-at HEAD [Pipeline] } [2021-01-30T02:43:48.991Z] $ docker exec --env ******** --env ******** bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent -k [2021-01-30T02:43:49.342Z] unset SSH_AUTH_SOCK; [2021-01-30T02:43:49.342Z] unset SSH_AGENT_PID; [2021-01-30T02:43:49.342Z] echo Agent pid 17 killed; [2021-01-30T02:43:49.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-30T02:43:49.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:43:49.607Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:43:49.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:43:49.981Z] $ docker exec bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent [2021-01-30T02:43:50.373Z] SSH_AUTH_SOCK=/tmp/ssh-dhqvrXp0sPol/agent.45 [2021-01-30T02:43:50.373Z] SSH_AGENT_PID=50 [2021-01-30T02:43:50.394Z] Running ssh-add (command line suppressed) [2021-01-30T02:43:50.671Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8968192651355941448.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8968192651355941448.key) [2021-01-30T02:43:50.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:43:51.188Z] + git semver init [2021-01-30T02:43:51.188Z] # -> Open(): unable to determine branch for HEAD [2021-01-30T02:43:51.188Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git [2021-01-30T02:43:51.188Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-30T02:43:51.188Z] # $SEMVER_REMOTE_NAME = origin [2021-01-30T02:43:51.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-30T02:43:51.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-30T02:43:51.188Z] # $SEMVER_BRANCH = PR-732 [2021-01-30T02:43:51.188Z] # $SEMVER_TEMP = /tmp/semver-885345277 [2021-01-30T02:43:51.188Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-30T02:43:52.184Z] # '/tmp/semver-885345277' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' [2021-01-30T02:43:52.184Z] # -> Force: false [2021-01-30T02:43:52.184Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } [2021-01-30T02:43:52.221Z] $ docker exec --env ******** --env ******** bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent -k [2021-01-30T02:43:52.482Z] unset SSH_AUTH_SOCK; [2021-01-30T02:43:52.483Z] unset SSH_AGENT_PID; [2021-01-30T02:43:52.483Z] echo Agent pid 50 killed; [2021-01-30T02:43:52.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-30T02:43:53.089Z] + git semver [Pipeline] } [2021-01-30T02:43:53.141Z] $ docker stop --time=1 bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa [2021-01-30T02:43:54.780Z] $ docker rm -f bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:43:55.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-30T02:43:56.385Z] Stashed 1 file(s) [Pipeline] echo [2021-01-30T02:43:56.388Z] [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-01-30T02:44:11.887Z] Still waiting to schedule task [2021-01-30T02:44:11.887Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-30T02:44:11.893Z] Still waiting to schedule task [2021-01-30T02:44:11.893Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24075’ [2021-01-30T02:46:57.014Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24084 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-30T02:46:57.069Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-30T02:47:03.071Z] using credential edgex-jenkins-ssh [2021-01-30T02:47:03.146Z] Cloning the remote Git repository [2021-01-30T02:47:03.205Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:47:03.322Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-01-30T02:47:03.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:47:03.417Z] > git --version # timeout=10 [2021-01-30T02:47:03.446Z] > git --version # 'git version 2.17.1' [2021-01-30T02:47:03.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:47:03.540Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:47:04.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:47:04.774Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:47:05.548Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-30T02:47:06.126Z] Merge succeeded, producing a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 [2021-01-30T02:47:06.127Z] Checking out Revision a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 (PR-732) [2021-01-30T02:47:04.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:47:04.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:47:04.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:47:04.890Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:47:05.570Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:47:05.594Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-30T02:47:05.735Z] > git remote # timeout=10 [2021-01-30T02:47:05.756Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:47:05.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:47:05.848Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:47:06.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:47:06.132Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:47:06.155Z] > git checkout -f a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 # timeout=10 [2021-01-30T02:47:10.585Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:47:10.615Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:47:12.193Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-30T02:47:10.595Z] > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 [Pipeline] sh [2021-01-30T02:47:12.722Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:47:13.079Z] + sudo service docker restart [2021-01-30T02:47:13.080Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:47:15.794Z] provisioning config files... [2021-01-30T02:47:15.840Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config3287372922085535536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:47:16.265Z] ---> docker-login.sh [2021-01-30T02:47:16.266Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:47:17.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:17.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:17.533Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:17.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:17.533Z] [2021-01-30T02:47:17.533Z] Login Succeeded [2021-01-30T02:47:17.533Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:47:18.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:18.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:18.134Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:18.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:18.134Z] [2021-01-30T02:47:18.134Z] Login Succeeded [2021-01-30T02:47:18.134Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:47:18.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:18.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:18.738Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:18.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:18.738Z] [2021-01-30T02:47:18.738Z] Login Succeeded [2021-01-30T02:47:18.738Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:47:19.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:19.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:19.338Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:19.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:19.338Z] [2021-01-30T02:47:19.338Z] Login Succeeded [2021-01-30T02:47:19.338Z] docker.io [2021-01-30T02:47:19.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:20.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:20.221Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:20.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:20.221Z] [2021-01-30T02:47:20.221Z] Login Succeeded [2021-01-30T02:47:20.221Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:47:20.240Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:47:20.741Z] ========================================================= [2021-01-30T02:47:20.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-30T02:47:20.741Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:47:21.162Z] + 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-01-30T02:47:21.768Z] Sending build context to Docker daemon 2.541MB [2021-01-30T02:47:21.768Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:47:21.768Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:47:21.768Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-30T02:47:21.768Z] 5f621e34cdf4: Pulling fs layer [2021-01-30T02:47:21.768Z] a4357932f1b6: Pulling fs layer [2021-01-30T02:47:21.768Z] 18c013af1878: Pulling fs layer [2021-01-30T02:47:21.768Z] 00ac8860ef70: Pulling fs layer [2021-01-30T02:47:21.768Z] 63d7cb157983: Pulling fs layer [2021-01-30T02:47:21.768Z] b116817d02f9: Pulling fs layer [2021-01-30T02:47:21.768Z] 745a02a5169b: Pulling fs layer [2021-01-30T02:47:21.768Z] 00ac8860ef70: Waiting [2021-01-30T02:47:21.768Z] 63d7cb157983: Waiting [2021-01-30T02:47:21.768Z] b116817d02f9: Waiting [2021-01-30T02:47:21.768Z] 745a02a5169b: Waiting [2021-01-30T02:47:21.768Z] 18c013af1878: Verifying Checksum [2021-01-30T02:47:21.768Z] 18c013af1878: Download complete [2021-01-30T02:47:21.768Z] a4357932f1b6: Verifying Checksum [2021-01-30T02:47:21.768Z] a4357932f1b6: Download complete [2021-01-30T02:47:21.768Z] 63d7cb157983: Verifying Checksum [2021-01-30T02:47:21.768Z] 63d7cb157983: Download complete [2021-01-30T02:47:22.045Z] b116817d02f9: Verifying Checksum [2021-01-30T02:47:22.045Z] b116817d02f9: Download complete [2021-01-30T02:47:22.045Z] 5f621e34cdf4: Verifying Checksum [2021-01-30T02:47:22.045Z] 5f621e34cdf4: Download complete [2021-01-30T02:47:22.655Z] 5f621e34cdf4: Pull complete [2021-01-30T02:47:23.277Z] a4357932f1b6: Pull complete [2021-01-30T02:47:23.883Z] 18c013af1878: Pull complete [2021-01-30T02:47:24.490Z] 745a02a5169b: Verifying Checksum [2021-01-30T02:47:24.490Z] 745a02a5169b: Download complete [2021-01-30T02:47:25.476Z] 00ac8860ef70: Verifying Checksum [2021-01-30T02:47:25.476Z] 00ac8860ef70: Download complete [2021-01-30T02:47:40.606Z] 00ac8860ef70: Pull complete [2021-01-30T02:47:40.606Z] 63d7cb157983: Pull complete [2021-01-30T02:47:40.606Z] b116817d02f9: Pull complete [2021-01-30T02:47:43.240Z] 745a02a5169b: Pull complete [2021-01-30T02:47:43.240Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-30T02:47:43.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-30T02:47:43.240Z] ---> b7e6874047d6 [2021-01-30T02:47:43.240Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:47:45.862Z] ---> Running in 529e53d16cfc [2021-01-30T02:47:46.136Z] Removing intermediate container 529e53d16cfc [2021-01-30T02:47:46.136Z] ---> 7b8816ae4c2d [2021-01-30T02:47:46.136Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:47:46.413Z] ---> Running in 2cda39a2ea40 [2021-01-30T02:47:49.040Z] Removing intermediate container 2cda39a2ea40 [2021-01-30T02:47:49.040Z] ---> a91e81aa625f [2021-01-30T02:47:49.040Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:47:49.040Z] ---> Running in 1700d5777a74 [2021-01-30T02:47:50.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:47:50.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:47:51.603Z] OK: 142 MiB in 39 packages [2021-01-30T02:47:52.586Z] Removing intermediate container 1700d5777a74 [2021-01-30T02:47:52.586Z] ---> 92edceec4d10 [2021-01-30T02:47:52.586Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:47:52.864Z] ---> Running in d73aa6aaacdb [2021-01-30T02:47:53.461Z] Removing intermediate container d73aa6aaacdb [2021-01-30T02:47:53.461Z] ---> 9e6833d46a08 [2021-01-30T02:47:53.461Z] Step 7/8 : COPY . . [2021-01-30T02:47:54.897Z] ---> 2fedca753131 [2021-01-30T02:47:54.897Z] Step 8/8 : RUN go mod download [2021-01-30T02:47:54.897Z] ---> Running in 7b5c65212c77 [2021-01-30T02:48:10.590Z] Running on prd-centos7-docker-4c-2g-24085 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws [2021-01-30T02:48:10.658Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-30T02:48:13.012Z] using credential edgex-jenkins-ssh [2021-01-30T02:48:13.062Z] Cloning the remote Git repository [2021-01-30T02:48:12.941Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:48:13.011Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-01-30T02:48:13.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:48:13.081Z] > git --version # timeout=10 [2021-01-30T02:48:13.088Z] > git --version # 'git version 2.24.3' [2021-01-30T02:48:13.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:48:13.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:48:13.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:48:13.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:48:13.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:48:13.845Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:48:13.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:48:13.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:48:14.368Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c [2021-01-30T02:48:14.553Z] Merge succeeded, producing 55627dccfcaa9c1869ee961086b5b70213a64237 [2021-01-30T02:48:14.554Z] Checking out Revision 55627dccfcaa9c1869ee961086b5b70213a64237 (PR-732) [2021-01-30T02:48:14.337Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:48:14.342Z] > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 [2021-01-30T02:48:14.405Z] > git remote # timeout=10 [2021-01-30T02:48:14.411Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:48:14.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:48:14.422Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:48:14.523Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:48:14.532Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:48:14.536Z] > git checkout -f 55627dccfcaa9c1869ee961086b5b70213a64237 # timeout=10 [2021-01-30T02:48:17.080Z] Removing intermediate container 7b5c65212c77 [2021-01-30T02:48:17.080Z] ---> 1d43edf84476 [2021-01-30T02:48:17.080Z] Successfully built 1d43edf84476 [2021-01-30T02:48:17.080Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:48:17.424Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:48:17.424Z] . [Pipeline] withDockerContainer [2021-01-30T02:48:17.664Z] prd-ubuntu18.04-docker-arm64-4c-16g-24084 does not seem to be running inside a container [2021-01-30T02:48:17.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-01-30T02:48:18.247Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:48:18.262Z] First time build. Skipping changelog. [2021-01-30T02:48:18.252Z] > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 [2021-01-30T02:48:19.205Z] $ docker top 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:48:20.231Z] + go version [2021-01-30T02:48:20.231Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-30T02:48:20.284Z] $ docker stop --time=1 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 [2021-01-30T02:48:20.500Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-01-30T02:48:22.247Z] $ docker rm -f 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-30T02:48:22.859Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:48:23.168Z] + sudo service docker restart [2021-01-30T02:48:23.169Z] + true [2021-01-30T02:48:23.169Z] Redirecting to /bin/systemctl restart docker.service [2021-01-30T02:48:23.385Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:48:23.385Z] . [Pipeline] withDockerContainer [2021-01-30T02:48:23.624Z] prd-ubuntu18.04-docker-arm64-4c-16g-24084 does not seem to be running inside a container [2021-01-30T02:48:23.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-01-30T02:48:25.158Z] $ docker top f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-01-30T02:48:25.678Z] provisioning config files... [2021-01-30T02:48:25.709Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config125546973479002971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:48:26.071Z] ---> docker-login.sh [2021-01-30T02:48:26.071Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:48:26.223Z] + make test [2021-01-30T02:48:26.223Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:48:26.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:48:26.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:48:26.335Z] Configure a credential helper to remove this warning. See [2021-01-30T02:48:26.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:48:26.335Z] [2021-01-30T02:48:26.335Z] Login Succeeded [2021-01-30T02:48:26.335Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:48:26.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:48:26.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:48:26.597Z] Configure a credential helper to remove this warning. See [2021-01-30T02:48:26.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:48:26.597Z] [2021-01-30T02:48:26.597Z] Login Succeeded [2021-01-30T02:48:26.597Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:48:26.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:48:26.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:48:26.869Z] Configure a credential helper to remove this warning. See [2021-01-30T02:48:26.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:48:26.869Z] [2021-01-30T02:48:26.869Z] Login Succeeded [2021-01-30T02:48:26.869Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:48:26.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:48:27.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:48:27.133Z] Configure a credential helper to remove this warning. See [2021-01-30T02:48:27.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:48:27.133Z] [2021-01-30T02:48:27.133Z] Login Succeeded [2021-01-30T02:48:27.133Z] docker.io [2021-01-30T02:48:27.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:48:27.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:48:27.397Z] Configure a credential helper to remove this warning. See [2021-01-30T02:48:27.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:48:27.397Z] [2021-01-30T02:48:27.397Z] Login Succeeded [2021-01-30T02:48:27.397Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:48:27.408Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:48:27.729Z] ========================================================= [2021-01-30T02:48:27.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-30T02:48:27.729Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:48:28.069Z] + 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-01-30T02:48:28.332Z] Sending build context to Docker daemon 2.542MB [2021-01-30T02:48:28.332Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:48:28.332Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:48:28.332Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-30T02:48:28.332Z] 188c0c94c7c5: Pulling fs layer [2021-01-30T02:48:28.332Z] 0ef7d3d256c8: Pulling fs layer [2021-01-30T02:48:28.332Z] de9db76c5a1d: Pulling fs layer [2021-01-30T02:48:28.332Z] bca2f99d35d6: Pulling fs layer [2021-01-30T02:48:28.332Z] 93359f2a8cfa: Pulling fs layer [2021-01-30T02:48:28.332Z] 7c6f9722023f: Pulling fs layer [2021-01-30T02:48:28.332Z] a35cf1a2eb13: Pulling fs layer [2021-01-30T02:48:28.332Z] 93359f2a8cfa: Waiting [2021-01-30T02:48:28.332Z] 7c6f9722023f: Waiting [2021-01-30T02:48:28.332Z] a35cf1a2eb13: Waiting [2021-01-30T02:48:28.332Z] bca2f99d35d6: Waiting [2021-01-30T02:48:28.332Z] de9db76c5a1d: Verifying Checksum [2021-01-30T02:48:28.332Z] de9db76c5a1d: Download complete [2021-01-30T02:48:28.332Z] 0ef7d3d256c8: Verifying Checksum [2021-01-30T02:48:28.332Z] 0ef7d3d256c8: Download complete [2021-01-30T02:48:28.332Z] 93359f2a8cfa: Verifying Checksum [2021-01-30T02:48:28.332Z] 93359f2a8cfa: Download complete [2021-01-30T02:48:28.913Z] 7c6f9722023f: Verifying Checksum [2021-01-30T02:48:28.913Z] 7c6f9722023f: Download complete [2021-01-30T02:48:28.913Z] 188c0c94c7c5: Verifying Checksum [2021-01-30T02:48:28.913Z] 188c0c94c7c5: Download complete [2021-01-30T02:48:29.179Z] 188c0c94c7c5: Pull complete [2021-01-30T02:48:29.447Z] 0ef7d3d256c8: Pull complete [2021-01-30T02:48:29.709Z] de9db76c5a1d: Pull complete [2021-01-30T02:48:30.288Z] a35cf1a2eb13: Verifying Checksum [2021-01-30T02:48:30.288Z] a35cf1a2eb13: Download complete [2021-01-30T02:48:31.247Z] bca2f99d35d6: Verifying Checksum [2021-01-30T02:48:31.247Z] bca2f99d35d6: Download complete [2021-01-30T02:48:36.582Z] bca2f99d35d6: Pull complete [2021-01-30T02:48:36.582Z] 93359f2a8cfa: Pull complete [2021-01-30T02:48:36.582Z] 7c6f9722023f: Pull complete [2021-01-30T02:48:44.767Z] a35cf1a2eb13: Pull complete [2021-01-30T02:48:44.767Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-30T02:48:44.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-30T02:48:44.767Z] ---> a62c8e92a672 [2021-01-30T02:48:44.767Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:48:45.349Z] ---> Running in 559f621036aa [2021-01-30T02:48:45.613Z] Removing intermediate container 559f621036aa [2021-01-30T02:48:45.613Z] ---> bccd8fbe30e9 [2021-01-30T02:48:45.614Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:48:45.614Z] ---> Running in cfc884e9face [2021-01-30T02:48:47.021Z] Removing intermediate container cfc884e9face [2021-01-30T02:48:47.021Z] ---> ea1f4577dbf5 [2021-01-30T02:48:47.021Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:48:47.021Z] ---> Running in 8fa70e963c43 [2021-01-30T02:48:48.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:48:48.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:48:49.572Z] OK: 166 MiB in 39 packages [2021-01-30T02:48:49.836Z] Removing intermediate container 8fa70e963c43 [2021-01-30T02:48:49.836Z] ---> 3f65580d0994 [2021-01-30T02:48:49.836Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:48:50.099Z] ---> Running in 1c498f285780 [2021-01-30T02:48:50.100Z] Removing intermediate container 1c498f285780 [2021-01-30T02:48:50.100Z] ---> 0767238f9409 [2021-01-30T02:48:50.100Z] Step 7/8 : COPY . . [2021-01-30T02:48:51.493Z] ---> 8a3df6e7a4df [2021-01-30T02:48:51.493Z] Step 8/8 : RUN go mod download [2021-01-30T02:48:51.493Z] ---> Running in fe55729489cb [2021-01-30T02:48:53.058Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:49:09.721Z] Removing intermediate container fe55729489cb [2021-01-30T02:49:09.721Z] ---> 7e4455f93245 [2021-01-30T02:49:09.721Z] Successfully built 7e4455f93245 [2021-01-30T02:49:09.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:49:10.088Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:49:10.088Z] . [Pipeline] withDockerContainer [2021-01-30T02:49:10.385Z] prd-centos7-docker-4c-2g-24085 does not seem to be running inside a container [2021-01-30T02:49:10.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T02:49:11.323Z] $ docker top 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:49:11.804Z] + go version [2021-01-30T02:49:11.804Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-30T02:49:11.820Z] $ docker stop --time=1 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd [2021-01-30T02:49:13.181Z] $ docker rm -f 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:49:14.013Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:49:14.013Z] . [Pipeline] withDockerContainer [2021-01-30T02:49:14.117Z] prd-centos7-docker-4c-2g-24085 does not seem to be running inside a container [2021-01-30T02:49:14.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-30T02:49:14.873Z] $ docker top e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:49:15.449Z] + make test [2021-01-30T02:49:15.449Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:49:23.670Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:49:38.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:49:38.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:49:38.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:49:38.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements [2021-01-30T02:49:40.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:49:40.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:49:40.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:49:40.134Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 19.4% of statements [2021-01-30T02:49:40.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.451s coverage: 97.1% of statements [2021-01-30T02:49:46.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.310s coverage: 97.1% of statements [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.229s coverage: 43.6% of statements [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.285s coverage: 66.5% of statements [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 25.2% of statements [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.341s coverage: 83.5% of statements [2021-01-30T02:50:12.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-30T02:50:12.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:50:12.868Z] GO111MODULE=on go vet ./... [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.145s coverage: 9.4% of statements [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 21.7% of statements [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.670s coverage: 43.6% of statements [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.833s coverage: 66.5% of statements [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.232s coverage: 53.8% of statements [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 25.2% of statements [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.081s coverage: 83.5% of statements [2021-01-30T02:50:13.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements [2021-01-30T02:50:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:50:13.708Z] GO111MODULE=on go vet ./... [2021-01-30T02:50:21.114Z] gofmt -l . [2021-01-30T02:50:21.114Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:50:21.114Z] ./bin/test-attribution-txt.sh [2021-01-30T02:50:21.114Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:50:21.132Z] $ docker stop --time=1 e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 [2021-01-30T02:50:23.276Z] $ docker rm -f e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:50:23.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-30T02:50:24.390Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-30T02:50:25.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:50:25.924Z] + ls -al . [2021-01-30T02:50:25.924Z] total 216 [2021-01-30T02:50:25.924Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:50 . [2021-01-30T02:50:25.924Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 30 02:48 .. [2021-01-30T02:50:25.924Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:48 bin [2021-01-30T02:50:25.924Z] -rw-r--r--. 1 jenkins jenkins 138370 Jan 30 02:50 coverage.out [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:48 Dockerfile.build [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:48 .dockerignore [2021-01-30T02:50:25.924Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:48 example [2021-01-30T02:50:25.924Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:48 .git [2021-01-30T02:50:25.924Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:48 .github [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:48 .gitignore [2021-01-30T02:50:25.924Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:50 go.mod [2021-01-30T02:50:25.924Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:50 go.sum [2021-01-30T02:50:25.924Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:48 internal [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 30 02:48 Jenkinsfile [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:48 LICENSE [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:48 Makefile [2021-01-30T02:50:25.924Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:48 openapi [2021-01-30T02:50:25.924Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:48 pkg [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:48 README.md [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:48 RELEASE-NOTES.txt [2021-01-30T02:50:25.924Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:48 snap [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:43 VERSION [2021-01-30T02:50:25.924Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:50:26.230Z] + docker build -t docker-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=48807053613575e78c4fa610d360d65e6f880de1 --label arch=amd64 --label version=0.0.0 . [2021-01-30T02:50:26.493Z] Sending build context to Docker daemon 2.681MB [2021-01-30T02:50:26.493Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:50:26.493Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:50:26.493Z] ---> 7e4455f93245 [2021-01-30T02:50:26.493Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:50:27.069Z] ---> Running in b7f8bc5f9578 [2021-01-30T02:50:27.331Z] Removing intermediate container b7f8bc5f9578 [2021-01-30T02:50:27.331Z] ---> e3735a94cfcb [2021-01-30T02:50:27.331Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:50:27.331Z] ---> Running in aaaac5891ad0 [2021-01-30T02:50:27.593Z] Removing intermediate container aaaac5891ad0 [2021-01-30T02:50:27.593Z] ---> 208428d5f3ce [2021-01-30T02:50:27.593Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:50:27.593Z] ---> Running in d543b907a796 [2021-01-30T02:50:27.859Z] Removing intermediate container d543b907a796 [2021-01-30T02:50:27.859Z] ---> eae529a9caa9 [2021-01-30T02:50:27.859Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:50:27.859Z] ---> Running in 54ae43744e39 [2021-01-30T02:50:29.268Z] Removing intermediate container 54ae43744e39 [2021-01-30T02:50:29.268Z] ---> b53ecbc43cb9 [2021-01-30T02:50:29.269Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:50:29.269Z] ---> Running in 83b481ae6413 [2021-01-30T02:50:29.543Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:50:30.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:50:31.077Z] OK: 166 MiB in 39 packages [2021-01-30T02:50:31.340Z] Removing intermediate container 83b481ae6413 [2021-01-30T02:50:31.340Z] ---> a87b3d667e10 [2021-01-30T02:50:31.340Z] Step 8/24 : COPY . . [2021-01-30T02:50:32.735Z] ---> bae37031c718 [2021-01-30T02:50:32.735Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:50:32.735Z] ---> Running in 02a492522ed4 [2021-01-30T02:50:32.998Z] 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-01-30T02:50:41.301Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:50:43.871Z] Removing intermediate container 02a492522ed4 [2021-01-30T02:50:43.871Z] ---> b4a1457319d3 [2021-01-30T02:50:43.871Z] Step 10/24 : FROM scratch [2021-01-30T02:50:43.871Z] ---> [2021-01-30T02:50:43.871Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:50:43.871Z] ---> Running in 5078cd24b892 [2021-01-30T02:50:44.136Z] Removing intermediate container 5078cd24b892 [2021-01-30T02:50:44.136Z] ---> d732ca9215a9 [2021-01-30T02:50:44.136Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:50:44.136Z] ---> Running in 0cac436435d3 [2021-01-30T02:50:44.401Z] Removing intermediate container 0cac436435d3 [2021-01-30T02:50:44.401Z] ---> e5189dff49d0 [2021-01-30T02:50:44.401Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:50:44.401Z] ---> Running in 9ba06fb9ffc0 [2021-01-30T02:50:44.665Z] Removing intermediate container 9ba06fb9ffc0 [2021-01-30T02:50:44.665Z] ---> 45a5c13c8ce8 [2021-01-30T02:50:44.665Z] Step 14/24 : WORKDIR / [2021-01-30T02:50:44.665Z] ---> Running in 30a15020aff8 [2021-01-30T02:50:44.928Z] Removing intermediate container 30a15020aff8 [2021-01-30T02:50:44.928Z] ---> 29ac406e0979 [2021-01-30T02:50:44.928Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:50:45.504Z] ---> 429924f0ba05 [2021-01-30T02:50:45.504Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:50:45.504Z] ---> 4d25bbd5e547 [2021-01-30T02:50:45.504Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:50:45.767Z] ---> 719cac365ffd [2021-01-30T02:50:45.767Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:50:46.030Z] ---> 8fed0e9c3218 [2021-01-30T02:50:46.030Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:50:46.293Z] ---> ca38f62b2d54 [2021-01-30T02:50:46.293Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:50:46.293Z] ---> Running in 367b74b69442 [2021-01-30T02:50:46.555Z] Removing intermediate container 367b74b69442 [2021-01-30T02:50:46.555Z] ---> 4fbe0eeef3c2 [2021-01-30T02:50:46.555Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:50:46.555Z] ---> Running in e96be84efc81 [2021-01-30T02:50:46.818Z] Removing intermediate container e96be84efc81 [2021-01-30T02:50:46.818Z] ---> 489890618f20 [2021-01-30T02:50:46.818Z] Step 22/24 : LABEL arch=amd64 [2021-01-30T02:50:46.818Z] ---> Running in 4773de6333f9 [2021-01-30T02:50:47.080Z] Removing intermediate container 4773de6333f9 [2021-01-30T02:50:47.080Z] ---> 359f2a466b14 [2021-01-30T02:50:47.080Z] Step 23/24 : LABEL git_sha=48807053613575e78c4fa610d360d65e6f880de1 [2021-01-30T02:50:47.080Z] ---> Running in 4dffb08021ea [2021-01-30T02:50:47.080Z] Removing intermediate container 4dffb08021ea [2021-01-30T02:50:47.080Z] ---> 881fc0be305b [2021-01-30T02:50:47.080Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:50:47.343Z] ---> Running in a3ae0377b536 [2021-01-30T02:50:47.344Z] Removing intermediate container a3ae0377b536 [2021-01-30T02:50:47.344Z] ---> ea69b3e042b1 [2021-01-30T02:50:47.344Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:50:47.344Z] Successfully built ea69b3e042b1 [2021-01-30T02:50:47.344Z] Successfully tagged docker-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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-30T02:50:52.755Z] gofmt -l . [2021-01-30T02:50:52.755Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:50:52.755Z] ./bin/test-attribution-txt.sh [2021-01-30T02:50:52.755Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:50:52.795Z] $ docker stop --time=1 f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 [2021-01-30T02:50:55.151Z] $ docker rm -f f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:50:56.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-30T02:50:56.278Z] Warning: overwriting stash ‘coverage-report’ [2021-01-30T02:50:57.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:50:58.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:50:58.432Z] + ls -al . [2021-01-30T02:50:58.432Z] total 252 [2021-01-30T02:50:58.432Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:50 . [2021-01-30T02:50:58.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 .. [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:47 .dockerignore [2021-01-30T02:50:58.432Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:47 .git [2021-01-30T02:50:58.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:47 .github [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:47 .gitignore [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:47 Dockerfile.build [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 30 02:47 Jenkinsfile [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:47 LICENSE [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:47 Makefile [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:47 README.md [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:47 RELEASE-NOTES.txt [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:43 VERSION [2021-01-30T02:50:58.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:47 bin [2021-01-30T02:50:58.432Z] -rw-r--r-- 1 jenkins jenkins 138370 Jan 30 02:50 coverage.out [2021-01-30T02:50:58.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 example [2021-01-30T02:50:58.432Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:50 go.mod [2021-01-30T02:50:58.432Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:50 go.sum [2021-01-30T02:50:58.432Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:47 internal [2021-01-30T02:50:58.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 openapi [2021-01-30T02:50:58.432Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:47 pkg [2021-01-30T02:50:58.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 snap [2021-01-30T02:50:58.432Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:50:58.846Z] + docker build -t docker-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=48807053613575e78c4fa610d360d65e6f880de1 --label arch=arm64 --label version=0.0.0 . [2021-01-30T02:50:59.473Z] Sending build context to Docker daemon 2.68MB [2021-01-30T02:50:59.473Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:50:59.473Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:50:59.473Z] ---> 1d43edf84476 [2021-01-30T02:50:59.473Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:50:59.751Z] ---> Running in 99814a651e21 [2021-01-30T02:51:00.363Z] Removing intermediate container 99814a651e21 [2021-01-30T02:51:00.363Z] ---> 1091e90dbdc5 [2021-01-30T02:51:00.363Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:51:00.363Z] ---> Running in 2e70a5c2222e [2021-01-30T02:51:00.956Z] Removing intermediate container 2e70a5c2222e [2021-01-30T02:51:00.956Z] ---> fc33e2a54be9 [2021-01-30T02:51:00.956Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:51:00.956Z] ---> Running in 956a718b43ba [2021-01-30T02:51:01.550Z] Removing intermediate container 956a718b43ba [2021-01-30T02:51:01.550Z] ---> 7aa45a0d9deb [2021-01-30T02:51:01.550Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:51:01.550Z] ---> Running in 2ec4b7290761 [2021-01-30T02:51:03.521Z] Removing intermediate container 2ec4b7290761 [2021-01-30T02:51:03.521Z] ---> 2c4ae79b4b8b [2021-01-30T02:51:03.521Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:51:03.798Z] ---> Running in 604b4c8705ad [2021-01-30T02:51:04.780Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:51:05.375Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:51:06.355Z] OK: 142 MiB in 39 packages [2021-01-30T02:51:07.333Z] Removing intermediate container 604b4c8705ad [2021-01-30T02:51:07.333Z] ---> 97b6b9ced961 [2021-01-30T02:51:07.333Z] Step 8/24 : COPY . . [2021-01-30T02:51:08.767Z] ---> 69bdb5cd41d5 [2021-01-30T02:51:08.767Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:51:09.041Z] ---> Running in 9b961dceb5c7 [2021-01-30T02:51:10.022Z] 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-01-30T02:51:36.842Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:51:38.813Z] Removing intermediate container 9b961dceb5c7 [2021-01-30T02:51:38.813Z] ---> 30cb07203731 [2021-01-30T02:51:38.813Z] Step 10/24 : FROM scratch [2021-01-30T02:51:38.813Z] ---> [2021-01-30T02:51:38.813Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:51:38.813Z] ---> Running in 87035b8b57bf [2021-01-30T02:51:38.813Z] Removing intermediate container 87035b8b57bf [2021-01-30T02:51:38.813Z] ---> 72bc7d3fc1ce [2021-01-30T02:51:38.813Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:51:39.085Z] ---> Running in 567356659f71 [2021-01-30T02:51:39.685Z] Removing intermediate container 567356659f71 [2021-01-30T02:51:39.685Z] ---> 06e2cd2c55e6 [2021-01-30T02:51:39.685Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:51:39.685Z] ---> Running in 26222cbdbbfe [2021-01-30T02:51:39.959Z] Removing intermediate container 26222cbdbbfe [2021-01-30T02:51:39.959Z] ---> 5c1686333056 [2021-01-30T02:51:39.959Z] Step 14/24 : WORKDIR / [2021-01-30T02:51:40.230Z] ---> Running in 6711126fdd23 [2021-01-30T02:51:40.506Z] Removing intermediate container 6711126fdd23 [2021-01-30T02:51:40.506Z] ---> ddd4dd3df93d [2021-01-30T02:51:40.506Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:51:41.482Z] ---> e21c32fe3af7 [2021-01-30T02:51:41.482Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:51:42.080Z] ---> 2a11f0da5437 [2021-01-30T02:51:42.080Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:51:43.060Z] ---> 4c16f6ce37ba [2021-01-30T02:51:43.060Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:51:43.658Z] ---> 46a58be178d8 [2021-01-30T02:51:43.658Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:51:44.254Z] ---> cebad77ac301 [2021-01-30T02:51:44.254Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:51:44.527Z] ---> Running in 5d6585322a49 [2021-01-30T02:51:44.811Z] Removing intermediate container 5d6585322a49 [2021-01-30T02:51:44.811Z] ---> ec75e98f222f [2021-01-30T02:51:44.811Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:51:45.085Z] ---> Running in 5701804e6e82 [2021-01-30T02:51:45.359Z] Removing intermediate container 5701804e6e82 [2021-01-30T02:51:45.359Z] ---> fb446c9f4a66 [2021-01-30T02:51:45.359Z] Step 22/24 : LABEL arch=arm64 [2021-01-30T02:51:45.631Z] ---> Running in a5aa800119b9 [2021-01-30T02:51:46.223Z] Removing intermediate container a5aa800119b9 [2021-01-30T02:51:46.223Z] ---> e8434ca5e2ec [2021-01-30T02:51:46.223Z] Step 23/24 : LABEL git_sha=48807053613575e78c4fa610d360d65e6f880de1 [2021-01-30T02:51:46.223Z] ---> Running in b4ce88a3176b [2021-01-30T02:51:46.827Z] Removing intermediate container b4ce88a3176b [2021-01-30T02:51:46.827Z] ---> 8e7d38cd3824 [2021-01-30T02:51:46.827Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:51:46.827Z] ---> Running in ec37e7bbdbbe [2021-01-30T02:51:47.099Z] Removing intermediate container ec37e7bbdbbe [2021-01-30T02:51:47.099Z] ---> 41a797b8da72 [2021-01-30T02:51:47.099Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:51:47.099Z] Successfully built 41a797b8da72 [2021-01-30T02:51:47.099Z] Successfully tagged docker-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 [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-01-30T02:51:48.617Z] provisioning config files... [2021-01-30T02:51:48.632Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config7730117349246685152tmp [Pipeline] { [Pipeline] sh [2021-01-30T02:51:49.047Z] + set +x [2021-01-30T02:51:49.047Z] + curl -s https://codecov.io/bash [2021-01-30T02:51:49.047Z] + bash -s -- [2021-01-30T02:51:49.327Z] [2021-01-30T02:51:49.327Z] _____ _ [2021-01-30T02:51:49.327Z] / ____| | | [2021-01-30T02:51:49.327Z] | | ___ __| | ___ ___ _____ __ [2021-01-30T02:51:49.327Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-30T02:51:49.327Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-30T02:51:49.327Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-30T02:51:49.327Z] Bash-20210129-7c25fce [2021-01-30T02:51:49.327Z] [2021-01-30T02:51:49.327Z] [2021-01-30T02:51:49.327Z] ==> git version 2.24.3 found [2021-01-30T02:51:49.327Z] ==> 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-01-30T02:51:49.327Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-30T02:51:49.327Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-30T02:51:49.327Z] ==> Jenkins CI detected. [2021-01-30T02:51:49.327Z] project root: . [2021-01-30T02:51:49.327Z] --> token set from env [2021-01-30T02:51:49.327Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-30T02:51:49.600Z] ==> Running gcov in . (disable via -X gcov) [2021-01-30T02:51:49.600Z] ==> Python coveragepy not found [2021-01-30T02:51:49.600Z] ==> Searching for coverage reports in: [2021-01-30T02:51:49.600Z] + . [2021-01-30T02:51:49.600Z] -> Found 1 reports [2021-01-30T02:51:49.600Z] ==> Detecting git/mercurial file structure [2021-01-30T02:51:49.600Z] ==> Reading reports [2021-01-30T02:51:49.600Z] + ./coverage.out bytes=138370 [2021-01-30T02:51:49.600Z] ==> Appending adjustments [2021-01-30T02:51:49.600Z] https://docs.codecov.io/docs/fixing-reports [2021-01-30T02:51:50.179Z] + Found adjustments [2021-01-30T02:51:50.179Z] ==> Gzipping contents [2021-01-30T02:51:50.179Z] 24K /tmp/codecov.LVrp2b.gz [2021-01-30T02:51:50.179Z] ==> Uploading reports [2021-01-30T02:51:50.179Z] url: https://codecov.io [2021-01-30T02:51:50.179Z] query: branch=PR-732&commit=48807053613575e78c4fa610d360d65e6f880de1&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-30T02:51:50.179Z] -> Pinging Codecov [2021-01-30T02:51:50.179Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-732&commit=48807053613575e78c4fa610d360d65e6f880de1&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= [2021-01-30T02:51:50.771Z] -> Uploading to [2021-01-30T02:51:50.771Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/48807053613575e78c4fa610d360d65e6f880de1/f98e277d-114a-4a4c-91db-037a4edf7ddd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=223e75ba2091cbe29cab4dcbbf1753554a623ca68ec513873d8a23345239850a [2021-01-30T02:51:50.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-30T02:51:50.771Z] Dload Upload Total Spent Left Speed [2021-01-30T02:51:51.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21732 0 0 100 21732 0 42411 --:--:-- --:--:-- --:--:-- 42362 100 21732 0 0 100 21732 0 42380 --:--:-- --:--:-- --:--:-- 42362 [2021-01-30T02:51:51.351Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] } [2021-01-30T02:51:51.363Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-30T02:51:53.910Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:54.506Z] ---> package-listing.sh [2021-01-30T02:51:54.506Z] ++ facter osfamily [2021-01-30T02:51:54.506Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-30T02:51:54.784Z] + OS_FAMILY=redhat [2021-01-30T02:51:54.784Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 [2021-01-30T02:51:54.784Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-30T02:51:54.784Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-30T02:51:54.784Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-30T02:51:54.784Z] + PACKAGES=/tmp/packages_start.txt [2021-01-30T02:51:54.784Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-30T02:51:54.784Z] + PACKAGES=/tmp/packages_end.txt [2021-01-30T02:51:54.784Z] + case "${OS_FAMILY}" in [2021-01-30T02:51:54.784Z] + rpm -qa [2021-01-30T02:51:54.784Z] + sort [2021-01-30T02:52:01.583Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-30T02:52:01.583Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-30T02:52:01.583Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-30T02:52:01.583Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' [2021-01-30T02:52:01.583Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [2021-01-30T02:52:01.583Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo [2021-01-30T02:52:01.872Z] 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-30T02:52:02.292Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:52:02.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:52:03.176Z] [2021-01-30T02:52:03.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:52:03.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:52:03.573Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-30T02:52:03.573Z] df20fa9351a1: Pulling fs layer [2021-01-30T02:52:03.573Z] 36b3adc4ff6f: Pulling fs layer [2021-01-30T02:52:03.573Z] 8ad3a11d3b57: Pulling fs layer [2021-01-30T02:52:03.573Z] 46f8f816bc3b: Pulling fs layer [2021-01-30T02:52:03.573Z] 93b61091891f: Pulling fs layer [2021-01-30T02:52:03.573Z] 93b9cdb0e59b: Pulling fs layer [2021-01-30T02:52:03.574Z] 5e14af77c1be: Pulling fs layer [2021-01-30T02:52:03.574Z] 01666e4c0597: Pulling fs layer [2021-01-30T02:52:03.574Z] aa168da1d23b: Pulling fs layer [2021-01-30T02:52:03.574Z] 93b9cdb0e59b: Waiting [2021-01-30T02:52:03.574Z] 5e14af77c1be: Waiting [2021-01-30T02:52:03.574Z] 01666e4c0597: Waiting [2021-01-30T02:52:03.574Z] aa168da1d23b: Waiting [2021-01-30T02:52:03.574Z] 46f8f816bc3b: Waiting [2021-01-30T02:52:03.574Z] 93b61091891f: Waiting [2021-01-30T02:52:03.866Z] 36b3adc4ff6f: Verifying Checksum [2021-01-30T02:52:03.866Z] 36b3adc4ff6f: Download complete [2021-01-30T02:52:03.866Z] 46f8f816bc3b: Download complete [2021-01-30T02:52:03.866Z] df20fa9351a1: Download complete [2021-01-30T02:52:03.866Z] 93b9cdb0e59b: Download complete [2021-01-30T02:52:03.866Z] 5e14af77c1be: Verifying Checksum [2021-01-30T02:52:03.866Z] 5e14af77c1be: Download complete [2021-01-30T02:52:03.866Z] 01666e4c0597: Download complete [2021-01-30T02:52:03.866Z] 93b61091891f: Verifying Checksum [2021-01-30T02:52:03.866Z] 93b61091891f: Download complete [2021-01-30T02:52:04.490Z] 8ad3a11d3b57: Verifying Checksum [2021-01-30T02:52:04.490Z] 8ad3a11d3b57: Download complete [2021-01-30T02:52:04.490Z] df20fa9351a1: Pull complete [2021-01-30T02:52:05.108Z] 36b3adc4ff6f: Pull complete [2021-01-30T02:52:06.752Z] 8ad3a11d3b57: Pull complete [2021-01-30T02:52:07.054Z] 46f8f816bc3b: Pull complete [2021-01-30T02:52:08.154Z] 93b61091891f: Pull complete [2021-01-30T02:52:08.154Z] 93b9cdb0e59b: Pull complete [2021-01-30T02:52:08.475Z] 5e14af77c1be: Pull complete [2021-01-30T02:52:08.768Z] 01666e4c0597: Pull complete [2021-01-30T02:52:09.392Z] aa168da1d23b: Verifying Checksum [2021-01-30T02:52:09.392Z] aa168da1d23b: Download complete [2021-01-30T02:52:21.928Z] aa168da1d23b: Pull complete [2021-01-30T02:52:21.928Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-30T02:52:21.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:52:21.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-30T02:52:22.284Z] prd-centos7-docker-4c-2g-24079 does not seem to be running inside a container [2021-01-30T02:52:22.395Z] $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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-01-30T02:52:26.445Z] $ docker top 875cb6996ba5fd7545c6176d8b62be508e02088188aa8c7dc90aa99dfddfcca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:52:27.151Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-30T02:52:27.491Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-30T02:52:27.831Z] + ls /var/log/sa-host [2021-01-30T02:52:27.832Z] + sadf -c /var/log/sa-host/sa23 [2021-01-30T02:52:27.832Z] file_magic: OK [2021-01-30T02:52:27.832Z] HZ: Using current value: 100 [2021-01-30T02:52:27.832Z] file_header: OK [2021-01-30T02:52:27.832Z] 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-01-30T02:52:27.832Z] Statistics: [2021-01-30T02:52:27.832Z] Hnuu...uuuununununu... [2021-01-30T02:52:27.832Z] File successfully converted to sysstat format version 12.2.1 [2021-01-30T02:52:27.832Z] + sadf -c /var/log/sa-host/sa30 [2021-01-30T02:52:27.832Z] file_magic: OK [2021-01-30T02:52:27.832Z] HZ: Using current value: 100 [2021-01-30T02:52:27.832Z] file_header: OK [2021-01-30T02:52:27.832Z] 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-01-30T02:52:27.832Z] Statistics: [2021-01-30T02:52:27.832Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-30T02:52:27.832Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-30T02:52:28.037Z] provisioning config files... [2021-01-30T02:52:28.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6405657487415046512tmp [Pipeline] { [Pipeline] echo [2021-01-30T02:52:28.135Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:52:28.479Z] ---> create-netrc.sh [Pipeline] } [2021-01-30T02:52:28.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-30T02:52:28.588Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:52:28.911Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-30T02:52:28.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:52:29.284Z] ---> sudo-logs.sh [2021-01-30T02:52:29.284Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-30T02:52:29.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:52:30.135Z] ---> job-cost.sh [2021-01-30T02:52:30.135Z] lf-activate-venv: SKIPPING [2021-01-30T02:52:30.135Z] INFO: No Stack... [2021-01-30T02:52:31.134Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-30T02:52:31.714Z] INFO: Archiving Costs [Pipeline] echo [2021-01-30T02:52:31.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:52:32.046Z] ---> logs-deploy.sh [2021-01-30T02:52:32.046Z] lf-activate-venv: SKIPPING [2021-01-30T02:52:32.046Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/9 [2021-01-30T02:52:32.046Z] INFO: archiving workspace using pattern(s): [2021-01-30T02:52:35.056Z] Archives upload complete. [2021-01-30T02:52:35.056Z] INFO: archiving logs to Nexus