Pull request #737 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e04106a2c023468aa2652ed208468b54ad9b615b+619f260ee4c0648af817c78e3551f454d78ccf58 (7b528666ff3d1ac420855466e78bbc3182fe9bcc) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-737/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-737/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 f82e9360b4159668f7e3e090307a6179e9a8e48d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20636 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [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-737 # 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/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) > git config core.sparsecheckout # timeout=10 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # 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 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 Commit message: "refactor: Make SDK a V2 Go Module" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T21:34:52.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T21:34:52.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T21:34:52.779Z] ========================================================= [2021-01-15T21:34:52.779Z] EdgeX Global Pipelines Version Info [2021-01-15T21:34:52.779Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:34:54.683Z] ------------------- [2021-01-15T21:34:54.683Z] stable info: [2021-01-15T21:34:54.683Z] ------------------- [2021-01-15T21:34:54.683Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T21:34:54.683Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:34:54.683Z] Message: update stable to v1.0.177 [2021-01-15T21:34:55.259Z] ------------------- [2021-01-15T21:34:55.259Z] experimental info: [2021-01-15T21:34:55.259Z] ------------------- [2021-01-15T21:34:55.259Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T21:34:55.259Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T21:34:55.259Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T21:34:55.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T21:34:55.785Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T21:34:55.907Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T21:34:56.036Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T21:34:56.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T21:34:56.291Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T21:34:56.435Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T21:34:56.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T21:34:56.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T21:34:56.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T21:34:56.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T21:34:57.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T21:34:57.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T21:34:57.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T21:34:57.510Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T21:34:57.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:34:57.780Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:34:57.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:34:58.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T21:34:58.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T21:34:58.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T21:34:58.408Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T21:34:58.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T21:34:58.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T21:34:58.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T21:34:58.914Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T21:34:59.079Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T21:34:59.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-737 [Pipeline] echo [2021-01-15T21:34:59.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-737 [Pipeline] echo [2021-01-15T21:34:59.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-737 [Pipeline] echo [2021-01-15T21:34:59.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] echo [2021-01-15T21:34:59.732Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e04106a [Pipeline] echo [2021-01-15T21:34:59.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:35:00.131Z] provisioning config files... [2021-01-15T21:35:00.158Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config6482744461962975284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:35:00.636Z] ---> docker-login.sh [2021-01-15T21:35:00.636Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:35:00.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:35:01.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:35:01.162Z] Configure a credential helper to remove this warning. See [2021-01-15T21:35:01.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:35:01.162Z] [2021-01-15T21:35:01.162Z] Login Succeeded [2021-01-15T21:35:01.162Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:35:01.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:35:01.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:35:01.426Z] Configure a credential helper to remove this warning. See [2021-01-15T21:35:01.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:35:01.426Z] [2021-01-15T21:35:01.426Z] Login Succeeded [2021-01-15T21:35:01.426Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:35:01.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:35:01.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:35:01.426Z] Configure a credential helper to remove this warning. See [2021-01-15T21:35:01.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:35:01.426Z] [2021-01-15T21:35:01.426Z] Login Succeeded [2021-01-15T21:35:01.426Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:35:01.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:35:01.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:35:01.690Z] Configure a credential helper to remove this warning. See [2021-01-15T21:35:01.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:35:01.690Z] [2021-01-15T21:35:01.690Z] Login Succeeded [2021-01-15T21:35:01.690Z] docker.io [2021-01-15T21:35:01.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:35:02.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:35:02.218Z] Configure a credential helper to remove this warning. See [2021-01-15T21:35:02.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:35:02.218Z] [2021-01-15T21:35:02.218Z] Login Succeeded [2021-01-15T21:35:02.218Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:35:02.242Z] 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-15T21:35:03.313Z] + git log --format=format:%s -1 e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] echo [2021-01-15T21:35:03.403Z] GIT_COMMIT: e04106a2c023468aa2652ed208468b54ad9b615b, Commit Message: refactor: Make SDK a V2 Go Module [Pipeline] echo [2021-01-15T21:35:03.500Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:35:04.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:35:04.187Z] [2021-01-15T21:35:04.187Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:35:04.597Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:35:04.597Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T21:35:04.597Z] 31603596830f: Pulling fs layer [2021-01-15T21:35:04.597Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T21:35:04.597Z] 6ca5941a6612: Pulling fs layer [2021-01-15T21:35:04.597Z] ecc8261a40a4: Pulling fs layer [2021-01-15T21:35:04.597Z] ecc8261a40a4: Waiting [2021-01-15T21:35:04.597Z] 2a8b12db71e7: Verifying Checksum [2021-01-15T21:35:04.597Z] 2a8b12db71e7: Download complete [2021-01-15T21:35:04.865Z] 31603596830f: Download complete [2021-01-15T21:35:04.865Z] ecc8261a40a4: Verifying Checksum [2021-01-15T21:35:04.865Z] ecc8261a40a4: Download complete [2021-01-15T21:35:04.865Z] 6ca5941a6612: Verifying Checksum [2021-01-15T21:35:04.865Z] 6ca5941a6612: Download complete [2021-01-15T21:35:05.130Z] 31603596830f: Pull complete [2021-01-15T21:35:05.399Z] 2a8b12db71e7: Pull complete [2021-01-15T21:35:06.355Z] 6ca5941a6612: Pull complete [2021-01-15T21:35:06.355Z] ecc8261a40a4: Pull complete [2021-01-15T21:35:06.355Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T21:35:06.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:35:06.627Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T21:35:06.773Z] prd-centos7-docker-4c-2g-20636 does not seem to be running inside a container [2021-01-15T21:35:06.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-737 -v /w/workspace/dgexfoundry_device-sdk-go_PR-737:/w/workspace/dgexfoundry_device-sdk-go_PR-737:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:35:09.763Z] $ docker top 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:35:10.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:35:10.154Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:35:10.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:35:10.416Z] $ docker exec 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent [2021-01-15T21:35:10.608Z] SSH_AUTH_SOCK=/tmp/ssh-Hp1zx4GQXzNC/agent.11 [2021-01-15T21:35:10.608Z] SSH_AGENT_PID=16 [2021-01-15T21:35:10.623Z] Running ssh-add (command line suppressed) [2021-01-15T21:35:10.754Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_4436372343332085877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_4436372343332085877.key) [2021-01-15T21:35:10.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:35:11.219Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T21:35:11.256Z] $ docker exec --env ******** --env ******** 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent -k [2021-01-15T21:35:11.376Z] unset SSH_AUTH_SOCK; [2021-01-15T21:35:11.377Z] unset SSH_AGENT_PID; [2021-01-15T21:35:11.377Z] echo Agent pid 16 killed; [2021-01-15T21:35:11.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T21:35:11.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:35:11.664Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:35:11.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:35:11.855Z] $ docker exec 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent [2021-01-15T21:35:12.025Z] SSH_AUTH_SOCK=/tmp/ssh-5pmc3sbxZSda/agent.46 [2021-01-15T21:35:12.025Z] SSH_AGENT_PID=51 [2021-01-15T21:35:12.032Z] Running ssh-add (command line suppressed) [2021-01-15T21:35:12.157Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_1276624505771999678.key (/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_1276624505771999678.key) [2021-01-15T21:35:12.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:35:12.587Z] + git semver init [2021-01-15T21:35:12.587Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:35:12.587Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-737/.git [2021-01-15T21:35:12.587Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-737 [2021-01-15T21:35:12.587Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:35:12.587Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:35:12.587Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:35:12.587Z] # $SEMVER_BRANCH = PR-737 [2021-01-15T21:35:12.587Z] # $SEMVER_TEMP = /tmp/semver-961514647 [2021-01-15T21:35:12.587Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T21:35:13.165Z] # '/tmp/semver-961514647' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-737/.semver' [2021-01-15T21:35:13.166Z] # -> Force: false [2021-01-15T21:35:13.166Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-737/.semver [Pipeline] } [2021-01-15T21:35:13.187Z] $ docker exec --env ******** --env ******** 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent -k [2021-01-15T21:35:13.304Z] unset SSH_AUTH_SOCK; [2021-01-15T21:35:13.305Z] unset SSH_AGENT_PID; [2021-01-15T21:35:13.305Z] echo Agent pid 51 killed; [2021-01-15T21:35:13.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:35:13.923Z] + git semver [Pipeline] } [2021-01-15T21:35:13.957Z] $ docker stop --time=1 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 [2021-01-15T21:35:15.632Z] $ docker rm -f 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:35:16.170Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T21:35:16.669Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T21:35:16.692Z] [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-15T21:35:32.542Z] Still waiting to schedule task [2021-01-15T21:35:32.542Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-15T21:35:32.571Z] Still waiting to schedule task [2021-01-15T21:35:32.571Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-15T21:37:14.474Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20637 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [Pipeline] { [Pipeline] ws [2021-01-15T21:37:14.573Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-15T21:37:19.725Z] using credential edgex-jenkins-ssh [2021-01-15T21:37:19.825Z] Cloning the remote Git repository [2021-01-15T21:37:19.879Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:19.982Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-15T21:37:20.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:20.064Z] > git --version # timeout=10 [2021-01-15T21:37:20.086Z] > git --version # 'git version 2.17.1' [2021-01-15T21:37:20.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:37:20.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:37:22.078Z] Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:37:21.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:37:21.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:37:21.369Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:37:21.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:21.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:37:21.419Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:37:22.096Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:37:22.115Z] > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 [2021-01-15T21:37:22.478Z] Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:37:22.479Z] Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) [2021-01-15T21:37:22.291Z] > git remote # timeout=10 [2021-01-15T21:37:22.333Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:37:22.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:37:22.401Z] > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T21:37:22.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:37:22.484Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:37:22.518Z] > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 [2021-01-15T21:37:26.766Z] Commit message: "refactor: Make SDK a V2 Go Module" [2021-01-15T21:37:26.815Z] > git --version # timeout=10 [2021-01-15T21:37:26.826Z] > git --version # 'git version 2.17.1' [2021-01-15T21:37:26.836Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:37:28.882Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:37:29.295Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:37:29.656Z] + sudo+ service docker restarttrue [2021-01-15T21:37:29.656Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:37:32.435Z] provisioning config files... [2021-01-15T21:37:32.473Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6918873716139642477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:37:32.964Z] ---> docker-login.sh [2021-01-15T21:37:32.964Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:37:33.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:37:34.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:37:34.220Z] Configure a credential helper to remove this warning. See [2021-01-15T21:37:34.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:37:34.220Z] [2021-01-15T21:37:34.220Z] Login Succeeded [2021-01-15T21:37:34.220Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:37:34.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:37:34.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:37:34.769Z] Configure a credential helper to remove this warning. See [2021-01-15T21:37:34.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:37:34.769Z] [2021-01-15T21:37:34.769Z] Login Succeeded [2021-01-15T21:37:34.769Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:37:35.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:37:35.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:37:35.315Z] Configure a credential helper to remove this warning. See [2021-01-15T21:37:35.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:37:35.315Z] [2021-01-15T21:37:35.315Z] Login Succeeded [2021-01-15T21:37:35.315Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:37:35.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:37:35.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:37:35.867Z] Configure a credential helper to remove this warning. See [2021-01-15T21:37:35.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:37:35.867Z] [2021-01-15T21:37:35.867Z] Login Succeeded [2021-01-15T21:37:35.867Z] docker.io [2021-01-15T21:37:36.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:37:36.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:37:36.415Z] Configure a credential helper to remove this warning. See [2021-01-15T21:37:36.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:37:36.415Z] [2021-01-15T21:37:36.415Z] Login Succeeded [2021-01-15T21:37:36.415Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:37:36.445Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:37:37.006Z] ========================================================= [2021-01-15T21:37:37.006Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T21:37:37.006Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:37:37.428Z] + 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-15T21:37:38.034Z] Sending build context to Docker daemon 2.7MB [2021-01-15T21:37:38.034Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:37:38.034Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:37:38.034Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T21:37:38.034Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T21:37:38.034Z] a4357932f1b6: Pulling fs layer [2021-01-15T21:37:38.034Z] 18c013af1878: Pulling fs layer [2021-01-15T21:37:38.034Z] 00ac8860ef70: Pulling fs layer [2021-01-15T21:37:38.034Z] 63d7cb157983: Pulling fs layer [2021-01-15T21:37:38.034Z] b116817d02f9: Pulling fs layer [2021-01-15T21:37:38.034Z] 745a02a5169b: Pulling fs layer [2021-01-15T21:37:38.034Z] 00ac8860ef70: Waiting [2021-01-15T21:37:38.034Z] b116817d02f9: Waiting [2021-01-15T21:37:38.034Z] 63d7cb157983: Waiting [2021-01-15T21:37:38.034Z] 18c013af1878: Verifying Checksum [2021-01-15T21:37:38.034Z] 18c013af1878: Download complete [2021-01-15T21:37:38.034Z] a4357932f1b6: Verifying Checksum [2021-01-15T21:37:38.034Z] a4357932f1b6: Download complete [2021-01-15T21:37:38.034Z] 63d7cb157983: Verifying Checksum [2021-01-15T21:37:38.034Z] 63d7cb157983: Download complete [2021-01-15T21:37:38.034Z] b116817d02f9: Verifying Checksum [2021-01-15T21:37:38.034Z] b116817d02f9: Download complete [2021-01-15T21:37:38.308Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T21:37:38.308Z] 5f621e34cdf4: Download complete [2021-01-15T21:37:38.907Z] 5f621e34cdf4: Pull complete [2021-01-15T21:37:39.510Z] a4357932f1b6: Pull complete [2021-01-15T21:37:39.785Z] 18c013af1878: Pull complete [2021-01-15T21:37:41.224Z] 745a02a5169b: Verifying Checksum [2021-01-15T21:37:41.224Z] 745a02a5169b: Download complete [2021-01-15T21:37:42.212Z] 00ac8860ef70: Verifying Checksum [2021-01-15T21:37:42.212Z] 00ac8860ef70: Download complete [2021-01-15T21:37:52.391Z] 00ac8860ef70: Pull complete [2021-01-15T21:37:52.663Z] 63d7cb157983: Pull complete [2021-01-15T21:37:52.937Z] b116817d02f9: Pull complete [2021-01-15T21:37:56.047Z] Running on prd-centos7-docker-4c-2g-20638 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [Pipeline] { [Pipeline] ws [2021-01-15T21:37:56.145Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-15T21:37:57.289Z] 745a02a5169b: Pull complete [2021-01-15T21:37:57.289Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T21:37:57.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T21:37:57.289Z] ---> b7e6874047d6 [2021-01-15T21:37:57.289Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:37:58.470Z] using credential edgex-jenkins-ssh [2021-01-15T21:37:58.523Z] Cloning the remote Git repository [2021-01-15T21:37:58.548Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:58.612Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-15T21:37:58.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:58.673Z] > git --version # timeout=10 [2021-01-15T21:37:58.682Z] > git --version # 'git version 2.24.3' [2021-01-15T21:37:58.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:37:58.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:37:59.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:37:59.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:37:59.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:37:59.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:37:59.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:37:59.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:37:59.928Z] ---> Running in f271a1a89517 [2021-01-15T21:37:59.928Z] Removing intermediate container f271a1a89517 [2021-01-15T21:37:59.928Z] ---> cc40f4d54f99 [2021-01-15T21:37:59.928Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:38:00.153Z] Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:38:00.200Z] ---> Running in 83bb4d725bc4 [2021-01-15T21:38:00.264Z] Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:38:00.265Z] Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) [2021-01-15T21:38:00.161Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:38:00.169Z] > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 [2021-01-15T21:38:00.231Z] > git remote # timeout=10 [2021-01-15T21:38:00.237Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:38:00.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:38:00.248Z] > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T21:38:00.258Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:38:00.268Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:38:00.277Z] > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 [2021-01-15T21:38:02.833Z] Removing intermediate container 83bb4d725bc4 [2021-01-15T21:38:02.833Z] ---> 461f45862ecd [2021-01-15T21:38:02.833Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:38:03.111Z] ---> Running in 2fe7681064e4 [2021-01-15T21:38:03.973Z] Commit message: "refactor: Make SDK a V2 Go Module" [2021-01-15T21:38:03.998Z] > git --version # timeout=10 [2021-01-15T21:38:04.003Z] > git --version # 'git version 2.24.3' [2021-01-15T21:38:04.008Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:38:04.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-15T21:38:04.692Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:38:05.308Z] OK: 142 MiB in 39 packages [2021-01-15T21:38:05.542Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:38:05.889Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:38:06.213Z] + sudo service docker restart [2021-01-15T21:38:06.213Z] + true [2021-01-15T21:38:06.213Z] Redirecting to /bin/systemctl restart docker.service [2021-01-15T21:38:06.750Z] Removing intermediate container 2fe7681064e4 [2021-01-15T21:38:06.750Z] ---> be611db20642 [2021-01-15T21:38:06.750Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:38:07.024Z] ---> Running in 492c3d0af322 [2021-01-15T21:38:07.617Z] Removing intermediate container 492c3d0af322 [2021-01-15T21:38:07.617Z] ---> 0d888e168045 [2021-01-15T21:38:07.617Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:38:07.822Z] provisioning config files... [2021-01-15T21:38:07.849Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1098529048477954672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:38:08.276Z] ---> docker-login.sh [2021-01-15T21:38:08.276Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:38:08.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:38:08.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:38:08.540Z] Configure a credential helper to remove this warning. See [2021-01-15T21:38:08.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:38:08.540Z] [2021-01-15T21:38:08.540Z] Login Succeeded [2021-01-15T21:38:08.540Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:38:08.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:38:08.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:38:08.803Z] Configure a credential helper to remove this warning. See [2021-01-15T21:38:08.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:38:08.803Z] [2021-01-15T21:38:08.803Z] Login Succeeded [2021-01-15T21:38:08.803Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:38:08.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:38:09.051Z] ---> fc1762d76d8e [2021-01-15T21:38:09.051Z] Step 8/8 : RUN go mod download [2021-01-15T21:38:09.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:38:09.069Z] Configure a credential helper to remove this warning. See [2021-01-15T21:38:09.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:38:09.069Z] [2021-01-15T21:38:09.069Z] Login Succeeded [2021-01-15T21:38:09.069Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:38:09.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:38:09.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:38:09.069Z] Configure a credential helper to remove this warning. See [2021-01-15T21:38:09.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:38:09.069Z] [2021-01-15T21:38:09.069Z] Login Succeeded [2021-01-15T21:38:09.069Z] docker.io [2021-01-15T21:38:09.324Z] ---> Running in 194293081e04 [2021-01-15T21:38:09.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:38:09.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:38:09.593Z] Configure a credential helper to remove this warning. See [2021-01-15T21:38:09.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:38:09.593Z] [2021-01-15T21:38:09.593Z] Login Succeeded [2021-01-15T21:38:09.593Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:38:09.620Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:38:10.195Z] ========================================================= [2021-01-15T21:38:10.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T21:38:10.195Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:38:10.598Z] + 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-15T21:38:10.878Z] Sending build context to Docker daemon 2.701MB [2021-01-15T21:38:10.878Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:38:10.878Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:38:10.878Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T21:38:10.878Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:38:10.878Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:38:10.878Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:38:10.878Z] bca2f99d35d6: Pulling fs layer [2021-01-15T21:38:10.878Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T21:38:10.878Z] 7c6f9722023f: Pulling fs layer [2021-01-15T21:38:10.878Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T21:38:10.878Z] 7c6f9722023f: Waiting [2021-01-15T21:38:10.878Z] a35cf1a2eb13: Waiting [2021-01-15T21:38:10.878Z] de9db76c5a1d: Download complete [2021-01-15T21:38:10.878Z] 0ef7d3d256c8: Download complete [2021-01-15T21:38:10.878Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T21:38:10.878Z] 93359f2a8cfa: Download complete [2021-01-15T21:38:10.878Z] 7c6f9722023f: Verifying Checksum [2021-01-15T21:38:10.878Z] 7c6f9722023f: Download complete [2021-01-15T21:38:10.878Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:38:10.878Z] 188c0c94c7c5: Download complete [2021-01-15T21:38:11.143Z] 188c0c94c7c5: Pull complete [2021-01-15T21:38:11.407Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:38:11.673Z] de9db76c5a1d: Pull complete [2021-01-15T21:38:12.624Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T21:38:12.624Z] a35cf1a2eb13: Download complete [2021-01-15T21:38:13.215Z] bca2f99d35d6: Verifying Checksum [2021-01-15T21:38:13.215Z] bca2f99d35d6: Download complete [2021-01-15T21:38:18.554Z] bca2f99d35d6: Pull complete [2021-01-15T21:38:18.554Z] 93359f2a8cfa: Pull complete [2021-01-15T21:38:18.554Z] 7c6f9722023f: Pull complete [2021-01-15T21:38:22.781Z] a35cf1a2eb13: Pull complete [2021-01-15T21:38:22.781Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T21:38:22.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T21:38:22.781Z] ---> a62c8e92a672 [2021-01-15T21:38:22.781Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:38:23.367Z] ---> Running in 73156e4b9380 [2021-01-15T21:38:23.367Z] Removing intermediate container 73156e4b9380 [2021-01-15T21:38:23.367Z] ---> 12c8da8aa1de [2021-01-15T21:38:23.367Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:38:23.367Z] ---> Running in d6e8ea5c92d1 [2021-01-15T21:38:24.778Z] Removing intermediate container d6e8ea5c92d1 [2021-01-15T21:38:24.778Z] ---> e73aefa2b892 [2021-01-15T21:38:24.778Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:38:24.778Z] ---> Running in 0781e3e73cee [2021-01-15T21:38:25.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:38:26.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:38:26.572Z] OK: 166 MiB in 39 packages [2021-01-15T21:38:27.151Z] Removing intermediate container 0781e3e73cee [2021-01-15T21:38:27.151Z] ---> 4c595156ec98 [2021-01-15T21:38:27.151Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:38:27.151Z] ---> Running in cc5030f48b3b [2021-01-15T21:38:27.413Z] Removing intermediate container cc5030f48b3b [2021-01-15T21:38:27.413Z] ---> 9df04aa32079 [2021-01-15T21:38:27.413Z] Step 7/8 : COPY . . [2021-01-15T21:38:28.806Z] ---> 535f6f57ebcc [2021-01-15T21:38:28.806Z] Step 8/8 : RUN go mod download [2021-01-15T21:38:29.068Z] ---> Running in 4e0e00af91e5 [2021-01-15T21:38:31.511Z] Removing intermediate container 194293081e04 [2021-01-15T21:38:31.511Z] ---> 82cd8b6d8b24 [2021-01-15T21:38:31.511Z] Successfully built 82cd8b6d8b24 [2021-01-15T21:38:31.511Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:38:31.897Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:38:31.897Z] . [Pipeline] withDockerContainer [2021-01-15T21:38:32.188Z] prd-ubuntu18.04-docker-arm64-4c-16g-20637 does not seem to be running inside a container [2021-01-15T21:38:32.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:38:33.700Z] $ docker top ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:38:34.870Z] + go version [2021-01-15T21:38:34.871Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T21:38:34.909Z] $ docker stop --time=1 ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 [2021-01-15T21:38:37.274Z] $ docker rm -f ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:38:38.522Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:38:38.522Z] . [Pipeline] withDockerContainer [2021-01-15T21:38:38.801Z] prd-ubuntu18.04-docker-arm64-4c-16g-20637 does not seem to be running inside a container [2021-01-15T21:38:38.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:38:40.382Z] $ docker top d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:38:41.494Z] + make test [2021-01-15T21:38:41.494Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:38:47.269Z] Removing intermediate container 4e0e00af91e5 [2021-01-15T21:38:47.269Z] ---> a5d9b839328a [2021-01-15T21:38:47.534Z] Successfully built a5d9b839328a [2021-01-15T21:38:47.534Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:38:47.885Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:38:47.885Z] . [Pipeline] withDockerContainer [2021-01-15T21:38:48.025Z] prd-centos7-docker-4c-2g-20638 does not seem to be running inside a container [2021-01-15T21:38:48.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:38:49.514Z] $ docker top 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:38:50.076Z] + go version [2021-01-15T21:38:50.076Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T21:38:50.107Z] $ docker stop --time=1 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 [2021-01-15T21:38:51.454Z] $ docker rm -f 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:38:52.976Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:38:52.976Z] . [Pipeline] withDockerContainer [2021-01-15T21:38:53.108Z] prd-centos7-docker-4c-2g-20638 does not seem to be running inside a container [2021-01-15T21:38:53.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:38:53.817Z] $ docker top fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:38:54.389Z] + make test [2021-01-15T21:38:54.389Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:39:01.047Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:39:03.691Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:39:16.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:39:16.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:39:16.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:39:16.097Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 19.4% of statements [2021-01-15T21:39:18.086Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.482s coverage: 97.1% of statements [2021-01-15T21:39:42.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:39:42.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:39:42.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:39:42.723Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 19.4% of statements [2021-01-15T21:39:48.145Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.182s coverage: 97.1% of statements [2021-01-15T21:39:50.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.085s coverage: 9.4% of statements [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 21.7% of statements [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 42.9% of statements [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.278s coverage: 68.9% of statements [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 30.4% of statements [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.273s coverage: 68.9% of statements [2021-01-15T21:39:50.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-15T21:39:50.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:39:50.285Z] GO111MODULE=on go vet ./... [2021-01-15T21:40:00.444Z] gofmt -l . [2021-01-15T21:40:00.444Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:40:00.444Z] ./bin/test-attribution-txt.sh [2021-01-15T21:40:00.444Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:40:00.478Z] $ docker stop --time=1 fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 [2021-01-15T21:40:02.495Z] $ docker rm -f fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:40:03.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:40:03.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-15T21:40:06.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:40:06.720Z] + ls -al . [2021-01-15T21:40:06.720Z] total 220 [2021-01-15T21:40:06.720Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:39 . [2021-01-15T21:40:06.720Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:37 .. [2021-01-15T21:40:06.720Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:38 bin [2021-01-15T21:40:06.720Z] -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:39 coverage.out [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:38 Dockerfile.build [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:38 .dockerignore [2021-01-15T21:40:06.720Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:38 example [2021-01-15T21:40:06.720Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:38 .git [2021-01-15T21:40:06.720Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:38 .github [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:38 .gitignore [2021-01-15T21:40:06.720Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:39 go.mod [2021-01-15T21:40:06.720Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 21:39 go.sum [2021-01-15T21:40:06.720Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:38 internal [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:38 Jenkinsfile [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:38 LICENSE [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:38 Makefile [2021-01-15T21:40:06.720Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:38 openapi [2021-01-15T21:40:06.720Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:38 pkg [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:38 README.md [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:38 RELEASE-NOTES.txt [2021-01-15T21:40:06.720Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:38 snap [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:35 VERSION [2021-01-15T21:40:06.720Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:40:07.069Z] + 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=e04106a2c023468aa2652ed208468b54ad9b615b --label arch=amd64 --label version=0.0.0 . [2021-01-15T21:40:07.352Z] Sending build context to Docker daemon 2.845MB [2021-01-15T21:40:07.353Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:40:07.353Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:40:07.353Z] ---> a5d9b839328a [2021-01-15T21:40:07.353Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:40:07.931Z] ---> Running in 8376a5c12094 [2021-01-15T21:40:08.192Z] Removing intermediate container 8376a5c12094 [2021-01-15T21:40:08.192Z] ---> e3d89a408f7a [2021-01-15T21:40:08.192Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:40:08.192Z] ---> Running in b50eae81c35c [2021-01-15T21:40:08.457Z] Removing intermediate container b50eae81c35c [2021-01-15T21:40:08.457Z] ---> f94097d6c37b [2021-01-15T21:40:08.457Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:40:08.457Z] ---> Running in 4ca484d604ab [2021-01-15T21:40:08.722Z] Removing intermediate container 4ca484d604ab [2021-01-15T21:40:08.722Z] ---> 247e6647fab9 [2021-01-15T21:40:08.722Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:40:08.722Z] ---> Running in 0935bcd8e65e [2021-01-15T21:40:09.669Z] Removing intermediate container 0935bcd8e65e [2021-01-15T21:40:09.669Z] ---> 039c89414077 [2021-01-15T21:40:09.669Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:40:09.933Z] ---> Running in 94ae697354f5 [2021-01-15T21:40:10.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:40:10.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:40:11.349Z] OK: 166 MiB in 39 packages [2021-01-15T21:40:11.611Z] Removing intermediate container 94ae697354f5 [2021-01-15T21:40:11.611Z] ---> 1f348eca5014 [2021-01-15T21:40:11.611Z] Step 8/24 : COPY . . [2021-01-15T21:40:13.005Z] ---> d218d0eed7cc [2021-01-15T21:40:13.005Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:40:13.005Z] ---> Running in 81553092f3ed [2021-01-15T21:40:13.597Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.141s coverage: 9.4% of statements [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.141s coverage: 21.7% of statements [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.550s coverage: 42.9% of statements [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.778s coverage: 68.9% of statements [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.187s coverage: 30.4% of statements [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.763s coverage: 68.9% of statements [2021-01-15T21:40:15.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements [2021-01-15T21:40:15.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:40:15.761Z] GO111MODULE=on go vet ./... [2021-01-15T21:40:21.837Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:40:24.395Z] Removing intermediate container 81553092f3ed [2021-01-15T21:40:24.395Z] ---> bb8c8effbdf8 [2021-01-15T21:40:24.395Z] Step 10/24 : FROM scratch [2021-01-15T21:40:24.395Z] ---> [2021-01-15T21:40:24.395Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:40:24.395Z] ---> Running in cf6cd4c25f99 [2021-01-15T21:40:24.395Z] Removing intermediate container cf6cd4c25f99 [2021-01-15T21:40:24.395Z] ---> 8fdb5fb9a072 [2021-01-15T21:40:24.395Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:40:24.395Z] ---> Running in cba467f7c36f [2021-01-15T21:40:24.395Z] Removing intermediate container cba467f7c36f [2021-01-15T21:40:24.395Z] ---> 5ca5dab00984 [2021-01-15T21:40:24.395Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:40:24.395Z] ---> Running in 321d2e7be3ae [2021-01-15T21:40:24.656Z] Removing intermediate container 321d2e7be3ae [2021-01-15T21:40:24.656Z] ---> f2e4dfe3844c [2021-01-15T21:40:24.656Z] Step 14/24 : WORKDIR / [2021-01-15T21:40:24.656Z] ---> Running in 6dd5ecb2d26d [2021-01-15T21:40:24.920Z] Removing intermediate container 6dd5ecb2d26d [2021-01-15T21:40:24.920Z] ---> 2e2a52f08f68 [2021-01-15T21:40:24.920Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:40:25.498Z] ---> bb32ccaedfc8 [2021-01-15T21:40:25.498Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:40:25.761Z] ---> e588b85674c7 [2021-01-15T21:40:25.761Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:40:26.025Z] ---> 1e031ba9d60d [2021-01-15T21:40:26.025Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:40:26.025Z] ---> c712b307fd75 [2021-01-15T21:40:26.025Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:40:26.295Z] ---> f91488721dc0 [2021-01-15T21:40:26.295Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:40:26.559Z] ---> Running in 4c6431ac5c0d [2021-01-15T21:40:26.559Z] Removing intermediate container 4c6431ac5c0d [2021-01-15T21:40:26.559Z] ---> f11ab7f21eab [2021-01-15T21:40:26.559Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:40:26.823Z] ---> Running in f5bb96cd3e70 [2021-01-15T21:40:26.823Z] Removing intermediate container f5bb96cd3e70 [2021-01-15T21:40:26.823Z] ---> 214fb32e5f2e [2021-01-15T21:40:26.823Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T21:40:27.086Z] ---> Running in a798b32bbf28 [2021-01-15T21:40:27.349Z] Removing intermediate container a798b32bbf28 [2021-01-15T21:40:27.349Z] ---> 509e11680182 [2021-01-15T21:40:27.349Z] Step 23/24 : LABEL git_sha=e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:40:27.349Z] ---> Running in 86beecc47f38 [2021-01-15T21:40:27.617Z] Removing intermediate container 86beecc47f38 [2021-01-15T21:40:27.617Z] ---> 9a066d1d8137 [2021-01-15T21:40:27.617Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:40:27.617Z] ---> Running in 4b5c0116f0c0 [2021-01-15T21:40:27.617Z] Removing intermediate container 4b5c0116f0c0 [2021-01-15T21:40:27.617Z] ---> f8f5d999e63b [2021-01-15T21:40:27.617Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:40:27.880Z] Successfully built f8f5d999e63b [2021-01-15T21:40:27.880Z] 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-15T21:40:48.185Z] gofmt -l . [2021-01-15T21:40:48.780Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:40:49.055Z] ./bin/test-attribution-txt.sh [2021-01-15T21:40:50.034Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:40:50.353Z] $ docker stop --time=1 d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e [2021-01-15T21:40:52.672Z] $ docker rm -f d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:40:53.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:40:53.878Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T21:40:54.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:40:55.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:40:55.943Z] + ls -al . [2021-01-15T21:40:55.943Z] total 256 [2021-01-15T21:40:55.943Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:40 . [2021-01-15T21:40:55.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 .. [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:37 .dockerignore [2021-01-15T21:40:55.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:37 .git [2021-01-15T21:40:55.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:37 .github [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:37 .gitignore [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:37 Dockerfile.build [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:37 Jenkinsfile [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:37 LICENSE [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:37 Makefile [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:37 README.md [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:37 RELEASE-NOTES.txt [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:35 VERSION [2021-01-15T21:40:55.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:37 bin [2021-01-15T21:40:55.943Z] -rw-r--r-- 1 jenkins jenkins 142788 Jan 15 21:40 coverage.out [2021-01-15T21:40:55.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 example [2021-01-15T21:40:55.943Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:40 go.mod [2021-01-15T21:40:55.943Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 21:40 go.sum [2021-01-15T21:40:55.943Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:37 internal [2021-01-15T21:40:55.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 openapi [2021-01-15T21:40:55.943Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:37 pkg [2021-01-15T21:40:55.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 snap [2021-01-15T21:40:55.943Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:40:56.336Z] + 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=e04106a2c023468aa2652ed208468b54ad9b615b --label arch=arm64 --label version=0.0.0 . [2021-01-15T21:40:56.930Z] Sending build context to Docker daemon 2.844MB [2021-01-15T21:40:56.930Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:40:56.930Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:40:56.930Z] ---> 82cd8b6d8b24 [2021-01-15T21:40:56.930Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:40:57.202Z] ---> Running in 3fc09c5a6c16 [2021-01-15T21:40:57.798Z] Removing intermediate container 3fc09c5a6c16 [2021-01-15T21:40:57.798Z] ---> 1cf2156ec70b [2021-01-15T21:40:57.798Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:40:57.798Z] ---> Running in c5ddfae218ab [2021-01-15T21:40:58.391Z] Removing intermediate container c5ddfae218ab [2021-01-15T21:40:58.391Z] ---> f0e825b278a6 [2021-01-15T21:40:58.391Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:40:58.391Z] ---> Running in 09fff22403c7 [2021-01-15T21:40:58.990Z] Removing intermediate container 09fff22403c7 [2021-01-15T21:40:58.990Z] ---> e5e4864d6733 [2021-01-15T21:40:58.990Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:40:58.990Z] ---> Running in bb643f246953 [2021-01-15T21:41:01.605Z] Removing intermediate container bb643f246953 [2021-01-15T21:41:01.605Z] ---> b597ba711350 [2021-01-15T21:41:01.605Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:41:01.605Z] ---> Running in 0a4c235c89d3 [2021-01-15T21:41:02.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:41:03.172Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:41:03.764Z] OK: 142 MiB in 39 packages [2021-01-15T21:41:04.742Z] Removing intermediate container 0a4c235c89d3 [2021-01-15T21:41:04.742Z] ---> 682ed895f092 [2021-01-15T21:41:04.742Z] Step 8/24 : COPY . . [2021-01-15T21:41:06.714Z] ---> 975afdeadd3d [2021-01-15T21:41:06.714Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:41:06.714Z] ---> Running in 8d00c434cacc [2021-01-15T21:41:07.699Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T21:41:34.517Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:41:34.517Z] Removing intermediate container 8d00c434cacc [2021-01-15T21:41:34.517Z] ---> 9919366cd780 [2021-01-15T21:41:34.517Z] Step 10/24 : FROM scratch [2021-01-15T21:41:34.517Z] ---> [2021-01-15T21:41:34.517Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:41:34.517Z] ---> Running in 3708e98ed60d [2021-01-15T21:41:35.113Z] Removing intermediate container 3708e98ed60d [2021-01-15T21:41:35.113Z] ---> d7a91f2dd9f2 [2021-01-15T21:41:35.113Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:41:35.113Z] ---> Running in 6aea4608bf0b [2021-01-15T21:41:35.708Z] Removing intermediate container 6aea4608bf0b [2021-01-15T21:41:35.708Z] ---> b462aaf2af6a [2021-01-15T21:41:35.708Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:41:35.708Z] ---> Running in 0af5f353ed59 [2021-01-15T21:41:35.981Z] Removing intermediate container 0af5f353ed59 [2021-01-15T21:41:35.981Z] ---> 0ae1c9cc0356 [2021-01-15T21:41:35.981Z] Step 14/24 : WORKDIR / [2021-01-15T21:41:36.253Z] ---> Running in 485a0455b587 [2021-01-15T21:41:36.535Z] Removing intermediate container 485a0455b587 [2021-01-15T21:41:36.535Z] ---> 80b5949e37bd [2021-01-15T21:41:36.535Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:41:37.969Z] ---> 6d0dfc4a7b69 [2021-01-15T21:41:37.969Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:41:38.563Z] ---> 2f8b1c0da730 [2021-01-15T21:41:38.563Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:41:39.158Z] ---> 4a71d5cd66da [2021-01-15T21:41:39.158Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:41:40.132Z] ---> 223a611a6916 [2021-01-15T21:41:40.132Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:41:40.742Z] ---> dcc711bf6647 [2021-01-15T21:41:40.742Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:41:40.742Z] ---> Running in 5a8e77102921 [2021-01-15T21:41:41.335Z] Removing intermediate container 5a8e77102921 [2021-01-15T21:41:41.335Z] ---> 525eee682147 [2021-01-15T21:41:41.335Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:41:41.335Z] ---> Running in 564f887f27ec [2021-01-15T21:41:41.934Z] Removing intermediate container 564f887f27ec [2021-01-15T21:41:41.934Z] ---> 0d215574afb9 [2021-01-15T21:41:41.934Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T21:41:41.934Z] ---> Running in d537dd812828 [2021-01-15T21:41:42.528Z] Removing intermediate container d537dd812828 [2021-01-15T21:41:42.528Z] ---> 99f11b8a639c [2021-01-15T21:41:42.528Z] Step 23/24 : LABEL git_sha=e04106a2c023468aa2652ed208468b54ad9b615b [2021-01-15T21:41:42.528Z] ---> Running in 25f8f0c73841 [2021-01-15T21:41:43.124Z] Removing intermediate container 25f8f0c73841 [2021-01-15T21:41:43.124Z] ---> 50cbe3da6533 [2021-01-15T21:41:43.124Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:41:43.124Z] ---> Running in 7daa4ef8d755 [2021-01-15T21:41:43.715Z] Removing intermediate container 7daa4ef8d755 [2021-01-15T21:41:43.715Z] ---> cbc8515d32a6 [2021-01-15T21:41:43.715Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:41:43.715Z] Successfully built cbc8515d32a6 [2021-01-15T21:41:43.715Z] 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-15T21:41:46.133Z] provisioning config files... [2021-01-15T21:41:46.144Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config6560235869456058492tmp [Pipeline] { [Pipeline] sh [2021-01-15T21:41:46.567Z] + set +x [2021-01-15T21:41:46.567Z] + curl -s https://codecov.io/bash [2021-01-15T21:41:46.567Z] + bash -s -- [2021-01-15T21:41:46.831Z] [2021-01-15T21:41:46.831Z] _____ _ [2021-01-15T21:41:46.831Z] / ____| | | [2021-01-15T21:41:46.831Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T21:41:46.831Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T21:41:46.831Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T21:41:46.831Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T21:41:46.831Z] Bash-20210115-cec3c92 [2021-01-15T21:41:46.831Z] [2021-01-15T21:41:46.831Z] [2021-01-15T21:41:46.831Z] ==> git version 2.24.3 found [2021-01-15T21:41:46.831Z] ==> 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-15T21:41:46.831Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T21:41:46.831Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T21:41:46.831Z] ==> Jenkins CI detected. [2021-01-15T21:41:46.831Z] project root: . [2021-01-15T21:41:46.831Z] --> token set from env [2021-01-15T21:41:46.831Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T21:41:46.831Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T21:41:46.831Z] ==> Python coveragepy not found [2021-01-15T21:41:46.831Z] ==> Searching for coverage reports in: [2021-01-15T21:41:46.831Z] + . [2021-01-15T21:41:46.831Z] -> Found 1 reports [2021-01-15T21:41:46.831Z] ==> Detecting git/mercurial file structure [2021-01-15T21:41:46.831Z] ==> Reading reports [2021-01-15T21:41:46.831Z] + ./coverage.out bytes=142788 [2021-01-15T21:41:46.831Z] ==> Appending adjustments [2021-01-15T21:41:46.831Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T21:41:47.412Z] + Found adjustments [2021-01-15T21:41:47.412Z] ==> Gzipping contents [2021-01-15T21:41:47.412Z] 24K /tmp/codecov.UwXmB1.gz [2021-01-15T21:41:47.412Z] ==> Uploading reports [2021-01-15T21:41:47.412Z] url: https://codecov.io [2021-01-15T21:41:47.412Z] query: branch=PR-737&commit=e04106a2c023468aa2652ed208468b54ad9b615b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-737%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=737&job=&cmd_args= [2021-01-15T21:41:47.412Z] -> Pinging Codecov [2021-01-15T21:41:47.412Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-737&commit=e04106a2c023468aa2652ed208468b54ad9b615b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-737%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=737&job=&cmd_args= [2021-01-15T21:41:48.810Z] -> Uploading to [2021-01-15T21:41:48.811Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/e04106a2c023468aa2652ed208468b54ad9b615b/d4d31687-fbdb-4f6a-8230-661b420d259e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T214148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05a325f7ff442f936fa41d7bd6c34d29b0d53a6e484415c3330a5e68827a5099 [2021-01-15T21:41:48.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:41:48.811Z] Dload Upload Total Spent Left Speed [2021-01-15T21:41:49.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22151 0 0 100 22151 0 46209 --:--:-- --:--:-- --:--:-- 46147 [2021-01-15T21:41:49.078Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] } [2021-01-15T21:41:49.104Z] 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-15T21:41:53.244Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:41:53.595Z] ---> package-listing.sh [2021-01-15T21:41:53.595Z] ++ facter osfamily [2021-01-15T21:41:53.595Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T21:41:53.595Z] + OS_FAMILY=redhat [2021-01-15T21:41:53.595Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-737 [2021-01-15T21:41:53.595Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T21:41:53.595Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T21:41:53.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T21:41:53.595Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T21:41:53.595Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-737 ']' [2021-01-15T21:41:53.595Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T21:41:53.595Z] + case "${OS_FAMILY}" in [2021-01-15T21:41:53.595Z] + rpm -qa [2021-01-15T21:41:53.595Z] + sort [2021-01-15T21:42:00.218Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T21:42:00.218Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T21:42:00.218Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T21:42:00.218Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-737 ']' [2021-01-15T21:42:00.219Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-737/archives/ [2021-01-15T21:42:00.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-737/archives/ [Pipeline] echo [2021-01-15T21:42:00.257Z] 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-737/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T21:42:00.571Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:42:00.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:42:00.932Z] [2021-01-15T21:42:00.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:42:01.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:42:01.319Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T21:42:01.319Z] df20fa9351a1: Pulling fs layer [2021-01-15T21:42:01.319Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T21:42:01.319Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T21:42:01.319Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T21:42:01.319Z] 93b61091891f: Pulling fs layer [2021-01-15T21:42:01.319Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T21:42:01.319Z] 5e14af77c1be: Pulling fs layer [2021-01-15T21:42:01.319Z] 01666e4c0597: Pulling fs layer [2021-01-15T21:42:01.319Z] aa168da1d23b: Pulling fs layer [2021-01-15T21:42:01.319Z] 46f8f816bc3b: Waiting [2021-01-15T21:42:01.319Z] 93b61091891f: Waiting [2021-01-15T21:42:01.319Z] 93b9cdb0e59b: Waiting [2021-01-15T21:42:01.319Z] aa168da1d23b: Waiting [2021-01-15T21:42:01.319Z] 5e14af77c1be: Waiting [2021-01-15T21:42:01.319Z] 01666e4c0597: Waiting [2021-01-15T21:42:01.319Z] 36b3adc4ff6f: Download complete [2021-01-15T21:42:01.588Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T21:42:01.588Z] 46f8f816bc3b: Download complete [2021-01-15T21:42:01.588Z] df20fa9351a1: Verifying Checksum [2021-01-15T21:42:01.588Z] df20fa9351a1: Download complete [2021-01-15T21:42:01.588Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T21:42:01.588Z] 93b9cdb0e59b: Download complete [2021-01-15T21:42:01.588Z] 5e14af77c1be: Verifying Checksum [2021-01-15T21:42:01.588Z] 5e14af77c1be: Download complete [2021-01-15T21:42:01.588Z] 01666e4c0597: Download complete [2021-01-15T21:42:01.588Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T21:42:01.588Z] 8ad3a11d3b57: Download complete [2021-01-15T21:42:02.164Z] df20fa9351a1: Pull complete [2021-01-15T21:42:02.164Z] 36b3adc4ff6f: Pull complete [2021-01-15T21:42:02.430Z] 93b61091891f: Verifying Checksum [2021-01-15T21:42:02.430Z] 93b61091891f: Download complete [2021-01-15T21:42:03.027Z] 8ad3a11d3b57: Pull complete [2021-01-15T21:42:03.302Z] 46f8f816bc3b: Pull complete [2021-01-15T21:42:04.261Z] aa168da1d23b: Download complete [2021-01-15T21:42:04.261Z] 93b61091891f: Pull complete [2021-01-15T21:42:04.526Z] 93b9cdb0e59b: Pull complete [2021-01-15T21:42:04.792Z] 5e14af77c1be: Pull complete [2021-01-15T21:42:04.792Z] 01666e4c0597: Pull complete [2021-01-15T21:42:12.994Z] aa168da1d23b: Pull complete [2021-01-15T21:42:12.994Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T21:42:12.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:42:12.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T21:42:13.242Z] prd-centos7-docker-4c-2g-20636 does not seem to be running inside a container [2021-01-15T21:42:13.292Z] $ 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-737/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-737 -v /w/workspace/dgexfoundry_device-sdk-go_PR-737:/w/workspace/dgexfoundry_device-sdk-go_PR-737:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T21:42:15.916Z] $ docker top 45ce4521de06d4a75c3b70b159a1db2b468f101c73eef6912c3a5f0493bd76ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:42:16.516Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T21:42:16.843Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T21:42:17.167Z] + ls /var/log/sa-host [2021-01-15T21:42:17.167Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T21:42:17.167Z] file_magic: OK [2021-01-15T21:42:17.167Z] HZ: Using current value: 100 [2021-01-15T21:42:17.167Z] file_header: OK [2021-01-15T21:42:17.167Z] 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-15T21:42:17.167Z] Statistics: [2021-01-15T21:42:17.167Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T21:42:17.167Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T21:42:17.167Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T21:42:17.167Z] file_magic: OK [2021-01-15T21:42:17.167Z] HZ: Using current value: 100 [2021-01-15T21:42:17.167Z] file_header: OK [2021-01-15T21:42:17.167Z] 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-15T21:42:17.167Z] Statistics: [2021-01-15T21:42:17.167Z] Hnuu...uuuununununu... [2021-01-15T21:42:17.167Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:42:17.833Z] provisioning config files... [2021-01-15T21:42:17.848Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config3145313345444346342tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:42:17.977Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:42:18.321Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T21:42:18.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T21:42:18.492Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:42:18.827Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T21:42:18.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:42:19.194Z] ---> sudo-logs.sh [2021-01-15T21:42:19.195Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T21:42:19.226Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:42:19.560Z] ---> job-cost.sh [2021-01-15T21:42:19.560Z] lf-activate-venv: SKIPPING [2021-01-15T21:42:19.560Z] INFO: No Stack... [2021-01-15T21:42:20.948Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T21:42:21.211Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T21:42:21.252Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:42:21.592Z] ---> logs-deploy.sh [2021-01-15T21:42:21.592Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-737/1 [2021-01-15T21:42:21.592Z] INFO: archiving workspace using pattern(s): [2021-01-15T21:42:23.514Z] Archives upload complete. [2021-01-15T21:42:23.514Z] INFO: archiving logs to Nexus