Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 54037e6807a9ac14c6e293b6fbd3afd97b7115bb+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (b14c51cb226b44c2db32257a106bcd311e566c58) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21159 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (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 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # 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-19T07:43:38.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 21c114e8057a6ea6536f9ac2ea9c27f14ed23e50 # timeout=10 [Pipeline] withCredentials [2021-01-19T07:43:38.967Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T07:43:39.094Z] ========================================================= [2021-01-19T07:43:39.094Z] EdgeX Global Pipelines Version Info [2021-01-19T07:43:39.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:43:40.653Z] ------------------- [2021-01-19T07:43:40.653Z] stable info: [2021-01-19T07:43:40.653Z] ------------------- [2021-01-19T07:43:40.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T07:43:40.653Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T07:43:40.653Z] Message: update stable to v1.0.177 [2021-01-19T07:43:41.609Z] ------------------- [2021-01-19T07:43:41.609Z] experimental info: [2021-01-19T07:43:41.609Z] ------------------- [2021-01-19T07:43:41.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T07:43:41.609Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T07:43:41.609Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T07:43:41.886Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T07:43:42.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T07:43:42.206Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T07:43:42.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T07:43:42.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T07:43:42.506Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T07:43:42.611Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T07:43:42.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T07:43:42.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T07:43:42.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T07:43:42.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T07:43:43.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-19T07:43:43.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T07:43:43.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T07:43:43.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T07:43:43.472Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:43:43.563Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:43:43.656Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:43:43.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T07:43:43.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T07:43:43.925Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T07:43:44.013Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T07:43:44.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T07:43:44.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T07:43:44.306Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T07:43:44.410Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T07:43:44.496Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T07:43:44.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo [2021-01-19T07:43:44.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo [2021-01-19T07:43:44.807Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo [2021-01-19T07:43:44.916Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] echo [2021-01-19T07:43:45.046Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54037e6 [Pipeline] echo [2021-01-19T07:43:45.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T07:43:45.469Z] provisioning config files... [2021-01-19T07:43:45.532Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config6224086469435559496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:43:45.892Z] ---> docker-login.sh [2021-01-19T07:43:45.892Z] nexus3.edgexfoundry.org:10001 [2021-01-19T07:43:46.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:43:46.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:43:46.420Z] Configure a credential helper to remove this warning. See [2021-01-19T07:43:46.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:43:46.420Z] [2021-01-19T07:43:46.420Z] Login Succeeded [2021-01-19T07:43:46.420Z] nexus3.edgexfoundry.org:10002 [2021-01-19T07:43:46.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:43:46.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:43:46.686Z] Configure a credential helper to remove this warning. See [2021-01-19T07:43:46.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:43:46.686Z] [2021-01-19T07:43:46.686Z] Login Succeeded [2021-01-19T07:43:46.686Z] nexus3.edgexfoundry.org:10003 [2021-01-19T07:43:46.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:43:46.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:43:46.687Z] Configure a credential helper to remove this warning. See [2021-01-19T07:43:46.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:43:46.687Z] [2021-01-19T07:43:46.687Z] Login Succeeded [2021-01-19T07:43:46.687Z] nexus3.edgexfoundry.org:10004 [2021-01-19T07:43:46.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:43:46.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:43:46.948Z] Configure a credential helper to remove this warning. See [2021-01-19T07:43:46.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:43:46.948Z] [2021-01-19T07:43:46.948Z] Login Succeeded [2021-01-19T07:43:46.948Z] docker.io [2021-01-19T07:43:47.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:43:47.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:43:47.217Z] Configure a credential helper to remove this warning. See [2021-01-19T07:43:47.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:43:47.217Z] [2021-01-19T07:43:47.217Z] Login Succeeded [2021-01-19T07:43:47.217Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T07:43:47.232Z] 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-19T07:43:48.185Z] + git log --format=format:%s -1 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] echo [2021-01-19T07:43:48.260Z] GIT_COMMIT: 54037e6807a9ac14c6e293b6fbd3afd97b7115bb, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo [2021-01-19T07:43:48.301Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:43:48.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:43:48.909Z] [2021-01-19T07:43:48.909Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:43:49.271Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:43:49.271Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T07:43:49.271Z] 31603596830f: Pulling fs layer [2021-01-19T07:43:49.271Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T07:43:49.271Z] 6ca5941a6612: Pulling fs layer [2021-01-19T07:43:49.271Z] ecc8261a40a4: Pulling fs layer [2021-01-19T07:43:49.271Z] ecc8261a40a4: Waiting [2021-01-19T07:43:49.271Z] 2a8b12db71e7: Download complete [2021-01-19T07:43:49.538Z] 31603596830f: Verifying Checksum [2021-01-19T07:43:49.538Z] 31603596830f: Download complete [2021-01-19T07:43:49.538Z] ecc8261a40a4: Verifying Checksum [2021-01-19T07:43:49.538Z] ecc8261a40a4: Download complete [2021-01-19T07:43:49.538Z] 6ca5941a6612: Verifying Checksum [2021-01-19T07:43:49.538Z] 6ca5941a6612: Download complete [2021-01-19T07:43:49.803Z] 31603596830f: Pull complete [2021-01-19T07:43:50.067Z] 2a8b12db71e7: Pull complete [2021-01-19T07:43:51.021Z] 6ca5941a6612: Pull complete [2021-01-19T07:43:51.284Z] ecc8261a40a4: Pull complete [2021-01-19T07:43:51.284Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T07:43:51.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:43:51.555Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T07:43:51.671Z] prd-centos7-docker-4c-2g-21159 does not seem to be running inside a container [2021-01-19T07:43:51.719Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T07:43:53.422Z] $ docker top ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T07:43:53.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T07:43:53.853Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T07:43:54.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T07:43:54.121Z] $ docker exec ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent [2021-01-19T07:43:54.322Z] SSH_AUTH_SOCK=/tmp/ssh-Y1ch06zOFcog/agent.12 [2021-01-19T07:43:54.322Z] SSH_AGENT_PID=17 [2021-01-19T07:43:54.338Z] Running ssh-add (command line suppressed) [2021-01-19T07:43:54.472Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_3709547355335567556.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_3709547355335567556.key) [2021-01-19T07:43:54.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T07:43:54.860Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T07:43:54.886Z] $ docker exec --env ******** --env ******** ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent -k [2021-01-19T07:43:55.024Z] unset SSH_AUTH_SOCK; [2021-01-19T07:43:55.025Z] unset SSH_AGENT_PID; [2021-01-19T07:43:55.025Z] echo Agent pid 17 killed; [2021-01-19T07:43:55.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T07:43:55.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T07:43:55.208Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T07:43:55.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T07:43:55.375Z] $ docker exec ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent [2021-01-19T07:43:55.571Z] SSH_AUTH_SOCK=/tmp/ssh-KoYuUb9vZDyC/agent.46 [2021-01-19T07:43:55.571Z] SSH_AGENT_PID=51 [2021-01-19T07:43:55.580Z] Running ssh-add (command line suppressed) [2021-01-19T07:43:55.774Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_688189457027453475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_688189457027453475.key) [2021-01-19T07:43:55.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T07:43:56.187Z] + git semver init [2021-01-19T07:43:56.187Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T07:43:56.187Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git [2021-01-19T07:43:56.187Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-19T07:43:56.187Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T07:43:56.187Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T07:43:56.187Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T07:43:56.187Z] # $SEMVER_BRANCH = PR-728 [2021-01-19T07:43:56.187Z] # $SEMVER_TEMP = /tmp/semver-537811393 [2021-01-19T07:43:56.187Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T07:43:57.151Z] # '/tmp/semver-537811393' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' [2021-01-19T07:43:57.151Z] # -> Force: false [2021-01-19T07:43:57.151Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } [2021-01-19T07:43:57.167Z] $ docker exec --env ******** --env ******** ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 ssh-agent -k [2021-01-19T07:43:57.303Z] unset SSH_AUTH_SOCK; [2021-01-19T07:43:57.304Z] unset SSH_AGENT_PID; [2021-01-19T07:43:57.304Z] echo Agent pid 51 killed; [2021-01-19T07:43:57.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T07:43:57.845Z] + git semver [Pipeline] } [2021-01-19T07:43:57.866Z] $ docker stop --time=1 ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 [2021-01-19T07:43:59.260Z] $ docker rm -f ea6afec9719fc943978e40bcccb05b9d2def0878bc4e404d39f46a0a7bb05239 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T07:43:59.728Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T07:44:00.252Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T07:44:00.254Z] [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-19T07:44:15.863Z] Still waiting to schedule task [2021-01-19T07:44:15.863Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21156’ is offline; ‘prd-centos7-docker-4c-2g-21162’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-19T07:44:15.865Z] Still waiting to schedule task [2021-01-19T07:44:15.865Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-19T07:44:32.359Z] Running on prd-centos7-docker-4c-2g-21162 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-19T07:44:32.407Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-19T07:44:34.792Z] using credential edgex-jenkins-ssh [2021-01-19T07:44:34.857Z] Cloning the remote Git repository [2021-01-19T07:44:34.885Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:44:34.957Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-19T07:44:35.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:44:35.017Z] > git --version # timeout=10 [2021-01-19T07:44:35.022Z] > git --version # 'git version 2.24.3' [2021-01-19T07:44:35.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:44:35.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T07:44:35.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T07:44:35.908Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T07:44:35.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T07:44:35.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:44:35.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:44:35.934Z] > 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-19T07:44:36.347Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:44:36.461Z] Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:44:36.462Z] Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (PR-728) [2021-01-19T07:44:36.364Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T07:44:36.372Z] > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 [2021-01-19T07:44:36.428Z] > git remote # timeout=10 [2021-01-19T07:44:36.435Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T07:44:36.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:44:36.448Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-19T07:44:36.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T07:44:36.468Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T07:44:36.475Z] > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 [2021-01-19T07:44:40.169Z] 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-19T07:44:41.328Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T07:44:41.671Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T07:44:41.980Z] + sudo service docker restart [2021-01-19T07:44:41.980Z] + true [2021-01-19T07:44:41.980Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T07:44:42.997Z] provisioning config files... [2021-01-19T07:44:43.026Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8667659110068026989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:44:43.386Z] ---> docker-login.sh [2021-01-19T07:44:43.386Z] nexus3.edgexfoundry.org:10001 [2021-01-19T07:44:43.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:44:43.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:44:43.910Z] Configure a credential helper to remove this warning. See [2021-01-19T07:44:43.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:44:43.910Z] [2021-01-19T07:44:43.910Z] Login Succeeded [2021-01-19T07:44:43.910Z] nexus3.edgexfoundry.org:10002 [2021-01-19T07:44:43.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:44:43.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:44:43.910Z] Configure a credential helper to remove this warning. See [2021-01-19T07:44:43.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:44:43.910Z] [2021-01-19T07:44:43.910Z] Login Succeeded [2021-01-19T07:44:43.910Z] nexus3.edgexfoundry.org:10003 [2021-01-19T07:44:44.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:44:44.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:44:44.172Z] Configure a credential helper to remove this warning. See [2021-01-19T07:44:44.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:44:44.172Z] [2021-01-19T07:44:44.172Z] Login Succeeded [2021-01-19T07:44:44.172Z] nexus3.edgexfoundry.org:10004 [2021-01-19T07:44:44.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:44:44.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:44:44.433Z] Configure a credential helper to remove this warning. See [2021-01-19T07:44:44.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:44:44.433Z] [2021-01-19T07:44:44.433Z] Login Succeeded [2021-01-19T07:44:44.433Z] docker.io [2021-01-19T07:44:44.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:44:44.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:44:44.696Z] Configure a credential helper to remove this warning. See [2021-01-19T07:44:44.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:44:44.696Z] [2021-01-19T07:44:44.696Z] Login Succeeded [2021-01-19T07:44:44.696Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T07:44:44.705Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T07:44:45.037Z] ========================================================= [2021-01-19T07:44:45.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T07:44:45.037Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:44:45.385Z] + 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-19T07:44:45.385Z] Sending build context to Docker daemon 2.521MB [2021-01-19T07:44:45.385Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T07:44:45.385Z] Step 2/8 : FROM ${BASE} [2021-01-19T07:44:45.650Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T07:44:45.650Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T07:44:45.650Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T07:44:45.650Z] de9db76c5a1d: Pulling fs layer [2021-01-19T07:44:45.650Z] bca2f99d35d6: Pulling fs layer [2021-01-19T07:44:45.650Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T07:44:45.650Z] 7c6f9722023f: Pulling fs layer [2021-01-19T07:44:45.650Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T07:44:45.650Z] 93359f2a8cfa: Waiting [2021-01-19T07:44:45.650Z] 7c6f9722023f: Waiting [2021-01-19T07:44:45.650Z] a35cf1a2eb13: Waiting [2021-01-19T07:44:45.650Z] bca2f99d35d6: Waiting [2021-01-19T07:44:45.650Z] de9db76c5a1d: Verifying Checksum [2021-01-19T07:44:45.650Z] de9db76c5a1d: Download complete [2021-01-19T07:44:45.650Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T07:44:45.650Z] 0ef7d3d256c8: Download complete [2021-01-19T07:44:45.650Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T07:44:45.650Z] 93359f2a8cfa: Download complete [2021-01-19T07:44:45.650Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T07:44:45.650Z] 188c0c94c7c5: Download complete [2021-01-19T07:44:45.650Z] 7c6f9722023f: Verifying Checksum [2021-01-19T07:44:45.650Z] 7c6f9722023f: Download complete [2021-01-19T07:44:45.915Z] 188c0c94c7c5: Pull complete [2021-01-19T07:44:46.180Z] 0ef7d3d256c8: Pull complete [2021-01-19T07:44:46.180Z] de9db76c5a1d: Pull complete [2021-01-19T07:44:47.586Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T07:44:47.586Z] a35cf1a2eb13: Download complete [2021-01-19T07:44:48.169Z] bca2f99d35d6: Verifying Checksum [2021-01-19T07:44:48.169Z] bca2f99d35d6: Download complete [2021-01-19T07:44:54.884Z] bca2f99d35d6: Pull complete [2021-01-19T07:44:54.885Z] 93359f2a8cfa: Pull complete [2021-01-19T07:44:54.885Z] 7c6f9722023f: Pull complete [2021-01-19T07:45:00.201Z] a35cf1a2eb13: Pull complete [2021-01-19T07:45:00.201Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T07:45:00.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T07:45:00.201Z] ---> a62c8e92a672 [2021-01-19T07:45:00.201Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:45:00.463Z] ---> Running in 393f574b0079 [2021-01-19T07:45:00.730Z] Removing intermediate container 393f574b0079 [2021-01-19T07:45:00.730Z] ---> 4c730a2c8214 [2021-01-19T07:45:00.730Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T07:45:00.730Z] ---> Running in 2efdfbe6602d [2021-01-19T07:45:02.135Z] Removing intermediate container 2efdfbe6602d [2021-01-19T07:45:02.135Z] ---> 3d7cbaf09649 [2021-01-19T07:45:02.135Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T07:45:02.135Z] ---> Running in dcf5a32eff4d [2021-01-19T07:45:03.089Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T07:45:03.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T07:45:04.622Z] OK: 166 MiB in 39 packages [2021-01-19T07:45:04.889Z] Removing intermediate container dcf5a32eff4d [2021-01-19T07:45:04.889Z] ---> eb6bec23bd80 [2021-01-19T07:45:04.889Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T07:45:04.889Z] ---> Running in cdf75f80eb6f [2021-01-19T07:45:05.151Z] Removing intermediate container cdf75f80eb6f [2021-01-19T07:45:05.151Z] ---> a39bb640ae72 [2021-01-19T07:45:05.151Z] Step 7/8 : COPY . . [2021-01-19T07:45:06.544Z] ---> 5381fe15899a [2021-01-19T07:45:06.544Z] Step 8/8 : RUN go mod download [2021-01-19T07:45:06.544Z] ---> Running in 872a5f52adeb [2021-01-19T07:45:24.731Z] Removing intermediate container 872a5f52adeb [2021-01-19T07:45:24.731Z] ---> f0269c0c3bb8 [2021-01-19T07:45:24.731Z] Successfully built f0269c0c3bb8 [2021-01-19T07:45:24.731Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:45:25.047Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T07:45:25.047Z] . [Pipeline] withDockerContainer [2021-01-19T07:45:25.171Z] prd-centos7-docker-4c-2g-21162 does not seem to be running inside a container [2021-01-19T07:45:25.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-19T07:45:26.063Z] $ docker top 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T07:45:26.599Z] + go version [2021-01-19T07:45:26.599Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T07:45:26.618Z] $ docker stop --time=1 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 [2021-01-19T07:45:28.002Z] $ docker rm -f 595b76ddd1e0a1a686999caf11824eb20cedef3157dc713d412749fe48baef51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:45:28.829Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T07:45:28.829Z] . [Pipeline] withDockerContainer [2021-01-19T07:45:28.928Z] prd-centos7-docker-4c-2g-21162 does not seem to be running inside a container [2021-01-19T07:45:28.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-19T07:45:29.562Z] $ docker top f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T07:45:30.041Z] + make test [2021-01-19T07:45:30.041Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T07:45:38.283Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T07:45:53.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T07:45:53.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T07:45:53.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T07:45:53.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 19.4% of statements [2021-01-19T07:45:57.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.530s coverage: 97.1% of statements [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.070s coverage: 9.4% of statements [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.117s coverage: 21.7% of statements [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.242s coverage: 43.2% of statements [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.282s coverage: 68.9% of statements [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 26.8% of statements [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.425s coverage: 68.9% of statements [2021-01-19T07:46:24.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-19T07:46:24.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T07:46:24.300Z] GO111MODULE=on go vet ./... [2021-01-19T07:46:29.175Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21163 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws [2021-01-19T07:46:29.231Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-01-19T07:46:34.477Z] using credential edgex-jenkins-ssh [2021-01-19T07:46:34.543Z] Cloning the remote Git repository [2021-01-19T07:46:34.590Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:46:34.703Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-01-19T07:46:34.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:46:34.793Z] > git --version # timeout=10 [2021-01-19T07:46:34.816Z] > git --version # 'git version 2.17.1' [2021-01-19T07:46:34.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:46:34.870Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T07:46:36.556Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:46:36.638Z] gofmt -l . [2021-01-19T07:46:36.638Z] [ "`gofmt -l .`" = "" ] [2021-01-19T07:46:36.638Z] ./bin/test-attribution-txt.sh [2021-01-19T07:46:36.638Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T07:46:36.655Z] $ docker stop --time=1 f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 [2021-01-19T07:46:35.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T07:46:35.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T07:46:35.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T07:46:36.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T07:46:36.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:46:36.037Z] > 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-19T07:46:36.571Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T07:46:36.587Z] > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 [2021-01-19T07:46:36.967Z] Merge succeeded, producing 54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:46:36.967Z] Checking out Revision 54037e6807a9ac14c6e293b6fbd3afd97b7115bb (PR-728) [2021-01-19T07:46:36.766Z] > git remote # timeout=10 [2021-01-19T07:46:36.836Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T07:46:36.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T07:46:36.878Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-19T07:46:36.920Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T07:46:36.968Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T07:46:37.022Z] > git checkout -f 54037e6807a9ac14c6e293b6fbd3afd97b7115bb # timeout=10 [2021-01-19T07:46:38.620Z] $ docker rm -f f9a6c70b085c79ede199bb4227360e88d8b9cf507fd954de65d87a34186a5af9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T07:46:39.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T07:46:39.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-19T07:46:40.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T07:46:41.170Z] + ls -al . [2021-01-19T07:46:41.170Z] total 224 [2021-01-19T07:46:41.170Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 07:46 . [2021-01-19T07:46:41.170Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 07:44 .. [2021-01-19T07:46:41.170Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 07:44 bin [2021-01-19T07:46:41.170Z] -rw-r--r--. 1 jenkins jenkins 143471 Jan 19 07:46 coverage.out [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 07:44 Dockerfile.build [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 07:44 .dockerignore [2021-01-19T07:46:41.170Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 07:44 example [2021-01-19T07:46:41.170Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 07:44 .git [2021-01-19T07:46:41.170Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 07:44 .github [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 07:44 .gitignore [2021-01-19T07:46:41.170Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 07:46 go.mod [2021-01-19T07:46:41.170Z] -rw-r--r--. 1 jenkins jenkins 14214 Jan 19 07:46 go.sum [2021-01-19T07:46:41.170Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 07:44 internal [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 07:44 Jenkinsfile [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 07:44 LICENSE [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 07:44 Makefile [2021-01-19T07:46:41.170Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 07:44 openapi [2021-01-19T07:46:41.170Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 07:44 pkg [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 07:44 README.md [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 07:44 RELEASE-NOTES.txt [2021-01-19T07:46:41.170Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 07:44 snap [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 07:43 VERSION [2021-01-19T07:46:41.170Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 07:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:46:41.410Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [2021-01-19T07:46:41.488Z] + 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=54037e6807a9ac14c6e293b6fbd3afd97b7115bb --label arch=amd64 --label version=0.0.0 . [2021-01-19T07:46:41.750Z] Sending build context to Docker daemon 2.665MB [2021-01-19T07:46:41.750Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T07:46:41.750Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T07:46:41.750Z] ---> f0269c0c3bb8 [2021-01-19T07:46:41.750Z] Step 3/24 : ARG MAKE='make build' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T07:46:42.350Z] ---> Running in 3ff6cfb0cb9d [2021-01-19T07:46:42.614Z] Removing intermediate container 3ff6cfb0cb9d [2021-01-19T07:46:42.614Z] ---> 2747d535d702 [2021-01-19T07:46:42.614Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T07:46:42.614Z] ---> Running in 3f98a3653756 [2021-01-19T07:46:42.875Z] Removing intermediate container 3f98a3653756 [2021-01-19T07:46:42.875Z] ---> 43d590d33777 [2021-01-19T07:46:42.875Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:46:42.875Z] ---> Running in a635c5859e99 [2021-01-19T07:46:42.990Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T07:46:43.137Z] Removing intermediate container a635c5859e99 [2021-01-19T07:46:43.137Z] ---> 0fec4ea9fd53 [2021-01-19T07:46:43.137Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T07:46:43.138Z] ---> Running in 98d6b95b2d99 [2021-01-19T07:46:43.444Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T07:46:43.801Z] + true [2021-01-19T07:46:43.801Z] + sudo service docker restart [2021-01-19T07:46:44.085Z] Removing intermediate container 98d6b95b2d99 [2021-01-19T07:46:44.085Z] ---> 563a4b322b28 [2021-01-19T07:46:44.085Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T07:46:44.085Z] ---> Running in d9884702bf97 [2021-01-19T07:46:44.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T07:46:45.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2021-01-19T07:46:45.816Z] OK: 166 MiB in 39 packages [Pipeline] wrap [2021-01-19T07:46:45.855Z] provisioning config files... [2021-01-19T07:46:45.896Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config1406721626953215384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:46:46.082Z] Removing intermediate container d9884702bf97 [2021-01-19T07:46:46.082Z] ---> 48904cdf923b [2021-01-19T07:46:46.082Z] Step 8/24 : COPY . . [2021-01-19T07:46:46.300Z] ---> docker-login.sh [2021-01-19T07:46:46.300Z] nexus3.edgexfoundry.org:10001 [2021-01-19T07:46:46.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:46:47.025Z] ---> 6841209552af [2021-01-19T07:46:47.026Z] Step 9/24 : RUN ${MAKE} [2021-01-19T07:46:47.287Z] ---> Running in 9cf7c1625551 [2021-01-19T07:46:47.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:46:47.504Z] Configure a credential helper to remove this warning. See [2021-01-19T07:46:47.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:46:47.504Z] [2021-01-19T07:46:47.504Z] Login Succeeded [2021-01-19T07:46:47.504Z] nexus3.edgexfoundry.org:10002 [2021-01-19T07:46:47.552Z] 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-19T07:46:47.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:46:48.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:46:48.056Z] Configure a credential helper to remove this warning. See [2021-01-19T07:46:48.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:46:48.056Z] [2021-01-19T07:46:48.056Z] Login Succeeded [2021-01-19T07:46:48.056Z] nexus3.edgexfoundry.org:10003 [2021-01-19T07:46:48.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:46:48.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:46:48.601Z] Configure a credential helper to remove this warning. See [2021-01-19T07:46:48.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:46:48.601Z] [2021-01-19T07:46:48.601Z] Login Succeeded [2021-01-19T07:46:48.601Z] nexus3.edgexfoundry.org:10004 [2021-01-19T07:46:48.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:46:48.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:46:48.879Z] Configure a credential helper to remove this warning. See [2021-01-19T07:46:48.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:46:48.879Z] [2021-01-19T07:46:48.879Z] Login Succeeded [2021-01-19T07:46:48.879Z] docker.io [2021-01-19T07:46:49.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:46:49.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:46:49.747Z] Configure a credential helper to remove this warning. See [2021-01-19T07:46:49.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:46:49.747Z] [2021-01-19T07:46:49.747Z] Login Succeeded [2021-01-19T07:46:49.747Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T07:46:49.763Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T07:46:50.199Z] ========================================================= [2021-01-19T07:46:50.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T07:46:50.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:46:50.608Z] + 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-19T07:46:50.888Z] Sending build context to Docker daemon 2.528MB [2021-01-19T07:46:50.888Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T07:46:50.888Z] Step 2/8 : FROM ${BASE} [2021-01-19T07:46:51.177Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T07:46:51.177Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T07:46:51.177Z] a4357932f1b6: Pulling fs layer [2021-01-19T07:46:51.177Z] 18c013af1878: Pulling fs layer [2021-01-19T07:46:51.177Z] 00ac8860ef70: Pulling fs layer [2021-01-19T07:46:51.177Z] 63d7cb157983: Pulling fs layer [2021-01-19T07:46:51.177Z] b116817d02f9: Pulling fs layer [2021-01-19T07:46:51.177Z] 745a02a5169b: Pulling fs layer [2021-01-19T07:46:51.177Z] 00ac8860ef70: Waiting [2021-01-19T07:46:51.177Z] 63d7cb157983: Waiting [2021-01-19T07:46:51.177Z] 745a02a5169b: Waiting [2021-01-19T07:46:51.177Z] b116817d02f9: Waiting [2021-01-19T07:46:51.177Z] 18c013af1878: Download complete [2021-01-19T07:46:51.177Z] a4357932f1b6: Verifying Checksum [2021-01-19T07:46:51.177Z] a4357932f1b6: Download complete [2021-01-19T07:46:51.177Z] 63d7cb157983: Verifying Checksum [2021-01-19T07:46:51.177Z] 63d7cb157983: Download complete [2021-01-19T07:46:51.778Z] b116817d02f9: Verifying Checksum [2021-01-19T07:46:51.778Z] b116817d02f9: Download complete [2021-01-19T07:46:51.778Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T07:46:51.778Z] 5f621e34cdf4: Download complete [2021-01-19T07:46:52.769Z] 5f621e34cdf4: Pull complete [2021-01-19T07:46:53.058Z] a4357932f1b6: Pull complete [2021-01-19T07:46:53.678Z] 18c013af1878: Pull complete [2021-01-19T07:46:54.661Z] 745a02a5169b: Verifying Checksum [2021-01-19T07:46:54.661Z] 745a02a5169b: Download complete [2021-01-19T07:46:55.644Z] 00ac8860ef70: Verifying Checksum [2021-01-19T07:46:55.644Z] 00ac8860ef70: Download complete [2021-01-19T07:46:57.661Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T07:46:58.608Z] Removing intermediate container 9cf7c1625551 [2021-01-19T07:46:58.608Z] ---> 4b11f1294f5f [2021-01-19T07:46:58.608Z] Step 10/24 : FROM scratch [2021-01-19T07:46:58.608Z] ---> [2021-01-19T07:46:58.608Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:46:58.608Z] ---> Running in eca38e0c296d [2021-01-19T07:46:58.608Z] Removing intermediate container eca38e0c296d [2021-01-19T07:46:58.608Z] ---> ed46e99c5f04 [2021-01-19T07:46:58.608Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T07:46:58.869Z] ---> Running in 37d761878c5b [2021-01-19T07:46:58.869Z] Removing intermediate container 37d761878c5b [2021-01-19T07:46:58.869Z] ---> 5b0c176b6be1 [2021-01-19T07:46:58.869Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T07:46:59.137Z] ---> Running in 2b81650aef08 [2021-01-19T07:46:59.137Z] Removing intermediate container 2b81650aef08 [2021-01-19T07:46:59.137Z] ---> c09ac0ddeb3d [2021-01-19T07:46:59.137Z] Step 14/24 : WORKDIR / [2021-01-19T07:46:59.137Z] ---> Running in e28d6487f9db [2021-01-19T07:46:59.400Z] Removing intermediate container e28d6487f9db [2021-01-19T07:46:59.400Z] ---> 8e646c32021e [2021-01-19T07:46:59.400Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T07:46:59.973Z] ---> 5050e18e6a84 [2021-01-19T07:46:59.973Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T07:46:59.973Z] ---> a8de7425b5cc [2021-01-19T07:46:59.973Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T07:47:00.240Z] ---> bdc419e3b9ec [2021-01-19T07:47:00.240Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T07:47:00.502Z] ---> 88a12557aad5 [2021-01-19T07:47:00.502Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T07:47:00.764Z] ---> 6cc9f766c55a [2021-01-19T07:47:00.764Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T07:47:00.764Z] ---> Running in e2d157423e50 [2021-01-19T07:47:01.026Z] Removing intermediate container e2d157423e50 [2021-01-19T07:47:01.026Z] ---> 0c8316c01d22 [2021-01-19T07:47:01.026Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T07:47:01.026Z] ---> Running in cd6171ca076c [2021-01-19T07:47:01.289Z] Removing intermediate container cd6171ca076c [2021-01-19T07:47:01.289Z] ---> 240ceb3ff0c5 [2021-01-19T07:47:01.289Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T07:47:01.289Z] ---> Running in 5051506d27f0 [2021-01-19T07:47:01.551Z] Removing intermediate container 5051506d27f0 [2021-01-19T07:47:01.551Z] ---> e524ec67c8f8 [2021-01-19T07:47:01.551Z] Step 23/24 : LABEL git_sha=54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:47:01.551Z] ---> Running in 6784d0710396 [2021-01-19T07:47:01.820Z] Removing intermediate container 6784d0710396 [2021-01-19T07:47:01.820Z] ---> 66fbab27510e [2021-01-19T07:47:01.820Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T07:47:01.820Z] ---> Running in 8dc62512df62 [2021-01-19T07:47:02.086Z] Removing intermediate container 8dc62512df62 [2021-01-19T07:47:02.086Z] ---> 673678b0143f [2021-01-19T07:47:02.086Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T07:47:02.086Z] Successfully built 673678b0143f [2021-01-19T07:47:02.086Z] 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-19T07:47:05.827Z] 00ac8860ef70: Pull complete [2021-01-19T07:47:05.827Z] 63d7cb157983: Pull complete [2021-01-19T07:47:06.100Z] b116817d02f9: Pull complete [2021-01-19T07:47:09.489Z] 745a02a5169b: Pull complete [2021-01-19T07:47:09.489Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T07:47:09.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T07:47:09.762Z] ---> b7e6874047d6 [2021-01-19T07:47:09.762Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:47:12.384Z] ---> Running in d729e7bf488e [2021-01-19T07:47:12.978Z] Removing intermediate container d729e7bf488e [2021-01-19T07:47:12.978Z] ---> f9307e9b7ead [2021-01-19T07:47:12.978Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T07:47:12.978Z] ---> Running in 6e71641793c6 [2021-01-19T07:47:15.621Z] Removing intermediate container 6e71641793c6 [2021-01-19T07:47:15.621Z] ---> 45a2b2344da2 [2021-01-19T07:47:15.621Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T07:47:15.621Z] ---> Running in 604755e32304 [2021-01-19T07:47:16.602Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T07:47:17.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T07:47:18.173Z] OK: 142 MiB in 39 packages [2021-01-19T07:47:19.155Z] Removing intermediate container 604755e32304 [2021-01-19T07:47:19.155Z] ---> 724011c42e48 [2021-01-19T07:47:19.155Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T07:47:19.429Z] ---> Running in 5fc969d26eaf [2021-01-19T07:47:20.024Z] Removing intermediate container 5fc969d26eaf [2021-01-19T07:47:20.024Z] ---> 736f11fcabff [2021-01-19T07:47:20.024Z] Step 7/8 : COPY . . [2021-01-19T07:47:21.457Z] ---> 90f4e7ea0b7e [2021-01-19T07:47:21.457Z] Step 8/8 : RUN go mod download [2021-01-19T07:47:21.457Z] ---> Running in d50a3f6fcd60 [2021-01-19T07:47:43.616Z] Removing intermediate container d50a3f6fcd60 [2021-01-19T07:47:43.616Z] ---> 4d99c4d8e7aa [2021-01-19T07:47:43.616Z] Successfully built 4d99c4d8e7aa [2021-01-19T07:47:43.616Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:47:43.950Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T07:47:43.950Z] . [Pipeline] withDockerContainer [2021-01-19T07:47:44.177Z] prd-ubuntu18.04-docker-arm64-4c-16g-21163 does not seem to be running inside a container [2021-01-19T07:47:44.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-19T07:47:45.642Z] $ docker top 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T07:47:46.695Z] + go version [2021-01-19T07:47:46.695Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T07:47:46.714Z] $ docker stop --time=1 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 [2021-01-19T07:47:48.614Z] $ docker rm -f 30f5be7e7bf926f9eaf6a132803c88ad98584caebfa1722130f87fcb211e9cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:47:49.688Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T07:47:49.688Z] . [Pipeline] withDockerContainer [2021-01-19T07:47:49.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-21163 does not seem to be running inside a container [2021-01-19T07:47:50.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-19T07:47:51.667Z] $ docker top f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T07:47:52.695Z] + make test [2021-01-19T07:47:52.695Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T07:48:14.880Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T07:48:53.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T07:48:53.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T07:48:53.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T07:48:53.918Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements [2021-01-19T07:48:59.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.182s coverage: 97.1% of statements [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.157s coverage: 9.4% of statements [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.114s coverage: 21.7% of statements [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.584s coverage: 43.2% of statements [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.774s coverage: 68.9% of statements [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 53.8% of statements [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.165s coverage: 26.8% of statements [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.870s coverage: 68.9% of statements [2021-01-19T07:49:26.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements [2021-01-19T07:49:26.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T07:49:26.465Z] GO111MODULE=on go vet ./... [2021-01-19T07:50:05.538Z] gofmt -l . [2021-01-19T07:50:05.538Z] [ "`gofmt -l .`" = "" ] [2021-01-19T07:50:05.538Z] ./bin/test-attribution-txt.sh [2021-01-19T07:50:05.538Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T07:50:05.553Z] $ docker stop --time=1 f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 [2021-01-19T07:50:07.841Z] $ docker rm -f f604f26d02af2cbbd4a551b639b5dc1aa871012f4313f74d2f1d49988fc3f775 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T07:50:08.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T07:50:09.008Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T07:50:10.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T07:50:10.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T07:50:11.228Z] + ls -al . [2021-01-19T07:50:11.229Z] total 260 [2021-01-19T07:50:11.229Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 07:50 . [2021-01-19T07:50:11.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 .. [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 07:46 .dockerignore [2021-01-19T07:50:11.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 07:46 .git [2021-01-19T07:50:11.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:46 .github [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 07:46 .gitignore [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 07:46 Dockerfile.build [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 07:46 Jenkinsfile [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 07:46 LICENSE [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 07:46 Makefile [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 07:46 README.md [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 07:46 RELEASE-NOTES.txt [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 07:43 VERSION [2021-01-19T07:50:11.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:46 bin [2021-01-19T07:50:11.229Z] -rw-r--r-- 1 jenkins jenkins 143471 Jan 19 07:49 coverage.out [2021-01-19T07:50:11.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 example [2021-01-19T07:50:11.229Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 07:50 go.mod [2021-01-19T07:50:11.229Z] -rw-r--r-- 1 jenkins jenkins 14214 Jan 19 07:50 go.sum [2021-01-19T07:50:11.229Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 07:46 internal [2021-01-19T07:50:11.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 openapi [2021-01-19T07:50:11.229Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 07:46 pkg [2021-01-19T07:50:11.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:46 snap [2021-01-19T07:50:11.229Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 07:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:50:11.586Z] + 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=54037e6807a9ac14c6e293b6fbd3afd97b7115bb --label arch=arm64 --label version=0.0.0 . [2021-01-19T07:50:12.245Z] Sending build context to Docker daemon 2.673MB [2021-01-19T07:50:12.245Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T07:50:12.245Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T07:50:12.245Z] ---> 4d99c4d8e7aa [2021-01-19T07:50:12.245Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T07:50:12.561Z] ---> Running in 072435d15cb3 [2021-01-19T07:50:12.853Z] Removing intermediate container 072435d15cb3 [2021-01-19T07:50:12.853Z] ---> 07d7a3f88bba [2021-01-19T07:50:12.853Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T07:50:13.128Z] ---> Running in 866a06e1bd81 [2021-01-19T07:50:13.416Z] Removing intermediate container 866a06e1bd81 [2021-01-19T07:50:13.416Z] ---> c342f9f75594 [2021-01-19T07:50:13.416Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:50:13.694Z] ---> Running in 21bc169806d7 [2021-01-19T07:50:13.967Z] Removing intermediate container 21bc169806d7 [2021-01-19T07:50:13.967Z] ---> fe4a9d6f89fe [2021-01-19T07:50:13.967Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T07:50:14.255Z] ---> Running in f484b240c234 [2021-01-19T07:50:16.226Z] Removing intermediate container f484b240c234 [2021-01-19T07:50:16.226Z] ---> d5dd942f19c3 [2021-01-19T07:50:16.226Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T07:50:16.509Z] ---> Running in 34158ef54b06 [2021-01-19T07:50:17.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T07:50:18.464Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T07:50:19.445Z] OK: 142 MiB in 39 packages [2021-01-19T07:50:20.422Z] Removing intermediate container 34158ef54b06 [2021-01-19T07:50:20.422Z] ---> 6635b183dea0 [2021-01-19T07:50:20.422Z] Step 8/24 : COPY . . [2021-01-19T07:50:21.852Z] ---> add5c06c0883 [2021-01-19T07:50:21.852Z] Step 9/24 : RUN ${MAKE} [2021-01-19T07:50:21.852Z] ---> Running in 865e837ed019 [2021-01-19T07:50:22.834Z] 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-19T07:50:49.667Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T07:50:49.940Z] Removing intermediate container 865e837ed019 [2021-01-19T07:50:49.940Z] ---> 031c018fd17a [2021-01-19T07:50:49.940Z] Step 10/24 : FROM scratch [2021-01-19T07:50:49.940Z] ---> [2021-01-19T07:50:49.940Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T07:50:50.215Z] ---> Running in f9c20c03b510 [2021-01-19T07:50:50.489Z] Removing intermediate container f9c20c03b510 [2021-01-19T07:50:50.489Z] ---> d92e3950bac1 [2021-01-19T07:50:50.489Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T07:50:50.763Z] ---> Running in a8a4a137fc82 [2021-01-19T07:50:51.034Z] Removing intermediate container a8a4a137fc82 [2021-01-19T07:50:51.034Z] ---> 09673d143009 [2021-01-19T07:50:51.034Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T07:50:51.306Z] ---> Running in 0d57f58d1130 [2021-01-19T07:50:51.577Z] Removing intermediate container 0d57f58d1130 [2021-01-19T07:50:51.577Z] ---> f55d394c97ba [2021-01-19T07:50:51.577Z] Step 14/24 : WORKDIR / [2021-01-19T07:50:51.577Z] ---> Running in 6269267466e0 [2021-01-19T07:50:52.174Z] Removing intermediate container 6269267466e0 [2021-01-19T07:50:52.174Z] ---> 148c94e7622b [2021-01-19T07:50:52.174Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T07:50:53.155Z] ---> dafa3dcbcef3 [2021-01-19T07:50:53.155Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T07:50:54.137Z] ---> 7fa666a32e26 [2021-01-19T07:50:54.137Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T07:50:54.733Z] ---> 763784ac4e76 [2021-01-19T07:50:54.733Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T07:50:55.332Z] ---> 80f3e28bfbd4 [2021-01-19T07:50:55.332Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T07:50:56.308Z] ---> 40670cd5207a [2021-01-19T07:50:56.308Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T07:50:56.308Z] ---> Running in d4d87e914a64 [2021-01-19T07:50:56.914Z] Removing intermediate container d4d87e914a64 [2021-01-19T07:50:56.914Z] ---> 5940883997ce [2021-01-19T07:50:56.914Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T07:50:56.914Z] ---> Running in ea164e90efe6 [2021-01-19T07:50:57.511Z] Removing intermediate container ea164e90efe6 [2021-01-19T07:50:57.511Z] ---> 6ed8a53637d9 [2021-01-19T07:50:57.511Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T07:50:57.511Z] ---> Running in ce406b1a1233 [2021-01-19T07:50:58.107Z] Removing intermediate container ce406b1a1233 [2021-01-19T07:50:58.107Z] ---> b4c25e94cdf8 [2021-01-19T07:50:58.107Z] Step 23/24 : LABEL git_sha=54037e6807a9ac14c6e293b6fbd3afd97b7115bb [2021-01-19T07:50:58.107Z] ---> Running in 9e6b1f99a8ff [2021-01-19T07:50:58.700Z] Removing intermediate container 9e6b1f99a8ff [2021-01-19T07:50:58.700Z] ---> abf24e0f0bad [2021-01-19T07:50:58.700Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T07:50:58.700Z] ---> Running in e429ccf33258 [2021-01-19T07:50:59.292Z] Removing intermediate container e429ccf33258 [2021-01-19T07:50:59.292Z] ---> 950512cdc5b9 [2021-01-19T07:50:59.292Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T07:50:59.292Z] Successfully built 950512cdc5b9 [2021-01-19T07:50:59.292Z] 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-19T07:51:00.840Z] provisioning config files... [2021-01-19T07:51:00.853Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config8402650959652662707tmp [Pipeline] { [Pipeline] sh [2021-01-19T07:51:01.229Z] + set +x [2021-01-19T07:51:01.229Z] + curl -s https://codecov.io/bash [2021-01-19T07:51:01.229Z] + bash -s -- [2021-01-19T07:51:01.496Z] [2021-01-19T07:51:01.496Z] _____ _ [2021-01-19T07:51:01.496Z] / ____| | | [2021-01-19T07:51:01.496Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T07:51:01.496Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T07:51:01.496Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T07:51:01.496Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T07:51:01.496Z] Bash-20210115-cec3c92 [2021-01-19T07:51:01.496Z] [2021-01-19T07:51:01.496Z] [2021-01-19T07:51:01.496Z] ==> git version 2.24.3 found [2021-01-19T07:51:01.496Z] ==> 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-19T07:51:01.496Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T07:51:01.496Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T07:51:01.496Z] ==> Jenkins CI detected. [2021-01-19T07:51:01.496Z] project root: . [2021-01-19T07:51:01.496Z] --> token set from env [2021-01-19T07:51:01.496Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T07:51:01.496Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T07:51:01.496Z] ==> Python coveragepy not found [2021-01-19T07:51:01.496Z] ==> Searching for coverage reports in: [2021-01-19T07:51:01.496Z] + . [2021-01-19T07:51:01.496Z] -> Found 1 reports [2021-01-19T07:51:01.496Z] ==> Detecting git/mercurial file structure [2021-01-19T07:51:01.496Z] ==> Reading reports [2021-01-19T07:51:01.496Z] + ./coverage.out bytes=143471 [2021-01-19T07:51:01.496Z] ==> Appending adjustments [2021-01-19T07:51:01.496Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T07:51:02.071Z] + Found adjustments [2021-01-19T07:51:02.071Z] ==> Gzipping contents [2021-01-19T07:51:02.071Z] 24K /tmp/codecov.3mtUHB.gz [2021-01-19T07:51:02.071Z] ==> Uploading reports [2021-01-19T07:51:02.071Z] url: https://codecov.io [2021-01-19T07:51:02.071Z] query: branch=PR-728&commit=54037e6807a9ac14c6e293b6fbd3afd97b7115bb&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-19T07:51:02.071Z] -> Pinging Codecov [2021-01-19T07:51:02.071Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=54037e6807a9ac14c6e293b6fbd3afd97b7115bb&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= [2021-01-19T07:51:02.650Z] -> Uploading to [2021-01-19T07:51:02.650Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/54037e6807a9ac14c6e293b6fbd3afd97b7115bb/41e55f37-e52d-470d-b7ed-78d2e2a24216.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T075102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=003514edaa1f7400afbba5f4e1b04fd70a1c9d76a770471c78843223146ff358 [2021-01-19T07:51:02.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T07:51:02.650Z] Dload Upload Total Spent Left Speed [2021-01-19T07:51:03.176Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22227 0 0 100 22227 0 54575 --:--:-- --:--:-- --:--:-- 54477 [2021-01-19T07:51:03.176Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/54037e6807a9ac14c6e293b6fbd3afd97b7115bb [Pipeline] } [2021-01-19T07:51:03.185Z] 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-19T07:51:05.790Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:06.098Z] ---> package-listing.sh [2021-01-19T07:51:06.098Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T07:51:06.098Z] ++ facter osfamily [2021-01-19T07:51:06.098Z] + OS_FAMILY=redhat [2021-01-19T07:51:06.098Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 [2021-01-19T07:51:06.098Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T07:51:06.098Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T07:51:06.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T07:51:06.098Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T07:51:06.098Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-19T07:51:06.098Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T07:51:06.098Z] + case "${OS_FAMILY}" in [2021-01-19T07:51:06.098Z] + rpm -qa [2021-01-19T07:51:06.098Z] + sort [2021-01-19T07:51:11.406Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T07:51:11.406Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T07:51:11.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T07:51:11.406Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' [2021-01-19T07:51:11.406Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [2021-01-19T07:51:11.406Z] + 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-19T07:51:11.420Z] 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-19T07:51:11.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:51:12.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T07:51:12.024Z] [2021-01-19T07:51:12.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:51:12.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T07:51:12.381Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T07:51:12.381Z] df20fa9351a1: Pulling fs layer [2021-01-19T07:51:12.381Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T07:51:12.381Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T07:51:12.381Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T07:51:12.381Z] 93b61091891f: Pulling fs layer [2021-01-19T07:51:12.381Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T07:51:12.381Z] 5e14af77c1be: Pulling fs layer [2021-01-19T07:51:12.381Z] 01666e4c0597: Pulling fs layer [2021-01-19T07:51:12.381Z] aa168da1d23b: Pulling fs layer [2021-01-19T07:51:12.381Z] 46f8f816bc3b: Waiting [2021-01-19T07:51:12.381Z] 93b61091891f: Waiting [2021-01-19T07:51:12.381Z] 93b9cdb0e59b: Waiting [2021-01-19T07:51:12.381Z] 5e14af77c1be: Waiting [2021-01-19T07:51:12.381Z] 01666e4c0597: Waiting [2021-01-19T07:51:12.381Z] aa168da1d23b: Waiting [2021-01-19T07:51:12.381Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T07:51:12.381Z] 36b3adc4ff6f: Download complete [2021-01-19T07:51:12.381Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T07:51:12.381Z] 46f8f816bc3b: Download complete [2021-01-19T07:51:12.649Z] df20fa9351a1: Verifying Checksum [2021-01-19T07:51:12.649Z] df20fa9351a1: Download complete [2021-01-19T07:51:12.649Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T07:51:12.649Z] 93b9cdb0e59b: Download complete [2021-01-19T07:51:12.649Z] 5e14af77c1be: Verifying Checksum [2021-01-19T07:51:12.649Z] 5e14af77c1be: Download complete [2021-01-19T07:51:12.649Z] 93b61091891f: Download complete [2021-01-19T07:51:12.649Z] 01666e4c0597: Verifying Checksum [2021-01-19T07:51:12.649Z] 01666e4c0597: Download complete [2021-01-19T07:51:12.912Z] df20fa9351a1: Pull complete [2021-01-19T07:51:13.181Z] 36b3adc4ff6f: Pull complete [2021-01-19T07:51:13.181Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T07:51:13.181Z] 8ad3a11d3b57: Download complete [2021-01-19T07:51:14.158Z] 8ad3a11d3b57: Pull complete [2021-01-19T07:51:14.158Z] 46f8f816bc3b: Pull complete [2021-01-19T07:51:14.735Z] aa168da1d23b: Verifying Checksum [2021-01-19T07:51:14.735Z] aa168da1d23b: Download complete [2021-01-19T07:51:14.997Z] 93b61091891f: Pull complete [2021-01-19T07:51:14.997Z] 93b9cdb0e59b: Pull complete [2021-01-19T07:51:15.260Z] 5e14af77c1be: Pull complete [2021-01-19T07:51:15.260Z] 01666e4c0597: Pull complete [2021-01-19T07:51:23.455Z] aa168da1d23b: Pull complete [2021-01-19T07:51:23.455Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T07:51:23.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T07:51:23.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T07:51:23.679Z] prd-centos7-docker-4c-2g-21159 does not seem to be running inside a container [2021-01-19T07:51:23.729Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T07:51:26.862Z] $ docker top 21d30f226e6b6e106a5dfa704d7d2bd1b51e635a46b45f0e4115c5329aca264d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T07:51:27.382Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T07:51:27.698Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T07:51:28.013Z] + ls /var/log/sa-host [2021-01-19T07:51:28.013Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T07:51:28.013Z] file_magic: OK [2021-01-19T07:51:28.013Z] HZ: Using current value: 100 [2021-01-19T07:51:28.013Z] file_header: OK [2021-01-19T07:51:28.013Z] 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-19T07:51:28.013Z] Statistics: [2021-01-19T07:51:28.013Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T07:51:28.013Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T07:51:28.013Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T07:51:28.013Z] file_magic: OK [2021-01-19T07:51:28.013Z] HZ: Using current value: 100 [2021-01-19T07:51:28.013Z] file_header: OK [2021-01-19T07:51:28.013Z] 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-19T07:51:28.013Z] Statistics: [2021-01-19T07:51:28.013Z] Hnuu...uuuununununu... [2021-01-19T07:51:28.013Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T07:51:28.217Z] provisioning config files... [2021-01-19T07:51:28.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config1223968368336034006tmp [Pipeline] { [Pipeline] echo [2021-01-19T07:51:28.303Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:28.600Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T07:51:28.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T07:51:28.701Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:28.999Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T07:51:29.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:29.308Z] ---> sudo-logs.sh [2021-01-19T07:51:29.308Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T07:51:29.319Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:29.621Z] ---> job-cost.sh [2021-01-19T07:51:29.621Z] lf-activate-venv: SKIPPING [2021-01-19T07:51:29.621Z] INFO: No Stack... [2021-01-19T07:51:30.580Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T07:51:31.154Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T07:51:31.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:51:31.466Z] ---> logs-deploy.sh [2021-01-19T07:51:31.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/8 [2021-01-19T07:51:31.466Z] INFO: archiving workspace using pattern(s): [2021-01-19T07:51:33.390Z] Archives upload complete. [2021-01-19T07:51:33.390Z] INFO: archiving logs to Nexus