Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 431e6fd2fa79ac37559238e44c4086dd7f3de7f4+3aea893206dfece0cb943228d650ae216607898f (132767d088063b37608dc38f19320515c516c448) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24256’ is offline Running on prd-centos7-docker-4c-2g-24258 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [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-766 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 Merge succeeded, producing 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 Checking out Revision 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 (PR-766) > git config core.sparsecheckout # timeout=10 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # 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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 # timeout=10 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" > git rev-list --no-walk 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T02:41:40.949Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T02:41:41.403Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T02:41:41.506Z] ========================================================= [2021-02-01T02:41:41.506Z] EdgeX Global Pipelines Version Info [2021-02-01T02:41:41.506Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:41:43.006Z] ------------------- [2021-02-01T02:41:43.007Z] stable info: [2021-02-01T02:41:43.007Z] ------------------- [2021-02-01T02:41:43.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:41:43.007Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:41:43.007Z] Message: update stable to v1.0.179 [2021-02-01T02:41:43.955Z] ------------------- [2021-02-01T02:41:43.955Z] experimental info: [2021-02-01T02:41:43.955Z] ------------------- [2021-02-01T02:41:43.955Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:41:43.955Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:41:43.955Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T02:41:44.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T02:41:44.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T02:41:44.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T02:41:44.699Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T02:41:44.785Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T02:41:44.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T02:41:44.969Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T02:41:45.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T02:41:45.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T02:41:45.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T02:41:45.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T02:41:45.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-01T02:41:45.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T02:41:45.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T02:41:45.839Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T02:41:45.928Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:46.020Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:46.108Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:46.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T02:41:46.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T02:41:46.404Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T02:41:46.489Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T02:41:46.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T02:41:46.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T02:41:46.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T02:41:46.873Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T02:41:46.971Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T02:41:47.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-766 [Pipeline] echo [2021-02-01T02:41:47.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-766 [Pipeline] echo [2021-02-01T02:41:47.315Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-766 [Pipeline] echo [2021-02-01T02:41:47.399Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 [Pipeline] echo [2021-02-01T02:41:47.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b5d15d [Pipeline] echo [2021-02-01T02:41:47.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:41:47.769Z] provisioning config files... [2021-02-01T02:41:47.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config200990582259835429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:41:48.204Z] ---> docker-login.sh [2021-02-01T02:41:48.204Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:41:48.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:41:48.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:41:48.730Z] Configure a credential helper to remove this warning. See [2021-02-01T02:41:48.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:41:48.730Z] [2021-02-01T02:41:48.730Z] Login Succeeded [2021-02-01T02:41:48.730Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:41:48.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:41:48.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:41:48.730Z] Configure a credential helper to remove this warning. See [2021-02-01T02:41:48.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:41:48.730Z] [2021-02-01T02:41:48.730Z] Login Succeeded [2021-02-01T02:41:48.730Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:41:48.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:41:48.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:41:48.998Z] Configure a credential helper to remove this warning. See [2021-02-01T02:41:48.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:41:48.998Z] [2021-02-01T02:41:48.998Z] Login Succeeded [2021-02-01T02:41:48.998Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:41:49.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:41:49.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:41:49.261Z] Configure a credential helper to remove this warning. See [2021-02-01T02:41:49.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:41:49.261Z] [2021-02-01T02:41:49.261Z] Login Succeeded [2021-02-01T02:41:49.261Z] docker.io [2021-02-01T02:41:49.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:41:49.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:41:49.524Z] Configure a credential helper to remove this warning. See [2021-02-01T02:41:49.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:41:49.524Z] [2021-02-01T02:41:49.524Z] Login Succeeded [2021-02-01T02:41:49.524Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:41:49.535Z] 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-02-01T02:41:50.442Z] + git log --format=format:%s -1 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 [Pipeline] echo [2021-02-01T02:41:50.515Z] GIT_COMMIT: 5b5d15dd1e551118db1fbc2273ee4ae41a16dc92, Commit Message: Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD [Pipeline] echo [2021-02-01T02:41:50.570Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:41:51.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:41:51.277Z] [2021-02-01T02:41:51.277Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:41:51.648Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:41:51.648Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T02:41:51.648Z] 31603596830f: Pulling fs layer [2021-02-01T02:41:51.648Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T02:41:51.648Z] 6ca5941a6612: Pulling fs layer [2021-02-01T02:41:51.648Z] ecc8261a40a4: Pulling fs layer [2021-02-01T02:41:51.648Z] ecc8261a40a4: Waiting [2021-02-01T02:41:51.648Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T02:41:51.648Z] 2a8b12db71e7: Download complete [2021-02-01T02:41:51.648Z] 31603596830f: Verifying Checksum [2021-02-01T02:41:51.648Z] 31603596830f: Download complete [2021-02-01T02:41:51.916Z] ecc8261a40a4: Verifying Checksum [2021-02-01T02:41:51.916Z] ecc8261a40a4: Download complete [2021-02-01T02:41:52.184Z] 31603596830f: Pull complete [2021-02-01T02:41:52.184Z] 6ca5941a6612: Verifying Checksum [2021-02-01T02:41:52.184Z] 6ca5941a6612: Download complete [2021-02-01T02:41:52.184Z] 2a8b12db71e7: Pull complete [2021-02-01T02:41:53.134Z] 6ca5941a6612: Pull complete [2021-02-01T02:41:53.400Z] ecc8261a40a4: Pull complete [2021-02-01T02:41:53.400Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T02:41:53.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:41:53.400Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T02:41:53.502Z] prd-centos7-docker-4c-2g-24258 does not seem to be running inside a container [2021-02-01T02:41:53.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-766 -v /w/workspace/dgexfoundry_device-sdk-go_PR-766:/w/workspace/dgexfoundry_device-sdk-go_PR-766:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T02:41:55.633Z] $ docker top 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T02:41:55.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:41:55.919Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:41:56.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:41:56.155Z] $ docker exec 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 ssh-agent [2021-02-01T02:41:56.326Z] SSH_AUTH_SOCK=/tmp/ssh-eYruBJrOykmL/agent.12 [2021-02-01T02:41:56.326Z] SSH_AGENT_PID=18 [2021-02-01T02:41:56.337Z] Running ssh-add (command line suppressed) [2021-02-01T02:41:56.461Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_3602371036689338192.key (/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_3602371036689338192.key) [2021-02-01T02:41:56.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:41:56.851Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T02:41:56.883Z] $ docker exec --env ******** --env ******** 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 ssh-agent -k [2021-02-01T02:41:57.000Z] unset SSH_AUTH_SOCK; [2021-02-01T02:41:57.001Z] unset SSH_AGENT_PID; [2021-02-01T02:41:57.001Z] echo Agent pid 18 killed; [2021-02-01T02:41:57.048Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T02:41:57.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:41:57.175Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:41:57.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:41:57.349Z] $ docker exec 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 ssh-agent [2021-02-01T02:41:57.508Z] SSH_AUTH_SOCK=/tmp/ssh-Cy5u543qa7o6/agent.48 [2021-02-01T02:41:57.508Z] SSH_AGENT_PID=53 [2021-02-01T02:41:57.515Z] Running ssh-add (command line suppressed) [2021-02-01T02:41:57.635Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_378697680759438116.key (/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_378697680759438116.key) [2021-02-01T02:41:57.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:41:58.161Z] + git semver init [2021-02-01T02:41:58.161Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T02:41:58.161Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-766/.git [2021-02-01T02:41:58.161Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-766 [2021-02-01T02:41:58.162Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T02:41:58.162Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T02:41:58.162Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T02:41:58.162Z] # $SEMVER_BRANCH = PR-766 [2021-02-01T02:41:58.162Z] # $SEMVER_TEMP = /tmp/semver-524849134 [2021-02-01T02:41:58.162Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T02:41:58.738Z] # '/tmp/semver-524849134' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-766/.semver' [2021-02-01T02:41:59.003Z] # -> Force: false [2021-02-01T02:41:59.003Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-766/.semver [Pipeline] } [2021-02-01T02:41:59.018Z] $ docker exec --env ******** --env ******** 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 ssh-agent -k [2021-02-01T02:41:59.140Z] unset SSH_AUTH_SOCK; [2021-02-01T02:41:59.140Z] unset SSH_AGENT_PID; [2021-02-01T02:41:59.140Z] echo Agent pid 53 killed; [2021-02-01T02:41:59.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T02:41:59.645Z] + git semver [Pipeline] } [2021-02-01T02:41:59.663Z] $ docker stop --time=1 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 [2021-02-01T02:42:01.038Z] $ docker rm -f 8732f92feae4cf58cbf4f94a75566d22305f6ca50f0984a7110d876e1ad2af37 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:42:01.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T02:42:01.970Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T02:42:01.974Z] [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-02-01T02:42:17.580Z] Still waiting to schedule task [2021-02-01T02:42:17.580Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24255’ is offline; ‘prd-centos7-docker-4c-2g-24260’ is offline [2021-02-01T02:42:17.583Z] Still waiting to schedule task [2021-02-01T02:42:17.584Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24257’ [2021-02-01T02:43:18.921Z] Running on prd-centos7-docker-4c-2g-24262 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [Pipeline] { [Pipeline] ws [2021-02-01T02:43:18.981Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-01T02:43:21.410Z] using credential edgex-jenkins-ssh [2021-02-01T02:43:21.474Z] Cloning the remote Git repository [2021-02-01T02:43:21.506Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:21.590Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-01T02:43:21.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:21.657Z] > git --version # timeout=10 [2021-02-01T02:43:21.664Z] > git --version # 'git version 2.24.3' [2021-02-01T02:43:21.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:21.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:43:22.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:43:22.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:43:22.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:43:22.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:22.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:22.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:43:22.813Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 [2021-02-01T02:43:22.971Z] Merge succeeded, producing f4bbcdfbd980d62c728b45a347e3c3a8b61398bd [2021-02-01T02:43:22.971Z] Checking out Revision f4bbcdfbd980d62c728b45a347e3c3a8b61398bd (PR-766) [2021-02-01T02:43:22.823Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:43:22.829Z] > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 [2021-02-01T02:43:22.901Z] > git remote # timeout=10 [2021-02-01T02:43:22.909Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:43:22.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:22.923Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:43:22.964Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:43:22.976Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:43:22.981Z] > git checkout -f f4bbcdfbd980d62c728b45a347e3c3a8b61398bd # timeout=10 [2021-02-01T02:43:26.899Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:43:26.904Z] > git rev-list --no-walk 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:43:28.238Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:43:28.580Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:43:28.883Z] + sudo service docker restart [2021-02-01T02:43:28.883Z] + true [2021-02-01T02:43:28.883Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:43:30.336Z] provisioning config files... [2021-02-01T02:43:30.361Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1509884093861005573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:43:30.807Z] ---> docker-login.sh [2021-02-01T02:43:30.807Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:43:31.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:31.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:31.069Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:31.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:31.069Z] [2021-02-01T02:43:31.069Z] Login Succeeded [2021-02-01T02:43:31.069Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:43:31.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:31.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:31.332Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:31.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:31.332Z] [2021-02-01T02:43:31.332Z] Login Succeeded [2021-02-01T02:43:31.332Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:43:31.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:31.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:31.594Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:31.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:31.594Z] [2021-02-01T02:43:31.594Z] Login Succeeded [2021-02-01T02:43:31.594Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:43:31.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:31.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:31.859Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:31.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:31.859Z] [2021-02-01T02:43:31.859Z] Login Succeeded [2021-02-01T02:43:31.859Z] docker.io [2021-02-01T02:43:31.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:32.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:32.121Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:32.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:32.121Z] [2021-02-01T02:43:32.121Z] Login Succeeded [2021-02-01T02:43:32.121Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:43:32.130Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:43:32.607Z] ========================================================= [2021-02-01T02:43:32.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T02:43:32.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:43:32.951Z] + 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-02-01T02:43:33.214Z] Sending build context to Docker daemon 2.497MB [2021-02-01T02:43:33.214Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:43:33.214Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:43:33.214Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T02:43:33.214Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T02:43:33.214Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T02:43:33.214Z] de9db76c5a1d: Pulling fs layer [2021-02-01T02:43:33.214Z] bca2f99d35d6: Pulling fs layer [2021-02-01T02:43:33.214Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T02:43:33.214Z] 7c6f9722023f: Pulling fs layer [2021-02-01T02:43:33.214Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T02:43:33.214Z] 93359f2a8cfa: Waiting [2021-02-01T02:43:33.214Z] 7c6f9722023f: Waiting [2021-02-01T02:43:33.214Z] a35cf1a2eb13: Waiting [2021-02-01T02:43:33.214Z] bca2f99d35d6: Waiting [2021-02-01T02:43:33.214Z] de9db76c5a1d: Verifying Checksum [2021-02-01T02:43:33.214Z] de9db76c5a1d: Download complete [2021-02-01T02:43:33.214Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T02:43:33.214Z] 0ef7d3d256c8: Download complete [2021-02-01T02:43:33.214Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T02:43:33.214Z] 93359f2a8cfa: Download complete [2021-02-01T02:43:33.214Z] 7c6f9722023f: Verifying Checksum [2021-02-01T02:43:33.214Z] 7c6f9722023f: Download complete [2021-02-01T02:43:33.214Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T02:43:33.214Z] 188c0c94c7c5: Download complete [2021-02-01T02:43:33.477Z] 188c0c94c7c5: Pull complete [2021-02-01T02:43:33.739Z] 0ef7d3d256c8: Pull complete [2021-02-01T02:43:33.739Z] de9db76c5a1d: Pull complete [2021-02-01T02:43:36.339Z] bca2f99d35d6: Download complete [2021-02-01T02:43:36.339Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T02:43:36.339Z] a35cf1a2eb13: Download complete [2021-02-01T02:43:43.063Z] bca2f99d35d6: Pull complete [2021-02-01T02:43:43.063Z] 93359f2a8cfa: Pull complete [2021-02-01T02:43:43.063Z] 7c6f9722023f: Pull complete [2021-02-01T02:43:47.335Z] a35cf1a2eb13: Pull complete [2021-02-01T02:43:47.335Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T02:43:47.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T02:43:47.335Z] ---> a62c8e92a672 [2021-02-01T02:43:47.335Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:43:47.335Z] ---> Running in 24f956e0ed6c [2021-02-01T02:43:47.335Z] Removing intermediate container 24f956e0ed6c [2021-02-01T02:43:47.335Z] ---> f7fdf677e4c2 [2021-02-01T02:43:47.335Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:43:47.335Z] ---> Running in 02e962ee8c02 [2021-02-01T02:43:48.781Z] Removing intermediate container 02e962ee8c02 [2021-02-01T02:43:48.781Z] ---> 1d88ed6ed3b2 [2021-02-01T02:43:48.781Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:43:48.781Z] ---> Running in 3e0ef1b91289 [2021-02-01T02:43:50.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:43:50.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:43:51.722Z] OK: 166 MiB in 39 packages [2021-02-01T02:43:51.987Z] Removing intermediate container 3e0ef1b91289 [2021-02-01T02:43:51.987Z] ---> 4474294817c0 [2021-02-01T02:43:51.987Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:43:51.987Z] ---> Running in e52e3c399f8a [2021-02-01T02:43:52.250Z] Removing intermediate container e52e3c399f8a [2021-02-01T02:43:52.250Z] ---> aaa2053c7b65 [2021-02-01T02:43:52.250Z] Step 7/8 : COPY . . [2021-02-01T02:43:53.650Z] ---> 7dfcd74979f9 [2021-02-01T02:43:53.650Z] Step 8/8 : RUN go mod download [2021-02-01T02:43:53.650Z] ---> Running in 5f8ad53efcc1 [2021-02-01T02:44:11.837Z] Removing intermediate container 5f8ad53efcc1 [2021-02-01T02:44:11.837Z] ---> 8ab31918ef7d [2021-02-01T02:44:11.837Z] Successfully built 8ab31918ef7d [2021-02-01T02:44:12.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:44:12.429Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:44:12.429Z] . [Pipeline] withDockerContainer [2021-02-01T02:44:12.543Z] prd-centos7-docker-4c-2g-24262 does not seem to be running inside a container [2021-02-01T02:44:12.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat [2021-02-01T02:44:13.498Z] $ docker top 2f4bc75512b88bed75f9b73a67c9a1a954b4cc77e4579e3c231f83df4d50484a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:44:13.999Z] + go version [2021-02-01T02:44:13.999Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T02:44:14.020Z] $ docker stop --time=1 2f4bc75512b88bed75f9b73a67c9a1a954b4cc77e4579e3c231f83df4d50484a [2021-02-01T02:44:15.377Z] $ docker rm -f 2f4bc75512b88bed75f9b73a67c9a1a954b4cc77e4579e3c231f83df4d50484a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:44:16.272Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:44:16.272Z] . [Pipeline] withDockerContainer [2021-02-01T02:44:16.373Z] prd-centos7-docker-4c-2g-24262 does not seem to be running inside a container [2021-02-01T02:44:16.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat [2021-02-01T02:44:17.127Z] $ docker top 16867af9ca6d0c3a64cb22d581c5d87295c5b280e2231339be3704cfddbed94b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:44:17.675Z] + make test [2021-02-01T02:44:17.676Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:44:26.396Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:44:41.462Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:44:41.462Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:44:41.462Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:44:41.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 19.4% of statements [2021-02-01T02:44:43.471Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.509s coverage: 97.1% of statements [2021-02-01T02:44:56.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24265 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [Pipeline] { [Pipeline] ws [2021-02-01T02:44:56.776Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-02-01T02:45:03.386Z] using credential edgex-jenkins-ssh [2021-02-01T02:45:03.442Z] Cloning the remote Git repository [2021-02-01T02:45:03.512Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:03.639Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-02-01T02:45:03.727Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:03.728Z] > git --version # timeout=10 [2021-02-01T02:45:03.747Z] > git --version # 'git version 2.17.1' [2021-02-01T02:45:03.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:03.821Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:05.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:05.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:05.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:05.972Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:05.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:05.988Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:45:06.478Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 [2021-02-01T02:45:07.007Z] Merge succeeded, producing 18601f2825a3b21e637a40a11bc19055cc946c25 [2021-02-01T02:45:07.007Z] Checking out Revision 18601f2825a3b21e637a40a11bc19055cc946c25 (PR-766) [2021-02-01T02:45:06.504Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:06.521Z] > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 [2021-02-01T02:45:06.721Z] > git remote # timeout=10 [2021-02-01T02:45:06.756Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:45:06.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:06.836Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:45:06.986Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:45:07.015Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:07.033Z] > git checkout -f 18601f2825a3b21e637a40a11bc19055cc946c25 # timeout=10 [2021-02-01T02:45:11.514Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:45:11.522Z] > git rev-list --no-walk 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:45:13.202Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:13.649Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:14.000Z] + sudo service docker restart [2021-02-01T02:45:14.000Z] + true [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.079s coverage: 9.4% of statements [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.227s coverage: 43.6% of statements [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.287s coverage: 68.9% of statements [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 25.2% of statements [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.504s coverage: 83.5% of statements [2021-02-01T02:45:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.2% of statements [2021-02-01T02:45:15.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:45:15.731Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:45:16.746Z] provisioning config files... [2021-02-01T02:45:16.787Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4329050730953054828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:45:17.212Z] ---> docker-login.sh [2021-02-01T02:45:17.212Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:45:18.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:18.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:18.477Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:18.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:18.477Z] [2021-02-01T02:45:18.477Z] Login Succeeded [2021-02-01T02:45:18.477Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:45:19.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:19.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:19.087Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:19.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:19.087Z] [2021-02-01T02:45:19.087Z] Login Succeeded [2021-02-01T02:45:19.087Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:45:19.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:19.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:19.650Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:19.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:19.650Z] [2021-02-01T02:45:19.650Z] Login Succeeded [2021-02-01T02:45:19.650Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:45:20.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:20.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:20.261Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:20.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:20.261Z] [2021-02-01T02:45:20.261Z] Login Succeeded [2021-02-01T02:45:20.262Z] docker.io [2021-02-01T02:45:20.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:21.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:21.145Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:21.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:21.146Z] [2021-02-01T02:45:21.146Z] Login Succeeded [2021-02-01T02:45:21.146Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:45:21.164Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:45:21.663Z] ========================================================= [2021-02-01T02:45:21.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T02:45:21.663Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:45:22.070Z] + 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-02-01T02:45:22.460Z] gofmt -l . [2021-02-01T02:45:22.460Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:45:22.460Z] ./bin/test-attribution-txt.sh [2021-02-01T02:45:22.698Z] Sending build context to Docker daemon 2.495MB [2021-02-01T02:45:22.698Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:45:22.698Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:45:22.698Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T02:45:22.698Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T02:45:22.698Z] a4357932f1b6: Pulling fs layer [2021-02-01T02:45:22.698Z] 18c013af1878: Pulling fs layer [2021-02-01T02:45:22.698Z] 00ac8860ef70: Pulling fs layer [2021-02-01T02:45:22.698Z] 63d7cb157983: Pulling fs layer [2021-02-01T02:45:22.698Z] b116817d02f9: Pulling fs layer [2021-02-01T02:45:22.698Z] 745a02a5169b: Pulling fs layer [2021-02-01T02:45:22.698Z] 00ac8860ef70: Waiting [2021-02-01T02:45:22.698Z] 745a02a5169b: Waiting [2021-02-01T02:45:22.698Z] b116817d02f9: Waiting [2021-02-01T02:45:22.698Z] 63d7cb157983: Waiting [2021-02-01T02:45:22.698Z] 18c013af1878: Verifying Checksum [2021-02-01T02:45:22.698Z] 18c013af1878: Download complete [2021-02-01T02:45:22.698Z] a4357932f1b6: Download complete [2021-02-01T02:45:22.698Z] 63d7cb157983: Verifying Checksum [2021-02-01T02:45:22.698Z] 63d7cb157983: Download complete [2021-02-01T02:45:22.698Z] b116817d02f9: Verifying Checksum [2021-02-01T02:45:22.698Z] b116817d02f9: Download complete [2021-02-01T02:45:23.050Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:45:23.069Z] $ docker stop --time=1 16867af9ca6d0c3a64cb22d581c5d87295c5b280e2231339be3704cfddbed94b [2021-02-01T02:45:23.707Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T02:45:23.707Z] 5f621e34cdf4: Download complete [2021-02-01T02:45:24.348Z] 5f621e34cdf4: Pull complete [2021-02-01T02:45:24.970Z] a4357932f1b6: Pull complete [2021-02-01T02:45:25.075Z] $ docker rm -f 16867af9ca6d0c3a64cb22d581c5d87295c5b280e2231339be3704cfddbed94b [2021-02-01T02:45:25.250Z] 18c013af1878: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:45:25.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:45:26.159Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-02-01T02:45:26.719Z] 745a02a5169b: Verifying Checksum [2021-02-01T02:45:26.719Z] 745a02a5169b: Download complete [Pipeline] sh [2021-02-01T02:45:27.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:45:27.654Z] + ls -al . [2021-02-01T02:45:27.654Z] total 216 [2021-02-01T02:45:27.654Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 02:45 . [2021-02-01T02:45:27.654Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 02:43 .. [2021-02-01T02:45:27.654Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 02:43 bin [2021-02-01T02:45:27.654Z] -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 02:45 coverage.out [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 02:43 Dockerfile.build [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 02:43 .dockerignore [2021-02-01T02:45:27.654Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 02:43 example [2021-02-01T02:45:27.654Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 02:43 .git [2021-02-01T02:45:27.654Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 02:43 .github [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 02:43 .gitignore [2021-02-01T02:45:27.654Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 1 02:45 go.mod [2021-02-01T02:45:27.654Z] -rw-r--r--. 1 jenkins jenkins 14193 Feb 1 02:45 go.sum [2021-02-01T02:45:27.654Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 02:43 internal [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 02:43 Jenkinsfile [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 02:43 LICENSE [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 02:43 Makefile [2021-02-01T02:45:27.654Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 02:43 openapi [2021-02-01T02:45:27.654Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 02:43 pkg [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 02:43 README.md [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 02:43 RELEASE-NOTES.txt [2021-02-01T02:45:27.654Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 02:43 snap [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:45:27.654Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:45:27.964Z] + 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=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 --label arch=amd64 --label version=0.0.0 . [2021-02-01T02:45:28.187Z] 00ac8860ef70: Verifying Checksum [2021-02-01T02:45:28.187Z] 00ac8860ef70: Download complete [2021-02-01T02:45:28.228Z] Sending build context to Docker daemon 2.635MB [2021-02-01T02:45:28.228Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:45:28.228Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:45:28.228Z] ---> 8ab31918ef7d [2021-02-01T02:45:28.228Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:45:28.803Z] ---> Running in dc65b6f2d241 [2021-02-01T02:45:28.803Z] Removing intermediate container dc65b6f2d241 [2021-02-01T02:45:28.803Z] ---> af6e3e2eec94 [2021-02-01T02:45:28.803Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:45:29.066Z] ---> Running in e96185aff5e5 [2021-02-01T02:45:29.066Z] Removing intermediate container e96185aff5e5 [2021-02-01T02:45:29.066Z] ---> 3bc30026460e [2021-02-01T02:45:29.066Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:29.066Z] ---> Running in 97c11a00feb5 [2021-02-01T02:45:29.329Z] Removing intermediate container 97c11a00feb5 [2021-02-01T02:45:29.329Z] ---> 9d4d9eaf572f [2021-02-01T02:45:29.329Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:45:29.329Z] ---> Running in 8cb8a48fef87 [2021-02-01T02:45:30.286Z] Removing intermediate container 8cb8a48fef87 [2021-02-01T02:45:30.286Z] ---> 9fb03e06b949 [2021-02-01T02:45:30.286Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:45:30.286Z] ---> Running in 919854f91792 [2021-02-01T02:45:30.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:31.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:32.761Z] OK: 166 MiB in 39 packages [2021-02-01T02:45:33.349Z] Removing intermediate container 919854f91792 [2021-02-01T02:45:33.349Z] ---> d84182f190a7 [2021-02-01T02:45:33.349Z] Step 8/24 : COPY . . [2021-02-01T02:45:34.321Z] ---> aa8ef130adf7 [2021-02-01T02:45:34.321Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:45:34.321Z] ---> Running in 289fa0d98fce [2021-02-01T02:45:34.917Z] 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-02-01T02:45:38.388Z] 00ac8860ef70: Pull complete [2021-02-01T02:45:38.388Z] 63d7cb157983: Pull complete [2021-02-01T02:45:38.388Z] b116817d02f9: Pull complete [2021-02-01T02:45:41.854Z] 745a02a5169b: Pull complete [2021-02-01T02:45:41.854Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T02:45:41.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T02:45:41.854Z] ---> b7e6874047d6 [2021-02-01T02:45:41.854Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:43.180Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:45:45.278Z] ---> Running in 11fe4eff7f26 [2021-02-01T02:45:45.576Z] Removing intermediate container 11fe4eff7f26 [2021-02-01T02:45:45.576Z] ---> 36fe48ef1250 [2021-02-01T02:45:45.576Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:45:45.576Z] ---> Running in c2cae919e1d1 [2021-02-01T02:45:45.763Z] Removing intermediate container 289fa0d98fce [2021-02-01T02:45:45.763Z] ---> 99ece4f11896 [2021-02-01T02:45:45.763Z] Step 10/24 : FROM scratch [2021-02-01T02:45:45.763Z] ---> [2021-02-01T02:45:45.763Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:45.763Z] ---> Running in 0871cd4384e4 [2021-02-01T02:45:45.763Z] Removing intermediate container 0871cd4384e4 [2021-02-01T02:45:45.763Z] ---> 1d2fd72413a1 [2021-02-01T02:45:45.763Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:45:45.763Z] ---> Running in 2ab1868035ed [2021-02-01T02:45:45.763Z] Removing intermediate container 2ab1868035ed [2021-02-01T02:45:45.763Z] ---> cc2e970cb172 [2021-02-01T02:45:45.763Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:45:45.763Z] ---> Running in 808830cf1498 [2021-02-01T02:45:46.027Z] Removing intermediate container 808830cf1498 [2021-02-01T02:45:46.027Z] ---> b2dff8f61149 [2021-02-01T02:45:46.027Z] Step 14/24 : WORKDIR / [2021-02-01T02:45:46.027Z] ---> Running in 443745d20895 [2021-02-01T02:45:46.291Z] Removing intermediate container 443745d20895 [2021-02-01T02:45:46.291Z] ---> ee2ee72aa6b3 [2021-02-01T02:45:46.291Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:45:46.865Z] ---> cb2678d58ef2 [2021-02-01T02:45:46.865Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:45:46.865Z] ---> bdf9a07b339e [2021-02-01T02:45:46.865Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:45:47.131Z] ---> 3dcda77fa658 [2021-02-01T02:45:47.131Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:45:47.395Z] ---> ec1a77d9b9fe [2021-02-01T02:45:47.395Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:45:47.658Z] ---> f3c8fc15b0f2 [2021-02-01T02:45:47.658Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:45:47.658Z] ---> Running in 0af7a90793b8 [2021-02-01T02:45:47.922Z] Removing intermediate container 0af7a90793b8 [2021-02-01T02:45:47.922Z] ---> 8f184078d4d9 [2021-02-01T02:45:47.922Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:45:47.922Z] ---> Running in 3f6bd6e812fd [2021-02-01T02:45:48.187Z] Removing intermediate container 3f6bd6e812fd [2021-02-01T02:45:48.187Z] ---> 39c439318f0d [2021-02-01T02:45:48.187Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T02:45:48.187Z] ---> Running in a711e0879852 [2021-02-01T02:45:48.219Z] Removing intermediate container c2cae919e1d1 [2021-02-01T02:45:48.219Z] ---> a1a80b21c2aa [2021-02-01T02:45:48.219Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:45:48.219Z] ---> Running in 8bdc4ad887fd [2021-02-01T02:45:48.448Z] Removing intermediate container a711e0879852 [2021-02-01T02:45:48.448Z] ---> bb884590fe41 [2021-02-01T02:45:48.449Z] Step 23/24 : LABEL git_sha=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 [2021-02-01T02:45:48.449Z] ---> Running in 462479f93680 [2021-02-01T02:45:48.719Z] Removing intermediate container 462479f93680 [2021-02-01T02:45:48.719Z] ---> 2df193fbdc5a [2021-02-01T02:45:48.719Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:45:48.719Z] ---> Running in 9381878a940b [2021-02-01T02:45:48.982Z] Removing intermediate container 9381878a940b [2021-02-01T02:45:48.982Z] ---> 3e161303e55a [2021-02-01T02:45:48.982Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:45:48.982Z] Successfully built 3e161303e55a [2021-02-01T02:45:48.982Z] 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] } [2021-02-01T02:45:49.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-01T02:45:50.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:45:52.639Z] OK: 142 MiB in 39 packages [2021-02-01T02:45:53.657Z] Removing intermediate container 8bdc4ad887fd [2021-02-01T02:45:53.657Z] ---> 25a4f6f9e628 [2021-02-01T02:45:53.657Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:45:53.657Z] ---> Running in 058af452c30f [2021-02-01T02:45:54.253Z] Removing intermediate container 058af452c30f [2021-02-01T02:45:54.253Z] ---> 06a4fb7aed5d [2021-02-01T02:45:54.253Z] Step 7/8 : COPY . . [2021-02-01T02:45:55.700Z] ---> f23a1232929f [2021-02-01T02:45:55.700Z] Step 8/8 : RUN go mod download [2021-02-01T02:45:55.700Z] ---> Running in 049dcbc6b405 [2021-02-01T02:46:17.881Z] Removing intermediate container 049dcbc6b405 [2021-02-01T02:46:17.881Z] ---> 7a8356754879 [2021-02-01T02:46:17.881Z] Successfully built 7a8356754879 [2021-02-01T02:46:18.153Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:18.497Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:46:18.497Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:18.780Z] prd-ubuntu18.04-docker-arm64-4c-16g-24265 does not seem to be running inside a container [2021-02-01T02:46:18.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-01T02:46:20.484Z] $ docker top c8935141d7c21b7453a25f61511c42f848cbb511ebeedcd428af0a2300db08cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:21.559Z] + go version [2021-02-01T02:46:21.559Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T02:46:21.578Z] $ docker stop --time=1 c8935141d7c21b7453a25f61511c42f848cbb511ebeedcd428af0a2300db08cc [2021-02-01T02:46:23.528Z] $ docker rm -f c8935141d7c21b7453a25f61511c42f848cbb511ebeedcd428af0a2300db08cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:24.633Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:46:24.633Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:24.883Z] prd-ubuntu18.04-docker-arm64-4c-16g-24265 does not seem to be running inside a container [2021-02-01T02:46:24.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-01T02:46:26.510Z] $ docker top 4a3b7ad19d246bdcefeedc5eccb3f315e75f57f25d49dc89a31b0b9effad2948 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:27.580Z] + make test [2021-02-01T02:46:27.580Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:46:49.778Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:47:36.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:47:36.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:47:36.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:47:36.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.175s coverage: 19.4% of statements [2021-02-01T02:47:38.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.541s coverage: 97.1% of statements [2021-02-01T02:48:11.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 9.4% of statements [2021-02-01T02:48:11.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 21.7% of statements [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.669s coverage: 43.6% of statements [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.809s coverage: 68.9% of statements [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 53.8% of statements [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.218s coverage: 25.2% of statements [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.391s coverage: 83.5% of statements [2021-02-01T02:48:11.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 4.2% of statements [2021-02-01T02:48:11.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:48:11.343Z] GO111MODULE=on go vet ./... [2021-02-01T02:48:50.401Z] gofmt -l . [2021-02-01T02:48:50.401Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:48:50.401Z] ./bin/test-attribution-txt.sh [2021-02-01T02:48:50.401Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:48:50.412Z] $ docker stop --time=1 4a3b7ad19d246bdcefeedc5eccb3f315e75f57f25d49dc89a31b0b9effad2948 [2021-02-01T02:48:52.685Z] $ docker rm -f 4a3b7ad19d246bdcefeedc5eccb3f315e75f57f25d49dc89a31b0b9effad2948 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:48:53.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:48:53.918Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T02:48:55.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:48:55.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:48:56.123Z] + ls -al . [2021-02-01T02:48:56.123Z] total 252 [2021-02-01T02:48:56.123Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 02:48 . [2021-02-01T02:48:56.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 .. [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 02:45 .dockerignore [2021-02-01T02:48:56.123Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 02:45 .git [2021-02-01T02:48:56.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 .github [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 02:45 .gitignore [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 02:45 Dockerfile.build [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 02:45 Jenkinsfile [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 02:45 LICENSE [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 02:45 Makefile [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 02:45 README.md [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 02:45 RELEASE-NOTES.txt [2021-02-01T02:48:56.123Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:48:56.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 bin [2021-02-01T02:48:56.123Z] -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 02:48 coverage.out [2021-02-01T02:48:56.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 example [2021-02-01T02:48:56.124Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 1 02:48 go.mod [2021-02-01T02:48:56.124Z] -rw-r--r-- 1 jenkins jenkins 14193 Feb 1 02:48 go.sum [2021-02-01T02:48:56.124Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 02:45 internal [2021-02-01T02:48:56.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 openapi [2021-02-01T02:48:56.124Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 02:45 pkg [2021-02-01T02:48:56.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 snap [2021-02-01T02:48:56.124Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:48:56.560Z] + 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=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 --label arch=arm64 --label version=0.0.0 . [2021-02-01T02:48:57.214Z] Sending build context to Docker daemon 2.634MB [2021-02-01T02:48:57.214Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:48:57.214Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:48:57.214Z] ---> 7a8356754879 [2021-02-01T02:48:57.214Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:48:57.497Z] ---> Running in 2d67d01af9eb [2021-02-01T02:48:58.116Z] Removing intermediate container 2d67d01af9eb [2021-02-01T02:48:58.116Z] ---> 12348145f72f [2021-02-01T02:48:58.116Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:48:58.116Z] ---> Running in 13f93921dd98 [2021-02-01T02:48:58.717Z] Removing intermediate container 13f93921dd98 [2021-02-01T02:48:58.717Z] ---> c03bd46f673e [2021-02-01T02:48:58.717Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:48:58.717Z] ---> Running in 3700c23e30f1 [2021-02-01T02:48:59.316Z] Removing intermediate container 3700c23e30f1 [2021-02-01T02:48:59.316Z] ---> 587a5189f31c [2021-02-01T02:48:59.316Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:48:59.590Z] ---> Running in 4cfec76f68d3 [2021-02-01T02:49:02.218Z] Removing intermediate container 4cfec76f68d3 [2021-02-01T02:49:02.218Z] ---> 8ef5c454f73e [2021-02-01T02:49:02.218Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:49:02.218Z] ---> Running in 18f894a55a42 [2021-02-01T02:49:03.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:04.182Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:05.164Z] OK: 142 MiB in 39 packages [2021-02-01T02:49:06.147Z] Removing intermediate container 18f894a55a42 [2021-02-01T02:49:06.147Z] ---> 41fb10fe1ddc [2021-02-01T02:49:06.147Z] Step 8/24 : COPY . . [2021-02-01T02:49:07.582Z] ---> 10498d88e76a [2021-02-01T02:49:07.582Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:49:07.858Z] ---> Running in 951c4ca8b616 [2021-02-01T02:49:08.842Z] 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-02-01T02:49:41.238Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:49:41.238Z] Removing intermediate container 951c4ca8b616 [2021-02-01T02:49:41.238Z] ---> 2d960eb8e1d2 [2021-02-01T02:49:41.238Z] Step 10/24 : FROM scratch [2021-02-01T02:49:41.238Z] ---> [2021-02-01T02:49:41.238Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:49:41.238Z] ---> Running in 96bd6bc76e4c [2021-02-01T02:49:41.238Z] Removing intermediate container 96bd6bc76e4c [2021-02-01T02:49:41.238Z] ---> 9df2707ad050 [2021-02-01T02:49:41.238Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:49:41.238Z] ---> Running in d872cf531e09 [2021-02-01T02:49:41.238Z] Removing intermediate container d872cf531e09 [2021-02-01T02:49:41.238Z] ---> 982f8276ed66 [2021-02-01T02:49:41.238Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:49:41.238Z] ---> Running in ce99272686f6 [2021-02-01T02:49:41.238Z] Removing intermediate container ce99272686f6 [2021-02-01T02:49:41.238Z] ---> 8406b249302f [2021-02-01T02:49:41.238Z] Step 14/24 : WORKDIR / [2021-02-01T02:49:41.238Z] ---> Running in 54f168cce9ce [2021-02-01T02:49:41.238Z] Removing intermediate container 54f168cce9ce [2021-02-01T02:49:41.238Z] ---> 9128f3133443 [2021-02-01T02:49:41.238Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:49:42.677Z] ---> bdcdac661a2b [2021-02-01T02:49:42.677Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:49:43.277Z] ---> d55ac3ea6bbd [2021-02-01T02:49:43.277Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:49:44.257Z] ---> 9142aa30e4e1 [2021-02-01T02:49:44.257Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:49:44.855Z] ---> 4fa741a7524f [2021-02-01T02:49:44.855Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:49:45.836Z] ---> 81e380dbe408 [2021-02-01T02:49:45.836Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:49:45.836Z] ---> Running in ce61dc116fb1 [2021-02-01T02:49:46.112Z] Removing intermediate container ce61dc116fb1 [2021-02-01T02:49:46.112Z] ---> de70c6e78029 [2021-02-01T02:49:46.112Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:49:46.387Z] ---> Running in 6a0636532227 [2021-02-01T02:49:46.984Z] Removing intermediate container 6a0636532227 [2021-02-01T02:49:46.984Z] ---> 993113bfeaa0 [2021-02-01T02:49:46.984Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T02:49:46.984Z] ---> Running in 91295afd20c7 [2021-02-01T02:49:47.579Z] Removing intermediate container 91295afd20c7 [2021-02-01T02:49:47.579Z] ---> 0130fb7c60c9 [2021-02-01T02:49:47.579Z] Step 23/24 : LABEL git_sha=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 [2021-02-01T02:49:47.579Z] ---> Running in 3284398cf73f [2021-02-01T02:49:48.175Z] Removing intermediate container 3284398cf73f [2021-02-01T02:49:48.175Z] ---> 998e4ac1a555 [2021-02-01T02:49:48.175Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:49:48.175Z] ---> Running in 5320cd274ee9 [2021-02-01T02:49:48.779Z] Removing intermediate container 5320cd274ee9 [2021-02-01T02:49:48.779Z] ---> 4a73e0f4d9a5 [2021-02-01T02:49:48.779Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:49:48.779Z] Successfully built 4a73e0f4d9a5 [2021-02-01T02:49:48.779Z] 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-02-01T02:49:50.424Z] provisioning config files... [2021-02-01T02:49:50.435Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config6893663759454023tmp [Pipeline] { [Pipeline] sh [2021-02-01T02:49:50.892Z] + set +x [2021-02-01T02:49:50.892Z] + bash -s -- [2021-02-01T02:49:50.892Z] + curl -s https://codecov.io/bash [2021-02-01T02:49:51.156Z] [2021-02-01T02:49:51.156Z] _____ _ [2021-02-01T02:49:51.156Z] / ____| | | [2021-02-01T02:49:51.156Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T02:49:51.156Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T02:49:51.156Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T02:49:51.156Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T02:49:51.156Z] Bash-20210129-7c25fce [2021-02-01T02:49:51.156Z] [2021-02-01T02:49:51.156Z] [2021-02-01T02:49:51.156Z] ==> git version 2.24.3 found [2021-02-01T02:49:51.156Z] ==> 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-02-01T02:49:51.156Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T02:49:51.156Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T02:49:51.156Z] ==> Jenkins CI detected. [2021-02-01T02:49:51.156Z] project root: . [2021-02-01T02:49:51.156Z] --> token set from env [2021-02-01T02:49:51.156Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T02:49:51.156Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T02:49:51.156Z] ==> Python coveragepy not found [2021-02-01T02:49:51.156Z] ==> Searching for coverage reports in: [2021-02-01T02:49:51.156Z] + . [2021-02-01T02:49:51.156Z] -> Found 1 reports [2021-02-01T02:49:51.156Z] ==> Detecting git/mercurial file structure [2021-02-01T02:49:51.156Z] ==> Reading reports [2021-02-01T02:49:51.156Z] + ./coverage.out bytes=137332 [2021-02-01T02:49:51.156Z] ==> Appending adjustments [2021-02-01T02:49:51.156Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T02:49:51.734Z] + Found adjustments [2021-02-01T02:49:51.734Z] ==> Gzipping contents [2021-02-01T02:49:51.734Z] 24K /tmp/codecov.wOqyaD.gz [2021-02-01T02:49:51.734Z] ==> Uploading reports [2021-02-01T02:49:51.734Z] url: https://codecov.io [2021-02-01T02:49:51.734Z] query: branch=PR-766&commit=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-766%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=766&job=&cmd_args= [2021-02-01T02:49:51.734Z] -> Pinging Codecov [2021-02-01T02:49:51.734Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-766&commit=5b5d15dd1e551118db1fbc2273ee4ae41a16dc92&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-766%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=766&job=&cmd_args= [2021-02-01T02:49:52.311Z] -> Uploading to [2021-02-01T02:49:52.311Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/5b5d15dd1e551118db1fbc2273ee4ae41a16dc92/5d6f98d2-b16f-4a3f-864f-61d06ea4c764.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T024951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87b0caf073cbf07932d5cdf68347b1e498c051687588d9fc68b26536a38b1139 [2021-02-01T02:49:52.311Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T02:49:52.311Z] Dload Upload Total Spent Left Speed [2021-02-01T02:49:52.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21648 0 0 100 21648 0 48976 --:--:-- --:--:-- --:--:-- 49088 [2021-02-01T02:49:52.573Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5b5d15dd1e551118db1fbc2273ee4ae41a16dc92 [Pipeline] } [2021-02-01T02:49:52.583Z] 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-02-01T02:49:55.564Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:49:56.142Z] ---> package-listing.sh [2021-02-01T02:49:56.142Z] ++ facter osfamily [2021-02-01T02:49:56.142Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T02:49:56.142Z] + OS_FAMILY=redhat [2021-02-01T02:49:56.142Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-766 [2021-02-01T02:49:56.142Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T02:49:56.142Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T02:49:56.142Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T02:49:56.142Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T02:49:56.142Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-766 ']' [2021-02-01T02:49:56.142Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T02:49:56.142Z] + case "${OS_FAMILY}" in [2021-02-01T02:49:56.142Z] + rpm -qa [2021-02-01T02:49:56.142Z] + sort [2021-02-01T02:50:00.374Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T02:50:00.374Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T02:50:00.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T02:50:00.374Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-766 ']' [2021-02-01T02:50:00.374Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-766/archives/ [2021-02-01T02:50:00.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-766/archives/ [Pipeline] echo [2021-02-01T02:50:00.390Z] 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-766/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T02:50:00.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:01.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:01.012Z] [2021-02-01T02:50:01.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:01.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:01.383Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T02:50:01.383Z] df20fa9351a1: Pulling fs layer [2021-02-01T02:50:01.383Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T02:50:01.383Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T02:50:01.383Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T02:50:01.383Z] 93b61091891f: Pulling fs layer [2021-02-01T02:50:01.383Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T02:50:01.383Z] 5e14af77c1be: Pulling fs layer [2021-02-01T02:50:01.383Z] 01666e4c0597: Pulling fs layer [2021-02-01T02:50:01.383Z] aa168da1d23b: Pulling fs layer [2021-02-01T02:50:01.383Z] 46f8f816bc3b: Waiting [2021-02-01T02:50:01.383Z] 5e14af77c1be: Waiting [2021-02-01T02:50:01.383Z] 93b61091891f: Waiting [2021-02-01T02:50:01.383Z] aa168da1d23b: Waiting [2021-02-01T02:50:01.383Z] 93b9cdb0e59b: Waiting [2021-02-01T02:50:01.383Z] 01666e4c0597: Waiting [2021-02-01T02:50:01.383Z] 36b3adc4ff6f: Verifying Checksum [2021-02-01T02:50:01.383Z] 36b3adc4ff6f: Download complete [2021-02-01T02:50:01.383Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T02:50:01.383Z] 46f8f816bc3b: Download complete [2021-02-01T02:50:01.671Z] df20fa9351a1: Verifying Checksum [2021-02-01T02:50:01.671Z] df20fa9351a1: Download complete [2021-02-01T02:50:01.671Z] 93b9cdb0e59b: Download complete [2021-02-01T02:50:01.671Z] 5e14af77c1be: Verifying Checksum [2021-02-01T02:50:01.671Z] 5e14af77c1be: Download complete [2021-02-01T02:50:01.671Z] 93b61091891f: Verifying Checksum [2021-02-01T02:50:01.671Z] 93b61091891f: Download complete [2021-02-01T02:50:01.671Z] 01666e4c0597: Verifying Checksum [2021-02-01T02:50:01.671Z] 01666e4c0597: Download complete [2021-02-01T02:50:01.955Z] df20fa9351a1: Pull complete [2021-02-01T02:50:01.955Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T02:50:01.955Z] 8ad3a11d3b57: Download complete [2021-02-01T02:50:02.236Z] 36b3adc4ff6f: Pull complete [2021-02-01T02:50:02.872Z] 8ad3a11d3b57: Pull complete [2021-02-01T02:50:02.872Z] 46f8f816bc3b: Pull complete [2021-02-01T02:50:03.461Z] 93b61091891f: Pull complete [2021-02-01T02:50:03.733Z] 93b9cdb0e59b: Pull complete [2021-02-01T02:50:04.311Z] aa168da1d23b: Verifying Checksum [2021-02-01T02:50:04.311Z] aa168da1d23b: Download complete [2021-02-01T02:50:04.311Z] 5e14af77c1be: Pull complete [2021-02-01T02:50:04.574Z] 01666e4c0597: Pull complete [2021-02-01T02:50:13.102Z] aa168da1d23b: Pull complete [2021-02-01T02:50:13.102Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T02:50:13.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:13.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T02:50:13.333Z] prd-centos7-docker-4c-2g-24258 does not seem to be running inside a container [2021-02-01T02:50:13.428Z] $ 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-766/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-766 -v /w/workspace/dgexfoundry_device-sdk-go_PR-766:/w/workspace/dgexfoundry_device-sdk-go_PR-766:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-766@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T02:50:16.658Z] $ docker top ff60e50e966de39901a3f43d249d92de731ab29a24fd87cb6573ab128048902d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:50:17.173Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T02:50:17.477Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T02:50:17.790Z] + ls /var/log/sa-host [2021-02-01T02:50:17.790Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T02:50:17.790Z] file_magic: OK [2021-02-01T02:50:17.790Z] HZ: Using current value: 100 [2021-02-01T02:50:17.790Z] file_header: OK [2021-02-01T02:50:17.790Z] 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-02-01T02:50:17.790Z] Statistics: [2021-02-01T02:50:17.790Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T02:50:17.790Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T02:50:17.790Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T02:50:17.790Z] file_magic: OK [2021-02-01T02:50:17.790Z] HZ: Using current value: 100 [2021-02-01T02:50:17.790Z] file_header: OK [2021-02-01T02:50:17.790Z] 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-02-01T02:50:17.790Z] Statistics: [2021-02-01T02:50:17.790Z] Hnuu...uuuununununu... [2021-02-01T02:50:17.790Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T02:50:18.414Z] provisioning config files... [2021-02-01T02:50:18.431Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config8494086362677490001tmp [Pipeline] { [Pipeline] echo [2021-02-01T02:50:18.517Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:18.832Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T02:50:18.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T02:50:18.944Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:19.246Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T02:50:19.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:19.560Z] ---> sudo-logs.sh [2021-02-01T02:50:19.561Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T02:50:19.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:19.880Z] ---> job-cost.sh [2021-02-01T02:50:19.880Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:19.880Z] INFO: No Stack... [2021-02-01T02:50:20.834Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T02:50:21.413Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T02:50:21.427Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:21.732Z] ---> logs-deploy.sh [2021-02-01T02:50:21.732Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:21.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-766/2 [2021-02-01T02:50:21.732Z] INFO: archiving workspace using pattern(s): [2021-02-01T02:50:23.721Z] Archives upload complete. [2021-02-01T02:50:23.721Z] INFO: archiving logs to Nexus