Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2810485882268eab71dea1c3634af3fb61dca74c+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (8df27214f51b049a106b482a2d100240af42ee15) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20649 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) > 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T21:46:44.160Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T21:46:44.413Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 [Pipeline] echo [2021-01-15T21:46:44.516Z] ========================================================= [2021-01-15T21:46:44.516Z] EdgeX Global Pipelines Version Info [2021-01-15T21:46:44.516Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:46:46.003Z] ------------------- [2021-01-15T21:46:46.003Z] stable info: [2021-01-15T21:46:46.003Z] ------------------- [2021-01-15T21:46:46.003Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T21:46:46.003Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:46:46.003Z] Message: update stable to v1.0.177 [2021-01-15T21:46:46.955Z] ------------------- [2021-01-15T21:46:46.955Z] experimental info: [2021-01-15T21:46:46.955Z] ------------------- [2021-01-15T21:46:46.955Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T21:46:46.955Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T21:46:46.955Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T21:46:47.210Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T21:46:47.311Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T21:46:47.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T21:46:47.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T21:46:47.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T21:46:47.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T21:46:47.785Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T21:46:47.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T21:46:47.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T21:46:48.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T21:46:48.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T21:46:48.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T21:46:48.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T21:46:48.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T21:46:48.556Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T21:46:48.651Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:48.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:48.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:46:48.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T21:46:49.079Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T21:46:49.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T21:46:49.297Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T21:46:49.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T21:46:49.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T21:46:49.585Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T21:46:49.702Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T21:46:49.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T21:46:49.905Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo [2021-01-15T21:46:49.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo [2021-01-15T21:46:50.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo [2021-01-15T21:46:50.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] echo [2021-01-15T21:46:50.324Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2810485 [Pipeline] echo [2021-01-15T21:46:50.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:46:50.634Z] provisioning config files... [2021-01-15T21:46:50.668Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1830583033730543007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:46:51.049Z] ---> docker-login.sh [2021-01-15T21:46:51.049Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:46:51.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:51.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:51.314Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:51.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:51.314Z] [2021-01-15T21:46:51.314Z] Login Succeeded [2021-01-15T21:46:51.314Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:46:51.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:51.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:51.578Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:51.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:51.578Z] [2021-01-15T21:46:51.578Z] Login Succeeded [2021-01-15T21:46:51.578Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:46:51.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:51.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:51.842Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:51.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:51.842Z] [2021-01-15T21:46:51.842Z] Login Succeeded [2021-01-15T21:46:51.842Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:46:51.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:51.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:51.842Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:51.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:51.842Z] [2021-01-15T21:46:51.842Z] Login Succeeded [2021-01-15T21:46:51.842Z] docker.io [2021-01-15T21:46:52.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:46:52.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:46:52.366Z] Configure a credential helper to remove this warning. See [2021-01-15T21:46:52.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:46:52.366Z] [2021-01-15T21:46:52.366Z] Login Succeeded [2021-01-15T21:46:52.366Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:46:52.377Z] 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:46:53.233Z] + git log --format=format:%s -1 2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] echo [2021-01-15T21:46:53.303Z] GIT_COMMIT: 2810485882268eab71dea1c3634af3fb61dca74c, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo [2021-01-15T21:46:53.355Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:46:53.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:53.943Z] [2021-01-15T21:46:53.943Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:46:54.287Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:54.287Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T21:46:54.287Z] 31603596830f: Pulling fs layer [2021-01-15T21:46:54.287Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T21:46:54.287Z] 6ca5941a6612: Pulling fs layer [2021-01-15T21:46:54.287Z] ecc8261a40a4: Pulling fs layer [2021-01-15T21:46:54.287Z] ecc8261a40a4: Waiting [2021-01-15T21:46:54.287Z] 2a8b12db71e7: Download complete [2021-01-15T21:46:54.287Z] 31603596830f: Verifying Checksum [2021-01-15T21:46:54.287Z] 31603596830f: Download complete [2021-01-15T21:46:54.549Z] ecc8261a40a4: Verifying Checksum [2021-01-15T21:46:54.549Z] ecc8261a40a4: Download complete [2021-01-15T21:46:54.549Z] 6ca5941a6612: Verifying Checksum [2021-01-15T21:46:54.549Z] 6ca5941a6612: Download complete [2021-01-15T21:46:54.549Z] 31603596830f: Pull complete [2021-01-15T21:46:54.810Z] 2a8b12db71e7: Pull complete [2021-01-15T21:46:55.759Z] 6ca5941a6612: Pull complete [2021-01-15T21:46:55.759Z] ecc8261a40a4: Pull complete [2021-01-15T21:46:55.759Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T21:46:55.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:46:55.759Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T21:46:55.858Z] prd-centos7-docker-4c-2g-20649 does not seem to be running inside a container [2021-01-15T21:46:55.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:46:57.986Z] $ docker top 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:46:58.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:46:58.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:46:58.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:46:58.477Z] $ docker exec 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent [2021-01-15T21:46:58.829Z] SSH_AUTH_SOCK=/tmp/ssh-FnsIMTufBgnk/agent.12 [2021-01-15T21:46:58.829Z] SSH_AGENT_PID=17 [2021-01-15T21:46:58.841Z] Running ssh-add (command line suppressed) [2021-01-15T21:46:58.971Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_5777496117924451785.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_5777496117924451785.key) [2021-01-15T21:46:59.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:46:59.353Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T21:46:59.373Z] $ docker exec --env ******** --env ******** 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent -k [2021-01-15T21:46:59.480Z] unset SSH_AUTH_SOCK; [2021-01-15T21:46:59.482Z] unset SSH_AGENT_PID; [2021-01-15T21:46:59.482Z] echo Agent pid 17 killed; [2021-01-15T21:46:59.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T21:46:59.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:46:59.659Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:46:59.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:46:59.824Z] $ docker exec 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent [2021-01-15T21:46:59.983Z] SSH_AUTH_SOCK=/tmp/ssh-s2pqugCoLUUz/agent.47 [2021-01-15T21:46:59.983Z] SSH_AGENT_PID=52 [2021-01-15T21:46:59.990Z] Running ssh-add (command line suppressed) [2021-01-15T21:47:00.112Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_1226646841042242035.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_1226646841042242035.key) [2021-01-15T21:47:00.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:47:00.559Z] + git semver init [2021-01-15T21:47:00.559Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:47:00.559Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git [2021-01-15T21:47:00.559Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-15T21:47:00.559Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:47:00.559Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:47:00.559Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:47:00.559Z] # $SEMVER_BRANCH = PR-728 [2021-01-15T21:47:00.559Z] # $SEMVER_TEMP = /tmp/semver-047586156 [2021-01-15T21:47:00.559Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T21:47:01.140Z] # '/tmp/semver-047586156' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' [2021-01-15T21:47:01.140Z] # -> Force: false [2021-01-15T21:47:01.140Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } [2021-01-15T21:47:01.154Z] $ docker exec --env ******** --env ******** 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 ssh-agent -k [2021-01-15T21:47:01.266Z] unset SSH_AUTH_SOCK; [2021-01-15T21:47:01.267Z] unset SSH_AGENT_PID; [2021-01-15T21:47:01.267Z] echo Agent pid 52 killed; [2021-01-15T21:47:01.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:47:01.817Z] + git semver [Pipeline] } [2021-01-15T21:47:01.835Z] $ docker stop --time=1 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 [2021-01-15T21:47:03.227Z] $ docker rm -f 19eaeaa328b996246acca6c3ee1004d2691e0635dac96374a2984185d467df92 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:47:03.721Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T21:47:04.168Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T21:47:04.171Z] [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:47:19.676Z] Still waiting to schedule task [2021-01-15T21:47:19.677Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-centos7-docker-4c-2g-20642’ is offline; ‘prd-centos7-docker-4c-2g-20644’ is offline; ‘prd-centos7-docker-4c-2g-20645’ is offline; ‘prd-centos7-docker-4c-2g-20652’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-15T21:47:19.679Z] Still waiting to schedule task [2021-01-15T21:47:19.679Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20641’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20644’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20645’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20652’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20651’ is offline [2021-01-15T21:49:10.127Z] Running on prd-centos7-docker-4c-2g-20658 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-15T21:49:10.238Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T21:49:13.575Z] using credential edgex-jenkins-ssh [2021-01-15T21:49:13.663Z] Cloning the remote Git repository [2021-01-15T21:49:13.701Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:13.801Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-15T21:49:13.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:13.881Z] > git --version # timeout=10 [2021-01-15T21:49:13.890Z] > git --version # 'git version 2.24.3' [2021-01-15T21:49:13.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:13.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:15.173Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:49:14.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:14.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:49:14.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:49:14.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:49:14.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:14.758Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:49:15.185Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:15.191Z] > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 [2021-01-15T21:49:15.312Z] Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:49:15.313Z] Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) [2021-01-15T21:49:15.269Z] > git remote # timeout=10 [2021-01-15T21:49:15.277Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:49:15.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:49:15.291Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:49:15.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:49:15.317Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:49:15.324Z] > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 [2021-01-15T21:49:19.248Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:49:20.635Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:20.974Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:49:21.285Z] + sudo service docker restart [2021-01-15T21:49:21.285Z] + true [2021-01-15T21:49:21.285Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:49:22.740Z] provisioning config files... [2021-01-15T21:49:22.765Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7739162488039389335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:49:23.138Z] ---> docker-login.sh [2021-01-15T21:49:23.138Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:49:23.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:23.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:23.667Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:23.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:23.667Z] [2021-01-15T21:49:23.667Z] Login Succeeded [2021-01-15T21:49:23.667Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:49:23.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:23.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:23.937Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:23.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:23.937Z] [2021-01-15T21:49:23.937Z] Login Succeeded [2021-01-15T21:49:23.937Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:49:23.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:23.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:23.937Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:23.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:23.937Z] [2021-01-15T21:49:23.937Z] Login Succeeded [2021-01-15T21:49:23.937Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:49:24.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:24.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:24.204Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:24.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:24.204Z] [2021-01-15T21:49:24.204Z] Login Succeeded [2021-01-15T21:49:24.204Z] docker.io [2021-01-15T21:49:24.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:49:24.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:49:24.733Z] Configure a credential helper to remove this warning. See [2021-01-15T21:49:24.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:49:24.733Z] [2021-01-15T21:49:24.733Z] Login Succeeded [2021-01-15T21:49:24.733Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:49:24.746Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:49:25.091Z] ========================================================= [2021-01-15T21:49:25.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T21:49:25.092Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:25.440Z] + 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:49:25.716Z] Sending build context to Docker daemon 2.58MB [2021-01-15T21:49:25.716Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:49:25.716Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:49:25.716Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T21:49:25.716Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:49:25.716Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:49:25.716Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:49:25.716Z] bca2f99d35d6: Pulling fs layer [2021-01-15T21:49:25.716Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T21:49:25.716Z] 7c6f9722023f: Pulling fs layer [2021-01-15T21:49:25.716Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T21:49:25.716Z] 93359f2a8cfa: Waiting [2021-01-15T21:49:25.716Z] bca2f99d35d6: Waiting [2021-01-15T21:49:25.716Z] 7c6f9722023f: Waiting [2021-01-15T21:49:25.716Z] de9db76c5a1d: Verifying Checksum [2021-01-15T21:49:25.717Z] de9db76c5a1d: Download complete [2021-01-15T21:49:25.717Z] 0ef7d3d256c8: Download complete [2021-01-15T21:49:25.717Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T21:49:25.717Z] 93359f2a8cfa: Download complete [2021-01-15T21:49:25.717Z] 7c6f9722023f: Verifying Checksum [2021-01-15T21:49:25.717Z] 7c6f9722023f: Download complete [2021-01-15T21:49:25.717Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:49:25.717Z] 188c0c94c7c5: Download complete [2021-01-15T21:49:25.980Z] 188c0c94c7c5: Pull complete [2021-01-15T21:49:26.263Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:49:26.537Z] de9db76c5a1d: Pull complete [2021-01-15T21:49:27.489Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T21:49:27.489Z] a35cf1a2eb13: Download complete [2021-01-15T21:49:29.444Z] bca2f99d35d6: Verifying Checksum [2021-01-15T21:49:29.444Z] bca2f99d35d6: Download complete [2021-01-15T21:49:34.810Z] bca2f99d35d6: Pull complete [2021-01-15T21:49:35.080Z] 93359f2a8cfa: Pull complete [2021-01-15T21:49:35.080Z] 7c6f9722023f: Pull complete [2021-01-15T21:49:43.309Z] a35cf1a2eb13: Pull complete [2021-01-15T21:49:43.309Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T21:49:43.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T21:49:43.309Z] ---> a62c8e92a672 [2021-01-15T21:49:43.309Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:49:43.309Z] ---> Running in 407e6fb9d96c [2021-01-15T21:49:43.309Z] Removing intermediate container 407e6fb9d96c [2021-01-15T21:49:43.309Z] ---> 355047cfe940 [2021-01-15T21:49:43.309Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:49:43.309Z] ---> Running in 5770bcbe8dc0 [2021-01-15T21:49:44.727Z] Removing intermediate container 5770bcbe8dc0 [2021-01-15T21:49:44.727Z] ---> 3c689b8ccc83 [2021-01-15T21:49:44.727Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:49:44.727Z] ---> Running in 913a648d17a3 [2021-01-15T21:49:46.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:49:48.085Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:49:49.046Z] OK: 166 MiB in 39 packages [2021-01-15T21:49:49.643Z] Removing intermediate container 913a648d17a3 [2021-01-15T21:49:49.643Z] ---> e9cba6885091 [2021-01-15T21:49:49.643Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:49:49.643Z] ---> Running in 7f4c728814cf [2021-01-15T21:49:49.907Z] Removing intermediate container 7f4c728814cf [2021-01-15T21:49:49.907Z] ---> 8692853e73fb [2021-01-15T21:49:49.907Z] Step 7/8 : COPY . . [2021-01-15T21:49:51.306Z] ---> 985f34ed4748 [2021-01-15T21:49:51.306Z] Step 8/8 : RUN go mod download [2021-01-15T21:49:51.306Z] ---> Running in b8f17ab48968 [2021-01-15T21:50:09.604Z] Removing intermediate container b8f17ab48968 [2021-01-15T21:50:09.604Z] ---> 35fd01fd8136 [2021-01-15T21:50:09.604Z] Successfully built 35fd01fd8136 [2021-01-15T21:50:09.604Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:09.934Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:50:09.934Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:10.115Z] prd-centos7-docker-4c-2g-20658 does not seem to be running inside a container [2021-01-15T21:50:10.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:50:11.149Z] $ docker top 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:50:11.722Z] + go version [2021-01-15T21:50:11.722Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T21:50:11.744Z] $ docker stop --time=1 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d [2021-01-15T21:50:13.152Z] $ docker rm -f 686b98409191108e8a45d7e81d475cadf738c61a6403cb7a7a2aa677cfa23f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:14.155Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20660 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-15T21:50:14.220Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T21:50:14.319Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:50:14.319Z] . [Pipeline] withDockerContainer [2021-01-15T21:50:14.463Z] prd-centos7-docker-4c-2g-20658 does not seem to be running inside a container [2021-01-15T21:50:14.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:50:15.478Z] $ docker top 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:50:16.038Z] + make test [2021-01-15T21:50:16.038Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:50:19.582Z] using credential edgex-jenkins-ssh [2021-01-15T21:50:19.638Z] Cloning the remote Git repository [2021-01-15T21:50:19.701Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:50:19.824Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-15T21:50:19.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:50:19.934Z] > git --version # timeout=10 [2021-01-15T21:50:19.979Z] > git --version # 'git version 2.17.1' [2021-01-15T21:50:19.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:50:20.416Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:50:21.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:50:21.627Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:50:21.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:50:21.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:50:21.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:50:21.725Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:50:22.251Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:50:22.580Z] Merge succeeded, producing 2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:50:22.581Z] Checking out Revision 2810485882268eab71dea1c3634af3fb61dca74c (PR-728) [2021-01-15T21:50:22.276Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:50:22.299Z] > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 [2021-01-15T21:50:22.427Z] > git remote # timeout=10 [2021-01-15T21:50:22.448Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T21:50:22.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:50:22.477Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:50:22.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T21:50:22.595Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:50:22.639Z] > git checkout -f 2810485882268eab71dea1c3634af3fb61dca74c # timeout=10 [2021-01-15T21:50:24.267Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:50:27.069Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:50:28.626Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:50:29.076Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:50:29.449Z] + sudo+ service docker restarttrue [2021-01-15T21:50:29.449Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:50:32.205Z] provisioning config files... [2021-01-15T21:50:32.242Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4997061358446084102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:50:32.645Z] ---> docker-login.sh [2021-01-15T21:50:32.645Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:50:33.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:50:33.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:50:33.904Z] Configure a credential helper to remove this warning. See [2021-01-15T21:50:33.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:50:33.904Z] [2021-01-15T21:50:33.904Z] Login Succeeded [2021-01-15T21:50:33.904Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:50:34.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:50:34.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:50:34.456Z] Configure a credential helper to remove this warning. See [2021-01-15T21:50:34.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:50:34.456Z] [2021-01-15T21:50:34.456Z] Login Succeeded [2021-01-15T21:50:34.456Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:50:34.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:50:35.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:50:35.004Z] Configure a credential helper to remove this warning. See [2021-01-15T21:50:35.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:50:35.004Z] [2021-01-15T21:50:35.004Z] Login Succeeded [2021-01-15T21:50:35.004Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:50:35.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:50:35.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:50:35.550Z] Configure a credential helper to remove this warning. See [2021-01-15T21:50:35.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:50:35.550Z] [2021-01-15T21:50:35.550Z] Login Succeeded [2021-01-15T21:50:35.550Z] docker.io [2021-01-15T21:50:35.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:50:36.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:50:36.096Z] Configure a credential helper to remove this warning. See [2021-01-15T21:50:36.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:50:36.096Z] [2021-01-15T21:50:36.096Z] Login Succeeded [2021-01-15T21:50:36.096Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:50:36.115Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:50:36.530Z] ========================================================= [2021-01-15T21:50:36.531Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T21:50:36.531Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:50:36.930Z] + 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:50:37.546Z] Sending build context to Docker daemon 2.582MB [2021-01-15T21:50:37.546Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:50:37.546Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:50:37.546Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T21:50:37.546Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T21:50:37.546Z] a4357932f1b6: Pulling fs layer [2021-01-15T21:50:37.546Z] 18c013af1878: Pulling fs layer [2021-01-15T21:50:37.546Z] 00ac8860ef70: Pulling fs layer [2021-01-15T21:50:37.546Z] 63d7cb157983: Pulling fs layer [2021-01-15T21:50:37.546Z] b116817d02f9: Pulling fs layer [2021-01-15T21:50:37.546Z] 745a02a5169b: Pulling fs layer [2021-01-15T21:50:37.546Z] 00ac8860ef70: Waiting [2021-01-15T21:50:37.546Z] b116817d02f9: Waiting [2021-01-15T21:50:37.546Z] 18c013af1878: Verifying Checksum [2021-01-15T21:50:37.546Z] 18c013af1878: Download complete [2021-01-15T21:50:37.546Z] a4357932f1b6: Verifying Checksum [2021-01-15T21:50:37.546Z] a4357932f1b6: Download complete [2021-01-15T21:50:37.546Z] 63d7cb157983: Verifying Checksum [2021-01-15T21:50:37.546Z] 63d7cb157983: Download complete [2021-01-15T21:50:37.546Z] 5f621e34cdf4: Download complete [2021-01-15T21:50:37.546Z] b116817d02f9: Verifying Checksum [2021-01-15T21:50:37.546Z] b116817d02f9: Download complete [2021-01-15T21:50:38.162Z] 5f621e34cdf4: Pull complete [2021-01-15T21:50:38.810Z] a4357932f1b6: Pull complete [2021-01-15T21:50:39.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:50:39.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:50:39.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:50:39.418Z] 18c013af1878: Pull complete [2021-01-15T21:50:40.017Z] 745a02a5169b: Download complete [2021-01-15T21:50:40.359Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.088s coverage: 19.4% of statements [2021-01-15T21:50:41.001Z] 00ac8860ef70: Verifying Checksum [2021-01-15T21:50:41.001Z] 00ac8860ef70: Download complete [2021-01-15T21:50:44.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.520s coverage: 97.1% of statements [2021-01-15T21:50:51.182Z] 00ac8860ef70: Pull complete [2021-01-15T21:50:51.460Z] 63d7cb157983: Pull complete [2021-01-15T21:50:51.732Z] b116817d02f9: Pull complete [2021-01-15T21:50:56.054Z] 745a02a5169b: Pull complete [2021-01-15T21:50:56.054Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T21:50:56.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T21:50:56.054Z] ---> b7e6874047d6 [2021-01-15T21:50:56.054Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:50:58.668Z] ---> Running in e2ef578a6d04 [2021-01-15T21:50:58.668Z] Removing intermediate container e2ef578a6d04 [2021-01-15T21:50:58.668Z] ---> c700d9aaaa28 [2021-01-15T21:50:58.668Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:50:58.942Z] ---> Running in f9bf401d2088 [2021-01-15T21:51:01.582Z] Removing intermediate container f9bf401d2088 [2021-01-15T21:51:01.582Z] ---> dff925b3ad62 [2021-01-15T21:51:01.582Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:51:01.582Z] ---> Running in 20a8112a44d5 [2021-01-15T21:51:02.201Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:51:03.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:51:04.167Z] OK: 142 MiB in 39 packages [2021-01-15T21:51:05.610Z] Removing intermediate container 20a8112a44d5 [2021-01-15T21:51:05.610Z] ---> 91b2bd8f571c [2021-01-15T21:51:05.610Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:51:05.610Z] ---> Running in e20354de1836 [2021-01-15T21:51:06.207Z] Removing intermediate container e20354de1836 [2021-01-15T21:51:06.207Z] ---> 41d9359805b7 [2021-01-15T21:51:06.207Z] Step 7/8 : COPY . . [2021-01-15T21:51:07.645Z] ---> eb47b8299779 [2021-01-15T21:51:07.645Z] Step 8/8 : RUN go mod download [2021-01-15T21:51:07.645Z] ---> Running in fc5fffd8621f [2021-01-15T21:51:11.404Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.083s coverage: 9.4% of statements [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 21.7% of statements [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.249s coverage: 42.9% of statements [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.316s coverage: 68.9% of statements [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 30.4% of statements [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.627s coverage: 68.9% of statements [2021-01-15T21:51:11.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.084s coverage: 4.2% of statements [2021-01-15T21:51:11.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:51:11.405Z] GO111MODULE=on go vet ./... [2021-01-15T21:51:23.858Z] gofmt -l . [2021-01-15T21:51:23.858Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:51:23.858Z] ./bin/test-attribution-txt.sh [2021-01-15T21:51:23.858Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:51:23.873Z] $ docker stop --time=1 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 [2021-01-15T21:51:25.914Z] $ docker rm -f 9718f5b1ada6c5131a63051e56c4b0a7ab36bb914dced29491ed67b4554f4fe7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:51:26.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:51:27.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-15T21:51:28.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:51:28.622Z] + ls -al . [2021-01-15T21:51:28.622Z] total 220 [2021-01-15T21:51:28.622Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:51 . [2021-01-15T21:51:28.622Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:49 .. [2021-01-15T21:51:28.622Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:49 bin [2021-01-15T21:51:28.622Z] -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:51 coverage.out [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:49 Dockerfile.build [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:49 .dockerignore [2021-01-15T21:51:28.622Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:49 example [2021-01-15T21:51:28.622Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:49 .git [2021-01-15T21:51:28.622Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:49 .github [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:49 .gitignore [2021-01-15T21:51:28.622Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:51 go.mod [2021-01-15T21:51:28.622Z] -rw-r--r--. 1 jenkins jenkins 14214 Jan 15 21:51 go.sum [2021-01-15T21:51:28.622Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:49 internal [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:49 Jenkinsfile [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:49 LICENSE [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:49 Makefile [2021-01-15T21:51:28.622Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:49 openapi [2021-01-15T21:51:28.622Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:49 pkg [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:49 README.md [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:49 RELEASE-NOTES.txt [2021-01-15T21:51:28.622Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:49 snap [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:47 VERSION [2021-01-15T21:51:28.622Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:51:28.946Z] + 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=2810485882268eab71dea1c3634af3fb61dca74c --label arch=amd64 --label version=0.0.0 . [2021-01-15T21:51:29.210Z] Sending build context to Docker daemon 2.724MB [2021-01-15T21:51:29.210Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:51:29.210Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:51:29.210Z] ---> 35fd01fd8136 [2021-01-15T21:51:29.210Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:51:29.788Z] ---> Running in 62c7aea74fa3 [2021-01-15T21:51:29.802Z] Removing intermediate container fc5fffd8621f [2021-01-15T21:51:29.802Z] ---> a5b3fdee01bd [2021-01-15T21:51:29.802Z] Successfully built a5b3fdee01bd [2021-01-15T21:51:29.802Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:51:30.051Z] Removing intermediate container 62c7aea74fa3 [2021-01-15T21:51:30.051Z] ---> 3200e92e11a4 [2021-01-15T21:51:30.051Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:51:30.051Z] ---> Running in d81a0636278e [2021-01-15T21:51:30.135Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:51:30.135Z] . [Pipeline] withDockerContainer [2021-01-15T21:51:30.316Z] Removing intermediate container d81a0636278e [2021-01-15T21:51:30.316Z] ---> 55b41e190295 [2021-01-15T21:51:30.316Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:51:30.316Z] ---> Running in 43787e9d01ba [2021-01-15T21:51:30.369Z] prd-ubuntu18.04-docker-arm64-4c-16g-20660 does not seem to be running inside a container [2021-01-15T21:51:30.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:51:31.271Z] Removing intermediate container 43787e9d01ba [2021-01-15T21:51:31.271Z] ---> 910b7eb7f99f [2021-01-15T21:51:31.271Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:51:31.271Z] ---> Running in e9845ee8853c [2021-01-15T21:51:31.917Z] $ docker top db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 -eo pid,comm [Pipeline] { [2021-01-15T21:51:32.235Z] Removing intermediate container e9845ee8853c [2021-01-15T21:51:32.235Z] ---> 4c30611fad16 [2021-01-15T21:51:32.235Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:51:32.235Z] ---> Running in 8114ef1a8bdf [Pipeline] sh [2021-01-15T21:51:32.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:51:32.940Z] + go version [2021-01-15T21:51:32.940Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T21:51:32.967Z] $ docker stop --time=1 db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 [2021-01-15T21:51:33.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:51:34.042Z] OK: 166 MiB in 39 packages [2021-01-15T21:51:34.624Z] Removing intermediate container 8114ef1a8bdf [2021-01-15T21:51:34.624Z] ---> ac7071ecb389 [2021-01-15T21:51:34.624Z] Step 8/24 : COPY . . [2021-01-15T21:51:34.969Z] $ docker rm -f db1bec5a36021676c40b814c21a2b511ba711fcf3f47c4b81b661319b7454e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-01-15T21:51:35.575Z] ---> 338a8f6aaa6a [2021-01-15T21:51:35.575Z] Step 9/24 : RUN ${MAKE} [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:51:35.850Z] ---> Running in 17fab7f50b14 [2021-01-15T21:51:36.009Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:51:36.009Z] . [Pipeline] withDockerContainer [2021-01-15T21:51:36.279Z] prd-ubuntu18.04-docker-arm64-4c-16g-20660 does not seem to be running inside a container [2021-01-15T21:51:36.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:51:36.441Z] 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:51:37.952Z] $ docker top 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:51:39.004Z] + make test [2021-01-15T21:51:39.004Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:51:46.623Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:51:47.202Z] Removing intermediate container 17fab7f50b14 [2021-01-15T21:51:47.202Z] ---> bd41c0dbf8ce [2021-01-15T21:51:47.202Z] Step 10/24 : FROM scratch [2021-01-15T21:51:47.202Z] ---> [2021-01-15T21:51:47.202Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:51:47.202Z] ---> Running in 9317247f7dcc [2021-01-15T21:51:47.464Z] Removing intermediate container 9317247f7dcc [2021-01-15T21:51:47.464Z] ---> 05aafe0dcb77 [2021-01-15T21:51:47.464Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:51:47.464Z] ---> Running in 7bfd74de3a7a [2021-01-15T21:51:47.726Z] Removing intermediate container 7bfd74de3a7a [2021-01-15T21:51:47.726Z] ---> 46840b3da0be [2021-01-15T21:51:47.726Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:51:47.726Z] ---> Running in a7114fb98699 [2021-01-15T21:51:47.993Z] Removing intermediate container a7114fb98699 [2021-01-15T21:51:47.993Z] ---> 0eb6896fc08e [2021-01-15T21:51:47.993Z] Step 14/24 : WORKDIR / [2021-01-15T21:51:47.993Z] ---> Running in f67ce1d3dd42 [2021-01-15T21:51:47.993Z] Removing intermediate container f67ce1d3dd42 [2021-01-15T21:51:47.993Z] ---> e73883e83526 [2021-01-15T21:51:47.993Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:51:48.568Z] ---> bb15a0ff6ace [2021-01-15T21:51:48.568Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:51:48.831Z] ---> e07fc2136837 [2021-01-15T21:51:48.831Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:51:49.097Z] ---> 1e9be5566d84 [2021-01-15T21:51:49.097Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:51:49.361Z] ---> 72613cec44f4 [2021-01-15T21:51:49.361Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:51:49.624Z] ---> a3bc4343251e [2021-01-15T21:51:49.624Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:51:49.624Z] ---> Running in e591054bbea2 [2021-01-15T21:51:49.888Z] Removing intermediate container e591054bbea2 [2021-01-15T21:51:49.888Z] ---> 7382dcff51f2 [2021-01-15T21:51:49.888Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:51:49.888Z] ---> Running in 9610321080b3 [2021-01-15T21:51:50.151Z] Removing intermediate container 9610321080b3 [2021-01-15T21:51:50.151Z] ---> 22d9b79a477c [2021-01-15T21:51:50.151Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T21:51:50.151Z] ---> Running in 3d21187f842f [2021-01-15T21:51:50.413Z] Removing intermediate container 3d21187f842f [2021-01-15T21:51:50.413Z] ---> 867da6192b4d [2021-01-15T21:51:50.413Z] Step 23/24 : LABEL git_sha=2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:51:50.413Z] ---> Running in 2f115da4c536 [2021-01-15T21:51:50.681Z] Removing intermediate container 2f115da4c536 [2021-01-15T21:51:50.681Z] ---> 6c05f22eb2fe [2021-01-15T21:51:50.681Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:51:50.681Z] ---> Running in cb2d7cd02121 [2021-01-15T21:51:50.951Z] Removing intermediate container cb2d7cd02121 [2021-01-15T21:51:50.951Z] ---> 1eaa5f2b8e40 [2021-01-15T21:51:50.951Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:51:50.951Z] Successfully built 1eaa5f2b8e40 [2021-01-15T21:51:50.951Z] 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:52:01.201Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:52:48.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:52:48.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:52:48.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:52:48.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 19.4% of statements [2021-01-15T21:52:49.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.289s coverage: 97.1% of statements [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 9.4% of statements [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 21.7% of statements [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.670s coverage: 42.9% of statements [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.818s coverage: 68.9% of statements [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.207s coverage: 30.4% of statements [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.234s coverage: 68.9% of statements [2021-01-15T21:53:16.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements [2021-01-15T21:53:16.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:53:16.388Z] GO111MODULE=on go vet ./... [2021-01-15T21:53:55.458Z] gofmt -l . [2021-01-15T21:53:55.458Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:53:55.458Z] ./bin/test-attribution-txt.sh [2021-01-15T21:53:55.458Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:53:55.483Z] $ docker stop --time=1 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b [2021-01-15T21:53:57.721Z] $ docker rm -f 8783a83c15080fb3e05ad68e57f720e840a67508a43a6ec53df438ae366a752b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:53:58.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:53:58.918Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T21:53:59.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:54:01.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:54:02.389Z] + ls -al . [2021-01-15T21:54:02.389Z] total 256 [2021-01-15T21:54:02.389Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:53 . [2021-01-15T21:54:02.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 .. [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:50 .dockerignore [2021-01-15T21:54:02.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:50 .git [2021-01-15T21:54:02.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 .github [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:50 .gitignore [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:50 Dockerfile.build [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:50 Jenkinsfile [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:50 LICENSE [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:50 Makefile [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:50 README.md [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:50 RELEASE-NOTES.txt [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:47 VERSION [2021-01-15T21:54:02.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:50 bin [2021-01-15T21:54:02.389Z] -rw-r--r-- 1 jenkins jenkins 142787 Jan 15 21:53 coverage.out [2021-01-15T21:54:02.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 example [2021-01-15T21:54:02.389Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:53 go.mod [2021-01-15T21:54:02.389Z] -rw-r--r-- 1 jenkins jenkins 14214 Jan 15 21:53 go.sum [2021-01-15T21:54:02.389Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:50 internal [2021-01-15T21:54:02.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 openapi [2021-01-15T21:54:02.389Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:50 pkg [2021-01-15T21:54:02.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:50 snap [2021-01-15T21:54:02.389Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:02.773Z] + 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=2810485882268eab71dea1c3634af3fb61dca74c --label arch=arm64 --label version=0.0.0 . [2021-01-15T21:54:03.379Z] Sending build context to Docker daemon 2.725MB [2021-01-15T21:54:03.668Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:54:03.668Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:54:03.668Z] ---> a5b3fdee01bd [2021-01-15T21:54:03.668Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:54:03.668Z] ---> Running in dafccff24783 [2021-01-15T21:54:04.260Z] Removing intermediate container dafccff24783 [2021-01-15T21:54:04.260Z] ---> 49b9be900b9f [2021-01-15T21:54:04.260Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:54:04.260Z] ---> Running in 477d14f07b9d [2021-01-15T21:54:04.851Z] Removing intermediate container 477d14f07b9d [2021-01-15T21:54:04.851Z] ---> 9c4958a8fc00 [2021-01-15T21:54:04.851Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:54:05.121Z] ---> Running in 46868b454251 [2021-01-15T21:54:05.395Z] Removing intermediate container 46868b454251 [2021-01-15T21:54:05.395Z] ---> 510d605963e0 [2021-01-15T21:54:05.395Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:54:05.669Z] ---> Running in 6df9991b62a6 [2021-01-15T21:54:07.648Z] Removing intermediate container 6df9991b62a6 [2021-01-15T21:54:07.648Z] ---> 65599064904a [2021-01-15T21:54:07.648Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:54:07.648Z] ---> Running in cc2c26df964e [2021-01-15T21:54:08.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:54:09.600Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:54:10.191Z] OK: 142 MiB in 39 packages [2021-01-15T21:54:11.179Z] Removing intermediate container cc2c26df964e [2021-01-15T21:54:11.179Z] ---> 2602504ca9e5 [2021-01-15T21:54:11.179Z] Step 8/24 : COPY . . [2021-01-15T21:54:12.606Z] ---> feccc934f09d [2021-01-15T21:54:12.606Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:54:12.606Z] ---> Running in 372c73ea87d6 [2021-01-15T21:54:14.046Z] 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:54:40.926Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:54:41.200Z] Removing intermediate container 372c73ea87d6 [2021-01-15T21:54:41.200Z] ---> 60b75e653d8d [2021-01-15T21:54:41.200Z] Step 10/24 : FROM scratch [2021-01-15T21:54:41.200Z] ---> [2021-01-15T21:54:41.200Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:54:41.472Z] ---> Running in d6f5e3ac9cb9 [2021-01-15T21:54:41.745Z] Removing intermediate container d6f5e3ac9cb9 [2021-01-15T21:54:41.745Z] ---> 4a72b397bdd6 [2021-01-15T21:54:41.745Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:54:41.745Z] ---> Running in c5ff4adad83f [2021-01-15T21:54:42.362Z] Removing intermediate container c5ff4adad83f [2021-01-15T21:54:42.362Z] ---> 21206f2a4fb6 [2021-01-15T21:54:42.362Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:54:42.362Z] ---> Running in c20729c9ac14 [2021-01-15T21:54:42.956Z] Removing intermediate container c20729c9ac14 [2021-01-15T21:54:42.956Z] ---> dc2c7f2c8d0d [2021-01-15T21:54:42.956Z] Step 14/24 : WORKDIR / [2021-01-15T21:54:42.956Z] ---> Running in 0b549edf12b9 [2021-01-15T21:54:43.229Z] Removing intermediate container 0b549edf12b9 [2021-01-15T21:54:43.229Z] ---> 78bca84ba994 [2021-01-15T21:54:43.229Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:54:44.662Z] ---> b4853fac9f83 [2021-01-15T21:54:44.662Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:54:45.263Z] ---> 8e0f4194d4cf [2021-01-15T21:54:45.263Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:54:45.863Z] ---> ee657198b891 [2021-01-15T21:54:45.863Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:54:46.845Z] ---> 96cd53b7b744 [2021-01-15T21:54:46.845Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:54:47.456Z] ---> f9b4afbd0930 [2021-01-15T21:54:47.456Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:54:47.456Z] ---> Running in 91263854ebe9 [2021-01-15T21:54:48.060Z] Removing intermediate container 91263854ebe9 [2021-01-15T21:54:48.060Z] ---> d214af06f775 [2021-01-15T21:54:48.060Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:54:48.060Z] ---> Running in 8705e85ee616 [2021-01-15T21:54:48.667Z] Removing intermediate container 8705e85ee616 [2021-01-15T21:54:48.667Z] ---> 630985f8bcb0 [2021-01-15T21:54:48.667Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T21:54:48.667Z] ---> Running in 7764bce938c0 [2021-01-15T21:54:49.265Z] Removing intermediate container 7764bce938c0 [2021-01-15T21:54:49.265Z] ---> 0ab2a6ad2355 [2021-01-15T21:54:49.265Z] Step 23/24 : LABEL git_sha=2810485882268eab71dea1c3634af3fb61dca74c [2021-01-15T21:54:49.265Z] ---> Running in c6b87031b0d9 [2021-01-15T21:54:49.536Z] Removing intermediate container c6b87031b0d9 [2021-01-15T21:54:49.536Z] ---> 8852a3dde860 [2021-01-15T21:54:49.536Z] Step 24/24 : LABEL version=0.0.0 [2021-01-15T21:54:49.811Z] ---> Running in 0078ecec9920 [2021-01-15T21:54:50.406Z] Removing intermediate container 0078ecec9920 [2021-01-15T21:54:50.406Z] ---> 85719fe7975f [2021-01-15T21:54:50.406Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:54:50.406Z] Successfully built 85719fe7975f [2021-01-15T21:54:50.406Z] 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:54:52.001Z] provisioning config files... [2021-01-15T21:54:52.011Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2452247285571308864tmp [Pipeline] { [Pipeline] sh [2021-01-15T21:54:52.390Z] + set +x [2021-01-15T21:54:52.390Z] + curl -s https://codecov.io/bash [2021-01-15T21:54:52.390Z] + bash -s -- [2021-01-15T21:54:52.656Z] [2021-01-15T21:54:52.656Z] _____ _ [2021-01-15T21:54:52.656Z] / ____| | | [2021-01-15T21:54:52.656Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T21:54:52.656Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T21:54:52.656Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T21:54:52.656Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T21:54:52.656Z] Bash-20210115-cec3c92 [2021-01-15T21:54:52.656Z] [2021-01-15T21:54:52.656Z] [2021-01-15T21:54:52.656Z] ==> git version 2.24.3 found [2021-01-15T21:54:52.656Z] ==> 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:54:52.656Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T21:54:52.656Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T21:54:52.656Z] ==> Jenkins CI detected. [2021-01-15T21:54:52.656Z] project root: . [2021-01-15T21:54:52.656Z] --> token set from env [2021-01-15T21:54:52.656Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T21:54:52.656Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T21:54:52.656Z] ==> Python coveragepy not found [2021-01-15T21:54:52.656Z] ==> Searching for coverage reports in: [2021-01-15T21:54:52.656Z] + . [2021-01-15T21:54:52.656Z] -> Found 1 reports [2021-01-15T21:54:52.656Z] ==> Detecting git/mercurial file structure [2021-01-15T21:54:52.656Z] ==> Reading reports [2021-01-15T21:54:52.656Z] + ./coverage.out bytes=142787 [2021-01-15T21:54:52.656Z] ==> Appending adjustments [2021-01-15T21:54:52.656Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T21:54:53.236Z] + Found adjustments [2021-01-15T21:54:53.236Z] ==> Gzipping contents [2021-01-15T21:54:53.236Z] 24K /tmp/codecov.5KFf8H.gz [2021-01-15T21:54:53.236Z] ==> Uploading reports [2021-01-15T21:54:53.236Z] url: https://codecov.io [2021-01-15T21:54:53.236Z] query: branch=PR-728&commit=2810485882268eab71dea1c3634af3fb61dca74c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-15T21:54:53.236Z] -> Pinging Codecov [2021-01-15T21:54:53.236Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=2810485882268eab71dea1c3634af3fb61dca74c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-15T21:54:54.191Z] -> Uploading to [2021-01-15T21:54:54.191Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/2810485882268eab71dea1c3634af3fb61dca74c/f698f14f-aa17-4820-bd28-3ad2637aa7c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b50a407594d8621477fa52457fef2998bd22f1b77ee3f0a9324d3f8c1db5ac3 [2021-01-15T21:54:54.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:54:54.191Z] Dload Upload Total Spent Left Speed [2021-01-15T21:54:54.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22111 0 0 100 22111 0 44486 --:--:-- --:--:-- --:--:-- 44578 [2021-01-15T21:54:54.764Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2810485882268eab71dea1c3634af3fb61dca74c [Pipeline] } [2021-01-15T21:54:54.774Z] 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:54:57.167Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:57.475Z] ---> package-listing.sh [2021-01-15T21:54:57.475Z] ++ facter osfamily [2021-01-15T21:54:57.475Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T21:54:57.475Z] + OS_FAMILY=redhat [2021-01-15T21:54:57.475Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-15T21:54:57.475Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:57.475Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:57.475Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T21:54:57.475Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:57.475Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-15T21:54:57.475Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:57.475Z] + case "${OS_FAMILY}" in [2021-01-15T21:54:57.475Z] + rpm -qa [2021-01-15T21:54:57.475Z] + sort [2021-01-15T21:55:02.795Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T21:55:02.795Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T21:55:02.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T21:55:02.795Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-15T21:55:02.795Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [2021-01-15T21:55:02.795Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo [2021-01-15T21:55:02.812Z] 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-728/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:55:03.106Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:55:03.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:55:03.412Z] [2021-01-15T21:55:03.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:55:03.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:55:03.763Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T21:55:03.763Z] df20fa9351a1: Pulling fs layer [2021-01-15T21:55:03.763Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T21:55:03.763Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T21:55:03.763Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T21:55:03.763Z] 93b61091891f: Pulling fs layer [2021-01-15T21:55:03.763Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T21:55:03.763Z] 5e14af77c1be: Pulling fs layer [2021-01-15T21:55:03.763Z] 01666e4c0597: Pulling fs layer [2021-01-15T21:55:03.763Z] aa168da1d23b: Pulling fs layer [2021-01-15T21:55:03.763Z] 93b61091891f: Waiting [2021-01-15T21:55:03.763Z] 93b9cdb0e59b: Waiting [2021-01-15T21:55:03.763Z] 5e14af77c1be: Waiting [2021-01-15T21:55:03.763Z] 01666e4c0597: Waiting [2021-01-15T21:55:03.763Z] aa168da1d23b: Waiting [2021-01-15T21:55:03.763Z] 46f8f816bc3b: Waiting [2021-01-15T21:55:03.763Z] 36b3adc4ff6f: Verifying Checksum [2021-01-15T21:55:03.763Z] 36b3adc4ff6f: Download complete [2021-01-15T21:55:03.763Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T21:55:03.763Z] 46f8f816bc3b: Download complete [2021-01-15T21:55:04.030Z] df20fa9351a1: Verifying Checksum [2021-01-15T21:55:04.030Z] df20fa9351a1: Download complete [2021-01-15T21:55:04.030Z] 93b61091891f: Verifying Checksum [2021-01-15T21:55:04.030Z] 93b61091891f: Download complete [2021-01-15T21:55:04.030Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T21:55:04.030Z] 93b9cdb0e59b: Download complete [2021-01-15T21:55:04.030Z] 01666e4c0597: Verifying Checksum [2021-01-15T21:55:04.030Z] 01666e4c0597: Download complete [2021-01-15T21:55:04.030Z] 5e14af77c1be: Verifying Checksum [2021-01-15T21:55:04.030Z] 5e14af77c1be: Download complete [2021-01-15T21:55:04.030Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T21:55:04.030Z] 8ad3a11d3b57: Download complete [2021-01-15T21:55:04.301Z] df20fa9351a1: Pull complete [2021-01-15T21:55:04.570Z] 36b3adc4ff6f: Pull complete [2021-01-15T21:55:05.526Z] 8ad3a11d3b57: Pull complete [2021-01-15T21:55:05.526Z] 46f8f816bc3b: Pull complete [2021-01-15T21:55:06.121Z] aa168da1d23b: Verifying Checksum [2021-01-15T21:55:06.121Z] aa168da1d23b: Download complete [2021-01-15T21:55:06.121Z] 93b61091891f: Pull complete [2021-01-15T21:55:06.121Z] 93b9cdb0e59b: Pull complete [2021-01-15T21:55:06.390Z] 5e14af77c1be: Pull complete [2021-01-15T21:55:06.390Z] 01666e4c0597: Pull complete [2021-01-15T21:55:14.574Z] aa168da1d23b: Pull complete [2021-01-15T21:55:14.574Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T21:55:14.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:55:14.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T21:55:14.755Z] prd-centos7-docker-4c-2g-20649 does not seem to be running inside a container [2021-01-15T21:55:14.810Z] $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T21:55:17.958Z] $ docker top bcd65aeabbba2f1a4f5120021d4261fc6ea292828048f86d0af94e8c3e8d13fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:55:18.466Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T21:55:18.776Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T21:55:19.117Z] + ls /var/log/sa-host [2021-01-15T21:55:19.117Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T21:55:19.117Z] file_magic: OK [2021-01-15T21:55:19.117Z] HZ: Using current value: 100 [2021-01-15T21:55:19.117Z] file_header: OK [2021-01-15T21:55:19.117Z] 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:55:19.117Z] Statistics: [2021-01-15T21:55:19.117Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T21:55:19.117Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T21:55:19.117Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T21:55:19.117Z] file_magic: OK [2021-01-15T21:55:19.117Z] HZ: Using current value: 100 [2021-01-15T21:55:19.117Z] file_header: OK [2021-01-15T21:55:19.117Z] 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:55:19.117Z] Statistics: [2021-01-15T21:55:19.117Z] Hnuu...uuuununununu... [2021-01-15T21:55:19.117Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:55:19.320Z] provisioning config files... [2021-01-15T21:55:19.345Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2501964370355024699tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:55:19.435Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:55:19.739Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T21:55:19.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T21:55:19.839Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:55:20.138Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T21:55:20.149Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:55:20.449Z] ---> sudo-logs.sh [2021-01-15T21:55:20.450Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T21:55:20.461Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:55:20.757Z] ---> job-cost.sh [2021-01-15T21:55:20.757Z] lf-activate-venv: SKIPPING [2021-01-15T21:55:20.757Z] INFO: No Stack... [2021-01-15T21:55:24.065Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T21:55:24.065Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T21:55:24.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:55:24.375Z] ---> logs-deploy.sh [2021-01-15T21:55:24.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/3 [2021-01-15T21:55:24.375Z] INFO: archiving workspace using pattern(s): [2021-01-15T21:55:26.296Z] Archives upload complete. [2021-01-15T21:55:26.296Z] INFO: archiving logs to Nexus