Pull request #726 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0725852f8369621373337e5fabb271bfba87f02a+ae9643155e3faeb030acb175a4c64bf595945178 (70edcc6f8c6a1736c32b5c4819e81ac04341ffb2) 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-726/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-726/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-19715 in /w/workspace/dgexfoundry_device-sdk-go_PR-726 [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-726 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/726/head:refs/remotes/origin/PR-726 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 0725852f8369621373337e5fabb271bfba87f02a Merge succeeded, producing 0725852f8369621373337e5fabb271bfba87f02a Checking out Revision 0725852f8369621373337e5fabb271bfba87f02a (PR-726) > git config core.sparsecheckout # timeout=10 > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # 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 ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 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 [2021-01-12T06:16:40.217Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-12T06:16:40.615Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-12T06:16:40.848Z] ========================================================= [2021-01-12T06:16:40.848Z] EdgeX Global Pipelines Version Info [2021-01-12T06:16:40.848Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:16:42.434Z] ------------------- [2021-01-12T06:16:42.434Z] stable info: [2021-01-12T06:16:42.434Z] ------------------- [2021-01-12T06:16:42.434Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-12T06:16:42.434Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T06:16:42.434Z] Message: update stable to v1.0.173 [2021-01-12T06:16:43.381Z] ------------------- [2021-01-12T06:16:43.381Z] experimental info: [2021-01-12T06:16:43.381Z] ------------------- [2021-01-12T06:16:43.381Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-12T06:16:43.382Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T06:16:43.382Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-12T06:16:43.755Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-12T06:16:43.888Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-12T06:16:44.029Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-12T06:16:44.195Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-12T06:16:44.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-12T06:16:44.486Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-12T06:16:44.630Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-12T06:16:44.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-12T06:16:44.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-12T06:16:45.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-12T06:16:45.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-12T06:16:45.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-12T06:16:45.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-12T06:16:45.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-12T06:16:45.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-12T06:16:45.899Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T06:16:46.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T06:16:46.167Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T06:16:46.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-12T06:16:46.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-12T06:16:46.557Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-12T06:16:46.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-12T06:16:46.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-12T06:16:46.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-12T06:16:47.074Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-12T06:16:47.197Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-12T06:16:47.364Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-12T06:16:47.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-726 [Pipeline] echo [2021-01-12T06:16:47.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-726 [Pipeline] echo [2021-01-12T06:16:47.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-726 [Pipeline] echo [2021-01-12T06:16:47.882Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0725852f8369621373337e5fabb271bfba87f02a [Pipeline] echo [2021-01-12T06:16:48.007Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0725852 [Pipeline] echo [2021-01-12T06:16:48.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T06:16:48.452Z] provisioning config files... [2021-01-12T06:16:48.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/config956003691034178757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:16:48.909Z] ---> docker-login.sh [2021-01-12T06:16:48.909Z] nexus3.edgexfoundry.org:10001 [2021-01-12T06:16:49.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:16:49.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:16:49.440Z] Configure a credential helper to remove this warning. See [2021-01-12T06:16:49.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:16:49.440Z] [2021-01-12T06:16:49.440Z] Login Succeeded [2021-01-12T06:16:49.440Z] nexus3.edgexfoundry.org:10002 [2021-01-12T06:16:49.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:16:49.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:16:49.703Z] Configure a credential helper to remove this warning. See [2021-01-12T06:16:49.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:16:49.703Z] [2021-01-12T06:16:49.703Z] Login Succeeded [2021-01-12T06:16:49.703Z] nexus3.edgexfoundry.org:10003 [2021-01-12T06:16:49.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:16:49.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:16:49.703Z] Configure a credential helper to remove this warning. See [2021-01-12T06:16:49.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:16:49.703Z] [2021-01-12T06:16:49.703Z] Login Succeeded [2021-01-12T06:16:49.703Z] nexus3.edgexfoundry.org:10004 [2021-01-12T06:16:49.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:16:49.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:16:49.966Z] Configure a credential helper to remove this warning. See [2021-01-12T06:16:49.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:16:49.966Z] [2021-01-12T06:16:49.966Z] Login Succeeded [2021-01-12T06:16:49.966Z] docker.io [2021-01-12T06:16:49.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:16:50.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:16:50.541Z] Configure a credential helper to remove this warning. See [2021-01-12T06:16:50.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:16:50.541Z] [2021-01-12T06:16:50.541Z] Login Succeeded [2021-01-12T06:16:50.541Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T06:16:50.569Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T06:16:51.672Z] + git log --format=format:%s -1 0725852f8369621373337e5fabb271bfba87f02a [Pipeline] echo [2021-01-12T06:16:51.758Z] GIT_COMMIT: 0725852f8369621373337e5fabb271bfba87f02a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-12T06:16:51.833Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:16:52.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T06:16:52.853Z] [2021-01-12T06:16:52.854Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:16:53.264Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T06:16:53.264Z] latest: Pulling from edgex-devops/git-semver [2021-01-12T06:16:53.264Z] 31603596830f: Pulling fs layer [2021-01-12T06:16:53.264Z] 2a8b12db71e7: Pulling fs layer [2021-01-12T06:16:53.264Z] 6ca5941a6612: Pulling fs layer [2021-01-12T06:16:53.264Z] ecc8261a40a4: Pulling fs layer [2021-01-12T06:16:53.264Z] ecc8261a40a4: Waiting [2021-01-12T06:16:53.264Z] 2a8b12db71e7: Verifying Checksum [2021-01-12T06:16:53.264Z] 2a8b12db71e7: Download complete [2021-01-12T06:16:53.264Z] 31603596830f: Verifying Checksum [2021-01-12T06:16:53.264Z] 31603596830f: Download complete [2021-01-12T06:16:53.528Z] ecc8261a40a4: Verifying Checksum [2021-01-12T06:16:53.528Z] ecc8261a40a4: Download complete [2021-01-12T06:16:53.528Z] 6ca5941a6612: Verifying Checksum [2021-01-12T06:16:53.528Z] 6ca5941a6612: Download complete [2021-01-12T06:16:53.790Z] 31603596830f: Pull complete [2021-01-12T06:16:54.055Z] 2a8b12db71e7: Pull complete [2021-01-12T06:16:55.004Z] 6ca5941a6612: Pull complete [2021-01-12T06:16:55.004Z] ecc8261a40a4: Pull complete [2021-01-12T06:16:55.004Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-12T06:16:55.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T06:16:55.004Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-12T06:16:55.132Z] prd-centos7-docker-4c-2g-19715 does not seem to be running inside a container [2021-01-12T06:16:55.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-726 -v /w/workspace/dgexfoundry_device-sdk-go_PR-726:/w/workspace/dgexfoundry_device-sdk-go_PR-726:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-726@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-12T06:16:57.334Z] $ docker top 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T06:16:57.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T06:16:57.754Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T06:16:57.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T06:16:57.975Z] $ docker exec 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e ssh-agent [2021-01-12T06:16:58.136Z] SSH_AUTH_SOCK=/tmp/ssh-TSSnTokCsAmd/agent.11 [2021-01-12T06:16:58.136Z] SSH_AGENT_PID=17 [2021-01-12T06:16:58.150Z] Running ssh-add (command line suppressed) [2021-01-12T06:16:58.277Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/private_key_831003945747962183.key (/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/private_key_831003945747962183.key) [2021-01-12T06:16:58.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T06:16:58.747Z] + git tag --points-at HEAD [Pipeline] } [2021-01-12T06:16:58.785Z] $ docker exec --env ******** --env ******** 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e ssh-agent -k [2021-01-12T06:16:58.894Z] unset SSH_AUTH_SOCK; [2021-01-12T06:16:58.894Z] unset SSH_AGENT_PID; [2021-01-12T06:16:58.894Z] echo Agent pid 17 killed; [2021-01-12T06:16:58.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-12T06:16:59.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T06:16:59.215Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T06:16:59.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T06:16:59.384Z] $ docker exec 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e ssh-agent [2021-01-12T06:16:59.543Z] SSH_AUTH_SOCK=/tmp/ssh-2jmHD4gzXQ7v/agent.46 [2021-01-12T06:16:59.543Z] SSH_AGENT_PID=51 [2021-01-12T06:16:59.550Z] Running ssh-add (command line suppressed) [2021-01-12T06:16:59.671Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/private_key_6460526500072692037.key (/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/private_key_6460526500072692037.key) [2021-01-12T06:16:59.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T06:17:00.088Z] + git semver init [2021-01-12T06:17:00.088Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T06:17:00.088Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-726/.git [2021-01-12T06:17:00.088Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-726 [2021-01-12T06:17:00.088Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T06:17:00.088Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T06:17:00.088Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T06:17:00.088Z] # $SEMVER_BRANCH = PR-726 [2021-01-12T06:17:00.088Z] # $SEMVER_TEMP = /tmp/semver-155476071 [2021-01-12T06:17:00.088Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-12T06:17:00.661Z] # '/tmp/semver-155476071' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-726/.semver' [2021-01-12T06:17:00.661Z] # -> Force: false [2021-01-12T06:17:00.661Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-726/.semver [Pipeline] } [2021-01-12T06:17:00.682Z] $ docker exec --env ******** --env ******** 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e ssh-agent -k [2021-01-12T06:17:00.802Z] unset SSH_AUTH_SOCK; [2021-01-12T06:17:00.802Z] unset SSH_AGENT_PID; [2021-01-12T06:17:00.803Z] echo Agent pid 51 killed; [2021-01-12T06:17:00.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T06:17:01.459Z] + git semver [Pipeline] } [2021-01-12T06:17:01.492Z] $ docker stop --time=1 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e [2021-01-12T06:17:03.192Z] $ docker rm -f 484af443bbabc121d69cdcfc49188a874c1c0aee5c874ff8d9b5e377167d316e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T06:17:03.794Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-12T06:17:04.292Z] Stashed 1 file(s) [Pipeline] echo [2021-01-12T06:17:04.315Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-12T06:17:20.164Z] Still waiting to schedule task [2021-01-12T06:17:20.165Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-12T06:17:20.192Z] Still waiting to schedule task [2021-01-12T06:17:20.192Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-12T06:19:08.986Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19716 in /w/workspace/dgexfoundry_device-sdk-go_PR-726 [Pipeline] { [Pipeline] ws [2021-01-12T06:19:09.085Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-12T06:19:14.236Z] using credential edgex-jenkins-ssh [2021-01-12T06:19:14.298Z] Cloning the remote Git repository [2021-01-12T06:19:14.338Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:14.465Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-12T06:19:14.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:14.550Z] > git --version # timeout=10 [2021-01-12T06:19:14.580Z] > git --version # 'git version 2.17.1' [2021-01-12T06:19:14.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:14.656Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T06:19:16.419Z] Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:19:16.656Z] Merge succeeded, producing 0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:19:16.656Z] Checking out Revision 0725852f8369621373337e5fabb271bfba87f02a (PR-726) [2021-01-12T06:19:15.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T06:19:15.814Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T06:19:15.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T06:19:15.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:15.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:15.899Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/726/head:refs/remotes/origin/PR-726 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T06:19:16.424Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T06:19:16.442Z] > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # timeout=10 [2021-01-12T06:19:16.559Z] > git remote # timeout=10 [2021-01-12T06:19:16.580Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T06:19:16.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:16.603Z] > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 [2021-01-12T06:19:16.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T06:19:16.648Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T06:19:16.660Z] > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # timeout=10 [2021-01-12T06:19:21.070Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-12T06:19:21.133Z] > git --version # timeout=10 [2021-01-12T06:19:21.149Z] > git --version # 'git version 2.17.1' [2021-01-12T06:19:21.162Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T06:19:23.056Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-12T06:19:23.488Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T06:19:23.861Z] + sudo service docker restart+ [2021-01-12T06:19:23.861Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T06:19:25.982Z] provisioning config files... [2021-01-12T06:19:26.020Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4225280346189360013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:19:26.532Z] ---> docker-login.sh [2021-01-12T06:19:26.532Z] nexus3.edgexfoundry.org:10001 [2021-01-12T06:19:27.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:27.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:27.799Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:27.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:27.799Z] [2021-01-12T06:19:27.799Z] Login Succeeded [2021-01-12T06:19:27.799Z] nexus3.edgexfoundry.org:10002 [2021-01-12T06:19:28.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:28.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:28.350Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:28.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:28.350Z] [2021-01-12T06:19:28.350Z] Login Succeeded [2021-01-12T06:19:28.350Z] nexus3.edgexfoundry.org:10003 [2021-01-12T06:19:28.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:28.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:28.898Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:28.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:28.898Z] [2021-01-12T06:19:28.898Z] Login Succeeded [2021-01-12T06:19:28.898Z] nexus3.edgexfoundry.org:10004 [2021-01-12T06:19:29.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:29.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:29.448Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:29.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:29.448Z] [2021-01-12T06:19:29.448Z] Login Succeeded [2021-01-12T06:19:29.448Z] docker.io [2021-01-12T06:19:29.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:29.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:29.996Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:29.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:29.996Z] [2021-01-12T06:19:29.996Z] Login Succeeded [2021-01-12T06:19:30.268Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T06:19:30.301Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T06:19:30.866Z] ========================================================= [2021-01-12T06:19:30.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-12T06:19:30.866Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:19:31.278Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-12T06:19:31.883Z] Sending build context to Docker daemon 2.437MB [2021-01-12T06:19:31.883Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T06:19:31.883Z] Step 2/8 : FROM ${BASE} [2021-01-12T06:19:31.883Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-12T06:19:31.883Z] 5f621e34cdf4: Pulling fs layer [2021-01-12T06:19:31.883Z] a4357932f1b6: Pulling fs layer [2021-01-12T06:19:31.883Z] 18c013af1878: Pulling fs layer [2021-01-12T06:19:31.883Z] 00ac8860ef70: Pulling fs layer [2021-01-12T06:19:31.883Z] 63d7cb157983: Pulling fs layer [2021-01-12T06:19:31.883Z] b116817d02f9: Pulling fs layer [2021-01-12T06:19:31.883Z] 745a02a5169b: Pulling fs layer [2021-01-12T06:19:31.883Z] 00ac8860ef70: Waiting [2021-01-12T06:19:31.883Z] 63d7cb157983: Waiting [2021-01-12T06:19:31.883Z] b116817d02f9: Waiting [2021-01-12T06:19:31.883Z] 745a02a5169b: Waiting [2021-01-12T06:19:31.883Z] 18c013af1878: Verifying Checksum [2021-01-12T06:19:31.883Z] 18c013af1878: Download complete [2021-01-12T06:19:31.883Z] a4357932f1b6: Verifying Checksum [2021-01-12T06:19:31.883Z] a4357932f1b6: Download complete [2021-01-12T06:19:32.868Z] 63d7cb157983: Verifying Checksum [2021-01-12T06:19:32.868Z] 63d7cb157983: Download complete [2021-01-12T06:19:32.868Z] b116817d02f9: Verifying Checksum [2021-01-12T06:19:32.868Z] 5f621e34cdf4: Download complete [2021-01-12T06:19:33.476Z] 5f621e34cdf4: Pull complete [2021-01-12T06:19:34.075Z] a4357932f1b6: Pull complete [2021-01-12T06:19:34.672Z] 18c013af1878: Pull complete [2021-01-12T06:19:35.268Z] 745a02a5169b: Verifying Checksum [2021-01-12T06:19:35.268Z] 745a02a5169b: Download complete [2021-01-12T06:19:36.255Z] 00ac8860ef70: Verifying Checksum [2021-01-12T06:19:36.255Z] 00ac8860ef70: Download complete [2021-01-12T06:19:46.430Z] 00ac8860ef70: Pull complete [2021-01-12T06:19:46.702Z] 63d7cb157983: Pull complete [2021-01-12T06:19:46.976Z] b116817d02f9: Pull complete [2021-01-12T06:19:48.108Z] Running on prd-centos7-docker-4c-2g-19717 in /w/workspace/dgexfoundry_device-sdk-go_PR-726 [Pipeline] { [Pipeline] ws [2021-01-12T06:19:48.197Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-12T06:19:50.497Z] using credential edgex-jenkins-ssh [2021-01-12T06:19:50.551Z] Cloning the remote Git repository [2021-01-12T06:19:50.584Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:51.294Z] 745a02a5169b: Pull complete [2021-01-12T06:19:51.294Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-12T06:19:51.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-12T06:19:51.294Z] ---> b7e6874047d6 [2021-01-12T06:19:51.294Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:19:50.655Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-12T06:19:50.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:50.734Z] > git --version # timeout=10 [2021-01-12T06:19:50.742Z] > git --version # 'git version 2.24.3' [2021-01-12T06:19:50.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:50.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T06:19:51.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T06:19:51.471Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T06:19:51.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T06:19:51.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T06:19:51.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:51.499Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/726/head:refs/remotes/origin/PR-726 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T06:19:51.906Z] Merging remotes/origin/master commit ae9643155e3faeb030acb175a4c64bf595945178 into PR head commit 0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:19:52.013Z] Merge succeeded, producing 0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:19:52.013Z] Checking out Revision 0725852f8369621373337e5fabb271bfba87f02a (PR-726) [2021-01-12T06:19:51.915Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T06:19:51.921Z] > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # timeout=10 [2021-01-12T06:19:51.980Z] > git remote # timeout=10 [2021-01-12T06:19:51.986Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T06:19:51.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T06:19:51.996Z] > git merge ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 [2021-01-12T06:19:52.007Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T06:19:52.016Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T06:19:52.020Z] > git checkout -f 0725852f8369621373337e5fabb271bfba87f02a # timeout=10 [2021-01-12T06:19:53.926Z] ---> Running in 4865da05cae7 [2021-01-12T06:19:53.926Z] Removing intermediate container 4865da05cae7 [2021-01-12T06:19:53.926Z] ---> 7e1e6f3fcdb0 [2021-01-12T06:19:53.926Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T06:19:54.200Z] ---> Running in 246f7a49a95e [2021-01-12T06:19:55.637Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-12T06:19:55.661Z] > git --version # timeout=10 [2021-01-12T06:19:55.666Z] > git --version # 'git version 2.24.3' [2021-01-12T06:19:55.671Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T06:19:56.838Z] Removing intermediate container 246f7a49a95e [2021-01-12T06:19:56.838Z] ---> aaa76e2be2e2 [2021-01-12T06:19:56.838Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T06:19:56.838Z] ---> Running in 5e6e35cf88f0 [2021-01-12T06:19:57.026Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-12T06:19:57.369Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T06:19:57.700Z] + sudo service docker restart [2021-01-12T06:19:57.700Z] + true [2021-01-12T06:19:57.700Z] Redirecting to /bin/systemctl restart docker.service [2021-01-12T06:19:57.828Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T06:19:58.811Z] provisioning config files... [2021-01-12T06:19:58.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T06:19:58.845Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8995116763234686851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:19:59.335Z] ---> docker-login.sh [2021-01-12T06:19:59.335Z] nexus3.edgexfoundry.org:10001 [2021-01-12T06:19:59.443Z] OK: 142 MiB in 39 packages [2021-01-12T06:19:59.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:19:59.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:19:59.866Z] Configure a credential helper to remove this warning. See [2021-01-12T06:19:59.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:19:59.866Z] [2021-01-12T06:19:59.866Z] Login Succeeded [2021-01-12T06:19:59.866Z] nexus3.edgexfoundry.org:10002 [2021-01-12T06:19:59.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:20:00.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:20:00.128Z] Configure a credential helper to remove this warning. See [2021-01-12T06:20:00.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:20:00.128Z] [2021-01-12T06:20:00.128Z] Login Succeeded [2021-01-12T06:20:00.128Z] nexus3.edgexfoundry.org:10003 [2021-01-12T06:20:00.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:20:00.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:20:00.128Z] Configure a credential helper to remove this warning. See [2021-01-12T06:20:00.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:20:00.128Z] [2021-01-12T06:20:00.128Z] Login Succeeded [2021-01-12T06:20:00.128Z] nexus3.edgexfoundry.org:10004 [2021-01-12T06:20:00.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:20:00.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:20:00.392Z] Configure a credential helper to remove this warning. See [2021-01-12T06:20:00.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:20:00.392Z] [2021-01-12T06:20:00.392Z] Login Succeeded [2021-01-12T06:20:00.392Z] docker.io [2021-01-12T06:20:00.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T06:20:00.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T06:20:00.654Z] Configure a credential helper to remove this warning. See [2021-01-12T06:20:00.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T06:20:00.654Z] [2021-01-12T06:20:00.654Z] Login Succeeded [2021-01-12T06:20:00.654Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T06:20:00.684Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-01-12T06:20:00.872Z] Removing intermediate container 5e6e35cf88f0 [2021-01-12T06:20:00.872Z] ---> a2968391bf03 [2021-01-12T06:20:00.872Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T06:20:00.872Z] ---> Running in 29710aa458da [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T06:20:01.243Z] ========================================================= [2021-01-12T06:20:01.243Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-12T06:20:01.243Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:20:01.468Z] Removing intermediate container 29710aa458da [2021-01-12T06:20:01.468Z] ---> 8ee895e185bb [2021-01-12T06:20:01.468Z] Step 7/8 : COPY . . [2021-01-12T06:20:01.634Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-12T06:20:01.911Z] Sending build context to Docker daemon 2.438MB [2021-01-12T06:20:01.911Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T06:20:01.911Z] Step 2/8 : FROM ${BASE} [2021-01-12T06:20:01.911Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-12T06:20:01.911Z] 188c0c94c7c5: Pulling fs layer [2021-01-12T06:20:01.911Z] 0ef7d3d256c8: Pulling fs layer [2021-01-12T06:20:01.911Z] de9db76c5a1d: Pulling fs layer [2021-01-12T06:20:01.911Z] bca2f99d35d6: Pulling fs layer [2021-01-12T06:20:01.911Z] 93359f2a8cfa: Pulling fs layer [2021-01-12T06:20:01.911Z] 7c6f9722023f: Pulling fs layer [2021-01-12T06:20:01.911Z] a35cf1a2eb13: Pulling fs layer [2021-01-12T06:20:01.911Z] bca2f99d35d6: Waiting [2021-01-12T06:20:01.911Z] 93359f2a8cfa: Waiting [2021-01-12T06:20:01.911Z] 7c6f9722023f: Waiting [2021-01-12T06:20:01.911Z] a35cf1a2eb13: Waiting [2021-01-12T06:20:01.911Z] de9db76c5a1d: Verifying Checksum [2021-01-12T06:20:01.911Z] de9db76c5a1d: Download complete [2021-01-12T06:20:01.911Z] 0ef7d3d256c8: Download complete [2021-01-12T06:20:01.911Z] 93359f2a8cfa: Verifying Checksum [2021-01-12T06:20:01.911Z] 93359f2a8cfa: Download complete [2021-01-12T06:20:01.911Z] 188c0c94c7c5: Verifying Checksum [2021-01-12T06:20:01.911Z] 188c0c94c7c5: Download complete [2021-01-12T06:20:01.911Z] 7c6f9722023f: Download complete [2021-01-12T06:20:02.180Z] 188c0c94c7c5: Pull complete [2021-01-12T06:20:02.443Z] 0ef7d3d256c8: Pull complete [2021-01-12T06:20:02.708Z] de9db76c5a1d: Pull complete [2021-01-12T06:20:02.905Z] ---> 6c2cbda812b6 [2021-01-12T06:20:02.906Z] Step 8/8 : RUN go mod download [2021-01-12T06:20:02.906Z] ---> Running in 25de851358f7 [2021-01-12T06:20:04.103Z] a35cf1a2eb13: Verifying Checksum [2021-01-12T06:20:04.103Z] a35cf1a2eb13: Download complete [2021-01-12T06:20:04.370Z] bca2f99d35d6: Verifying Checksum [2021-01-12T06:20:04.370Z] bca2f99d35d6: Download complete [2021-01-12T06:20:09.701Z] bca2f99d35d6: Pull complete [2021-01-12T06:20:09.701Z] 93359f2a8cfa: Pull complete [2021-01-12T06:20:09.971Z] 7c6f9722023f: Pull complete [2021-01-12T06:20:15.300Z] a35cf1a2eb13: Pull complete [2021-01-12T06:20:15.300Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-12T06:20:15.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-12T06:20:15.300Z] ---> a62c8e92a672 [2021-01-12T06:20:15.300Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:20:15.300Z] ---> Running in e843e7c25607 [2021-01-12T06:20:15.300Z] Removing intermediate container e843e7c25607 [2021-01-12T06:20:15.300Z] ---> 5997edbe5c7a [2021-01-12T06:20:15.300Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T06:20:15.300Z] ---> Running in c8a7aa1d0e62 [2021-01-12T06:20:16.714Z] Removing intermediate container c8a7aa1d0e62 [2021-01-12T06:20:16.714Z] ---> 186d26712812 [2021-01-12T06:20:16.714Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T06:20:16.714Z] ---> Running in 77cf026f3f88 [2021-01-12T06:20:17.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T06:20:18.689Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T06:20:21.245Z] OK: 166 MiB in 39 packages [2021-01-12T06:20:21.826Z] Removing intermediate container 77cf026f3f88 [2021-01-12T06:20:21.826Z] ---> d5edb4cafd7f [2021-01-12T06:20:21.826Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T06:20:21.826Z] ---> Running in bc963efe8c4d [2021-01-12T06:20:21.826Z] Removing intermediate container bc963efe8c4d [2021-01-12T06:20:21.826Z] ---> 8ac7c508ca2b [2021-01-12T06:20:21.826Z] Step 7/8 : COPY . . [2021-01-12T06:20:23.221Z] ---> c84ca53dff7f [2021-01-12T06:20:23.221Z] Step 8/8 : RUN go mod download [2021-01-12T06:20:23.483Z] ---> Running in edc212595e94 [2021-01-12T06:20:25.070Z] Removing intermediate container 25de851358f7 [2021-01-12T06:20:25.070Z] ---> 54c20ce11280 [2021-01-12T06:20:25.070Z] Successfully built 54c20ce11280 [2021-01-12T06:20:25.070Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:20:25.441Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T06:20:25.441Z] . [Pipeline] withDockerContainer [2021-01-12T06:20:25.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-19716 does not seem to be running inside a container [2021-01-12T06:20:25.821Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-12T06:20:27.440Z] $ docker top 39ca074932ad848d832ab0e94ada0d0df39b43b95bb5a958c8d5b556d8e5dedc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T06:20:28.520Z] + go version [2021-01-12T06:20:28.520Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-12T06:20:28.559Z] $ docker stop --time=1 39ca074932ad848d832ab0e94ada0d0df39b43b95bb5a958c8d5b556d8e5dedc [2021-01-12T06:20:30.578Z] $ docker rm -f 39ca074932ad848d832ab0e94ada0d0df39b43b95bb5a958c8d5b556d8e5dedc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:20:31.818Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T06:20:31.818Z] . [Pipeline] withDockerContainer [2021-01-12T06:20:32.096Z] prd-ubuntu18.04-docker-arm64-4c-16g-19716 does not seem to be running inside a container [2021-01-12T06:20:32.178Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-12T06:20:33.727Z] $ docker top 0985d199ff505d6055ad2c6795cf2def5ff914a9f644d1c20397409c918080dd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T06:20:34.832Z] + make test [2021-01-12T06:20:34.833Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T06:20:45.504Z] Removing intermediate container edc212595e94 [2021-01-12T06:20:45.504Z] ---> 6925576a9335 [2021-01-12T06:20:45.504Z] Successfully built 6925576a9335 [2021-01-12T06:20:45.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:20:45.854Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T06:20:45.854Z] . [Pipeline] withDockerContainer [2021-01-12T06:20:45.996Z] prd-centos7-docker-4c-2g-19717 does not seem to be running inside a container [2021-01-12T06:20:46.047Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-12T06:20:46.894Z] $ docker top 85073ecabafdd5e2fec6cea6713bab93670cbf48648e8d17c4d1f48124010f98 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T06:20:47.425Z] + go version [2021-01-12T06:20:47.425Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-12T06:20:47.455Z] $ docker stop --time=1 85073ecabafdd5e2fec6cea6713bab93670cbf48648e8d17c4d1f48124010f98 [2021-01-12T06:20:48.810Z] $ docker rm -f 85073ecabafdd5e2fec6cea6713bab93670cbf48648e8d17c4d1f48124010f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:20:49.883Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T06:20:49.883Z] . [Pipeline] withDockerContainer [2021-01-12T06:20:50.004Z] prd-centos7-docker-4c-2g-19717 does not seem to be running inside a container [2021-01-12T06:20:50.051Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-12T06:20:50.763Z] $ docker top 60a2e1eeb21ffccf9cb4010b627f9201d6b64158c546f329f094d971adff99eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T06:20:51.323Z] + make test [2021-01-12T06:20:51.323Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T06:20:57.007Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-12T06:20:59.525Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-12T06:21:14.575Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T06:21:14.575Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T06:21:14.575Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T06:21:14.575Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 19.4% of statements [2021-01-12T06:21:17.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.599s coverage: 97.1% of statements [2021-01-12T06:21:36.055Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T06:21:36.055Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T06:21:36.055Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T06:21:36.340Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 19.4% of statements [2021-01-12T06:21:41.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.190s coverage: 97.1% of statements [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 9.4% of statements [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.7% of statements [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.211s coverage: 42.5% of statements [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.075s coverage: 53.8% of statements [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.405s coverage: 68.9% of statements [2021-01-12T06:21:43.792Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements [2021-01-12T06:21:43.792Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T06:21:44.057Z] GO111MODULE=on go vet ./... [2021-01-12T06:21:54.142Z] gofmt -l . [2021-01-12T06:21:54.142Z] [ "`gofmt -l .`" = "" ] [2021-01-12T06:21:54.142Z] ./bin/test-attribution-txt.sh [2021-01-12T06:21:54.405Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T06:21:54.704Z] $ docker stop --time=1 60a2e1eeb21ffccf9cb4010b627f9201d6b64158c546f329f094d971adff99eb [2021-01-12T06:21:56.737Z] $ docker rm -f 60a2e1eeb21ffccf9cb4010b627f9201d6b64158c546f329f094d971adff99eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T06:21:57.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T06:21:57.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-12T06:22:00.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-12T06:22:01.252Z] + ls -al . [2021-01-12T06:22:01.252Z] total 208 [2021-01-12T06:22:01.252Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 06:21 . [2021-01-12T06:22:01.252Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 12 06:19 .. [2021-01-12T06:22:01.252Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 06:19 bin [2021-01-12T06:22:01.252Z] -rw-r--r--. 1 jenkins jenkins 130605 Jan 12 06:21 coverage.out [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 12 06:19 Dockerfile.build [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 06:19 .dockerignore [2021-01-12T06:22:01.252Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 12 06:19 example [2021-01-12T06:22:01.252Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 06:19 .git [2021-01-12T06:22:01.252Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 12 06:19 .github [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 12 06:19 .gitignore [2021-01-12T06:22:01.252Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 12 06:21 go.mod [2021-01-12T06:22:01.252Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 12 06:21 go.sum [2021-01-12T06:22:01.252Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 12 06:19 internal [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 12 06:19 Jenkinsfile [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 06:19 LICENSE [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 12 06:19 Makefile [2021-01-12T06:22:01.252Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 12 06:19 openapi [2021-01-12T06:22:01.252Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 06:19 pkg [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 12 06:19 README.md [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 12 06:19 RELEASE-NOTES.txt [2021-01-12T06:22:01.252Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 06:19 snap [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 06:17 VERSION [2021-01-12T06:22:01.252Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 06:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:22:01.636Z] + 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=0725852f8369621373337e5fabb271bfba87f02a --label arch=amd64 --label version=0.0.0 . [2021-01-12T06:22:01.901Z] Sending build context to Docker daemon 2.57MB [2021-01-12T06:22:01.901Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T06:22:01.901Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T06:22:01.901Z] ---> 6925576a9335 [2021-01-12T06:22:01.901Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T06:22:02.848Z] ---> Running in 3df91fa737cb [2021-01-12T06:22:02.849Z] Removing intermediate container 3df91fa737cb [2021-01-12T06:22:02.849Z] ---> 0e9087b7cda3 [2021-01-12T06:22:02.849Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T06:22:02.849Z] ---> Running in 1177b7761438 [2021-01-12T06:22:03.113Z] Removing intermediate container 1177b7761438 [2021-01-12T06:22:03.113Z] ---> 6905444ecfab [2021-01-12T06:22:03.113Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:22:03.113Z] ---> Running in c808e187a44a [2021-01-12T06:22:03.382Z] Removing intermediate container c808e187a44a [2021-01-12T06:22:03.382Z] ---> 2647edac8daf [2021-01-12T06:22:03.382Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T06:22:03.382Z] ---> Running in cb33d4298929 [2021-01-12T06:22:04.335Z] Removing intermediate container cb33d4298929 [2021-01-12T06:22:04.335Z] ---> 261ff31da490 [2021-01-12T06:22:04.335Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T06:22:04.335Z] ---> Running in fe7401bceba6 [2021-01-12T06:22:04.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T06:22:06.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T06:22:07.731Z] OK: 166 MiB in 39 packages [2021-01-12T06:22:07.994Z] Removing intermediate container fe7401bceba6 [2021-01-12T06:22:07.994Z] ---> 97eab2a146dd [2021-01-12T06:22:07.994Z] Step 8/24 : COPY . . [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.133s coverage: 9.4% of statements [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.7% of statements [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.545s coverage: 42.5% of statements [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.707s coverage: 68.9% of statements [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 53.8% of statements [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.934s coverage: 68.9% of statements [2021-01-12T06:22:08.633Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.117s coverage: 4.2% of statements [2021-01-12T06:22:08.633Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T06:22:08.946Z] ---> 6951ad9fb61e [2021-01-12T06:22:08.946Z] Step 9/24 : RUN ${MAKE} [2021-01-12T06:22:09.238Z] GO111MODULE=on go vet ./... [2021-01-12T06:22:09.277Z] ---> Running in 7e5ef2b82623 [2021-01-12T06:22:10.355Z] 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 [2021-01-12T06:22:18.860Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T06:22:20.253Z] Removing intermediate container 7e5ef2b82623 [2021-01-12T06:22:20.253Z] ---> 571eaa1d750a [2021-01-12T06:22:20.253Z] Step 10/24 : FROM scratch [2021-01-12T06:22:20.253Z] ---> [2021-01-12T06:22:20.253Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:22:20.253Z] ---> Running in 0f7fd81bc017 [2021-01-12T06:22:20.253Z] Removing intermediate container 0f7fd81bc017 [2021-01-12T06:22:20.253Z] ---> 59627b9836ea [2021-01-12T06:22:20.253Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T06:22:20.253Z] ---> Running in 238fa3e70c99 [2021-01-12T06:22:20.515Z] Removing intermediate container 238fa3e70c99 [2021-01-12T06:22:20.515Z] ---> a11878ff386a [2021-01-12T06:22:20.515Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T06:22:20.515Z] ---> Running in 07bb7a3dd2c6 [2021-01-12T06:22:20.515Z] Removing intermediate container 07bb7a3dd2c6 [2021-01-12T06:22:20.515Z] ---> 1075f3f4fa7b [2021-01-12T06:22:20.515Z] Step 14/24 : WORKDIR / [2021-01-12T06:22:20.778Z] ---> Running in f625695460aa [2021-01-12T06:22:20.778Z] Removing intermediate container f625695460aa [2021-01-12T06:22:20.778Z] ---> c561e305720d [2021-01-12T06:22:20.778Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T06:22:21.356Z] ---> 64f3a0d8c92d [2021-01-12T06:22:21.356Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T06:22:21.623Z] ---> f0c187fe5588 [2021-01-12T06:22:21.624Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T06:22:21.900Z] ---> c34747337582 [2021-01-12T06:22:21.900Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T06:22:22.167Z] ---> 372a8f887a21 [2021-01-12T06:22:22.167Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T06:22:22.429Z] ---> 466b4c2b192f [2021-01-12T06:22:22.429Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T06:22:22.429Z] ---> Running in c9d74bed28e6 [2021-01-12T06:22:22.692Z] Removing intermediate container c9d74bed28e6 [2021-01-12T06:22:22.692Z] ---> ec29d087492a [2021-01-12T06:22:22.692Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T06:22:22.692Z] ---> Running in 50a138d18e9b [2021-01-12T06:22:22.692Z] Removing intermediate container 50a138d18e9b [2021-01-12T06:22:22.692Z] ---> ac22e84f7222 [2021-01-12T06:22:22.692Z] Step 22/24 : LABEL arch=amd64 [2021-01-12T06:22:22.964Z] ---> Running in 085bd4069a84 [2021-01-12T06:22:22.964Z] Removing intermediate container 085bd4069a84 [2021-01-12T06:22:22.964Z] ---> 7821ce95bac6 [2021-01-12T06:22:22.964Z] Step 23/24 : LABEL git_sha=0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:22:23.227Z] ---> Running in 080f3d2505c1 [2021-01-12T06:22:23.227Z] Removing intermediate container 080f3d2505c1 [2021-01-12T06:22:23.227Z] ---> dbbd85ed579a [2021-01-12T06:22:23.227Z] Step 24/24 : LABEL version=0.0.0 [2021-01-12T06:22:23.491Z] ---> Running in 85a0a528c00b [2021-01-12T06:22:23.491Z] Removing intermediate container 85a0a528c00b [2021-01-12T06:22:23.491Z] ---> eb5fdceb9c30 [2021-01-12T06:22:23.491Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T06:22:23.491Z] Successfully built eb5fdceb9c30 [2021-01-12T06:22:23.491Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-12T06:22:42.045Z] gofmt -l . [2021-01-12T06:22:42.321Z] [ "`gofmt -l .`" = "" ] [2021-01-12T06:22:42.595Z] ./bin/test-attribution-txt.sh [2021-01-12T06:22:43.568Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T06:22:43.910Z] $ docker stop --time=1 0985d199ff505d6055ad2c6795cf2def5ff914a9f644d1c20397409c918080dd [2021-01-12T06:22:46.065Z] $ docker rm -f 0985d199ff505d6055ad2c6795cf2def5ff914a9f644d1c20397409c918080dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T06:22:47.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T06:22:47.220Z] Warning: overwriting stash ‘coverage-report’ [2021-01-12T06:22:48.038Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T06:22:48.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-12T06:22:49.263Z] + ls -al . [2021-01-12T06:22:49.263Z] total 244 [2021-01-12T06:22:49.263Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 06:22 . [2021-01-12T06:22:49.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 06:19 .. [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 06:19 .dockerignore [2021-01-12T06:22:49.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 06:19 .git [2021-01-12T06:22:49.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 06:19 .github [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 12 06:19 .gitignore [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 12 06:19 Dockerfile.build [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 12 06:19 Jenkinsfile [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 06:19 LICENSE [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 12 06:19 Makefile [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 12 06:19 README.md [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 12 06:19 RELEASE-NOTES.txt [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 06:17 VERSION [2021-01-12T06:22:49.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 06:19 bin [2021-01-12T06:22:49.263Z] -rw-r--r-- 1 jenkins jenkins 130605 Jan 12 06:22 coverage.out [2021-01-12T06:22:49.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 06:19 example [2021-01-12T06:22:49.263Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 12 06:22 go.mod [2021-01-12T06:22:49.263Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 12 06:22 go.sum [2021-01-12T06:22:49.263Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 06:19 internal [2021-01-12T06:22:49.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 06:19 openapi [2021-01-12T06:22:49.263Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 06:19 pkg [2021-01-12T06:22:49.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 06:19 snap [2021-01-12T06:22:49.263Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 06:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:22:49.640Z] + 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=0725852f8369621373337e5fabb271bfba87f02a --label arch=arm64 --label version=0.0.0 . [2021-01-12T06:22:50.245Z] Sending build context to Docker daemon 2.569MB [2021-01-12T06:22:50.245Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T06:22:50.245Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T06:22:50.245Z] ---> 54c20ce11280 [2021-01-12T06:22:50.245Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T06:22:50.517Z] ---> Running in f64034f9a2c8 [2021-01-12T06:22:50.789Z] Removing intermediate container f64034f9a2c8 [2021-01-12T06:22:50.789Z] ---> c8c61cd1aa79 [2021-01-12T06:22:50.789Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T06:22:51.065Z] ---> Running in 948fb25147c5 [2021-01-12T06:22:51.337Z] Removing intermediate container 948fb25147c5 [2021-01-12T06:22:51.337Z] ---> 39f1d9c9b9b3 [2021-01-12T06:22:51.337Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:22:51.610Z] ---> Running in 1564f19e0a6b [2021-01-12T06:22:51.883Z] Removing intermediate container 1564f19e0a6b [2021-01-12T06:22:51.883Z] ---> 8170fc6d68d7 [2021-01-12T06:22:51.883Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T06:22:52.156Z] ---> Running in 3c88cfde678e [2021-01-12T06:22:54.139Z] Removing intermediate container 3c88cfde678e [2021-01-12T06:22:54.139Z] ---> 66fe00c612cc [2021-01-12T06:22:54.139Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T06:22:54.415Z] ---> Running in c78fcc0791a9 [2021-01-12T06:22:55.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T06:22:56.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T06:22:57.803Z] OK: 142 MiB in 39 packages [2021-01-12T06:22:58.785Z] Removing intermediate container c78fcc0791a9 [2021-01-12T06:22:58.785Z] ---> fc233a25c185 [2021-01-12T06:22:58.785Z] Step 8/24 : COPY . . [2021-01-12T06:23:00.216Z] ---> 5c1d69e83330 [2021-01-12T06:23:00.216Z] Step 9/24 : RUN ${MAKE} [2021-01-12T06:23:00.216Z] ---> Running in 78cc2feb334e [2021-01-12T06:23:01.188Z] 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 [2021-01-12T06:23:27.997Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T06:23:27.997Z] Removing intermediate container 78cc2feb334e [2021-01-12T06:23:27.997Z] ---> bbb56325c954 [2021-01-12T06:23:27.997Z] Step 10/24 : FROM scratch [2021-01-12T06:23:27.997Z] ---> [2021-01-12T06:23:27.997Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T06:23:27.997Z] ---> Running in 4b7dbf1692df [2021-01-12T06:23:28.591Z] Removing intermediate container 4b7dbf1692df [2021-01-12T06:23:28.591Z] ---> f3730a2bf76d [2021-01-12T06:23:28.591Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T06:23:28.591Z] ---> Running in d421dd3c8c93 [2021-01-12T06:23:28.863Z] Removing intermediate container d421dd3c8c93 [2021-01-12T06:23:28.863Z] ---> 3d348e590353 [2021-01-12T06:23:28.863Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T06:23:29.135Z] ---> Running in 54fa0af6e168 [2021-01-12T06:23:29.406Z] Removing intermediate container 54fa0af6e168 [2021-01-12T06:23:29.406Z] ---> 1e8342badb1e [2021-01-12T06:23:29.406Z] Step 14/24 : WORKDIR / [2021-01-12T06:23:29.678Z] ---> Running in 258e689f5d46 [2021-01-12T06:23:29.950Z] Removing intermediate container 258e689f5d46 [2021-01-12T06:23:29.950Z] ---> d63f1a19d69d [2021-01-12T06:23:29.950Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T06:23:31.383Z] ---> d01eceb9c29b [2021-01-12T06:23:31.383Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T06:23:31.979Z] ---> 9965ee72f9a2 [2021-01-12T06:23:31.979Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T06:23:32.574Z] ---> d2a7f1e3fd79 [2021-01-12T06:23:32.574Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T06:23:33.551Z] ---> 1b2ccd75b4bc [2021-01-12T06:23:33.551Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T06:23:34.145Z] ---> c6c3c9944439 [2021-01-12T06:23:34.145Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T06:23:34.420Z] ---> Running in 2a10b8da0156 [2021-01-12T06:23:34.692Z] Removing intermediate container 2a10b8da0156 [2021-01-12T06:23:34.692Z] ---> e12f8864f79a [2021-01-12T06:23:34.692Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T06:23:35.019Z] ---> Running in 66561c78f07d [2021-01-12T06:23:35.290Z] Removing intermediate container 66561c78f07d [2021-01-12T06:23:35.290Z] ---> 2d822c0dd38b [2021-01-12T06:23:35.290Z] Step 22/24 : LABEL arch=arm64 [2021-01-12T06:23:35.563Z] ---> Running in 4d013a904cc7 [2021-01-12T06:23:35.836Z] Removing intermediate container 4d013a904cc7 [2021-01-12T06:23:35.836Z] ---> 53c50029a770 [2021-01-12T06:23:35.836Z] Step 23/24 : LABEL git_sha=0725852f8369621373337e5fabb271bfba87f02a [2021-01-12T06:23:36.107Z] ---> Running in 62417f4b094e [2021-01-12T06:23:36.379Z] Removing intermediate container 62417f4b094e [2021-01-12T06:23:36.379Z] ---> 05e39a19657f [2021-01-12T06:23:36.379Z] Step 24/24 : LABEL version=0.0.0 [2021-01-12T06:23:36.650Z] ---> Running in 162a296198d9 [2021-01-12T06:23:36.921Z] Removing intermediate container 162a296198d9 [2021-01-12T06:23:36.921Z] ---> 8dc6be4cafe4 [2021-01-12T06:23:36.921Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T06:23:37.192Z] Successfully built 8dc6be4cafe4 [2021-01-12T06:23:37.192Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-12T06:23:39.493Z] provisioning config files... [2021-01-12T06:23:39.506Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/config2028537939893757416tmp [Pipeline] { [Pipeline] sh [2021-01-12T06:23:39.936Z] + set +x [2021-01-12T06:23:39.936Z] + curl -s https://codecov.io/bash [2021-01-12T06:23:39.936Z] + bash -s -- [2021-01-12T06:23:40.203Z] [2021-01-12T06:23:40.203Z] _____ _ [2021-01-12T06:23:40.203Z] / ____| | | [2021-01-12T06:23:40.203Z] | | ___ __| | ___ ___ _____ __ [2021-01-12T06:23:40.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-12T06:23:40.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-12T06:23:40.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-12T06:23:40.203Z] Bash-20201231-23d4836 [2021-01-12T06:23:40.203Z] [2021-01-12T06:23:40.203Z] [2021-01-12T06:23:40.203Z] ==> git version 2.24.3 found [2021-01-12T06:23:40.203Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-12T06:23:40.203Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-12T06:23:40.203Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-12T06:23:40.203Z] ==> Jenkins CI detected. [2021-01-12T06:23:40.203Z] project root: . [2021-01-12T06:23:40.203Z] --> token set from env [2021-01-12T06:23:40.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-12T06:23:40.203Z] ==> Running gcov in . (disable via -X gcov) [2021-01-12T06:23:40.203Z] ==> Python coveragepy not found [2021-01-12T06:23:40.203Z] ==> Searching for coverage reports in: [2021-01-12T06:23:40.203Z] + . [2021-01-12T06:23:40.203Z] -> Found 1 reports [2021-01-12T06:23:40.203Z] ==> Detecting git/mercurial file structure [2021-01-12T06:23:40.203Z] ==> Reading reports [2021-01-12T06:23:40.203Z] + ./coverage.out bytes=130605 [2021-01-12T06:23:40.203Z] ==> Appending adjustments [2021-01-12T06:23:40.203Z] https://docs.codecov.io/docs/fixing-reports [2021-01-12T06:23:40.778Z] + Found adjustments [2021-01-12T06:23:40.778Z] ==> Gzipping contents [2021-01-12T06:23:40.778Z] 24K /tmp/codecov.hUJC6x.gz [2021-01-12T06:23:40.778Z] ==> Uploading reports [2021-01-12T06:23:40.778Z] url: https://codecov.io [2021-01-12T06:23:40.778Z] query: branch=PR-726&commit=0725852f8369621373337e5fabb271bfba87f02a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-726%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=726&job=&cmd_args= [2021-01-12T06:23:40.778Z] -> Pinging Codecov [2021-01-12T06:23:40.778Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-726&commit=0725852f8369621373337e5fabb271bfba87f02a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-726%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=726&job=&cmd_args= [2021-01-12T06:23:41.041Z] -> Uploading to [2021-01-12T06:23:41.042Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-12/7E55EF52A471D76F132DFD9A03CDDE97/0725852f8369621373337e5fabb271bfba87f02a/c74606ae-8385-42c3-b68d-4ce0861f78ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T062340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3b506a40940180499ba9a7506600912ff59dce9c73f0d72b94fcdda4924b130 [2021-01-12T06:23:41.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-12T06:23:41.042Z] Dload Upload Total Spent Left Speed [2021-01-12T06:23:41.615Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21300 0 0 100 21300 0 45513 --:--:-- --:--:-- --:--:-- 45610 [2021-01-12T06:23:41.615Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0725852f8369621373337e5fabb271bfba87f02a [Pipeline] } [2021-01-12T06:23:41.662Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:23:45.388Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:23:45.751Z] ---> package-listing.sh [2021-01-12T06:23:45.751Z] ++ facter osfamily [2021-01-12T06:23:45.751Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-12T06:23:45.751Z] + OS_FAMILY=redhat [2021-01-12T06:23:45.751Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-726 [2021-01-12T06:23:45.751Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-12T06:23:45.751Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-12T06:23:45.751Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-12T06:23:45.751Z] + PACKAGES=/tmp/packages_start.txt [2021-01-12T06:23:45.751Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-726 ']' [2021-01-12T06:23:45.751Z] + PACKAGES=/tmp/packages_end.txt [2021-01-12T06:23:45.751Z] + case "${OS_FAMILY}" in [2021-01-12T06:23:45.751Z] + rpm -qa [2021-01-12T06:23:45.751Z] + sort [2021-01-12T06:23:51.055Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-12T06:23:51.055Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-12T06:23:51.055Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-12T06:23:51.055Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-726 ']' [2021-01-12T06:23:51.055Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-726/archives/ [2021-01-12T06:23:51.055Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-726/archives/ [Pipeline] echo [2021-01-12T06:23:51.092Z] 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-726/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-12T06:23:51.418Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:23:51.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T06:23:51.766Z] [2021-01-12T06:23:51.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-12T06:23:52.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T06:23:52.178Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-12T06:23:52.178Z] df20fa9351a1: Pulling fs layer [2021-01-12T06:23:52.178Z] 36b3adc4ff6f: Pulling fs layer [2021-01-12T06:23:52.178Z] 8ad3a11d3b57: Pulling fs layer [2021-01-12T06:23:52.178Z] 46f8f816bc3b: Pulling fs layer [2021-01-12T06:23:52.178Z] 93b61091891f: Pulling fs layer [2021-01-12T06:23:52.178Z] 93b9cdb0e59b: Pulling fs layer [2021-01-12T06:23:52.178Z] 5e14af77c1be: Pulling fs layer [2021-01-12T06:23:52.178Z] 01666e4c0597: Pulling fs layer [2021-01-12T06:23:52.178Z] aa168da1d23b: Pulling fs layer [2021-01-12T06:23:52.178Z] 93b61091891f: Waiting [2021-01-12T06:23:52.178Z] 93b9cdb0e59b: Waiting [2021-01-12T06:23:52.178Z] 5e14af77c1be: Waiting [2021-01-12T06:23:52.178Z] 01666e4c0597: Waiting [2021-01-12T06:23:52.178Z] aa168da1d23b: Waiting [2021-01-12T06:23:52.178Z] 46f8f816bc3b: Waiting [2021-01-12T06:23:52.178Z] 36b3adc4ff6f: Verifying Checksum [2021-01-12T06:23:52.178Z] 36b3adc4ff6f: Download complete [2021-01-12T06:23:52.178Z] 46f8f816bc3b: Verifying Checksum [2021-01-12T06:23:52.178Z] 46f8f816bc3b: Download complete [2021-01-12T06:23:52.441Z] df20fa9351a1: Verifying Checksum [2021-01-12T06:23:52.441Z] 93b9cdb0e59b: Verifying Checksum [2021-01-12T06:23:52.441Z] 93b9cdb0e59b: Download complete [2021-01-12T06:23:52.441Z] 93b61091891f: Verifying Checksum [2021-01-12T06:23:52.441Z] 93b61091891f: Download complete [2021-01-12T06:23:52.441Z] 5e14af77c1be: Download complete [2021-01-12T06:23:52.441Z] 01666e4c0597: Verifying Checksum [2021-01-12T06:23:52.441Z] 01666e4c0597: Download complete [2021-01-12T06:23:52.703Z] df20fa9351a1: Pull complete [2021-01-12T06:23:52.965Z] 36b3adc4ff6f: Pull complete [2021-01-12T06:23:53.229Z] 8ad3a11d3b57: Verifying Checksum [2021-01-12T06:23:53.229Z] 8ad3a11d3b57: Download complete [2021-01-12T06:23:53.811Z] 8ad3a11d3b57: Pull complete [2021-01-12T06:23:54.076Z] 46f8f816bc3b: Pull complete [2021-01-12T06:23:54.652Z] 93b61091891f: Pull complete [2021-01-12T06:23:54.921Z] 93b9cdb0e59b: Pull complete [2021-01-12T06:23:54.921Z] aa168da1d23b: Verifying Checksum [2021-01-12T06:23:54.921Z] aa168da1d23b: Download complete [2021-01-12T06:23:55.194Z] 5e14af77c1be: Pull complete [2021-01-12T06:23:55.194Z] 01666e4c0597: Pull complete [2021-01-12T06:24:01.860Z] aa168da1d23b: Pull complete [2021-01-12T06:24:01.860Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-12T06:24:01.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T06:24:01.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-12T06:24:02.074Z] prd-centos7-docker-4c-2g-19715 does not seem to be running inside a container [2021-01-12T06:24:02.121Z] $ 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-726/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-726 -v /w/workspace/dgexfoundry_device-sdk-go_PR-726:/w/workspace/dgexfoundry_device-sdk-go_PR-726:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-12T06:24:08.466Z] $ docker top a31481d0de43cd987edce367bdda9ca06b9eccb14664cfdca97279fa1f9d599f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T06:24:09.004Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-12T06:24:09.323Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-12T06:24:09.637Z] + ls /var/log/sa-host [2021-01-12T06:24:09.638Z] + sadf -c /var/log/sa-host/sa12 [2021-01-12T06:24:09.638Z] file_magic: OK [2021-01-12T06:24:09.638Z] HZ: Using current value: 100 [2021-01-12T06:24:09.638Z] file_header: OK [2021-01-12T06:24:09.638Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-12T06:24:09.638Z] Statistics: [2021-01-12T06:24:09.638Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-12T06:24:09.638Z] File successfully converted to sysstat format version 12.2.1 [2021-01-12T06:24:09.638Z] + sadf -c /var/log/sa-host/sa23 [2021-01-12T06:24:09.638Z] file_magic: OK [2021-01-12T06:24:09.638Z] HZ: Using current value: 100 [2021-01-12T06:24:09.638Z] file_header: OK [2021-01-12T06:24:09.638Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-12T06:24:09.638Z] Statistics: [2021-01-12T06:24:09.638Z] Hnuu...uuuununununu... [2021-01-12T06:24:09.638Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-12T06:24:10.351Z] provisioning config files... [2021-01-12T06:24:10.369Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-726@tmp/config4369954258118375581tmp [Pipeline] { [Pipeline] echo [2021-01-12T06:24:10.493Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:24:10.823Z] ---> create-netrc.sh [Pipeline] } [2021-01-12T06:24:10.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-12T06:24:10.998Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:24:11.334Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-12T06:24:11.363Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:24:11.710Z] ---> sudo-logs.sh [2021-01-12T06:24:11.710Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-12T06:24:11.749Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:24:12.128Z] ---> job-cost.sh [2021-01-12T06:24:12.129Z] lf-activate-venv: SKIPPING [2021-01-12T06:24:12.129Z] INFO: No Stack... [2021-01-12T06:24:12.702Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-12T06:24:13.273Z] INFO: Archiving Costs [Pipeline] echo [2021-01-12T06:24:13.306Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T06:24:13.644Z] ---> logs-deploy.sh [2021-01-12T06:24:13.645Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-726/1 [2021-01-12T06:24:13.645Z] INFO: archiving workspace using pattern(s): [2021-01-12T06:24:15.561Z] Archives upload complete. [2021-01-12T06:24:15.561Z] INFO: archiving logs to Nexus