Pull request #710 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e0d0a96e3e310c273e1c8f98aeacde55ee940b3a+42e5a1ea61e0adb23423a933a3224d1395f33e87 (b7625ef15371c2df1d8c7d29e3db3acc68580416) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-710/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-710/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17870 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [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-710 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) > 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/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-31T05:38:56.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-31T05:38:56.874Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-31T05:38:57.086Z] ========================================================= [2020-12-31T05:38:57.086Z] EdgeX Global Pipelines Version Info [2020-12-31T05:38:57.086Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:38:58.650Z] ------------------- [2020-12-31T05:38:58.650Z] stable info: [2020-12-31T05:38:58.650Z] ------------------- [2020-12-31T05:38:58.650Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-31T05:38:58.650Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T05:38:58.650Z] Message: update stable to v1.0.173 [2020-12-31T05:38:59.596Z] ------------------- [2020-12-31T05:38:59.596Z] experimental info: [2020-12-31T05:38:59.596Z] ------------------- [2020-12-31T05:38:59.596Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-31T05:38:59.596Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T05:38:59.596Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-31T05:38:59.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-31T05:39:00.107Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-31T05:39:00.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-31T05:39:00.376Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-31T05:39:00.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-31T05:39:00.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-31T05:39:00.750Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-31T05:39:00.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-31T05:39:01.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-31T05:39:01.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-31T05:39:01.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-31T05:39:01.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-31T05:39:01.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-31T05:39:01.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-31T05:39:01.804Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-31T05:39:01.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:02.120Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:02.263Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:02.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-31T05:39:02.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-31T05:39:02.711Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-31T05:39:02.855Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-31T05:39:03.103Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-31T05:39:03.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-31T05:39:03.447Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-31T05:39:03.598Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-31T05:39:03.795Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-31T05:39:03.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-710 [Pipeline] echo [2020-12-31T05:39:04.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-710 [Pipeline] echo [2020-12-31T05:39:04.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-710 [Pipeline] echo [2020-12-31T05:39:04.359Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] echo [2020-12-31T05:39:04.482Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0d0a96 [Pipeline] echo [2020-12-31T05:39:04.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T05:39:04.875Z] provisioning config files... [2020-12-31T05:39:04.910Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config4605104730133610062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:39:05.339Z] ---> docker-login.sh [2020-12-31T05:39:05.339Z] nexus3.edgexfoundry.org:10001 [2020-12-31T05:39:05.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:05.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:05.869Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:05.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:05.869Z] [2020-12-31T05:39:05.869Z] Login Succeeded [2020-12-31T05:39:05.869Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:39:05.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:06.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:06.132Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:06.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:06.132Z] [2020-12-31T05:39:06.132Z] Login Succeeded [2020-12-31T05:39:06.132Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:39:06.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:06.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:06.132Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:06.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:06.132Z] [2020-12-31T05:39:06.132Z] Login Succeeded [2020-12-31T05:39:06.132Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:39:06.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:06.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:06.395Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:06.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:06.395Z] [2020-12-31T05:39:06.395Z] Login Succeeded [2020-12-31T05:39:06.395Z] docker.io [2020-12-31T05:39:06.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:06.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:06.663Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:06.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:06.663Z] [2020-12-31T05:39:06.663Z] Login Succeeded [2020-12-31T05:39:06.663Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:39:06.695Z] 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 [2020-12-31T05:39:07.777Z] + git log --format=format:%s -1 e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] echo [2020-12-31T05:39:07.873Z] GIT_COMMIT: e0d0a96e3e310c273e1c8f98aeacde55ee940b3a, Commit Message: build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3 [Pipeline] echo [2020-12-31T05:39:07.948Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:39:08.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:08.972Z] [2020-12-31T05:39:08.972Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:39:09.358Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:09.358Z] latest: Pulling from edgex-devops/git-semver [2020-12-31T05:39:09.358Z] 31603596830f: Pulling fs layer [2020-12-31T05:39:09.358Z] 2a8b12db71e7: Pulling fs layer [2020-12-31T05:39:09.358Z] 6ca5941a6612: Pulling fs layer [2020-12-31T05:39:09.358Z] ecc8261a40a4: Pulling fs layer [2020-12-31T05:39:09.358Z] ecc8261a40a4: Waiting [2020-12-31T05:39:09.358Z] 2a8b12db71e7: Verifying Checksum [2020-12-31T05:39:09.622Z] 31603596830f: Verifying Checksum [2020-12-31T05:39:09.622Z] 31603596830f: Download complete [2020-12-31T05:39:09.622Z] 6ca5941a6612: Verifying Checksum [2020-12-31T05:39:09.622Z] 6ca5941a6612: Download complete [2020-12-31T05:39:09.622Z] ecc8261a40a4: Verifying Checksum [2020-12-31T05:39:09.622Z] ecc8261a40a4: Download complete [2020-12-31T05:39:09.884Z] 31603596830f: Pull complete [2020-12-31T05:39:10.146Z] 2a8b12db71e7: Pull complete [2020-12-31T05:39:10.724Z] 6ca5941a6612: Pull complete [2020-12-31T05:39:11.683Z] ecc8261a40a4: Pull complete [2020-12-31T05:39:11.683Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-31T05:39:11.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:11.683Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-31T05:39:11.808Z] prd-centos7-docker-4c-2g-17870 does not seem to be running inside a container [2020-12-31T05:39:11.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-31T05:39:13.567Z] $ docker top deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-31T05:39:13.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T05:39:13.931Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T05:39:14.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T05:39:14.152Z] $ docker exec deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent [2020-12-31T05:39:14.316Z] SSH_AUTH_SOCK=/tmp/ssh-tBcx00JHlPL1/agent.11 [2020-12-31T05:39:14.316Z] SSH_AGENT_PID=16 [2020-12-31T05:39:14.325Z] Running ssh-add (command line suppressed) [2020-12-31T05:39:14.440Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_6082328304027478677.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_6082328304027478677.key) [2020-12-31T05:39:14.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T05:39:14.882Z] + git tag --points-at HEAD [Pipeline] } [2020-12-31T05:39:14.913Z] $ docker exec --env ******** --env ******** deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent -k [2020-12-31T05:39:15.029Z] unset SSH_AUTH_SOCK; [2020-12-31T05:39:15.030Z] unset SSH_AGENT_PID; [2020-12-31T05:39:15.030Z] echo Agent pid 16 killed; [2020-12-31T05:39:15.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-31T05:39:15.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T05:39:15.271Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T05:39:15.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T05:39:15.433Z] $ docker exec deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent [2020-12-31T05:39:15.588Z] SSH_AUTH_SOCK=/tmp/ssh-WYRkKy6b3HNY/agent.44 [2020-12-31T05:39:15.588Z] SSH_AGENT_PID=49 [2020-12-31T05:39:15.597Z] Running ssh-add (command line suppressed) [2020-12-31T05:39:15.709Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_1718122235609968221.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_1718122235609968221.key) [2020-12-31T05:39:15.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T05:39:16.138Z] + git semver init [2020-12-31T05:39:16.138Z] # -> Open(): unable to determine branch for HEAD [2020-12-31T05:39:16.138Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.git [2020-12-31T05:39:16.138Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-710 [2020-12-31T05:39:16.138Z] # $SEMVER_REMOTE_NAME = origin [2020-12-31T05:39:16.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-31T05:39:16.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-31T05:39:16.138Z] # $SEMVER_BRANCH = PR-710 [2020-12-31T05:39:16.138Z] # $SEMVER_TEMP = /tmp/semver-085304684 [2020-12-31T05:39:16.138Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-31T05:39:16.717Z] # '/tmp/semver-085304684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver' [2020-12-31T05:39:16.717Z] # -> Force: false [2020-12-31T05:39:16.717Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver [Pipeline] } [2020-12-31T05:39:16.739Z] $ docker exec --env ******** --env ******** deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent -k [2020-12-31T05:39:16.852Z] unset SSH_AUTH_SOCK; [2020-12-31T05:39:16.853Z] unset SSH_AGENT_PID; [2020-12-31T05:39:16.853Z] echo Agent pid 49 killed; [2020-12-31T05:39:16.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-31T05:39:17.452Z] + git semver [Pipeline] } [2020-12-31T05:39:17.485Z] $ docker stop --time=1 deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 [2020-12-31T05:39:18.825Z] $ docker rm -f deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-31T05:39:19.357Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-31T05:39:19.821Z] Stashed 1 file(s) [Pipeline] echo [2020-12-31T05:39:19.863Z] [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 [2020-12-31T05:39:35.678Z] Still waiting to schedule task [2020-12-31T05:39:35.679Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17871’ is offline [2020-12-31T05:39:35.714Z] Still waiting to schedule task [2020-12-31T05:39:35.714Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-31T05:40:58.055Z] Running on prd-centos7-docker-4c-2g-17874 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [Pipeline] { [Pipeline] ws [2020-12-31T05:40:58.181Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T05:41:00.730Z] using credential edgex-jenkins-ssh [2020-12-31T05:41:00.778Z] Cloning the remote Git repository [2020-12-31T05:41:00.266Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:00.338Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-31T05:41:00.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:00.403Z] > git --version # timeout=10 [2020-12-31T05:41:00.411Z] > git --version # 'git version 2.24.3' [2020-12-31T05:41:00.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:00.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:02.173Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:41:02.293Z] Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:41:02.294Z] Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) [2020-12-31T05:41:01.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:01.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:01.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:01.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:01.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:01.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T05:41:01.754Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:01.762Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2020-12-31T05:41:01.835Z] > git remote # timeout=10 [2020-12-31T05:41:01.842Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T05:41:01.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:01.856Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T05:41:01.867Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T05:41:01.878Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:01.885Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2020-12-31T05:41:05.712Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" [2020-12-31T05:41:05.606Z] > git --version # timeout=10 [2020-12-31T05:41:05.611Z] > git --version # 'git version 2.24.3' [2020-12-31T05:41:05.616Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T05:41:07.259Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:41:07.607Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:41:07.931Z] + sudo service docker restart [2020-12-31T05:41:07.932Z] + true [2020-12-31T05:41:07.932Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T05:41:09.471Z] provisioning config files... [2020-12-31T05:41:09.495Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2789803258960934016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:41:09.915Z] ---> docker-login.sh [2020-12-31T05:41:09.915Z] nexus3.edgexfoundry.org:10001 [2020-12-31T05:41:10.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:10.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:10.441Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:10.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:10.441Z] [2020-12-31T05:41:10.441Z] Login Succeeded [2020-12-31T05:41:10.441Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:41:10.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:10.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:10.704Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:10.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:10.704Z] [2020-12-31T05:41:10.704Z] Login Succeeded [2020-12-31T05:41:10.704Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:41:10.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:10.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:10.704Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:10.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:10.704Z] [2020-12-31T05:41:10.704Z] Login Succeeded [2020-12-31T05:41:10.704Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:41:10.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:10.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:10.966Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:10.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:10.966Z] [2020-12-31T05:41:10.966Z] Login Succeeded [2020-12-31T05:41:10.966Z] docker.io [2020-12-31T05:41:10.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:11.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:11.228Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:11.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:11.228Z] [2020-12-31T05:41:11.228Z] Login Succeeded [2020-12-31T05:41:11.228Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:41:11.272Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T05:41:11.893Z] ========================================================= [2020-12-31T05:41:11.893Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-31T05:41:11.893Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:41:12.286Z] + 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 . [2020-12-31T05:41:12.560Z] Sending build context to Docker daemon 2.424MB [2020-12-31T05:41:12.560Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T05:41:12.560Z] Step 2/8 : FROM ${BASE} [2020-12-31T05:41:12.560Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-31T05:41:12.560Z] 188c0c94c7c5: Pulling fs layer [2020-12-31T05:41:12.560Z] 0ef7d3d256c8: Pulling fs layer [2020-12-31T05:41:12.560Z] de9db76c5a1d: Pulling fs layer [2020-12-31T05:41:12.560Z] bca2f99d35d6: Pulling fs layer [2020-12-31T05:41:12.560Z] 93359f2a8cfa: Pulling fs layer [2020-12-31T05:41:12.560Z] 7c6f9722023f: Pulling fs layer [2020-12-31T05:41:12.560Z] a35cf1a2eb13: Pulling fs layer [2020-12-31T05:41:12.560Z] 93359f2a8cfa: Waiting [2020-12-31T05:41:12.560Z] 7c6f9722023f: Waiting [2020-12-31T05:41:12.560Z] a35cf1a2eb13: Waiting [2020-12-31T05:41:12.560Z] bca2f99d35d6: Waiting [2020-12-31T05:41:12.560Z] de9db76c5a1d: Verifying Checksum [2020-12-31T05:41:12.560Z] de9db76c5a1d: Download complete [2020-12-31T05:41:12.560Z] 0ef7d3d256c8: Download complete [2020-12-31T05:41:12.560Z] 93359f2a8cfa: Verifying Checksum [2020-12-31T05:41:12.560Z] 93359f2a8cfa: Download complete [2020-12-31T05:41:12.560Z] 7c6f9722023f: Verifying Checksum [2020-12-31T05:41:12.560Z] 7c6f9722023f: Download complete [2020-12-31T05:41:12.560Z] 188c0c94c7c5: Verifying Checksum [2020-12-31T05:41:12.560Z] 188c0c94c7c5: Download complete [2020-12-31T05:41:12.825Z] 188c0c94c7c5: Pull complete [2020-12-31T05:41:13.087Z] 0ef7d3d256c8: Pull complete [2020-12-31T05:41:13.087Z] de9db76c5a1d: Pull complete [2020-12-31T05:41:15.660Z] a35cf1a2eb13: Verifying Checksum [2020-12-31T05:41:15.660Z] a35cf1a2eb13: Download complete [2020-12-31T05:41:15.660Z] bca2f99d35d6: Verifying Checksum [2020-12-31T05:41:15.660Z] bca2f99d35d6: Download complete [2020-12-31T05:41:21.008Z] bca2f99d35d6: Pull complete [2020-12-31T05:41:21.601Z] 93359f2a8cfa: Pull complete [2020-12-31T05:41:21.601Z] 7c6f9722023f: Pull complete [2020-12-31T05:41:25.837Z] a35cf1a2eb13: Pull complete [2020-12-31T05:41:25.837Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-31T05:41:25.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-31T05:41:25.837Z] ---> a62c8e92a672 [2020-12-31T05:41:25.837Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:41:25.837Z] ---> Running in a0e6baf65e07 [2020-12-31T05:41:25.837Z] Removing intermediate container a0e6baf65e07 [2020-12-31T05:41:25.837Z] ---> 2e317923841d [2020-12-31T05:41:25.837Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:41:25.837Z] ---> Running in d67dffd322ad [2020-12-31T05:41:27.233Z] Removing intermediate container d67dffd322ad [2020-12-31T05:41:27.233Z] ---> 0fec86873269 [2020-12-31T05:41:27.233Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T05:41:27.233Z] ---> Running in aeb4629d159f [2020-12-31T05:41:27.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-31T05:41:28.077Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-31T05:41:28.660Z] OK: 166 MiB in 39 packages [2020-12-31T05:41:28.926Z] Removing intermediate container aeb4629d159f [2020-12-31T05:41:28.927Z] ---> d9c93a9141fb [2020-12-31T05:41:28.927Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T05:41:29.197Z] ---> Running in 20c4df45a87d [2020-12-31T05:41:29.197Z] Removing intermediate container 20c4df45a87d [2020-12-31T05:41:29.197Z] ---> 2ed3ee44fac8 [2020-12-31T05:41:29.197Z] Step 7/8 : COPY . . [2020-12-31T05:41:30.593Z] ---> 9b4338d4e43c [2020-12-31T05:41:30.593Z] Step 8/8 : RUN go mod download [2020-12-31T05:41:30.857Z] ---> Running in be9c30c0a90a [2020-12-31T05:41:37.752Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17873 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [Pipeline] { [Pipeline] ws [2020-12-31T05:41:37.852Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T05:41:43.226Z] using credential edgex-jenkins-ssh [2020-12-31T05:41:43.280Z] Cloning the remote Git repository [2020-12-31T05:41:43.339Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:43.449Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-31T05:41:43.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:43.525Z] > git --version # timeout=10 [2020-12-31T05:41:43.548Z] > git --version # 'git version 2.17.1' [2020-12-31T05:41:43.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:43.602Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:45.356Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:41:44.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:44.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:44.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:44.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:44.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:44.867Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T05:41:45.389Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:45.408Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2020-12-31T05:41:45.768Z] Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:41:45.769Z] Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) [2020-12-31T05:41:45.560Z] > git remote # timeout=10 [2020-12-31T05:41:45.591Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T05:41:45.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:45.639Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T05:41:45.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T05:41:45.780Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:45.798Z] > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 [2020-12-31T05:41:50.045Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" [2020-12-31T05:41:50.107Z] > git --version # timeout=10 [2020-12-31T05:41:50.124Z] > git --version # 'git version 2.17.1' [2020-12-31T05:41:50.133Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T05:41:51.794Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:41:53.399Z] Removing intermediate container be9c30c0a90a [2020-12-31T05:41:53.399Z] ---> 4e45081df4b5 [2020-12-31T05:41:53.399Z] Successfully built 4e45081df4b5 [2020-12-31T05:41:53.399Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-31T05:41:53.405Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:41:53.768Z] + sudo service docker restart [2020-12-31T05:41:53.768Z] + true [2020-12-31T05:41:53.893Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T05:41:53.893Z] . [Pipeline] withDockerContainer [2020-12-31T05:41:54.033Z] prd-centos7-docker-4c-2g-17874 does not seem to be running inside a container [2020-12-31T05:41:54.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-31T05:41:54.949Z] $ docker top e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:41:55.607Z] + go version [2020-12-31T05:41:55.607Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-31T05:41:55.639Z] $ docker stop --time=1 e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b [2020-12-31T05:41:57.025Z] $ docker rm -f e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap [2020-12-31T05:41:57.511Z] provisioning config files... [2020-12-31T05:41:57.556Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config78982566191122555tmp [Pipeline] // stage [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-12-31T05:41:58.086Z] ---> docker-login.sh [2020-12-31T05:41:58.086Z] nexus3.edgexfoundry.org:10001 [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:41:58.443Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T05:41:58.443Z] . [Pipeline] withDockerContainer [2020-12-31T05:41:58.569Z] prd-centos7-docker-4c-2g-17874 does not seem to be running inside a container [2020-12-31T05:41:58.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-31T05:41:59.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:59.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:59.344Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:59.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:59.344Z] [2020-12-31T05:41:59.344Z] Login Succeeded [2020-12-31T05:41:59.344Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:41:59.388Z] $ docker top da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:41:59.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:59.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:59.947Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:59.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:59.947Z] [2020-12-31T05:41:59.947Z] Login Succeeded [2020-12-31T05:41:59.947Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:41:59.953Z] + make test [2020-12-31T05:41:59.953Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-31T05:42:00.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:42:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:42:00.509Z] Configure a credential helper to remove this warning. See [2020-12-31T05:42:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:42:00.509Z] [2020-12-31T05:42:00.509Z] Login Succeeded [2020-12-31T05:42:00.509Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:42:00.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:42:01.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:42:01.070Z] Configure a credential helper to remove this warning. See [2020-12-31T05:42:01.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:42:01.070Z] [2020-12-31T05:42:01.070Z] Login Succeeded [2020-12-31T05:42:01.070Z] docker.io [2020-12-31T05:42:01.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:42:01.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:42:01.620Z] Configure a credential helper to remove this warning. See [2020-12-31T05:42:01.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:42:01.620Z] [2020-12-31T05:42:01.620Z] Login Succeeded [2020-12-31T05:42:01.903Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:42:01.976Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T05:42:02.625Z] ========================================================= [2020-12-31T05:42:02.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-31T05:42:02.626Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:42:03.051Z] + 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 . [2020-12-31T05:42:03.662Z] Sending build context to Docker daemon 2.421MB [2020-12-31T05:42:03.662Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T05:42:03.662Z] Step 2/8 : FROM ${BASE} [2020-12-31T05:42:03.662Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-31T05:42:03.662Z] 5f621e34cdf4: Pulling fs layer [2020-12-31T05:42:03.662Z] a4357932f1b6: Pulling fs layer [2020-12-31T05:42:03.662Z] 18c013af1878: Pulling fs layer [2020-12-31T05:42:03.662Z] 00ac8860ef70: Pulling fs layer [2020-12-31T05:42:03.662Z] 63d7cb157983: Pulling fs layer [2020-12-31T05:42:03.662Z] b116817d02f9: Pulling fs layer [2020-12-31T05:42:03.662Z] 745a02a5169b: Pulling fs layer [2020-12-31T05:42:03.662Z] 00ac8860ef70: Waiting [2020-12-31T05:42:03.662Z] 63d7cb157983: Waiting [2020-12-31T05:42:03.662Z] b116817d02f9: Waiting [2020-12-31T05:42:03.662Z] 745a02a5169b: Waiting [2020-12-31T05:42:03.662Z] a4357932f1b6: Download complete [2020-12-31T05:42:03.662Z] 18c013af1878: Verifying Checksum [2020-12-31T05:42:03.662Z] 18c013af1878: Download complete [2020-12-31T05:42:03.662Z] 63d7cb157983: Verifying Checksum [2020-12-31T05:42:03.662Z] 63d7cb157983: Download complete [2020-12-31T05:42:03.662Z] 5f621e34cdf4: Verifying Checksum [2020-12-31T05:42:03.662Z] 5f621e34cdf4: Download complete [2020-12-31T05:42:03.662Z] b116817d02f9: Verifying Checksum [2020-12-31T05:42:03.662Z] b116817d02f9: Download complete [2020-12-31T05:42:04.685Z] 5f621e34cdf4: Pull complete [2020-12-31T05:42:05.302Z] a4357932f1b6: Pull complete [2020-12-31T05:42:05.576Z] 18c013af1878: Pull complete [2020-12-31T05:42:05.849Z] 745a02a5169b: Verifying Checksum [2020-12-31T05:42:05.849Z] 745a02a5169b: Download complete [2020-12-31T05:42:06.701Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-31T05:42:07.280Z] 00ac8860ef70: Verifying Checksum [2020-12-31T05:42:07.280Z] 00ac8860ef70: Download complete [2020-12-31T05:42:17.464Z] 00ac8860ef70: Pull complete [2020-12-31T05:42:18.059Z] 63d7cb157983: Pull complete [2020-12-31T05:42:18.335Z] b116817d02f9: Pull complete [2020-12-31T05:42:21.754Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-31T05:42:21.754Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-31T05:42:21.754Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-31T05:42:22.352Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 19.4% of statements [2020-12-31T05:42:22.653Z] 745a02a5169b: Pull complete [2020-12-31T05:42:22.653Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-31T05:42:22.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-31T05:42:22.653Z] ---> b7e6874047d6 [2020-12-31T05:42:22.653Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:42:24.296Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.484s coverage: 97.1% of statements [2020-12-31T05:42:25.294Z] ---> Running in d2f4ea5d1f3a [2020-12-31T05:42:25.568Z] Removing intermediate container d2f4ea5d1f3a [2020-12-31T05:42:25.568Z] ---> 0071621539fa [2020-12-31T05:42:25.568Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:42:25.847Z] ---> Running in d46818d2ebd7 [2020-12-31T05:42:28.473Z] Removing intermediate container d46818d2ebd7 [2020-12-31T05:42:28.473Z] ---> 005d9f4d6d69 [2020-12-31T05:42:28.473Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T05:42:28.473Z] ---> Running in 8f8e05426757 [2020-12-31T05:42:29.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-31T05:42:30.045Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-31T05:42:31.016Z] OK: 142 MiB in 39 packages [2020-12-31T05:42:31.992Z] Removing intermediate container 8f8e05426757 [2020-12-31T05:42:31.992Z] ---> 4974399d4104 [2020-12-31T05:42:31.992Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T05:42:32.266Z] ---> Running in 43e1e9e57e4e [2020-12-31T05:42:32.541Z] Removing intermediate container 43e1e9e57e4e [2020-12-31T05:42:32.541Z] ---> 6b23e3d75ad7 [2020-12-31T05:42:32.541Z] Step 7/8 : COPY . . [2020-12-31T05:42:33.986Z] ---> c5c28f616e21 [2020-12-31T05:42:33.986Z] Step 8/8 : RUN go mod download [2020-12-31T05:42:33.986Z] ---> Running in b20a75c945c2 [2020-12-31T05:42:56.248Z] Removing intermediate container b20a75c945c2 [2020-12-31T05:42:56.248Z] ---> 7e9d6d340013 [2020-12-31T05:42:56.248Z] Successfully built 7e9d6d340013 [2020-12-31T05:42:56.248Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.9% of statements [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.248s coverage: 42.5% of statements [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 68.9% of statements [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 53.8% of statements [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.737s coverage: 68.9% of statements [2020-12-31T05:42:56.466Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.076s coverage: 4.2% of statements [2020-12-31T05:42:56.466Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-31T05:42:56.466Z] GO111MODULE=on go vet ./... [2020-12-31T05:42:56.629Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T05:42:56.629Z] . [Pipeline] withDockerContainer [2020-12-31T05:42:56.886Z] prd-ubuntu18.04-docker-arm64-4c-16g-17873 does not seem to be running inside a container [2020-12-31T05:42:56.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-31T05:42:58.536Z] $ docker top f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:42:59.579Z] + go version [2020-12-31T05:42:59.579Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-31T05:42:59.637Z] $ docker stop --time=1 f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee [2020-12-31T05:43:02.281Z] $ docker rm -f f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-12-31T05:43:03.163Z] gofmt -l . [2020-12-31T05:43:03.163Z] [ "`gofmt -l .`" = "" ] [2020-12-31T05:43:03.163Z] ./bin/test-attribution-txt.sh [2020-12-31T05:43:03.163Z] ./bin/test-go-mod-tidy.sh [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2020-12-31T05:43:03.464Z] $ docker stop --time=1 da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf [2020-12-31T05:43:03.584Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T05:43:03.584Z] . [2020-12-31T05:43:05.486Z] $ docker rm -f da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer [2020-12-31T05:43:06.199Z] + sudo chown -R jenkins:jenkins . [2020-12-31T05:43:06.211Z] prd-ubuntu18.04-docker-arm64-4c-16g-17873 does not seem to be running inside a container [2020-12-31T05:43:06.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-31T05:43:07.918Z] $ docker top 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2020-12-31T05:43:08.764Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2020-12-31T05:43:09.033Z] + make test [2020-12-31T05:43:09.033Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-31T05:43:11.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-31T05:43:11.853Z] + ls -al . [2020-12-31T05:43:11.853Z] total 208 [2020-12-31T05:43:11.853Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 31 05:43 . [2020-12-31T05:43:11.853Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 31 05:41 .. [2020-12-31T05:43:11.853Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 31 05:41 bin [2020-12-31T05:43:11.853Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 31 05:42 coverage.out [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 31 05:41 Dockerfile.build [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 31 05:41 .dockerignore [2020-12-31T05:43:11.853Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 31 05:41 example [2020-12-31T05:43:11.853Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 31 05:41 .git [2020-12-31T05:43:11.853Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 31 05:41 .github [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 31 05:41 .gitignore [2020-12-31T05:43:11.853Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 31 05:43 go.mod [2020-12-31T05:43:11.853Z] -rw-r--r--. 1 jenkins jenkins 13716 Dec 31 05:43 go.sum [2020-12-31T05:43:11.853Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 31 05:41 internal [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 31 05:41 Jenkinsfile [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 31 05:41 LICENSE [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 31 05:41 Makefile [2020-12-31T05:43:11.853Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 31 05:41 openapi [2020-12-31T05:43:11.853Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 31 05:41 pkg [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 31 05:41 README.md [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 6616 Dec 31 05:41 RELEASE-NOTES.txt [2020-12-31T05:43:11.853Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 31 05:41 snap [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 31 05:39 VERSION [2020-12-31T05:43:11.853Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:43:12.213Z] + 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=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a --label arch=amd64 --label version=0.0.0 . [2020-12-31T05:43:12.480Z] Sending build context to Docker daemon 2.555MB [2020-12-31T05:43:12.480Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-31T05:43:12.480Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-31T05:43:12.480Z] ---> 4e45081df4b5 [2020-12-31T05:43:12.480Z] Step 3/24 : ARG MAKE='make build' [2020-12-31T05:43:13.062Z] ---> Running in 0d09acf72c2d [2020-12-31T05:43:13.329Z] Removing intermediate container 0d09acf72c2d [2020-12-31T05:43:13.329Z] ---> 2f09726deabe [2020-12-31T05:43:13.329Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-31T05:43:13.329Z] ---> Running in 2fad834a0346 [2020-12-31T05:43:13.329Z] Removing intermediate container 2fad834a0346 [2020-12-31T05:43:13.329Z] ---> ace03b71e8c7 [2020-12-31T05:43:13.329Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:43:13.595Z] ---> Running in 46580d27de06 [2020-12-31T05:43:13.595Z] Removing intermediate container 46580d27de06 [2020-12-31T05:43:13.595Z] ---> 00742a252173 [2020-12-31T05:43:13.595Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:43:13.865Z] ---> Running in 80d3d8be42ad [2020-12-31T05:43:14.813Z] Removing intermediate container 80d3d8be42ad [2020-12-31T05:43:14.813Z] ---> 0d87c660fb37 [2020-12-31T05:43:14.813Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-31T05:43:14.813Z] ---> Running in 753af51c9fcf [2020-12-31T05:43:15.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-31T05:43:16.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-31T05:43:16.286Z] OK: 166 MiB in 39 packages [2020-12-31T05:43:16.548Z] Removing intermediate container 753af51c9fcf [2020-12-31T05:43:16.548Z] ---> 2548bc3572da [2020-12-31T05:43:16.548Z] Step 8/24 : COPY . . [2020-12-31T05:43:17.954Z] ---> 921af22bc43e [2020-12-31T05:43:17.954Z] Step 9/24 : RUN ${MAKE} [2020-12-31T05:43:17.954Z] ---> Running in 0381838e3cdf [2020-12-31T05:43:18.221Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-31T05:43:26.484Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-31T05:43:28.406Z] Removing intermediate container 0381838e3cdf [2020-12-31T05:43:28.406Z] ---> 57520696541f [2020-12-31T05:43:28.406Z] Step 10/24 : FROM scratch [2020-12-31T05:43:28.406Z] ---> [2020-12-31T05:43:28.406Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:43:28.670Z] ---> Running in a363cf2cdac3 [2020-12-31T05:43:28.670Z] Removing intermediate container a363cf2cdac3 [2020-12-31T05:43:28.670Z] ---> a5247ce36a1e [2020-12-31T05:43:28.670Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-31T05:43:28.670Z] ---> Running in 135b285898a0 [2020-12-31T05:43:28.936Z] Removing intermediate container 135b285898a0 [2020-12-31T05:43:28.936Z] ---> b19169efe281 [2020-12-31T05:43:28.936Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-31T05:43:28.936Z] ---> Running in 838b2f0c94e3 [2020-12-31T05:43:28.936Z] Removing intermediate container 838b2f0c94e3 [2020-12-31T05:43:28.936Z] ---> 70bf5cdc1317 [2020-12-31T05:43:28.936Z] Step 14/24 : WORKDIR / [2020-12-31T05:43:29.200Z] ---> Running in 4906b242c8a7 [2020-12-31T05:43:29.200Z] Removing intermediate container 4906b242c8a7 [2020-12-31T05:43:29.200Z] ---> a8ae93f2e090 [2020-12-31T05:43:29.200Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-31T05:43:29.774Z] ---> c902c67851bf [2020-12-31T05:43:29.774Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-31T05:43:30.042Z] ---> c7734a7b542c [2020-12-31T05:43:30.043Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-31T05:43:30.043Z] ---> c84f6cc3ed98 [2020-12-31T05:43:30.043Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-31T05:43:30.306Z] ---> 53a715e1000d [2020-12-31T05:43:30.306Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-31T05:43:30.582Z] ---> 89294b76bdf8 [2020-12-31T05:43:30.582Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-31T05:43:30.582Z] ---> Running in c3c9e201ab6b [2020-12-31T05:43:30.844Z] Removing intermediate container c3c9e201ab6b [2020-12-31T05:43:30.844Z] ---> b3544a155027 [2020-12-31T05:43:30.844Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-31T05:43:30.844Z] ---> Running in a887e64fe0f0 [2020-12-31T05:43:31.106Z] Removing intermediate container a887e64fe0f0 [2020-12-31T05:43:31.106Z] ---> 1bf246a5d407 [2020-12-31T05:43:31.106Z] Step 22/24 : LABEL arch=amd64 [2020-12-31T05:43:31.106Z] ---> Running in f49becdc625c [2020-12-31T05:43:31.239Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-31T05:43:31.368Z] Removing intermediate container f49becdc625c [2020-12-31T05:43:31.368Z] ---> 2e78684bd54c [2020-12-31T05:43:31.368Z] Step 23/24 : LABEL git_sha=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:43:31.368Z] ---> Running in add21f516d2b [2020-12-31T05:43:31.368Z] Removing intermediate container add21f516d2b [2020-12-31T05:43:31.368Z] ---> ca1963d3e187 [2020-12-31T05:43:31.368Z] Step 24/24 : LABEL version=0.0.0 [2020-12-31T05:43:31.630Z] ---> Running in 42780c834948 [2020-12-31T05:43:31.630Z] Removing intermediate container 42780c834948 [2020-12-31T05:43:31.630Z] ---> cc077d3a738e [2020-12-31T05:43:31.630Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-31T05:43:31.630Z] Successfully built cc077d3a738e [2020-12-31T05:43:31.630Z] 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] } [2020-12-31T05:44:10.300Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-31T05:44:10.300Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-31T05:44:10.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-31T05:44:10.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.182s coverage: 19.4% of statements [2020-12-31T05:44:12.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.239s coverage: 97.1% of statements [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.118s coverage: 9.4% of statements [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.5% of statements [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 68.9% of statements [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 53.8% of statements [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.669s coverage: 68.9% of statements [2020-12-31T05:44:44.632Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.2% of statements [2020-12-31T05:44:44.632Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-31T05:44:44.632Z] GO111MODULE=on go vet ./... [2020-12-31T05:45:11.518Z] gofmt -l . [2020-12-31T05:45:11.518Z] [ "`gofmt -l .`" = "" ] [2020-12-31T05:45:11.518Z] ./bin/test-attribution-txt.sh [2020-12-31T05:45:12.120Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-31T05:45:12.776Z] $ docker stop --time=1 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a [2020-12-31T05:45:15.056Z] $ docker rm -f 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-31T05:45:16.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-31T05:45:16.222Z] Warning: overwriting stash ‘coverage-report’ [2020-12-31T05:45:17.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T05:45:18.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-31T05:45:18.468Z] + ls -al . [2020-12-31T05:45:18.468Z] total 244 [2020-12-31T05:45:18.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 31 05:45 . [2020-12-31T05:45:18.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 .. [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 31 05:41 .dockerignore [2020-12-31T05:45:18.468Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 31 05:41 .git [2020-12-31T05:45:18.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 31 05:41 .github [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 31 05:41 .gitignore [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 31 05:41 Dockerfile.build [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 31 05:41 Jenkinsfile [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 31 05:41 LICENSE [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 31 05:41 Makefile [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 31 05:41 README.md [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 6616 Dec 31 05:41 RELEASE-NOTES.txt [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 31 05:39 VERSION [2020-12-31T05:45:18.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 31 05:41 bin [2020-12-31T05:45:18.468Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 31 05:44 coverage.out [2020-12-31T05:45:18.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 example [2020-12-31T05:45:18.468Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 31 05:45 go.mod [2020-12-31T05:45:18.468Z] -rw-r--r-- 1 jenkins jenkins 13716 Dec 31 05:45 go.sum [2020-12-31T05:45:18.468Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 31 05:41 internal [2020-12-31T05:45:18.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 openapi [2020-12-31T05:45:18.468Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 31 05:41 pkg [2020-12-31T05:45:18.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 snap [2020-12-31T05:45:18.468Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:45:18.872Z] + 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=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a --label arch=arm64 --label version=0.0.0 . [2020-12-31T05:45:19.471Z] Sending build context to Docker daemon 2.552MB [2020-12-31T05:45:19.471Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-31T05:45:19.471Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-31T05:45:19.471Z] ---> 7e9d6d340013 [2020-12-31T05:45:19.471Z] Step 3/24 : ARG MAKE='make build' [2020-12-31T05:45:19.746Z] ---> Running in cd8313802925 [2020-12-31T05:45:20.018Z] Removing intermediate container cd8313802925 [2020-12-31T05:45:20.018Z] ---> ab75775f46d6 [2020-12-31T05:45:20.018Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-31T05:45:20.291Z] ---> Running in 15655e6991ee [2020-12-31T05:45:20.887Z] Removing intermediate container 15655e6991ee [2020-12-31T05:45:20.887Z] ---> ebdffff902d7 [2020-12-31T05:45:20.887Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:45:21.162Z] ---> Running in b898f393fc25 [2020-12-31T05:45:21.754Z] Removing intermediate container b898f393fc25 [2020-12-31T05:45:21.754Z] ---> 58ed59c5f1b2 [2020-12-31T05:45:21.754Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:45:22.026Z] ---> Running in a442a5786ca0 [2020-12-31T05:45:24.019Z] Removing intermediate container a442a5786ca0 [2020-12-31T05:45:24.019Z] ---> 9d5e7281d531 [2020-12-31T05:45:24.019Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-31T05:45:24.292Z] ---> Running in 1c943bc72cab [2020-12-31T05:45:25.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-31T05:45:26.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-31T05:45:26.848Z] OK: 142 MiB in 39 packages [2020-12-31T05:45:27.825Z] Removing intermediate container 1c943bc72cab [2020-12-31T05:45:27.825Z] ---> 5648899502f2 [2020-12-31T05:45:27.825Z] Step 8/24 : COPY . . [2020-12-31T05:45:29.265Z] ---> e6d71fbe656c [2020-12-31T05:45:29.265Z] Step 9/24 : RUN ${MAKE} [2020-12-31T05:45:29.265Z] ---> Running in 5cf1c3d5e9d9 [2020-12-31T05:45:30.697Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-31T05:45:57.517Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-31T05:45:57.517Z] Removing intermediate container 5cf1c3d5e9d9 [2020-12-31T05:45:57.517Z] ---> 6b48614ec7d0 [2020-12-31T05:45:57.517Z] Step 10/24 : FROM scratch [2020-12-31T05:45:57.517Z] ---> [2020-12-31T05:45:57.517Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:45:57.517Z] ---> Running in bc48d71f624e [2020-12-31T05:45:57.517Z] Removing intermediate container bc48d71f624e [2020-12-31T05:45:57.517Z] ---> 6382b7d4902a [2020-12-31T05:45:57.517Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-31T05:45:57.517Z] ---> Running in 5c3081de0a18 [2020-12-31T05:45:58.111Z] Removing intermediate container 5c3081de0a18 [2020-12-31T05:45:58.111Z] ---> 7543a69a1017 [2020-12-31T05:45:58.111Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-31T05:45:58.111Z] ---> Running in 78573de6644c [2020-12-31T05:45:58.711Z] Removing intermediate container 78573de6644c [2020-12-31T05:45:58.711Z] ---> 073c51bbd796 [2020-12-31T05:45:58.711Z] Step 14/24 : WORKDIR / [2020-12-31T05:45:58.711Z] ---> Running in 5c5f14b53df5 [2020-12-31T05:45:59.305Z] Removing intermediate container 5c5f14b53df5 [2020-12-31T05:45:59.305Z] ---> a3c28e0c72b3 [2020-12-31T05:45:59.305Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-31T05:46:00.283Z] ---> d68ef95406c5 [2020-12-31T05:46:00.283Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-31T05:46:00.880Z] ---> 28a88adb3fd6 [2020-12-31T05:46:00.880Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-31T05:46:01.859Z] ---> 8daced35eb8c [2020-12-31T05:46:01.859Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-31T05:46:02.456Z] ---> 0ad99aef37b3 [2020-12-31T05:46:02.456Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-31T05:46:03.048Z] ---> f8572f0e2ed7 [2020-12-31T05:46:03.048Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-31T05:46:03.321Z] ---> Running in ccf8a8c16d65 [2020-12-31T05:46:03.594Z] Removing intermediate container ccf8a8c16d65 [2020-12-31T05:46:03.595Z] ---> 5cb1666d4904 [2020-12-31T05:46:03.595Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-31T05:46:03.868Z] ---> Running in 8a7a72d9724b [2020-12-31T05:46:04.466Z] Removing intermediate container 8a7a72d9724b [2020-12-31T05:46:04.466Z] ---> b5985878d3cd [2020-12-31T05:46:04.466Z] Step 22/24 : LABEL arch=arm64 [2020-12-31T05:46:04.466Z] ---> Running in 30e3249469d5 [2020-12-31T05:46:05.061Z] Removing intermediate container 30e3249469d5 [2020-12-31T05:46:05.061Z] ---> f25d6d76e7ef [2020-12-31T05:46:05.061Z] Step 23/24 : LABEL git_sha=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [2020-12-31T05:46:05.061Z] ---> Running in ce514bf48fe7 [2020-12-31T05:46:05.654Z] Removing intermediate container ce514bf48fe7 [2020-12-31T05:46:05.654Z] ---> 4353c958055d [2020-12-31T05:46:05.654Z] Step 24/24 : LABEL version=0.0.0 [2020-12-31T05:46:05.654Z] ---> Running in 15a6250bdc02 [2020-12-31T05:46:06.261Z] Removing intermediate container 15a6250bdc02 [2020-12-31T05:46:06.261Z] ---> 5380c522e147 [2020-12-31T05:46:06.261Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-31T05:46:06.261Z] Successfully built 5380c522e147 [2020-12-31T05:46:06.261Z] 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 [2020-12-31T05:46:09.326Z] provisioning config files... [2020-12-31T05:46:09.338Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config3576050176844615619tmp [Pipeline] { [Pipeline] sh [2020-12-31T05:46:09.772Z] + set +x [2020-12-31T05:46:09.772Z] + curl -s https://codecov.io/bash [2020-12-31T05:46:09.772Z] + bash -s -- [2020-12-31T05:46:10.036Z] [2020-12-31T05:46:10.036Z] _____ _ [2020-12-31T05:46:10.036Z] / ____| | | [2020-12-31T05:46:10.036Z] | | ___ __| | ___ ___ _____ __ [2020-12-31T05:46:10.036Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-31T05:46:10.036Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-31T05:46:10.036Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-31T05:46:10.036Z] Bash-20201231-23d4836 [2020-12-31T05:46:10.036Z] [2020-12-31T05:46:10.036Z] [2020-12-31T05:46:10.036Z] ==> git version 2.24.3 found [2020-12-31T05:46:10.036Z] ==> 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 [2020-12-31T05:46:10.036Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-31T05:46:10.036Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-31T05:46:10.036Z] ==> Jenkins CI detected. [2020-12-31T05:46:10.036Z] project root: . [2020-12-31T05:46:10.036Z] --> token set from env [2020-12-31T05:46:10.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-31T05:46:10.036Z] ==> Running gcov in . (disable via -X gcov) [2020-12-31T05:46:10.036Z] ==> Python coveragepy not found [2020-12-31T05:46:10.036Z] ==> Searching for coverage reports in: [2020-12-31T05:46:10.036Z] + . [2020-12-31T05:46:10.036Z] -> Found 1 reports [2020-12-31T05:46:10.036Z] ==> Detecting git/mercurial file structure [2020-12-31T05:46:10.036Z] ==> Reading reports [2020-12-31T05:46:10.036Z] + ./coverage.out bytes=130526 [2020-12-31T05:46:10.036Z] ==> Appending adjustments [2020-12-31T05:46:10.036Z] https://docs.codecov.io/docs/fixing-reports [2020-12-31T05:46:10.615Z] + Found adjustments [2020-12-31T05:46:10.615Z] ==> Gzipping contents [2020-12-31T05:46:10.615Z] 24K /tmp/codecov.JVQTXO.gz [2020-12-31T05:46:10.615Z] ==> Uploading reports [2020-12-31T05:46:10.615Z] url: https://codecov.io [2020-12-31T05:46:10.615Z] query: branch=PR-710&commit=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2020-12-31T05:46:10.615Z] -> Pinging Codecov [2020-12-31T05:46:10.615Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-710&commit=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2020-12-31T05:46:11.201Z] -> Uploading to [2020-12-31T05:46:11.201Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-31/7E55EF52A471D76F132DFD9A03CDDE97/e0d0a96e3e310c273e1c8f98aeacde55ee940b3a/a7d043d3-7ace-474a-b2fb-4c697c985557.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201231%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201231T054610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1becc2a6a51351f979b8d5933bee9a4cecc61b68ab10590f97f45bda3a5e04c9 [2020-12-31T05:46:11.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-31T05:46:11.201Z] Dload Upload Total Spent Left Speed [2020-12-31T05:46:11.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21278 0 0 100 21278 0 42539 --:--:-- --:--:-- --:--:-- 42556 [2020-12-31T05:46:11.466Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] } [2020-12-31T05:46:11.491Z] 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 [2020-12-31T05:46:15.094Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:15.452Z] ---> package-listing.sh [2020-12-31T05:46:15.452Z] ++ facter osfamily [2020-12-31T05:46:15.452Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-31T05:46:15.452Z] + OS_FAMILY=redhat [2020-12-31T05:46:15.452Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-710 [2020-12-31T05:46:15.452Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-31T05:46:15.452Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-31T05:46:15.452Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-31T05:46:15.452Z] + PACKAGES=/tmp/packages_start.txt [2020-12-31T05:46:15.452Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' [2020-12-31T05:46:15.452Z] + PACKAGES=/tmp/packages_end.txt [2020-12-31T05:46:15.452Z] + case "${OS_FAMILY}" in [2020-12-31T05:46:15.452Z] + rpm -qa [2020-12-31T05:46:15.452Z] + sort [2020-12-31T05:46:20.767Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-31T05:46:20.767Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-31T05:46:20.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-31T05:46:20.767Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' [2020-12-31T05:46:20.767Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ [2020-12-31T05:46:20.767Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ [Pipeline] echo [2020-12-31T05:46:20.820Z] 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-710/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-31T05:46:21.132Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:46:21.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:46:21.473Z] [2020-12-31T05:46:21.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:46:21.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:46:21.869Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-31T05:46:21.869Z] df20fa9351a1: Pulling fs layer [2020-12-31T05:46:21.869Z] 36b3adc4ff6f: Pulling fs layer [2020-12-31T05:46:21.869Z] 8ad3a11d3b57: Pulling fs layer [2020-12-31T05:46:21.869Z] 46f8f816bc3b: Pulling fs layer [2020-12-31T05:46:21.869Z] 93b61091891f: Pulling fs layer [2020-12-31T05:46:21.869Z] 93b9cdb0e59b: Pulling fs layer [2020-12-31T05:46:21.869Z] 5e14af77c1be: Pulling fs layer [2020-12-31T05:46:21.869Z] 01666e4c0597: Pulling fs layer [2020-12-31T05:46:21.869Z] aa168da1d23b: Pulling fs layer [2020-12-31T05:46:21.869Z] 46f8f816bc3b: Waiting [2020-12-31T05:46:21.869Z] 93b61091891f: Waiting [2020-12-31T05:46:21.869Z] 93b9cdb0e59b: Waiting [2020-12-31T05:46:21.869Z] 5e14af77c1be: Waiting [2020-12-31T05:46:21.869Z] 01666e4c0597: Waiting [2020-12-31T05:46:21.869Z] aa168da1d23b: Waiting [2020-12-31T05:46:21.869Z] 36b3adc4ff6f: Verifying Checksum [2020-12-31T05:46:21.869Z] 36b3adc4ff6f: Download complete [2020-12-31T05:46:21.869Z] 46f8f816bc3b: Download complete [2020-12-31T05:46:22.133Z] df20fa9351a1: Download complete [2020-12-31T05:46:22.133Z] 93b9cdb0e59b: Download complete [2020-12-31T05:46:22.133Z] 93b61091891f: Download complete [2020-12-31T05:46:22.133Z] 5e14af77c1be: Verifying Checksum [2020-12-31T05:46:22.133Z] 5e14af77c1be: Download complete [2020-12-31T05:46:22.133Z] 01666e4c0597: Verifying Checksum [2020-12-31T05:46:22.133Z] 01666e4c0597: Download complete [2020-12-31T05:46:22.401Z] df20fa9351a1: Pull complete [2020-12-31T05:46:22.668Z] 36b3adc4ff6f: Pull complete [2020-12-31T05:46:22.668Z] 8ad3a11d3b57: Verifying Checksum [2020-12-31T05:46:22.668Z] 8ad3a11d3b57: Download complete [2020-12-31T05:46:23.649Z] 8ad3a11d3b57: Pull complete [2020-12-31T05:46:23.649Z] 46f8f816bc3b: Pull complete [2020-12-31T05:46:23.917Z] 93b61091891f: Pull complete [2020-12-31T05:46:24.870Z] 93b9cdb0e59b: Pull complete [2020-12-31T05:46:24.870Z] aa168da1d23b: Verifying Checksum [2020-12-31T05:46:24.870Z] aa168da1d23b: Download complete [2020-12-31T05:46:25.132Z] 5e14af77c1be: Pull complete [2020-12-31T05:46:25.132Z] 01666e4c0597: Pull complete [2020-12-31T05:46:31.770Z] aa168da1d23b: Pull complete [2020-12-31T05:46:31.770Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-31T05:46:31.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:46:31.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-31T05:46:31.994Z] prd-centos7-docker-4c-2g-17870 does not seem to be running inside a container [2020-12-31T05:46:32.046Z] $ 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-710/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-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-31T05:46:35.632Z] $ docker top 9ed40768538a808eebe6032081b77e2a309d155feda1efec11bb15662a893a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:46:36.223Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-31T05:46:36.641Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-31T05:46:37.016Z] + ls /var/log/sa-host [2020-12-31T05:46:37.016Z] + sadf -c /var/log/sa-host/sa23 [2020-12-31T05:46:37.016Z] file_magic: OK [2020-12-31T05:46:37.016Z] HZ: Using current value: 100 [2020-12-31T05:46:37.016Z] file_header: OK [2020-12-31T05:46:37.016Z] 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 [2020-12-31T05:46:37.016Z] Statistics: [2020-12-31T05:46:37.016Z] Hnuu...uuuununununu... [2020-12-31T05:46:37.016Z] File successfully converted to sysstat format version 12.2.1 [2020-12-31T05:46:37.016Z] + sadf -c /var/log/sa-host/sa31 [2020-12-31T05:46:37.016Z] file_magic: OK [2020-12-31T05:46:37.016Z] HZ: Using current value: 100 [2020-12-31T05:46:37.016Z] file_header: OK [2020-12-31T05:46:37.016Z] 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 [2020-12-31T05:46:37.016Z] Statistics: [2020-12-31T05:46:37.016Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-31T05:46:37.016Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-31T05:46:37.316Z] provisioning config files... [2020-12-31T05:46:37.333Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config3365471285225334892tmp [Pipeline] { [Pipeline] echo [2020-12-31T05:46:37.458Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:37.797Z] ---> create-netrc.sh [Pipeline] } [2020-12-31T05:46:37.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-31T05:46:37.975Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:38.311Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-31T05:46:38.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:38.676Z] ---> sudo-logs.sh [2020-12-31T05:46:38.676Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-31T05:46:38.703Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:39.038Z] ---> job-cost.sh [2020-12-31T05:46:39.038Z] lf-activate-venv: SKIPPING [2020-12-31T05:46:39.038Z] INFO: No Stack... [2020-12-31T05:46:39.988Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-31T05:46:40.562Z] INFO: Archiving Costs [Pipeline] echo [2020-12-31T05:46:40.604Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:46:40.940Z] ---> logs-deploy.sh [2020-12-31T05:46:40.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-710/1 [2020-12-31T05:46:40.940Z] INFO: archiving workspace using pattern(s): [2020-12-31T05:46:43.495Z] Archives upload complete. [2020-12-31T05:46:43.495Z] INFO: archiving logs to Nexus