Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e+3aea893206dfece0cb943228d650ae216607898f (626d73093197285dea7d98335cea44bb42cbc0ee) 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-24259 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [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-761 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e Merge succeeded, producing dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 Checking out Revision dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 (PR-761) > 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/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # 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 dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 # timeout=10 Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" > git rev-list --no-walk 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T02:41:54.692Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T02:41:54.900Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T02:41:54.993Z] ========================================================= [2021-02-01T02:41:54.993Z] EdgeX Global Pipelines Version Info [2021-02-01T02:41:54.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:41:56.489Z] ------------------- [2021-02-01T02:41:56.489Z] stable info: [2021-02-01T02:41:56.489Z] ------------------- [2021-02-01T02:41:56.489Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:41:56.489Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:41:56.489Z] Message: update stable to v1.0.179 [2021-02-01T02:41:57.441Z] ------------------- [2021-02-01T02:41:57.441Z] experimental info: [2021-02-01T02:41:57.441Z] ------------------- [2021-02-01T02:41:57.441Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T02:41:57.441Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T02:41:57.441Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T02:41:57.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T02:41:57.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T02:41:57.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T02:41:57.935Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T02:41:58.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T02:41:58.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T02:41:58.184Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T02:41:58.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T02:41:58.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T02:41:58.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T02:41:58.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T02:41:58.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-01T02:41:58.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T02:41:58.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T02:41:58.885Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T02:41:58.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:59.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:59.165Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T02:41:59.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T02:41:59.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T02:41:59.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T02:41:59.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T02:41:59.617Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T02:41:59.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T02:41:59.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T02:41:59.899Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T02:41:59.986Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T02:42:00.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-761 [Pipeline] echo [2021-02-01T02:42:00.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-761 [Pipeline] echo [2021-02-01T02:42:00.264Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-761 [Pipeline] echo [2021-02-01T02:42:00.361Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 [Pipeline] echo [2021-02-01T02:42:00.474Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd4ca22 [Pipeline] echo [2021-02-01T02:42:00.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:42:00.802Z] provisioning config files... [2021-02-01T02:42:00.830Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config9084073757389767849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:42:01.202Z] ---> docker-login.sh [2021-02-01T02:42:01.203Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:42:01.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:02.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:02.871Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:02.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:02.871Z] [2021-02-01T02:42:02.871Z] Login Succeeded [2021-02-01T02:42:02.871Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:42:02.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:02.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:02.871Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:02.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:02.871Z] [2021-02-01T02:42:02.871Z] Login Succeeded [2021-02-01T02:42:02.871Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:42:02.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:03.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:03.137Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:03.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:03.137Z] [2021-02-01T02:42:03.137Z] Login Succeeded [2021-02-01T02:42:03.137Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:42:03.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:03.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:03.137Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:03.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:03.137Z] [2021-02-01T02:42:03.137Z] Login Succeeded [2021-02-01T02:42:03.137Z] docker.io [2021-02-01T02:42:03.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:42:03.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:42:03.664Z] Configure a credential helper to remove this warning. See [2021-02-01T02:42:03.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:42:03.664Z] [2021-02-01T02:42:03.664Z] Login Succeeded [2021-02-01T02:42:03.664Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:42:03.677Z] 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:42:04.488Z] + git log --format=format:%s -1 dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 [Pipeline] echo [2021-02-01T02:42:04.592Z] GIT_COMMIT: dd4ca22038d74fef6fecb9f98a05fcc447b09ac8, Commit Message: Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD [Pipeline] echo [2021-02-01T02:42:04.638Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:05.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:05.265Z] [2021-02-01T02:42:05.265Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:42:05.620Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:05.620Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T02:42:05.620Z] 31603596830f: Pulling fs layer [2021-02-01T02:42:05.620Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T02:42:05.620Z] 6ca5941a6612: Pulling fs layer [2021-02-01T02:42:05.620Z] ecc8261a40a4: Pulling fs layer [2021-02-01T02:42:05.620Z] ecc8261a40a4: Waiting [2021-02-01T02:42:05.620Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T02:42:05.620Z] 2a8b12db71e7: Download complete [2021-02-01T02:42:05.620Z] 31603596830f: Verifying Checksum [2021-02-01T02:42:05.620Z] 31603596830f: Download complete [2021-02-01T02:42:05.893Z] ecc8261a40a4: Verifying Checksum [2021-02-01T02:42:05.893Z] ecc8261a40a4: Download complete [2021-02-01T02:42:05.893Z] 6ca5941a6612: Verifying Checksum [2021-02-01T02:42:05.893Z] 6ca5941a6612: Download complete [2021-02-01T02:42:06.164Z] 31603596830f: Pull complete [2021-02-01T02:42:06.164Z] 2a8b12db71e7: Pull complete [2021-02-01T02:42:07.131Z] 6ca5941a6612: Pull complete [2021-02-01T02:42:07.392Z] ecc8261a40a4: Pull complete [2021-02-01T02:42:07.393Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T02:42:07.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T02:42:07.393Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T02:42:07.511Z] prd-centos7-docker-4c-2g-24259 does not seem to be running inside a container [2021-02-01T02:42:07.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T02:42:09.652Z] $ docker top fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T02:42:09.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:42:09.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:42:10.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:42:10.190Z] $ docker exec fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 ssh-agent [2021-02-01T02:42:10.361Z] SSH_AUTH_SOCK=/tmp/ssh-PAsrQoUbQ9Yv/agent.12 [2021-02-01T02:42:10.361Z] SSH_AGENT_PID=18 [2021-02-01T02:42:10.371Z] Running ssh-add (command line suppressed) [2021-02-01T02:42:10.508Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_3304341010161355306.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_3304341010161355306.key) [2021-02-01T02:42:10.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:42:10.914Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T02:42:10.938Z] $ docker exec --env ******** --env ******** fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 ssh-agent -k [2021-02-01T02:42:11.064Z] unset SSH_AUTH_SOCK; [2021-02-01T02:42:11.065Z] unset SSH_AGENT_PID; [2021-02-01T02:42:11.065Z] echo Agent pid 18 killed; [2021-02-01T02:42:11.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T02:42:11.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T02:42:11.264Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T02:42:11.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T02:42:11.438Z] $ docker exec fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 ssh-agent [2021-02-01T02:42:11.612Z] SSH_AUTH_SOCK=/tmp/ssh-aaHymEwP6mwr/agent.47 [2021-02-01T02:42:11.612Z] SSH_AGENT_PID=53 [2021-02-01T02:42:11.619Z] Running ssh-add (command line suppressed) [2021-02-01T02:42:11.743Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_7072665187523986601.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_7072665187523986601.key) [2021-02-01T02:42:11.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T02:42:12.133Z] + git semver init [2021-02-01T02:42:12.133Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T02:42:12.133Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.git [2021-02-01T02:42:12.133Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-02-01T02:42:12.133Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T02:42:12.133Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T02:42:12.133Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T02:42:12.133Z] # $SEMVER_BRANCH = PR-761 [2021-02-01T02:42:12.133Z] # $SEMVER_TEMP = /tmp/semver-001537396 [2021-02-01T02:42:12.133Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T02:42:12.718Z] # '/tmp/semver-001537396' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver' [2021-02-01T02:42:12.979Z] # -> Force: false [2021-02-01T02:42:12.980Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver [Pipeline] } [2021-02-01T02:42:12.993Z] $ docker exec --env ******** --env ******** fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 ssh-agent -k [2021-02-01T02:42:13.110Z] unset SSH_AUTH_SOCK; [2021-02-01T02:42:13.110Z] unset SSH_AGENT_PID; [2021-02-01T02:42:13.110Z] echo Agent pid 53 killed; [2021-02-01T02:42:13.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T02:42:13.660Z] + git semver [Pipeline] } [2021-02-01T02:42:13.684Z] $ docker stop --time=1 fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 [2021-02-01T02:42:15.062Z] $ docker rm -f fb6accf9777d3f5555495af2cfe28437d4d322bd3c1cd046f86b98571e868243 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:42:15.522Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T02:42:16.007Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T02:42:16.010Z] [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:31.624Z] Still waiting to schedule task [2021-02-01T02:42:31.624Z] ‘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-24261’ is offline [2021-02-01T02:42:31.627Z] Still waiting to schedule task [2021-02-01T02:42:31.627Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24257’ [2021-02-01T02:43:26.529Z] Running on prd-centos7-docker-4c-2g-24264 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-02-01T02:43:26.613Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-02-01T02:43:29.363Z] using credential edgex-jenkins-ssh [2021-02-01T02:43:29.450Z] Cloning the remote Git repository [2021-02-01T02:43:29.204Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:29.295Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-02-01T02:43:29.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:29.363Z] > git --version # timeout=10 [2021-02-01T02:43:29.369Z] > git --version # 'git version 2.24.3' [2021-02-01T02:43:29.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:29.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:43:30.776Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-02-01T02:43:30.916Z] Merge succeeded, producing 6fd7cc0bc746e2663a08661436e630f6eb05af83 [2021-02-01T02:43:30.916Z] Checking out Revision 6fd7cc0bc746e2663a08661436e630f6eb05af83 (PR-761) [2021-02-01T02:43:30.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:43:30.145Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:43:30.160Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:43:30.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:43:30.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:30.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:43:30.586Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:43:30.593Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-02-01T02:43:30.660Z] > git remote # timeout=10 [2021-02-01T02:43:30.665Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:43:30.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:43:30.675Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:43:30.720Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:43:30.731Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:43:30.736Z] > git checkout -f 6fd7cc0bc746e2663a08661436e630f6eb05af83 # timeout=10 [2021-02-01T02:43:34.516Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:43:34.522Z] > git rev-list --no-walk 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:43:35.688Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:43:36.020Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:43:36.320Z] + sudo service docker restart [2021-02-01T02:43:36.320Z] + true [2021-02-01T02:43:36.320Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:43:37.823Z] provisioning config files... [2021-02-01T02:43:37.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5385451852360733008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:43:38.251Z] ---> docker-login.sh [2021-02-01T02:43:38.251Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:43:38.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:38.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:38.794Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:38.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:38.794Z] [2021-02-01T02:43:38.794Z] Login Succeeded [2021-02-01T02:43:38.794Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:43:38.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:38.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:38.794Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:38.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:38.794Z] [2021-02-01T02:43:38.794Z] Login Succeeded [2021-02-01T02:43:38.794Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:43:39.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:39.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:39.060Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:39.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:39.060Z] [2021-02-01T02:43:39.060Z] Login Succeeded [2021-02-01T02:43:39.060Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:43:39.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:39.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:39.329Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:39.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:39.329Z] [2021-02-01T02:43:39.329Z] Login Succeeded [2021-02-01T02:43:39.329Z] docker.io [2021-02-01T02:43:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:43:39.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:43:39.603Z] Configure a credential helper to remove this warning. See [2021-02-01T02:43:39.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:43:39.604Z] [2021-02-01T02:43:39.604Z] Login Succeeded [2021-02-01T02:43:39.604Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:43:39.617Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T02:43:40.108Z] ========================================================= [2021-02-01T02:43:40.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T02:43:40.109Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:43:40.464Z] + 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:40.729Z] Sending build context to Docker daemon 2.497MB [2021-02-01T02:43:40.729Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:43:40.729Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:43:40.729Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T02:43:40.729Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T02:43:40.729Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T02:43:40.729Z] de9db76c5a1d: Pulling fs layer [2021-02-01T02:43:40.729Z] bca2f99d35d6: Pulling fs layer [2021-02-01T02:43:40.729Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T02:43:40.729Z] 7c6f9722023f: Pulling fs layer [2021-02-01T02:43:40.729Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T02:43:40.729Z] bca2f99d35d6: Waiting [2021-02-01T02:43:40.729Z] 93359f2a8cfa: Waiting [2021-02-01T02:43:40.729Z] 7c6f9722023f: Waiting [2021-02-01T02:43:40.729Z] a35cf1a2eb13: Waiting [2021-02-01T02:43:40.729Z] de9db76c5a1d: Verifying Checksum [2021-02-01T02:43:40.729Z] de9db76c5a1d: Download complete [2021-02-01T02:43:40.729Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T02:43:40.729Z] 0ef7d3d256c8: Download complete [2021-02-01T02:43:40.729Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T02:43:40.729Z] 93359f2a8cfa: Download complete [2021-02-01T02:43:40.729Z] 7c6f9722023f: Verifying Checksum [2021-02-01T02:43:40.729Z] 7c6f9722023f: Download complete [2021-02-01T02:43:40.729Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T02:43:40.729Z] 188c0c94c7c5: Download complete [2021-02-01T02:43:40.993Z] 188c0c94c7c5: Pull complete [2021-02-01T02:43:41.261Z] 0ef7d3d256c8: Pull complete [2021-02-01T02:43:41.261Z] de9db76c5a1d: Pull complete [2021-02-01T02:43:42.663Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T02:43:42.663Z] a35cf1a2eb13: Download complete [2021-02-01T02:43:43.254Z] bca2f99d35d6: Verifying Checksum [2021-02-01T02:43:43.254Z] bca2f99d35d6: Download complete [2021-02-01T02:43:48.633Z] bca2f99d35d6: Pull complete [2021-02-01T02:43:48.633Z] 93359f2a8cfa: Pull complete [2021-02-01T02:43:48.633Z] 7c6f9722023f: Pull complete [2021-02-01T02:43:53.987Z] a35cf1a2eb13: Pull complete [2021-02-01T02:43:53.987Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T02:43:53.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T02:43:53.987Z] ---> a62c8e92a672 [2021-02-01T02:43:53.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:43:54.253Z] ---> Running in e78ba0fe57ce [2021-02-01T02:43:54.253Z] Removing intermediate container e78ba0fe57ce [2021-02-01T02:43:54.253Z] ---> 7a750102ed09 [2021-02-01T02:43:54.253Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:43:54.519Z] ---> Running in 51942962d385 [2021-02-01T02:43:55.933Z] Removing intermediate container 51942962d385 [2021-02-01T02:43:55.933Z] ---> a4ba0842d60c [2021-02-01T02:43:55.933Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:43:55.933Z] ---> Running in 8c828c3fd15e [2021-02-01T02:43:56.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:43:57.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:43:59.262Z] OK: 166 MiB in 39 packages [2021-02-01T02:43:59.527Z] Removing intermediate container 8c828c3fd15e [2021-02-01T02:43:59.527Z] ---> 07adcd30a092 [2021-02-01T02:43:59.527Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:43:59.527Z] ---> Running in b2c45eb2c725 [2021-02-01T02:43:59.527Z] Removing intermediate container b2c45eb2c725 [2021-02-01T02:43:59.527Z] ---> 3665a02dbadf [2021-02-01T02:43:59.527Z] Step 7/8 : COPY . . [2021-02-01T02:44:00.924Z] ---> 1a475895e598 [2021-02-01T02:44:00.924Z] Step 8/8 : RUN go mod download [2021-02-01T02:44:00.924Z] ---> Running in 767c22fb88da [2021-02-01T02:44:19.151Z] Removing intermediate container 767c22fb88da [2021-02-01T02:44:19.151Z] ---> 90d2fe689f40 [2021-02-01T02:44:19.151Z] Successfully built 90d2fe689f40 [2021-02-01T02:44:19.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:44:19.467Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:44:19.467Z] . [Pipeline] withDockerContainer [2021-02-01T02:44:19.585Z] prd-centos7-docker-4c-2g-24264 does not seem to be running inside a container [2021-02-01T02:44:19.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:20.503Z] $ docker top 562971d6e740a5de6cf6b3f064c6f330636522c7e9e8d6ccb1c84b63f1062c7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:44:21.020Z] + go version [2021-02-01T02:44:21.020Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T02:44:21.039Z] $ docker stop --time=1 562971d6e740a5de6cf6b3f064c6f330636522c7e9e8d6ccb1c84b63f1062c7b [2021-02-01T02:44:22.390Z] $ docker rm -f 562971d6e740a5de6cf6b3f064c6f330636522c7e9e8d6ccb1c84b63f1062c7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:44:24.115Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T02:44:24.115Z] . [Pipeline] withDockerContainer [2021-02-01T02:44:24.226Z] prd-centos7-docker-4c-2g-24264 does not seem to be running inside a container [2021-02-01T02:44:24.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:24.898Z] $ docker top aac4e0a8b141543b6b99829a5244f719552f2912d0f8cbccbbdb87d7d9ea1dff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:44:25.400Z] + make test [2021-02-01T02:44:25.400Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:44:33.628Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:44:48.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:44:48.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:44:48.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:44:48.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 19.4% of statements [2021-02-01T02:44:52.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.499s coverage: 97.1% of statements [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 9.4% of statements [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.061s coverage: 21.7% of statements [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.269s coverage: 43.6% of statements [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.284s coverage: 68.9% of statements [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 53.8% of statements [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:45:24.331Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:45:24.331Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 25.2% of statements [2021-02-01T02:45:24.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.795s coverage: 83.5% of statements [2021-02-01T02:45:24.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements [2021-02-01T02:45:24.332Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:45:24.332Z] GO111MODULE=on go vet ./... [2021-02-01T02:45:31.077Z] gofmt -l . [2021-02-01T02:45:31.077Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:45:31.077Z] ./bin/test-attribution-txt.sh [2021-02-01T02:45:32.045Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:45:32.063Z] $ docker stop --time=1 aac4e0a8b141543b6b99829a5244f719552f2912d0f8cbccbbdb87d7d9ea1dff [2021-02-01T02:45:34.101Z] $ docker rm -f aac4e0a8b141543b6b99829a5244f719552f2912d0f8cbccbbdb87d7d9ea1dff [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:45:34.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:45:35.232Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-01T02:45:36.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:45:36.845Z] + ls -al . [2021-02-01T02:45:36.845Z] total 216 [2021-02-01T02:45:36.845Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 02:45 . [2021-02-01T02:45:36.845Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 02:43 .. [2021-02-01T02:45:36.845Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 02:43 bin [2021-02-01T02:45:36.845Z] -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 02:45 coverage.out [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 02:43 Dockerfile.build [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 02:43 .dockerignore [2021-02-01T02:45:36.845Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 02:43 example [2021-02-01T02:45:36.845Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 02:43 .git [2021-02-01T02:45:36.845Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 02:43 .github [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 02:43 .gitignore [2021-02-01T02:45:36.845Z] -rw-r--r--. 1 jenkins jenkins 514 Feb 1 02:45 go.mod [2021-02-01T02:45:36.845Z] -rw-r--r--. 1 jenkins jenkins 14308 Feb 1 02:45 go.sum [2021-02-01T02:45:36.845Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 02:43 internal [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 02:43 Jenkinsfile [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 02:43 LICENSE [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 02:43 Makefile [2021-02-01T02:45:36.845Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 02:43 openapi [2021-02-01T02:45:36.845Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 02:43 pkg [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 02:43 README.md [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 02:43 RELEASE-NOTES.txt [2021-02-01T02:45:36.845Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 02:43 snap [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:45:36.845Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:45:37.178Z] + 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=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 --label arch=amd64 --label version=0.0.0 . [2021-02-01T02:45:37.443Z] Sending build context to Docker daemon 2.635MB [2021-02-01T02:45:37.443Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:45:37.443Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:45:37.443Z] ---> 90d2fe689f40 [2021-02-01T02:45:37.443Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:45:38.022Z] ---> Running in 459484425c99 [2021-02-01T02:45:38.022Z] Removing intermediate container 459484425c99 [2021-02-01T02:45:38.022Z] ---> 35cb6b5cf7db [2021-02-01T02:45:38.022Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:45:38.085Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24267 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-02-01T02:45:38.161Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-02-01T02:45:38.288Z] ---> Running in d688c137c9df [2021-02-01T02:45:38.288Z] Removing intermediate container d688c137c9df [2021-02-01T02:45:38.288Z] ---> 61b615724342 [2021-02-01T02:45:38.288Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:38.554Z] ---> Running in 885512e1ebb5 [2021-02-01T02:45:38.554Z] Removing intermediate container 885512e1ebb5 [2021-02-01T02:45:38.554Z] ---> 27fef7aadf6d [2021-02-01T02:45:38.554Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:45:38.554Z] ---> Running in c916f2d10960 [2021-02-01T02:45:39.966Z] Removing intermediate container c916f2d10960 [2021-02-01T02:45:39.966Z] ---> 6b5c4adf94c3 [2021-02-01T02:45:39.966Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:45:39.966Z] ---> Running in bebdf92a1b21 [2021-02-01T02:45:40.554Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:41.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T02:45:42.931Z] OK: 166 MiB in 39 packages [2021-02-01T02:45:43.094Z] using credential edgex-jenkins-ssh [2021-02-01T02:45:43.149Z] Cloning the remote Git repository [2021-02-01T02:45:43.511Z] Removing intermediate container bebdf92a1b21 [2021-02-01T02:45:43.511Z] ---> 18975fcf093c [2021-02-01T02:45:43.511Z] Step 8/24 : COPY . . [2021-02-01T02:45:43.189Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:43.292Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-02-01T02:45:43.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:43.361Z] > git --version # timeout=10 [2021-02-01T02:45:43.377Z] > git --version # 'git version 2.17.1' [2021-02-01T02:45:43.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:43.446Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:44.468Z] ---> 53e7e6d7ceb0 [2021-02-01T02:45:44.468Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:45:44.732Z] ---> Running in 85ca4b80004d [2021-02-01T02:45:45.106Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e [2021-02-01T02:45:45.311Z] 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:45.503Z] Merge succeeded, producing 99e6f2e7e16880fdcb9de585758f6750dfee0cc0 [2021-02-01T02:45:45.504Z] Checking out Revision 99e6f2e7e16880fdcb9de585758f6750dfee0cc0 (PR-761) [2021-02-01T02:45:44.529Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:44.554Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T02:45:44.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T02:45:44.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T02:45:44.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:44.638Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T02:45:45.118Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:45.135Z] > git checkout -f 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [2021-02-01T02:45:45.255Z] > git remote # timeout=10 [2021-02-01T02:45:45.269Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T02:45:45.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T02:45:45.351Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T02:45:45.472Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T02:45:45.505Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T02:45:45.550Z] > git checkout -f 99e6f2e7e16880fdcb9de585758f6750dfee0cc0 # timeout=10 [2021-02-01T02:45:49.909Z] Commit message: "Merge commit '3aea893206dfece0cb943228d650ae216607898f' into HEAD" [2021-02-01T02:45:49.919Z] > git rev-list --no-walk 9c093a3ec1a8ebe2b1aac9d38ddb210dbdd2792e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:45:51.568Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:52.048Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T02:45:52.384Z] + + truesudo [2021-02-01T02:45:52.384Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T02:45:54.450Z] provisioning config files... [2021-02-01T02:45:54.506Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config845231324305169925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:45:54.940Z] ---> docker-login.sh [2021-02-01T02:45:54.940Z] nexus3.edgexfoundry.org:10001 [2021-02-01T02:45:55.502Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:45:55.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:56.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:56.133Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:56.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:56.133Z] [2021-02-01T02:45:56.133Z] Login Succeeded [2021-02-01T02:45:56.133Z] nexus3.edgexfoundry.org:10002 [2021-02-01T02:45:56.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:56.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:56.689Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:56.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:56.689Z] [2021-02-01T02:45:56.689Z] Login Succeeded [2021-02-01T02:45:56.689Z] nexus3.edgexfoundry.org:10003 [2021-02-01T02:45:56.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:56.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:56.964Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:56.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:56.964Z] [2021-02-01T02:45:56.964Z] Login Succeeded [2021-02-01T02:45:56.964Z] nexus3.edgexfoundry.org:10004 [2021-02-01T02:45:57.437Z] Removing intermediate container 85ca4b80004d [2021-02-01T02:45:57.437Z] ---> d6e86ab7af16 [2021-02-01T02:45:57.437Z] Step 10/24 : FROM scratch [2021-02-01T02:45:57.437Z] ---> [2021-02-01T02:45:57.437Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:45:57.437Z] ---> Running in 3f584aa05a37 [2021-02-01T02:45:57.437Z] Removing intermediate container 3f584aa05a37 [2021-02-01T02:45:57.437Z] ---> d4f58f08f262 [2021-02-01T02:45:57.437Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:45:57.437Z] ---> Running in 85c161143f26 [2021-02-01T02:45:57.437Z] Removing intermediate container 85c161143f26 [2021-02-01T02:45:57.437Z] ---> a39bc29eb070 [2021-02-01T02:45:57.437Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:45:57.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:57.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:57.561Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:57.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:57.561Z] [2021-02-01T02:45:57.561Z] Login Succeeded [2021-02-01T02:45:57.561Z] docker.io [2021-02-01T02:45:57.701Z] ---> Running in f1e73ed29d01 [2021-02-01T02:45:57.701Z] Removing intermediate container f1e73ed29d01 [2021-02-01T02:45:57.701Z] ---> 851a43933c9e [2021-02-01T02:45:57.701Z] Step 14/24 : WORKDIR / [2021-02-01T02:45:57.964Z] ---> Running in 3db8a8a6b0a7 [2021-02-01T02:45:57.964Z] Removing intermediate container 3db8a8a6b0a7 [2021-02-01T02:45:57.964Z] ---> 82f7b696c731 [2021-02-01T02:45:57.964Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:45:58.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T02:45:58.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T02:45:58.426Z] Configure a credential helper to remove this warning. See [2021-02-01T02:45:58.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T02:45:58.426Z] [2021-02-01T02:45:58.426Z] Login Succeeded [2021-02-01T02:45:58.426Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T02:45:58.443Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-02-01T02:45:58.541Z] ---> cf18ce5d3221 [2021-02-01T02:45:58.542Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] // withEnv [Pipeline] unstash [2021-02-01T02:45:58.807Z] ---> 2e33570cba94 [2021-02-01T02:45:58.807Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] echo [2021-02-01T02:45:58.910Z] ========================================================= [2021-02-01T02:45:58.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T02:45:58.910Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:45:59.071Z] ---> 18bf36bacc48 [2021-02-01T02:45:59.071Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:45:59.295Z] + 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:59.335Z] ---> a1e58bf4abcf [2021-02-01T02:45:59.335Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:45:59.596Z] ---> 027be447cb35 [2021-02-01T02:45:59.596Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:45:59.596Z] ---> Running in b7cdc07be91d [2021-02-01T02:45:59.861Z] Removing intermediate container b7cdc07be91d [2021-02-01T02:45:59.861Z] ---> 512c395ca55b [2021-02-01T02:45:59.861Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:45:59.861Z] ---> Running in 1173dae0b52a [2021-02-01T02:45:59.861Z] Removing intermediate container 1173dae0b52a [2021-02-01T02:45:59.861Z] ---> 527bacb46ea9 [2021-02-01T02:45:59.861Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T02:45:59.913Z] Sending build context to Docker daemon 2.504MB [2021-02-01T02:45:59.913Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:45:59.913Z] Step 2/8 : FROM ${BASE} [2021-02-01T02:45:59.913Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T02:45:59.913Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T02:45:59.913Z] a4357932f1b6: Pulling fs layer [2021-02-01T02:45:59.913Z] 18c013af1878: Pulling fs layer [2021-02-01T02:45:59.913Z] 00ac8860ef70: Pulling fs layer [2021-02-01T02:45:59.913Z] 63d7cb157983: Pulling fs layer [2021-02-01T02:45:59.913Z] b116817d02f9: Pulling fs layer [2021-02-01T02:45:59.913Z] 00ac8860ef70: Waiting [2021-02-01T02:45:59.913Z] 63d7cb157983: Waiting [2021-02-01T02:45:59.913Z] 745a02a5169b: Pulling fs layer [2021-02-01T02:45:59.913Z] b116817d02f9: Waiting [2021-02-01T02:45:59.913Z] 745a02a5169b: Waiting [2021-02-01T02:45:59.913Z] 18c013af1878: Verifying Checksum [2021-02-01T02:45:59.913Z] 18c013af1878: Download complete [2021-02-01T02:45:59.913Z] a4357932f1b6: Verifying Checksum [2021-02-01T02:45:59.913Z] a4357932f1b6: Download complete [2021-02-01T02:45:59.913Z] 63d7cb157983: Verifying Checksum [2021-02-01T02:45:59.913Z] 63d7cb157983: Download complete [2021-02-01T02:45:59.913Z] b116817d02f9: Verifying Checksum [2021-02-01T02:45:59.913Z] b116817d02f9: Download complete [2021-02-01T02:46:00.124Z] ---> Running in e338c982df35 [2021-02-01T02:46:00.124Z] Removing intermediate container e338c982df35 [2021-02-01T02:46:00.124Z] ---> 89779b2838b6 [2021-02-01T02:46:00.124Z] Step 23/24 : LABEL git_sha=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 [2021-02-01T02:46:00.193Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T02:46:00.193Z] 5f621e34cdf4: Download complete [2021-02-01T02:46:00.386Z] ---> Running in 4392d2218931 [2021-02-01T02:46:00.386Z] Removing intermediate container 4392d2218931 [2021-02-01T02:46:00.386Z] ---> a826947c8659 [2021-02-01T02:46:00.386Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:46:00.647Z] ---> Running in 92c2bce28825 [2021-02-01T02:46:00.647Z] Removing intermediate container 92c2bce28825 [2021-02-01T02:46:00.647Z] ---> 09e25d31cb49 [2021-02-01T02:46:00.647Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:46:00.647Z] Successfully built 09e25d31cb49 [2021-02-01T02:46:00.647Z] 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] } [2021-02-01T02:46:01.195Z] 5f621e34cdf4: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-01T02:46:01.818Z] a4357932f1b6: Pull complete [2021-02-01T02:46:02.105Z] 18c013af1878: Pull complete [2021-02-01T02:46:02.383Z] 745a02a5169b: Verifying Checksum [2021-02-01T02:46:02.383Z] 745a02a5169b: Download complete [2021-02-01T02:46:03.819Z] 00ac8860ef70: Download complete [2021-02-01T02:46:13.990Z] 00ac8860ef70: Pull complete [2021-02-01T02:46:13.990Z] 63d7cb157983: Pull complete [2021-02-01T02:46:14.263Z] b116817d02f9: Pull complete [2021-02-01T02:46:17.650Z] 745a02a5169b: Pull complete [2021-02-01T02:46:17.650Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T02:46:17.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T02:46:17.650Z] ---> b7e6874047d6 [2021-02-01T02:46:17.650Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:46:21.045Z] ---> Running in 04c3fe9f4395 [2021-02-01T02:46:21.045Z] Removing intermediate container 04c3fe9f4395 [2021-02-01T02:46:21.045Z] ---> 6605d84d7b13 [2021-02-01T02:46:21.045Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:46:21.045Z] ---> Running in f09d2b3fb7d4 [2021-02-01T02:46:23.667Z] Removing intermediate container f09d2b3fb7d4 [2021-02-01T02:46:23.667Z] ---> df559861b4ab [2021-02-01T02:46:23.667Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T02:46:23.667Z] ---> Running in 677e3e5e61ad [2021-02-01T02:46:24.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:46:25.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:46:26.224Z] OK: 142 MiB in 39 packages [2021-02-01T02:46:27.656Z] Removing intermediate container 677e3e5e61ad [2021-02-01T02:46:27.656Z] ---> 8fddc3e148c3 [2021-02-01T02:46:27.656Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T02:46:27.656Z] ---> Running in 8bd524967115 [2021-02-01T02:46:28.251Z] Removing intermediate container 8bd524967115 [2021-02-01T02:46:28.251Z] ---> eb25ede7709d [2021-02-01T02:46:28.251Z] Step 7/8 : COPY . . [2021-02-01T02:46:29.684Z] ---> 73e1dd949b41 [2021-02-01T02:46:29.684Z] Step 8/8 : RUN go mod download [2021-02-01T02:46:29.684Z] ---> Running in 4a59f89d8247 [2021-02-01T02:46:51.863Z] Removing intermediate container 4a59f89d8247 [2021-02-01T02:46:51.863Z] ---> 2817b366252e [2021-02-01T02:46:51.863Z] Successfully built 2817b366252e [2021-02-01T02:46:51.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:52.201Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:46:52.201Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:52.477Z] prd-ubuntu18.04-docker-arm64-4c-16g-24267 does not seem to be running inside a container [2021-02-01T02:46:52.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:54.080Z] $ docker top 388766e02759909243c1badc994f1abac253a8ec9856a5104f8673e3e6608463 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:46:55.076Z] + go version [2021-02-01T02:46:55.077Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T02:46:55.126Z] $ docker stop --time=1 388766e02759909243c1badc994f1abac253a8ec9856a5104f8673e3e6608463 [2021-02-01T02:46:57.116Z] $ docker rm -f 388766e02759909243c1badc994f1abac253a8ec9856a5104f8673e3e6608463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:46:58.055Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T02:46:58.055Z] . [Pipeline] withDockerContainer [2021-02-01T02:46:58.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-24267 does not seem to be running inside a container [2021-02-01T02:46:58.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:59.952Z] $ docker top 68a5cad16346f1b3bc6bb34eb14303a2946600b51950cf83c78f24d66782d3e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:47:01.044Z] + make test [2021-02-01T02:47:01.044Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T02:47:23.225Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T02:48:02.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T02:48:02.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T02:48:02.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T02:48:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 19.4% of statements [2021-02-01T02:48:08.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.215s coverage: 97.1% of statements [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.161s coverage: 9.4% of statements [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.606s coverage: 43.6% of statements [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.722s coverage: 68.9% of statements [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.188s coverage: 25.2% of statements [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.782s coverage: 83.5% of statements [2021-02-01T02:48:40.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-02-01T02:48:40.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T02:48:40.704Z] GO111MODULE=on go vet ./... [2021-02-01T02:49:13.296Z] gofmt -l . [2021-02-01T02:49:13.296Z] [ "`gofmt -l .`" = "" ] [2021-02-01T02:49:13.296Z] ./bin/test-attribution-txt.sh [2021-02-01T02:49:13.296Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T02:49:13.393Z] $ docker stop --time=1 68a5cad16346f1b3bc6bb34eb14303a2946600b51950cf83c78f24d66782d3e9 [2021-02-01T02:49:15.739Z] $ docker rm -f 68a5cad16346f1b3bc6bb34eb14303a2946600b51950cf83c78f24d66782d3e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T02:49:16.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T02:49:16.841Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T02:49:17.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T02:49:18.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T02:49:18.985Z] + ls -al . [2021-02-01T02:49:18.985Z] total 252 [2021-02-01T02:49:18.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 02:49 . [2021-02-01T02:49:18.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 .. [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 02:45 .dockerignore [2021-02-01T02:49:18.985Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 02:45 .git [2021-02-01T02:49:18.985Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 .github [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 02:45 .gitignore [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 02:45 Dockerfile.build [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 02:45 Jenkinsfile [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 02:45 LICENSE [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 02:45 Makefile [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 02:45 README.md [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 02:45 RELEASE-NOTES.txt [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 02:42 VERSION [2021-02-01T02:49:18.985Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 02:45 bin [2021-02-01T02:49:18.985Z] -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 02:48 coverage.out [2021-02-01T02:49:18.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 example [2021-02-01T02:49:18.985Z] -rw-r--r-- 1 jenkins jenkins 514 Feb 1 02:49 go.mod [2021-02-01T02:49:18.985Z] -rw-r--r-- 1 jenkins jenkins 14308 Feb 1 02:49 go.sum [2021-02-01T02:49:18.985Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 02:45 internal [2021-02-01T02:49:18.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 openapi [2021-02-01T02:49:18.985Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 02:45 pkg [2021-02-01T02:49:18.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 02:45 snap [2021-02-01T02:49:18.985Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:49:19.329Z] + 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=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 --label arch=arm64 --label version=0.0.0 . [2021-02-01T02:49:19.923Z] Sending build context to Docker daemon 2.642MB [2021-02-01T02:49:19.923Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T02:49:19.923Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T02:49:19.923Z] ---> 2817b366252e [2021-02-01T02:49:19.923Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T02:49:20.196Z] ---> Running in e14ab1061c96 [2021-02-01T02:49:20.468Z] Removing intermediate container e14ab1061c96 [2021-02-01T02:49:20.468Z] ---> f064e6c7ac7a [2021-02-01T02:49:20.468Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T02:49:20.740Z] ---> Running in 6d98550a1b09 [2021-02-01T02:49:21.350Z] Removing intermediate container 6d98550a1b09 [2021-02-01T02:49:21.350Z] ---> c8635d42b251 [2021-02-01T02:49:21.350Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:49:21.350Z] ---> Running in afe1242ff84f [2021-02-01T02:49:21.953Z] Removing intermediate container afe1242ff84f [2021-02-01T02:49:21.953Z] ---> e54118801de9 [2021-02-01T02:49:21.953Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T02:49:21.953Z] ---> Running in 8d45c6ac2ce2 [2021-02-01T02:49:23.932Z] Removing intermediate container 8d45c6ac2ce2 [2021-02-01T02:49:23.932Z] ---> bd425fc954b9 [2021-02-01T02:49:23.932Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T02:49:24.203Z] ---> Running in f94a6b5711b4 [2021-02-01T02:49:25.175Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:25.766Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T02:49:26.738Z] OK: 142 MiB in 39 packages [2021-02-01T02:49:27.717Z] Removing intermediate container f94a6b5711b4 [2021-02-01T02:49:27.717Z] ---> 5cc93f0833f5 [2021-02-01T02:49:27.717Z] Step 8/24 : COPY . . [2021-02-01T02:49:29.157Z] ---> aa1c79788465 [2021-02-01T02:49:29.157Z] Step 9/24 : RUN ${MAKE} [2021-02-01T02:49:29.157Z] ---> Running in b5a63d43599e [2021-02-01T02:49:30.130Z] 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:56.948Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T02:49:56.948Z] Removing intermediate container b5a63d43599e [2021-02-01T02:49:56.948Z] ---> 5d76acb1d033 [2021-02-01T02:49:56.948Z] Step 10/24 : FROM scratch [2021-02-01T02:49:56.948Z] ---> [2021-02-01T02:49:56.948Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T02:49:56.948Z] ---> Running in 3a3caf84e16a [2021-02-01T02:49:57.222Z] Removing intermediate container 3a3caf84e16a [2021-02-01T02:49:57.222Z] ---> 1b79cde86c5e [2021-02-01T02:49:57.222Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T02:49:57.492Z] ---> Running in 3e07674a3cde [2021-02-01T02:49:57.764Z] Removing intermediate container 3e07674a3cde [2021-02-01T02:49:57.765Z] ---> ab13f3142def [2021-02-01T02:49:57.765Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T02:49:57.765Z] ---> Running in 46a6d9f44069 [2021-02-01T02:49:58.359Z] Removing intermediate container 46a6d9f44069 [2021-02-01T02:49:58.359Z] ---> a3fb4d428df4 [2021-02-01T02:49:58.359Z] Step 14/24 : WORKDIR / [2021-02-01T02:49:58.359Z] ---> Running in 54b9c7d099cd [2021-02-01T02:49:58.952Z] Removing intermediate container 54b9c7d099cd [2021-02-01T02:49:58.952Z] ---> a64942e6e054 [2021-02-01T02:49:58.952Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T02:49:59.933Z] ---> 23e31526cc73 [2021-02-01T02:49:59.933Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T02:50:00.906Z] ---> 397c5042e372 [2021-02-01T02:50:00.906Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T02:50:01.509Z] ---> 3d7fa8370898 [2021-02-01T02:50:01.509Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T02:50:02.152Z] ---> 46040c49377e [2021-02-01T02:50:02.152Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T02:50:02.773Z] ---> b3ec201366c8 [2021-02-01T02:50:02.773Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T02:50:03.049Z] ---> Running in 85baa8789f1d [2021-02-01T02:50:03.321Z] Removing intermediate container 85baa8789f1d [2021-02-01T02:50:03.321Z] ---> 6d2dd7f64568 [2021-02-01T02:50:03.321Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T02:50:03.593Z] ---> Running in b8b65aaa291b [2021-02-01T02:50:04.191Z] Removing intermediate container b8b65aaa291b [2021-02-01T02:50:04.191Z] ---> e848e13f20b4 [2021-02-01T02:50:04.191Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T02:50:04.191Z] ---> Running in 1becfa38e0af [2021-02-01T02:50:04.463Z] Removing intermediate container 1becfa38e0af [2021-02-01T02:50:04.463Z] ---> 4f1d895c6e30 [2021-02-01T02:50:04.463Z] Step 23/24 : LABEL git_sha=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 [2021-02-01T02:50:04.752Z] ---> Running in 92edfcf1adfb [2021-02-01T02:50:05.363Z] Removing intermediate container 92edfcf1adfb [2021-02-01T02:50:05.363Z] ---> 8e6143b52cba [2021-02-01T02:50:05.363Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T02:50:05.363Z] ---> Running in af914a34e05e [2021-02-01T02:50:05.977Z] Removing intermediate container af914a34e05e [2021-02-01T02:50:05.977Z] ---> bfc6e1afdd8c [2021-02-01T02:50:05.977Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T02:50:05.977Z] Successfully built bfc6e1afdd8c [2021-02-01T02:50:05.977Z] 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:50:07.530Z] provisioning config files... [2021-02-01T02:50:07.545Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config1867930131345555555tmp [Pipeline] { [Pipeline] sh [2021-02-01T02:50:07.978Z] + set +x [2021-02-01T02:50:07.979Z] + curl -s https://codecov.io/bash [2021-02-01T02:50:07.979Z] + bash -s -- [2021-02-01T02:50:08.249Z] [2021-02-01T02:50:08.249Z] _____ _ [2021-02-01T02:50:08.249Z] / ____| | | [2021-02-01T02:50:08.249Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T02:50:08.249Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T02:50:08.249Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T02:50:08.249Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T02:50:08.250Z] Bash-20210129-7c25fce [2021-02-01T02:50:08.250Z] [2021-02-01T02:50:08.250Z] [2021-02-01T02:50:08.250Z] ==> git version 2.24.3 found [2021-02-01T02:50:08.250Z] ==> 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:50:08.250Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T02:50:08.250Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T02:50:08.250Z] ==> Jenkins CI detected. [2021-02-01T02:50:08.250Z] project root: . [2021-02-01T02:50:08.250Z] --> token set from env [2021-02-01T02:50:08.250Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T02:50:08.250Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T02:50:08.250Z] ==> Python coveragepy not found [2021-02-01T02:50:08.250Z] ==> Searching for coverage reports in: [2021-02-01T02:50:08.250Z] + . [2021-02-01T02:50:08.250Z] -> Found 1 reports [2021-02-01T02:50:08.250Z] ==> Detecting git/mercurial file structure [2021-02-01T02:50:08.250Z] ==> Reading reports [2021-02-01T02:50:08.250Z] + ./coverage.out bytes=137332 [2021-02-01T02:50:08.250Z] ==> Appending adjustments [2021-02-01T02:50:08.250Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T02:50:08.830Z] + Found adjustments [2021-02-01T02:50:08.830Z] ==> Gzipping contents [2021-02-01T02:50:08.830Z] 24K /tmp/codecov.3NOFcE.gz [2021-02-01T02:50:08.830Z] ==> Uploading reports [2021-02-01T02:50:08.830Z] url: https://codecov.io [2021-02-01T02:50:08.830Z] query: branch=PR-761&commit=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-02-01T02:50:08.830Z] -> Pinging Codecov [2021-02-01T02:50:08.830Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-761&commit=dd4ca22038d74fef6fecb9f98a05fcc447b09ac8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-02-01T02:50:09.405Z] -> Uploading to [2021-02-01T02:50:09.405Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/dd4ca22038d74fef6fecb9f98a05fcc447b09ac8/df34fa2c-ae57-4b7c-9db9-655509eb1bfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T025009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82fa9661d7585012e18398b41bf6898db442c259f5f93ff351a6cf3ee93efcb4 [2021-02-01T02:50:09.405Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T02:50:09.405Z] Dload Upload Total Spent Left Speed [2021-02-01T02:50:09.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21636 0 0 100 21636 0 51265 --:--:-- --:--:-- --:--:-- 51270 100 21636 0 0 100 21636 0 51245 --:--:-- --:--:-- --:--:-- 51148 [2021-02-01T02:50:09.669Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd4ca22038d74fef6fecb9f98a05fcc447b09ac8 [Pipeline] } [2021-02-01T02:50:09.682Z] 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:50:13.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:14.058Z] ---> package-listing.sh [2021-02-01T02:50:14.058Z] ++ facter osfamily [2021-02-01T02:50:14.058Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T02:50:14.058Z] + OS_FAMILY=redhat [2021-02-01T02:50:14.058Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-02-01T02:50:14.058Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T02:50:14.058Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T02:50:14.058Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T02:50:14.058Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T02:50:14.058Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-02-01T02:50:14.058Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T02:50:14.058Z] + case "${OS_FAMILY}" in [2021-02-01T02:50:14.058Z] + rpm -qa [2021-02-01T02:50:14.058Z] + sort [2021-02-01T02:50:19.411Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T02:50:19.411Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T02:50:19.411Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T02:50:19.411Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-02-01T02:50:19.411Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [2021-02-01T02:50:19.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [Pipeline] echo [2021-02-01T02:50:19.426Z] 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-761/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:19.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:20.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:20.036Z] [2021-02-01T02:50:20.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T02:50:20.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:20.435Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T02:50:20.435Z] df20fa9351a1: Pulling fs layer [2021-02-01T02:50:20.435Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T02:50:20.435Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T02:50:20.435Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T02:50:20.435Z] 93b61091891f: Pulling fs layer [2021-02-01T02:50:20.435Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T02:50:20.435Z] 5e14af77c1be: Pulling fs layer [2021-02-01T02:50:20.435Z] 01666e4c0597: Pulling fs layer [2021-02-01T02:50:20.435Z] aa168da1d23b: Pulling fs layer [2021-02-01T02:50:20.435Z] 46f8f816bc3b: Waiting [2021-02-01T02:50:20.435Z] 93b61091891f: Waiting [2021-02-01T02:50:20.435Z] 93b9cdb0e59b: Waiting [2021-02-01T02:50:20.435Z] 5e14af77c1be: Waiting [2021-02-01T02:50:20.435Z] 01666e4c0597: Waiting [2021-02-01T02:50:20.435Z] aa168da1d23b: Waiting [2021-02-01T02:50:20.435Z] 36b3adc4ff6f: Download complete [2021-02-01T02:50:20.435Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T02:50:20.435Z] 46f8f816bc3b: Download complete [2021-02-01T02:50:20.700Z] df20fa9351a1: Verifying Checksum [2021-02-01T02:50:20.700Z] df20fa9351a1: Download complete [2021-02-01T02:50:20.700Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T02:50:20.700Z] 93b9cdb0e59b: Download complete [2021-02-01T02:50:20.700Z] 5e14af77c1be: Verifying Checksum [2021-02-01T02:50:20.700Z] 5e14af77c1be: Download complete [2021-02-01T02:50:20.700Z] 01666e4c0597: Verifying Checksum [2021-02-01T02:50:20.700Z] 01666e4c0597: Download complete [2021-02-01T02:50:20.700Z] 93b61091891f: Verifying Checksum [2021-02-01T02:50:20.700Z] 93b61091891f: Download complete [2021-02-01T02:50:20.967Z] df20fa9351a1: Pull complete [2021-02-01T02:50:21.231Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T02:50:21.231Z] 8ad3a11d3b57: Download complete [2021-02-01T02:50:21.231Z] 36b3adc4ff6f: Pull complete [2021-02-01T02:50:22.200Z] 8ad3a11d3b57: Pull complete [2021-02-01T02:50:22.200Z] 46f8f816bc3b: Pull complete [2021-02-01T02:50:22.781Z] 93b61091891f: Pull complete [2021-02-01T02:50:23.047Z] aa168da1d23b: Verifying Checksum [2021-02-01T02:50:23.047Z] aa168da1d23b: Download complete [2021-02-01T02:50:23.047Z] 93b9cdb0e59b: Pull complete [2021-02-01T02:50:23.319Z] 5e14af77c1be: Pull complete [2021-02-01T02:50:23.319Z] 01666e4c0597: Pull complete [2021-02-01T02:50:31.526Z] aa168da1d23b: Pull complete [2021-02-01T02:50:31.526Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T02:50:31.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T02:50:31.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T02:50:31.675Z] prd-centos7-docker-4c-2g-24259 does not seem to be running inside a container [2021-02-01T02:50:31.729Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-761/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-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T02:50:35.083Z] $ docker top 47331d486ba19fdbf6e6a6dcb1bc54365e775d81d185d0734e44b29c3b7e8fb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T02:50:35.667Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T02:50:35.974Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T02:50:36.277Z] + ls /var/log/sa-host [2021-02-01T02:50:36.277Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T02:50:36.277Z] file_magic: OK [2021-02-01T02:50:36.277Z] HZ: Using current value: 100 [2021-02-01T02:50:36.277Z] file_header: OK [2021-02-01T02:50:36.277Z] 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:36.277Z] Statistics: [2021-02-01T02:50:36.277Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T02:50:36.277Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T02:50:36.277Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T02:50:36.277Z] file_magic: OK [2021-02-01T02:50:36.277Z] HZ: Using current value: 100 [2021-02-01T02:50:36.277Z] file_header: OK [2021-02-01T02:50:36.277Z] 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:36.277Z] Statistics: [2021-02-01T02:50:36.277Z] Hnuu...uuuununununu... [2021-02-01T02:50:36.277Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T02:50:36.480Z] provisioning config files... [2021-02-01T02:50:36.496Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config7353638690182087579tmp [Pipeline] { [Pipeline] echo [2021-02-01T02:50:36.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:36.884Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T02:50:36.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T02:50:37.010Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:37.322Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T02:50:37.336Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:37.700Z] ---> sudo-logs.sh [2021-02-01T02:50:37.700Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T02:50:37.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:38.073Z] ---> job-cost.sh [2021-02-01T02:50:38.073Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:38.073Z] INFO: No Stack... [2021-02-01T02:50:39.032Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T02:50:39.295Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T02:50:39.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T02:50:39.633Z] ---> logs-deploy.sh [2021-02-01T02:50:39.633Z] lf-activate-venv: SKIPPING [2021-02-01T02:50:39.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-761/5 [2021-02-01T02:50:39.633Z] INFO: archiving workspace using pattern(s): [2021-02-01T02:50:41.569Z] Archives upload complete. [2021-02-01T02:50:41.569Z] INFO: archiving logs to Nexus [2021-02-01T02:50:42.533Z] ---> uname -a: [2021-02-01T02:50:42.533Z] Linux prd-centos7-docker-4c-2g-24259.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] ---> lscpu: [2021-02-01T02:50:42.533Z] Architecture: x86_64 [2021-02-01T02:50:42.533Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-01T02:50:42.533Z] Byte Order: Little Endian [2021-02-01T02:50:42.533Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-01T02:50:42.533Z] CPU(s): 4 [2021-02-01T02:50:42.533Z] On-line CPU(s) list: 0-3 [2021-02-01T02:50:42.533Z] Thread(s) per core: 1 [2021-02-01T02:50:42.533Z] Core(s) per socket: 1 [2021-02-01T02:50:42.533Z] Socket(s): 4 [2021-02-01T02:50:42.533Z] NUMA node(s): 1 [2021-02-01T02:50:42.533Z] Vendor ID: GenuineIntel [2021-02-01T02:50:42.533Z] CPU family: 6 [2021-02-01T02:50:42.533Z] Model: 44 [2021-02-01T02:50:42.533Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-01T02:50:42.533Z] Stepping: 1 [2021-02-01T02:50:42.533Z] CPU MHz: 2933.436 [2021-02-01T02:50:42.533Z] BogoMIPS: 5866.87 [2021-02-01T02:50:42.533Z] Virtualization: VT-x [2021-02-01T02:50:42.533Z] Hypervisor vendor: KVM [2021-02-01T02:50:42.533Z] Virtualization type: full [2021-02-01T02:50:42.533Z] L1d cache: 128 KiB [2021-02-01T02:50:42.533Z] L1i cache: 128 KiB [2021-02-01T02:50:42.533Z] L2 cache: 16 MiB [2021-02-01T02:50:42.533Z] L3 cache: 64 MiB [2021-02-01T02:50:42.533Z] NUMA node0 CPU(s): 0-3 [2021-02-01T02:50:42.533Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-01T02:50:42.533Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-01T02:50:42.533Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-01T02:50:42.533Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-01T02:50:42.533Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-01T02:50:42.533Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-01T02:50:42.533Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-01T02:50:42.533Z] Vulnerability Srbds: Not affected [2021-02-01T02:50:42.533Z] Vulnerability Tsx async abort: Not affected [2021-02-01T02:50:42.533Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] ---> nproc: [2021-02-01T02:50:42.533Z] 4 [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] ---> df -h: [2021-02-01T02:50:42.533Z] Filesystem Size Used Available Use% Mounted on [2021-02-01T02:50:42.533Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-01T02:50:42.533Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-01T02:50:42.533Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-01T02:50:42.533Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-01T02:50:42.533Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] ---> free -m: [2021-02-01T02:50:42.533Z] total used free shared buff/cache available [2021-02-01T02:50:42.533Z] Mem: 1837 733 115 0 988 999 [2021-02-01T02:50:42.533Z] Swap: 1023 1 1022 [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z] ---> ip addr: [2021-02-01T02:50:42.533Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-01T02:50:42.533Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-01T02:50:42.533Z] inet 127.0.0.1/8 scope host lo [2021-02-01T02:50:42.533Z] valid_lft forever preferred_lft forever [2021-02-01T02:50:42.533Z] inet6 ::1/128 scope host [2021-02-01T02:50:42.533Z] valid_lft forever preferred_lft forever [2021-02-01T02:50:42.533Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-01T02:50:42.533Z] link/ether fa:16:3e:f4:eb:d3 brd ff:ff:ff:ff:ff:ff [2021-02-01T02:50:42.533Z] inet 10.30.123.169/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-01T02:50:42.533Z] valid_lft 85841sec preferred_lft 85841sec [2021-02-01T02:50:42.533Z] inet6 fe80::f816:3eff:fef4:ebd3/64 scope link [2021-02-01T02:50:42.533Z] valid_lft forever preferred_lft forever [2021-02-01T02:50:42.533Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-01T02:50:42.533Z] link/ether 02:42:ee:79:96:59 brd ff:ff:ff:ff:ff:ff [2021-02-01T02:50:42.533Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-01T02:50:42.533Z] valid_lft forever preferred_lft forever [2021-02-01T02:50:42.533Z] inet6 fe80::42:eeff:fe79:9659/64 scope link [2021-02-01T02:50:42.533Z] valid_lft forever preferred_lft forever [2021-02-01T02:50:42.533Z] [2021-02-01T02:50:42.533Z]